/* Auditor Coach AI — illuminated precision.
   Presentation-only theme. Original page structure and tool behavior are retained. */
:root {
  color-scheme: dark;
  --paper: #050f1b;
  --ink: #e5eff7;
  --teal: #8adef0;
  --deep: #0a2238;
  --gold: #9ee6f4;
  --mist: #091827;
  --line: #24394d;
  --muted: #a8bacb;
  --radius: 16px;
  background: var(--paper);
}
body { background: var(--paper); color: var(--ink); line-height: 1.65; }
::selection { background: #8adef0; color: #051422; }
h1,h2,h3,h4 { font-weight: 500; }
h1,h2 { letter-spacing: -.06em; }
h2 { font-size: clamp(2.15rem,3.7vw,3.6rem); line-height: 1.12; }
h3 { line-height: 1.22; }
p { color: var(--muted); }
.container { width: min(1376px,calc(100% - clamp(48px,10vw,144px))); }
.section { padding: 100px 0; border-bottom: 1px solid #22394d80; }
.eyebrow { color: #a0bfd3; font-size: .75rem; letter-spacing: .13em; }
.btn {
  background: linear-gradient(120deg,#b4f0fb,#74cee8);
  border: 1px solid #b7f2ff77; color: #041824; border-radius: 50px;
  padding: 14px 23px; font-size: .925rem; font-weight: 600;
  box-shadow: 0 5px 22px #57dfff13;
  transition: transform .2s,box-shadow .2s,background .2s,border-color .2s;
}
.btn:hover { background: #bbf0ff; color: #041824; transform: translateY(-3px); box-shadow: 0 10px 30px #57dfff24; }
.btn.secondary { background: transparent; color: #dcf6ff; border-color: #3c5b75; box-shadow: none; }
.btn.secondary:hover { background: #15364c; border-color: #83d7ee; }
.text-link { color: var(--teal); font-size: .925rem; }
.actions { gap: 14px; }
.header { background: #061422ed; border-bottom: 1px solid #b0dfff18; backdrop-filter: blur(22px); }
.header-inner { gap: 22px; }
.brand { color: #edf8ff; font-weight: 600; }
.brand svg { color: var(--teal); }
.brand svg rect { fill: #a1e6f4; }
.brand svg path { stroke: #082034; }
.brand .ai { color: #b7f2ff; background: #17374d; font-size: .75rem; border: 1px solid #35536a; border-radius: 5px; padding: 2px 5px; }
.nav { color: #b7c9d9; font-size: .875rem; gap: 24px; }
.nav summary:hover,.nav>a:hover,.header-ctas>a:hover { color: #e8faff; }
.navpanel { background: linear-gradient(145deg,#112a40,#081827); border-color: #35516a; padding: 28px; border-radius: 16px; box-shadow: 0 26px 65px #0009; }
.navpanel a { font-size: .9rem; padding: 10px 0; }
.navpanel h4 { color: #9cb6c9; font-size: .75rem; }
.header-ctas { color: #c1d6e5; font-size: .875rem; gap: 18px; }
.header .btn { padding: 10px 18px; min-height: 44px; white-space: nowrap; flex-shrink: 0; }
.menu-toggle { color: #d9f4ff; min-height: 44px; min-width: 40px; border-radius: 8px; }
.menu-toggle:hover { background: #17374d; }
/* Full-width grid and light behind the existing, working interview. */
main:has(.hero) { overflow: clip; }
main>.container:has(>.hero) { position: relative; isolation: isolate; }
main>.container:has(>.hero)::before {
  content: ''; position: absolute; z-index: -2; inset: 0 calc((100% - 100vw)/2);
  background: radial-gradient(ellipse at 76% 35%,#164a737a,transparent 53%),linear-gradient(145deg,#081f36,#071525 55%,#05101b);
  pointer-events: none;
}
main>.container:has(>.hero)::after {
  content: ''; position: absolute; z-index: -1; inset: 0 calc((100% - 100vw)/2);
  background-image: linear-gradient(#759fc00b 1px,transparent 1px),linear-gradient(90deg,#759fc00b 1px,transparent 1px);
  background-size: 72px 72px; mask-image: linear-gradient(90deg,transparent 10%,black 70%); pointer-events: none;
}
.hero { min-height: 742px; grid-template-columns: 1.06fr 1fr; gap: clamp(34px,5vw,78px); padding: 84px 0 88px; }
.hero h1 { font-size: clamp(3.9rem,6.25vw,6rem); line-height: 1.02; letter-spacing: -.075em; margin-bottom: 28px; }
.hero h1 span { color: #a3e1f5; background: linear-gradient(110deg,#e7fbff,#8edcf4 52%,#559ec4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { font-size: 1.0625rem; line-height: 1.85; max-width: 510px; color: #b4cbdc; }
.hero .eyebrow { margin-bottom: 28px; }
.hero .actions { margin-top: 30px; }
.trust-tiny { font-size: .8125rem; color: #9cb4c9; gap: 20px; margin-top: 24px; }
.hero-visual { padding: 20px; border: 1px solid #6fb5dd45; border-radius: 24px; background: linear-gradient(145deg,#204263ba,#0a1d34e6,#08192dda); box-shadow: 0 35px 85px #0005,inset 0 1px #c1f0ff14; isolation: isolate; }
.hero-visual::before,.hero-visual::after { content: ''; position: absolute; z-index: -1; pointer-events: none; border: 1px solid #79c4f017; border-radius: 50%; width: 135%; height: 110%; top: -5%; left: -17.5%; transform: rotate(-25deg); }
.hero-visual::after { width: 154%; height: 126%; top: -13%; left: -27%; border-color: #79c4f00c; transform: rotate(25deg); }
.demo { background: #091b2d; border: 1px solid #41657c70; border-radius: 16px; box-shadow: 0 16px 32px #0003,inset 0 1px #d4f6ff09; }
.demo-top { background: #15324965; padding: 18px 20px; gap: 12px; }
.demo-title { color: #effaff; font-size: .875rem; }
.demo-tag { color: #9dbbd0; font-size: .75rem; }
.demo-scope { padding: 14px 20px; font-size: .75rem; flex-wrap: wrap; }
.pill { background: #153b50; color: #b7eff8; border: 1px solid #305b70; font-size: .75rem; border-radius: 5px; }
.demo-messages { padding: 22px 20px 8px; min-height: 302px; }
.speaker { color: #c7dce9; font-size: .75rem; font-weight: 500; }
.avatar { background: #1c3c52; color: #b7efff; font-size: .625rem; border: 1px solid #3a5c71; width: 26px; height: 26px; }
.bubble { background: #132c40; color: #bdd3e3; font-size: .875rem; border-radius: 0 10px 10px; padding: 13px 15px; line-height: 1.65; }
.bubble.auditor { background: #103849; color: #d7eff7; border-left-color: #81d8e9; }
.coach-note { background: #162f3d; border-color: #416171; border-left: 2px solid #88d8e9; color: #aac5d6; border-radius: 8px; font-size: .8125rem; padding: 12px 14px; }
.coach-note b { color: #c5f2fc; font-weight: 500; }
.demo-controls { background: #0a1d2e; padding: 14px 18px; flex-wrap: wrap; }
.demo-controls button { background: #a4e8f6; color: #062134; border: 1px solid #b7f2ff77; border-radius: 50px; padding: 10px 14px; font-size: .8125rem; min-height: 42px; font-weight: 600; }
.demo-controls button:hover { background: #cef6ff; }
.demo-controls small { color: #a8bece; font-size: .75rem; }
.visual-caption { color: #a7c2d5; font-size: .75rem; gap: 15px; line-height: 1.55; }
.trust-band { background: #071624; border-color: #20394b; }
.trust-band .container { min-height: 110px; }
.trust-band p { color: #8eaac0; font-size: .8125rem; }
.standards-inline { color: #bacddd; font-size: .975rem; font-weight: 500; }
.section-title { margin-bottom: 44px; gap: 60px; }
.section-title p { font-size: 1rem; }
.grid3 { gap: 22px; }
.card,.route-card,.plan { background: linear-gradient(150deg,#10253a,#071625); border-color: var(--line); border-radius: 16px; transition: border-color .2s,background .2s; }
.card { padding: 32px; }
.card:hover { border-color: #42647e; }
.card .num { color: #82c8e3; font-size: .8125rem; margin-bottom: 48px; }
.card h3 { font-size: 1.75rem; letter-spacing: -.045em; }
.card p,.step-grid p { font-size: 1rem; }
.mist { background: #081724; }
.deep { background: radial-gradient(ellipse at 85% 20%,#18476350,transparent 65%),#0a2234; color: #e5f2fa; }
.deep p { color: #aec8d9; }
.deep .eyebrow { color: #9bc6dc; }
.deep .text-link { color: #a9e9f7; }
.deep .btn { background: linear-gradient(120deg,#b4f0fb,#74cee8); color: #041824; border-color: #b7f2ff77; }
.deep .btn:hover { background: #bbf0ff; }
.deep .secondary { background: transparent; color: #dcf6ff; border-color: #55778f; }
.deep .secondary:hover { background: #15364c; }
.step-grid { gap: 32px; }
.step-grid span { color: #92d3ea; border-color: #345068; padding-bottom: 24px; }
.step-grid h3 { font-size: 1.3rem; }
.cta { padding: 86px 0; border-top: 1px solid #365972; border-bottom: 1px solid #365972; }
.cta h2 { font-size: clamp(2.4rem,4.1vw,3.9rem); }
.footer { background: #040d17; padding: 70px 0 28px; }
.footer-top { gap: 64px; padding-bottom: 48px; }
.footer-top p,.newsletter p { font-size: .9375rem; }
.newsletter { max-width: 490px; }
.newsletter h3 { font-size: 1.25rem; }
.newsletter .btn { font-size: .875rem; padding: 12px 20px; }
.footer-grid { padding: 48px 0; }
.footer-grid h4 { color: #d3e6f3; font-size: .875rem; font-weight: 500; }
.footer-grid a { font-size: .875rem; color: #9bb1c4; }
.legal { color: #8ca6bb; font-size: .8125rem; }
.guardrails { background: #10253766; border-color: #5fadc9; border-radius: 0 10px 10px 0; color: #a4bdcf; font-size: .875rem; padding: 18px 22px; }
.skip-link:focus { background: #b7f2ff; color: #041824; }
.breadcrumbs { color: #92b0c5; padding-top: 28px; font-size: .8125rem; }
main:has(.page-hero) { background: radial-gradient(ellipse 750px 430px at 95% 0,#173f5b55,transparent); }
.page-hero { padding: 72px 0 60px; max-width: 950px; }
.page-hero h1 { font-size: clamp(2.8rem,4.8vw,4.65rem); line-height: 1.09; letter-spacing: -.06em; }
.page-hero p { color: #b1c7d8; font-size: 1.1rem; line-height: 1.8; }
.content-grid { gap: 74px; }
.prose h2 { font-size: 2rem; letter-spacing: -.045em; }
.prose h3 { font-size: 1.3rem; }
.side-card { background: linear-gradient(150deg,#10293ccc,#0a192755); border: 1px solid #233d51; border-top: 2px solid #507c98; border-radius: 0 0 14px 14px; padding: 26px; }
.side-card p { font-size: .9375rem; }
.side-card a { font-size: .9375rem; padding: 13px 0; }
.faq details { border-color: #284054; padding: 24px 0; }
.faq summary { font-size: 1rem; font-weight: 500; }
.faq p { font-size: 1rem; }
.route-card { padding: 28px 53px 28px 28px; background: linear-gradient(155deg,#0c203280,#06131f30); }
.route-card h3 { font-size: 1.2rem; color: #dcecf7; }
.route-card p { font-size: .9375rem; }
.route-card:hover { border-color: #47728e; background: #102a3e; }
.route-card::after { font-size: 1.25rem; color: #91cfe4; }
.scorebox { background: linear-gradient(145deg,#16354be6,#0c2032cc); border-color: #507891; border-radius: 20px; padding: 32px; box-shadow: 0 18px 50px #00101a33; }
.scorebox label { color: #d2e9f6; font-size: 1rem; }
.score-numbers strong { color: #d2f3ff; font-size: 4.5rem; }
.score-numbers span { color: #b5d3e5; }
.scorebox input { accent-color: #91e3f3; background: transparent; }
.scorebox small,.stats-caption { color: #adc6d9; font-size: .8125rem; }
.toggle { background: #091c2d; border-color: #355269; border-radius: 50px; padding: 5px; }
.toggle button { border-radius: 50px; color: #b3c8d8; min-height: 44px; font-size: .9375rem; padding: 10px 18px; }
.toggle button[aria-pressed=true] { background: #a7e8f5; color: #071d2a; box-shadow: none; }
.toggle span { color: inherit; font-size: .75rem; }
.plan { padding: 32px 25px; }
.plans { grid-template-columns: repeat(3,minmax(0,1fr)); }
.plan.featured { background: linear-gradient(155deg,#193d52,#0b2032 65%); border-color: #87d9ed; box-shadow: 0 0 50px #4dbfd712; }
.popular { background: #a4e8f6; color: #061a28; border-radius: 50px; font-size: .75rem; padding: 5px 14px; }
.plan h2 { font-size: 1.65rem; }
.plan .who { font-size: .9375rem; min-height: 94px; }
.price { color: #eefaff; font-size: 3rem; }
.price-note { font-size: .8125rem; min-height: 65px; }
.plan ul { font-size: .9375rem; }
.plan li { color: #b4c9d9; padding-top: 9px; padding-bottom: 9px; }
.plan .btn { font-size: .875rem; }
.table-wrap { border: 1px solid var(--line); border-radius: 12px; max-width: 100%; }
table { font-size: .9375rem; }
th { background: #132b3e; color: #d9edf8; font-weight: 500; }
td { color: #afc6d7; }
tr:hover td { background: #112b3e; }
td,th { border-color: #233b4f; }
.notice { background: #142d3d; border: 1px solid #426276; border-left: 3px solid #87c8de; border-radius: 10px; color: #bbd5e5; font-size: .9375rem; }
.field,input,select,textarea { background: #0a1c2d; color: #e3f1fa; border: 1px solid #426078; border-radius: 8px; padding: 13px 14px; }
input::placeholder,textarea::placeholder { color: #91a9bd; opacity: 1; }
input:hover,select:hover,textarea:hover { border-color: #6993ad; }
input:focus,select:focus,textarea:focus { border-color: #98dfef; }
select { padding-right: 30px; }
.form-group label { font-size: .9375rem; font-weight: 500; color: #d0e4f1; }
.help { font-size: .875rem; color: #a1bacd; }
.form-status { color: #a0deef; font-size: .9375rem; }
.tool { background: linear-gradient(145deg,#10273a,#081827); border: 1px solid #35556e; border-radius: 20px; padding: 38px; box-shadow: 0 20px 60px #0002; }
.tool h2 { font-size: 1.8rem; }
.tool label,.question label { font-size: 1rem; }
.question { grid-template-columns: minmax(0,1fr) 210px; border-color: #2a4459; padding: 22px 0; }
.tool-output { border-color: #35556e; }
.tool-output:focus { outline: 2px solid #8adef0; outline-offset: 8px; border-radius: 8px; }
.tool-output .table-wrap table { min-width: 590px; }
.tool-output p { overflow-wrap: anywhere; }
.result-score { color: #aceafb; }
.result-score span { letter-spacing: -.01em; margin-left: .3em; }
.template-grid .card h3 { font-size: 1.2rem; }
.template-grid .card p { font-size: .9375rem; }
.badges span { background: #122f43; color: #bcdbea; border-color: #34586e; font-size: .875rem; border-radius: 50px; }
.author-mark { background: radial-gradient(ellipse at 50% 20%,#26587955,transparent),linear-gradient(145deg,#173449,#0a1a29); color: #a1e0f3; border: 1px solid #3a5d76; border-radius: 20px; }
.lesson { border-color: #2b465b; }
.preview-label { background: #112b3e; color: #accbdf; font-size: .8125rem; border-bottom: 1px solid #2a485f; padding: 10px 24px; }
@media (min-width:1550px) { .hero { min-height: 820px; } }
@media (max-width:1200px) {
  .header-inner { gap: 14px; }
  .nav { gap: 15px; }
  .header-ctas { gap: 12px; margin-left: 0; }
  .hero { gap: 34px; }
  .hero h1 { font-size: clamp(3.5rem,6.2vw,4.8rem); }
  .hero-visual { padding: 15px; }
  .plan { padding: 28px 20px; }
  .plan .who { min-height: 118px; }
  .plans { gap: 16px; }
}
@media (max-width:1050px) {
  .header-inner { gap: 10px; }
  .header-ctas>a:first-child { display: none; }
  .hero { grid-template-columns: 1fr 1.04fr; }
  .hero h1 { font-size: 3.7rem; }
  .hero .actions { flex-direction: column; align-items: flex-start; }
  .demo-top { flex-wrap: wrap; gap: 5px; }
  .visual-caption { flex-wrap: wrap; gap: 4px; }
  .trust-tiny { flex-wrap: wrap; gap: 6px 18px; }
}
@media (max-width:960px) {
  .header-ctas { margin-left: auto; }
  .nav.mobile-open { background: #091d2f; border-color: #34546c; padding: 18px 5vw; gap: 12px 24px; }
  .navpanel { background: #0d2336; top: calc(100% + 8px); }
  .hero { padding: 64px 0; }
  .hero h1 { font-size: clamp(3rem,6.5vw,3.8rem); }
  .hero-visual { padding: 12px; }
  .demo-messages,.demo-top,.demo-scope { padding-left: 16px; padding-right: 16px; }
  .coach-note { margin-left: 14px; margin-right: 14px; }
  .trust-band .container { gap: 24px; }
  .section { padding: 78px 0; }
  .section-title { gap: 35px; }
  .card { padding: 26px; }
  .plan .who { min-height: 64px; }
  .price-note { min-height: 50px; }
  .plans { grid-template-columns: 1fr; gap: 28px 22px; }
  .content-grid { gap: 35px; }
  .question { grid-template-columns: minmax(0,1fr) 190px; }
}
@media (min-width:701px) and (max-width:900px) {
  .hero { grid-template-columns: 1fr; gap: 46px; }
  .hero h1 { font-size: clamp(3.8rem,8vw,4.7rem); max-width: 700px; }
  .hero .lead { max-width: 600px; }
  .hero .actions { flex-direction: row; align-items: center; }
  .hero-visual { max-width: 620px; width: 100%; margin: auto; padding: 20px; }
  .trust-tiny { flex-direction: row; }
}
@media (max-width:700px) {
  .container { width: calc(100% - 40px); }
  .header { height: 76px; }
  .header .brand { font-size: .95rem; }
  .header .btn { padding: 9px 13px; font-size: .8125rem; }
  .brand .ai { font-size: .6875rem; }
  .header-ctas { gap: 7px; }
  .nav.mobile-open { top: 75px; gap: 8px 24px; padding: 18px 20px; }
  .navpanel { top: calc(100% + 8px); width: calc(100vw - 32px); max-height: calc(100dvh - 235px); padding: 24px; }
  .nav summary { font-size: .9375rem; padding: 10px 0; }
  .hero { grid-template-columns: 1fr; gap: 42px; padding: 56px 0 50px; min-height: 0; }
  .hero h1 { font-size: clamp(3.3rem,10vw,4.7rem); max-width: 580px; }
  .hero .eyebrow { margin-bottom: 24px; }
  .hero .lead { font-size: 1rem; }
  .hero .actions { flex-direction: row; align-items: center; }
  .hero-visual { max-width: 560px; padding: 16px; border-radius: 20px; }
  .hero-visual::before { width: 118%; left: -9%; }
  .hero-visual::after { width: 130%; left: -15%; }
  .demo-top { flex-wrap: nowrap; padding: 16px; }
  .demo-title { font-size: .8125rem; }
  .demo-tag { font-size: .75rem; }
  .demo-messages { min-height: 0; }
  .demo-controls { gap: 12px; }
  .visual-caption { flex-wrap: nowrap; margin-top: 13px; gap: 15px; }
  .trust-tiny { flex-direction: row; }
  .trust-band .container { padding: 28px 0; }
  .trust-band p { margin-bottom: 18px; }
  .standards-inline { font-size: .9375rem; gap: 18px 25px; }
  .section { padding: 64px 0; }
  .section-title { margin-bottom: 32px; }
  .section-title p { max-width: none; }
  .card { padding: 28px; }
  .card .num { margin-bottom: 30px; }
  .step-grid { gap: 30px 24px; }
  .step-grid h3 { font-size: 1.2rem; }
  .step-grid p { font-size: .9375rem; }
  .cta { padding: 66px 0; }
  .cta h2 { font-size: 2.7rem; }
  .footer { padding-top: 54px; }
  .footer-grid a { font-size: .875rem; }
  .newsletter { max-width: none; }
  .page-hero { padding: 48px 0 42px; }
  .page-hero h1 { font-size: clamp(2.6rem,8vw,3.4rem); }
  .page-hero p { font-size: 1rem; }
  .prose h2 { font-size: 1.8rem; }
  .plan { padding: 32px 28px; }
  .plan .who,.price-note { min-height: 0; }
  .tool { padding: 27px 20px; border-radius: 15px; }
  .tool h2 { font-size: 1.6rem; }
  .question { grid-template-columns: 1fr; gap: 12px; }
  .tool-output .table-wrap { margin-left: 0; margin-right: 0; }
  td,th { padding: 15px 13px; }
  .scorebox { padding: 26px; }
  .notice { padding: 17px; }
}
@media (max-width:380px) {
  .container { width: calc(100% - 32px); }
  .header .brand { gap: 6px; font-size: .85rem; }
  .header .brand .ai { display: none; }
  .header .brand svg { width: 24px; }
  .header .btn { padding: 9px 11px; font-size: .75rem; }
  .header-inner { gap: 6px; }
  .menu-toggle { min-width: 32px; }
  .hero h1 { font-size: 3.25rem; }
  .hero-visual { padding: 10px; }
  .demo-top { flex-wrap: wrap; }
  .visual-caption { flex-wrap: wrap; }
  .step-grid { grid-template-columns: 1fr; }
  .toggle button { padding: 10px 13px; font-size: .875rem; }
}
@media print {
  :root { color-scheme: light; --paper: #fff; --ink: #101820; --muted: #344453; --teal: #16516b; --line: #b8c8d4; }
  body,main,.section,.mist,.deep,.tool,.tool-output,.card,.plan,.demo,.notice,.bubble,.coach-note,.scorebox { background: #fff!important; color: #101820!important; box-shadow: none!important; }
  p,li,label,.deep p,.plan li,td { color: #344453!important; }
  th { background: #e7eef3; color: #101820; }
  .hero h1 span { background: none; -webkit-text-fill-color: #16516b; color: #16516b; }
  .hero-visual::before,.hero-visual::after,main>.container:has(>.hero)::before,main>.container:has(>.hero)::after { display: none; }
  input,select,textarea { background: #fff; color: #101820; }
  .table-wrap { overflow: visible; }
  .tool-output .table-wrap table { min-width: 0; }
}
