/* Mutio Core marketing site. Brand colours and type come from the product's own documents. */

:root {
  --navy: #10213a;
  --navy-2: #172b48;
  --navy-deep: #0b1729;
  --ink: #10213a;
  --text: #4a5366;
  --muted: #7b8496;
  --line: #dde1e7;
  --line-soft: #e9ecf0;
  --bg: #f4f5f7;
  --white: #ffffff;
  --teal: #0e8070;
  --teal-dark: #0a6a5d;
  --teal-light: #2ec4a6;
  --teal-glow: #5fd9be;
  --mint: #eef8f5;
  --mint-2: #dcf1ea;
  --coral: #d97757;
  --coral-soft: #fbe9e2;
  --amber: #e9a23b;
  --red: #d64545;
  --sky: #a9cfe9;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 33, 58, .05), 0 1px 4px rgba(16, 33, 58, .05);
  --shadow: 0 14px 34px -14px rgba(16, 33, 58, .22), 0 2px 6px rgba(16, 33, 58, .05);
  --shadow-lg: 0 40px 80px -30px rgba(4, 12, 26, .6);
  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --header-h: 72px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
code { font-family: var(--mono); font-size: .88em; background: var(--mint); color: var(--teal-dark); padding: .1em .35em; border-radius: 5px; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip-link:focus { top: 12px; }
.icon { width: 1em; height: 1em; flex: none; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 10px; padding: 12px 22px;
  font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--teal); color: var(--white); box-shadow: 0 6px 16px -8px rgba(14, 128, 112, .7); }
.btn-primary:hover { background: var(--teal-dark); color: var(--white); transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { background: var(--bg); color: var(--ink); }

.link-underline { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; font-size: 14px; }
.link-light { color: rgba(255, 255, 255, .78); }
.link-light:hover { color: var(--white); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.link-arrow .icon { transition: transform .15s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

.eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.h-section { font-size: clamp(30px, 3.6vw, 42px); }
.lead { font-size: 18px; color: var(--text); margin-top: 18px; max-width: 34em; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .lead { margin-left: auto; margin-right: auto; }

.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; font-size: 13px; font-weight: 600; padding: 7px 14px; }
.pill-light { background: var(--white); color: var(--teal-dark); box-shadow: inset 0 0 0 1.5px rgba(14, 128, 112, .45); }

/* ---------- Logo ---------- */
.logo { height: 28px; width: auto; }
.logo .logo-back { stroke: var(--logo-back, var(--teal-light)); }
.logo .logo-front { stroke: var(--logo-front, var(--teal)); }
.logo .logo-word { stroke: var(--logo-word, var(--navy)); }
.logo .logo-core { stroke: var(--logo-core, var(--teal)); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  background: transparent; transition: background-color .2s ease, box-shadow .2s ease;
  --logo-word: #ffffff; --logo-core: var(--teal-light);
}
.site-header.is-scrolled, .site-header.is-open { background: rgba(14, 28, 50, .94); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.header-inner { display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; }
.brand .logo { height: 26px; }
.main-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.main-nav ul a { color: rgba(255, 255, 255, .72); font-size: 15px; font-weight: 500; }
.main-nav ul a:hover, .main-nav ul a[aria-current="page"] { color: var(--white); }
.nav-actions { display: flex; align-items: center; gap: 22px; }
.nav-login { color: rgba(255, 255, 255, .78); font-size: 15px; font-weight: 500; }
.nav-login:hover { color: var(--white); }
.menu-toggle { display: none; margin-left: auto; background: transparent; border: 0; color: var(--white); font-size: 26px; padding: 6px; cursor: pointer; }
.menu-toggle .icon-close { display: none; }
.site-header.is-open .menu-toggle .icon-open { display: none; }
.site-header.is-open .menu-toggle .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  padding: calc(var(--header-h) + 64px) 0 0;
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(46, 196, 166, .16), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(23, 43, 72, .9), transparent 70%),
    linear-gradient(160deg, #0f1f37 0%, #10233c 50%, #0f2a3a 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.hero-copy { padding: 36px 0 88px; }
.hero h1 { color: var(--white); font-size: clamp(40px, 5vw, 62px); line-height: 1.04; letter-spacing: -0.03em; margin-top: 26px; max-width: 9.5em; }
.hero h1 .accent { color: var(--teal-glow); }
.hero-lead { margin-top: 24px; font-size: 19px; color: rgba(255, 255, 255, .72); max-width: 26em; }
.hero-actions { margin-top: 34px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.hero-visual {
  position: relative; margin-right: -120px; max-height: 640px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
}

/* ---------- Window chrome (product screens) ---------- */
.window { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line-soft); color: var(--text); }
.window-bar { display: flex; align-items: center; gap: 12px; padding: 9px 14px; background: #f6f7f9; border-bottom: 1px solid var(--line-soft); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #ef6a5e; }
.dots i:nth-child(2) { background: #f4bf4f; }
.dots i:nth-child(3) { background: #3fbf6f; }
.window-title { flex: 1; min-width: 0; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window-url { flex: 1; max-width: 300px; font-size: 12px; color: var(--muted); background: var(--white); border-radius: 7px; padding: 4px 12px; box-shadow: inset 0 0 0 1px var(--line-soft); }
.window-badge { margin-left: auto; flex: none; white-space: nowrap; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; color: var(--teal); background: var(--mint); padding: 3px 8px; border-radius: 5px; }
.window-hero { box-shadow: var(--shadow-lg); border: 0; }

/* ---------- App mock in the hero ---------- */
.app { display: grid; grid-template-columns: 172px 1fr; font-size: 12px; min-height: 560px; }
.app-side { border-right: 1px solid var(--line-soft); padding: 14px 10px; display: flex; flex-direction: column; background: #fbfcfd; }
.app-logo { padding: 2px 8px 14px; }
.app-logo .logo { height: 17px; }
.app-side ul { list-style: none; margin: 0; padding: 0; }
.app-side li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; color: var(--text); white-space: nowrap; }
.app-side li .icon { font-size: 13px; color: var(--muted); }
.app-side li.is-active { background: var(--mint); color: var(--teal-dark); font-weight: 600; }
.app-side li.is-active .icon { color: var(--teal); }
.app-group { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: #a3aab8; padding: 12px 8px 4px; }
.app-side-bottom { margin-top: auto !important; padding-top: 18px !important; }
.app-main { padding: 18px 20px; background: #f7f8fa; min-width: 0; }
.app-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.app-date { font-size: 11px; color: var(--muted); }
.app-title { font-size: 21px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; margin-top: 2px; }
.app-buttons { display: flex; gap: 8px; }
.app-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 7px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; color: var(--ink); white-space: nowrap; font-size: 11px; }
.app-btn-primary { background: var(--teal); color: var(--white); box-shadow: none; }
.app-subhead { display: flex; justify-content: space-between; gap: 8px; margin: 16px 0 8px; font-weight: 700; color: var(--ink); font-size: 12px; }
.app-subhead .muted { font-weight: 400; font-size: 10.5px; }
.kpi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpi { background: var(--white); border-radius: 9px; padding: 10px 12px; box-shadow: 0 0 0 1px var(--line-soft); }
.kpi-label { font-size: 10.5px; color: var(--muted); }
.kpi-value { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; margin-top: 2px; }
.kpi-note { font-size: 10px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.kpi-bar { display: block; height: 4px; border-radius: 4px; background: var(--line-soft); margin-top: 7px; overflow: hidden; }
.kpi-bar i { display: block; height: 100%; background: var(--teal); border-radius: inherit; }
.chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.chart-card { background: var(--white); border-radius: 9px; padding: 12px; box-shadow: 0 0 0 1px var(--line-soft); }
.chart-title { font-weight: 700; color: var(--ink); font-size: 11.5px; }
.chart-sub { font-size: 9.5px; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 9.5px; color: var(--text); margin: 8px 0 10px; }
.lg { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-left: 4px; }
.lg:first-child { margin-left: 0; }
.lg-ok { background: var(--teal); }
.lg-late { background: var(--amber); }
.lg-risk { background: var(--red); }
.lg-cost { background: var(--sky); }
.lg-line { width: 12px; height: 2px; border-radius: 2px; background: var(--navy); }
.chart { width: 100%; height: 110px; }
.bar-ok { fill: var(--teal); }
.bar-late { fill: var(--amber); }
.bar-risk { fill: var(--red); }
.bar-cost { fill: var(--sky); }
.chart-line { fill: none; stroke: var(--navy); stroke-width: 1.6; }

/* ---------- Trust strip ---------- */
.trust { background: #eef1f3; border-bottom: 1px solid var(--line-soft); padding: 26px 0; }
.trust-inner { display: flex; align-items: center; gap: 32px; }
.trust p { font-size: 16px; color: var(--text); max-width: 52em; }
.trust strong { color: var(--ink); }
.trust-logo { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 168px; min-height: 52px; padding: 8px 18px; border-radius: 10px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.nodo-logo { max-height: 38px; width: auto; }
.nodo-logo--text { font-size: 17px; color: var(--navy); letter-spacing: -0.01em; white-space: nowrap; }
.nodo-logo--text b { color: var(--teal); font-weight: 800; }

/* ---------- Claude section ---------- */
.claude-section { background: linear-gradient(180deg, #f2faf7 0%, #edf8f4 100%); padding: 104px 0 96px; }
.claude-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: start; }
.claude-copy { padding-top: 12px; }
.note-card { display: flex; gap: 10px; align-items: flex-start; margin-top: 28px; padding: 14px 16px; background: var(--white); border-radius: 12px; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line-soft); font-size: 15px; color: var(--ink); max-width: 30em; }
.note-card .icon { color: var(--amber); margin-top: 4px; }
.claude-copy .small { margin-top: 18px; max-width: 30em; }
.claude-copy .small strong { color: var(--ink); }
.claude-copy .link-arrow { margin-top: 22px; }

.chat { background: var(--white); border-radius: 18px; box-shadow: var(--shadow), 0 0 0 1px var(--line-soft); overflow: hidden; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.chat-who { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.claude-mark { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 7px; background: var(--coral); color: var(--white); }
.claude-mark svg { width: 15px; height: 15px; }
.chat-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--teal-dark); background: var(--mint); padding: 4px 10px; border-radius: 999px; }
.chat-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-light); }
.chat-body { padding: 20px 18px 22px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.msg-user { align-self: flex-end; background: #e5f3ee; color: var(--ink); padding: 10px 14px; border-radius: 14px 14px 4px 14px; max-width: 85%; }
.msg-ai { color: var(--ink); max-width: 100%; }
.chat-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 13.5px; }
.chat-table td { padding: 8px 10px; border-bottom: 1px solid var(--line-soft); }
.chat-table td:first-child { color: var(--muted); white-space: nowrap; width: 1%; }
.chat-table td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.chat-file { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 10px 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; }
.file-tag { font-family: var(--mono); font-size: 10px; font-weight: 500; color: #c2410c; background: #fde8df; padding: 3px 6px; border-radius: 5px; }
.chat-preview { border-radius: 12px; padding: 14px 16px; background: #f4fbf8; box-shadow: inset 0 0 0 1.5px var(--teal-light); }
.preview-title { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dark); font-weight: 500; }
.chat-preview dl { margin: 10px 0 0; }
.chat-preview dl div { display: flex; justify-content: space-between; padding: 5px 0; font-size: 13.5px; border-bottom: 1px dashed var(--line); }
.chat-preview dt { color: var(--text); }
.chat-preview dd { margin: 0; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.preview-actions { display: flex; gap: 8px; margin-top: 12px; }
.mini-btn { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 8px; background: var(--teal); color: var(--white); font-weight: 700; font-size: 12px; white-space: nowrap; }
.mini-btn:hover { color: var(--white); background: var(--teal-dark); }
.mini-btn-ghost { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }

.demo-card { margin-top: 40px; background: var(--white); border-radius: 18px; padding: 30px 32px; box-shadow: var(--shadow), 0 0 0 1px var(--line-soft); }
.demo-title { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.demo-title .icon { color: var(--teal); }
.demo-row { display: flex; gap: 12px; margin-top: 16px; }
.demo-row input[type="email"] { flex: 1; min-width: 0; }
.demo-help { margin-top: 12px; font-size: 13px; color: var(--muted); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-error { margin-top: 10px; color: var(--red); font-size: 14px; font-weight: 600; }

/* ---------- Form fields ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field-label { font-weight: 600; font-size: 14px; color: var(--ink); }
input[type="email"], input[type="text"], input[type="tel"], select, textarea {
  width: 100%; border: 1px solid var(--line); background: #f8fafb; border-radius: 10px; padding: 13px 16px; font-size: 16px; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
textarea { min-height: 140px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #9aa2b1; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 4px rgba(46, 196, 166, .18); }
input[aria-invalid="true"] { border-color: var(--red); }

/* ---------- Platform screens ---------- */
.platform { background: var(--bg); padding: 104px 0 96px; }
.screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.screen { margin: 0; }
.screen figcaption { margin-top: 14px; font-size: 15px; color: var(--text); }
.screen .window { box-shadow: var(--shadow); }
.platform .center { margin-top: 44px; }
.scr { padding: 16px; font-size: 12px; color: var(--text); }
.scr-crumb { font-size: 11px; color: var(--muted); }
.scr-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.scr-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }
.scr-box { background: var(--white); border-radius: 9px; padding: 10px 12px; box-shadow: 0 0 0 1px var(--line-soft); margin-top: 10px; }
.scr-label { display: block; font-size: 10.5px; color: var(--muted); }
.scr-label-strong { color: var(--ink); font-weight: 700; font-size: 11.5px; margin-top: 14px; }
.scr-box .scr-label-strong { margin-top: 0; }
.scr-big { font-size: 24px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.scr-mid { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.scr-mid small { font-size: 11px; font-weight: 500; color: var(--muted); }
.scr-note { font-size: 10.5px; color: var(--muted); margin-top: 3px; }
.scr-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.scr-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 10px; background: var(--white); border-radius: 9px; box-shadow: 0 0 0 1px var(--line-soft); }
.scr-three > div { padding: 10px 12px; }
.scr-three > div + div { border-left: 1px solid var(--line-soft); }
.scr-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.status { font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.status-ok { background: var(--mint); color: var(--teal-dark); }
.cuotas { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 6px; }
.cuotas i { width: 10px; height: 10px; border-radius: 3px; background: var(--line-soft); }
.cuotas i.paid { background: var(--teal); }
.cuotas i.next { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--teal); }
.scr-table { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 10.5px; font-variant-numeric: tabular-nums; }
.scr-table th { text-align: left; font-weight: 500; color: var(--muted); padding: 6px 6px; border-bottom: 1px solid var(--line-soft); }
.scr-table td { padding: 6px; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.scr-table tr.is-next td { background: var(--mint); }
.tag { font-size: 9.5px; font-weight: 600; padding: 2px 6px; border-radius: 5px; }
.tag-ok { background: var(--mint); color: var(--teal-dark); }
.tag-next { background: #e6effc; color: #2f5fb3; }
.tag-muted { background: var(--bg); color: var(--muted); }
.payouts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 10px; }
.payout { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.payout-val { font-size: 9.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.payout-track { position: relative; width: 100%; height: 72px; background: var(--bg); border-radius: 5px; overflow: hidden; }
.payout-track i { position: absolute; left: 0; right: 0; bottom: 0; background: var(--teal); border-radius: 4px 4px 0 0; }
.payout-mes { font-size: 9.5px; color: var(--muted); }
.scr-table-funds td { white-space: normal; vertical-align: top; }
.scr-table-funds b { color: var(--ink); font-weight: 600; }
.scr-table-funds small { display: block; color: var(--muted); font-size: 9.5px; }
.scr-table-funds .owed { font-weight: 700; color: var(--ink); text-align: right; box-shadow: inset 0 -2px 0 var(--navy); }
.scr-table-funds th:last-child { text-align: right; }

.quote-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; margin-top: 12px; }
.quote-fields label { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.quote-fields input, .fake-select { padding: 7px 9px; font-size: 12px; border-radius: 7px; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.quote-fields input:focus { box-shadow: 0 0 0 3px rgba(46, 196, 166, .2); }
.fake-select { display: block; position: relative; }
.fake-select::after { content: "▾"; position: absolute; right: 9px; color: var(--muted); }
.quote-grid { margin-top: 12px; overflow-x: auto; }
.quote-grid table { width: 100%; border-collapse: separate; border-spacing: 4px; font-size: 11px; font-variant-numeric: tabular-nums; }
.quote-grid th { font-weight: 500; color: var(--muted); text-align: center; padding: 2px; }
.quote-grid tbody th { text-align: left; color: var(--ink); font-weight: 700; font-size: 12px; }
.quote-grid tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: 9.5px; }
.quote-grid button { width: 100%; padding: 8px 2px; border-radius: 7px; border: 0; background: var(--white); box-shadow: 0 0 0 1px var(--line-soft); font-weight: 700; color: var(--ink); font-size: 11px; cursor: pointer; transition: box-shadow .12s ease, background-color .12s ease; }
.quote-grid button:hover { box-shadow: 0 0 0 1.5px var(--teal-light); }
.quote-grid button.is-selected { background: var(--mint); box-shadow: 0 0 0 2px var(--teal); }
.quote-pick { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; padding: 12px; border-radius: 9px; background: #e3f4ee; }

/* ---------- Changes ---------- */
.changes { padding: 104px 0; }
.change-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.change { position: relative; padding: 32px 28px 30px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line-soft), var(--shadow-sm); overflow: hidden; }
.change::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--teal-light); }
.change-b::before { background: var(--coral); }
.change-c::before { background: var(--teal); }
.change-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 11px; font-size: 20px; background: var(--mint); color: var(--teal); }
.change-b .change-icon { background: var(--coral-soft); color: var(--coral); }
.change h3 { font-size: 21px; margin-top: 22px; }
.change p { margin-top: 12px; font-size: 15.5px; }

/* ---------- Dark band ---------- */
.band { padding: 84px 0; color: var(--white); background: radial-gradient(640px 220px at 50% 0%, rgba(46, 196, 166, .22), transparent 70%), var(--navy); }
.band h2 { color: var(--white); font-size: clamp(28px, 3.4vw, 40px); }
.band-sub { margin-top: 16px; color: var(--teal-glow); font-weight: 600; font-size: 17px; }

/* ---------- Excel ---------- */
.excel { padding: 104px 0; }
.excel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.excel .link-arrow { margin-top: 22px; }
.step-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step-cards li { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 14px; background: var(--white); box-shadow: 0 0 0 1px var(--line-soft), var(--shadow-sm); color: var(--ink); font-weight: 500; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--teal); color: var(--white); font-weight: 700; font-size: 14px; }

/* ---------- Pricing ---------- */
.pricing { position: relative; overflow: hidden; padding: 96px 0 100px; background: linear-gradient(180deg, #e6f6f0 0%, #f4fbf8 55%, #ffffff 100%); }
.pricing::after { content: ""; position: absolute; width: 520px; height: 520px; right: -170px; top: -60px; border-radius: 50%; background: rgba(46, 196, 166, .12); pointer-events: none; }
.pricing .container { position: relative; z-index: 1; }
.pricing .section-head { margin-bottom: 64px; }
.pricing .pill { margin-bottom: 18px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 940px; margin: 0 auto; align-items: center; }
.plan { position: relative; text-align: center; padding: 36px 28px 30px; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px var(--line-soft), var(--shadow); }
.plan h3 { font-size: 19px; }
.plan-cap { margin-top: 22px; font-size: 30px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; }
.plan-unit { font-size: 14px; color: var(--muted); }
.plan-price { margin-top: 22px; font-size: 46px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1.05; }
.plan .btn { margin-top: 28px; }
.plan-featured { background: var(--navy); padding: 46px 28px 40px; box-shadow: var(--shadow-lg); }
.plan-featured h3, .plan-featured .plan-cap, .plan-featured .plan-price { color: var(--white); }
.plan-featured .plan-unit { color: rgba(255, 255, 255, .62); }
.plan-featured::after { content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 4px; border-radius: 4px 4px 0 0; background: var(--teal-light); }
.plan-flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--teal); color: var(--white); font-size: 12.5px; font-weight: 700; padding: 6px 14px; border-radius: 999px; box-shadow: 0 6px 14px -6px rgba(14, 128, 112, .8); }
.plans-note { margin-top: 44px; text-align: center; color: var(--ink); }
.plans-sub { margin-top: 8px; text-align: center; color: var(--muted); font-size: 15px; }

/* ---------- Final CTA ---------- */
.final-cta { padding: 104px 0 96px; color: var(--white); background: radial-gradient(760px 300px at 50% 0%, rgba(46, 196, 166, .2), transparent 70%), var(--navy); }
.final-cta h2 { color: var(--white); font-size: clamp(30px, 3.6vw, 44px); max-width: 15em; margin: 0 auto; }
.final-cta .btn { margin-top: 36px; }
.final-cta p { margin-top: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .6); padding: 28px 0; font-size: 14px; --logo-word: rgba(255, 255, 255, .55); --logo-core: var(--teal-light); --logo-front: var(--teal); --logo-back: var(--teal-light); }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.footer-mark .logo { height: 26px; opacity: .9; }
.footer-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 0; }
.footer-legal li + li::before { content: "·"; margin: 0 8px; color: rgba(255, 255, 255, .35); }
.footer-legal a { color: rgba(255, 255, 255, .62); }
.footer-legal a:hover { color: var(--white); }

/* ---------- Inner pages ---------- */
.page-hero {
  color: var(--white); padding: calc(var(--header-h) + 72px) 0 72px;
  background: radial-gradient(800px 420px at 85% 0%, rgba(46, 196, 166, .16), transparent 60%), linear-gradient(160deg, #0f1f37 0%, #10233c 60%, #0f2a3a 100%);
}
.page-hero .eyebrow { color: var(--teal-glow); }
.page-hero h1 { color: var(--white); font-size: clamp(34px, 4.4vw, 54px); letter-spacing: -0.03em; max-width: 16em; }
.page-hero .lead { color: rgba(255, 255, 255, .74); font-size: 19px; max-width: 40em; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; margin-bottom: 22px; color: rgba(255, 255, 255, .5); }
.breadcrumb a { color: rgba(255, 255, 255, .72); }
.breadcrumb a:hover { color: var(--white); }
.hero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin-top: 44px; border-top: 1px solid rgba(255, 255, 255, .14); max-width: 860px; }
.hero-stats div { padding: 18px 20px 0 0; }
.hero-stats strong { display: block; font-size: 34px; color: var(--white); letter-spacing: -0.02em; line-height: 1.1; }
.hero-stats span { font-size: 14px; color: rgba(255, 255, 255, .64); }

.section { padding: 88px 0; }
.section-alt { background: var(--bg); }

/* Module index */
.module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.module-card { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px; border-radius: 16px; background: var(--white); color: var(--text); box-shadow: 0 0 0 1px var(--line-soft), var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease; }
.module-card:hover { transform: translateY(-2px); color: var(--text); box-shadow: 0 0 0 1px rgba(46, 196, 166, .5), var(--shadow); }
.module-card .change-icon { width: 42px; height: 42px; }
.module-card h2, .module-card h3 { font-size: 20px; }
.module-card p { font-size: 15px; flex: 1; }
.module-card .link-arrow { font-size: 14px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.fact { padding: 22px; border-radius: 14px; background: var(--white); box-shadow: 0 0 0 1px var(--line-soft); }
.fact strong { display: block; font-size: 32px; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; }
.fact span { font-size: 14px; color: var(--muted); }
.where-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.where-list li { padding: 18px 20px; border-radius: 14px; background: var(--white); box-shadow: 0 0 0 1px var(--line-soft); font-size: 15px; }
.where-list strong { display: block; color: var(--ink); margin-bottom: 4px; }

/* Module detail */
.doc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.doc-toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; font-size: 14px; }
.doc-toc p { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.doc-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line-soft); }
.doc-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--text); line-height: 1.35; }
.doc-toc a:hover { color: var(--ink); }
.doc-toc a.is-active { color: var(--teal-dark); border-left-color: var(--teal); font-weight: 600; }
.doc { min-width: 0; max-width: 820px; }
.doc-section + .doc-section { margin-top: 64px; padding-top: 56px; border-top: 1px solid var(--line-soft); }
.doc h2 { font-size: clamp(24px, 2.4vw, 30px); }
.doc h3 { font-size: 18px; margin-top: 30px; color: var(--teal-dark); letter-spacing: -0.01em; }
.doc p { margin-top: 16px; }
.doc .doc-intro { font-size: 17.5px; color: var(--ink); opacity: .86; }
.doc-list { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.doc-list li { position: relative; padding-left: 22px; }
.doc-list li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 6px; height: 6px; border-radius: 2px; background: var(--teal-light); }
.doc-list strong { color: var(--ink); }
.doc-steps { counter-reset: step; }
.doc-steps li { padding-left: 40px; counter-increment: step; min-height: 28px; }
.doc-steps li::before { content: counter(step); width: 26px; height: 26px; top: 0; left: 0; border-radius: 50%; background: var(--teal); color: var(--white); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.table-wrap { margin-top: 20px; overflow-x: auto; border-radius: 12px; box-shadow: 0 0 0 1px var(--line-soft); background: var(--white); }
.doc-table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.doc-table thead th { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: var(--muted); text-align: left; padding: 12px 16px; border-bottom: 2px solid var(--navy); background: #fafbfc; white-space: nowrap; }
.doc-table tbody th, .doc-table td { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; text-align: left; }
.doc-table tbody th { color: var(--ink); font-weight: 600; min-width: 130px; }
.doc-table tbody tr:last-child > * { border-bottom: 0; }
.callout { display: flex; gap: 12px; margin-top: 20px; padding: 16px 18px; border-radius: 12px; background: var(--mint); color: var(--ink); }
.callout .icon { color: var(--teal); font-size: 20px; margin-top: 2px; }
.callout p { margin: 0; }
.limits { margin-top: 72px; padding: 28px 30px; border-radius: 16px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-soft); }
.limits h2 { font-size: 20px; }
.limits p { margin-top: 8px; font-size: 15px; }
.limits ul { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; }
.doc-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.doc-pager a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line-soft); color: var(--ink); font-weight: 700; }
.doc-pager a span { font-size: 13px; font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.doc-pager a:hover { box-shadow: 0 0 0 1px var(--teal-light), var(--shadow-sm); }
.doc-pager .next { text-align: right; align-items: flex-end; grid-column: 2; }
.cta-strip { margin-top: 0; padding: 72px 0; background: var(--navy); color: var(--white); }
.cta-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-strip h2 { color: var(--white); font-size: clamp(24px, 2.8vw, 32px); max-width: 20em; }
.cta-strip p { color: rgba(255, 255, 255, .7); margin-top: 8px; }

/* Migration / about / contact / FAQ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.prose p + p { margin-top: 14px; }
.prose h2 { font-size: clamp(26px, 2.8vw, 34px); margin-bottom: 18px; }
.check-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--teal); margin-top: 4px; flex: none; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: tl; }
.timeline li { position: relative; padding: 22px 24px 22px 76px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--line-soft), var(--shadow-sm); counter-increment: tl; }
.timeline li::before { content: counter(tl); position: absolute; left: 22px; top: 22px; width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: var(--white); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.timeline h3 { font-size: 18px; }
.timeline p { margin-top: 6px; font-size: 15px; }
.sheet-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 24px; }
.sheet { padding: 16px 18px; border-radius: 12px; background: var(--white); box-shadow: 0 0 0 1px var(--line-soft); font-size: 14.5px; }
.sheet strong { display: flex; align-items: center; gap: 8px; color: var(--ink); font-family: var(--mono); font-size: 13px; font-weight: 500; }
.sheet strong .icon { color: var(--teal); }
.sheet p { margin-top: 6px; }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 22px; margin-bottom: 12px; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; color: var(--ink); font-size: 17px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--teal); transition: transform .15s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item div { padding: 0 0 20px; }
.faq-item div p + p { margin-top: 10px; }
.contact-card { padding: 34px 32px; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px var(--line-soft), var(--shadow); }
.contact-form { display: grid; gap: 18px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.success { display: flex; gap: 12px; padding: 18px 20px; border-radius: 12px; background: var(--mint); color: var(--ink); font-weight: 600; }
.success .icon { color: var(--teal); font-size: 22px; flex: none; margin-top: 2px; }
.legal-note { max-width: 760px; }
.legal-note p + p { margin-top: 14px; }
.not-found { min-height: 60vh; display: flex; align-items: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .header-inner { gap: 24px; }
  .main-nav ul { gap: 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-copy { padding-bottom: 40px; }
  .hero-visual { margin-right: 0; max-height: 470px; }
  .screens { grid-template-columns: 1fr 1fr; }
  .screens .screen:last-child { grid-column: 1 / -1; max-width: 560px; justify-self: center; width: 100%; }
}

@media (max-width: 920px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    /* The header's backdrop-filter makes it the containing block, so size the panel explicitly. */
    position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px;
    padding: 24px var(--gutter) 40px; background: #0e1c32;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s;
    overflow-y: auto;
  }
  .site-header.is-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: 14px 0; font-size: 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .nav-actions .btn { padding: 14px; font-size: 16px; }
  .nav-login { text-align: center; padding: 8px; }
  .claude-grid, .excel-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .change-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .plans { grid-template-columns: 1fr; max-width: 420px; gap: 32px; }
  .doc-layout { grid-template-columns: 1fr; gap: 0; }
  .doc-toc { display: none; }
  .footer-bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-mark { order: -1; }
  .footer-legal { justify-content: center; }
}

@media (max-width: 720px) {
  .screens { grid-template-columns: 1fr; }
  .screens .screen:last-child { max-width: none; }
  .app { grid-template-columns: 1fr; min-height: 0; }
  .app-side { display: none; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chart-grid { grid-template-columns: 1fr; }
  .chart-grid .chart-card:last-child { display: none; }
  .app-buttons .app-btn:first-child { display: none; }
  .window-url { max-width: 160px; }
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .demo-row { flex-direction: column; }
  .demo-card { padding: 24px 20px; }
  .demo-title { font-size: 18px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .doc-pager { grid-template-columns: 1fr; }
  .doc-pager .next { grid-column: 1; }
  .cta-strip .container { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  :root { --gutter: 16px; }
  .hero { padding-top: calc(var(--header-h) + 28px); }
  .hero-lead { font-size: 17px; }
  .claude-section, .platform, .changes, .excel, .final-cta, .section { padding: 72px 0; }
  .pricing { padding: 72px 0; }
  .plan-price { font-size: 40px; }
  .kpi-value { font-size: 16px; }
  .app-main { padding: 14px 12px; }
  .app-head { flex-direction: column; align-items: flex-start; }
  .window-badge { display: none; }
  .scr-three { grid-template-columns: 1fr; }
  .scr-three > div + div { border-left: 0; border-top: 1px solid var(--line-soft); }
  .scr-table th:nth-child(1), .scr-table td:nth-child(1) { display: none; }
  .timeline li { padding: 20px 18px 20px 66px; }
  .timeline li::before { left: 16px; }
  .contact-card { padding: 24px 18px; }
  .limits { padding: 22px 20px; }
}

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