/* Tokens mirror the app's theme (assets/vue/src/style.css in the ozzie repo, converted to hex).
   Change them together with the Ozzie design system. */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url("../fonts/nunito-latin-600-900.woff2") format("woff2");
}

:root {
  color-scheme: light;

  --surface: #faf8f2;
  --surface-sunk: #f1eee6;
  --hairline: #e5e1d7;
  --ink: #31271c;
  --ink-muted: #6b6052;
  --green: #2c6c47;
  --green-dark: #0e492a;
  --green-ink: #e8f6ec;
  --brown: #885531;
  --ochre: #dfa03c;
  --ochre-ink: #43260a;
  --night: #231b13;
  --night-ink: #ece7df;
  --night-muted: #a59d92;
  --night-line: #3a2f24;

  --font-display: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-box: 0.75rem;
  --radius-field: 0.5rem;
  --page: 72rem;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-right: max(16px, env(safe-area-inset-right, 0px));
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Below a short page's footer the html background shows; it matches the footer. */
html { background: var(--night); }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 0.18em; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.25rem, 5.5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0; }

.wrap {
  max-width: var(--page);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-right);
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown);
}

.lead { font-size: 1.25rem; color: var(--ink-muted); max-width: 38rem; }

.num { font-variant-numeric: tabular-nums; }

/* Unresolved launch decisions: visible on purpose so none ships by accident. */
.todo {
  background: #fff3c4;
  outline: 1px dashed var(--ochre);
  border-radius: 3px;
  padding: 0 0.2em;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-field);
  border: 1px solid var(--green);
  font: 700 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.btn-primary { background: var(--green); color: var(--green-ink); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--green-ink); }
.btn-outline { background: transparent; color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--green-ink); }
.btn-large { min-height: 3.25rem; padding-inline: 1.75rem; font-size: 1.0625rem; }

/* ── Header ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font: 800 1.5rem/1 var(--font-display);
  letter-spacing: 0.01em;
}
.brand img { width: 2rem; height: auto; align-self: center; }
.brand:has(.brand-sub) { align-items: baseline; }
.brand-sub { font-weight: 600; color: var(--ink-muted); }
.brand:hover { color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.975rem; }
.site-nav a:not(.btn):hover { color: var(--green); }
.site-header .wrap { position: relative; }
.nav-menu { display: none; margin-left: auto; }
.nav-menu summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-field);
  color: var(--ink);
}
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu[open] summary { background: var(--surface-sunk); }
.nav-menu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem var(--gutter-right) 1.25rem var(--gutter);
  background: var(--surface);
  border-bottom: 1px solid var(--hairline);
  box-shadow: 0 16px 24px -16px rgb(49 39 28 / 0.25);
  max-height: calc(100dvh - 4rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nav-menu-panel p { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brown); padding-top: 1rem; }
.nav-menu-panel p:first-child { padding-top: 0.25rem; }
.nav-menu-panel a:not(.btn) {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.nav-menu-panel .btn { margin-top: 0.75rem; }
@media (max-width: 760px) {
  .site-nav { display: none; }
  .nav-menu { display: block; }
}

/* ── Screenshot frame ────────────────────────────────── */
.shot {
  margin: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-box);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 1px 2px rgb(49 39 28 / 0.06), 0 12px 32px -12px rgb(49 39 28 / 0.18);
}
.shot img { width: 100%; }

/* Tablet bezel for the hero only. */
.tablet {
  padding: clamp(8px, 1.4vw, 16px);
  background: var(--night);
  border-radius: calc(var(--radius-box) * 2.2);
  box-shadow: 0 30px 60px -30px rgb(35 27 19 / 0.55);
}
.tablet .shot { border: 0; box-shadow: none; border-radius: var(--radius-box); }

/* ── Hero ────────────────────────────────────────────── */
.hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
.hero .wrap { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.hero-copy { display: grid; gap: 1.25rem; max-width: 46rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 0.5rem; }
.hero-note { color: var(--ink-muted); font-size: 0.95rem; }
.hero h1 em { font-style: normal; color: var(--green); }

/* ── Sections ────────────────────────────────────────── */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-sunk { background: var(--surface-sunk); }
.section-head { display: grid; gap: 0.75rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 44rem; }

/* ── A day with Ozzie (signature band) ───────────────── */
.day {
  background: var(--night);
  color: var(--night-ink);
}
.day .eyebrow { color: var(--ochre); }
.day .lead { color: var(--night-muted); }
.day-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem 2.5rem;
  position: relative;
}
.day-step { display: grid; gap: 0.85rem; align-content: start; position: relative; }
.day-time {
  justify-self: start;
  font: 800 1.05rem/1 var(--font-display);
  font-variant-numeric: tabular-nums;
  color: var(--ochre-ink);
  background: var(--ochre);
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
}
.day-step h3 { color: #fff; }
.day-step .shot { order: -1; }
.day-step .day-time { margin-top: 0.25rem; }
.day-step p { color: var(--night-muted); font-size: 0.975rem; }
.day-step .shot { border-color: var(--night-line); box-shadow: none; }
@media (max-width: 720px) {
  .day-steps { grid-template-columns: minmax(0, 1fr); }
}

/* ── Features ────────────────────────────────────────── */
.features { display: grid; gap: clamp(3rem, 7vw, 5rem); }
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.feature:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature:nth-child(even) .feature-copy { order: 2; }
.feature-copy { display: grid; gap: 0.75rem; }
.feature-copy p { color: var(--ink-muted); }
.feature-copy ul { margin: 0.25rem 0 0; padding-left: 1.1rem; color: var(--ink-muted); }
.feature-copy li + li { margin-top: 0.3rem; }
.feature-copy li::marker { color: var(--green); }
@media (max-width: 820px) {
  .feature, .feature:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .feature:nth-child(even) .feature-copy { order: 0; }
}

/* ── Facts grid (stable / Switzerland) ───────────────── */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-box);
  overflow: hidden;
}
.fact { background: var(--surface); padding: 1.5rem; display: grid; gap: 0.4rem; align-content: start; }
.fact strong { font: 800 1.15rem/1.25 var(--font-display); }
.fact p { color: var(--ink-muted); font-size: 0.975rem; }
.fact .figure {
  font: 800 2rem/1 var(--font-display);
  color: var(--green);
  font-variant-numeric: tabular-nums;
}

/* ── Pricing ─────────────────────────────────────────── */
.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.price-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-box);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--surface);
  display: grid;
  gap: 1rem;
  align-content: start;
}
.price-card.featured { border: 2px solid var(--green); }
.price { display: flex; align-items: baseline; gap: 0.4rem; flex-wrap: wrap; }
.price .amount { font: 800 3rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.price .unit { color: var(--ink-muted); }
.price-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.price-card li { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: 0.5rem; }
.price-card li::before { content: "✓"; color: var(--green); font-weight: 800; }
.price-card .small { color: var(--ink-muted); font-size: 0.925rem; }
@media (max-width: 820px) {
  .pricing { grid-template-columns: minmax(0, 1fr); }
}

/* ── FAQ ─────────────────────────────────────────────── */
.faq { display: grid; gap: 0.75rem; max-width: 48rem; }
.faq details {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-box);
  background: var(--surface);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.25rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 800 1.25rem/1 var(--font-display); color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details > p { padding: 0 1.25rem 1.1rem; color: var(--ink-muted); }

/* ── Demo form ───────────────────────────────────────── */
.demo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.demo-copy { display: grid; gap: 1rem; }
.demo-copy ol { margin: 0; padding-left: 1.2rem; color: var(--ink-muted); display: grid; gap: 0.4rem; }
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-box);
  background: var(--surface);
}
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field .optional { font-weight: 400; color: var(--ink-muted); }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid #cfc8ba;
  border-radius: var(--radius-field);
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .privacy { color: var(--ink-muted); font-size: 0.875rem; }
@media (max-width: 820px) {
  .demo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .form { grid-template-columns: minmax(0, 1fr); }
}

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  background: var(--night);
  color: var(--night-muted);
  padding-block: 2.5rem;
  font-size: 0.925rem;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.site-footer a { color: var(--night-ink); }
.site-footer .brand { color: var(--night-ink); font-size: 1.25rem; }
.site-footer .brand img { width: 1.6rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ── Plain text pages (Impressum, Datenschutz, Danke) ── */
.prose { max-width: 42rem; display: grid; align-content: start; gap: 1rem; padding-block: clamp(3rem, 7vw, 5rem); }
.prose h2 { font-size: 1.4rem; margin-top: 1rem; }

/* ── User guide ──────────────────────────────────────── */
.guide-hero { padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem; display: grid; gap: 1rem; }
.guide {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding-bottom: 5rem;
}
.toc {
  position: sticky;
  top: 5rem;
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
  font-size: 0.925rem;
  display: grid;
  gap: 1.25rem;
  padding-right: 0.5rem;
}
.toc p { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brown); margin-bottom: 0.4rem; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.toc a { display: block; padding: 0.3rem 0.6rem; border-radius: var(--radius-field); color: var(--ink); text-decoration: none; }
.toc a:hover { background: var(--surface-sunk); color: var(--green); }
.chapters { display: grid; gap: 4.5rem; min-width: 0; }
.chapter { display: grid; gap: 1.25rem; }
.chapter > header { display: grid; gap: 0.6rem; padding-bottom: 1rem; border-bottom: 1px solid var(--hairline); }
.chapter > header p { color: var(--ink-muted); max-width: 44rem; }
.chapter h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.chapter h3 { margin-top: 0.5rem; }
.chapter > p, .chapter > ul { max-width: 44rem; }
.chapter ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.35rem; }
.who {
  justify-self: start;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--green-dark);
  background: #e3efe6;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
}
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.1rem; max-width: 44rem; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.75rem; }
.steps > li::before {
  content: counter(step);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--green-ink);
  font: 800 0.95rem/2rem var(--font-display);
  text-align: center;
}
.steps > li > div { display: grid; gap: 0.35rem; padding-top: 0.2rem; }
.ui {
  font-weight: 700;
  white-space: nowrap;
  background: var(--surface-sunk);
  border: 1px solid var(--hairline);
  border-radius: 0.35rem;
  padding: 0 0.35em;
}
.tip {
  max-width: 44rem;
  border: 1px solid #ecd3a6;
  background: #fbf3e4;
  border-radius: var(--radius-box);
  padding: 0.9rem 1.1rem;
  display: grid;
  gap: 0.25rem;
}
.tip strong { color: var(--brown); }
.chapter figure.shot { max-width: 52rem; }
.chapter figcaption { padding: 0.6rem 0.9rem; font-size: 0.875rem; color: var(--ink-muted); border-top: 1px solid var(--hairline); }
.terms { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.5rem 1.25rem; max-width: 44rem; margin: 0; }
.terms dt { font-weight: 700; }
.terms dd { margin: 0; color: var(--ink-muted); }
.terms.states { align-items: center; row-gap: 0.75rem; }
.terms dt.state { display: flex; align-items: center; gap: 0.6rem; }
.terms dt.state img { width: 34px; height: 34px; flex: none; border-radius: 999px; }
@media (max-width: 900px) {
  .guide { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; max-height: none; border: 1px solid var(--hairline); border-radius: var(--radius-box); padding: 1rem; }
}
/* The header menu lists the chapters from here down. */
@media (max-width: 760px) {
  .toc { display: none; }
}
@media (max-width: 520px) {
  .terms { grid-template-columns: minmax(0, 1fr); }
  .terms dd { margin-bottom: 0.5rem; }
}
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; max-width: 52rem; }
.flow span:not(.pill) {
  border: 1px solid var(--hairline);
  background: var(--surface);
  border-radius: var(--radius-field);
  padding: 0.45rem 0.8rem;
  font-weight: 700;
}
.flow i { font-style: normal; color: var(--brown); font-weight: 800; }
.flow-label { font-size: 0.875rem; color: var(--ink-muted); }

/* Status pills in the app's own colours (daisyUI badge tones, see the Ozzie design system). */
.pill {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.pill-neutral { background: #382e24; color: #ece7df; }
.pill-info { background: #3bacda; color: #002a45; }
.pill-warning { background: #f0b135; color: #5b2c00; }
.pill-error { background: #db4241; color: #ffedec; }
.pill-success { background: #47aa62; color: #003019; }

.help-box {
  display: grid;
  gap: 0.75rem;
  max-width: 44rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-box);
  background: var(--surface-sunk);
}
.help-box h2 { font-size: 1.4rem; }
.help-box .btn { justify-self: start; }
.help-alt { color: var(--ink-muted); font-size: 0.95rem; }

/* Storage tiers under the price cards */
.storage { display: grid; gap: 0.75rem; margin-top: clamp(2.5rem, 6vw, 3.5rem); max-width: 60rem; }
.storage > p { color: var(--ink-muted); max-width: 44rem; }
.tiers { margin-top: 0.75rem; }
.tiers .fact strong { font-size: 1rem; }
