/* Cash Runway Simulator — landing. Identity "Rajatuled": stone paper, night slate, lagoon, runway yellow,
   airfield sign pairs and dashed runway centre lines. Fonts are served from this site. */

@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/space-grotesk-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/space-grotesk-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --stone: #f2f0eb;
  --card: #ffffff;
  --sunk: #e7e3da;
  --ink: #1c2230;
  --ink-soft: #2a3242;
  --soft: #555c69;
  --line: #d8d3c8;
  --lagoon: #0e7c86;
  --lagoon-dark: #0a5f67;
  --light: #f2b705;
  --light-tint: #fcefc4;
  --brick: #c8412e;
  --brick-dark: #a3321f;
  --on-ink: #e9ecf1;
  --on-ink-soft: #a9b1bf;
  --display: "Space Grotesk", "Segoe UI", Arial, sans-serif;
  --text: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--stone); color: var(--ink); font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lagoon-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--light); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; overflow-wrap: anywhere; hyphens: auto; }
h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.small { font-size: 0.9rem; color: var(--soft); }
.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 { position: absolute; left: 12px; top: -60px; background: var(--light); color: var(--ink); padding: 10px 16px; z-index: 10; font-weight: 600; }
.skip:focus { top: 12px; }

/* Runway centre line: dashes on night slate */
.runway-line { height: 14px; background: var(--ink); background-image: repeating-linear-gradient(90deg, var(--light) 0 26px, transparent 26px 42px); background-size: 100% 4px; background-repeat: no-repeat; background-position: 0 3px; }

/* Airfield sign pair */
.signs { display: inline-flex; align-items: stretch; margin: 0 0 18px; font-family: var(--mono); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em; line-height: 1; max-width: 100%; }
.sign-num { display: inline-flex; align-items: center; justify-content: center; min-width: 2.6em; padding: 0.55em 0.7em; background: var(--ink); color: var(--light); box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 5px var(--light); font-family: var(--mono); font-weight: 600; }
.sign-dir { display: inline-flex; align-items: center; gap: 0.6em; padding: 0.55em 0.9em; background: var(--light); color: var(--ink); overflow-wrap: anywhere; }
.arrow { font-family: var(--text); font-weight: 600; }
.kicker { font-family: var(--mono); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; color: var(--lagoon-dark); margin-bottom: 10px; }

/* Header */
.top { background: var(--ink); color: var(--on-ink); position: relative; z-index: 2; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--card); text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.15rem; min-height: 44px; }
.brand:hover { color: var(--light); }
.nav { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0; padding: 0; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--on-ink); text-decoration: none; font-weight: 600; font-size: 0.98rem; border-radius: 4px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--ink-soft); color: var(--card); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--light); }

/* Hero */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.hero .lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 28px 0 22px; }
.text-link { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.text-link.light { color: var(--light); }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--mono); font-size: 0.9rem; color: var(--soft); }
.facts li::before { content: ""; display: inline-block; width: 14px; height: 4px; background: var(--light); margin-right: 8px; vertical-align: middle; }
.play { display: inline-flex; align-items: stretch; text-decoration: none; color: var(--ink); min-height: 56px; }
.play-num { display: inline-flex; align-items: center; padding: 0 14px; background: var(--ink); color: var(--light); font-family: var(--mono); font-weight: 600; box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 5px var(--light); }
.play-text { display: inline-flex; flex-direction: column; justify-content: center; padding: 6px 18px; background: var(--light); line-height: 1.15; }
.play-small { font-size: 0.8rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em; }
.play-big { font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
a.play:hover .play-text { background: #ffd23d; }
.play-soon { cursor: default; }
.play-soon .play-text { background: var(--light-tint); }
.hero-shot { position: relative; padding-left: 44px; }
.lights { position: absolute; left: 10px; top: 24px; bottom: 0; width: 8px; background-image: repeating-linear-gradient(180deg, var(--light) 0 22px, transparent 22px 40px); }
.shot { margin: 0; background: var(--ink); padding: 8px 8px 0; border-radius: 26px 26px 0 0; }
.shot img { border-radius: 19px 19px 0 0; width: 100%; }
.shot-hero { max-width: 400px; }

/* Approach steps */
.approach { background: var(--ink); color: var(--on-ink); padding: 64px 0; }
.band-title { color: var(--card); margin-bottom: 32px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: none; }
.steps li { border-top: 4px dashed var(--light); padding-top: 18px; }
.steps h3 { color: var(--card); margin: 16px 0 8px; font-size: 1.3rem; }
.steps p { color: var(--on-ink-soft); margin: 0; }

/* Features */
.features { padding: 80px 0 32px; }
.section-title { margin-bottom: 40px; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 56px; align-items: start; padding: 48px 0; border-top: 1px solid var(--line); }
.feature-flip { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
.feature-flip .feature-text { order: 2; }
.feature .shot { max-width: 360px; justify-self: center; }
.points { list-style: none; padding: 0; margin: 16px 0 0; }
.points li { padding: 6px 0 6px 30px; position: relative; border-bottom: 1px dashed var(--line); }
.points li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 18px; height: 4px; background: var(--lagoon); }

/* Example */
.example { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 72px 0; }
.example-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.table-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 0.98rem; }
.compare th, .compare td { padding: 12px 10px; text-align: right; border-bottom: 1px solid var(--sunk); }
.compare thead th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--soft); border-bottom: 2px solid var(--ink); }
.compare thead th:nth-child(2) { color: var(--lagoon-dark); }
.compare thead th:nth-child(3) { color: var(--brick-dark); }
.compare tbody th { text-align: left; font-family: var(--text); font-weight: 400; color: var(--soft); }
.compare td:nth-child(3) { color: var(--brick-dark); font-weight: 600; }

/* More */
.more { padding: 72px 0 24px; }
.more-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; border: 2px solid var(--ink); }
.more-grid > div { padding: 22px; border-right: 1px solid var(--line); background: var(--card); }
.more-grid > div:last-child { border-right: 0; }
.more-grid dt { font-family: var(--display); font-weight: 700; font-size: 1.15rem; margin-bottom: 8px; }
.more-grid dd { margin: 0; color: var(--soft); }

/* FAQ */
.faq { padding: 64px 0 72px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-weight: 600; position: relative; min-height: 44px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-family: var(--mono); font-size: 1.4rem; color: var(--lagoon-dark); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0 0 18px; color: var(--ink-soft); }

/* Final CTA */
.final { background: var(--ink); color: var(--on-ink); padding: 64px 0; }
.final h2 { color: var(--card); max-width: 22em; }

/* Inner pages */
.page { padding: 56px 0 80px; }
.page .lead { font-size: 1.15rem; color: var(--ink-soft); }
.help-steps { list-style: none; padding: 0; margin: 32px 0; }
.help-steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; padding: 20px 0; border-top: 1px dashed var(--line); }
.help-steps .sign-num { align-self: start; }
.help-steps h2 { font-size: 1.3rem; margin-bottom: 6px; }
.help-steps p { margin: 0; }
.sub { margin-top: 40px; font-size: 1.6rem; }
.contact-box { margin-top: 40px; background: var(--card); border: 2px solid var(--ink); padding: 24px; }
.contact-box h2 { font-size: 1.4rem; }
.mail { font-family: var(--mono); font-size: 1.1rem; overflow-wrap: anywhere; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }

/* Footer */
.foot { background: var(--ink); color: var(--on-ink-soft); }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 28px; padding-bottom: 36px; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-name { margin: 0; color: var(--card); font-family: var(--display); font-weight: 700; }
.foot-small { margin: 0; font-size: 0.88rem; }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; }
.foot-links a { color: var(--on-ink); display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.foot-links a:hover { color: var(--light); }

@media (max-width: 960px) {
  .hero-grid, .example-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-shot { max-width: 420px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature, .feature-flip { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feature-flip .feature-text { order: 0; }
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .more-grid > div { border-bottom: 1px solid var(--line); }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 48px; }
  .steps, .more-grid { grid-template-columns: minmax(0, 1fr); }
  .more-grid > div { border-right: 0; }
  .hero-shot { padding-left: 28px; }
  .lights { left: 4px; }
  .nav a { padding: 0 9px; }
  .compare { font-size: 0.86rem; }
  .compare th, .compare td { padding: 10px 6px; }
  .help-steps li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

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