/* WortFlow landing — light palette from the iOS app's `Palette` (HomeView.swift) */
:root {
  --background: #F9F9F0;   /* Palette.background */
  --ink: #17302A;          /* Palette.ink */
  --green: #143B2E;        /* Palette.green */
  --lime: #DEF78F;         /* Palette.lime */
  --lime-soft: #F2FBD3;
  --pale: #E6EDD4;         /* Palette.pale */
  --surface: #FFFFFF;
  --muted: #5E6E68;
  --border: rgba(23, 48, 42, .1);
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.3, 1.4, .5, 1);
  --font: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif;
  --font-ar: "Noto Naskh Arabic", "Geeza Pro", serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55;
  color: var(--ink); background: var(--background); -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.025em; }
[lang="ar"] { font-family: var(--font-ar); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--green); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; font-weight: 800; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(720px, 100% - 32px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 16px 26px; border: 0; border-radius: 16px;
  background: var(--green); color: #fff;
  font: inherit; font-weight: 800; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  box-shadow: 0 10px 24px -12px rgba(20, 59, 46, .6);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(20, 59, 46, .6); }
.btn:active { transform: scale(.97); }
.btn--sm { padding: 10px 16px; border-radius: 12px; font-size: .95rem; box-shadow: none; }

.section-title { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 900; text-align: center; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Nav: flat at the top, a framed floating bar once you scroll ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; pointer-events: none; }
.nav__inner {
  pointer-events: auto;
  display: flex; align-items: center; gap: 20px;
  height: var(--nav-h); margin-top: 0; padding: 0;
  border: 1px solid transparent; border-radius: 0;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), padding .5s var(--ease),
              border-radius .5s var(--ease), background .4s, border-color .4s, box-shadow .5s var(--ease);
}
.nav.is-scrolled .nav__inner {
  width: min(1112px, 100% - 20px);
  height: 60px; margin-top: 10px; padding: 0 8px 0 14px;
  border-radius: 20px; border-color: rgba(20, 59, 46, .14);
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px);
  box-shadow: 0 12px 32px -16px rgba(20, 59, 46, .35), 0 0 0 4px rgba(222, 247, 143, .35);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 1.15rem; }
.brand img { border-radius: 9px; transition: transform .5s var(--spring); }
.nav.is-scrolled .brand img { transform: scale(.88) rotate(-6deg); }
.nav nav { margin-left: auto; }
.nav__links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a { position: relative; display: block; padding: 8px 14px; border-radius: 10px; text-decoration: none; font-weight: 700; color: var(--muted); transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--ink); background: var(--pale); }
.nav__links a.is-active { color: var(--ink); }
.nav__links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 3px; border-radius: 3px;
  background: var(--lime); transform: scaleX(0); transition: transform .35s var(--ease);
}
.nav__links a.is-active::after { transform: scaleX(1); }
.nav .btn--sm { transition: transform .2s var(--ease), padding .5s var(--ease); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: calc(var(--nav-h) + clamp(40px, 8vw, 88px)) 0 clamp(64px, 9vw, 110px);
  background: radial-gradient(min(640px, 90%) 32% at 50% 64%, rgba(222, 247, 143, .55), transparent);
}
.hero__lockup { display: grid; justify-items: center; gap: 22px; }
.tag { font-size: .85rem; font-weight: 800; color: var(--green); background: var(--pale); padding: 7px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(2.7rem, 7vw, 5rem); font-weight: 900; letter-spacing: -.04em; max-width: 16ch; text-wrap: balance; }
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after {
  content: ""; position: absolute; z-index: -1; left: -.08em; right: -.08em; bottom: .06em; height: .38em;
  border-radius: .12em; background: var(--lime);
  transform-origin: left; animation: mark .8s var(--ease) .65s both;
}
@keyframes mark { from { transform: scaleX(0); } }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); max-width: 40ch; }
.hero__lockup > * { animation: rise .9s var(--ease) both; }
.hero__lockup > :nth-child(2) { animation-delay: .08s; }
.hero__lockup > :nth-child(3) { animation-delay: .16s; }
.hero__lockup > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); filter: blur(6px); } }

/* Phone illustration — real iPhone proportions (≈ 9 : 19.5) */
.phone {
  position: relative; width: min(320px, 100% - 64px); aspect-ratio: 320 / 676;
  margin: clamp(48px, 7vw, 72px) auto 0;
  padding: 10px; border-radius: 54px; background: #10201A;
  box-shadow: 0 50px 90px -40px rgba(20, 59, 46, .6), 0 0 0 1px rgba(0,0,0,.06), inset 0 0 0 2px #2A3B34;
  animation: phone-in 1.2s var(--ease) .35s both;
}
@keyframes phone-in { from { opacity: 0; transform: translateY(90px) scale(.94); } }
.phone__screen {
  position: relative; height: 100%; overflow: hidden; display: flex; flex-direction: column; gap: 12px;
  padding: 12px 14px 0; border-radius: 45px; background: var(--background); text-align: left;
}
.phone__status { display: flex; justify-content: space-between; align-items: center; font-size: .75rem; font-weight: 800; padding: 2px 12px 0; }
.phone__island { width: 86px; height: 25px; background: #000; border-radius: 20px; }
.phone__greet { font-size: .78rem; color: var(--muted); font-weight: 700; margin-top: 4px; }
.phone__title { font-size: 1.45rem; font-weight: 900; letter-spacing: -.02em; }

.goal { background: var(--green); color: #fff; border-radius: 24px; padding: 16px; }
.goal__top { display: flex; justify-content: space-between; align-items: flex-start; }
.goal__chip { display: inline-block; font-size: .6rem; font-weight: 900; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.11); }
.goal__num { font-size: 2.1rem; font-weight: 900; letter-spacing: -.02em; margin-top: 6px; line-height: 1; }
.goal__num span { display: inline-block; }
.goal__num span.pop { animation: pop .5s var(--spring); }
@keyframes pop { 40% { transform: scale(1.3); color: var(--lime); } }
.goal__sub { font-size: .8rem; color: rgba(255,255,255,.86); font-weight: 600; }
.goal__leaf { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.09); color: var(--lime); display: grid; place-items: center; transition: background .3s, color .3s; }
.goal__leaf.is-done { animation: leaf 1s ease; background: var(--lime); color: var(--green); }
@keyframes leaf { 30% { transform: rotate(-14deg) scale(1.15); } 60% { transform: rotate(10deg) scale(1.05); } }
.goal__bar { height: 7px; border-radius: 99px; background: rgba(255,255,255,.18); margin-top: 14px; overflow: hidden; }
.goal__bar span { display: block; height: 100%; border-radius: inherit; background: var(--lime); transition: width .7s var(--ease); }
.goal__left { font-size: .75rem; color: rgba(255,255,255,.84); font-weight: 600; margin-top: 8px; }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 14px 16px 16px; text-align: center;
  transition: transform .45s cubic-bezier(.3,.7,.2,1), opacity .45s ease;
}
.card.is-leaving { transform: translateX(-115%) rotate(-9deg); opacity: 0; }
.card.is-entering { transform: translateX(115%) rotate(9deg); opacity: 0; transition: none; }
.card.is-entering .flip__inner { transition: none; }
.card__meta { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; font-weight: 700; color: var(--muted); }
.badge { background: var(--lime); color: var(--green); font-weight: 900; font-size: .7rem; padding: 3px 9px; border-radius: 999px; }
.flip { perspective: 900px; height: 86px; margin-top: 4px; }
.flip__inner { position: relative; height: 100%; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3,.7,.2,1.15); }
.card.is-flipped .flip__inner { transform: rotateY(180deg); }
.flip__face { position: absolute; inset: 0; display: grid; place-content: center; gap: 2px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip__back { transform: rotateY(180deg); }
.card__de { font-size: 1.35rem; font-weight: 900; line-height: 1.15; }
.art { color: var(--muted); font-weight: 700; }
.card__hint { font-size: .68rem; font-weight: 700; color: #8A9993; }
.card__en { font-size: 1.25rem; font-weight: 900; color: var(--green); }
.card__ar { font-family: var(--font-ar); font-size: 1.1rem; color: var(--muted); }
.card__actions { display: flex; gap: 8px; margin-top: 8px; }
.pill { flex: 1; font-size: .78rem; font-weight: 800; padding: 9px; border-radius: 13px; transition: transform .15s ease, background .2s, color .2s; }
.pill--soft { background: var(--pale); }
.pill--dark { background: var(--green); color: #fff; }
.pill--dark.is-pressed { transform: scale(.92); background: var(--lime); color: var(--green); }

.topics__title { font-size: .95rem; font-weight: 900; margin-bottom: 8px; }
.topics__row { display: flex; gap: 8px; }
.topic { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--border); font-size: .78rem; font-weight: 800; }
.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around;
  padding: 12px 10px 22px; background: color-mix(in srgb, var(--background) 92%, transparent);
  border-top: 1px solid var(--border); font-size: .68rem; font-weight: 700; color: #8A9993;
}
.tabbar .on { color: var(--green); font-weight: 900; }

.burst { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.burst i { position: absolute; top: 34%; left: 50%; width: 8px; height: 12px; border-radius: 2px; animation: confetti 1.4s cubic-bezier(.2,.7,.4,1) forwards; }
@keyframes confetti {
  0% { transform: translate(0, 0) rotate(0); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; }
}

/* ---------- Features: cards stack in the middle of the screen ---------- */
.features { --card-h: 400px; padding: clamp(64px, 9vw, 110px) 0 clamp(48px, 7vw, 80px); }
.features .section-title { margin-bottom: clamp(36px, 6vw, 64px); }
.stack { width: min(880px, 100%); margin-inline: auto; display: grid; gap: 30vh; padding-bottom: 8vh; }
.stack__card {
  position: sticky;
  top: calc(max(var(--nav-h) + 24px, 50vh - var(--card-h) / 2) + var(--i, 0) * 14px);
}
.stack__inner {
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: stretch; gap: 12px;
  height: var(--card-h); padding: 12px;
  border-radius: 32px; background: var(--surface); border: 1px solid var(--border);
  box-shadow: 0 -10px 40px -24px rgba(20, 59, 46, .35), 0 24px 50px -36px rgba(20, 59, 46, .45);
  transform-origin: 50% 0; will-change: transform;
  transform: scale(var(--s, 1)); filter: brightness(var(--b, 1));
}
.stack__card--green .stack__inner { background: var(--green); color: #fff; border-color: transparent; }
.stack__card--lime .stack__inner { background: var(--lime); border-color: transparent; }
.stack__text { align-self: center; padding: 20px 24px; }
.stack__n { display: block; font-size: .8rem; font-weight: 900; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.stack__card--green .stack__n { color: var(--lime); }
.stack__text h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 900; margin-bottom: 12px; }
.stack__text p { font-size: 1.05rem; color: var(--muted); max-width: 28ch; }
.stack__card--green .stack__text p { color: rgba(255,255,255,.8); }
.stack__card--lime .stack__text p { color: #3B5248; }
.stack__art {
  position: relative; overflow: hidden; display: grid; place-items: center; align-content: center; gap: 22px;
  border-radius: 24px; background: var(--background);
}
.stack__card--green .stack__art { background: rgba(255,255,255,.06); }
.stack__card--lime .stack__art { background: rgba(255,255,255,.4); }

/* 01 deck: top card flips, gets "Got it", swipes away */
.deck { position: relative; width: 250px; height: 176px; }
.deck__card { position: absolute; inset: 0; border-radius: 22px; background: #fff; border: 1px solid var(--border); box-shadow: 0 18px 36px -24px rgba(20,59,46,.6); }
.deck__card--2 { transform: translateY(14px) scale(.93); background: #fbfcf6; }
.deck__card--3 { transform: translateY(28px) scale(.86); background: #f4f6ec; }
.deck__top { perspective: 900px; border: 0; background: none; box-shadow: none; transition: transform .5s cubic-bezier(.3,.7,.2,1), opacity .5s; }
.deck__flip { position: relative; height: 100%; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3,.7,.2,1.15); }
.deck__face {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px;
  border-radius: 22px; background: #fff; border: 1px solid var(--border); box-shadow: 0 18px 36px -24px rgba(20,59,46,.6);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.deck__face p { font-size: 1.45rem; font-weight: 900; }
.deck__face small { color: #8A9993; font-weight: 700; font-size: .75rem; }
.deck__face--back { transform: rotateY(180deg); }
.deck__face--back .en { color: var(--green); }
.deck__face--back .ar { font-size: 1.25rem; font-weight: 600; color: var(--muted); }
.deck.is-flipped .deck__flip { transform: rotateY(180deg); }
.deck.is-leaving .deck__top { transform: translate(130%, -10px) rotate(14deg); opacity: 0; }
.deck.is-entering .deck__top { transform: translateY(14px) scale(.93); transition: none; }
.deck.is-entering .deck__flip { transition: none; }
.deck__tick {
  position: absolute; left: 50%; bottom: -46px; translate: -50% 0; white-space: nowrap;
  padding: 6px 12px; border-radius: 999px; background: var(--green); color: var(--lime); font-size: .8rem; font-weight: 900;
  opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .3s, transform .4s var(--spring);
}
.deck.is-got .deck__tick { opacity: 1; transform: none; }

/* 02 ring: words fill the goal, then the week's streak lights up */
.ring { position: relative; width: 190px; height: 190px; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 11; stroke-linecap: round; }
.ring__bg { stroke: rgba(255,255,255,.12); }
.ring__fg { stroke: var(--lime); stroke-dasharray: 314.16; stroke-dashoffset: 314.16; transition: stroke-dashoffset .5s var(--ease); }
.ring.is-done svg { filter: drop-shadow(0 0 14px rgba(222,247,143,.55)); }
.ring__label { display: grid; text-align: center; line-height: 1; }
.ring__label strong { font-size: 3.2rem; font-weight: 900; color: var(--lime); }
.ring__label span { font-size: .85rem; font-weight: 700; color: rgba(255,255,255,.75); margin-top: 6px; }
.ring.is-done .ring__label strong { animation: pop .6s var(--spring); }
.week { display: flex; gap: 8px; }
.week span {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: .72rem; font-weight: 900; color: rgba(255,255,255,.5); background: rgba(255,255,255,.08);
  transition: background .4s, color .4s, transform .4s var(--spring);
}
.week span.on { background: rgba(222,247,143,.22); color: var(--lime); }
.week span.now { background: var(--lime); color: var(--green); transform: scale(1.15); }

/* 03 translations: cycle English / Arabic / Both */
.tr { display: grid; justify-items: center; gap: 26px; text-align: center; }
.tr__pills { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: #fff; border: 1px solid var(--border); }
.tr__pills span { padding: 7px 12px; border-radius: 10px; font-size: .8rem; font-weight: 800; color: var(--muted); transition: background .3s, color .3s; }
.tr[data-mode="en"] [data-m="en"], .tr[data-mode="ar"] [data-m="ar"], .tr[data-mode="both"] [data-m="both"] { background: var(--green); color: #fff; }
.tr__word { display: grid; gap: 4px; min-height: 120px; align-content: start; transition: opacity .35s, transform .35s var(--ease); }
.tr__word.is-out { opacity: 0; transform: translateY(10px); }
.tr__de { font-size: 2rem; font-weight: 900; }
.tr__en, .tr__ar { transition: opacity .35s, transform .35s var(--ease), max-height .35s; max-height: 40px; overflow: hidden; }
.tr__en { font-size: 1.25rem; font-weight: 800; color: var(--green); }
.tr__ar { font-size: 1.45rem; color: var(--muted); }
.tr[data-mode="en"] .tr__ar, .tr[data-mode="ar"] .tr__en { opacity: 0; transform: translateY(-6px); max-height: 0; }

/* 04 widget: the word changes as the day moves along */
.wg { display: grid; justify-items: center; gap: 18px; }
.wg__times { display: flex; gap: 6px; }
.wg__times span { font-size: .75rem; font-weight: 800; padding: 5px 9px; border-radius: 999px; color: #3B5248; transition: background .3s, color .3s; }
.wg__times span.on { background: var(--green); color: var(--lime); }
.wg__box {
  width: 200px; aspect-ratio: 1; padding: 20px; border-radius: 40px;
  display: flex; flex-direction: column; text-align: left;
  background: var(--green); color: #fff; box-shadow: 0 30px 50px -28px rgba(20,59,46,.8);
}
.wg__label { font-size: .58rem; font-weight: 900; letter-spacing: .06em; white-space: nowrap; color: var(--lime); }
.wg__word { margin-top: auto; transition: opacity .35s, transform .45s var(--ease); }
.wg__word.is-out { opacity: 0; transform: translateY(14px); }
.wg__word p { font-size: 1.45rem; font-weight: 900; line-height: 1.1; }
.wg__word small { display: block; color: rgba(255,255,255,.75); font-weight: 700; font-size: .85rem; margin-top: 4px; }

/* ---------- FAQ accordion ---------- */
.faq { padding: clamp(48px, 7vw, 80px) 0; }
.faq .section-title { margin-bottom: 36px; }
.acc {
  display: grid; gap: 6px; padding: 8px;
  background: #fff; border: 2px solid var(--green); border-radius: 30px;
  box-shadow: 0 8px 0 var(--green), 0 30px 60px -30px rgba(20, 59, 46, .5);
}
.acc__item { border-radius: 22px; transition: background .35s var(--ease); }
.acc__item:hover { background: var(--background); }
.acc__item.is-open { background: var(--lime-soft); }
.acc__item h3 { font-size: inherit; letter-spacing: 0; }
.acc__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 20px 20px 24px; border: 0; background: none; cursor: pointer; text-align: left;
  font: inherit; font-size: 1.1rem; font-weight: 800; color: var(--ink);
}
.acc__q > span:first-child { transition: transform .3s var(--ease); }
.acc__item:hover .acc__q > span:first-child { transform: translateX(4px); }
.acc__icon {
  position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--green); transition: background .3s, transform .45s var(--spring);
}
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; border-radius: 2px;
  background: var(--green); translate: -50% -50%; transition: transform .45s var(--spring), background .3s;
}
.acc__icon::after { transform: rotate(90deg); }
.acc__item:hover .acc__icon { background: var(--lime); transform: rotate(90deg); }
.acc__item.is-open .acc__icon { background: var(--green); transform: rotate(180deg); }
.acc__item.is-open .acc__icon::before, .acc__item.is-open .acc__icon::after { background: var(--lime); }
.acc__item.is-open .acc__icon::after { transform: rotate(0deg); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc__a > div { overflow: hidden; }
.acc__a p {
  padding: 0 24px 22px; color: var(--muted); max-width: 56ch;
  opacity: 0; transform: translateY(-8px); transition: opacity .35s, transform .45s var(--ease);
}
.acc__item.is-open .acc__a { grid-template-rows: 1fr; }
.acc__item.is-open .acc__a p { opacity: 1; transform: none; transition-delay: .1s; }

/* ---------- Beta signup ---------- */
.beta { padding: clamp(64px, 9vw, 120px) 0; }
.beta__inner { display: grid; justify-items: center; gap: 16px; text-align: center; }
.beta__logo { border-radius: 18px; margin-bottom: 6px; }
.beta h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 900; }
.beta__form { display: flex; gap: 10px; width: min(500px, 100%); margin-top: 12px; }
.beta__form input[type="email"] {
  flex: 1; min-width: 0; padding: 16px 18px; border-radius: 16px;
  border: 1px solid var(--border); background: #fff; color: var(--ink);
  font: inherit; font-weight: 600; transition: border-color .2s, box-shadow .2s;
}
.beta__form input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(222,247,143,.9); }
.beta__form input[aria-invalid="true"] { border-color: #C2412D; }
.beta__form button[disabled] { opacity: .7; cursor: progress; }
.hp { position: absolute; left: -9999px; }
.beta__msg { min-height: 1.5em; font-weight: 700; }
.beta__msg.ok { color: var(--green); }
.beta__msg.err { color: #B3361F; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 28px 0; font-size: .95rem; }
.footer__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 20px; margin-left: auto; }
.footer nav a { text-decoration: none; font-weight: 700; color: var(--muted); }
.footer nav a:hover { color: var(--ink); }
.footer__copy { color: var(--muted); }

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__inner > .btn { margin-left: auto; }
  .features { --card-h: 520px; }
  .stack { gap: 20vh; }
  .stack__inner { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 10px; padding: 10px; border-radius: 28px; text-align: center; }
  .stack__text { padding: 18px 14px 4px; }
  .stack__text h3 { font-size: 1.55rem; margin-bottom: 8px; }
  .stack__text p { margin-inline: auto; font-size: 1rem; }
  .stack__n { margin-bottom: 8px; }
  .deck { width: 220px; height: 156px; }
  .ring { width: 150px; height: 150px; }
  .ring__label strong { font-size: 2.6rem; }
  .week span { width: 26px; height: 26px; }
  .tr { gap: 18px; }
  .tr__de { font-size: 1.7rem; }
  .wg__box { width: 170px; border-radius: 34px; }
  .acc__q { font-size: 1rem; padding: 18px 16px 18px 18px; }
  .acc__a p { padding: 0 18px 20px; }
  .beta__form { flex-direction: column; }
  .footer nav { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .stack__inner { transform: none; filter: none; }
}
