:root{
  --bg-1: #f7fafc;
  --bg-2: #eef6f8;
  --accent: #078ea2;
  --muted: #6f7c8c;
  --card: #ffffff;
  --glass: #eef5f7;
  --radius: 12px;
  --max-width: 1100px;
  --shadow: 0 18px 44px rgba(16,32,51,0.10);
  --success: #12a150;
  --text-1: #102033;
  --text-2: #526173;
  --border-soft: #dce6eb;
  --border-strong: #9cced8;
  --panel: #ffffff;
  --panel-2: #f6fafb;
  --glow: 0 14px 34px rgba(16,32,51,0.08);
}

*{box-sizing:border-box}
html, body{height:100%;margin:0;font-family:Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial}
body{
  background: linear-gradient(180deg,var(--bg-1) 0%, var(--bg-2) 100%);
  color: var(--text-1);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  display:flex;
  flex-direction:column;
  min-height:100vh;
  padding:24px 20px 24px;
}

.container{width:min(100%, var(--max-width));flex:1;margin:0 auto;padding:0 24px}

.main-content{flex:1;display:flex;align-items:center;justify-content:center;padding-top:20px;padding-bottom:20px}

.main-content{flex:1;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}

.hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,420px);gap:28px;align-items:stretch;margin-bottom:28px}
.brand{display:flex;flex-direction:column;gap:12px}
.logo{display:flex;align-items:center;gap:12px}
.logo .mark{width:56px;height:56px;border-radius:12px;background:linear-gradient(135deg,var(--accent),#60a5fa);display:flex;align-items:center;justify-content:center;font-weight:700;color:#06202e}
h1{font-size:4.35rem;line-height:1.04;letter-spacing:0;margin:0;max-width:12ch;overflow-wrap:anywhere}
p.lead{margin:0;color:var(--text-2);font-size:1.05rem;line-height:1.65}

.cta-group{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 18px;border-radius:12px;border:1px solid transparent;font-weight:700;cursor:pointer;text-decoration:none;transition:background .16s ease, border-color .16s ease, box-shadow .16s ease}
.btn-primary{background:linear-gradient(135deg,var(--accent),#60a5fa);color:#06202e;box-shadow:0 10px 22px rgba(56,189,248,0.18)}
.btn-ghost{background:rgba(255,255,255,0.02);border:1px solid var(--border-soft);color:var(--text-1)}
.btn:hover{transform:none}
.btn-primary:hover{box-shadow:0 12px 24px rgba(56,189,248,0.22)}
.btn-ghost:hover{background:rgba(255,255,255,0.05);border-color:rgba(255,255,255,0.14)}

/* EazePredict-specific primary CTA — white text, blue gradient, enterprise polish */
.eazepredict-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.55rem;
  border-radius: 999px;
  border: 1px solid rgba(191,219,254,0.28);
  background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%);
  color: #f8fafc !important;
  font-weight: 700;
  font-size: 0.97rem;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 38px rgba(37,99,235,0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
.eazepredict-primary-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 20px 48px rgba(37,99,235,0.38);
  color: #ffffff !important;
}
.eazepredict-primary-button:focus-visible {
  outline: 3px solid rgba(125,211,252,0.55);
  outline-offset: 4px;
}
@media (max-width:640px) {
  .eazepredict-primary-button { width: 100%; }
}

.card{background:linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));border:1px solid var(--border-soft);border-radius:20px;padding:24px;box-shadow:var(--glow)}

.services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;width:100%}
.service{display:flex;flex-direction:column;gap:10px;padding:18px;border-radius:16px;background:linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));border:1px solid rgba(255,255,255,0.05);transition:border-color .18s ease, box-shadow .18s ease;min-width:0;max-width:100%}
.service h3{margin:0;font-size:1.05rem;line-height:1.3}
.service p{margin:0;color:var(--text-2);font-size:0.96rem;line-height:1.65}
.service:hover{transform:none;box-shadow:0 10px 22px rgba(2,6,23,0.22);border-color:var(--border-strong)}
.status{display:inline-flex;align-items:center;gap:8px;background:rgba(34,197,94,0.12);color:var(--success);padding:6px 12px;border-radius:999px;font-size:0.9rem;margin-bottom:22px}
.dot{width:8px;height:8px;background:var(--success);border-radius:50%}
.section{margin-top:32px}
.section h2{color:var(--text-1);font-size:1.2rem;margin-bottom:14px}
.endpoint{background:var(--glass);border-radius:12px;padding:14px 16px;margin-bottom:14px;display:flex;justify-content:space-between;align-items:flex-start;font-family:monospace;font-size:0.92rem;gap:12px}
.method{color:var(--accent);font-weight:700;margin-right:8px}
pre{margin:0;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;color:#e6eef8}
.copy-btn{background:transparent;border:none;cursor:pointer;font-size:1rem;color:var(--muted);transition:color .18s}
.copy-btn:hover{color:var(--accent)}
footer,.site-footer{margin-bottom:10px;margin-top:22px;text-align:center;font-size:0.92rem;color:var(--muted)}

/* responsive */
@media (max-width: 1100px){
  .hero,
  .hero-home{grid-template-columns:1fr}
  h1{max-width:14ch}
}

@media (max-width:920px){
  body{padding:20px 16px 22px}
  .container{padding:0 16px}
  .services,
  .workflow-grid,
  .trust-grid,
  .capability-grid,
  .docs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .site-header{padding:12px 16px}
  .statement-band h2,
  .section-heading h2{max-width:none}
}

@media (max-width:640px){
  body{padding:14px 10px 18px}
  .container{padding:0 10px}
  .services,
  .workflow-grid,
  .trust-grid,
  .capability-grid,
  .docs-grid{grid-template-columns:1fr}
  .logo .mark{width:48px;height:48px}
  .site-header{flex-direction:column;align-items:stretch;padding:12px;gap:12px}
  .site-brand{width:100%}
  .site-brand-link{width:100%}
  .site-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%}
  .site-nav a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:40px;width:100%;padding:9px 8px;font-size:0.88rem;line-height:1.2}
  h1{font-size:clamp(1.9rem,9vw,2.7rem);max-width:none}
  p.lead,
  .hero-lead{font-size:1rem}
  .card{padding:18px}
  .statement-band{padding:22px 18px}
  .hero-trust-points{gap:8px}
  .hero-trust-points span{width:100%;justify-content:flex-start}
  .workflow-step{padding-top:58px}
  .btn,
  .quick-action-link{width:100%}
  .cta-group,
  .hero-cta-group,
  .actions-row{flex-direction:column;align-items:stretch}
  .code-toolbar{padding:10px 12px;flex-wrap:wrap}
  .model-endpoints li{flex-direction:column;align-items:stretch}
}

@media (max-width:420px){
  body{padding:12px 8px 16px}
  .container{padding:0 8px}
  .site-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .site-nav a{width:100%;padding:8px 6px;font-size:0.82rem;min-height:38px}
  .card{padding:16px}
  .statement-band{padding:18px 16px}
  .code-panel pre,
  .code-block{font-size:0.82rem}
}

.site-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;margin:0 auto 24px auto;max-width:var(--max-width);background:rgba(7,16,41,0.92);border:1px solid var(--border-soft);border-radius:18px;box-shadow:0 10px 24px rgba(2,6,23,0.22);position:relative}
.site-nav{display:flex;gap:8px;align-items:center;flex-wrap:wrap;min-width:0}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 10px;
  font-weight: 600;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  border: 1px solid transparent;
}
.site-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255,255,255,0.06);
}
.site-brand{display:flex;gap:12px;align-items:center;min-width:0;flex:1 1 auto}

/* new utility classes moved from inline styles */
.site-brand-link{text-decoration:none;color:inherit;display:flex;align-items:center;gap:12px;min-width:0}
.site-brand-link > *{min-width:0}
.site-brand .logo,
.site-brand .brand,
.site-brand .brand-text{min-width:0}
.site-brand .brand,
.site-brand .brand-text{overflow:hidden}
.site-brand .brand h1,
.site-brand .brand p,
.site-brand .brand-text h1,
.site-brand .brand-text p{max-width:100%;overflow-wrap:anywhere}
.site-footer{display:block;max-width:var(--max-width);margin:18px auto 20px auto;padding:0 20px;color:var(--muted);text-align:center}
.centered-card{max-width:720px;margin:0 auto}
.centered-card-lg{max-width:900px;margin:0 auto}
.centered-card-sm{max-width:700px;margin:0 auto;text-align:center}
.quick-actions{margin-top:12px;display:flex;flex-direction:column;gap:10px}
.quick-action-link{justify-content:space-between;background:rgba(255,255,255,0.035);border:1px solid rgba(255,255,255,0.05);color:var(--text-1);padding:12px 14px;border-radius:12px;text-decoration:none;display:inline-flex;align-items:center}
.quick-action-link:hover{background:rgba(255,255,255,0.06);border-color:var(--border-strong)}
.muted-text{color:var(--muted)}
.code-block{margin-top:8px;font-family:monospace;font-size:0.9rem;background:var(--glass);padding:10px;border-radius:8px;overflow:auto;max-width:100%}
.code-panel{padding:0;overflow:hidden}
.code-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid rgba(255,255,255,0.06);background:rgba(255,255,255,0.02);font-family:Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;font-size:0.9rem;color:var(--text-2)}
.code-panel pre{padding:14px;overflow:auto}
.model-endpoints ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.model-endpoints li{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,0.05)}
.model-endpoints li:last-child{border-bottom:none;padding-bottom:0}
.model-endpoints code{display:block;max-width:100%;overflow-wrap:anywhere;word-break:break-word}
.docs-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}
.model-actions{margin-top:8px;display:flex;gap:8px}
.card-spaced{margin-bottom:20px}
.form-input, textarea.form-input{width:100%;padding:10px;border-radius:8px;border:1px solid rgba(255,255,255,0.04);background:transparent;color:inherit}
.form-textarea{width:100%;padding:10px;border-radius:8px;border:1px solid rgba(255,255,255,0.04);background:transparent;color:inherit}
.form-label div{font-weight:600}
.section-small{margin-top:12px}
.actions-row{display:flex;gap:12px;flex-wrap:wrap}

/* Global link style (matches EazePredict accent) */
a {
  color: var(--accent); /* #38bdf8 */
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #7dd3fc;
}

a:visited {
  color: #a78bfa; /* violet but readable */
}

a:focus-visible {
  outline: 2px solid #7dd3fc;
  outline-offset: 3px;
  border-radius: 6px;
}

.service a {
  display: block;
  border-radius: 0;
  transition: color 0.15s ease;
}

.service a:hover {
  background: transparent;
  text-decoration: none;
}

.card a {
  font-weight: 600;
}
.home-page{padding-bottom:20px}
.hero-home{grid-template-columns:minmax(0,1.15fr) minmax(280px,420px);align-items:stretch;margin-bottom:22px}
.hero-copy{display:flex;flex-direction:column;justify-content:center;gap:16px;padding:12px 0}
.hero-copy p:not(.lead){margin:0;color:var(--text-2);font-size:1rem;line-height:1.72;max-width:68ch;overflow-wrap:anywhere}
.hero-lead{font-size:1.14rem;/*max-width:62ch;*/overflow-wrap:anywhere}
.hero-panel{position:relative;overflow:hidden;background:linear-gradient(180deg, rgba(12,22,48,0.96), rgba(8,15,35,0.92));border:1px solid rgba(56,189,248,0.14)}
.panel-header{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}
.panel-header strong{font-size:1.02rem;letter-spacing:0}
.panel-header p{margin:0;color:var(--text-2);line-height:1.65}
.feature-stack{display:flex;flex-direction:column;gap:12px}
.feature-row{padding:16px;border-radius:16px;background:rgba(255,255,255,0.03);border:1px solid rgba(255,255,255,0.05)}
.feature-row h3{margin:0 0 8px 0;font-size:1rem}
.feature-row p{margin:0;color:var(--text-2);line-height:1.65}
.eyebrow{margin:0;color:var(--accent);font-size:0.8rem;font-weight:800;letter-spacing:0.12em;text-transform:uppercase}
.hero-trust-points{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.hero-trust-points span{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,0.04);border:1px solid rgba(255,255,255,0.06);color:var(--text-2);font-size:0.92rem;min-width:0;max-width:100%}
.hero-trust-points span::before {
    content: "";
    width: 8px;
    height: 8px;
    box-shadow: rgba(56, 189, 248, 0.12) 0px 0px 0px 4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #60a5fa);
}
.statement-band{padding:28px 24px;background:linear-gradient(135deg, rgba(56,189,248,0.08), rgba(255,255,255,0.02));border-color:rgba(56,189,248,0.14)}
.statement-band h2{margin:8px 0 10px 0;font-size:2rem;line-height:1.12;letter-spacing:0}
/*.statement-band .lead{max-width:60ch}*/
.section-heading{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}
.section-heading h2{margin:0;font-size:2rem;line-height:1.15;letter-spacing:0}
.section-heading p:not(.eyebrow){margin:0;color:var(--text-2);line-height:1.7;max-width:72ch}
.workflow-grid,.trust-grid,.capability-grid,.docs-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;width:100%}
.workflow-step{position:relative;padding-top:54px}
.step-number{position:absolute;top:18px;left:18px;display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:30px;padding:0 10px;border-radius:999px;background:rgba(56,189,248,0.14);border:1px solid rgba(56,189,248,0.22);color:#9eddff;font-size:0.8rem;font-weight:800;letter-spacing:0.08em}
.trust-section{background:linear-gradient(180deg, rgba(13,24,53,0.92), rgba(10,18,42,0.84));border-color:rgba(56,189,248,0.14)}
.documentation-preview .service h3,
.capability-grid .service h3,
.trust-grid .service h3,
.workflow-step h3{color:var(--text-1)}
.quick-actions-stacked{gap:10px}
.section-cta{margin-top:22px}
.bulleted{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:10px;color:var(--text-2)}
.bulleted li{line-height:1.62}

/* removed duplicate responsive blocks */

/* page-specific responsive helpers */
.why-page h1,
.docs-page h1,
.model-page h1{max-width:18ch}

.docs-hero,
.model-hero{overflow:hidden}

@media (max-width:640px){
  .why-page h1,
  .docs-page h1,
  .model-page h1{max-width:none}
}

@media (max-width:900px){
  .site-header{gap:12px}
  .site-brand{flex:1 1 100%}
  .site-nav{justify-content:flex-end}
}

@media (max-width:760px){
  .site-header{padding:12px 14px}
  .site-brand-link{gap:10px}
  .site-nav a{padding:9px 10px;font-size:0.9rem}
}

/* stronger card/layout overrides for tablets and phones */
.workflow-grid > *,
.trust-grid > *,
.capability-grid > *,
.docs-grid > *,
.services > *{min-width:0}

@media (max-width:920px){
  .workflow-grid,
  .trust-grid,
  .capability-grid,
  .docs-grid,
  .services{grid-template-columns:repeat(2,minmax(0,1fr)) !important}

  .hero-panel,
  .statement-band,
  .service,
  .feature-row,
  .code-block,
  .code-panel{max-width:100%}
}

@media (max-width:640px){
  .workflow-grid,
  .trust-grid,
  .capability-grid,
  .docs-grid,
  .services{grid-template-columns:1fr !important}

  .service,
  .feature-row,
  .hero-panel,
  .statement-band,
  .docs-hero,
  .model-hero,
  .why-panel{width:100%;max-width:100%;min-width:0}

  .hero,
  .hero-home,
  .why-hero{grid-template-columns:1fr !important;gap:16px}

  .section-heading,
  .panel-header,
  .hero-copy{gap:10px}

  .services,
  .workflow-grid,
  .trust-grid,
  .capability-grid,
  .docs-grid{gap:12px}

  .service{padding:16px}

  .feature-row{padding:14px}

  .statement-band h2,
  .section-heading h2,
  .panel-header p,
  .service p,
  .hero-copy p,
  .hero-lead{max-width:none}

  .hero-trust-points{flex-direction:column;align-items:stretch}
  .hero-trust-points span{width:100%;border-radius:14px;white-space:normal}

  .quick-actions,
  .quick-actions-stacked{width:100%}

  .docs-header{display:flex;flex-direction:column;align-items:flex-start}
}

@media (max-width:480px){
  .workflow-grid,
  .trust-grid,
  .capability-grid,
  .docs-grid,
  .services{gap:10px}

  .service,
  .feature-row,
  .card{padding:14px}

  .statement-band{padding:16px 14px}

  .step-number{top:14px;left:14px}
  .workflow-step{padding-top:52px}
}

@media (max-width:360px){
  .site-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
  .site-nav a{padding:7px 4px;font-size:0.74rem;min-height:36px;letter-spacing:0}
}

/* final nav override: keep all three header links on one row on mobile */
@media (max-width:640px){
  .site-header{
    flex-direction:column !important;
    align-items:stretch !important;
  }

  .site-nav{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:6px !important;
    width:100% !important;
    flex-wrap:nowrap !important;
  }

  .site-nav a{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    min-width:0 !important;
    min-height:40px !important;
    padding:8px 6px !important;
    font-size:0.82rem !important;
    line-height:1.15 !important;
    white-space:normal !important;
  }
}

@media (max-width:420px){
  .site-nav{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:4px !important;
  }

  .site-nav a{
    padding:7px 4px !important;
    font-size:0.76rem !important;
    min-height:38px !important;
  }
}
@media (hover:none){
  .service:hover,
  .btn:hover,
  .btn-primary:hover,
  .btn-ghost:hover,
  .quick-action-link:hover{
    transform:none;
    box-shadow:none;
  }
}

/* 2026 product/docs polish layer */
:root{
  --bg-1:#f7fafc;
  --bg-2:#eef6f8;
  --accent:#078ea2;
  --accent-2:#13a7b7;
  --accent-soft:#e5f7f9;
  --orange:#f97316;
  --success:#12a150;
  --warning:#d98908;
  --danger:#d63f33;
  --ink:#102033;
  --text-1:#102033;
  --text-2:#526173;
  --muted:#6f7c8c;
  --surface:#ffffff;
  --surface-soft:#f3f7f9;
  --card:#ffffff;
  --glass:#eef5f7;
  --panel:#ffffff;
  --panel-2:#f6fafb;
  --code:#0d1829;
  --code-2:#13243a;
  --border-soft:#dce6eb;
  --border-strong:#9cced8;
  --radius:8px;
  --max-width:1400px;
  --shadow:0 18px 44px rgba(16,32,51,0.10);
  --glow:0 14px 34px rgba(16,32,51,0.08);
}

*{box-sizing:border-box}

html{
  scroll-behavior:smooth;
  background:var(--bg-1);
}

body{
  min-height:100vh;
  margin:0;
  padding:0;
  color:var(--text-1);
  background:
    linear-gradient(180deg, rgba(7,142,162,0.08) 0, rgba(247,250,252,0) 300px),
    linear-gradient(90deg, rgba(249,115,22,0.05) 0, rgba(249,115,22,0) 360px),
    var(--bg-1);
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(16,32,51,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,32,51,0.028) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:linear-gradient(180deg, #000 0, transparent 520px);
}

.container{
  width:min(100%, var(--max-width));
  margin:0 auto;
  padding:0 32px;
  flex:1;
}

.main-content{
  width:100%;
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:flex-start;
  padding:26px 0 36px;
}

a{
  color:var(--accent);
  text-decoration:none;
  text-underline-offset:3px;
}

a:hover{
  color:#055e6d;
}

a:visited{
  color:var(--accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible{
  outline:3px solid rgba(19,167,183,0.32);
  outline-offset:3px;
}

h1,
h2,
h3,
p{
  overflow-wrap:anywhere;
}

h1{
  max-width:13ch;
  margin:0;
  color:var(--ink);
  font-size:4.35rem;
  line-height:1.02;
  letter-spacing:0;
}

h2{
  letter-spacing:0;
}

p.lead,
.hero-lead{
  margin:0;
  color:var(--text-2);
  font-size:1.08rem;
  line-height:1.65;
}

pre,
code{
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

pre{
  margin:0;
  color:#dcecff;
  white-space:pre-wrap;
  word-break:break-word;
  overflow-wrap:anywhere;
}

.site-header{
  position:sticky;
  top:0;
  z-index:30;
  width:100%;
  max-width:none;
  margin:0;
  padding:0 32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:70px;
  background:rgba(255,255,255,0.92);
  border:0;
  border-bottom:1px solid rgba(16,32,51,0.10);
  border-radius:0;
  box-shadow:0 10px 26px rgba(16,32,51,0.06);
  backdrop-filter:saturate(160%) blur(16px);
}

.site-brand-link{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:220px;
  color:var(--ink);
  text-decoration:none;
}

.site-brand-link:visited,
.site-brand-link:hover{
  color:var(--ink);
}

.brand-mark{
  width:42px;
  height:34px;
  display:grid;
  align-content:center;
  gap:5px;
}

.brand-mark span{
  display:block;
  height:6px;
  border-radius:4px;
  background:linear-gradient(90deg, #0f9cad, #25c0a9);
  box-shadow:0 6px 12px rgba(7,142,162,0.18);
  transform:skewX(-22deg);
}

.brand-mark span:nth-child(1){width:32px}
.brand-mark span:nth-child(2){width:42px}
.brand-mark span:nth-child(3){width:26px;margin-left:10px;background:linear-gradient(90deg, #25c0a9, var(--orange))}

.brand-copy{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}

.brand-copy strong{
  color:var(--ink);
  font-size:1.2rem;
  line-height:1.05;
}

.brand-copy small{
  color:var(--muted);
  font-size:0.75rem;
  line-height:1.1;
}

.site-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:4px;
  min-width:0;
  flex-wrap:wrap;
}

.site-nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:9px 12px;
  border:1px solid transparent;
  border-radius:8px;
  color:#27364a;
  font-size:0.93rem;
  font-weight:700;
  line-height:1;
  text-decoration:none;
  transition:background .16s ease, color .16s ease, border-color .16s ease;
}

.site-nav a:hover,
.site-nav a.is-active{
  color:var(--accent);
  background:#edf8fa;
  border-color:#cbe9ee;
}

.site-nav .nav-cta{
  margin-left:6px;
  color:#ffffff !important;
}

.eazepredict-primary-button,
.btn-primary,
.gs-email-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:11px 18px;
  border:1px solid rgba(6,117,136,0.34);
  border-radius:8px;
  background:linear-gradient(180deg, #0aa1b6, #077f93);
  color:#ffffff !important;
  font-size:0.95rem;
  font-weight:800;
  letter-spacing:0;
  text-decoration:none;
  box-shadow:0 12px 24px rgba(7,142,162,0.22);
  cursor:pointer;
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.eazepredict-primary-button:hover,
.btn-primary:hover,
.gs-email-link:hover{
  color:#ffffff !important;
  transform:translateY(-1px);
  box-shadow:0 16px 30px rgba(7,142,162,0.26);
}

.btn,
.btn-ghost,
.quick-action-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:11px 16px;
  border-radius:8px;
  border:1px solid var(--border-soft);
  background:#ffffff;
  color:#1d3348;
  font-size:0.95rem;
  font-weight:800;
  letter-spacing:0;
  text-decoration:none;
  box-shadow:none;
  cursor:pointer;
}

.btn:hover,
.btn-ghost:hover,
.quick-action-link:hover{
  color:var(--accent);
  background:#f2fbfc;
  border-color:#b8dce4;
  box-shadow:0 10px 22px rgba(16,32,51,0.08);
}

.cta-group,
.actions-row,
.docs-hero-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
}

.section-cta{
  margin-top:24px;
}

.card,
.api-docs-section,
.api-endpoint-card,
.api-code-card,
.service,
.feature-row,
.flow-node,
.gs-coming-card{
  background:#ffffff;
  border:1px solid var(--border-soft);
  border-radius:8px;
  box-shadow:0 12px 30px rgba(16,32,51,0.06);
}

.card{
  padding:28px;
}

.card-spaced{
  margin-bottom:26px;
}

.home-page{
  padding-bottom:22px;
}

.product-hero{
  display:grid;
  grid-template-columns:minmax(0, 0.95fr) minmax(420px, 0.9fr);
  gap:48px;
  align-items:center;
  min-height:560px;
  padding:38px 0 42px;
  margin-bottom:20px;
}

.product-hero-copy{
  display:flex;
  flex-direction:column;
  gap:20px;
  min-width:0;
}

.product-hero-copy h1{
  max-width:12ch;
}

.product-hero-copy .hero-lead{
  max-width:680px;
  font-size:1.18rem;
}

.hero-proof-row{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
  margin-top:16px;
}

.hero-proof-row > div{
  min-width:0;
  padding:0 18px 0 0;
  border-right:1px solid var(--border-soft);
}

.hero-proof-row > div:last-child{
  border-right:0;
}

.proof-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:28px;
  margin-bottom:10px;
  border-radius:8px;
  background:#e7f8f9;
  color:var(--accent);
  font-size:0.78rem;
  font-weight:900;
}

.hero-proof-row strong{
  display:block;
  color:var(--ink);
  font-size:0.92rem;
  line-height:1.3;
}

.hero-proof-row p{
  margin:4px 0 0;
  color:var(--muted);
  font-size:0.82rem;
  line-height:1.45;
}

.trust-preview{
  position:relative;
  padding:28px 28px 22px;
  background:rgba(255,255,255,0.88);
  border:1px solid rgba(16,32,51,0.10);
  border-radius:8px;
  box-shadow:0 24px 70px rgba(16,32,51,0.12);
  overflow:hidden;
}

.trust-preview::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:4px;
  background:linear-gradient(90deg, var(--accent), #27b99f, var(--orange));
}

.trust-preview-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:18px;
}

.trust-preview-header strong{
  color:var(--ink);
  font-size:1rem;
  text-transform:uppercase;
}

.trust-preview-header span{
  color:var(--muted);
  font-size:0.86rem;
  font-weight:700;
}

.decision-timeline{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:16px;
}

.decision-timeline::before{
  content:"";
  position:absolute;
  top:16px;
  bottom:20px;
  left:13px;
  width:2px;
  background:#d7e2e8;
}

.decision-row{
  position:relative;
  display:grid;
  grid-template-columns:28px minmax(0,1fr);
  gap:18px;
  align-items:start;
}

.decision-node{
  position:relative;
  z-index:1;
  width:28px;
  height:28px;
  border-radius:999px;
  border:4px solid #ffffff;
  box-shadow:0 0 0 1px rgba(16,32,51,0.08);
}

.decision-accepted .decision-node{background:var(--success)}
.decision-review .decision-node{background:var(--warning)}
.decision-suppressed .decision-node{background:var(--danger)}

.decision-body{
  padding:0 0 15px;
  border-bottom:1px solid var(--border-soft);
}

.decision-row:last-child .decision-body{
  border-bottom:0;
  padding-bottom:8px;
}

.decision-title{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:12px;
}

.decision-title strong{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:4px 10px;
  border-radius:7px;
  font-size:0.78rem;
  text-transform:uppercase;
}

.decision-title span{
  color:var(--muted);
  font-size:0.86rem;
  font-weight:700;
}

.decision-accepted .decision-title strong{background:#dcf8e8;color:#087838}
.decision-review .decision-title strong{background:#fff3d7;color:#a85f00}
.decision-suppressed .decision-title strong{background:#ffe4e0;color:#ba231a}

.decision-body dl{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  margin:0 0 10px;
}

.decision-body div{
  min-width:0;
}

.decision-body dt{
  color:var(--muted);
  font-size:0.74rem;
  line-height:1.2;
}

.decision-body dd{
  margin:3px 0 0;
  color:var(--ink);
  font-size:1rem;
  font-weight:800;
}

.decision-accepted dd:first-of-type{color:var(--success)}
.decision-review dd:first-of-type{color:var(--warning)}
.decision-suppressed dd:first-of-type{color:var(--danger)}

.decision-body p{
  margin:0;
  color:var(--text-2);
  font-size:0.9rem;
  line-height:1.5;
}

.trust-preview-link{
  display:inline-flex;
  margin-top:8px;
  color:var(--accent);
  font-size:0.92rem;
  font-weight:800;
}

.hero,
.hero-home,
.why-hero{
  gap:32px;
}

.hero-panel{
  background:#ffffff;
  border-color:var(--border-soft);
}

.hero-copy p:not(.lead),
.panel-header p,
.feature-row p,
.section-heading p:not(.eyebrow),
.service p,
.api-docs-section p,
.api-endpoint-card p,
.step-block-body p{
  color:var(--text-2);
}

.feature-stack{
  gap:12px;
}

.feature-row{
  padding:16px;
}

.eyebrow{
  margin:0;
  color:var(--accent);
  font-size:0.76rem;
  font-weight:900;
  letter-spacing:0.08em;
  text-transform:uppercase;
}

.section-heading{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-bottom:20px;
}

.section-heading h2,
.statement-band h2{
  max-width:980px;
  margin:0;
  color:var(--ink);
  font-size:2rem;
  line-height:1.16;
  letter-spacing:0;
}

.section-heading p:not(.eyebrow){
  max-width:850px;
}

.statement-band{
  padding:32px;
  background:linear-gradient(135deg, #ffffff, #eef9fb);
  border-color:#cfe9ef;
}

.trust-section{
  background:linear-gradient(135deg, #f7fbfc, #ffffff);
  border-color:#cfe9ef;
}

.services,
.workflow-grid,
.trust-grid,
.capability-grid,
.docs-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
  width:100%;
}

.service{
  min-width:0;
  max-width:100%;
  padding:20px;
  gap:10px;
  transition:border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.service:hover{
  transform:translateY(-2px);
  border-color:#b8dce4;
  box-shadow:0 16px 36px rgba(16,32,51,0.10);
}

.service h3,
.feature-row h3,
.panel-header strong,
.step-block-body h3{
  margin:0;
  color:var(--ink);
  font-size:1.02rem;
  line-height:1.3;
}

.bulleted,
.api-plain-list{
  margin:0;
  padding-left:18px;
  display:flex;
  flex-direction:column;
  gap:9px;
  color:var(--text-2);
}

.bulleted li,
.api-plain-list li{
  line-height:1.58;
}

.hero-trust-points{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.hero-trust-points span,
.trust-chip,
.label-pill,
.label-clean,
.status{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:28px;
  padding:5px 10px;
  border-radius:7px;
  background:#edf8fa;
  border:1px solid #cbe9ee;
  color:var(--accent);
  font-size:0.82rem;
  font-weight:800;
}

.hero-trust-points span::before{
  content:none;
}

.workflow-step{
  position:relative;
  padding-top:58px;
}

.step-number,
.step-block-num,
.hflow-step-num{
  color:var(--accent);
}

.step-number{
  position:absolute;
  top:18px;
  left:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  height:30px;
  padding:0 10px;
  border-radius:7px;
  background:#e7f8f9;
  border:1px solid #cbe9ee;
  color:var(--accent);
  font-size:0.8rem;
  font-weight:900;
}

.flow-node{
  background:#ffffff;
  border-color:var(--border-soft);
}

.flow-node:hover{
  border-color:#b8dce4;
  box-shadow:0 14px 28px rgba(16,32,51,0.08);
}

.flow-node.flow-accent{
  background:#edf8fa;
  border-color:#cbe9ee;
}

.flow-node.flow-trust{
  background:#fff7e7;
  border-color:#f5d693;
}

.flow-node.flow-action{
  background:#edf9f2;
  border-color:#c7ead5;
}

.flow-node-label,
.hflow-step-label{
  color:var(--ink);
}

.flow-node-sub{
  color:var(--muted);
}

.flow-connector::before{
  background:linear-gradient(to bottom, #8ed3dd, #dce6eb);
}

.flow-connector-arrow{
  border-top-color:#8ed3dd;
}

.hflow{
  display:grid;
  grid-template-columns:repeat(6, minmax(0,1fr));
  gap:0;
  align-items:center;
}

.hflow-arrow{
  color:#7bbfca;
}

.label-clean{
  background:#edf9f2;
  border-color:#c7ead5;
  color:#087838;
}

.trust-chip-accepted{
  background:#edf9f2;
  border-color:#c7ead5;
  color:#087838;
}

.trust-chip-suppressed{
  background:#fff7e7;
  border-color:#f5d693;
  color:#a85f00;
}

.trust-chip-disputed{
  background:#ffece9;
  border-color:#f6b8b0;
  color:#ba231a;
}

.trust-chip-caution{
  background:#eef3f5;
  border-color:#dce6eb;
  color:#526173;
}

.api-docs-page{
  --api-sidebar-width:250px;
  padding-bottom:32px;
}

.api-docs-hero{
  margin-bottom:26px;
}

.docs-hero-split{
  display:grid;
  grid-template-columns:minmax(0, 0.88fr) minmax(420px, 0.82fr);
  gap:28px;
  align-items:stretch;
}

.api-hero-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:18px;
  padding:34px;
  border-radius:8px;
  background:#ffffff;
  border:1px solid var(--border-soft);
  box-shadow:var(--glow);
}

.api-hero-copy h1{
  max-width:14ch;
}

.api-hero-copy p:not(.lead){
  margin:0;
  max-width:760px;
}

.docs-hero-panel{
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:18px;
  border-radius:8px;
  background:var(--code);
  border:1px solid #1e314e;
  box-shadow:0 24px 60px rgba(16,32,51,0.16);
  color:#dcecff;
}

.docs-hero-panel-top,
.docs-hero-meta{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
}

.docs-hero-panel-top{
  padding-bottom:12px;
  border-bottom:1px solid rgba(255,255,255,0.10);
}

.docs-hero-panel-top span,
.docs-hero-meta{
  color:#9bb0c9;
  font-size:0.84rem;
  font-weight:800;
}

.docs-hero-panel-top strong{
  color:#53d488;
  font-size:0.9rem;
}

.docs-hero-panel pre{
  flex:1;
  min-height:310px;
  padding:16px 0;
  overflow:auto;
  color:#dcecff;
  line-height:1.55;
}

.docs-hero-panel code{
  color:#dcecff;
}

.docs-hero-meta{
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,0.10);
  flex-wrap:wrap;
}

.docs-hero-meta strong{
  color:#7ee49f;
}

.api-docs-layout{
  display:grid;
  grid-template-columns:var(--api-sidebar-width) minmax(0,1fr);
  gap:24px;
  align-items:start;
}

.api-sidebar{
  position:sticky;
  top:92px;
  padding:12px;
  border-radius:8px;
  background:#ffffff;
  border:1px solid var(--border-soft);
  box-shadow:0 10px 28px rgba(16,32,51,0.06);
}

.api-sidebar nav{
  display:flex;
  flex-direction:column;
  gap:3px;
}

.api-sidebar a{
  display:flex;
  align-items:center;
  min-height:34px;
  padding:8px 10px;
  border-left:3px solid transparent;
  border-radius:6px;
  color:#36465a;
  font-size:0.9rem;
  font-weight:750;
}

.api-sidebar a:hover{
  color:var(--accent);
  background:#edf8fa;
  border-left-color:var(--accent);
}

.api-docs-content{
  display:flex;
  flex-direction:column;
  gap:22px;
  min-width:0;
}

.api-docs-section{
  padding:26px;
  scroll-margin-top:96px;
}

.api-docs-section h2{
  margin:0;
  color:var(--ink);
  font-size:1.75rem;
  line-height:1.18;
  letter-spacing:0;
}

.api-docs-section h3{
  color:var(--ink);
}

.api-docs-section code:not(pre code),
.api-endpoint-title code,
.api-docs-table code{
  color:#1a4f60;
  background:#edf8fa;
  border:1px solid #cbe9ee;
  border-radius:5px;
  padding:1px 5px;
  font-size:0.9em;
}

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

.api-code-card{
  min-width:0;
  padding:16px;
  background:var(--code);
  border-color:#1e314e;
  color:#dcecff;
  box-shadow:0 16px 36px rgba(16,32,51,0.12);
}

.api-code-card p{
  color:#b8c8dc;
}

.api-code-label{
  display:block;
  margin-bottom:10px;
  color:#95a9c1;
  font-size:0.78rem;
  font-weight:900;
  letter-spacing:0.08em;
  text-transform:uppercase;
}

.api-code-card pre,
.code-panel pre{
  overflow:auto;
  padding:14px;
  border-radius:8px;
  background:linear-gradient(180deg, var(--code), var(--code-2));
  border:1px solid rgba(255,255,255,0.08);
  color:#dcecff;
  line-height:1.55;
}

.api-code-card code,
.code-panel code{
  color:#dcecff;
}

.api-docs-split{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px, 420px);
  gap:20px;
  align-items:start;
}

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

.api-endpoint-card{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:0;
  padding:18px;
}

.api-endpoint-link-card{
  color:inherit;
  text-decoration:none;
}

.api-endpoint-link-card:hover{
  color:inherit;
  border-color:#b8dce4;
  background:#fbfeff;
  box-shadow:0 16px 36px rgba(16,32,51,0.10);
}

.api-endpoint-title{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.api-endpoint-title code{
  overflow-wrap:anywhere;
  word-break:break-word;
}

.api-card-link-label,
.api-note{
  color:var(--accent) !important;
}

.method-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:48px;
  min-height:24px;
  padding:4px 8px;
  border-radius:7px;
  font-size:0.72rem;
  font-weight:900;
  letter-spacing:0;
}

.method-post{
  color:#06424c;
  background:#dff7dc;
  border:1px solid #bfe9bb;
}

.api-table-wrapper{
  width:100%;
  overflow:auto;
  border-radius:8px;
  border:1px solid var(--border-soft);
  background:#ffffff;
}

.api-docs-table{
  width:100%;
  min-width:620px;
  border-collapse:collapse;
  background:#ffffff;
}

.api-docs-table th,
.api-docs-table td{
  padding:13px 14px;
  border-bottom:1px solid var(--border-soft);
  color:#27364a;
  text-align:left;
}

.api-docs-table th{
  background:#f1f6f8;
  color:#526173;
  font-size:0.82rem;
  text-transform:uppercase;
}

.api-example-stack{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.code-block{
  max-width:100%;
  margin-top:10px;
  padding:0;
  overflow:hidden;
  border-radius:8px;
  background:var(--code);
  border:1px solid #1e314e;
}

.code-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:11px 14px;
  border-bottom:1px solid rgba(255,255,255,0.08);
  background:#13243a;
  color:#b8c8dc;
  font-size:0.86rem;
}

.muted-text{
  color:var(--muted);
}

.form-input,
textarea.form-input,
.form-textarea{
  width:100%;
  padding:11px 12px;
  border-radius:8px;
  border:1px solid var(--border-soft);
  background:#ffffff;
  color:var(--ink);
}

.form-label{
  display:flex;
  flex-direction:column;
  gap:7px;
  color:var(--ink);
}

.form-label div{
  font-size:0.88rem;
  font-weight:800;
}

.centered-card,
.centered-card-lg,
.centered-card-sm{
  margin:0 auto;
}

.site-footer{
  display:block;
  max-width:var(--max-width);
  margin:0 auto 24px;
  padding:0 32px;
  color:var(--muted);
  text-align:center;
  font-size:0.9rem;
}

.note-body{
  color:var(--text-1);
  line-height:1.7;
}

.note-body h1,
.note-body h2,
.note-body h3{
  max-width:none;
  margin:1.35em 0 .45em;
  color:var(--ink);
  font-size:1.5rem;
  letter-spacing:0;
}

.note-body h1:first-child,
.note-body h2:first-child,
.note-body h3:first-child{
  margin-top:0;
}

.note-body p,
.note-body li{
  color:var(--text-2);
}

.note-body pre{
  padding:16px;
  border-radius:8px;
  background:var(--code);
  overflow:auto;
}

.error-404{
  width:min(100% - 48px, 820px);
  margin:80px auto;
  padding:44px;
  border-radius:8px;
  background:#ffffff;
  border:1px solid var(--border-soft);
  box-shadow:var(--glow);
}

.error-404 h1{
  max-width:none;
  font-size:2.6rem;
}

.subtitle{
  color:var(--text-2);
  line-height:1.6;
}

.quick-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:12px;
}

.quick-action-link{
  justify-content:space-between;
}

.gs-badge,
.gs-notice,
.gs-secondary-links a{
  border-radius:8px;
}

.gs-badge{
  background:#edf8fa;
  border-color:#cbe9ee;
  color:var(--accent);
}

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

.gs-notice{
  background:#fff7e7;
  border-color:#f5d693;
  color:#a85f00;
}

.gs-coming-card{
  background:#ffffff;
  border-color:var(--border-soft);
}

.gs-coming-card h3,
.gs-contact-panel h2,
.gs-hero h1{
  color:var(--ink);
  letter-spacing:0;
}

.gs-coming-card p,
.gs-contact-panel p,
.gs-hero .gs-sub{
  color:var(--text-2);
}

@media (max-width:1180px){
  h1{
    font-size:3.4rem;
  }

  .product-hero,
  .docs-hero-split{
    grid-template-columns:1fr;
  }

  .product-hero{
    min-height:0;
  }

  .api-docs-layout{
    grid-template-columns:1fr;
  }

  .api-sidebar{
    position:relative;
    top:auto;
  }

  .api-sidebar nav{
    display:grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
  }
}

@media (max-width:920px){
  .site-header{
    position:relative;
    padding:14px 20px;
    align-items:flex-start;
    flex-direction:column;
    min-height:0;
  }

  .site-brand-link{
    min-width:0;
  }

  .site-nav{
    width:100%;
    justify-content:flex-start;
  }

  .services,
  .workflow-grid,
  .trust-grid,
  .capability-grid,
  .docs-grid,
  .hero-proof-row,
  .api-code-grid,
  .api-endpoint-grid{
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
  }

  .api-docs-split{
    grid-template-columns:1fr;
  }
}

@media (max-width:700px){
  .container{
    padding:0 18px;
  }

  .main-content{
    padding-top:18px;
  }

  h1{
    max-width:none;
    font-size:2.65rem;
  }

  .section-heading h2,
  .statement-band h2{
    font-size:1.65rem;
  }

  .product-hero{
    gap:28px;
    padding-top:12px;
  }

  .product-hero-copy .hero-lead{
    font-size:1.05rem;
  }

  .site-nav{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
    gap:8px !important;
  }

  .site-nav a{
    width:100% !important;
    min-height:40px !important;
    padding:8px 9px !important;
    font-size:0.86rem !important;
    line-height:1.2 !important;
    white-space:normal !important;
  }

  .site-nav .nav-cta{
    margin-left:0;
  }

  .services,
  .workflow-grid,
  .trust-grid,
  .capability-grid,
  .docs-grid,
  .hero-proof-row,
  .api-code-grid,
  .api-endpoint-grid,
  .api-sidebar nav,
  .decision-body dl{
    grid-template-columns:1fr !important;
  }

  .hero-proof-row > div{
    padding:0 0 14px;
    border-right:0;
    border-bottom:1px solid var(--border-soft);
  }

  .hero-proof-row > div:last-child{
    border-bottom:0;
  }

  .trust-preview,
  .api-hero-copy,
  .api-docs-section,
  .card,
  .statement-band,
  .service{
    padding:20px;
  }

  .decision-row{
    grid-template-columns:24px minmax(0,1fr);
    gap:14px;
  }

  .decision-node{
    width:24px;
    height:24px;
  }

  .decision-timeline::before{
    left:11px;
  }

  .docs-hero-panel pre{
    min-height:0;
    max-height:360px;
  }

  .cta-group,
  .actions-row,
  .docs-hero-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .btn,
  .btn-ghost,
  .eazepredict-primary-button,
  .quick-action-link,
  .gs-email-link{
    width:100%;
  }

  .site-footer{
    padding:0 18px;
  }
}

@media (max-width:420px){
  .container{
    padding:0 12px;
  }

  .site-header{
    padding:12px;
  }

  h1{
    font-size:2.25rem;
  }

  .brand-copy small{
    display:none;
  }

  .site-nav{
    grid-template-columns:1fr !important;
  }

  .api-docs-table{
    min-width:560px;
  }
}

@media (prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    scroll-behavior:auto !important;
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
}

/* Public API documentation */
.api-docs-page{
  --api-sidebar-width: 230px;
  padding-bottom:32px;
}

.api-docs-hero{
  display:block;
  margin-bottom:24px;
}

.api-hero-copy,
.api-docs-section,
.api-endpoint-card,
.api-code-card{
  border:1px solid var(--border-soft);
  background:linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.022));
  box-shadow:var(--glow);
}

.api-hero-copy{
  padding:30px;
  border-radius:20px;
}

.api-hero-copy h1{
  max-width:18ch;
}

.api-hero-copy p:not(.eyebrow):not(.lead){
  color:var(--text-2);
  line-height:1.72;
  max-width:72ch;
}

.api-docs-layout{
  display:grid;
  grid-template-columns:var(--api-sidebar-width) minmax(0,1fr);
  gap:22px;
  align-items:start;
}

.api-sidebar{
  position:sticky;
  top:18px;
  border:1px solid var(--border-soft);
  border-radius:18px;
  background:rgba(7,16,41,0.76);
  box-shadow:var(--glow);
  padding:12px;
}

.api-sidebar nav{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.api-sidebar a{
  display:block;
  padding:9px 10px;
  border-radius:10px;
  color:var(--text-2);
  font-size:0.9rem;
  font-weight:650;
  line-height:1.25;
  text-decoration:none;
}

.api-sidebar a:hover{
  background:rgba(255,255,255,0.055);
  color:#ffffff;
}

.api-docs-content{
  display:flex;
  flex-direction:column;
  gap:22px;
  min-width:0;
}

.api-docs-section{
  padding:24px;
  border-radius:20px;
  scroll-margin-top:24px;
}

.api-docs-section .section-heading{
  margin-bottom:16px;
}

.api-docs-section h2{
  margin:0;
  font-size:clamp(1.45rem,2.2vw,2.15rem);
  line-height:1.18;
  letter-spacing:0;
}

.api-docs-section h3{
  margin:0 0 8px;
  color:var(--text-1);
  font-size:1.02rem;
}

.api-docs-section p{
  color:var(--text-2);
  line-height:1.68;
}

.api-docs-section code,
.api-code-card code,
.api-endpoint-card code,
.api-docs-table code{
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

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

.api-code-card{
  min-width:0;
  padding:16px;
  border-radius:16px;
  background:rgba(3,9,26,0.72);
}

.api-code-card-wide{
  width:100%;
}

.api-code-label{
  display:block;
  margin-bottom:10px;
  color:var(--muted);
  font-size:0.82rem;
  font-weight:800;
  letter-spacing:0.08em;
  text-transform:uppercase;
}

.api-code-card pre{
  overflow:auto;
  padding:14px;
  border-radius:12px;
  background:rgba(2,6,23,0.72);
  border:1px solid rgba(255,255,255,0.06);
  line-height:1.55;
}

.api-docs-split{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(240px,330px);
  gap:18px;
  align-items:start;
}

.model-guide-detail .api-docs-split{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.model-guide-detail .api-docs-split .section-heading{
  margin-bottom:10px;
}

.model-guide-detail .api-docs-split .api-code-card{
  width:100%;
}

.model-guide-detail .api-docs-split .api-plain-list{
  gap:6px;
}

.api-plain-list{
  margin:0;
  padding-left:18px;
  display:flex;
  flex-direction:column;
  gap:10px;
  color:var(--text-2);
}

.api-plain-list li{
  line-height:1.62;
}

.api-endpoint-card p{
  margin:0;
}

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

.api-endpoint-card{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:16px;
  border-radius:16px;
  min-width:0;
}

.api-endpoint-link-card{
  color:inherit;
  text-decoration:none;
  transition:border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.api-endpoint-link-card:visited{
  color:inherit;
}

.api-endpoint-link-card:hover{
  color:inherit;
  border-color:var(--border-strong);
  background:linear-gradient(180deg, rgba(56,189,248,0.07), rgba(255,255,255,0.025));
  box-shadow:0 12px 26px rgba(2,6,23,0.24);
}

.api-card-link-label{
  margin-top:auto;
  color:#7dd3fc;
  font-size:0.9rem;
  font-weight:800;
}

.api-endpoint-title{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.api-endpoint-title code{
  color:var(--text-1);
  overflow-wrap:anywhere;
  word-break:break-word;
}

.api-note{
  color:var(--muted) !important;
  font-size:0.92rem;
}

.method-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:48px;
  padding:4px 8px;
  border-radius:999px;
  font-size:0.72rem;
  font-weight:900;
  letter-spacing:0.08em;
}

.method-post{
  color:#082033;
  background:linear-gradient(135deg, #38bdf8, #7dd3fc);
}

.api-table-wrapper{
  width:100%;
  overflow:auto;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.06);
}

.api-docs-table{
  width:100%;
  min-width:620px;
  border-collapse:collapse;
  background:rgba(3,9,26,0.56);
}

.api-docs-table th,
.api-docs-table td{
  padding:13px 14px;
  border-bottom:1px solid rgba(255,255,255,0.06);
  text-align:left;
  vertical-align:top;
  color:var(--text-2);
  line-height:1.5;
}

.api-docs-table th{
  color:var(--text-1);
  font-size:0.78rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  background:rgba(255,255,255,0.035);
}

.api-docs-table tr:last-child td{
  border-bottom:none;
}

.api-example-stack{
  display:flex;
  flex-direction:column;
  gap:14px;
}

@media (max-width:980px){
  .api-docs-hero,
  .api-docs-layout,
  .api-docs-split{
    grid-template-columns:1fr;
  }

  .api-sidebar{
    position:static;
  }

  .api-sidebar nav{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:760px){
  .api-hero-copy,
  .api-docs-section{
    padding:18px;
    border-radius:16px;
  }

  .api-hero-copy h1{
    max-width:none;
  }

  .api-code-grid,
  .api-endpoint-grid{
    grid-template-columns:1fr;
  }

  .api-docs-table{
    min-width:560px;
  }
}

@media (max-width:520px){
  .api-sidebar nav{
    grid-template-columns:1fr;
  }

  .api-code-card pre{
    font-size:0.82rem;
  }
}

/* Final API/docs authority: keep this after the legacy docs block. */
.api-docs-page{
  --api-sidebar-width:250px;
  padding-bottom:32px;
}

.api-docs-hero.docs-hero-split{
  display:grid;
  grid-template-columns:minmax(0, .88fr) minmax(420px, .82fr);
  gap:28px;
  align-items:stretch;
  margin-bottom:26px;
}

.api-hero-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:18px;
  padding:34px;
  border-radius:8px;
  background:#ffffff;
  border:1px solid var(--border-soft);
  box-shadow:var(--glow);
}

.api-hero-copy h1{
  max-width:14ch;
}

.api-hero-copy p:not(.lead){
  margin:0;
  color:var(--text-2);
  line-height:1.7;
  max-width:760px;
}

.docs-hero-panel{
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:18px;
  border-radius:8px;
  background:var(--code);
  border:1px solid #1e314e;
  box-shadow:0 24px 60px rgba(16,32,51,.16);
  color:#dcecff;
}

.docs-hero-panel-top,
.docs-hero-meta{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
}

.docs-hero-panel-top{
  padding-bottom:12px;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.docs-hero-panel-top span,
.docs-hero-meta{
  color:#9bb0c9;
  font-size:.84rem;
  font-weight:800;
}

.docs-hero-panel-top strong{
  color:#53d488;
  font-size:.9rem;
}

.docs-hero-panel pre{
  flex:1;
  min-height:310px;
  padding:16px 0;
  overflow:auto;
  color:#dcecff;
  line-height:1.55;
}

.docs-hero-panel code{
  color:#dcecff;
}

.docs-hero-meta{
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.10);
  flex-wrap:wrap;
}

.docs-hero-meta strong{
  color:#7ee49f;
}

.api-docs-layout{
  display:grid;
  grid-template-columns:var(--api-sidebar-width) minmax(0,1fr);
  gap:24px;
  align-items:start;
}

.api-sidebar{
  position:sticky;
  top:92px;
  padding:12px;
  border-radius:8px;
  background:#ffffff;
  border:1px solid var(--border-soft);
  box-shadow:0 10px 28px rgba(16,32,51,.06);
}

.api-sidebar nav{
  display:flex;
  flex-direction:column;
  gap:3px;
}

.api-sidebar a{
  display:flex;
  align-items:center;
  min-height:34px;
  padding:8px 10px;
  border-left:3px solid transparent;
  border-radius:6px;
  color:#36465a;
  font-size:.9rem;
  font-weight:750;
}

.api-sidebar a:hover{
  color:var(--accent);
  background:#edf8fa;
  border-left-color:var(--accent);
}

.api-docs-content{
  display:flex;
  flex-direction:column;
  gap:22px;
  min-width:0;
}

.api-docs-section{
  padding:26px;
  border-radius:8px;
  background:#ffffff;
  border:1px solid var(--border-soft);
  box-shadow:0 12px 30px rgba(16,32,51,.06);
  scroll-margin-top:96px;
}

.api-docs-section h2{
  margin:0;
  color:var(--ink);
  font-size:1.75rem;
  line-height:1.18;
  letter-spacing:0;
}

.api-docs-section h3{
  color:var(--ink);
}

.api-docs-section p{
  color:var(--text-2);
  line-height:1.68;
}

.api-docs-section code:not(pre code),
.api-endpoint-title code,
.api-docs-table code{
  color:#1a4f60;
  background:#edf8fa;
  border:1px solid #cbe9ee;
  border-radius:5px;
  padding:1px 5px;
  font-size:.9em;
}

.api-code-card{
  min-width:0;
  padding:16px;
  border-radius:8px;
  background:var(--code);
  border:1px solid #1e314e;
  color:#dcecff;
  box-shadow:0 16px 36px rgba(16,32,51,.12);
}

.api-code-card p{
  color:#b8c8dc;
}

.api-code-label{
  display:block;
  margin-bottom:10px;
  color:#95a9c1;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.api-code-card pre{
  overflow:auto;
  padding:14px;
  border-radius:8px;
  background:linear-gradient(180deg, var(--code), var(--code-2));
  border:1px solid rgba(255,255,255,.08);
  color:#dcecff;
  line-height:1.55;
}

.api-code-card code{
  color:#dcecff;
}

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

.api-docs-split{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,420px);
  gap:20px;
  align-items:start;
}

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

.api-endpoint-card{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:0;
  padding:18px;
  border-radius:8px;
  background:#ffffff;
  border:1px solid var(--border-soft);
  box-shadow:0 12px 30px rgba(16,32,51,.06);
}

.api-endpoint-link-card:hover{
  color:inherit;
  border-color:#b8dce4;
  background:#fbfeff;
  box-shadow:0 16px 36px rgba(16,32,51,.10);
}

.api-card-link-label,
.api-note{
  color:var(--accent) !important;
}

.method-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:48px;
  min-height:24px;
  padding:4px 8px;
  border-radius:7px;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:0;
}

.method-post{
  color:#06424c;
  background:#dff7dc;
  border:1px solid #bfe9bb;
}

.api-table-wrapper{
  width:100%;
  overflow:auto;
  border-radius:8px;
  border:1px solid var(--border-soft);
  background:#ffffff;
}

.api-docs-table{
  width:100%;
  min-width:620px;
  border-collapse:collapse;
  background:#ffffff;
}

.api-docs-table th,
.api-docs-table td{
  padding:13px 14px;
  border-bottom:1px solid var(--border-soft);
  color:#27364a;
  text-align:left;
  vertical-align:top;
  line-height:1.5;
}

.api-docs-table th{
  background:#f1f6f8;
  color:#526173;
  font-size:.82rem;
  letter-spacing:0;
  text-transform:uppercase;
}

@media (max-width:1180px){
  .api-docs-hero.docs-hero-split,
  .api-docs-layout{
    grid-template-columns:1fr;
  }

  .api-sidebar{
    position:relative;
    top:auto;
  }

  .api-sidebar nav{
    display:grid;
    grid-template-columns:repeat(3, minmax(0,1fr));
  }
}

@media (max-width:920px){
  .api-code-grid,
  .api-endpoint-grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
  }

  .api-docs-split{
    grid-template-columns:1fr;
  }
}

@media (max-width:700px){
  .api-hero-copy,
  .api-docs-section{
    padding:20px;
    border-radius:8px;
  }

  .api-hero-copy h1{
    max-width:none;
  }

  .api-code-grid,
  .api-endpoint-grid,
  .api-sidebar nav{
    grid-template-columns:1fr;
  }

  .docs-hero-panel pre{
    min-height:0;
    max-height:360px;
  }
}

.site-nav a.nav-cta,
.site-nav a.nav-cta:hover,
.site-nav a.nav-cta:focus-visible,
.site-nav a.nav-cta.is-active{
  background:linear-gradient(180deg, #0aa1b6, #077f93);
  border-color:rgba(6,117,136,0.34);
  color:#ffffff !important;
  box-shadow:0 12px 24px rgba(7,142,162,0.22);
}

.site-nav a.nav-cta:hover,
.site-nav a.nav-cta:focus-visible{
  background:linear-gradient(180deg, #0db0c7, #067386);
  box-shadow:0 16px 30px rgba(7,142,162,0.28);
}

/* Mobile header and home-hero hardening */
html,
body{
  max-width:100%;
  overflow-x:hidden;
}

.site-header,
.site-nav,
.site-nav a,
.main-content,
.container,
.product-hero,
.product-hero-copy,
.trust-preview{
  min-width:0;
}

@media (max-width:768px){
  .site-header{
    position:relative;
    top:auto;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:14px;
    width:100%;
    min-height:0;
    padding:14px 18px;
  }

  .site-brand-link{
    width:100%;
    min-width:0;
    gap:10px;
  }

  .brand-mark{
    width:36px;
    height:30px;
    flex:0 0 auto;
  }

  .brand-mark span{
    height:5px;
  }

  .brand-mark span:nth-child(1){width:27px}
  .brand-mark span:nth-child(2){width:36px}
  .brand-mark span:nth-child(3){width:23px;margin-left:8px}

  .brand-copy strong{
    font-size:1.08rem;
  }

  .brand-copy small{
    display:block;
    font-size:0.72rem;
    line-height:1.15;
  }

  .site-nav{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:8px !important;
    width:100%;
    justify-content:stretch;
    align-items:stretch;
  }

  .site-nav a,
  .site-nav .nav-cta{
    width:100% !important;
    min-width:0;
    min-height:40px;
    margin-left:0;
    padding:8px 9px !important;
    text-align:center;
    white-space:normal;
    overflow-wrap:anywhere;
    line-height:1.18;
    font-size:0.84rem !important;
  }

  .main-content{
    padding-top:18px;
  }

  .product-hero,
  .hero-home{
    grid-template-columns:1fr !important;
    gap:22px;
    min-height:0;
    padding:18px 0 30px;
    align-items:start;
  }

  .product-hero-copy{
    order:1;
    gap:16px;
    width:100%;
  }

  .trust-preview{
    order:2;
    width:100%;
  }

  .product-hero-copy h1,
  .hero-home h1{
    max-width:none;
    font-size:clamp(2rem, 9.5vw, 3.1rem);
    line-height:1.02;
    letter-spacing:0;
  }

  .product-hero-copy .hero-lead,
  .hero-lead{
    max-width:none;
    font-size:1rem;
    line-height:1.6;
  }

  .product-hero-copy .cta-group,
  .cta-group{
    flex-direction:column;
    align-items:stretch;
    width:100%;
    gap:10px;
  }

  .product-hero-copy .cta-group a,
  .product-hero-copy .cta-group button,
  .cta-group a,
  .cta-group button,
  .btn,
  .btn-ghost,
  .eazepredict-primary-button{
    width:100%;
    justify-content:center;
  }
}

@media (max-width:560px){
  .site-header{
    padding:12px 14px;
  }

  .site-nav{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }

  .product-hero,
  .hero-home{
    padding-top:14px;
  }
}

@media (max-width:430px){
  .container{
    padding:0 12px;
  }

  .site-header{
    gap:12px;
    padding:12px;
  }

  .site-nav{
    gap:7px !important;
  }

  .site-nav a,
  .site-nav .nav-cta{
    min-height:38px;
    padding:7px 7px !important;
    font-size:0.8rem !important;
  }

  .product-hero-copy h1,
  .hero-home h1{
    font-size:clamp(1.95rem, 9vw, 2.45rem);
    line-height:1.04;
  }
}

@media (max-width:360px){
  .site-nav{
    grid-template-columns:1fr !important;
  }
}

/* Mobile navigation panel: keep desktop nav unchanged, collapse mobile nav in flow. */
.mobile-nav-toggle{
  display:none;
}

@media (max-width:768px){
  .site-header{
    position:sticky;
    top:0;
    z-index:1000;
    display:flex;
    flex-direction:row !important;
    flex-wrap:wrap;
    align-items:center !important;
    justify-content:space-between;
    gap:10px 12px;
    width:100%;
    min-height:0;
    padding:10px 14px;
    background:rgba(255,255,255,0.96);
    border-bottom:1px solid rgba(16,32,51,0.10);
    box-shadow:0 10px 28px rgba(16,32,51,0.09);
    backdrop-filter:saturate(160%) blur(14px);
  }

  .site-brand-link{
    flex:1 1 auto;
    align-self:center;
    display:flex;
    align-items:center;
    gap:10px;
    width:auto !important;
    min-width:0;
    max-width:calc(100% - 58px);
  }

  .brand-mark{
    width:34px;
    height:28px;
  }

  .brand-mark span{
    height:5px;
  }

  .brand-mark span:nth-child(1){width:25px}
  .brand-mark span:nth-child(2){width:34px}
  .brand-mark span:nth-child(3){width:22px;margin-left:7px}

  .brand-copy{
    justify-content:center;
    gap:1px;
    min-width:0;
    line-height:1.05;
  }

  .brand-copy strong{
    font-size:1.06rem;
    line-height:1.05;
    margin:0;
  }

  .brand-copy small{
    display:block;
    max-width:100%;
    margin:1px 0 0;
    color:var(--muted);
    font-size:0.72rem;
    line-height:1.1;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .mobile-nav-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    align-self:center;
    gap:8px;
    min-width:90px;
    width:auto;
    min-height:40px;
    padding:9px 12px;
    border:1px solid var(--border-soft);
    border-radius:8px;
    background:#ffffff;
    color:var(--ink);
    font:inherit;
    font-size:0.9rem;
    font-weight:800;
    line-height:1;
    cursor:pointer;
    box-shadow:0 8px 18px rgba(16,32,51,0.08);
  }

  .mobile-nav-toggle-icon{
    position:relative;
    width:18px;
    height:2px;
    border-radius:999px;
    background:currentColor;
    transition:background .16s ease;
  }

  .mobile-nav-toggle-icon::before,
  .mobile-nav-toggle-icon::after{
    content:"";
    position:absolute;
    left:0;
    width:18px;
    height:2px;
    border-radius:999px;
    background:currentColor;
    transition:transform .16s ease, top .16s ease;
  }

  .mobile-nav-toggle-icon::before{
    top:-6px;
  }

  .mobile-nav-toggle-icon::after{
    top:6px;
  }

  .site-header.is-nav-open .mobile-nav-toggle-icon{
    background:transparent;
  }

  .site-header.is-nav-open .mobile-nav-toggle-icon::before{
    top:0;
    transform:rotate(45deg);
  }

  .site-header.is-nav-open .mobile-nav-toggle-icon::after{
    top:0;
    transform:rotate(-45deg);
  }

  .site-header.is-nav-collapsed .site-nav{
    display:none !important;
  }

  .mobile-nav-toggle[aria-expanded="false"] + .site-nav{
    display:none !important;
  }

  .site-header .site-nav{
    position:static !important;
    inset:auto !important;
    transform:none !important;
    flex:1 0 100%;
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
    width:100% !important;
    margin:2px 0 0 !important;
    padding:12px;
    border:1px solid var(--border-soft);
    border-radius:12px;
    background:#ffffff;
    box-shadow:0 12px 28px rgba(16,32,51,0.10);
  }

  .site-header.is-nav-open .site-nav{
    display:grid !important;
  }

  .mobile-nav-toggle[aria-expanded="true"] + .site-nav{
    display:grid !important;
  }

  .site-header .site-nav a,
  .site-header .site-nav .nav-cta{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    min-width:0;
    min-height:44px;
    margin:0 !important;
    padding:11px 14px !important;
    border-radius:8px;
    font-size:0.92rem !important;
    line-height:1.2 !important;
    text-align:center;
    white-space:normal;
    overflow-wrap:anywhere;
    box-shadow:none;
  }

  .site-header .site-nav a.is-active:not(.nav-cta){
    background:#edf8fa;
    border-color:#cbe9ee;
    color:var(--accent);
  }

  .site-header .site-nav a.nav-cta{
    min-height:44px;
    box-shadow:0 8px 18px rgba(7,142,162,0.18);
  }

  .main-content{
    padding-top:24px;
  }
}

@media (max-width:430px){
  .site-header{
    padding:10px 12px;
  }

  .site-brand-link{
    max-width:calc(100% - 56px);
  }

  .mobile-nav-toggle{
    width:42px;
    min-width:42px;
    min-height:40px;
    padding:9px;
  }

  .mobile-nav-toggle-label{
    display:none;
  }

  .site-header .site-nav a,
  .site-header .site-nav .nav-cta{
    font-size:0.9rem !important;
  }
}

@media (max-width:359px){
  .brand-copy small{
    display:none;
  }
}
