/* ============================================================
   DOPPY — neo-brutalist design system (mirrors the iOS app)
   cream #FFF5E1 · surface #FBF1DC · ink #0E0E0E · yellow #FBC51A
   red #E5384E · blue #35C6F0 · green #8FE05A · indigo #2B1140
   Fonts: Bungee (display) · Space Grotesk (body) · JetBrains Mono (labels)
   All shadows are HARD (no blur) — offset duplicates, like the app.
   ============================================================ */

:root {
  --bg: #FFF5E1;
  --surface: #FBF1DC;
  --ink: #0E0E0E;
  --ink-muted: #6B6152;
  --yellow: #FBC51A;
  --yellow-cta: #FFD60A;
  --red: #E5384E;
  --blue: #35C6F0;
  --green: #8FE05A;
  --indigo: #2B1140;
  --on-dark: #EDE6F2;
  --radius: 18px;
  --radius-sm: 14px;
  --border: 2px;
  --font-display: "Bungee", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

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

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.04;
  text-transform: uppercase;
}

h1.display { font-size: clamp(2.4rem, 6.4vw, 4.6rem); }
h2.display { font-size: clamp(1.7rem, 4vw, 2.7rem); }

.shadow-yellow { text-shadow: 4px 4px 0 var(--yellow); }
.shadow-red    { text-shadow: 4px 4px 0 var(--red); }
.shadow-blue   { text-shadow: 4px 4px 0 var(--blue); }

.mono-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 34em;
}

.accent-red { color: var(--red); }

/* ---------- chunky buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--yellow-cta);
  border: var(--border) solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 16px 28px;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover  { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); }

.btn--ghost { background: var(--surface); }
.btn--dark  { background: var(--ink); color: var(--yellow); box-shadow: 5px 5px 0 var(--yellow); }
.btn--dark:hover { box-shadow: 3px 3px 0 var(--yellow); }
.btn--dark:active { box-shadow: 0 0 0 var(--yellow); }
.btn--sm { padding: 11px 18px; font-size: 0.8rem; box-shadow: 4px 4px 0 var(--ink); }

/* ---------- neo card ---------- */

.card {
  background: var(--surface);
  border: var(--border) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--ink);
  padding: 28px;
  position: relative;
}

.card--flat { box-shadow: 3px 3px 0 var(--ink); }

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--yellow);
  border-radius: 8px;
  padding: 6px 12px;
}

.badge--red   { background: var(--red);   color: #fff; }
.badge--green { background: var(--green); color: var(--ink); }
.badge--blue  { background: var(--blue);  color: var(--ink); }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: var(--border) solid var(--ink);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.nav__logo img {
  width: 42px;
  height: 42px;
  border: var(--border) solid var(--ink);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--ink);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav__links a:not(.btn) {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.nav__links a:not(.btn):hover { border-bottom-color: var(--yellow); }

@media (max-width: 760px) {
  .nav__links li.nav__hide { display: none; }
}

/* ---------- hero ---------- */

.hero { padding: 72px 0 40px; position: relative; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero__grid > * { min-width: 0; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 320px; margin: 0 auto; }
}

@media (max-width: 520px) {
  .btn { white-space: normal; text-align: center; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
}

.hero__ctas { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 34px; align-items: center; }

.hero__note { margin-top: 18px; }

.hero__art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__mascot {
  width: min(380px, 88%);
  margin: 0 auto;
  animation: float 4.5s ease-in-out infinite;
  filter: drop-shadow(8px 10px 0 rgba(14, 14, 14, 0.12));
  transition: opacity 0.3s ease;
}

/* Status pill — port of the app's white Home pill (Bungee 12, ink border,
   hard 2,2 shadow). Text/emoji swap with the mascot band. */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  background: #fff;
  border: var(--border) solid var(--ink);
  border-radius: 12px;
  box-shadow: 2px 2px 0 var(--ink);
  padding: 9px 12px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.status-pill span { transition: opacity 0.3s ease; }

/* Energy bar — port of the app's daily-energy capsule: 2px black outline,
   transparent ring, coloured fill that drains and recolours per band. */
.energy {
  width: min(340px, 86%);
  height: 26px;
  margin-top: 18px;
  border: 2px solid #000;
  border-radius: 999px;
  padding: 3px;
}

.energy__fill {
  height: 100%;
  width: 100%;
  min-width: 16px;
  border-radius: 999px;
  background: #5FC63A;
  transition: width 0.6s ease-in-out, background-color 0.6s ease-in-out;
}

/* Floating decor — port of the onboarding welcome-screen drifting shapes. */
.decor {
  position: absolute;
  border: var(--border) solid var(--ink);
  z-index: -1;
  animation: drift 7.5s ease-in-out infinite;
}

.decor--sq { border-radius: 12px; }
.decor--circle { border-radius: 50%; }

@media (max-width: 860px) {
  .decor { display: none; }
}

.hero__bubble {
  position: absolute;
  top: -12px;
  right: 4%;
  background: var(--surface);
  border: var(--border) solid var(--ink);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--ink);
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: bob 3.4s ease-in-out infinite;
  rotate: 3deg;
}

.hero__bubble::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 26px;
  width: 14px;
  height: 14px;
  background: var(--surface);
  border-right: var(--border) solid var(--ink);
  border-bottom: var(--border) solid var(--ink);
  transform: rotate(45deg);
}

.spark {
  position: absolute;
  font-size: 1.6rem;
  animation: sparkle 2.6s ease-in-out infinite;
}

/* ---------- marquee ---------- */

.marquee {
  background: var(--ink);
  border-top: var(--border) solid var(--ink);
  border-bottom: var(--border) solid var(--ink);
  overflow: hidden;
  padding: 12px 0;
  transform: rotate(-1.2deg) scale(1.02);
  margin: 40px 0;
}

.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.marquee__track span {
  font-family: var(--font-display);
  color: var(--yellow);
  font-size: 1rem;
  text-transform: uppercase;
  white-space: nowrap;
  padding-right: 18px;
}

.marquee__track span em { font-style: normal; color: var(--bg); }

/* ---------- sections ---------- */

.section { padding: 84px 0; }

.section__head { margin-bottom: 48px; max-width: 620px; }

.section__head .mono-label { display: block; margin-bottom: 12px; }

.section__head p { margin-top: 16px; }

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

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

.step { overflow: hidden; }

.step__num {
  position: absolute;
  top: -14px;
  left: 22px;
  font-family: var(--font-display);
  font-size: 4.4rem;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  text-shadow: 4px 4px 0 var(--yellow);
  opacity: 0.9;
  pointer-events: none;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  margin: 10px 0 12px;
  padding-top: 34px;
}

.step p { color: var(--ink); }

.step__art {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
}

.step__art img { max-height: 100%; width: auto; }

/* blocked app tiles */
.blocked-row { display: flex; gap: 18px; align-items: center; justify-content: center; }
.blocked-row img {
  width: 88px;
  animation: bob 3s ease-in-out infinite;
}
.blocked-row img:nth-child(2) { animation-delay: 0.4s; }
.blocked-row img:nth-child(3) { animation-delay: 0.8s; }

/* ---------- slot machine (real cabinet art + live CSS reels) ---------- */

.slot {
  position: relative;
  width: min(320px, 88%);
  margin: 0 auto;
  container-type: inline-size;
}

.step__art .slot { width: min(200px, 62%); }

.slot__reels {
  position: absolute;
  top: 45.5%;
  left: 25.5%;
  width: 49.5%;
  height: 21.5%;
  display: flex;
  justify-content: space-between;
}

.reel {
  width: 30%;
  overflow: hidden;
  border-radius: 6px;
}

.reel__strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: reel-spin 1.6s linear infinite;
}

.reel:nth-child(2) .reel__strip { animation-duration: 2.1s; animation-delay: -0.4s; }
.reel:nth-child(3) .reel__strip { animation-duration: 2.6s; animation-delay: -0.9s; }

.reel__strip span {
  font-size: 11cqw;
  line-height: 1.6;
}

/* ---------- dopamine loop ---------- */

.loop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

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

.loop__art img { width: min(430px, 100%); margin: 0 auto; }

.loop__points { list-style: none; display: grid; gap: 16px; margin-top: 26px; }

.loop__points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: var(--border) solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 14px 18px;
}

.loop__points .tick {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: var(--green);
  border: var(--border) solid var(--ink);
  border-radius: 8px;
  font-weight: 700;
  margin-top: 2px;
}

/* ---------- features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

.feature { padding: 24px; transition: transform 0.15s ease, box-shadow 0.15s ease; }

.feature:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }

.feature__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: var(--border) solid var(--ink);
  border-radius: 14px;
  box-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 18px;
  font-size: 1.5rem;
}

.feature__icon img { width: 30px; height: 30px; }

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.feature p { font-size: 0.95rem; }

.bg-yellow { background: var(--yellow); }
.bg-red    { background: var(--red); }
.bg-blue   { background: var(--blue); }
.bg-green  { background: var(--green); }
.bg-cream  { background: var(--bg); }

/* ---------- mood strip ---------- */

.section--dark {
  background: var(--indigo);
  color: var(--on-dark);
  border-top: var(--border) solid var(--ink);
  border-bottom: var(--border) solid var(--ink);
}

.section--dark .mono-label { color: #9A8AA8; }
.section--dark .shadow-yellow { text-shadow: 4px 4px 0 #9D5BE0; }

/* LOCK-tab replica: weekly stat tiles + streak day chips */

.statgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.stat-tile {
  background: var(--surface);
  border: var(--border) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.55);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ink);
}

.stat-tile img { width: 36px; height: 36px; flex: none; }

.stat-tile__num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1;
}

.stat-tile__num.num-yellow { color: #E7A500; }
.stat-tile__num.num-green  { color: #4CAF2E; }
.stat-tile__num.num-blue   { color: #0FA3D5; }

.stat-tile .mono-label { display: block; margin-top: 6px; }

/* Streak day chips — 7 chips, yellow when locked-in, grey otherwise
   (mirrors StreakDayChips: h34, r10, ink border, JetBrains Mono bold). */
.week-card {
  margin-top: 20px;
  background: var(--ink);
  border: var(--border) solid var(--yellow);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.week-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.week-card__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--yellow);
}

.week-card .mono-label { color: rgba(255, 245, 225, 0.55); }

.chips { display: flex; gap: 8px; }

.chip {
  flex: 1;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--dayChipInactive, #CFCFCF);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-transform: lowercase;
}

.chip--on { background: var(--yellow); }

.lockmock { margin-bottom: 44px; }

.moods {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 40px;
}

@media (max-width: 860px) { .moods { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .moods { grid-template-columns: repeat(2, 1fr); } }

.mood {
  background: rgba(255, 255, 255, 0.05);
  border: var(--border) solid rgba(237, 230, 242, 0.25);
  border-radius: var(--radius);
  padding: 18px 12px 14px;
  text-align: center;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.mood:hover { transform: translateY(-6px) rotate(-1.5deg); border-color: var(--yellow); }

.mood img { width: 84px; margin: 0 auto 12px; }

.mood figcaption {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- gif showcase ---------- */

.showcase { text-align: center; }

.showcase img {
  width: min(360px, 80%);
  margin: 0 auto;
}

/* ---------- FAQ ---------- */

.faq { max-width: 760px; }

.faq details {
  background: var(--surface);
  border: var(--border) solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: 4px 4px 0 var(--ink);
  margin-bottom: 16px;
  overflow: hidden;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.3rem;
  flex: none;
  transition: rotate 0.2s ease;
}

.faq details[open] summary::after { rotate: 45deg; }

.faq details p { padding: 0 22px 20px; }

/* ---------- final CTA ---------- */

.cta-final {
  background: var(--yellow);
  border-top: var(--border) solid var(--ink);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final .display { text-shadow: 4px 4px 0 #fff; }

.cta-final__gif {
  width: min(190px, 50%);
  margin: 0 auto 18px;
  filter: drop-shadow(6px 8px 0 rgba(14, 14, 14, 0.15));
}

.cta-final .lead { margin: 18px auto 0; }

.cta-final .hero__ctas { justify-content: center; }

.cta-final .float-icon {
  position: absolute;
  width: 110px;
  opacity: 0.9;
  animation: float 5s ease-in-out infinite;
}

/* ---------- footer ---------- */

.footer {
  background: var(--ink);
  color: var(--bg);
  padding: 48px 0 36px;
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.footer__brand img { width: 40px; border-radius: 10px; border: 2px solid var(--yellow); }

.footer nav ul { list-style: none; display: grid; gap: 10px; }

.footer nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  text-decoration: none;
}

.footer nav a:hover { color: var(--yellow); }

.footer__legal {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 245, 225, 0.2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 245, 225, 0.6);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

.footer__legal a { color: inherit; }
.footer__legal a:hover { color: var(--yellow); }

/* ---------- legal / content pages ---------- */

.page { padding: 64px 0 90px; }

.page__card { max-width: 820px; margin: 0 auto; padding: clamp(28px, 5vw, 56px); }

.page h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin-bottom: 8px; }

.page .updated { margin-bottom: 36px; display: block; }

.page h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  margin: 36px 0 12px;
}

.page p, .page li { margin-bottom: 12px; color: var(--ink); }

.page ul { padding-left: 22px; }

.page a { text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 30px 0;
}

@media (max-width: 640px) { .contact-cards { grid-template-columns: 1fr; } }

.contact-cards .card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contact-cards .card p { margin-bottom: 14px; }

/* ---------- scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(34px) rotate(0.4deg);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.9, 0.3, 1);
}

.reveal.in { opacity: 1; transform: none; }

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ---------- keyframes ---------- */

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-16px) rotate(1.5deg); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@keyframes sparkle {
  0%, 100% { transform: scale(0.7) rotate(-8deg); opacity: 0.5; }
  50%      { transform: scale(1.15) rotate(10deg); opacity: 1; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes reel-spin {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

/* Lissajous-ish drift for the decor shapes (port of FloatingDecor). */
@keyframes drift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(7px, -10px) rotate(2.5deg); }
  50%  { transform: translate(0, -16px) rotate(0deg); }
  75%  { transform: translate(-7px, -8px) rotate(-2.5deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

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

/* Shared accessibility and the preserved production legal documents. */
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 18px; background: var(--ink); color: var(--bg); border: 2px solid var(--yellow); border-radius: 8px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 4px; }
.footer a:focus-visible { outline-color: var(--yellow); }
.nav__links a:not(.btn) { font-size: 14px; }
.footer nav a { font-size: 14px; }
.footer__legal { font-size: 13px; }
.footer__legal--simple { border-top: 0; margin-top: 0; padding-top: 0; align-items: center; }
.footer__legal--simple nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__legal--simple nav a { min-height: 44px; display: flex; align-items: center; font-family: var(--font-body); letter-spacing: 0; text-transform: none; }
.legal-document { max-width: 900px; overflow-wrap: break-word; }
.legal-document h1 { font-family: var(--font-display); font-size: clamp(1.7rem, 5vw, 2.65rem); line-height: 1.25; margin-bottom: 24px; text-wrap: balance; }
.legal-document h2 { line-height: 1.5; }
.legal-document h3 { font-size: 1.05rem; margin: 24px 0 12px; line-height: 1.5; }
.legal-document p, .legal-document li { line-height: 1.75; }
.legal-document ul, .legal-document ol { padding-left: 24px; }
.legal-document a { overflow-wrap: anywhere; }
.legal-document table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 26px 0; border: 1px solid var(--ink); border-radius: 9px; font-size: .9rem; }
.legal-document th, .legal-document td { padding: 13px 15px; text-align: left; vertical-align: top; border-bottom: 1px solid #c9bea9; min-width: 140px; }
.legal-document th { background: var(--yellow); font-weight: 700; }
.legal-document td:last-child { min-width: 220px; }
.legal-document tr:last-child td { border-bottom: 0; }
.legal-document > p:first-of-type { font-size: .9rem; padding: 12px 15px; border-left: 4px solid var(--yellow); background: var(--surface); margin-bottom: 28px; }
.error-page { text-align: center; }
.error-page > img { margin: 0 auto 20px; }
.error-page > p { margin: 22px auto; max-width: 30em; }
html:not(.has-js) .reveal { opacity: 1; transform: none; }
@media (max-width: 540px) {
  .nav__inner { padding: 12px 18px; gap: 12px; }
  .nav__logo { font-size: 1.15rem; gap: 9px; }
  .nav__logo img { width: 36px; height: 36px; }
  .nav .btn--sm { font-size: .7rem; padding: 11px 12px; }
  .legal-page { padding: 28px 0 44px; }
  .legal-page > .wrap { padding: 0 15px; }
  .legal-document { padding: 25px 20px; font-size: 16px; }
  .legal-document h2 { font-size: 1rem; }
}
