:root {
  --ink: #0d3439;
  --ink-deep: #08282f;
  --ink-soft: #456269;
  --teal: #08aeb1;
  --teal-dark: #087d82;
  --aqua: #71ddd7;
  --teal-pale: #dff6f3;
  --paper: #f6faf9;
  --surface: #ffffff;
  --line: #cfe5e2;
  --radius: 26px;
  --shadow: 0 24px 64px rgba(8, 40, 47, 0.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.7; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.content-shell { width: min(1060px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; color: #fff; background: var(--ink-deep); border-radius: 8px; transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.nav-wrap { min-height: 248px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.brand { width: 330px; min-width: 330px; text-decoration: none; }
.brand img { width: 100%; height: 238px; object-fit: contain; object-position: left center; }
nav { display: flex; align-items: center; gap: 32px; font-size: 19px; font-weight: 750; }
nav a { padding: 7px 0; text-decoration: none; border-bottom: 2px solid transparent; }
nav a:hover, nav a:focus-visible, nav a[aria-current="page"] { color: var(--teal-dark); border-color: var(--teal); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink-deep); font-weight: 800; line-height: 1.18; letter-spacing: -0.025em; overflow-wrap: break-word; }
h1, h2 { margin-bottom: 20px; font-size: 32px; }
h3 { margin-bottom: 10px; font-size: 20px; }
p, li { overflow-wrap: break-word; }
.eyebrow { margin-bottom: 13px; color: var(--teal-dark); font-size: 18px; font-weight: 850; letter-spacing: 0.08em; line-height: 1.35; text-transform: uppercase; }
.lead { max-width: 720px; margin: 0 0 32px; color: var(--ink-soft); font-size: 1.22rem; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 24px; color: #fff; background: var(--ink-deep); border-radius: 999px; box-shadow: 0 12px 28px rgba(8,40,47,0.16); font-weight: 800; text-decoration: none; }
.button:hover, .button:focus-visible { background: var(--teal-dark); }

.hero { position: relative; overflow: hidden; padding: 64px 0 70px; background: linear-gradient(138deg, #edf9f7 0%, #f9fcfb 58%, #d8f2ef 100%); }
.hero::after { content: ""; position: absolute; right: -180px; bottom: -340px; width: 620px; height: 620px; border: 1px solid rgba(8,174,177,0.19); border-radius: 50%; box-shadow: 0 0 0 84px rgba(8,174,177,0.034), 0 0 0 168px rgba(8,174,177,0.02); }
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.68fr); align-items: center; gap: 72px; }
.hero-copy { min-width: 0; }
.hero-copy h1 { max-width: 780px; }
.hero-panel { padding: 32px; background: rgba(255,255,255,0.86); border: 1px solid rgba(255,255,255,0.95); border-radius: var(--radius); box-shadow: var(--shadow); }
.check-list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; color: var(--ink-soft); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-dark); font-weight: 900; }

.section { padding: 82px 0; }
.section-soft { background: #eaf6f4; }
.section-intro { max-width: 820px; margin: 0 0 38px; color: var(--ink-soft); font-size: 1.12rem; }
.ai-section { background: var(--surface); }
.ai-flow, .journey { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ai-flow article, .journey article, .feature-card { min-width: 0; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.ai-flow article { background: #fbfefd; }
.ai-flow article > span, .journey article > span { display: grid; width: 38px; height: 38px; margin-bottom: 22px; place-items: center; color: var(--teal-dark); background: var(--teal-pale); border-radius: 50%; font-size: 0.75rem; font-weight: 850; }
.ai-flow p, .journey p, .feature-card p { margin-bottom: 0; color: var(--ink-soft); }
.control-note { margin-top: 28px; padding: 22px 24px; color: var(--ink-soft); background: var(--teal-pale); border-left: 4px solid var(--teal); border-radius: 0 14px 14px 0; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr); align-items: end; gap: 56px; margin-bottom: 36px; }
.split-heading .section-intro { margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.extension-note { max-width: 900px; margin: 32px 0 0; padding: 20px 24px; color: var(--ink-soft); background: #edf7f5; border-left: 3px solid var(--teal); border-radius: 0 14px 14px 0; }
.benefit-section { color: #fff; background: var(--ink-deep); }
.benefit-section h2 { color: #fff; }
.benefit-section .eyebrow { color: var(--aqua); }
.benefit-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.8fr); align-items: start; gap: 80px; }
.benefit-copy p { color: #c8d9db; font-size: 1.06rem; }
.benefit-copy p + p { margin-top: 22px; }
.cta-section { padding: 68px 0; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 46px 52px; color: #fff; background: linear-gradient(125deg, var(--teal-dark), #05545b); border-radius: var(--radius); box-shadow: var(--shadow); }
.cta-card h2 { max-width: 730px; color: #fff; }
.cta-card p:not(.eyebrow) { margin-bottom: 0; color: #d9efed; }
.cta-card .eyebrow { color: #b7efeb; }
.button-light { flex: 0 0 auto; color: var(--ink-deep); background: #fff; }

.document-main { padding-bottom: 96px; }
.document-hero { padding: 52px 0 34px; background: linear-gradient(180deg, #edf9f7 0%, var(--paper) 100%); }
.document-hero h1 { max-width: 960px; }
.document-lead { max-width: 800px; margin: 0 0 18px; color: var(--ink-soft); font-size: 1.15rem; }
.document-meta { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.document-card { padding: 56px 64px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 48px rgba(8,40,47,0.07); }
.document-card section { max-width: 900px; }
.document-card section + section { margin-top: 42px; padding-top: 38px; border-top: 1px solid var(--line); }
.hero-panel h2,
.ai-flow h3,
.journey h3,
.feature-card h3,
.document-card h2 { font-size: 20px; line-height: 1.3; letter-spacing: -0.015em; }
.document-card p, .document-card li { color: var(--ink-soft); }
.document-card ul { padding-left: 1.35rem; }
.document-card li + li { margin-top: 8px; }
.document-card p:last-child, .document-card ul:last-child { margin-bottom: 0; }
.document-card a { color: var(--teal-dark); font-weight: 750; text-underline-offset: 4px; }
code { padding: 0.12em 0.34em; color: var(--ink-deep); background: var(--teal-pale); border-radius: 5px; font-size: 0.88em; overflow-wrap: anywhere; }

footer { padding: 32px 0; color: var(--ink-soft); background: var(--surface); border-top: 1px solid var(--line); }
.footer-wrap { display: flex; justify-content: space-between; gap: 24px; font-size: 0.92rem; }
.footer-wrap p { margin: 0; }
.footer-wrap a { text-underline-offset: 4px; }
.footer-brandline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.footer-wordmark { display: block; width: 88px; height: auto; flex: 0 0 auto; }

@media (max-width: 900px) {
  .hero-layout, .benefit-layout, .split-heading { grid-template-columns: 1fr; gap: 36px; }
  .ai-flow, .journey, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-panel { max-width: 660px; }
}

@media (max-width: 650px) {
  .shell, .content-shell { width: min(100% - 28px, 1160px); }
  .nav-wrap { min-height: 270px; align-items: center; flex-direction: column; justify-content: center; gap: 0; padding: 4px 0 12px; }
  .brand { width: 270px; min-width: 270px; }
  .brand img { height: 208px; object-position: center; }
  nav { flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: 17px; }
  h1, h2 { font-size: 26px; }
  .eyebrow { font-size: 15.5px; }
  .hero-panel h2,
  .ai-flow h3,
  .journey h3,
  .feature-card h3,
  .document-card h2 { font-size: 18px; }
  .hero { padding: 42px 0 50px; }
  .lead { font-size: 1.08rem; }
  .section { padding: 60px 0; }
  .ai-flow, .journey, .feature-grid { grid-template-columns: 1fr; }
  .cta-card { align-items: flex-start; flex-direction: column; padding: 34px 26px; }
  .document-hero { padding: 38px 0 26px; }
  .document-card { padding: 32px 22px; }
  .document-card section + section { margin-top: 34px; padding-top: 30px; }
  .footer-wrap { flex-direction: column; }
  .footer-wordmark { width: 82px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
