/* Fonts, self hosted (latin subset). The fallback face keeps line breaks stable while the web font loads. */
@font-face { font-family: "Geist Fallback"; src: local("Arial"); size-adjust: 102.7%; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 600; font-stretch: 100%; font-display: swap; src: url("/assets/fonts/archivo-latin.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/assets/fonts/geist-latin.woff2") format("woff2"); }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/dm-mono-400-latin.woff2") format("woff2"); }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/dm-mono-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Oxanium"; font-style: normal; font-weight: 500 600; font-display: swap; src: url("/assets/fonts/oxanium-latin.woff2") format("woff2"); }

/* Kaloside website. Tokens first: change the accent here and the whole site follows. */
:root {
  --bg: #f7f7f7;
  --ink: #1a1a1a;
  --paper: #fdfdfc;
  --white: #ffffff;
  --grey: #686868;
  --line: #e6e6e6;
  --line-card: #ececec;
  --accent: #0f6b52;
  --accent-band: #0b5d47;
  --accent-soft: #7fd8b4;
  --accent-tint: #e2f1eb;
  --on-dark-muted: rgba(255, 255, 255, 0.65);
  --ok: #1f9d61;
  --f-head: "Archivo", Arial, system-ui, sans-serif;
  --f-body: "Geist", "Geist Fallback", Arial, system-ui, sans-serif;
  --f-mono: "DM Mono", "Courier New", Consolas, monospace;
  --f-digit: "Oxanium", "DM Mono", monospace;
  --radius: 4px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 0 24px; position: relative; }

/* The two vertical guide lines that frame the page */
.guides { position: fixed; inset: 0; pointer-events: none; z-index: 3; }
.guides::before, .guides::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(140, 140, 140, 0.16);
}
.guides::before { left: calc(50% - 640px); }
.guides::after { right: calc(50% - 640px); }
@media (max-width: 1320px) { .guides { display: none; } }

/* Type */
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 500; letter-spacing: -0.005em; }
.h1 { font-size: 76px; line-height: 80px; }
.h2 { font-size: 40px; line-height: 48px; }
.h3 { font-size: 24px; line-height: 32px; font-weight: 600; }
.h4 { font-size: 28px; line-height: 36px; }
.lead { font-size: 20px; line-height: 28px; color: var(--grey); }
.eyebrow {
  font-family: var(--f-mono); font-size: 14px; line-height: 20px; font-weight: 400;
  text-transform: uppercase; color: var(--accent); letter-spacing: 0.01em;
}
.on-dark .eyebrow { color: var(--accent-soft); }
.digit { font-family: var(--f-digit); font-weight: 500; font-size: 34px; line-height: 32px; color: var(--accent); letter-spacing: 0.01em; }
.accent { color: var(--accent); }
.on-dark .accent { color: var(--accent-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 12px 32px; border-radius: var(--radius);
  font-family: var(--f-mono); font-size: 14px; line-height: 22px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap;
  border: 1px solid transparent; transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--accent); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); border-color: #e6e9ee; }
.btn-light:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-ghost { color: var(--paper); border-color: #e6e9ee; }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }
.btn-accent { background: var(--accent); color: var(--paper); min-height: 40px; padding: 8px 24px; }
.btn-accent:hover { background: var(--ink); }
.btn-block { width: 100%; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 14px; line-height: 22px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--accent);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--accent-soft); }

/* Header: a floating white bar */
.header {
  position: fixed; z-index: 20; top: 32px; left: 50%; transform: translateX(-50%);
  width: min(1212px, calc(100% - 32px));
  background: var(--white); border: 1px solid #efefef; border-radius: var(--radius);
  box-shadow: 0 30px 50px -22px rgba(26, 26, 26, 0.16);
}
.header-bar { height: 66px; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 600; font-size: 21px; letter-spacing: -0.01em; }
.logo svg { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-family: var(--f-mono); font-size: 14px; text-transform: uppercase; letter-spacing: 0.02em; transition: color .15s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius); align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; content: ""; }
.burger span::before { position: absolute; top: -5px; }
.burger span::after { position: absolute; top: 5px; }
.mobile-nav { display: none; }
@media (max-width: 1240px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header { top: 12px; }
  .header-bar { height: 58px; padding: 0 14px; }
  .logo { font-size: 18px; }
  .logo svg { width: 26px; height: 26px; }
  .btn-accent { padding: 8px 14px; }
  .header.open .mobile-nav { display: block; border-top: 1px solid var(--line); padding: 8px 14px 16px; }
  .mobile-nav a { display: block; padding: 12px 4px; font-family: var(--f-mono); font-size: 14px; text-transform: uppercase; border-bottom: 1px solid var(--line); }
  .mobile-nav a:last-child { border-bottom: 0; }
}

/* Sections */
.section { padding: 128px 0; border-top: 1px solid var(--line); position: relative; }
.section-dark { background: var(--ink); color: var(--paper); border-top: 0; }
.section-head { text-align: center; max-width: 1000px; margin: 0 auto 64px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head p:not(.eyebrow) { margin-top: 16px; }
.section-foot { text-align: center; margin-top: 48px; }
.card { background: var(--white); border: 1px solid var(--line-card); border-radius: var(--radius); }

/* Hero */
.hero { padding: 200px 0 80px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid #dcdcdc; border-radius: var(--radius);
  font-family: var(--f-mono); font-size: 12px; line-height: 16px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--grey); background: var(--paper);
}
.tag i { width: 8px; height: 8px; background: var(--accent); display: block; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .hl-line { display: block; min-height: 1.06em; white-space: nowrap; }
.hl { background: var(--accent); color: var(--paper); padding: 0 0.1em 0.02em; display: inline-block; line-height: 1.05; }
.hl.typing::after { content: ""; display: inline-block; width: 3px; height: 0.78em; background: var(--paper); margin-left: 4px; vertical-align: baseline; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero .lead { max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.footnote { font-family: var(--f-mono); font-size: 14px; line-height: 20px; text-transform: uppercase; color: var(--grey); margin-top: 28px; }
.hero-visual { text-align: center; }
.hero-visual svg { width: 100%; height: auto; max-width: 480px; margin: 0 auto; }
.hero-visual p { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.02em; text-transform: uppercase; color: var(--accent); margin-top: 8px; }

/* Industry strip (where a logo wall would sit) */
.strip { padding: 36px 0; border-top: 1px solid var(--line); }
.strip ul { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.strip li { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-head); font-weight: 600; font-size: 19px; color: #6b6b6b; letter-spacing: -0.005em; }
.strip svg { width: 26px; height: 26px; stroke: #6b6b6b; }

/* Approach (dark) */
.split { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.split-copy .eyebrow { margin-bottom: 44px; }
.split-copy h2 { margin-bottom: 20px; }
.split-copy .btn { margin-top: 28px; }
.on-dark .lead { color: var(--on-dark-muted); }
.layers { display: grid; gap: 24px; }
.layer { border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--radius); padding: 40px; display: grid; grid-template-columns: 1fr auto; gap: 24px; }
.layer .eyebrow { margin-bottom: 20px; }
.layer h3 { margin-bottom: 12px; }
.layer .lead { margin-bottom: 16px; }
.layer-icon { width: 64px; height: 64px; stroke: var(--accent-soft); }

/* Numbered cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.num-card { padding: 40px; }
.num-card .digit { margin-bottom: 28px; display: block; }
.num-card h3 { margin-bottom: 12px; }
.num-card p { font-size: 20px; line-height: 28px; }
.stack { display: grid; gap: 24px; }
.problem-close { text-align: center; margin-top: 36px; }
.problem-close strong { display: block; font-weight: 600; }

/* Operators block */
.partner { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr); gap: 40px; }
.partner-dark { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 44px; display: flex; flex-direction: column; }
.partner-dark h3 { font-size: 32px; line-height: 40px; font-weight: 500; margin-bottom: 20px; }
.partner-dark p { color: var(--on-dark-muted); margin-bottom: 20px; }
.partner-dark .btn { margin-top: auto; }
.partner-cards { display: grid; gap: 40px; }
.icon-card { padding: 44px; }
.icon-card svg { width: 40px; height: 40px; stroke: var(--accent); margin-bottom: 36px; }
.icon-card h4 { margin-bottom: 12px; }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.phase { display: grid; grid-template-columns: 130px 1fr; padding: 32px 0; border-bottom: 1px solid var(--line); }
.phase:first-child { padding-top: 0; }
.phase:last-child { border-bottom: 0; padding-bottom: 0; }
.phase h3 { font-size: 28px; line-height: 36px; font-weight: 500; margin-bottom: 12px; }
.phase h3 span { color: var(--grey); }
.baseline { padding: 48px 56px; max-width: 524px; justify-self: center; width: 100%; }
.baseline h3 { font-family: var(--f-mono); font-weight: 500; font-size: 26px; line-height: 34px; color: #10362b; margin-bottom: 28px; letter-spacing: 0; }
.baseline dl { margin: 0 0 24px; }
.baseline dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; font-family: var(--f-mono); font-size: 20px; color: #10362b; }
.baseline dt { font-weight: 400; }
.baseline dd { margin: 0; font-weight: 500; font-size: 14px; text-transform: uppercase; color: var(--accent); background: var(--accent-tint); padding: 2px 10px; border-radius: 2px; white-space: nowrap; }
.baseline small { display: block; font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; color: var(--grey); margin-bottom: 28px; letter-spacing: 0.03em; }

/* Dark feature block with the illustrated screen */
.feature { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 48px; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.feature .eyebrow { margin-bottom: 12px; }
.feature h2 { margin-bottom: 20px; }
.feature .lead { margin-bottom: 28px; }
.mock { background: #f1eee6; color: var(--ink); border-radius: var(--radius); font-family: var(--f-mono); font-size: 11px; line-height: 16px; overflow: hidden; }
.mock-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #dedace; }
.mock-dots { display: flex; gap: 5px; }
.mock-dots i { width: 7px; height: 7px; border-radius: 50%; background: #e0654f; }
.mock-dots i:nth-child(2) { background: #e5b53c; }
.mock-dots i:nth-child(3) { background: #58b46c; }
.mock-title { color: #5e5a50; font-size: 12px; }
.mock-flag { margin-left: auto; border: 1px solid #cfcabd; border-radius: 3px; padding: 1px 8px; text-transform: uppercase; font-size: 9px; letter-spacing: 0.06em; color: #5e5a50; }
.mock-body { padding: 16px 18px 18px; }
.mock-tabs { display: flex; gap: 14px; text-transform: uppercase; font-size: 9px; letter-spacing: 0.06em; color: #6a6558; margin-bottom: 14px; align-items: center; flex-wrap: wrap; }
.mock-tabs b { background: var(--ink); color: var(--paper); border-radius: 10px; padding: 1px 10px; font-weight: 500; }
.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.mock-kpi { background: #faf8f3; border-radius: 3px; padding: 9px 10px; }
.mock-kpi span { display: block; text-transform: uppercase; font-size: 8px; letter-spacing: 0.06em; color: #6a6558; }
.mock-kpi b { font-family: var(--f-body); font-size: 18px; line-height: 24px; font-weight: 600; }
.mock-rows { display: grid; gap: 6px; }
.mock-row { display: grid; grid-template-columns: 1.1fr 1.5fr auto; gap: 10px; align-items: center; background: #faf8f3; border-radius: 3px; padding: 9px 10px; }
.mock-row small { display: block; font-size: 9px; color: #6a6558; text-transform: uppercase; letter-spacing: 0.04em; }
.mock-row .inv { color: #3d3a33; }
.pill { font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; padding: 2px 8px; border-radius: 10px; white-space: nowrap; font-weight: 500; }
.pill-ok { background: var(--accent); color: var(--paper); }
.pill-review { background: #f6dfa4; color: #5a4300; }
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #dedace; color: #5e5a50; font-size: 10px; }
.mock-bar b { background: var(--ink); color: var(--paper); border-radius: 3px; padding: 5px 12px; text-transform: uppercase; font-size: 9px; letter-spacing: 0.06em; font-weight: 500; white-space: nowrap; }

/* Proof */
.proof { max-width: 804px; margin: 0 auto; }
.proof-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 40px; }
.proof-tile { padding: 28px 32px; }
.proof-tile .eyebrow { color: var(--accent); margin-bottom: 14px; }
.proof-tile b { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-size: 22px; line-height: 30px; font-weight: 500; }
.proof-tile b i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(31, 157, 97, 0.15); flex: none; }
.proof-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.proof-case { padding: 4px 32px; border-left: 1px solid var(--line); }
.proof-case:first-child { border-left: 0; padding-left: 0; }
.proof-case .eyebrow { color: var(--grey); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.proof-case .eyebrow svg { width: 26px; height: 26px; stroke: var(--ink); }
.proof-case h3 { font-size: 18px; line-height: 26px; font-weight: 600; margin-bottom: 8px; }

/* Label cards (private equity) */
.label-card { padding: 32px; }
.label-card .eyebrow { margin-bottom: 24px; }
.label-card h3 { font-weight: 500; margin-bottom: 14px; }
.label-card p:not(.eyebrow) { font-size: 20px; line-height: 28px; color: var(--grey); }

/* Industry cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ind-card { padding: 32px; display: flex; flex-direction: column; }
.ind-card > svg { width: 32px; height: 32px; stroke: var(--accent); margin-bottom: 28px; }
.ind-card h3 { font-weight: 500; margin-bottom: 14px; }
.ind-card > p { margin-bottom: 28px; }
.ind-card ul { margin-top: auto; border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 10px; }
.ind-card li { font-family: var(--f-mono); font-size: 13px; line-height: 18px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--accent); display: flex; gap: 10px; }
.ind-card li::before { content: ""; width: 6px; height: 6px; background: var(--accent); margin-top: 6px; flex: none; }

/* Process list */
.process-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.process { display: grid; grid-template-columns: 76px 1fr; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.process h3 { font-size: 22px; line-height: 30px; font-weight: 500; margin-bottom: 6px; }
.process p { color: var(--grey); }
.process .digit { font-size: 27px; }

/* Security */
.security { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.security-copy { position: sticky; top: 140px; }
.security-copy .eyebrow { margin-bottom: 24px; }
.security-copy h2 { margin-bottom: 20px; }
.security-copy p:not(.eyebrow) { font-size: 20px; line-height: 28px; margin-bottom: 28px; }
.sec-card { padding: 36px 40px; }
.sec-card .digit { display: block; margin-bottom: 20px; }
.sec-card h3 { margin-bottom: 12px; }
.sec-card p { font-size: 20px; line-height: 28px; }

/* Thesis band */
.thesis { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 64px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.thesis h2 { font-weight: 600; margin-bottom: 24px; }
.thesis p { color: rgba(255, 255, 255, 0.78); margin-bottom: 14px; max-width: 600px; }
.thesis-side { text-align: center; }
.thesis-side svg { width: 100%; max-width: 320px; margin: 0 auto 20px; }
.thesis-side .eyebrow { margin-bottom: 24px; }

/* Engagement band (accent) */
.engage { background: var(--accent); color: var(--paper); border-radius: var(--radius); padding: 64px; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.engage .eyebrow { color: rgba(255, 255, 255, 0.85); margin-bottom: 12px; }
.engage h2 { margin-bottom: 16px; }
.engage p.lead { color: rgba(255, 255, 255, 0.85); max-width: 640px; margin-bottom: 28px; }
.engage svg { width: 170px; height: 150px; }

/* FAQ */
.faq { padding: 12px 32px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 8px; font-family: var(--f-head); font-size: 20px; line-height: 28px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 36px; height: 36px; border-radius: 50%; position: relative; transition: background-color .15s ease; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .15s ease; }
.faq details[open] summary { color: var(--accent); }
.faq details[open] summary i { background: var(--accent-tint); }
.faq details[open] summary i::before { background: var(--accent); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); background: var(--accent); }
.faq details p { padding: 0 72px 28px 8px; max-width: 1040px; }

/* Closing band and footer */
.cta-band { background: var(--accent-band); color: var(--paper); padding: 124px 0; text-align: center; position: relative; }
.cta-band h2 { font-size: 76px; line-height: 80px; max-width: 1040px; margin: 0 auto 28px; }
.cta-band p { font-size: 20px; line-height: 28px; max-width: 900px; margin: 0 auto 32px; }
.footer { background: var(--accent-band); color: var(--paper); border-top: 1px solid rgba(255, 255, 255, 0.18); padding: 80px 0 48px; position: relative; overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-links a, .footer-contact { font-family: var(--f-mono); font-size: 14px; text-transform: uppercase; letter-spacing: 0.02em; }
.footer-links a:hover, .footer-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-contact { color: rgba(255, 255, 255, 0.82); margin-bottom: 48px; }
.footer-contact a { color: var(--paper); }
.wordmark { font-family: var(--f-head); font-weight: 500; font-size: clamp(72px, 17.5vw, 236px); line-height: 0.92; letter-spacing: -0.035em; margin: 0 0 40px -0.04em; position: relative; z-index: 1; }
.footer-legal { font-size: 14px; line-height: 20px; position: relative; z-index: 1; }
.footer-legal span { display: block; color: rgba(255, 255, 255, 0.82); }
.footer-step { position: absolute; right: 0; bottom: 0; width: 34%; max-width: 490px; height: 290px; pointer-events: none; }
.footer-step i { position: absolute; bottom: 0; background: var(--paper); display: block; }
.footer-step i:first-child { left: 0; width: 50%; height: 34%; }
.footer-step i:last-child { right: 0; width: 50%; height: 100%; }

/* Company page */
.page-hero { padding: 200px 0 0; position: relative; overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 56px; padding-bottom: 96px; }
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 { font-size: 64px; line-height: 72px; margin-bottom: 28px; }
.page-hero .lead + .lead { margin-top: 20px; }
.page-hero-step { position: absolute; right: 0; bottom: 0; width: 38%; height: 76%; pointer-events: none; }
.page-hero-step i { position: absolute; bottom: 0; background: var(--accent-band); display: block; }
.page-hero-step i:first-child { left: 0; width: 50%; height: 56%; }
.page-hero-step i:last-child { right: 0; width: 50%; height: 100%; }
.fact-band { background: var(--accent-band); padding: 72px 0; position: relative; }
.fact { padding: 28px 32px; }
.fact .digit { display: block; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.fact b { font-family: var(--f-head); font-size: 20px; line-height: 28px; font-weight: 500; display: block; }
.fact span:not(.digit) { color: var(--grey); font-size: 15px; }
.contact-card { padding: 56px; text-align: center; max-width: 804px; margin: 0 auto; }
.contact-card .mail { font-family: var(--f-head); font-size: 40px; line-height: 48px; font-weight: 500; color: var(--accent); display: inline-block; margin: 8px 0 28px; word-break: break-word; }
.prose-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; max-width: 1000px; margin: 0 auto; }
.prose-2 p { font-size: 20px; line-height: 30px; }

/* Responsive */
@media (max-width: 1100px) {
  .h1, .cta-band h2 { font-size: 60px; line-height: 64px; }
  .hero-grid, .split, .partner, .roadmap, .feature, .security, .thesis, .page-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .security-copy { position: static; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero-step { display: none; }
  .hero-visual svg { max-width: 420px; }
  .split-copy .eyebrow { margin-bottom: 20px; }
  .baseline { justify-self: stretch; max-width: none; }
}
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .hero { padding: 116px 0 56px; }
  .page-hero { padding: 116px 0 0; }
  .page-hero-grid { padding-bottom: 56px; }
  .page-hero h1 { font-size: 40px; line-height: 46px; }
  .h1 { font-size: 39px; line-height: 44px; }
  .h2 { font-size: 30px; line-height: 36px; }
  .h4 { font-size: 24px; line-height: 30px; }
  .cta-band { padding: 80px 0; }
  .cta-band h2 { font-size: 38px; line-height: 44px; }
  .lead, .num-card p, .sec-card p, .label-card p:not(.eyebrow), .security-copy p:not(.eyebrow), .cta-band p, .prose-2 p { font-size: 17px; line-height: 25px; }
  .section-head { margin-bottom: 40px; }
  .hero-actions .btn { width: 100%; }
  .footnote { font-size: 12px; }
  .strip ul { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .strip li { font-size: 15px; gap: 8px; }
  .strip svg { width: 20px; height: 20px; }
  .grid-3, .grid-2, .grid-4, .proof-tiles, .proof-cases, .process-list, .prose-2 { grid-template-columns: minmax(0, 1fr); }
  .stack, .grid-3, .grid-2, .grid-4, .partner-cards, .proof-tiles { gap: 16px; }
  .partner { gap: 16px; }
  .num-card, .sec-card, .icon-card, .label-card, .ind-card, .partner-dark { padding: 28px 24px; }
  .layer { padding: 28px 24px; grid-template-columns: 1fr; }
  .layer-icon { width: 44px; height: 44px; order: -1; }
  .phase { grid-template-columns: 64px 1fr; }
  .phase h3 { font-size: 22px; line-height: 30px; }
  .baseline { padding: 28px 24px; }
  .baseline h3 { font-size: 21px; line-height: 28px; }
  .baseline dl div { font-size: 15px; }
  .feature, .thesis, .engage { padding: 32px 24px; }
  .engage { grid-template-columns: 1fr; }
  .engage svg { display: none; }
  .mock-kpis { grid-template-columns: repeat(2, 1fr); }
  .mock-row { grid-template-columns: 1fr auto; }
  .mock-row .inv { display: none; }
  .mock-bar { flex-direction: column; align-items: flex-start; }
  .proof-case { border-left: 0; padding: 24px 0 0; border-top: 1px solid var(--line); margin-top: 24px; }
  .proof-case:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
  .process { grid-template-columns: 56px 1fr; padding: 22px 0; }
  .faq { padding: 4px 16px; }
  .faq summary { font-size: 17px; line-height: 24px; padding: 20px 4px; }
  .faq details p { padding: 0 4px 22px; }
  .footer { padding: 56px 0 40px; }
  .footer-top { flex-direction: column; margin-bottom: 32px; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
  .footer-step { width: 40%; height: 120px; opacity: 0.9; }
  .footer-legal { max-width: 56%; }
  .contact-card { padding: 36px 24px; }
  .contact-card .mail { font-size: 26px; line-height: 34px; }
  .fact-band { padding: 40px 0; }
  .btn { white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* Spanish hero: longer words, slightly smaller headline */
.h1-es { font-size: 60px; line-height: 66px; }
@media (max-width: 760px) { .h1-es { font-size: 31px; line-height: 38px; } }

/* Small screens: keep the header button on one line, let the screen title wrap cleanly */
.btn-accent { white-space: nowrap; }
@media (max-width: 760px) {
  .mock-top { flex-wrap: wrap; row-gap: 8px; }
  .mock-flag { margin-left: 0; }
}
.logo svg { flex: none; }
@media (max-width: 760px) { .btn-accent svg { display: none; } }

/* ---- Production additions ---- */
.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; }
.mt-40 { margin-top: 40px; }
.mb-16 { margin-bottom: 16px; }
.mb-28 { margin-bottom: 28px; }
.no-top { border-top: 0; }
.narrow { max-width: 1000px; margin: 0 auto; }
.narrow-card { max-width: 640px; margin: 0 auto; }
.tl { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.tl:hover { color: var(--ink); }
.on-dark :focus-visible, .section-dark :focus-visible, .cta-band :focus-visible, .footer :focus-visible, .engage :focus-visible, .partner-dark :focus-visible, .fact-band :focus-visible { outline-color: var(--white); }

/* Industry strip and cards as links */
.strip a { display: inline-flex; align-items: center; gap: 12px; transition: color .15s ease; }
.strip a:hover { color: var(--ink); }
.strip a:hover svg { stroke: var(--ink); }
.ind-card h3 a:hover, .label-card h3 a:hover { color: var(--accent); }
.ind-card .link-arrow { margin-top: 24px; }
.label-card .link-arrow { margin-top: 24px; }

/* Footer groups */
.footer-top { flex-direction: column; gap: 20px; }

/* Breadcrumb */
.crumbs { margin-bottom: 20px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; font-family: var(--f-mono); font-size: 14px; line-height: 20px; text-transform: uppercase; letter-spacing: 0.01em; color: var(--accent); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--grey); }
.crumbs a { color: var(--grey); }
.crumbs a:hover { color: var(--accent); }

/* Inner page heroes */
.page-hero .hero-actions { margin-top: 32px; }
.page-hero-plain { padding-bottom: 72px; }
.page-hero-plain h1, .page-hero-plain .lead { max-width: 900px; }
.fact h3 { font-family: var(--f-head); font-size: 20px; line-height: 28px; font-weight: 500; margin-bottom: 6px; }
.fact p { color: var(--grey); font-size: 15px; line-height: 22px; }
.notfound { padding-bottom: 128px; }
.notfound-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 40px; }

/* Calculator */
.field { display: grid; gap: 8px; }
.field label { font-family: var(--f-mono); font-size: 13px; line-height: 18px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink); }
.field input { width: 100%; height: 52px; padding: 0 14px; border: 1px solid #8c8c8c; border-radius: var(--radius); background: var(--white); color: var(--ink); font-family: var(--f-mono); font-size: 18px; font-weight: 500; }
.field input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-color: var(--accent); }
.field .hint { font-size: 14px; line-height: 20px; color: var(--grey); }
.calc-entry { padding: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.calc-entry .eyebrow { margin-bottom: 12px; }
.calc-entry h2 { margin-bottom: 16px; }
.calc-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; }
.calc-mini .btn { grid-column: 1 / -1; }
.calc-section { padding-top: 0; }
.calc { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.calc-form { padding: 40px; display: grid; gap: 22px; }
.calc-result { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: 40px; }
.calc-result h2 { margin-bottom: 8px; }
.calc-note { color: var(--on-dark-muted); font-size: 14px; line-height: 20px; margin-bottom: 20px; }
.calc-result dl { margin: 0; }
.calc-result dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.calc-result dt { font-family: var(--f-mono); font-size: 14px; text-transform: uppercase; letter-spacing: 0.02em; color: var(--on-dark-muted); }
.calc-result dd { margin: 0; font-family: var(--f-digit); font-weight: 500; font-size: 34px; line-height: 36px; font-variant-numeric: tabular-nums; min-width: 6ch; text-align: right; }
.calc-auto { margin-top: 28px; padding: 24px 24px 8px; border: 1px solid var(--accent-soft); border-radius: var(--radius); }
.calc-auto dd { color: var(--accent-soft); }
.calc-auto dl div:last-child { border-bottom: 0; }
.calc-example { font-size: 14px; line-height: 22px; color: var(--grey); }
.calc-example .tag { margin-right: 8px; color: var(--ink); }
.formula { padding: 32px 40px; max-width: 1000px; margin: 0 auto 56px; display: grid; gap: 10px; font-family: var(--f-mono); font-size: 16px; line-height: 24px; }
.formula b { font-weight: 500; color: var(--accent); }
.band-mail { text-decoration: underline; text-underline-offset: 4px; }
.engage-steps h3 span { display: block; font-family: var(--f-mono); font-size: 14px; line-height: 20px; font-weight: 400; text-transform: uppercase; color: var(--grey); margin-top: 4px; }
.calc-after { color: rgba(255, 255, 255, 0.78); margin: 24px 0; }
.prose-2 h3 { margin-bottom: 10px; }
.process .digit { line-height: 30px; }

@media (max-width: 1100px) {
  .calc-entry, .calc { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 760px) {
  .calc-entry, .calc-form, .calc-result { padding: 28px 24px; }
  .formula { padding: 24px; font-size: 14px; line-height: 22px; margin-bottom: 40px; }
  .calc-mini { grid-template-columns: minmax(0, 1fr); }
  .calc-result dd { font-size: 28px; }
  .page-hero-plain { padding-bottom: 48px; }
  .notfound { padding-bottom: 72px; }
  .page-hero .hero-actions .btn { width: 100%; }
}
