/* ==========================================================================
   BreathEase — rak-it-in.de
   Zero-dependency stylesheet. No external fonts, no framework.

   Design idea: the app is the thesis. A live breathing orb inside a device
   frame is the signature; the brand palette is expressed as *motion and
   meaning* (the orb tint, the method rails, the step dots) rather than as a
   flat swatch chart. Coral is the single action colour. Teal is structure and
   the night-sky bands. Mist/lavender are atmosphere. Sage means "done".
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light dark;

  /* Brand anchors (fixed, used to derive roles) */
  --teal: #2E5F66;
  --teal-deep: #1B3B40;
  --teal-night: #12292E;
  --coral: #E88D72;
  --coral-strong: #DE6E4C;
  --coral-ink: #3F1A0E;
  --mist: #7A8BD6;
  --lavender: #A89AC8;
  --sage: #9EBFAE;
  --sage-deep: #5E8973;
  --peach: #F2C4A3;
  --cloud: #F7F9FB;

  /* Functional (kept distinct from brand coral) */
  --error: #C0492E;

  /* Light theme surfaces + ink */
  --bg: #F5F8FA;
  --bg-soft: #EAF0F3;
  --surface: #FFFFFF;
  --surface-2: #F1F5F7;
  --ink: #15323A;
  --ink-soft: #4C646B;
  --ink-faint: #7B8F95;
  --line: rgba(21, 50, 58, 0.12);
  --line-strong: rgba(21, 50, 58, 0.22);
  --focus: var(--coral-strong);

  /* On-dark band ink (hero + download night bands, both themes) */
  --od-ink: #EDF4F5;
  --od-soft: #B7CDD1;
  --od-faint: #85A0A5;
  --od-line: rgba(255, 255, 255, 0.16);
  --od-line-strong: rgba(255, 255, 255, 0.28);
  --od-surface: rgba(255, 255, 255, 0.055);
  --od-surface-2: rgba(255, 255, 255, 0.09);

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* Shadows (teal-tinted, low alpha) */
  --shadow-sm: 0 1px 2px rgba(21, 50, 58, 0.06), 0 2px 6px rgba(21, 50, 58, 0.05);
  --shadow: 0 6px 18px rgba(21, 50, 58, 0.09), 0 2px 6px rgba(21, 50, 58, 0.06);
  --shadow-lg: 0 24px 60px rgba(21, 50, 58, 0.16), 0 8px 20px rgba(21, 50, 58, 0.08);
  --shadow-coral: 0 12px 28px rgba(222, 110, 76, 0.34);

  /* Type */
  --font-display: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", "Cascadia Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* Fluid type scale */
  --fs-display: clamp(2.6rem, 1.6rem + 4.6vw, 4.7rem);
  --fs-h2: clamp(1.85rem, 1.3rem + 2.3vw, 2.9rem);
  --fs-h3: clamp(1.12rem, 1rem + 0.5vw, 1.32rem);
  --fs-lede: clamp(1.06rem, 0.98rem + 0.5vw, 1.28rem);
  --fs-body: 1rem;
  --fs-sm: 0.9rem;
  --fs-xs: 0.78rem;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shell: 1120px;
}

[data-theme="dark"] {
  --bg: #10262B;
  --bg-soft: #16333A;
  --surface: #1A3A40;
  --surface-2: #204750;
  --ink: #E9F1F2;
  --ink-soft: #AAC2C6;
  --ink-faint: #7D989D;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.24);
  --focus: #F2A98F;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 8px 22px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 28px 66px rgba(0, 0, 0, 0.62), 0 10px 24px rgba(0, 0, 0, 0.42);
  --shadow-coral: 0 14px 30px rgba(222, 110, 76, 0.42);
}

/* --------------------------------------------------------------------------
   2. Reset + base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open,
body.modal-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--ink);
}

p { text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

ul, ol { list-style: none; padding: 0; }

input, select, textarea { font: inherit; color: inherit; }

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

::selection { background: var(--coral); color: var(--coral-ink); }

.shell {
  width: min(100% - 2.6rem, var(--shell));
  margin-inline: auto;
}

.section { padding-block: clamp(4rem, 2.6rem + 6vw, 7.5rem); }

/* Section anchors clear the sticky header */
#app, #techniques, #method, #download, #faq { scroll-margin-top: 88px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 200;
  padding: 0.65rem 1.1rem;
  background: var(--coral);
  color: var(--coral-ink);
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* --------------------------------------------------------------------------
   3. Shared type helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.eyebrow-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--coral) 22%, transparent);
  flex: none;
}

.section-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section-head h2 { font-size: var(--fs-h2); }
.section-lede {
  font-size: var(--fs-lede);
  color: var(--ink-soft);
  margin-top: 0.9rem;
  max-width: 42rem;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--r-pill);
  font-weight: 650;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease),
    border-color 0.18s var(--ease), box-shadow 0.18s var(--ease), color 0.18s var(--ease);
  will-change: transform;
}
.button svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }

.button-primary {
  background: var(--coral);
  color: var(--coral-ink);
  box-shadow: var(--shadow-coral);
}
.button-primary:hover { background: var(--coral-strong); }

.button-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.button-ghost:hover { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }

.button-block { width: 100%; }

/* On coral band */
.button-on-coral {
  background: var(--teal-deep);
  color: var(--cloud);
  box-shadow: 0 14px 30px rgba(27, 59, 64, 0.34);
}
.button-on-coral:hover { background: #12292E; }

/* Buttons living inside dark bands */
.hero .button-ghost,
.download-section .button-ghost {
  color: var(--od-ink);
  border-color: var(--od-line-strong);
}
.hero .button-ghost:hover,
.download-section .button-ghost:hover { border-color: var(--od-ink); background: var(--od-surface); }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 0.7rem; flex: none; }
.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 12%, transparent);
  border-radius: var(--r-sm);
}
[data-theme="dark"] .brand-mark { color: var(--sage); background: color-mix(in srgb, var(--sage) 16%, transparent); }
.brand-mark svg { width: 1.5rem; height: 1.5rem; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-wordmark { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.02em; font-size: 1.02rem; }
.brand-by { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }

.desktop-nav { display: flex; gap: 0.35rem; margin-left: 0.6rem; }
.desktop-nav a {
  position: relative;
  padding: 0.5rem 0.8rem;
  font-size: var(--fs-sm);
  font-weight: 550;
  color: var(--ink-soft);
  border-radius: var(--r-xs);
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.desktop-nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.desktop-nav a.active { color: var(--ink); }
.desktop-nav a.active::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
}

.header-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }

.icon-button {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.icon-button:hover { color: var(--ink); border-color: var(--line-strong); }
.icon-button svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .moon-icon { display: none; }
[data-theme="dark"] .theme-toggle .sun-icon { display: none; }
[data-theme="dark"] .theme-toggle .moon-icon { display: block; }

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.5rem 0.7rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.language-toggle:hover { border-color: var(--line-strong); }
.language-current { color: var(--ink); }

.header-cta {
  padding: 0.6rem 1.1rem;
  border-radius: var(--r-pill);
  background: var(--coral);
  color: var(--coral-ink);
  font-weight: 650;
  font-size: var(--fs-sm);
  box-shadow: var(--shadow-coral);
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease);
}
.header-cta:hover { transform: translateY(-2px); background: var(--coral-strong); }

.menu-button { display: none; width: 2.6rem; height: 2.6rem; border-radius: var(--r-sm); border: 1px solid var(--line); position: relative; }
.menu-button span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transform: translate(-50%, -50%) translateY(-4px);
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}
.menu-button span:last-child { transform: translate(-50%, -50%) translateY(4px); }
.menu-button[aria-expanded="true"] span { transform: translate(-50%, -50%) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.8rem 1.3rem 1.4rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.mobile-nav a {
  padding: 0.85rem 0.4rem;
  font-size: 1.05rem;
  font-weight: 550;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-cta { color: var(--coral-strong); font-weight: 700; }

/* --------------------------------------------------------------------------
   6. Hero — teal night, copy + live device orb (the signature)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--od-ink);
  padding-block: clamp(3rem, 2rem + 7vw, 6.5rem);
}
.hero-sky {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(120% 80% at 85% -10%, #26525A 0%, transparent 55%),
    linear-gradient(160deg, #1B3B40 0%, #12292E 60%, #0E2226 100%);
}
.hero-glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
}
.hero-glow-a {
  width: 44vw; height: 44vw; max-width: 560px; max-height: 560px;
  top: -8%; right: -6%;
  background: radial-gradient(circle, var(--mist) 0%, transparent 68%);
}
.hero-glow-b {
  width: 40vw; height: 40vw; max-width: 500px; max-height: 500px;
  bottom: -18%; left: -10%;
  background: radial-gradient(circle, var(--lavender) 0%, transparent 68%);
  opacity: 0.4;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy { max-width: 34rem; }
.hero .eyebrow { color: var(--od-soft); }
.hero h1 {
  color: #fff;
  font-size: var(--fs-display);
  margin-bottom: 1.3rem;
}
.hero h1 span { display: block; }
.hero h1 em {
  display: block;
  font-style: normal;
  background: linear-gradient(100deg, var(--coral) 0%, var(--peach) 62%, var(--lavender) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede { font-size: var(--fs-lede); color: var(--od-soft); margin-bottom: 1.9rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.7rem; }

.hero-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.7rem; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.8rem 0.42rem 0.62rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--od-line);
  background: var(--od-surface);
  color: var(--od-soft);
  font-size: var(--fs-xs);
  font-weight: 600;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.pill svg { width: 1rem; height: 1rem; fill: currentColor; }
.pill:hover { color: #fff; border-color: var(--od-line-strong); background: var(--od-surface-2); transform: translateY(-1px); }

.hero-proof { display: flex; flex-wrap: wrap; gap: 0.4rem 1.3rem; }
.hero-proof span { display: inline-flex; align-items: center; gap: 0.45rem; font-size: var(--fs-sm); color: var(--od-soft); }
.hero-proof svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: var(--sage); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------------------
   7. Device + breathing orb
   -------------------------------------------------------------------------- */
.hero-device-wrap { position: relative; display: grid; place-items: center; }
.device {
  position: relative;
  width: min(340px, 84vw);
  border-radius: 2.4rem;
  padding: 0.7rem;
  background: linear-gradient(155deg, #24474E, #17343A);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  z-index: 1;
}
.device-notch {
  position: absolute;
  top: 0.95rem;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 0.42rem;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.35);
}
.device-screen {
  border-radius: 1.9rem;
  padding: 1.7rem 1.2rem 1.15rem;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(122, 139, 214, 0.16) 0%, transparent 60%),
    linear-gradient(180deg, #0F262B 0%, #123037 100%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 430px;
}

.app-topbar { display: flex; align-items: center; justify-content: space-between; color: var(--od-soft); }
.app-clock { font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.02em; color: var(--od-ink); }
.app-chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--od-soft);
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--od-line); border-radius: var(--r-pill);
}
.app-chip-dot { width: 0.36rem; height: 0.36rem; border-radius: 50%; background: var(--coral); }
.app-batt { width: 1.35rem; height: 0.7rem; border: 1px solid var(--od-faint); border-radius: 2px; position: relative; display: inline-block; }
.app-batt::after { content: ""; position: absolute; right: -3px; top: 50%; transform: translateY(-50%); width: 2px; height: 0.34rem; background: var(--od-faint); border-radius: 0 1px 1px 0; }
.app-batt i { position: absolute; inset: 1px; width: 70%; background: var(--sage); border-radius: 1px; }

/* Orb stage */
.breath-stage {
  --step-color: var(--mist);
  --step-ink: #10262B;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  text-align: center;
}
.orb-field { position: relative; width: 176px; height: 176px; display: grid; place-items: center; }
.orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--step-color) 55%, transparent);
  opacity: 0;
  transition: border-color 0.9s var(--ease);
}
.orb {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, color-mix(in srgb, var(--step-color) 92%, white 8%) 0%,
      var(--step-color) 45%, color-mix(in srgb, var(--step-color) 62%, black 12%) 100%);
  box-shadow:
    0 0 42px color-mix(in srgb, var(--step-color) 62%, transparent),
    inset 0 2px 10px rgba(255, 255, 255, 0.35);
  transition: background 0.9s var(--ease), box-shadow 0.9s var(--ease), transform 0.6s var(--ease);
  animation: orbIdle 6s var(--ease) infinite;
}
.orb-letter {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--step-ink);
  letter-spacing: -0.03em;
  transition: color 0.6s var(--ease);
  pointer-events: none;
}
.breath-copy { display: flex; flex-direction: column; gap: 0.3rem; min-height: 3.2rem; }
#breathName { font-family: var(--font-display); font-weight: 750; font-size: 1.28rem; color: #fff; letter-spacing: -0.02em; }
#breathPrompt { font-size: 0.92rem; color: var(--od-soft); }

/* Idle: gentle "alive" pulse. Running: full breath cycle synced to the step. */
@keyframes orbIdle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}
@keyframes orbBreathe {
  0%   { transform: scale(0.9); }
  40%  { transform: scale(1.16); }   /* inhale */
  55%  { transform: scale(1.16); }   /* hold */
  100% { transform: scale(0.9); }    /* exhale */
}
@keyframes ringPulse {
  0% { transform: scale(0.72); opacity: 0; }
  30% { opacity: 0.7; }
  100% { transform: scale(1.25); opacity: 0; }
}
.breath-stage.is-running .orb {
  animation: orbBreathe 6.2s ease-in-out infinite;
}
.breath-stage.is-running .orb-ring { animation: ringPulse 6.2s ease-in-out infinite; }
.breath-stage.is-running .orb-ring-2 { animation-delay: 0.4s; }
.breath-stage.is-running .orb-ring-3 { animation-delay: 0.8s; }

/* Step dots */
.step-dots { display: flex; gap: 0.5rem; justify-content: center; }
.step-dot {
  --dot-color: var(--mist);
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.step-dot:hover { transform: scale(1.2); }
.step-dot.active {
  background: var(--dot-color);
  transform: scale(1.25);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--dot-color) 26%, transparent);
}

/* Controls */
.app-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.round-control {
  width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--od-line);
  color: var(--od-soft);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.round-control svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.round-control:hover { color: #fff; border-color: var(--od-line-strong); background: var(--od-surface); }

.play-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 1.35rem;
  border-radius: var(--r-pill);
  background: var(--coral);
  color: var(--coral-ink);
  font-weight: 650;
  box-shadow: var(--shadow-coral);
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease);
}
.play-button:hover { transform: translateY(-2px); background: var(--coral-strong); }
.play-button svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }
.play-button .pause-icon { display: none; }
.play-button.is-running .play-icon { display: none; }
.play-button.is-running .pause-icon { display: block; }

.app-footline { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding-top: 0.2rem; border-top: 1px solid var(--od-line); }
.app-timer { font-family: var(--font-mono); font-size: 1.02rem; color: var(--od-ink); letter-spacing: 0.04em; }
.app-hint { font-size: 0.66rem; color: var(--od-faint); text-align: right; line-height: 1.35; max-width: 62%; }

.device-shadow {
  position: absolute;
  bottom: -6%;
  left: 50%;
  transform: translateX(-50%);
  width: 74%;
  height: 40px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.5) 0%, transparent 72%);
  filter: blur(14px);
  z-index: 0;
}

/* --------------------------------------------------------------------------
   8. Stats band — instrument readout
   -------------------------------------------------------------------------- */
.stats-band { background: var(--surface); border-block: 1px solid var(--line); }
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-block: clamp(2rem, 4vw, 3.2rem);
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; text-align: center; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: var(--line);
}
.stat-num { font-family: var(--font-mono); font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); font-weight: 500; color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.stat-label { font-size: var(--fs-sm); color: var(--ink-soft); max-width: 12rem; }

/* --------------------------------------------------------------------------
   9. Benefits
   -------------------------------------------------------------------------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.1rem;
}
.benefit-card {
  padding: 1.7rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.benefit-icon {
  display: grid; place-items: center;
  width: 3rem; height: 3rem;
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--teal) 12%, transparent);
  color: var(--teal);
  margin-bottom: 1.1rem;
}
[data-theme="dark"] .benefit-icon { background: color-mix(in srgb, var(--sage) 16%, transparent); color: var(--sage); }
.benefit-icon svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.benefit-card h3 { font-size: var(--fs-h3); margin-bottom: 0.5rem; }
.benefit-card p { color: var(--ink-soft); font-size: var(--fs-sm); }

/* -------------------------------------------------------------------------
   10. Techniques
   ------------------------------------------------------------------------- */
.techniques-section { background: var(--bg-soft); }
.technique-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1rem;
}
.technique-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-align: left;
  padding: 1.4rem 1.4rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.technique-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--coral) 45%, var(--line)); }
.technique-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.technique-name { font-family: var(--font-display); font-weight: 750; font-size: 1.1rem; letter-spacing: -0.02em; }
.technique-play {
  display: grid; place-items: center;
  width: 1.8rem; height: 1.8rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--coral) 15%, transparent);
  color: var(--coral-strong);
  flex: none;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.technique-play svg { width: 0.8rem; height: 0.8rem; fill: currentColor; }
.technique-card:hover .technique-play { background: var(--coral); color: var(--coral-ink); transform: scale(1.08); }
.technique-pattern { font-family: var(--font-mono); font-size: 0.88rem; color: var(--ink); background: var(--surface-2); padding: 0.4rem 0.6rem; border-radius: var(--r-xs); align-self: flex-start; }
.technique-for { font-size: var(--fs-sm); color: var(--ink-soft); }
.technique-more { margin-top: 1.4rem; color: var(--ink-soft); font-size: var(--fs-sm); }

/* -------------------------------------------------------------------------
   11. Features
   ------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 0.5rem 2.4rem;
}
.feature-card { display: flex; gap: 1rem; padding: 1.35rem 0; border-top: 1px solid var(--line); }
.feature-icon {
  flex: none;
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem;
  border-radius: var(--r-sm);
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 10%, transparent);
}
[data-theme="dark"] .feature-icon { color: var(--sage); background: color-mix(in srgb, var(--sage) 14%, transparent); }
.feature-icon svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 0.28rem; }
.feature-card p { font-size: var(--fs-sm); color: var(--ink-soft); }

/* -------------------------------------------------------------------------
   12. Method — RAK-IT-IN, colours as meaningful rails tied to the orb
   ------------------------------------------------------------------------- */
.method-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.method-intro { position: sticky; top: 96px; }
.method-intro h2 { font-size: var(--fs-h2); }
.method-note {
  display: flex; gap: 0.7rem; align-items: flex-start;
  margin-top: 1.6rem;
  padding: 1rem 1.1rem;
  background: color-mix(in srgb, var(--sage) 15%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--sage) 40%, var(--line));
  border-radius: var(--r);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.method-note svg { flex: none; width: 1.3rem; height: 1.3rem; fill: none; stroke: var(--sage-deep); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; margin-top: 0.1rem; }
[data-theme="dark"] .method-note svg { stroke: var(--sage); }

.method-steps { display: flex; flex-direction: column; gap: 0.7rem; }
.method-row {
  --row-color: var(--mist);
  --row-ink: #10262B;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease), background-color 0.22s var(--ease);
}
.method-row.active {
  border-color: color-mix(in srgb, var(--row-color) 60%, transparent);
  background: color-mix(in srgb, var(--row-color) 10%, var(--surface));
  box-shadow: var(--shadow);
}
.method-tap {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  text-align: left;
  padding: 1rem 1.15rem;
  position: relative;
}
.method-tap::before {
  content: "";
  position: absolute;
  left: 0; top: 0.9rem; bottom: 0.9rem;
  width: 3px;
  border-radius: 3px;
  background: var(--row-color);
  opacity: 0.45;
  transition: opacity 0.22s var(--ease), top 0.22s var(--ease), bottom 0.22s var(--ease);
}
.method-row.active .method-tap::before { opacity: 1; top: 0.55rem; bottom: 0.55rem; }
.method-letter {
  flex: none;
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--row-ink);
  background: var(--row-color);
  letter-spacing: -0.03em;
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.4);
}
.method-body { display: flex; flex-direction: column; gap: 0.15rem; }
.method-name { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; }
.method-desc { font-size: var(--fs-sm); color: var(--ink-soft); }
.method-go {
  margin-left: auto;
  flex: none;
  color: var(--ink-faint);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), color 0.2s var(--ease);
}
.method-go svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.method-tap:hover .method-go { opacity: 1; transform: translateX(0); color: var(--coral-strong); }
.method-row.active .method-go { opacity: 1; transform: translateX(0); }

/* -------------------------------------------------------------------------
   13. Download — night band, conversion anchor
   ------------------------------------------------------------------------- */
.download-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--od-ink);
  background: #12292E;
}
.download-sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 60% at 15% 0%, rgba(122, 139, 214, 0.18) 0%, transparent 55%),
    radial-gradient(80% 60% at 90% 100%, rgba(168, 154, 200, 0.16) 0%, transparent 55%),
    linear-gradient(180deg, #143137 0%, #0F252A 100%);
}
.section-head-invert h2 { color: #fff; }
.section-head-invert .eyebrow { color: var(--od-soft); }
.section-head-invert .section-lede { color: var(--od-soft); }

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 0.9rem;
}
.download-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "glyph meta status" "glyph meta cta";
  align-items: center;
  gap: 0.15rem 1rem;
  text-align: left;
  padding: 1.15rem 1.25rem;
  border-radius: var(--r);
  border: 1px solid var(--od-line);
  background: var(--od-surface);
  color: var(--od-ink);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.download-card:hover { transform: translateY(-3px); border-color: var(--od-line-strong); background: var(--od-surface-2); }
.download-glyph {
  grid-area: glyph;
  display: grid; place-items: center;
  width: 2.9rem; height: 2.9rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  align-self: center;
}
.download-glyph svg { width: 1.6rem; height: 1.6rem; fill: currentColor; }
.download-meta { grid-area: meta; display: flex; flex-direction: column; gap: 0.1rem; }
.download-name { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: #fff; letter-spacing: -0.01em; }
.download-note { font-size: var(--fs-xs); color: var(--od-faint); }
.download-status {
  grid-area: status;
  justify-self: end;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.16rem 0.5rem;
  border-radius: var(--r-pill);
}
.download-status.is-available { color: var(--sage); background: color-mix(in srgb, var(--sage) 20%, transparent); }
.download-status.is-soon { color: var(--peach); background: color-mix(in srgb, var(--peach) 18%, transparent); }
.download-cta {
  grid-area: cta;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: var(--fs-sm);
  font-weight: 650;
  color: var(--coral);
}
.download-cta svg { width: 0.9rem; height: 0.9rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s var(--ease); }
.download-card:hover .download-cta svg { transform: translateX(3px); }
.download-card.is-soon .download-cta { color: var(--od-soft); }

/* No-JS fallback form */
.noscript-form {
  margin-top: 1.6rem;
  max-width: 30rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.4rem;
  border: 1px solid var(--od-line);
  border-radius: var(--r-lg);
  background: var(--od-surface);
}
.noscript-form p { font-size: var(--fs-sm); color: var(--od-soft); }
.noscript-form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: var(--fs-sm); color: var(--od-soft); }
.noscript-form input[type="email"],
.noscript-form select {
  padding: 0.7rem 0.85rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--od-line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.noscript-form .consent-line { flex-direction: row; }

/* -------------------------------------------------------------------------
   14. FAQ
   ------------------------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: 96px; }
.accordion { display: flex; flex-direction: column; }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-item:first-child { border-top: 1px solid var(--line); }
.accordion-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  padding: 1.3rem 0.2rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}
.accordion-icon { position: relative; flex: none; width: 1.1rem; height: 1.1rem; }
.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--coral-strong);
  border-radius: 2px;
  transition: transform 0.24s var(--ease);
}
.accordion-icon::before { width: 1.1rem; height: 2px; transform: translate(-50%, -50%); }
.accordion-icon::after { width: 2px; height: 1.1rem; transform: translate(-50%, -50%); }
.accordion-button[aria-expanded="true"] .accordion-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.accordion-panel { padding: 0 0.2rem 1.4rem; color: var(--ink-soft); max-width: 44rem; }
.accordion-panel[hidden] { display: none; }

/* -------------------------------------------------------------------------
   15. Final CTA — the one coral band
   ------------------------------------------------------------------------- */
.cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(2.6rem, 5vw, 4.4rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--coral) 0%, #EA9E7E 50%, var(--peach) 100%);
  color: var(--coral-ink);
}
.eyebrow-on-coral { color: color-mix(in srgb, var(--coral-ink) 72%, transparent); }
.eyebrow-on-coral .eyebrow-dot { background: var(--coral-ink); box-shadow: 0 0 0 4px rgba(63, 26, 14, 0.18); }
.cta-card h2 { font-size: var(--fs-h2); color: var(--coral-ink); max-width: 20rem; margin: 0 auto 0.9rem; }
.cta-card p { color: color-mix(in srgb, var(--coral-ink) 82%, transparent); max-width: 32rem; margin: 0 auto 1.8rem; font-size: var(--fs-lede); }

/* -------------------------------------------------------------------------
   16. Modal — download email/IP capture
   ------------------------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 1.2rem; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(9, 24, 27, 0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal-panel {
  position: relative;
  width: min(30rem, 100%);
  max-height: calc(100dvh - 2.4rem);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem);
}
.modal:not([hidden]) .modal-panel { animation: modalIn 0.28s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  width: 2.2rem; height: 2.2rem;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--ink-faint);
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.modal-close:hover { color: var(--ink); background: var(--surface-2); }
.modal-close svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.modal-body[hidden] { display: none; }
.modal-glyph {
  display: grid; place-items: center;
  width: 3.2rem; height: 3.2rem;
  border-radius: var(--r);
  background: color-mix(in srgb, var(--teal) 12%, transparent);
  color: var(--teal);
  margin-bottom: 1.1rem;
}
[data-theme="dark"] .modal-glyph { background: color-mix(in srgb, var(--sage) 16%, transparent); color: var(--sage); }
.modal-glyph svg { width: 1.7rem; height: 1.7rem; fill: currentColor; }
.modal-glyph-ok { background: color-mix(in srgb, var(--sage) 20%, transparent); color: var(--sage-deep); }
[data-theme="dark"] .modal-glyph-ok { color: var(--sage); }
.modal-glyph-ok svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.modal-panel h2 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.modal-subtitle { color: var(--ink-soft); font-size: var(--fs-sm); margin-bottom: 1.4rem; }

.field { display: block; margin-bottom: 1rem; }
.field-label { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: 0.4rem; }
.field-input {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--ink);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field-input:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px color-mix(in srgb, var(--coral) 26%, transparent); }

.consent-line { display: flex; gap: 0.6rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--ink-soft); margin-bottom: 1.1rem; cursor: pointer; }
.consent-line input { margin-top: 0.2rem; width: 1.05rem; height: 1.05rem; accent-color: var(--coral-strong); flex: none; }

.form-error { color: var(--error); font-size: var(--fs-sm); font-weight: 600; margin-bottom: 0.9rem; }
.form-error[hidden] { display: none; }

.form-privacy { font-size: var(--fs-xs); color: var(--ink-faint); margin-top: 0.9rem; line-height: 1.5; }
.form-privacy a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }

.modal-success { text-align: left; }
.modal-done { margin-top: 0.8rem; }

/* -------------------------------------------------------------------------
   17. Footer
   ------------------------------------------------------------------------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: clamp(2.6rem, 5vw, 4rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; padding-bottom: 2.2rem; border-bottom: 1px solid var(--line); }
.footer-brand p { color: var(--ink-soft); font-size: var(--fs-sm); max-width: 26rem; margin-top: 1rem; }
.brand-footer { margin-bottom: 0; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.footer-links > div { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links strong { font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; margin-bottom: 0.2rem; }
.footer-links a { color: var(--ink-soft); font-size: var(--fs-sm); transition: color 0.18s var(--ease); }
.footer-links a:hover { color: var(--coral-strong); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; padding-top: 1.6rem; }
.footer-bottom p { font-size: var(--fs-xs); color: var(--ink-faint); }

/* -------------------------------------------------------------------------
   18. Legal pages + confirm + 404
   ------------------------------------------------------------------------- */
.legal-main { padding-block: clamp(2.6rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); }
.legal-shell { width: min(100% - 2.6rem, 56rem); margin-inline: auto; }
.legal-back, .confirm-back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-soft);
  margin-bottom: 1.6rem;
  transition: color 0.18s var(--ease), gap 0.18s var(--ease);
}
.legal-back svg, .confirm-back svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.legal-back:hover, .confirm-back:hover { color: var(--coral-strong); gap: 0.6rem; }
.legal-shell h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); margin-bottom: 0.5rem; }
.legal-intro { color: var(--ink-faint); font-size: var(--fs-sm); margin-bottom: 1.8rem; }
.legal-notice {
  padding: 1.1rem 1.3rem;
  border-radius: var(--r);
  background: color-mix(in srgb, var(--peach) 26%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--peach) 55%, var(--line));
  margin-bottom: 2.4rem;
}
[data-theme="dark"] .legal-notice { background: color-mix(in srgb, var(--peach) 12%, var(--surface)); }
.legal-notice strong { display: block; margin-bottom: 0.3rem; }
.legal-notice p { font-size: var(--fs-sm); color: var(--ink-soft); }
.legal-section { padding-block: 1.5rem; border-top: 1px solid var(--line); }
.legal-section h2 { font-size: 1.25rem; margin-bottom: 0.7rem; }
.legal-section p { color: var(--ink-soft); margin-bottom: 0.7rem; }
.legal-section address { font-style: normal; color: var(--ink-soft); line-height: 1.9; }
.legal-section a { color: var(--coral-strong); text-decoration: underline; text-underline-offset: 2px; }
.legal-definition-list { display: grid; gap: 0.8rem; }
.legal-definition-list > div { display: grid; grid-template-columns: 12rem 1fr; gap: 0.5rem 1rem; }
.legal-definition-list dt { font-weight: 600; color: var(--ink); }
.legal-definition-list dd { color: var(--ink-soft); }

.placeholder {
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: var(--ink-faint);
  background: color-mix(in srgb, var(--peach) 22%, transparent);
  padding: 0.05em 0.35em;
  border-radius: var(--r-xs);
  text-decoration: underline dotted;
  text-underline-offset: 2px;
}

/* Confirm page (post-subscribe, no-JS) */
.confirm-main { min-height: 62vh; display: grid; place-items: center; padding: clamp(2rem, 5vw, 4rem) 1.3rem; }
.confirm-card {
  max-width: 30rem;
  text-align: center;
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.confirm-glyph {
  display: grid; place-items: center;
  width: 3.4rem; height: 3.4rem;
  margin: 0 auto 1.3rem;
  border-radius: 50%;
  color: var(--sage-deep);
  background: color-mix(in srgb, var(--sage) 20%, transparent);
}
[data-theme="dark"] .confirm-glyph { color: var(--sage); }
.confirm-glyph.is-error { color: var(--error); background: color-mix(in srgb, var(--error) 15%, transparent); }
.confirm-glyph svg { width: 1.9rem; height: 1.9rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.confirm-card h1 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.confirm-card p { color: var(--ink-soft); margin-bottom: 1.6rem; }
.confirm-card .button { margin-bottom: 1.2rem; }

/* 404 */
.error-main { min-height: 70vh; display: grid; place-items: center; padding: 3rem 1.3rem; }
.error-card { text-align: center; max-width: 32rem; margin-inline: auto; }
.error-orbit { display: flex; align-items: center; justify-content: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 3rem + 6vw, 7rem); color: var(--ink); margin-bottom: 1rem; letter-spacing: -0.04em; }
.error-orbit i {
  width: clamp(3.4rem, 2.6rem + 5vw, 6rem);
  height: clamp(3.4rem, 2.6rem + 5vw, 6rem);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, var(--mist), var(--lavender));
  box-shadow: 0 0 40px color-mix(in srgb, var(--mist) 50%, transparent);
  animation: orbIdle 6s var(--ease) infinite;
}
.error-card h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); margin-bottom: 0.7rem; }
.error-card p { color: var(--ink-soft); margin-bottom: 1.8rem; }

/* -------------------------------------------------------------------------
   19. Reveal on scroll
   ------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* -------------------------------------------------------------------------
   20. Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .menu-button { display: grid; }
  .header-cta { display: none; }
  .site-header.menu-is-open .mobile-nav,
  body.menu-open .mobile-nav { display: flex; }
  .mobile-nav:not([hidden]) { display: flex; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 40rem; }
  .hero-device-wrap { margin-top: 1rem; order: 2; }

  .method-grid { grid-template-columns: 1fr; }
  .method-intro { position: static; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .section-head { position: static; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 620px) {
  .stats-row { grid-template-columns: 1fr; gap: 1.6rem; }
  .stat + .stat::before { display: none; }
  .stat { padding-top: 1.6rem; border-top: 1px solid var(--line); }
  .stat:first-child { padding-top: 0; border-top: none; }
  .feature-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-links { grid-template-columns: 1fr; }
  .legal-definition-list > div { grid-template-columns: 1fr; gap: 0.2rem; }
  .download-card { grid-template-columns: auto 1fr; grid-template-areas: "glyph meta" "status status" "cta cta"; gap: 0.5rem 0.9rem; }
  .download-status { justify-self: start; }
  .download-cta { justify-self: start; }
}

/* -------------------------------------------------------------------------
   21. Reduced motion
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .orb { animation: none; transform: scale(1.02); }
  .breath-stage.is-running .orb { animation: none; }
  .orb-ring { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Live technique sessions (real rhythm) — orb control + session chrome
   -------------------------------------------------------------------------- */

/* The mode chip doubles as a button; in a technique it returns to RAK-IT-IN. */
button.app-chip { cursor: default; background: none; font: inherit; }
button.app-chip.is-technique { cursor: pointer; color: var(--od-ink); border-color: var(--od-line-strong); }
button.app-chip.is-technique:hover { background: var(--od-surface); }
button.app-chip.is-technique .app-chip-dot { background: var(--step-color, var(--coral)); }
button.app-chip.is-technique .app-chip-label::after {
  content: "\00d7"; margin-left: 0.4rem; font-size: 0.9em; line-height: 1; opacity: 0.7;
}

/* Countdown numerals reuse the orb letter slot, but smaller and mono. */
.orb-letter.is-count {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.9rem;
  letter-spacing: 0;
}

/* In technique mode the JS drives the orb transform directly, so the CSS
   breathing/idle keyframes and the ambient rings step aside to avoid conflict. */
.breath-stage.technique-mode .orb { animation: none; }
.breath-stage.technique-mode.is-running .orb { animation: none; }
.breath-stage.technique-mode .orb-ring { animation: none !important; opacity: 0; }
/* While a pattern is active, strip the preview chrome so the orb stands alone:
   hide the prev/next switches, the RAK-IT-IN step dots, and — in the top bar —
   the cosmetic clock and battery (the technique-name chip stays centered so it
   can still close the session). Everything returns on close. */
.device-screen.is-technique #prevStep,
.device-screen.is-technique #nextStep { display: none; }
.device-screen.is-technique .step-dots { display: none; }
.device-screen.is-technique .app-clock,
.device-screen.is-technique .app-batt { visibility: hidden; }

/* Mute toggle in the footline. */
.sound-toggle {
  display: inline-grid; place-items: center;
  width: 1.9rem; height: 1.9rem; flex: none;
  border-radius: 50%;
  border: 1px solid var(--od-line);
  color: var(--od-soft);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.sound-toggle:hover { color: #fff; border-color: var(--od-line-strong); background: var(--od-surface); }
.sound-toggle svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sound-toggle .sound-off { display: none; }
.sound-toggle.is-muted { color: var(--od-faint); }
.sound-toggle.is-muted .sound-on { display: none; }
.sound-toggle.is-muted .sound-off { display: block; }

@media (prefers-reduced-motion: reduce) {
  .breath-stage.technique-mode .orb { transition-duration: 0.001ms !important; }
}

/* --------------------------------------------------------------------------
   Breathwork section — the signature deep practice (conscious connected)
   -------------------------------------------------------------------------- */
.breathwork-section { background: var(--surface); border-block: 1px solid var(--line); }
.breathwork-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.breathwork-intro h2 { font-size: var(--fs-h2); }
.breathwork-cta { margin-top: 1.6rem; }
.breathwork-cta svg { width: 1.05rem; height: 1.05rem; fill: currentColor; }
.breathwork-safety {
  display: flex; gap: 0.7rem; align-items: flex-start;
  margin-top: 1.4rem;
  padding: 1rem 1.1rem;
  background: color-mix(in srgb, var(--coral) 12%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--coral) 34%, var(--line));
  border-radius: var(--r);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.breathwork-safety svg { flex: none; width: 1.3rem; height: 1.3rem; fill: none; stroke: var(--coral-strong); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; margin-top: 0.1rem; }

.breathwork-points { display: flex; flex-direction: column; gap: 1rem; }
.breathwork-points li {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 1.1rem 1.2rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.breathwork-point-glyph { flex: none; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: color-mix(in srgb, var(--sage) 22%, transparent); }
.breathwork-point-glyph svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: var(--sage-deep); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
[data-theme="dark"] .breathwork-point-glyph svg { stroke: var(--sage); }
.breathwork-point-body { display: flex; flex-direction: column; gap: 0.2rem; }
.breathwork-point-body strong { font-weight: 700; }
.breathwork-point-body span { color: var(--ink-soft); font-size: var(--fs-sm); }

@media (max-width: 820px) {
  .breathwork-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Soundscape picker (in-session) + technique-mode footline layout
   -------------------------------------------------------------------------- */
.sound-picker { position: relative; display: inline-flex; }
.sound-scape svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sound-menu {
  position: absolute;
  bottom: calc(100% + 0.55rem);
  left: 0;
  z-index: 20;
  min-width: 8.5rem;
  padding: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  background: #143138;
  border: 1px solid var(--od-line-strong);
  border-radius: 0.8rem;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}
.sound-option {
  text-align: left;
  padding: 0.5rem 0.7rem;
  border-radius: 0.55rem;
  font-size: 0.82rem;
  color: var(--od-soft);
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.sound-option:hover { background: var(--od-surface); color: var(--od-ink); }
.sound-option.is-active { color: var(--od-ink); font-weight: 650; }
.sound-option.is-active::after { content: " \2713"; color: var(--sage); }

/* Group the two sound controls on the left; timer + hint drift right. */
.device-screen.is-technique .app-footline { justify-content: flex-start; flex-wrap: wrap; row-gap: 0.35rem; }
.device-screen.is-technique .app-footline .app-timer { margin-left: auto; }

/* --------------------------------------------------------------------------
   Science teaser (homepage)
   -------------------------------------------------------------------------- */
.science-teaser { background: var(--bg); }
.science-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.science-copy h2 { font-size: var(--fs-h2); }
.science-link { margin-top: 1.5rem; }
.science-link svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.science-points { display: flex; flex-direction: column; gap: 0.9rem; }
.science-points li {
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  display: flex; flex-direction: column; gap: 0.25rem;
}
.science-points strong { font-weight: 700; }
.science-points span { color: var(--ink-soft); font-size: var(--fs-sm); }
@media (max-width: 820px) { .science-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Article page (the science)
   -------------------------------------------------------------------------- */
.article-main { padding-block: clamp(2.6rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); }
.article-shell { width: min(100% - 2.6rem, 46rem); margin-inline: auto; }
.article-head { margin-top: 1.4rem; }
.article-head h1 { font-size: clamp(2rem, 5vw, 2.9rem); line-height: 1.08; letter-spacing: -0.02em; margin-top: 0.6rem; }
.article-meta { margin-top: 0.7rem; color: var(--ink-faint, var(--ink-soft)); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.08em; }
.article-intro { margin-top: 1.2rem; font-size: clamp(1.08rem, 2vw, 1.24rem); line-height: 1.6; color: var(--ink-soft); }
.article-body { margin-top: 2.2rem; }
.article-section { margin-top: 2rem; }
.article-section h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); letter-spacing: -0.01em; }
.article-section p { margin-top: 0.8rem; line-height: 1.72; }
.article-section p + p { margin-top: 0.9rem; }
.article-note {
  display: flex; gap: 0.7rem; align-items: flex-start;
  margin-top: 2.4rem;
  padding: 1.1rem 1.2rem;
  background: color-mix(in srgb, var(--sage) 15%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--sage) 40%, var(--line));
  border-radius: var(--r);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.article-note svg { flex: none; width: 1.3rem; height: 1.3rem; fill: none; stroke: var(--sage-deep); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; margin-top: 0.1rem; }
[data-theme="dark"] .article-note svg { stroke: var(--sage); }
.article-cta {
  margin-top: 2.6rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg, var(--r));
  text-align: center;
}
.article-cta h2 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
.article-cta p { margin-top: 0.6rem; color: var(--ink-soft); }
.article-cta .button { margin-top: 1.3rem; }

/* [hidden] must win over the sound controls' own display (else they never
   hide: display:flex/inline-grid would otherwise override the UA hidden rule). */
.sound-toggle[hidden] { display: none; }
.sound-menu[hidden] { display: none; }

/* --------------------------------------------------------------------------
   Intention chooser + technique clusters
   -------------------------------------------------------------------------- */
.intention-chooser {
  margin-bottom: 2.4rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.intention-head { display: flex; flex-direction: column; gap: 0.2rem; margin-bottom: 1rem; }
.intention-head strong { font-size: 1.05rem; font-weight: 700; }
.intention-head span { color: var(--ink-soft); font-size: var(--fs-sm); }
.intention-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.intention-chip {
  padding: 0.6rem 1rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--bg);
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.15s var(--ease), border-color 0.15s var(--ease), background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.intention-chip:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--coral) 55%, var(--line));
  background: color-mix(in srgb, var(--coral) 12%, var(--bg));
}

.technique-cluster { margin-top: 2.2rem; }
.technique-cluster:first-of-type { margin-top: 0; }
.technique-cluster-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.technique-cluster-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* --------------------------------------------------------------------------
   Support ("buy me a coffee") — fee-free SEPA donation
   -------------------------------------------------------------------------- */
.support-section { background: var(--surface); border-block: 1px solid var(--line); }
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.support-intro h2 { font-size: var(--fs-h2); }
.support-amount-label { margin-top: 1.6rem; font-weight: 650; font-size: var(--fs-sm); }
.support-amounts { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.7rem; }
.support-amount {
  min-width: 3.4rem;
  padding: 0.55rem 1rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--bg);
  font-weight: 700;
  transition: transform 0.15s var(--ease), border-color 0.15s var(--ease), background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.support-amount:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--coral) 45%, var(--line)); }
.support-amount.is-active { background: var(--coral); color: var(--coral-ink); border-color: var(--coral); }
.support-summary { margin-top: 0.9rem; color: var(--ink-soft); font-size: var(--fs-sm); min-height: 1.2em; }
.support-link { margin-top: 1.3rem; }

.support-method {
  padding: clamp(1.3rem, 3vw, 1.8rem);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.support-method h3 { font-size: 1.15rem; }
.support-method-intro { margin-top: 0.5rem; color: var(--ink-soft); font-size: var(--fs-sm); }
.support-bank { margin-top: 1.2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.support-row { display: flex; flex-direction: column; gap: 0.25rem; }
.support-row dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.support-row dd {
  margin: 0; display: flex; align-items: center; gap: 0.6rem; justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 0.55rem 0.7rem;
}
.support-value { font-family: var(--font-mono); font-size: 0.92rem; word-break: break-all; }
.support-copy {
  flex: none; display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.35rem 0.6rem; border-radius: 0.5rem;
  border: 1px solid var(--line); color: var(--ink-soft);
  font-size: 0.76rem; font-weight: 600;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.support-copy svg { width: 0.95rem; height: 0.95rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.support-copy:hover { color: var(--ink); border-color: var(--ink); }
.support-copy.is-copied { color: var(--sage-deep); border-color: var(--sage); background: color-mix(in srgb, var(--sage) 16%, transparent); }
[data-theme="dark"] .support-copy.is-copied { color: var(--sage); }
.support-copyall { margin-top: 1.1rem; }
.support-soon { margin-top: 1.1rem; color: var(--ink-soft); font-style: italic; }
.support-once { margin-top: 1.1rem; font-size: var(--fs-sm); color: var(--ink-soft); }
.support-disclaimer { margin-top: 0.8rem; font-size: 0.78rem; color: var(--ink-faint, var(--ink-soft)); line-height: 1.5; }

@media (max-width: 820px) { .support-grid { grid-template-columns: 1fr; } }

/* Free/custom amount field (sits inline with the suggested chips) */
.support-custom-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.7rem;
  border-radius: var(--r-pill);
  border: 1px dashed var(--line);
  background: var(--bg);
}
.support-custom-currency { color: var(--ink-soft); font-weight: 700; }
.support-custom {
  width: 4.5rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  padding: 0.55rem 0;
}
.support-custom:focus { outline: none; }
.support-custom-wrap:focus-within { border-style: solid; border-color: color-mix(in srgb, var(--coral) 55%, var(--line)); }
/* Trim number-spinner clutter */
.support-custom::-webkit-outer-spin-button,
.support-custom::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.support-custom { -moz-appearance: textfield; appearance: textfield; }

/* Occasional reminder popup — bottom corner, non-blocking */
.support-reminder {
  position: fixed;
  right: clamp(0.9rem, 3vw, 1.6rem);
  bottom: clamp(0.9rem, 3vw, 1.6rem);
  z-index: 60;
  width: min(22rem, calc(100vw - 1.8rem));
  padding: 1.1rem 1.2rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}
.support-reminder.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.support-reminder-text { margin: 0 1.4rem 0.9rem 0; font-size: var(--fs-sm); line-height: 1.5; }
.support-reminder-actions { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.support-reminder-cta { padding: 0.5rem 0.95rem; font-size: 0.9rem; }
.support-reminder-later {
  border: 0; background: transparent; color: var(--ink-soft);
  font-size: 0.85rem; font-weight: 600; padding: 0.4rem 0.2rem;
}
.support-reminder-later:hover { color: var(--ink); }
.support-reminder-close {
  position: absolute; top: 0.55rem; right: 0.55rem;
  width: 1.9rem; height: 1.9rem; display: inline-grid; place-items: center;
  border: 0; background: transparent; color: var(--ink-soft); border-radius: 0.5rem;
}
.support-reminder-close:hover { color: var(--ink); background: var(--bg); }
.support-reminder-close svg { width: 0.85rem; height: 0.85rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
@media (prefers-reduced-motion: reduce) {
  .support-reminder { transition: opacity 0.2s linear; transform: none; }
  .support-reminder.is-visible { transform: none; }
}

/* Homepage support: continue button + reassurance note */
.support-continue { margin-top: 1.4rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.support-continue svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.support-note {
  align-self: start;
  padding: clamp(1.3rem, 3vw, 1.8rem);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.support-note h3 { font-size: 1.1rem; }
.support-note-list { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.support-note-list li { position: relative; padding-left: 1.6rem; color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.5; }
.support-note-list li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 0.85rem; height: 0.85rem;
  background: no-repeat center/contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%235B8A72' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 10 4 4 8-9'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Support checkout
   -------------------------------------------------------------------------- */
.checkout-main-wrap { padding: clamp(1.6rem, 5vw, 3.4rem) 0 clamp(3rem, 7vw, 5rem); }
.checkout-title { font-size: var(--fs-h1); margin: 1rem 0 1.6rem; }
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 23rem);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}
.checkout-method h2, .checkout-summary h2 { font-size: 1.2rem; margin-bottom: 1rem; }

.checkout-methods { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.5rem; }
.checkout-method-opt {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: var(--r);
  cursor: pointer; transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.checkout-method-opt:has(input:checked) { border-color: color-mix(in srgb, var(--coral) 55%, var(--line)); background: color-mix(in srgb, var(--coral) 8%, var(--bg)); }
.checkout-method-opt input { margin-top: 0.2rem; accent-color: var(--coral); }
.checkout-method-copy { display: flex; flex-direction: column; gap: 0.15rem; }
.checkout-method-copy strong { font-weight: 700; }
.checkout-method-copy small { color: var(--ink-soft); font-size: var(--fs-sm); }

.checkout-panel { margin-top: 0.4rem; }
.checkout-panel[hidden] { display: none; }
.checkout-panel-intro { color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.55; margin-bottom: 1.2rem; }
.checkout-qr-row { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.checkout-qr { background: #fff; padding: 0.7rem; border-radius: 14px; border: 1px solid var(--line); line-height: 0; }
.checkout-qr[hidden] { display: none; }
.checkout-qr svg { width: 172px; height: 172px; display: block; }
.checkout-qr-hint { color: var(--ink-soft); font-size: var(--fs-sm); max-width: 12rem; }

.checkout-summary {
  padding: clamp(1.3rem, 3vw, 1.8rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  position: sticky; top: 6rem;
}
.checkout-line { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.checkout-line-price { font-weight: 700; white-space: nowrap; }
.checkout-freq { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.checkout-freq-title { width: 100%; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.checkout-freq-opt { display: inline-flex; align-items: center; gap: 0.4rem; font-size: var(--fs-sm); cursor: pointer; }
.checkout-freq-opt input { accent-color: var(--coral); }
.checkout-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0 0.3rem; font-size: 1.25rem; font-weight: 800; }
.checkout-per { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.checkout-per[hidden] { display: none; }
.checkout-vat { margin-top: 0.6rem; font-size: 0.8rem; color: var(--ink-soft); }
.checkout-thanks { margin-top: 0.9rem; font-size: var(--fs-sm); color: var(--ink); }

@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; order: -1; }
}
