/* Outscoped marketing content pages (brand v2): guides, templates, tools, legal.
   Builds on assets/site.css (tokens, .wrap, .btn, header, footer). There is no Figma
   frame for these pages, so they reuse the homepage's type scale and components:
   the hero matches the homepage hero rhythm, h2s match .sec-head, cards match .card,
   and the closing band matches the homepage's closing call to action. */

/* Page hero: sits under the fixed header, soft emerald glow like the homepage. */
.page-hero{position:relative;padding:132px 0 56px;text-align:center;
  background:radial-gradient(1440px 800px at 50% 0,rgba(236,253,245,.8),rgba(236,253,245,0) 70%),
             radial-gradient(864px 520px at 85% 10%,rgba(239,246,255,.6),rgba(239,246,255,0) 60%)}
.page-hero .inner{display:flex;flex-direction:column;align-items:center;gap:18px;max-width:860px;margin:0 auto}
.page-hero h1{font-size:52px;line-height:58px;font-weight:800;letter-spacing:-1.8px;color:var(--ink);text-wrap:balance}
.page-hero p{font-size:19px;line-height:30px;font-weight:500;color:var(--text-2);max-width:680px;text-wrap:pretty}
.page-hero .ctas{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;padding-top:10px}
.crumbs{font-size:13px;line-height:20px;color:var(--slate-500);display:flex;gap:6px;justify-content:center;flex-wrap:wrap}
.crumbs a{color:var(--slate-500)}
.crumbs a:hover{color:var(--emerald-600);text-decoration:underline}

/* Long-form article: readable measure, clear rhythm. */
.page-main{padding:24px 0 96px}
.prose{max-width:760px;margin:0 auto;font-size:17px;line-height:29px;color:var(--slate-700)}
.prose > * + *{margin-top:18px}
.prose h2{margin-top:56px;font-size:32px;line-height:38px;font-weight:800;letter-spacing:-.8px;color:var(--ink);text-wrap:balance}
.prose h3{margin-top:32px;font-size:21px;line-height:28px;font-weight:700;letter-spacing:-.3px;color:var(--ink)}
.prose h2 + *,.prose h3 + *{margin-top:12px}
.prose p,.prose li{color:var(--slate-700)}
.prose strong,.prose b{color:var(--ink);font-weight:700}
.prose a:not(.btn){color:var(--emerald-600);font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.prose a:not(.btn):hover{color:var(--emerald-700)}
.prose ul,.prose ol{padding-left:22px}
.prose li + li{margin-top:8px}
.prose li::marker{color:var(--emerald-600)}
.prose img,.prose .shot{display:block;width:100%;height:auto;border-radius:16px;border:1px solid var(--slate-200);box-shadow:0 12px 32px -12px rgba(15,23,42,.12);margin:28px 0}
.prose hr{border:0;border-top:1px solid var(--slate-200);margin:48px 0}

/* Formula box: the bid math, set in DM Mono. */
.formula{background:var(--slate-50);border:1px solid var(--slate-200);border-radius:16px;padding:18px 22px}
.formula .f{font-family:var(--mono);font-weight:500;font-size:16px;line-height:26px;color:var(--navy)}
.formula .note{margin-top:6px;font-size:14.5px;line-height:23px;color:var(--slate-600)}

/* Callout: a tinted note with an emerald rule. */
.callout{background:var(--emerald-50);border:1px solid var(--emerald-border);border-radius:14px;padding:16px 20px;font-size:16px;line-height:26px;color:var(--emerald-700)}
.callout strong,.callout b{color:var(--emerald-700)}

/* Tables: rates, comparisons, scopes. Scroll sideways inside their own box on phones. */
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--slate-200);border-radius:16px;background:#fff}
.prose table,.data-table{width:100%;border-collapse:collapse;font-size:15px;line-height:23px}
.prose th,.data-table th{text-align:left;font-weight:700;color:var(--ink);background:var(--slate-50);padding:12px 16px;border-bottom:1px solid var(--slate-200)}
.prose td,.data-table td{padding:12px 16px;border-bottom:1px solid var(--slate-100);color:var(--slate-700);vertical-align:top}
.prose tr:last-child td,.data-table tr:last-child td{border-bottom:0}
.prose td.num,.data-table td.num{font-family:var(--mono);font-weight:500;color:var(--navy);white-space:nowrap}

/* Card grid: used for template sections, integrations, related guides. */
.grid-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.grid-cards .card{padding:24px}
.grid-cards .card h3{margin:0;font-size:18px;line-height:25px;font-weight:700;color:var(--ink)}
.grid-cards .card p{margin-top:8px;font-size:15px;line-height:24px;color:var(--slate-600)}
.grid-cards .card a{color:var(--emerald-600);font-weight:600}

/* FAQ inside a page: plain disclosure widgets, accessible by default. */
.faq-list{display:flex;flex-direction:column;gap:12px;margin-top:20px}
.faq-list details{background:#fff;border:1px solid var(--slate-200);border-radius:16px;padding:0 20px}
.faq-list summary{cursor:pointer;list-style:none;padding:18px 28px 18px 0;position:relative;font-size:17px;line-height:25px;font-weight:700;color:var(--ink)}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"+";position:absolute;right:0;top:15px;font-size:22px;font-weight:500;color:var(--slate-500)}
.faq-list details[open] summary::after{content:"\2212"}
.faq-list details > div,.faq-list details > p{padding:0 0 18px;font-size:16px;line-height:26px;color:var(--slate-600)}

/* Closing band: the homepage's closing call to action, compact. */
.cta-band{margin:72px auto 0;max-width:1212px;border-radius:28px;padding:48px 40px;text-align:center;color:#fff;
  background:radial-gradient(600px 300px at 50% 0,rgba(16,185,129,.22),rgba(16,185,129,0) 70%),var(--navy)}
.cta-band h2{font-size:36px;line-height:42px;font-weight:800;letter-spacing:-1px;color:#fff;text-wrap:balance}
.cta-band p{margin:12px auto 0;max-width:560px;font-size:17px;line-height:27px;color:var(--slate-300)}
.cta-band .ctas{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin-top:24px}
.cta-band .btn-secondary{background:rgba(255,255,255,.06);color:#fff;border-color:rgba(255,255,255,.18);filter:none}
.cta-band .btn-secondary:hover{border-color:rgba(255,255,255,.4)}

/* Tool shell (calculators): white panel on the soft surface. */
.tool{background:#fff;border:1px solid var(--slate-200);border-radius:24px;box-shadow:0 1px 2px rgba(15,23,42,.04),0 24px 48px -24px rgba(15,23,42,.14);padding:28px}

@media (max-width:768px){
  .page-hero{padding:100px 0 40px}
  .page-hero h1{font-size:36px;line-height:42px;letter-spacing:-1.1px}
  .page-hero p{font-size:17px;line-height:27px}
  .page-main{padding:16px 0 72px}
  .prose{font-size:16.5px;line-height:28px}
  .prose h2{margin-top:44px;font-size:26px;line-height:32px}
  .cta-band{margin-top:56px;border-radius:22px;padding:36px 22px}
  .cta-band h2{font-size:28px;line-height:34px}
  .tool{padding:20px;border-radius:20px}
}
@media (max-width:480px){
  .page-hero .ctas{flex-direction:column;align-items:stretch}
  .cta-band .ctas{flex-direction:column}
}
