/* Already Asking - site styles. Mobile-first, no build step, no JS. */
@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #101828;
  --navy-2: #1b2538;
  --cream: #f6f4ef;
  --cream-2: #ece8de;
  --paper: #ffffff;
  --orange: #ff6a3d;
  --orange-hover: #ff7f58;
  --orange-ink: #b4350f;      /* orange used as text on light bg (AA) */
  --ink: #101828;
  --muted: #5b6475;           /* brand Slate, AA on cream */
  --line: #d9d4c6;
  --good: #1d5a3f;
  --good-bg: #e3f0e8;
  --warn-bg: #fff1c9;
  --warn-ink: #5c4300;
  --ph-bg: #ffe27a;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(16,24,40,.05), 0 12px 32px rgba(16,24,40,.07);
  --font-head: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img, svg { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--orange-ink); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 7.2vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40rem; }
.eyebrow { font: 600 .8rem/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: .9rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.accent { color: var(--orange-ink); }

.skip-link { position: absolute; left: .75rem; top: -4rem; background: var(--navy); color: #fff; padding: .5rem .9rem; border-radius: 6px; z-index: 100; }
.skip-link:focus { top: .75rem; color: #fff; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 720px); margin-inline: auto; }

/* Header */
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.logo { display: block; flex: none; }
.logo img { height: 34px; width: auto; }
.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; padding: .4rem 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange-ink); text-decoration: underline; text-underline-offset: .3em; }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.subnav { border-top: 1px solid var(--line); }
.subnav ul { list-style: none; display: flex; gap: .85rem; margin: 0; padding: .45rem 0; overflow-x: auto; white-space: nowrap; }
.subnav a { color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 500; padding: .35rem 0; display: inline-block; }
.subnav a[aria-current="page"] { color: var(--orange-ink); text-decoration: underline; text-underline-offset: .3em; }
@media (max-width: 380px) { .logo img { height: 28px; } }
@media (min-width: 820px) {
  .nav { display: block; }
  .subnav { display: none; }
  .logo img { height: 38px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.4rem;
  font: 700 1rem/1.2 var(--font-head);
  background: var(--orange); color: var(--navy);
  border: 2px solid var(--orange); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--orange-hover); border-color: var(--orange-hover); color: var(--navy); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-sm { white-space: nowrap; min-height: 40px; padding: .45rem 1rem; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1rem; }

/* Hero */
.hero { padding: 2.6rem 0 2.2rem; }
.hero h1 em { font-style: normal; color: var(--orange-ink); }
.hero-grid { display: grid; gap: 2rem; align-items: start; }
.assure { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .95rem; color: var(--muted); }
.assure li::before { content: "\2713\00a0"; color: var(--good); font-weight: 700; }
@media (min-width: 900px) {
  .hero { padding: 4.5rem 0 3.5rem; }
  .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 3.5rem; }
}

/* Sections */
.section { padding: 3.2rem 0; }
.section-alt { background: var(--cream-2); }
.section-dark { background: var(--navy); color: #eef1f6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a:not(.btn) { color: #ffb199; }
.section-dark .price-card { color: var(--ink); }
.section-dark .price-card h3 { color: var(--ink); }
.section-dark .price-card a:not(.btn) { color: var(--orange-ink); }
.section-dark .price-card .muted { color: var(--muted); }
.section-dark .eyebrow { color: #ff9b7c; }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
@media (min-width: 900px) { .section { padding: 4.5rem 0; } }

.grid { display: grid; gap: 1.1rem; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--orange); color: var(--navy); font: 700 1rem var(--font-head); margin-bottom: .8rem;
}
.steps h3 { margin-bottom: .3em; }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 1.7rem; margin-bottom: .55rem; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--good); font-weight: 700; }
.crosses li::before { content: "\2715"; color: #9b2a14; }
.ticks-dark li::before { color: #7fe0ad; }

/* Entry anatomy card */
.entry { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.entry-top { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .8rem 1.1rem; background: var(--navy); color: #fff; font: 600 .85rem var(--font-head); }
.entry-top span:last-child { background: var(--orange); color: var(--navy); padding: .15rem .6rem; border-radius: 999px; }
.entry dl { margin: 0; padding: .4rem 1.1rem 1rem; }
.entry dt { font: 700 .72rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); margin-top: .95rem; }
.entry dd { margin: .3rem 0 0; font-size: .98rem; }
.entry-note { font-size: .85rem; color: var(--muted); padding: 0 1.1rem 1rem; margin: 0; }

/* Pricing */
.pricing { display: grid; gap: 1.1rem; }
@media (min-width: 820px) { .pricing { grid-template-columns: 1.3fr 1fr; align-items: stretch; } }
.price-card { background: var(--paper); border: 2px solid var(--navy); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.price-card.secondary { border: 1px solid var(--line); box-shadow: none; }
.price { font: 700 3rem/1 var(--font-head); letter-spacing: -.03em; margin: .4rem 0; }
.price small { font: 500 1rem var(--font-body); color: var(--muted); letter-spacing: 0; }

/* Notices */
.notice { border-left: 5px solid var(--navy); background: var(--paper); padding: 1rem 1.2rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.4rem 0; }
.notice p:last-child { margin-bottom: 0; }
.notice-sample { background: var(--warn-bg); border-color: #c58a00; color: var(--warn-ink); }
.notice-good { background: var(--good-bg); border-color: var(--good); }
mark.ph { background: var(--ph-bg); color: #3d2e00; padding: 0 .25em; border-radius: 3px; font-weight: 600; }

/* FAQ */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .7rem; }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font: 600 1.05rem var(--font-head); list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--orange-ink); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 1.2rem 1rem; }
.faq details > div p:last-child { margin-bottom: 0; }

/* Page header (inner pages) */
.page-head { padding: 2.6rem 0 1.2rem; }
.page-head h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); margin-bottom: .4em; }
.page-body { padding-bottom: 4rem; }

/* Prose (legal, long text) */
.prose h2 { font-size: 1.4rem; margin-top: 2.2rem; }
.prose h3 { margin-top: 1.4rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1rem 0; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: .55rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-head); font-size: .85rem; }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem; font-size: .95rem; }
.toc ul { margin: .4rem 0 0; padding-left: 1.2rem; }

/* Sample report */
.sample-content table { font-size: .9rem; }
.sample-content blockquote { margin: 1rem 0; padding: .6rem 1rem; border-left: 4px solid var(--orange); background: var(--paper); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.sample-content blockquote p:last-child { margin: 0; }
.sample-content a { overflow-wrap: anywhere; }

/* Forms */
.form { display: grid; gap: 1.2rem; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.2rem .4rem; margin: 0; background: var(--paper); min-width: 0; }
.form legend { font: 700 1.05rem var(--font-head); padding: 0 .5rem; }
.field { margin-bottom: 1.1rem; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: .3rem; }
.field .opt { font-weight: 400; color: var(--muted); font-size: .9rem; }
.field .hint { display: block; font-size: .9rem; color: var(--muted); margin-bottom: .4rem; }
input[type="text"], input[type="email"], input[type="url"], textarea {
  width: 100%; padding: .7rem .8rem; background: #fff; border: 1.5px solid #8a93a6; border-radius: var(--radius-sm); min-height: 48px;
}
textarea { min-height: 7.5rem; resize: vertical; }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.check { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1rem; }
.check input { width: 1.35rem; height: 1.35rem; margin-top: .2rem; flex: none; accent-color: var(--navy); }
.check label { font-weight: 400; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req { color: #9b2a14; font-weight: 700; }

/* Footer */
.site-footer { background: var(--navy); color: #c9d0de; padding: 3rem 0 2rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #ffb199; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .45rem; }
.footer-grid h2 { font: 700 .8rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: #8f9ab0; margin-bottom: .8rem; }
.footer-logo img { height: 32px; width: auto; margin-bottom: 1rem; }
.legal-line { border-top: 1px solid #2c3850; margin-top: 2rem; padding-top: 1.2rem; font-size: .85rem; color: #98a3b8; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
@media print { .site-header, .site-footer, .btn { display: none; } body { background: #fff; } }

.table-scroll { overflow-x: auto; margin: 1rem 0; }
.table-scroll table { display: table; min-width: 560px; margin: 0; }

/* Sample report entries */
.sample-content h3 { margin-top: 2.2rem; padding-top: 1.4rem; border-top: 2px solid var(--line); font-size: 1.25rem; }
.sample-content h3 + ul { list-style: none; padding: 0; }
.sample-content h3 + ul > li { margin-bottom: .7rem; }
.sample-content ul ul { margin-top: .4rem; }

/* MDL: "product by" line in the footer */
.mdl-line{margin-top:.75rem;font-size:.9rem}
.mdl-line a{color:inherit;text-decoration:underline;text-underline-offset:2px}
