:root{
  --bg:#f3f6f8;
  --bg-soft:#fafbfc;
  --surface:#ffffff;
  --surface-muted:#f5f7fa;
  --surface-accent:#f7f1e7;
  --line:#d9e1e8;
  --line-strong:#c4cfda;
  --text:#1e2a36;
  --muted:#5f6d7a;
  --brand:#123f6b;
  --brand-dark:#0d2f4f;
  --accent:#bf8b3d;
  --accent-dark:#9d6f2f;
  --shadow:0 18px 50px rgba(16,24,40,.08);
  --shadow-soft:0 10px 26px rgba(16,24,40,.06);
  --radius:24px;
  --radius-lg:32px;
  --font-body:"Segoe UI","Helvetica Neue",sans-serif;
  --font-heading:"Trebuchet MS","Segoe UI",sans-serif;
}

*{
  box-sizing:border-box;
}

html{
  height:100%;
  scroll-behavior:smooth;
}

body{
  margin:0;
  min-height:100%;
  font-family:var(--font-body);
  color:var(--text);
  background:
    linear-gradient(180deg, #f9fbfc 0%, var(--bg) 140px, var(--bg) 100%);
  line-height:1.65;
}

img{
  display:block;
  max-width:100%;
  height:auto;
}

a{
  color:inherit;
  text-decoration:none;
  transition:color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

a:hover{
  opacity:1;
}

:is(a, button, input, textarea, summary):focus-visible{
  outline:3px solid rgba(18,63,107,.18);
  outline-offset:3px;
}

::selection{
  background:rgba(18,63,107,.14);
}

.container{
  width:min(1180px, 92vw);
  margin:0 auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

.skip-link:focus{
  left:16px;
  top:16px;
  width:auto;
  height:auto;
  padding:10px 14px;
  border-radius:14px;
  background:var(--surface);
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
  z-index:9999;
}

.topbar{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(217,225,232,.9);
}

.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:16px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:220px;
}

.brand img{
  width:44px;
  height:44px;
}

.brand strong{
  display:block;
  font-family:var(--font-heading);
  font-size:15px;
  letter-spacing:-.02em;
}

.brand span{
  display:block;
  color:var(--muted);
  font-size:12.5px;
}

.nav{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}

.nav a{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid transparent;
  color:var(--muted);
  font-size:14px;
  font-weight:600;
  white-space:nowrap;
}

.nav a:hover,
.nav a[aria-current="page"]{
  color:var(--brand);
  background:var(--surface-muted);
  border-color:var(--line);
}

.cta{
  background:var(--brand);
  color:#fff;
  border-color:var(--brand);
  box-shadow:0 12px 28px rgba(18,63,107,.18);
}

.cta:hover{
  background:var(--brand-dark);
  border-color:var(--brand-dark);
}

.nav .cta,
.nav .cta:hover,
.nav .cta:focus-visible{
  color:#fff !important;
}

.burger{
  display:none;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:var(--surface);
  color:var(--brand);
  font-weight:700;
  cursor:pointer;
}

@media (max-width: 980px){
  .nav{
    display:none;
  }

  .burger{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  .brand{
    min-width:unset;
  }
}

.mobile-panel{
  display:none;
  padding-bottom:16px;
}

.mobile-panel[data-open="true"]{
  display:block;
}

.mobile-links{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.mobile-links a{
  padding:12px 14px;
  border-radius:14px;
  background:var(--surface);
  border:1px solid var(--line);
  color:var(--text);
  font-weight:600;
}

.page{
  padding:28px 0 54px;
}

section{
  padding:0;
}

.hero,
.page-hero,
.section-block,
.section-frame{
  margin-top:22px;
  padding:36px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
}

.page-hero{
  padding:32px;
}

.section-frame--soft,
.section-frame--compact{
  background:var(--surface);
}

.section-frame--compact{
  padding:32px;
}

.hero-home-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.02fr) minmax(340px, .98fr);
  gap:34px;
  align-items:start;
}

.hero-grid{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(300px, .9fr);
  gap:28px;
  align-items:start;
}

.hero-card{
  background:none;
  border:none;
}

.hero-card-inner{
  padding:0;
}

.hero-copy,
.hero-card-inner{
  max-width:680px;
}

.eyebrow{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:18px;
}

.pill{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:8px 14px;
  border-radius:999px;
  background:var(--surface-muted);
  border:1px solid var(--line);
  color:var(--muted);
  font-size:13px;
  font-weight:700;
}

.pill strong{
  color:var(--brand);
}

.hero h1,
.page-hero .h,
main.page > .container > h1{
  margin:0 0 18px;
  font-family:var(--font-heading);
  font-size:clamp(2.25rem, 4.6vw, 4rem);
  line-height:1.02;
  letter-spacing:-.04em;
  color:var(--brand-dark);
  max-width:13ch;
}

.page-hero .h{
  max-width:none;
  font-size:clamp(2rem, 3.8vw, 3rem);
}

.hero p,
.page-hero .lead,
main.page > .container > p{
  margin:0;
  max-width:62ch;
  font-size:1.08rem;
  color:var(--muted);
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:12px 18px;
  border-radius:14px;
  border:1px solid var(--line-strong);
  background:var(--surface);
  color:var(--brand);
  font-weight:700;
  box-shadow:var(--shadow-soft);
}

.btn:hover{
  transform:translateY(-1px);
  border-color:var(--brand);
}

.btn-primary{
  background:var(--brand);
  color:#fff;
  border-color:var(--brand);
}

.btn-primary:hover{
  background:var(--brand-dark);
  border-color:var(--brand-dark);
}

.hero-facts,
.hero-bullets{
  margin-top:28px;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

.fact,
.bullet{
  padding:16px 18px;
  background:var(--surface-muted);
  border:1px solid var(--line);
  border-radius:20px;
}

.fact strong,
.bullet b{
  display:block;
  margin-bottom:4px;
  font-size:15px;
  color:var(--brand-dark);
}

.fact span,
.bullet span{
  display:block;
  font-size:14px;
  color:var(--muted);
}

.hero-side,
.hero-media{
  display:flex;
  flex-direction:column;
}

.hero-photo,
.side-visual,
.split-media{
  overflow:hidden;
  border-radius:28px;
  border:1px solid var(--line);
  background:var(--surface-muted);
  box-shadow:var(--shadow-soft);
}

.hero-photo img,
.side-visual img,
.split-media img{
  width:100%;
  object-fit:cover;
  aspect-ratio:4 / 3;
}

.hero-photo figcaption,
.split-media figcaption{
  padding:14px 18px 16px;
  font-size:14px;
  color:var(--muted);
  background:var(--surface);
}

.hero-report-card{
  padding:22px;
  border-radius:24px;
  border:1px solid #d6e2ee;
  background:linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  box-shadow:var(--shadow-soft);
}

.hero-report-card h2{
  margin:0 0 8px;
  font-family:var(--font-heading);
  font-size:1.45rem;
  line-height:1.2;
  color:var(--brand-dark);
}

.hero-report-card p{
  margin:0 0 14px;
  color:var(--muted);
  font-size:15px;
}

.hero-report-form{
  gap:10px;
}

.hero-report-form .textarea{
  min-height:82px;
}

.side-visual{
  position:relative;
}

.side-visual .overlay{
  display:none;
}

.badge-stack{
  position:absolute;
  left:16px;
  right:16px;
  bottom:16px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.badge{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:14px 16px;
  background:rgba(255,255,255,.94);
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--shadow-soft);
}

.dot{
  width:10px;
  height:10px;
  margin-top:6px;
  border-radius:50%;
  background:var(--brand);
}

.dot-accent{
  background:var(--accent);
}

.badge b{
  display:block;
  margin-bottom:2px;
  color:var(--brand-dark);
}

.badge span{
  color:var(--muted);
  font-size:13px;
}

.section-head{
  max-width:760px;
  margin-bottom:24px;
}

.section-kicker{
  display:inline-block;
  margin-bottom:12px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--brand);
}

.section-title{
  margin:0 0 12px;
  font-family:var(--font-heading);
  font-size:clamp(1.6rem, 3vw, 2.25rem);
  line-height:1.14;
  letter-spacing:-.03em;
  color:var(--brand-dark);
}

.section-sub{
  margin:0;
  max-width:66ch;
  font-size:1rem;
  color:var(--muted);
}

.grid-2,
.grid-3,
.subgrid,
.service-grid,
.topic-grid{
  display:grid;
  gap:16px;
}

.grid-2,
.subgrid,
.service-grid{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

.grid-3,
.topic-grid{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.stack-top{
  margin-top:16px;
}

.card,
.service-card{
  padding:22px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow-soft);
}

.card h3,
.service-card h3{
  margin:0 0 10px;
  font-family:var(--font-heading);
  font-size:1.15rem;
  line-height:1.25;
  letter-spacing:-.02em;
  color:var(--brand-dark);
}

.card p,
.service-card p{
  margin:0;
  color:var(--muted);
  font-size:15px;
}

.card .toprow{
  display:flex;
  align-items:flex-start;
  gap:14px;
}

.icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:14px;
  background:var(--surface-muted);
  border:1px solid var(--line);
  flex:0 0 auto;
  overflow:hidden;
}

.service-kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  margin-bottom:16px;
  border-radius:50%;
  background:var(--surface-muted);
  color:var(--brand);
  border:1px solid var(--line);
  font-size:13px;
  font-weight:800;
}

.card-note{
  margin-top:12px !important;
  color:var(--brand-dark) !important;
  font-weight:700;
}

.text-link,
.link-inline{
  color:var(--brand);
  font-weight:700;
}

.text-link:hover,
.link-inline:hover{
  text-decoration:underline;
  text-underline-offset:3px;
}

.link-card{
  display:block;
}

.link-card:hover{
  transform:translateY(-2px);
  border-color:var(--line-strong);
  box-shadow:0 18px 34px rgba(16,24,40,.08);
}

.callout{
  background:var(--surface-accent);
  border-color:#eadac3;
}

.split-section{
  display:grid;
  grid-template-columns:minmax(0, 1.04fr) minmax(320px, .96fr);
  gap:30px;
  align-items:center;
}

.ai-audit-layout{
  display:grid;
  grid-template-columns:minmax(0, 1.08fr) minmax(320px, .92fr);
  gap:18px;
  align-items:start;
}

.ai-report-card{
  padding:24px;
  border-radius:28px;
  border:1px solid #d5e0ec;
  background:
    radial-gradient(circle at top right, rgba(191,139,61,.14), transparent 34%),
    radial-gradient(circle at bottom left, rgba(18,63,107,.08), transparent 40%),
    #ffffff;
  box-shadow:var(--shadow-soft);
}

.ai-report-head h3{
  margin:0 0 10px;
  font-family:var(--font-heading);
  font-size:1.4rem;
  line-height:1.22;
  color:var(--brand-dark);
}

.ai-report-head p{
  margin:0;
  color:var(--muted);
}

.ai-report-pill{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:6px 12px;
  margin-bottom:12px;
  border-radius:999px;
  border:1px solid #d7e3f1;
  background:#f4f8fd;
  color:var(--brand);
  font-size:12px;
  font-weight:800;
  letter-spacing:.02em;
  text-transform:uppercase;
}

.ai-score-strip{
  display:grid;
  grid-template-columns:minmax(180px, .9fr) minmax(0, 1.1fr);
  gap:14px;
  margin-top:16px;
}

.ai-main-score{
  padding:18px;
  border-radius:20px;
  border:1px solid #d8e2f0;
  background:#f7fafd;
}

.ai-main-score strong{
  display:block;
  font-size:2.2rem;
  line-height:1;
  color:var(--brand-dark);
}

.ai-main-score span{
  display:block;
  margin-top:6px;
  color:var(--muted);
  font-size:14px;
  font-weight:700;
}

.ai-score-badges{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}

.ai-score-badges li{
  padding:11px 12px;
  border-radius:14px;
  border:1px solid #deebf8;
  background:#f8fbff;
  color:var(--muted);
  font-size:14px;
}

.ai-score-badges b{
  color:var(--brand-dark);
}

.ai-bars{
  margin-top:16px;
  padding:16px;
  border-radius:20px;
  border:1px solid #dce7f4;
  background:#f8fbff;
  display:grid;
  gap:10px;
}

.ai-bar-row{
  display:grid;
  grid-template-columns:minmax(130px, 1fr) minmax(0, 3fr) auto;
  gap:10px;
  align-items:center;
}

.ai-bar-row span{
  color:var(--brand-dark);
  font-size:14px;
  font-weight:700;
}

.ai-bar-row b{
  color:var(--brand-dark);
  font-size:14px;
}

.ai-track{
  width:100%;
  height:10px;
  border-radius:999px;
  overflow:hidden;
  background:#dbe6f2;
}

.ai-fill{
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg, var(--brand), var(--accent));
}

.ai-mini-table-wrap{
  margin-top:16px;
  overflow:hidden;
  border-radius:20px;
  border:1px solid #dde8f5;
  background:#fff;
}

.ai-mini-table{
  width:100%;
  min-width:0;
  border-collapse:collapse;
  table-layout:fixed;
}

.ai-mini-table th,
.ai-mini-table td{
  padding:12px 14px;
  border-bottom:1px solid #edf2f8;
  text-align:left;
  font-size:14px;
}

.ai-mini-table th{
  background:#f7fbff;
  color:#4b5d70;
  font-size:12px;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.ai-mini-table th:nth-child(2),
.ai-mini-table td:nth-child(2){
  width:92px;
  text-align:center;
  white-space:nowrap;
}

.ai-mini-table th:nth-child(3),
.ai-mini-table td:nth-child(3){
  width:150px;
}

.ai-mini-table td:first-child{
  word-break:break-word;
}

.ai-chip{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid transparent;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.02em;
}

.ai-chip-good{
  color:#1e6849;
  background:#e8f7ee;
  border-color:#c9ebd7;
}

.ai-chip-warn{
  color:#9a631b;
  background:#fff5e6;
  border-color:#f3dcc0;
}

.ai-chip-bad{
  color:#8d2e45;
  background:#ffeef2;
  border-color:#f8cad5;
}

.ai-report-note{
  margin:16px 0 0;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid #eadac3;
  background:#fff9ef;
  color:#4f5f70;
  font-size:14px;
}

.ai-report-note b{
  color:var(--brand-dark);
}

.ai-form-card{
  padding:24px;
  border-radius:28px;
  border:1px solid #d6e2ee;
  background:linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  box-shadow:var(--shadow-soft);
}

.ai-form-card h3{
  margin:0 0 8px;
  font-family:var(--font-heading);
  font-size:1.35rem;
  line-height:1.2;
  color:var(--brand-dark);
}

.ai-form-card > p{
  margin:0 0 14px;
  color:var(--muted);
  font-size:15px;
}

.ai-lead-form{
  gap:10px;
}

.ai-lead-form .textarea{
  min-height:92px;
}

.ai-consent{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin:4px 0 8px;
  color:var(--muted);
  font-size:13px;
}

.ai-consent input{
  margin-top:3px;
  accent-color:var(--brand);
}

.check-list{
  margin:18px 0 0;
  padding:0;
  list-style:none;
}

.check-list li{
  position:relative;
  padding-left:26px;
  color:var(--muted);
}

.check-list li + li{
  margin-top:10px;
}

.check-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.58em;
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--accent);
}

.timeline{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

.step{
  display:flex;
  gap:14px;
  padding:18px;
  border-radius:22px;
  border:1px solid var(--line);
  background:var(--surface-muted);
}

.step .n{
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  flex:0 0 auto;
  border-radius:50%;
  background:var(--brand);
  color:#fff;
  font-weight:800;
}

.step b{
  display:block;
  margin-bottom:4px;
  color:var(--brand-dark);
}

.step span{
  color:var(--muted);
  font-size:14px;
}

.faq{
  overflow:hidden;
  border-radius:24px;
  border:1px solid var(--line);
  background:var(--surface);
}

.faq details + details{
  border-top:1px solid var(--line);
}

.faq summary{
  padding:18px 20px;
  cursor:pointer;
  list-style:none;
  font-weight:700;
  color:var(--brand-dark);
}

.faq summary::-webkit-details-marker{
  display:none;
}

.faq .faq-body{
  padding:0 20px 18px;
  color:var(--muted);
  font-size:15px;
}

footer{
  margin-top:22px;
  padding:30px 32px;
  background:var(--brand-dark);
  border:1px solid var(--brand-dark);
  border-radius:24px;
  box-shadow:var(--shadow-soft);
}

.footer-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.2fr) minmax(0, .8fr);
  gap:20px;
}

.fineprint{
  color:rgba(255,255,255,.78);
  font-size:14px;
}

footer .fineprint,
footer .fineprint b,
footer .fineprint a,
footer .link-inline{
  color:#fff;
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.footer-links a{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-weight:700;
}

.footer-links a:hover{
  border-color:rgba(255,255,255,.28);
}

.contact-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}

.form{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.field{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.label{
  font-size:14px;
  font-weight:700;
  color:var(--brand-dark);
}

.input,
.textarea{
  width:100%;
  padding:13px 14px;
  border-radius:14px;
  border:1px solid var(--line-strong);
  background:var(--surface);
  color:var(--text);
  font:inherit;
}

.textarea{
  min-height:140px;
  resize:vertical;
}

.input:focus,
.textarea:focus{
  border-color:var(--brand);
  box-shadow:0 0 0 4px rgba(18,63,107,.08);
}

.help{
  font-size:13px;
  color:var(--muted);
}

.notice{
  padding:14px 16px;
  border-radius:18px;
  border:1px solid var(--line);
  background:var(--surface-muted);
  color:var(--muted);
}

.notice strong{
  color:var(--brand-dark);
}

.error{
  background:#fff1f4;
  border-color:#f3c6d2;
  color:#8f2946;
}

.success{
  background:#eefaf4;
  border-color:#bde3cd;
  color:#1f6849;
}

@media (max-width: 980px){
  .page{
    padding-top:18px;
  }

  .hero,
  .page-hero,
  .section-block,
  .section-frame{
    padding:24px;
    border-radius:24px;
  }

  .hero-home-grid,
  .hero-grid,
  .split-section,
  .grid-2,
  .grid-3,
  .subgrid,
  .service-grid,
  .topic-grid,
  .timeline,
  .contact-grid,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .hero h1,
  .page-hero .h,
  main.page > .container > h1{
    max-width:none;
    font-size:clamp(2rem, 8vw, 3rem);
  }

  .hero-facts,
  .hero-bullets{
    grid-template-columns:1fr;
  }

  .ai-audit-layout,
  .ai-score-strip{
    grid-template-columns:1fr;
  }

  .ai-report-card,
  .ai-form-card{
    padding:20px;
    border-radius:24px;
  }

  .ai-mini-table{
    min-width:540px;
  }
}

@media (prefers-reduced-motion: reduce){
  *{
    scroll-behavior:auto !important;
    transition:none !important;
  }
}
