/* ============================================================
   Temper - temper.clearpointstudios.at
   Night dive: deep blue-black water, lumen accent (#5FE8CF).
   Type: Archivo (expanded) for plates, Familjen Grotesk for reading,
   Azeret Mono for readouts. Self hosted, no third party font host.
   Zone ramp: the fast descends from dusk gold into alien bioluminescence.
   Palette mirrors the app constitution (DESIGN.md).
   ============================================================ */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/assets/fonts/archivo-latin-ext.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: 'Archivo';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/assets/fonts/archivo-latin.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: 'Familjen Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/familjen-grotesk-latin-ext.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: 'Familjen Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/familjen-grotesk-latin.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: 'Azeret Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/azeret-mono-latin-ext.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: 'Azeret Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/assets/fonts/azeret-mono-latin.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;
}

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

/* ---- Anti-copy / anti-save guard ----
   Text nicht markierbar, Bilder nicht per Long-Press/Drag speicherbar.
   Echte Eingabefelder bleiben bewusst selektierbar. */
html {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
input, textarea, select, [contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
img, picture {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
  pointer-events: none;
}

:root {
  --accent:       #5FE8CF;
  --accent-2:     #5E8BE0;
  --accent-dim:   rgba(95, 232, 207, 0.14);
  --accent-2-dim: rgba(94, 139, 224, 0.12);
  --bg:           #060B14;
  --bg-2:         #0C1622;
  --card:         rgba(106, 194, 253, 0.06);
  --card-border:  #1D2C3D;
  --text:         #EAF3F8;
  --text-2:       #93A9BC;
  --text-3:       #6E8AA1;
  --radius:       18px;
  --radius-lg:    26px;
  --maxw:         1160px;
  --font-display: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body:    'Familjen Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'Azeret Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: 90px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  width: 100%;
  max-width: 100%;
}

/* Subtle film grain over the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main { position: relative; z-index: 2; }

::selection { background: rgba(95, 232, 207, 0.28); color: #fff; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.accent  { color: var(--accent); }
.accent2 { color: var(--accent-2); }

/* Display font for big headings */
.hero h1,
.section-head h2,
.engine-text h2,
.feature-text h3,
.why-inner h2,
.stages-inner h2,
.cta h2,
.article-head h1,
.legal-main h1,
.hub h1,
.prose h2 {
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #03211C;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 24px;
  transition: background .35s var(--ease), backdrop-filter .35s, box-shadow .35s, padding .35s;
}
.nav--scrolled {
  background: rgba(6, 11, 20, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255,255,255,.05);
  padding-top: 10px; padding-bottom: 10px;
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  margin-right: auto;
  text-decoration: none; color: var(--text);
  font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em;
}
.nav-logo img { border-radius: 8px; pointer-events: auto; }
.nav-menu {
  display: flex; gap: 30px;
}
.nav-menu a {
  position: relative;
  text-decoration: none; color: var(--text-2);
  font-size: .92rem; font-weight: 500;
  transition: color .2s;
}
.nav-menu a:hover { color: var(--text); }
.nav-menu a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px;
  height: 2px; border-radius: 2px; background: var(--accent);
  box-shadow: 0 0 10px rgba(95, 232, 207,.5);
  transition: right .3s var(--ease);
}
.nav-menu a.is-active { color: var(--text); }
.nav-menu a.is-active::after { right: 0; }
.nav-cta {
  padding: 9px 20px;
  background: var(--accent);
  color: #03211C;
  text-decoration: none;
  font-weight: 650; font-size: .9rem;
  border-radius: 100px;
  transition: transform .2s var(--ease), box-shadow .2s;
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); background: color-mix(in srgb, var(--accent) 88%, white); }

/* --- Buttons --- */
.store-button {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 26px;
  background: #fff; color: #000;
  text-decoration: none; border-radius: 14px;
  transition: transform .2s var(--ease), box-shadow .25s;
}
.store-button:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(255,255,255,.12); }
.store-button small { display: block; font-size: .68rem; font-weight: 500; opacity: .65; line-height: 1; }
.store-button strong { display: block; font-size: 1.02rem; font-weight: 600; line-height: 1.25; }
.store-button--large { padding: 17px 34px; }
.store-button--large strong { font-size: 1.12rem; }

.ghost-button {
  display: inline-flex; align-items: center;
  padding: 14px 24px;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  color: var(--text); text-decoration: none;
  font-weight: 600; font-size: .95rem;
  background: var(--card);
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.ghost-button:hover {
  border-color: rgba(95, 232, 207,.5);
  background: var(--accent-dim);
  transform: translateY(-2px);
}

/* --- Hero --- */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  gap: 70px;
  padding: 150px 24px 70px;
}
.hero-bg {
  position: absolute; inset: -10% 0 0;
  z-index: 0; pointer-events: none; overflow: hidden;
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .5;
  will-change: transform;
}
.orb--lumen {
  width: 560px; height: 560px;
  top: -180px; left: 10%;
  background: radial-gradient(circle, rgba(95, 232, 207,.22), transparent 65%);
  animation: drift-a 16s ease-in-out infinite;
}
.orb--amber {
  width: 480px; height: 480px;
  top: 40px; right: 4%;
  background: radial-gradient(circle, rgba(94, 139, 224,.16), transparent 65%);
  animation: drift-b 20s ease-in-out infinite;
}
@keyframes drift-a {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(40px,30px) scale(1.08); }
}
@keyframes drift-b {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-50px,40px) scale(1.12); }
}
.hero-ring {
  position: absolute;
  top: 50%; right: -4%;
  width: 620px; height: 620px;
  transform: translateY(-50%);
  display: block;
  opacity: .9;
}
.hero-content { position: relative; z-index: 2; flex: 1; max-width: 540px; }
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.004em;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 1.16rem; color: var(--text-2);
  line-height: 1.65; max-width: 440px; margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 22px;
  margin-top: 30px;
}
.hero-trust li {
  position: relative; color: var(--text-3);
  font-size: .9rem; font-weight: 500; padding-left: 20px;
}
.hero-trust li::before {
  content: ""; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 7px rgba(95, 232, 207,.45);
}

/* --- Screenshots: pre-rendered device mockups + clean cards --- */
.hero-phone {
  position: relative; z-index: 2; flex-shrink: 0;
  will-change: transform; transition: transform .25s var(--ease);
}
.hero-phone .device-shot { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Device mockup: the phone frame is baked into the (transparent) asset, so
   it sits straight on the page with just a drop shadow. No CSS bezel, and
   the image keeps its natural aspect ratio (never cropped/squeezed). */
.device-shot {
  display: block;
  width: 300px; max-width: 100%; height: auto;
  filter:
    drop-shadow(0 28px 50px rgba(0,0,0,.55))
    drop-shadow(0 0 36px rgba(95, 232, 207,.10));
  /* Pure-CSS fade-in. Inline onload is blocked by the CSP (script-src 'self'),
     so visibility must not depend on it. */
  opacity: 1;
  animation: shotIn .55s ease both;
}
.engine-phone .device-shot,
.feature-phone .device-shot { width: 272px; }

/* Clean in-app card (weight, plans): shown at its real aspect ratio inside a
   soft rounded frame, never squeezed into a 9:16 phone shape. */
.card-shot {
  display: block;
  width: 100%; max-width: 430px; height: auto;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 24px 50px rgba(0,0,0,.5),
    0 0 34px rgba(95, 232, 207,.07);
  opacity: 1;
  animation: shotIn .55s ease both;
}
.feature-phone--card { display: flex; justify-content: center; flex: 1; }

@keyframes shotIn { from { opacity: 0; } to { opacity: 1; } }

/* --- Section heads --- */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: .74rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--text-2);
  margin-bottom: 16px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 600; letter-spacing: -0.004em; line-height: 1.12;
}

/* --- Engine deep-dive --- */
.engine { max-width: var(--maxw); margin: 0 auto; padding: 30px 24px 10px; }
.engine-card {
  display: flex; align-items: center; gap: 70px;
  padding: 56px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 80% 0%, rgba(94, 139, 224,.10), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(95, 232, 207,.10), transparent 55%),
    rgba(255,255,255,.018);
}
.engine-text { flex: 1; }
.engine-text h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 600; letter-spacing: -0.004em; line-height: 1.12;
  margin-bottom: 20px;
}
.engine-lead {
  font-size: 1.08rem; color: var(--text-2);
  max-width: 560px; margin-bottom: 38px; line-height: 1.65;
}
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 30px; max-width: 600px; }
.spec { position: relative; padding-left: 18px; }
.spec::before {
  content: ""; position: absolute; left: 0; top: 7px; bottom: 7px;
  width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}
.spec h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 6px; }
.spec p { font-size: .92rem; color: var(--text-3); line-height: 1.5; }
.engine-phone { flex-shrink: 0; }

/* --- Features --- */
.features {
  max-width: var(--maxw); margin: 0 auto;
  padding: 110px 24px 40px;
  display: flex; flex-direction: column; gap: 120px;
}
.feature { display: flex; align-items: center; gap: 80px; }
.feature--reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-text h3 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  font-weight: 600; letter-spacing: -0.004em; line-height: 1.14;
  margin-bottom: 18px;
}
.feature-text p { font-size: 1.05rem; color: var(--text-2); max-width: 400px; }
.feature-phone { flex-shrink: 0; }

/* --- Why section --- */
.why { position: relative; padding: 120px 24px; overflow: hidden; }
.why::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 720px; height: 480px;
  background: radial-gradient(ellipse, rgba(95, 232, 207,.07), transparent 70%);
  pointer-events: none;
}
.why-inner { position: relative; max-width: 860px; margin: 0 auto; text-align: center; }
.why-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600; letter-spacing: -0.004em; margin-bottom: 22px;
}
.why-lead {
  font-size: 1.2rem; color: var(--text-2);
  max-width: 660px; margin: 0 auto 52px; line-height: 1.7;
}
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; text-align: left; }
.why-card { padding-top: 26px; border-top: 1px solid var(--card-border); }
.why-card h3 {
  font-family: var(--font-mono);
  font-size: .74rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 14px;
}
.why-card p { color: var(--text-2); font-size: 1rem; }

/* --- Fasting stages interactive timeline --- */
.stages {
  position: relative;
  padding: 110px 24px;
  overflow: hidden;
}
.stages::before {
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 900px; height: 520px;
  background: radial-gradient(ellipse, rgba(95, 232, 207,.06), transparent 70%);
  pointer-events: none;
}
.stages-inner {
  position: relative;
  max-width: 840px; margin: 0 auto; text-align: center;
}
.stages-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 600; letter-spacing: -0.004em; margin-bottom: 16px;
}
.stages-sub {
  font-size: 1.1rem; color: var(--text-2);
  max-width: 560px; margin: 0 auto 52px;
}

/* Timeline track */
.stages-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0;
  margin-bottom: 36px;
}
.stages-track::before {
  content: "";
  position: absolute;
  top: 17px;
  left: calc(100% / 14 - 4px);
  right: calc(100% / 14 - 4px);
  height: 2px;
  background: var(--card-border);
  border-radius: 2px;
  z-index: 0;
}

/* Progress fill line - JS sets width */
.stages-progress {
  position: absolute;
  top: 17px;
  left: calc(100% / 14 - 4px);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #E8B36B, #6BC5E8, #5E8BE0, #43D97B, #5FE8CF, #9D7BFF, #F074C8);
  transition: width .5s var(--ease);
  z-index: 1;
  pointer-events: none;
}

.stage-dot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  cursor: pointer;
  position: relative;
  z-index: 2;
  padding: 0 4px;
  -webkit-user-select: none;
  user-select: none;
}
.stage-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--card-border);
  background: var(--bg-2);
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2;
}
.stage-dot svg { width: 16px; height: 16px; opacity: .45; transition: opacity .3s; }
.stage-dot-wrap:hover .stage-dot { transform: scale(1.12); }
.stage-dot-wrap.is-active .stage-dot { transform: scale(1.18); }
.stage-dot-wrap.is-active .stage-dot svg { opacity: 1; }

.stage-time {
  font-size: .78rem; font-weight: 600;
  color: var(--text-3);
  transition: color .3s;
}
.stage-dot-wrap.is-active .stage-time { color: var(--text); }

.stage-name-label {
  font-size: .72rem; font-weight: 600;
  color: var(--text-3);
  text-align: center; line-height: 1.3;
  max-width: 80px;
  transition: color .3s;
}
.stage-dot-wrap.is-active .stage-name-label { color: var(--text-2); }

/* Stage info panel */
.stage-panel {
  min-height: 110px;
  padding: 28px 32px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.016);
  text-align: left;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.stage-panel-name {
  font-size: 1.18rem; font-weight: 600;
  margin-bottom: 8px;
  transition: color .4s;
}
.stage-panel-desc {
  font-size: 1rem; color: var(--text-2); line-height: 1.6;
}
.stages-hint {
  font-size: .82rem; color: var(--text-3); margin-top: 20px;
}

/* --- Manifest: what ships free, what Pro adds.
       Rows on hairlines, no boxes, no icon plaques. --- */
.manifest { max-width: 900px; margin: 0 auto; padding: 110px 24px; }
.manifest-inner { display: flex; flex-direction: column; gap: 66px; }
.manifest-label {
  font-family: var(--font-mono);
  font-size: .74rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-2);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--card-border);
}
.manifest-label--pro { color: var(--accent); }
.manifest-row {
  display: grid; grid-template-columns: 220px 1fr; gap: 28px;
  padding: 20px 2px;
  border-bottom: 1px solid var(--card-border);
}
.manifest-row dt {
  font-weight: 500; color: var(--text);
  font-size: 1rem; line-height: 1.4;
}
.manifest-row dd {
  color: var(--text-2); font-size: .95rem; line-height: 1.6;
}

/* --- FAQ --- */
.faq { max-width: 800px; margin: 0 auto; padding: 60px 24px 110px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .25s, background .25s;
}
.faq-item[open] {
  border-color: rgba(95, 232, 207,.32);
  background: rgba(95, 232, 207,.03);
}
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 22px 26px;
  font-size: 1.06rem; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex-shrink: 0;
  font-size: 1.5rem; font-weight: 400; color: var(--accent);
  transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 26px 24px; }
.faq-body p { color: var(--text-2); font-size: 1rem; max-width: 640px; }

/* --- CTA --- */
.cta { position: relative; padding: 40px 24px 130px; overflow: hidden; }
.cta-inner {
  position: relative;
  max-width: 760px; margin: 0 auto; text-align: center;
  padding: 70px 40px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at top, rgba(95, 232, 207,.1), transparent 60%),
    rgba(255,255,255,.018);
  overflow: hidden;
}
.cta-icon { border-radius: 18px; margin-bottom: 26px; }
.cta h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 600; letter-spacing: -0.004em; margin-bottom: 12px; }
.cta p { color: var(--text-2); font-size: 1.1rem; margin-bottom: 34px; }
.cta .store-button { margin: 0 auto; }

/* --- Footer --- */
.footer { position: relative; z-index: 2; border-top: 1px solid var(--card-border); padding: 40px 24px; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 18px;
}
.footer-brand { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.footer-brand img { border-radius: 6px; pointer-events: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: var(--text-3); text-decoration: none; font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { color: var(--text-3); font-size: .82rem; width: 100%; }

/* --- Scroll reveal --- */
[data-animate] {
  opacity: 0; transform: translateY(34px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-animate].visible { opacity: 1; transform: none; }

.specs.visible .spec { animation: rise .6s var(--ease) backwards; }
@keyframes rise { from { opacity:0; transform: translateY(22px); } to { opacity:1; transform:none; } }

/* --- Privacy page --- */
.legal-main {
  position: relative; z-index: 2;
  max-width: 760px; margin: 0 auto;
  padding: 130px 24px 80px;
}
.legal-main h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600; letter-spacing: -0.004em; margin-bottom: 10px;
}
.legal-updated { font-size: .9rem; color: var(--text-3); margin-bottom: 36px; }
.legal-callout {
  padding: 20px 24px;
  border: 1px solid rgba(95, 232, 207,.3);
  border-radius: var(--radius);
  background: rgba(95, 232, 207,.06);
  margin-bottom: 36px;
  font-size: 1rem; line-height: 1.65;
  color: var(--text-2);
}
.legal-callout strong { color: var(--text); }
.legal-main h2 {
  font-size: 1.35rem; font-weight: 600;
  margin: 36px 0 12px;
  color: var(--text);
}
.legal-main p { color: var(--text-2); font-size: 1rem; line-height: 1.75; margin-bottom: 12px; }
.legal-main a {
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid rgba(95, 232, 207,.3); transition: border-color .2s;
}
.legal-main a:hover { border-color: var(--accent); }
/* CTA-Button im Legal-Text: weisser Text auf Akzent, nicht die Akzent-Link-Farbe
   (sonst Akzent-Text auf Akzent-Hintergrund -> unsichtbar). */
.legal-main a.nav-cta { color: #03211C; border-bottom: none; }
.legal-main a.nav-cta:hover { border-bottom: none; }

/* --- 404 page --- */
.error-main {
  position: relative; z-index: 2;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  text-align: center;
}
.error-inner { max-width: 480px; }
.error-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 600; letter-spacing: -0.012em;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 10px;
}
.error-msg { font-size: 1.4rem; font-weight: 600; margin-bottom: 14px; }
.error-sub { color: var(--text-2); margin-bottom: 36px; }

/* --- Responsive --- */
@media (max-width: 920px) {
  .nav-menu { display: none; }
  .hero {
    flex-direction: column; text-align: center;
    gap: 50px; padding-top: 120px; min-height: auto;
  }
  .hero-content { max-width: 100%; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .engine-card {
    flex-direction: column; text-align: center;
    gap: 44px; padding: 40px 28px;
  }
  .engine-lead { margin-left: auto; margin-right: auto; }
  .specs { grid-template-columns: 1fr; text-align: left; max-width: 420px; margin: 0 auto; }
  .feature, .feature--reverse { flex-direction: column; text-align: center; gap: 44px; }
  .feature-text p { max-width: 100%; margin: 0 auto; }
  .features { gap: 90px; padding-top: 80px; }
  .why-grid { grid-template-columns: 1fr; }
  .manifest-row { grid-template-columns: 170px 1fr; gap: 20px; }
  .stage-name-label { display: none; }
  .hero-ring {
    top: 0; right: 50%;
    width: 460px; height: 460px;
    transform: translate(50%, -8%);
    opacity: .35;
  }
}
@media (max-width: 560px) {
  .manifest-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 2px; }
  .device-shot,
  .engine-phone .device-shot,
  .feature-phone .device-shot { width: 240px; }
  .card-shot { max-width: 360px; }
  .cta-inner { padding: 50px 24px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .store-button,
  .hero-actions .ghost-button { justify-content: center; }
  .stage-panel { padding: 20px; }
  .stage-dot { width: 28px; height: 28px; }
  .stage-dot svg { width: 13px; height: 13px; }
}

/* ============================================================
   Learn / Article pages (/learn/)
   ============================================================ */
.article-main { position: relative; z-index: 2; }
.breadcrumb {
  max-width: 760px; margin: 0 auto; padding: 110px 24px 0;
  font-size: .85rem; color: var(--text-3);
}
.breadcrumb a { color: var(--text-3); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 8px; opacity: .5; }

.article { max-width: 760px; margin: 0 auto; padding: 28px 24px 40px; }
.article-head { margin-bottom: 40px; }
.article-head .eyebrow { margin-bottom: 16px; }
.article-head h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem); font-weight: 600;
  letter-spacing: -0.004em; line-height: 1.12; margin-bottom: 18px;
}
.article-head .standfirst { font-size: 1.2rem; color: var(--text-2); line-height: 1.6; }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 20px; font-size: .85rem; color: var(--text-3); }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* prose */
.prose { font-size: 1.08rem; line-height: 1.75; color: var(--text-2); }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; letter-spacing: -0.004em; color: var(--text); margin-top: 2em; line-height: 1.2; }
.prose h3 { font-size: 1.25rem; font-weight: 600; color: var(--text); margin-top: 1.6em; }
.prose p { color: var(--text-2); }
.prose a { color: var(--accent); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); transition: border-color .2s; }
.prose a:hover { border-color: var(--accent); }
.prose strong { color: var(--text); font-weight: 650; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-top: .5em; }
.prose li::marker { color: var(--accent); }
.prose blockquote {
  border-left: 3px solid var(--accent); padding: 4px 0 4px 22px;
  color: var(--text); font-size: 1.15rem; font-style: italic;
}
.prose code {
  background: rgba(255,255,255,.06); border: 1px solid var(--card-border);
  padding: 2px 7px; border-radius: 6px; font-size: .9em;
  font-family: var(--font-mono);
}

/* key-takeaway callout */
.callout {
  margin: 1.8em 0; padding: 22px 24px;
  border: 1px solid var(--card-border); border-radius: var(--radius);
  background: radial-gradient(120% 100% at 0% 0%, rgba(95, 232, 207,.08), transparent 60%), rgba(255,255,255,.02);
}
.callout-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 8px; }
.callout p { margin: 0; color: var(--text); }

/* numbered steps */
.steps { counter-reset: step; list-style: none; padding-left: 0; }
.steps > li { position: relative; padding-left: 52px; margin-top: 1.4em; }
.steps > li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; font-weight: 600; font-size: .95rem;
  color: #03211C; background: var(--accent);
}
.steps > li strong { display: block; color: var(--text); margin-bottom: 2px; }

/* in-article app CTA card */
.app-cta {
  margin: 2.4em 0; padding: 30px;
  border: 1px solid var(--card-border); border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at top right, rgba(95, 232, 207,.12), transparent 60%),
    rgba(255,255,255,.018);
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.app-cta img { width: 60px; height: 60px; border-radius: 14px; flex-shrink: 0; }
.app-cta-text { flex: 1; min-width: 220px; }
.app-cta-text h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 4px; color: var(--text); }
.app-cta-text p { margin: 0; font-size: .95rem; color: var(--text-3); }
.app-cta .store-button { flex-shrink: 0; }

/* related articles */
.related { max-width: 760px; margin: 0 auto; padding: 30px 24px 100px; border-top: 1px solid var(--card-border); }
.related h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: 18px; color: var(--text); }
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.related-card {
  display: block; padding: 20px; border: 1px solid var(--card-border);
  border-radius: var(--radius); text-decoration: none; background: var(--card);
  transition: border-color .25s, transform .25s var(--ease), background .25s;
}
.related-card:hover { border-color: rgba(95, 232, 207,.35); transform: translateY(-3px); background: rgba(255,255,255,.04); }
.related-card .rc-cat { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.related-card h3 { font-size: 1.02rem; font-weight: 600; color: var(--text); margin: 8px 0 0; line-height: 1.3; }

/* learn hub */
.hub { max-width: var(--maxw); margin: 0 auto; padding: 130px 24px 40px; text-align: center; }
.hub h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 600; letter-spacing: -0.004em; margin-bottom: 16px; }
.hub p.lead { font-size: 1.2rem; color: var(--text-2); max-width: 620px; margin: 0 auto; }
.hub-grid { max-width: var(--maxw); margin: 0 auto; padding: 30px 24px 90px; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.hub-card {
  display: flex; flex-direction: column; text-align: left;
  padding: 28px; border: 1px solid var(--card-border); border-radius: var(--radius);
  text-decoration: none; background: rgba(255,255,255,.016);
  transition: border-color .25s, transform .25s var(--ease);
}
.hub-card:hover { border-color: rgba(95, 232, 207,.35); transform: translateY(-4px); }
.hub-card .rc-cat { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.hub-card h2 { font-size: 1.2rem; font-weight: 600; color: var(--text); margin: 10px 0 8px; letter-spacing: -0.01em; line-height: 1.25; }
.hub-card p { font-size: .92rem; color: var(--text-3); line-height: 1.55; margin: 0; flex: 1; }
.hub-card .rc-go { margin-top: 16px; font-size: .9rem; font-weight: 600; color: var(--accent); }

@media (max-width: 760px) {
  .related-grid { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: 1fr; }
  .app-cta { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-animate] { opacity: 1; transform: none; transition: none; }
  .hero-phone .device-shot { animation: none; }
  .device-shot, .card-shot { animation: none; opacity: 1; }
  .orb { animation: none; }
  * { transition-duration: .01ms !important; }
}
