/*
  The start pages of nanosplit.app (/de, /en, … and / as x-default), written
  by Tools/startpage.py. Built in 2026-10 on the bones of four Relume
  sections (Header 81: text left, phone right · Layout 237: columns of cards
  with icons · Layout 608: numbered steps · FAQ 1: questions that open),
  translated into plain HTML and CSS and dressed in the app's own design
  (CLAUDE.md, "Gestaltung"): navy ink, lavender surfaces, navy by night,
  Plus Jakarta Sans with IBM Plex Mono eyebrows, pills, 18 px cards. The
  gradient sits only where the app allows it: the main button, the dash
  before an eyebrow, one word in the heading.

  Nothing loads from anywhere else: the fonts (subset to Latin, OFL texts
  next to them) and the screenshots (from AppStore/Screenshots, as WebP)
  live in this folder. Japanese falls back to the system font.
*/
@font-face { font-family: "Jakarta"; src: url("/fonts/PlusJakartaSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/fonts/PlusJakartaSans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/fonts/PlusJakartaSans-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/fonts/IBMPlexMono-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: light dark;
  --ink: #0B1A3C; --muted: #5B6480; --ground: #FFFFFF; --card: #FFFFFF; --line: #DCE2F1;
  --surface: #EEF1F9; --panel: #EEF1F9; --accent: #2A6FE0; --shadow: 0 1px 2px rgba(11, 26, 60, .06), 0 8px 24px rgba(11, 26, 60, .08);
  --gradient: linear-gradient(105deg, #19C6F0, #2A6FE0 35%, #D7297A 68%, #FF3F2B);
  --button: linear-gradient(105deg, #1D5BC8, #B8205F 58%, #CF2F1C);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #F4F6FC; --muted: #AAB4D1; --ground: #0B1A3C; --card: #13244D; --line: #24366A;
    --surface: #24366A; --panel: #13244D; --accent: #6E9FF2; --shadow: none;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 500 17px/1.55 "Jakarta", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
section { padding: 72px 0; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.4vw, 68px); line-height: 1.04; font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; font-weight: 800; }
h3 { font-size: 20px; line-height: 1.25; font-weight: 700; }
p { margin: 0; }
.muted { color: var(--muted); }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 34ch; }
.grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* The eyebrow: mono capitals with the gradient dash in front. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px;
  font: 500 15px/1.2 "Plex Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--gradient); flex: none; }

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px;
  border-radius: 999px; font: 700 17px/1 "Jakarta", system-ui, sans-serif; text-decoration: none; white-space: nowrap;
}
.pill.main { background: var(--button); color: #fff; }
.pill.outline { border: 1.5px solid var(--line); color: var(--ink); }
.pill.small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.pill svg { width: 20px; height: 20px; flex: none; }

/* Navbar */
header.bar { padding: 16px 0; }
header.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.bar nav { display: flex; align-items: center; gap: 20px; }
.bar nav a.link { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 700; white-space: nowrap; }
html { scroll-behavior: smooth; }
#faq { scroll-margin-top: 8px; }

/* Hero (Header 81) */
.hero { padding: 40px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; }
.hero h1 { margin-bottom: 20px; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.hero .facts { font-size: 15px; color: var(--muted); }
.phone {
  width: 100%; max-width: 340px; justify-self: center; aspect-ratio: 1206 / 2622; border-radius: 44px; overflow: hidden;
  border: 8px solid var(--ink); box-shadow: 0 30px 60px -20px rgba(11, 26, 60, .35); background: var(--card);
}
@media (prefers-color-scheme: dark) { .phone { border-color: #24366A; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); } }
.phone img { width: 100%; height: 100%; object-fit: cover; }

/* Features (Layout 237) */
.head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.head .lead { margin: 16px auto 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--card); border-radius: 18px; padding: 28px 24px; box-shadow: var(--shadow); }
@media (prefers-color-scheme: dark) { .feature { border: 1px solid var(--line); } }
.feature .icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--surface); display: grid; place-items: center; margin-bottom: 20px;
}
.feature .icon svg { width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 16px; }
.tinted { background: var(--panel); }
@media (prefers-color-scheme: dark) { .tinted { background: #0E1F45; } }

/* Steps (Layout 608), with the expense sheet beside them */
.steps .wrap { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 56px; }
.steps ol { list-style: none; margin: 32px 0 0; padding: 0; }
.steps li { display: flex; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .num { font: 500 15px/1.6 "Plex Mono", ui-monospace, monospace; letter-spacing: .12em; color: var(--muted); flex: none; padding-top: 2px; }
.steps li h3 { margin-bottom: 6px; }
.steps li p { color: var(--muted); font-size: 16px; }

/* FAQ (FAQ 1) */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; font-weight: 700; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 12px; height: 12px; flex: none; margin-right: 4px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 64ch; }

/* Closing call */
.cta { text-align: center; background: var(--card); border-radius: 28px; padding: 56px 24px; box-shadow: var(--shadow); }
@media (prefers-color-scheme: dark) { .cta { border: 1px solid var(--line); } }
.cta img { width: 72px; height: 72px; border-radius: 17px; margin: 0 auto 24px; }
.cta h2 { margin-bottom: 12px; }
.cta .lead { margin: 0 auto 32px; }
.cta .facts { margin-top: 16px; font-size: 15px; color: var(--muted); }

footer { padding: 32px 0 48px; font-size: 15px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--muted); text-decoration: none; }
footer .langs { flex-basis: 100%; gap: 6px 16px; font-size: 14px; }
footer .langs a[aria-current] { color: var(--ink); font-weight: 700; }

@media (max-width: 860px) {
  section { padding: 56px 0; }
  .hero { padding: 16px 0 56px; }
  .hero .wrap, .steps .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero .lead { max-width: none; }
  .phone { max-width: 280px; }
  .steps .phone { order: 2; }
  .features { grid-template-columns: 1fr; }
}
@media (min-width: 861px) and (max-width: 1040px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  header.bar .wrap { gap: 10px; }
  .bar nav { gap: 14px; }
  .pill.small { padding: 0 14px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .hero .actions .pill { width: 100%; }
  .pill { white-space: normal; text-align: center; padding-top: 10px; padding-bottom: 10px; line-height: 1.2; }
}
