/* CraftAd product system: primitives → semantic roles → component surfaces. */
:root { --cobalt-600:#3157d5; --lime-200:#e5ef9c; --paper-50:#fafaf7; --product-ink:#202323; --product-accent:var(--cobalt-600); --product-canvas:var(--paper-50); --product-line:#e3e5df; --artboard-surface:#eceee7; }
body { background:var(--product-canvas); color:var(--product-ink); }
.container { width:min(1240px,calc(100% - 96px)); }
.header { background:var(--product-canvas); border-bottom:1px solid var(--product-line); }
.header-inner { height:80px; }
.header nav a { font-size:14px; }
.nav-cta,.button-primary { background:var(--product-accent); border-color:var(--product-accent); color:#fff; }
.nav-cta:hover,.button-primary:hover { background:var(--accent-indigo); border-color:var(--accent-indigo); }
.button { border-radius:10px; min-height:50px; font-size:14px; letter-spacing:0; padding:12px 20px; gap:22px; }
.button-outline { background:transparent; border-color:#c8cdc9; color:var(--product-ink); }
.button-outline:hover { background:#fff; border-color:var(--product-accent); color:var(--product-accent); }
.product-kicker { font-size:11px; font-weight:650; letter-spacing:.12em; line-height:1.5; margin:0 0 20px; }
.product-section { padding-block:96px; scroll-margin-top:100px; }
.product-section h2 { font-size:clamp(32px,3.5vw,46px); line-height:1.12; font-weight:550; margin:0 0 24px; }
.product-faq { display:grid; grid-template-columns:1fr 1.5fr; gap:80px; }
.product-faq .faq-list { margin:0; width:100%; }
.product-faq summary { font-size:16px; padding:22px 0; }
.product-faq .faq-answer { font-size:15px; line-height:1.8; }
.text-link { display:inline-flex; align-items:center; gap:10px; min-height:44px; color:var(--product-accent); font-size:14px; font-weight:550; text-decoration:underline; text-underline-offset:5px; }
.text-link:hover { color:var(--accent-indigo); }
.page-intro { padding-top:72px; padding-bottom:40px; }
.page-intro h1 { font-family:inherit; font-size:clamp(42px,5vw,64px); font-weight:550; }
.page-intro .lead { font-size:18px; max-width:640px; }
.pricing-intro { text-align:center; padding-block:72px 48px; }
.pricing-intro h1 { font-size:clamp(42px,5.2vw,68px); font-weight:550; line-height:1.03; margin:0 0 22px; text-wrap:balance; }
.pricing-intro>p:not(.product-kicker) { font-size:18px; }
.welcome-strip { display:flex; justify-content:space-between; align-items:center; gap:24px; border:1px solid #dddfe7; background:#eeeffb; border-radius:14px; padding:24px 28px; margin-bottom:30px; }
.welcome-strip>div { display:flex; align-items:center; gap:20px; }
.welcome-icon { font-size:28px; color:var(--product-accent); }
.welcome-strip h2 { font-size:22px; letter-spacing:-.035em; margin:0 0 6px; font-weight:550; }
.welcome-strip p { font-size:14px; }
.welcome-strip p strong { color:var(--product-ink); font-weight:550; }
.welcome-strip .button { flex-shrink:0; }
.pricing-simple .pricing-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.pricing-options { border:0; padding:0; margin:0; min-width:0; }
.pricing-simple .price-card { display:flex; flex-direction:column; gap:0; border:1px solid var(--product-line); border-radius:14px; padding:28px 22px; background:#fff; box-shadow:none; }
.pack-selector { position:absolute; inset:0; z-index:1; border-radius:inherit; cursor:pointer; }
.pack-indicator { position:absolute; top:30px; right:22px; display:grid; place-items:center; width:17px; height:17px; border:1px solid #9ba6b2; border-radius:50%; }
.pack-indicator::after { content:""; width:7px; height:7px; border-radius:50%; background:transparent; }
.pricing-simple .price-card:has(.pack-selector:hover) { border-color:#8d9bca; }
.pricing-simple .price-card:has(.pack-input:checked) { border-color:var(--product-accent); box-shadow:0 0 0 1px var(--product-accent); background:#f5f7ff; }
.pack-input:checked + .pack-selector .pack-indicator { border-color:var(--product-accent); }
.pack-input:checked + .pack-selector .pack-indicator::after { background:var(--product-accent); }
.pricing-simple .price-card:has(.pack-input:focus-visible) { outline:3px solid var(--product-accent); outline-offset:5px; }
.pack-heading { min-height:62px; padding-right:22px; }
.pricing-simple .pack-heading h2 { font-size:20px; font-weight:550; letter-spacing:-.035em; margin:0 0 8px; }
.recommended-label { display:inline-flex; padding:3px 8px; border-radius:5px; background:#e8edff; font-size:11px; line-height:1.4; color:var(--product-accent); font-weight:600; }
.pricing-simple .pack-credit-count { font-size:14px; margin-top:20px; color:var(--text-muted); }
.pack-credit-count strong { font-size:30px; color:var(--product-ink); font-weight:550; letter-spacing:-.04em; margin-right:4px; }
.pricing-simple .price { display:flex; align-items:baseline; gap:8px; margin:28px 0 0; min-height:0; grid-column:auto; grid-row:auto; }
.pricing-simple .price>span { font-size:46px; font-weight:550; letter-spacing:-.055em; line-height:1.15; }
.pricing-simple .price small { font-size:12px; color:var(--text-muted); }
.pricing-simple .pack-unit { font-size:13px; margin:9px 0 26px; color:var(--text-muted); }
.pricing-simple .price-card .button { position:relative; z-index:2; width:100%; margin-top:auto; font-size:13px; gap:12px; grid-column:auto; }
.pricing-simple .price-card:has(.pack-input:checked) .button { background:var(--product-accent); border-color:var(--product-accent); color:#fff; }
.pricing-simple .price-card:has(.pack-input:checked) .button:hover { background:var(--accent-indigo); border-color:var(--accent-indigo); }
.pricing-payment-note { font-size:13px; text-align:center; padding-top:24px; }
.credit-explainer { display:grid; grid-template-columns:1fr 1fr; gap:80px; padding-block:80px; border-bottom:1px solid var(--product-line); }
.credit-explainer h2 { font-size:clamp(34px,3.6vw,46px); line-height:1.1; font-weight:550; margin-bottom:20px; }
.credit-explainer>div>p:last-child { max-width:440px; font-size:16px; }
.credit-usage { padding:30px; background:#eeeee7; border-radius:16px; }
.credit-usage h3 { font-size:20px; font-weight:550; margin-bottom:18px; }
.credit-usage dl { margin:0 0 20px; }
.credit-usage dl>div { display:flex; align-items:baseline; justify-content:space-between; gap:20px; padding:14px 0; border-bottom:1px solid #d5d8cf; }
.credit-usage dt,.credit-usage dd { font-size:14px; margin:0; }
.credit-usage dd { white-space:nowrap; }
.credit-usage dd strong { font-size:22px; margin-right:4px; color:var(--product-accent); }
.credit-usage p { font-size:14px; line-height:1.7; }
.contact-layout { display:grid; grid-template-columns:1fr 1fr; gap:80px; padding-block:32px 72px; }
.contact-primary { border-radius:20px; background:var(--lilac-100); padding:40px; align-self:start; }
.contact-symbol { display:block; color:var(--product-accent); font-size:42px; margin-bottom:40px; line-height:1; }
.contact-primary h2 { font-size:34px; font-weight:550; margin-bottom:20px; }
.contact-primary .contact-email { display:block; color:var(--product-accent); font-size:clamp(18px,2vw,25px); font-weight:550; margin-bottom:30px; overflow-wrap:anywhere; }
.contact-primary .contact-email:hover { text-decoration:underline; }
.contact-primary p { font-size:14px; margin-top:22px; }
.contact-topics article { display:flex; align-items:baseline; gap:24px; padding:26px 0; border-bottom:1px solid var(--product-line); }
.contact-topics article:first-child { padding-top:0; }
.topic-number { color:var(--product-accent); font-size:12px; font-weight:600; }
.contact-topics h2 { font-size:22px; font-weight:550; letter-spacing:-.035em; margin-bottom:10px; }
.contact-topics p { font-size:15px; margin-bottom:10px; }
.contact-topics .text-link { margin-right:20px; }
.contact-help { display:grid; grid-template-columns:1fr 1fr; gap:24px 80px; background:transparent; padding:40px 0 64px; border-top:1px solid var(--product-line); border-radius:0; margin-bottom:0; }
.contact-help h2 { font-size:32px; font-weight:550; }
.contact-help .product-kicker { font-size:11px; }
.contact-help .check-list { margin:0; font-size:15px; }
.contact-help .check-list li { font-size:15px; padding-block:5px; }
.contact-help .plain-note { grid-column:2; border:0; padding:0; background:transparent; font-size:13px; margin:0; }

@media(max-width:1100px) {
  .pricing-simple .pricing-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .pricing-simple .price-card { padding:28px; }
  .contact-layout { gap:40px; }
  .credit-explainer,.product-faq { gap:48px; }
}
@media(max-width:900px) {
  .header-inner { height:76px; }
  .container { width:calc(100% - 64px); }
  .contact-layout { grid-template-columns:1fr; gap:40px; }
  .contact-primary { padding:32px; }
  .contact-symbol { margin-bottom:24px; }
}
@media(max-width:700px) {
  .container { width:calc(100% - 40px); }
  .product-section { padding-block:64px; }
  .product-faq { grid-template-columns:1fr; gap:24px; }
  .product-faq summary { font-size:15px; }
  .pricing-intro { padding-block:48px 32px; }
  .pricing-intro h1 { font-size:44px; }
  .pricing-intro>p:not(.product-kicker) { font-size:16px; }
  .welcome-strip { align-items:flex-start; flex-direction:column; padding:24px; gap:18px; }
  .welcome-strip>div { align-items:flex-start; gap:14px; }
  .welcome-strip .button { width:100%; }
  .pricing-simple .pricing-grid { grid-template-columns:1fr; gap:14px; }
  .pricing-simple .price-card { padding:26px; }
  .pack-heading { min-height:0; display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
  .pack-indicator { top:29px; right:26px; }
  .pricing-simple .price { margin-top:18px; }
  .pricing-simple .pack-credit-count { margin-top:10px; }
  .credit-explainer { grid-template-columns:1fr; gap:30px; padding-block:56px; }
  .credit-usage { padding:24px; }
  .credit-usage dl>div { gap:12px; flex-wrap:wrap; }
  .contact-layout { padding-block:24px 40px; gap:32px; }
  .contact-primary { padding:28px; }
  .contact-primary h2 { font-size:30px; }
  .contact-topics article { gap:18px; }
  .contact-help { grid-template-columns:1fr; gap:24px; padding-block:32px 48px; }
  .contact-help .plain-note { grid-column:1; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; scroll-behavior:auto!important; transition:none!important; } }

.product-entered { animation:product-entrance .45s ease-out both; }
@keyframes product-entrance { from { opacity:.4; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
