:root {
  --ink: #062a29;
  --ink-2: #174642;
  --muted: #6f817e;
  --muted-dark: #9eb5b1;
  --bg: #f5f9f7;
  --bg-2: #eef6f3;
  --surface: #ffffff;
  --surface-soft: rgba(255,255,255,.76);
  --line: #d9e8e3;
  --line-dark: rgba(255,255,255,.12);
  --teal: #168b7e;
  --teal-deep: #0b6d63;
  --mint: #d9f2ea;
  --mint-2: #b8e4d8;
  --navy: #031e1d;
  --navy-2: #072c29;
  --navy-3: #0b3934;
  --shadow-sm: 0 10px 30px rgba(6,42,41,.07);
  --shadow-md: 0 24px 70px rgba(6,42,41,.11);
  --shadow-lg: 0 36px 100px rgba(3,30,29,.18);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: Inter, "Avenir Next", Avenir, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  letter-spacing: -.008em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { background: var(--mint-2); color: var(--ink); }

.container { width: min(var(--max), calc(100% - 44px)); margin-inline: auto; }
.container-narrow { width: min(820px, calc(100% - 44px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(217,232,227,.78);
  background: rgba(248,251,250,.88);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 40px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 28px; color: #315c58; font-size: 14px; font-weight: 700; }
.nav-links a { position: relative; padding: 10px 0; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: var(--teal);
  transition: right .22s ease;
}
.nav-links a:hover::after, .nav-links a:focus-visible::after { right: 0; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  width: 18px; height: 2px; border-radius: 999px; background: var(--ink); display: block; position: relative;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.012em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(22,139,126,.22); outline-offset: 3px; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--teal-deep), var(--teal)); box-shadow: 0 14px 34px rgba(11,109,99,.23); }
.btn-primary:hover { box-shadow: 0 20px 42px rgba(11,109,99,.30); }
.btn-dark { color: #fff; background: var(--navy); box-shadow: 0 14px 34px rgba(3,30,29,.22); }
.btn-dark:hover { background: #08312e; }
.btn-ghost { background: rgba(255,255,255,.78); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: #fff; box-shadow: var(--shadow-sm); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.btn-arrow::after { content: "→"; font-size: 17px; line-height: 1; transition: transform .2s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
  background:
    radial-gradient(circle at 82% 7%, rgba(61,183,166,.16), transparent 27rem),
    radial-gradient(circle at 18% 30%, rgba(217,242,234,.72), transparent 30rem),
    linear-gradient(180deg, #fbfdfc 0%, #f5f9f7 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  background-image:
    linear-gradient(rgba(6,42,41,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6,42,41,.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.72), transparent 85%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr); gap: 58px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(22,139,126,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 8px 28px rgba(6,42,41,.05);
  color: var(--teal-deep);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--teal); box-shadow: 0 0 0 5px rgba(22,139,126,.10); }
.hero h1 {
  margin: 20px 0 0;
  max-width: 760px;
  font-size: clamp(46px, 5.2vw, 70px);
  line-height: .99;
  letter-spacing: -.062em;
  font-weight: 820;
}
.hero h1 .accent { color: var(--teal-deep); }
.hero-copy { max-width: 720px; margin-top: 24px; color: #416965; font-size: 18px; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 24px; color: #5f7774; font-size: 13px; font-weight: 720; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof span::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--teal); }

.hero-visual {
  position: relative;
  min-height: 520px;
  border-radius: 34px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(236,247,243,.80));
  border: 1px solid rgba(153,200,190,.42);
  box-shadow: var(--shadow-lg);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 46px;
  border: 1px solid rgba(22,139,126,.10);
  pointer-events: none;
}
.mock-window { height: 100%; min-height: 484px; overflow: hidden; border-radius: 24px; background: #f8fbfa; border: 1px solid #e2eeea; }
.mock-top { height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; background: #fff; border-bottom: 1px solid #e4efeb; }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 8px; height: 8px; border-radius: 999px; background: #c5d9d4; }
.mock-title { font-size: 11px; color: #68837f; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.mock-body { display: grid; grid-template-columns: 124px 1fr; min-height: 430px; }
.mock-side { padding: 20px 12px; background: #062a29; color: rgba(255,255,255,.70); }
.mock-side .side-brand { color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 24px; }
.mock-side div:not(.side-brand) { padding: 9px 8px; margin: 4px 0; border-radius: 8px; font-size: 10px; font-weight: 700; }
.mock-side .active { background: rgba(255,255,255,.10); color: #fff; }
.mock-main { padding: 20px; }
.mock-kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-kpi { padding: 13px; border-radius: 12px; background: #fff; border: 1px solid #dfebe7; }
.mock-kpi b { display: block; font-size: 18px; line-height: 1.05; color: var(--ink); }
.mock-kpi span { display: block; margin-top: 5px; font-size: 9px; font-weight: 780; color: #78908c; text-transform: uppercase; letter-spacing: .06em; }
.mock-section-title { display: flex; justify-content: space-between; align-items: center; margin: 20px 0 10px; font-size: 11px; font-weight: 900; color: var(--ink); }
.mock-pill { padding: 4px 7px; border-radius: 999px; background: var(--mint); color: var(--teal-deep); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.case-list { display: grid; gap: 9px; }
.case-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 12px; background: #fff; border: 1px solid #dfebe7; border-radius: 12px; box-shadow: 0 7px 18px rgba(6,42,41,.03); }
.case-row strong { display: block; font-size: 10.5px; color: var(--ink); }
.case-row small { display: block; margin-top: 3px; color: #78908c; font-size: 8.7px; line-height: 1.35; }
.case-state { padding: 6px 8px; border-radius: 999px; font-size: 8px; font-weight: 900; white-space: nowrap; }
.state-customer { background: #e9f5f1; color: #0b6d63; }
.state-client { background: #fff4dd; color: #8a6514; }
.state-action { background: #e8eff9; color: #42668d; }
.float-card { position: absolute; border-radius: 18px; background: rgba(255,255,255,.96); border: 1px solid rgba(205,226,220,.95); box-shadow: var(--shadow-md); padding: 14px 16px; }
.float-card strong { display: block; font-size: 12px; }
.float-card span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.float-one { left: -38px; bottom: 54px; width: 190px; }
.float-two { right: -34px; top: 84px; width: 180px; }
.float-icon { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--mint); color: var(--teal-deep); margin-bottom: 9px; }
.float-icon svg { width: 16px; height: 16px; }

.trust-strip { position: relative; z-index: 2; margin-top: -1px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.trust-label { color: #68817d; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.trust-items { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.trust-chip { padding: 8px 12px; border: 1px solid #e0ece8; border-radius: 999px; color: #476c68; background: #fbfdfc; font-size: 12px; font-weight: 760; }

.section { padding: 92px 0; }
.section-sm { padding: 64px 0; }
.section-head { max-width: 760px; }
.section-head.center { text-align: center; margin-inline: auto; }
.kicker { margin-bottom: 12px; color: var(--teal-deep); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
h2 { margin: 0; color: var(--ink); font-size: clamp(34px, 4vw, 52px); line-height: 1.06; letter-spacing: -.052em; font-weight: 810; }
h3 { margin: 0; color: var(--ink); font-size: 20px; line-height: 1.25; letter-spacing: -.025em; }
.section-copy { margin: 18px 0 0; color: #5f7774; font-size: 17px; line-height: 1.72; }
.mini-note { color: var(--muted); font-size: 13px; line-height: 1.55; }

.problem-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.problem-list { display: grid; gap: 13px; margin-top: 26px; }
.problem-item { display: flex; align-items: flex-start; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.problem-item:last-child { border-bottom: 0; }
.problem-icon { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 12px; background: var(--mint); color: var(--teal-deep); }
.problem-icon svg { width: 18px; height: 18px; }
.problem-item strong { display: block; font-size: 15px; }
.problem-item span { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
.problem-panel { position: relative; padding: 34px; border-radius: var(--radius-xl); background: var(--navy); color: #fff; overflow: hidden; box-shadow: var(--shadow-lg); }
.problem-panel::before { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 999px; right: -100px; top: -120px; background: rgba(61,183,166,.20); filter: blur(5px); }
.problem-panel > * { position: relative; z-index: 1; }
.problem-panel .label { color: #8bcfc4; font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.problem-panel h3 { margin-top: 14px; color: #fff; font-size: 29px; }
.problem-panel p { color: rgba(255,255,255,.68); font-size: 14px; }
.flow { margin-top: 26px; display: grid; gap: 10px; }
.flow-row { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 12px; border: 1px solid rgba(255,255,255,.10); border-radius: 14px; background: rgba(255,255,255,.055); }
.flow-num { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: rgba(139,207,196,.14); color: #a9ded5; font-size: 11px; font-weight: 900; }
.flow-copy b { display: block; font-size: 12px; color: #fff; }
.flow-copy small { display: block; color: rgba(255,255,255,.54); font-size: 10px; }
.flow-state { color: #a9ded5; font-size: 10px; font-weight: 800; }

.dark-wrap { width: min(1460px, calc(100% - 28px)); margin-inline: auto; border-radius: 40px; overflow: hidden; background: radial-gradient(circle at 82% 6%, rgba(61,183,166,.18), transparent 30rem), linear-gradient(145deg, var(--navy), #052724 68%, #0a3833); color: #fff; box-shadow: var(--shadow-lg); }
.dark-wrap .section { padding-left: 0; padding-right: 0; }
.dark-wrap h2, .dark-wrap h3 { color: #fff; }
.dark-wrap .section-copy { color: rgba(255,255,255,.67); }
.service-feature { margin-top: 42px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; }
.core-card { min-height: 430px; display: flex; flex-direction: column; justify-content: space-between; padding: 34px; border: 1px solid rgba(255,255,255,.13); border-radius: 28px; background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035)); }
.core-card .icon-box, .module-card .icon-box { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: rgba(139,207,196,.15); color: #a9ded5; }
.icon-box svg { width: 21px; height: 21px; }
.core-card h3 { margin-top: 26px; font-size: 30px; }
.core-card p { color: rgba(255,255,255,.66); }
.core-list { margin-top: 24px; display: grid; gap: 10px; }
.core-list div { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.78); font-size: 13px; }
.core-list div::before { content: ""; width: 6px; height: 6px; margin-top: 7px; flex: 0 0 6px; border-radius: 999px; background: #89d1c6; }
.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.module-card { min-height: 206px; padding: 24px; border-radius: 24px; border: 1px solid rgba(255,255,255,.11); background: rgba(255,255,255,.052); transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.module-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.075); border-color: rgba(139,207,196,.26); }
.module-card h3 { margin-top: 18px; font-size: 19px; }
.module-card p { margin: 9px 0 0; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.6; }
.module-tag { display: inline-flex; margin-top: 14px; padding: 5px 8px; border-radius: 999px; background: rgba(139,207,196,.10); color: #a9ded5; font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }

.model-grid { margin-top: 42px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.model-card { position: relative; overflow: hidden; min-height: 340px; padding: 30px; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow-sm); }
.model-card.featured { background: linear-gradient(145deg, #f9fcfb, #eaf5f1); border-color: #cfe5de; }
.model-card .number { color: var(--teal); font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.model-card h3 { margin-top: 16px; font-size: 28px; }
.model-card p { color: var(--muted); }
.model-list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.model-list li { display: flex; align-items: flex-start; gap: 10px; color: #42635f; font-size: 13.5px; font-weight: 680; }
.model-list li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; flex: 0 0 20px; border-radius: 999px; background: var(--mint); color: var(--teal-deep); font-size: 11px; font-weight: 900; }

.steps { margin-top: 42px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.step { position: relative; padding: 22px 18px; border-radius: 22px; background: #fff; border: 1px solid var(--line); min-height: 208px; }
.step:not(:last-child)::after { content: ""; position: absolute; width: 12px; height: 1px; right: -13px; top: 42px; background: #b9d8d0; }
.step-num { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 900; }
.step h3 { margin-top: 18px; font-size: 16px; }
.step p { color: var(--muted); font-size: 12.5px; line-height: 1.55; }

.example-grid { margin-top: 42px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.example-card { padding: 26px; border-radius: 24px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.example-card .example-type { color: var(--teal-deep); font-size: 10px; font-weight: 900; letter-spacing: .10em; text-transform: uppercase; }
.example-card h3 { margin-top: 12px; font-size: 19px; }
.example-card p { color: var(--muted); font-size: 13px; }
.example-result { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); color: #3b625e; font-size: 12px; font-weight: 760; }

.boundary-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 54px; align-items: center; }
.boundary-card { padding: 30px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.boundary-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.boundary-list li { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; border-radius: 14px; background: #f8fbfa; color: #476763; font-size: 12.5px; font-weight: 700; }
.boundary-list li::before { content: "—"; color: var(--teal); font-weight: 900; }

.compat-wrap { padding: 34px; border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(145deg, #fff, #f0f7f4); display: grid; grid-template-columns: .92fr 1.08fr; gap: 34px; align-items: center; }
.system-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.system-chips span { padding: 10px 13px; border-radius: 12px; border: 1px solid #d7e7e2; background: #fff; color: #4d6e6a; font-size: 12px; font-weight: 760; }

.faq { margin-top: 36px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-button { width: 100%; padding: 22px 0; display: grid; grid-template-columns: 1fr 30px; gap: 16px; align-items: center; background: transparent; border: 0; text-align: left; cursor: pointer; }
.faq-button strong { font-size: 16px; }
.faq-plus { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 17px; transition: transform .2s ease; }
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-answer p { margin: 0 0 22px; max-width: 850px; color: var(--muted); font-size: 14px; }

.cta-wrap { padding: 80px 0 92px; }
.cta-panel { position: relative; overflow: hidden; padding: 54px; border-radius: 36px; background: radial-gradient(circle at 90% 10%, rgba(61,183,166,.24), transparent 25rem), linear-gradient(145deg, var(--navy), var(--navy-3)); color: #fff; box-shadow: var(--shadow-lg); }
.cta-panel::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 999px; border: 1px solid rgba(255,255,255,.11); right: 7%; bottom: -120px; }
.cta-panel h2 { max-width: 780px; color: #fff; }
.cta-panel p { max-width: 760px; color: rgba(255,255,255,.66); font-size: 16px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cta-note { margin-top: 16px; color: rgba(255,255,255,.48); font-size: 12px; }

.site-footer { background: #021a19; color: rgba(255,255,255,.62); }
.footer-main { padding: 48px 0 34px; display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 40px; }
.footer-brand img { height: 38px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: .96; }
.footer-brand p { max-width: 430px; margin: 16px 0 0; font-size: 13px; line-height: 1.65; }
.footer-col b { display: block; margin-bottom: 13px; color: #fff; font-size: 11px; letter-spacing: .10em; text-transform: uppercase; }
.footer-col a { display: block; width: fit-content; margin: 8px 0; font-size: 13px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(255,255,255,.09); font-size: 12px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Apply page */
.subhero { padding: 64px 0 42px; background: radial-gradient(circle at 82% 2%, rgba(61,183,166,.16), transparent 25rem), linear-gradient(180deg, #fbfdfc, #f3f8f6); border-bottom: 1px solid var(--line); }
.subhero-grid { display: grid; grid-template-columns: 1fr .86fr; gap: 48px; align-items: center; }
.subhero h1 { margin: 18px 0 0; font-size: clamp(42px, 5vw, 62px); line-height: 1; letter-spacing: -.058em; }
.subhero p { color: #5f7774; font-size: 17px; }
.fit-card { padding: 26px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.fit-card h3 { font-size: 18px; }
.fit-points { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.fit-points li { display: flex; gap: 10px; color: #476763; font-size: 13px; }
.fit-points li::before { content: "✓"; color: var(--teal); font-weight: 900; }
.form-section { padding: 56px 0 84px; }
.form-shell { overflow: hidden; border-radius: 30px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-md); }
.form-header { padding: 22px 26px; border-bottom: 1px solid var(--line); background: #fbfdfc; }
.form-header strong { font-size: 15px; }
.form-header span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.form-shell iframe { width: 100%; height: 1460px; min-height: 1460px; border: 0; display: block; background: #fff; }
.form-note { margin-top: 16px; color: var(--muted); font-size: 12px; }
.form-fallback { margin: 12px 4px 0; color: var(--muted); font-size: 12px; text-align: center; }
.form-fallback a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }

/* Legal pages */
.legal-hero { padding: 58px 0 36px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fbfdfc, #f5f9f7); }
.legal-hero h1 { margin: 8px 0 0; font-size: clamp(40px, 5vw, 58px); line-height: 1; letter-spacing: -.055em; }
.legal-main { padding: 54px 0 84px; }
.legal-card { padding: 38px; border-radius: 28px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.legal-card > p:first-child { font-size: 16px; color: #496964; }
.legal-card h2 { margin-top: 34px; margin-bottom: 8px; font-size: 23px; letter-spacing: -.028em; }
.legal-card p { color: #607b77; font-size: 14px; line-height: 1.72; }
.legal-card a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-copy { max-width: 780px; }
  .hero-visual { width: min(760px, 100%); margin-inline: auto; }
  .problem-grid, .boundary-grid, .compat-wrap, .subhero-grid { grid-template-columns: 1fr; }
  .service-feature { grid-template-columns: 1fr; }
  .core-card { min-height: 0; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step:nth-child(3)::after { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .container, .container-narrow { width: min(100% - 30px, var(--max)); }
  .nav-links, .nav-actions { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header.open .nav { flex-wrap: wrap; padding-bottom: 16px; }
  .site-header.open .nav-links, .site-header.open .nav-actions { display: flex; width: 100%; flex-direction: column; align-items: stretch; }
  .site-header.open .nav-links { gap: 0; padding-top: 8px; }
  .site-header.open .nav-links a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .site-header.open .nav-links a::after { display: none; }
  .site-header.open .nav-actions { padding-top: 6px; }
  .site-header.open .nav-actions .btn { width: 100%; }
  .hero { padding-top: 50px; }
  .hero h1 { font-size: clamp(42px, 10vw, 58px); }
  .float-one { left: 10px; bottom: 22px; }
  .float-two { right: 10px; top: 74px; }
  .trust-inner { flex-direction: column; align-items: flex-start; padding: 22px 0; }
  .trust-items { justify-content: flex-start; }
  .model-grid, .example-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none !important; }
  .boundary-list { grid-template-columns: 1fr; }
  .cta-panel { padding: 38px 28px; }
  .form-shell iframe { height: 1540px; min-height: 1540px; }
}

@media (max-width: 620px) {
  .brand img { height: 34px; }
  .hero { padding: 42px 0 38px; }
  .hero h1 { font-size: clamp(38px, 12vw, 50px); }
  .hero-copy { font-size: 16px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .hero-visual { min-height: 455px; padding: 10px; border-radius: 26px; }
  .mock-window { min-height: 430px; }
  .mock-body { grid-template-columns: 88px 1fr; min-height: 375px; }
  .mock-side { padding: 16px 7px; }
  .mock-side div:not(.side-brand) { font-size: 8px; }
  .mock-main { padding: 14px; }
  .mock-kpi-row { grid-template-columns: 1fr 1fr; }
  .mock-kpi:last-child { display: none; }
  .case-row { padding: 9px; }
  .case-row small { display: none; }
  .float-card { display: none; }
  .section { padding: 70px 0; }
  .section-sm { padding: 52px 0; }
  h2 { font-size: clamp(31px, 9.5vw, 41px); }
  .section-copy { font-size: 15.5px; }
  .problem-panel, .model-card, .boundary-card, .compat-wrap { padding: 24px; }
  .module-grid { grid-template-columns: 1fr; }
  .module-card { min-height: 0; }
  .steps { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; padding: 18px 0; }
  .form-shell iframe { height: 1600px; min-height: 1600px; }
  .legal-card { padding: 26px 20px; }
}

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