/* Today – landing page
   Colors follow the app's "Today" (Colorful) theme: one sky per day,
   the sun / moon in the corner and the green bushes along the bottom. */

:root {
  --page: #f3f7fb;
  --surface: #ffffff;
  --surface-2: #eaf2fa;
  --ink: #0b2540;
  --ink-2: #3a5068;
  --ink-3: #66798e;
  --line: rgba(11, 37, 64, 0.08);
  --accent: #0a7cf0;
  --accent-strong: #0060c7;
  --on-accent: #ffffff;

  /* Scene gradients from ColorfulTheme.swift */
  --sky-yesterday: linear-gradient(180deg, #2c3e50 0%, #4ca1af 100%);
  --sky-today: linear-gradient(180deg, #0068d0 0%, #0091ff 52%, #58baff 100%);
  --sky-tomorrow: linear-gradient(180deg, #add8e6 0%, #fffacd 100%);
  --sky-someday: linear-gradient(180deg, #b0e0e6 0%, #f0f8ff 100%);

  /* Priority colors as they appear in the todo rows */
  --prio-high: #f26b4f;
  --prio-mid: #f7a928;
  --prio-low: #f6dd3c;

  /* Bushes */
  --b1: #4a6a1f;
  --b2: #5c8628;
  --b3: #75a535;
  --b4: #8dbe49;

  --radius-xl: 36px;
  --radius-l: 26px;
  --radius-m: 18px;
  --radius-s: 12px;

  --shadow-card: 0 1px 2px rgba(11, 37, 64, 0.05), 0 18px 40px -22px rgba(11, 37, 64, 0.22);
  --shadow-float: 0 2px 6px rgba(4, 30, 66, 0.08), 0 24px 48px -16px rgba(4, 30, 66, 0.35);

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

  --gutter: 16px;
  --max: 1200px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #08131c;
    --surface: #0f1d29;
    --surface-2: #142838;
    --ink: #eaf2f9;
    --ink-2: #b5c5d4;
    --ink-3: #8196aa;
    --line: rgba(255, 255, 255, 0.08);
    --accent: #4aa3ff;
    --accent-strong: #79bbff;
    --on-accent: #04213f;
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 18px 40px -22px rgba(0, 0, 0, 0.7);
  }
}

@media (min-width: 640px) {
  :root { --gutter: 24px; }
}

/* ---------- Language switching ---------- */
:root[data-lang="de"] [lang="en"]:not(html),
:root[data-lang="en"] [lang="de"]:not(html) {
  display: none !important;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: 10px;
  box-shadow: var(--shadow-card); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

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

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 24px 0 18px;
  border-radius: 999px; border: 0;
  font: 600 17px/1 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 26px; height: 26px; flex: none; }
.btn small { display: block; font-size: 11px; font-weight: 500; opacity: 0.75; letter-spacing: 0.02em; margin-bottom: 3px; }
.btn .btn-label { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }

.btn-store {
  background: #0b1520; color: #fff;
  box-shadow: 0 10px 30px -10px rgba(0, 20, 50, 0.6);
}
.btn-store:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(0, 20, 50, 0.65); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.18); color: #fff;
  padding: 0 22px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.28); }
.btn-ghost svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 12px 0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--page) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.nav { display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 21px/1 var(--font-display); letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 2px 8px rgba(0, 80, 160, 0.25); }
.nav-links { display: none; gap: 4px; margin-left: 20px; }
.nav-links a {
  text-decoration: none; color: var(--ink-2); font-weight: 550; font-size: 15px;
  padding: 8px 12px; border-radius: 999px; transition: background-color 0.2s, color 0.2s;
}
.nav-links a:hover { background: var(--surface-2); color: var(--ink); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.lang-toggle {
  display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-2);
  border: 0; cursor: pointer; font: 700 12px/1 var(--font-body); color: var(--ink-3);
}
.lang-toggle span { padding: 7px 9px; border-radius: 999px; transition: background-color 0.2s, color 0.2s; }
:root[data-lang="de"] .lang-toggle .opt-de,
:root[data-lang="en"] .lang-toggle .opt-en { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(11, 37, 64, 0.12); }

.nav-cta {
  display: none; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--ink); color: var(--page); text-decoration: none;
  font-weight: 650; font-size: 14px;
  transition: transform 0.2s ease;
}
.nav-cta:hover { transform: translateY(-1px); }
.nav-cta svg { width: 16px; height: 16px; }

@media (min-width: 560px) { .nav-cta { display: inline-flex; } }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* ---------- Shared sky pieces ---------- */
.sky-card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-xl);
}
@media (max-width: 639px) { .sky-card { border-radius: 28px; } }

.bushes {
  position: absolute; left: 0; right: 0; bottom: -1px;
  width: 100%; height: clamp(84px, 10.5vw, 150px);
  pointer-events: none;
}
.bushes.back { z-index: 1; }
.bushes.front { z-index: 3; }

.cloud {
  position: absolute; z-index: 0; pointer-events: none;
  width: 220px; height: 64px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  filter: blur(14px);
  animation: drift 70s linear infinite;
}
.cloud::before, .cloud::after {
  content: ""; position: absolute; border-radius: 50%; background: inherit;
}
.cloud::before { width: 110px; height: 90px; left: 36px; top: -40px; }
.cloud::after { width: 80px; height: 70px; left: 120px; top: -26px; }
@keyframes drift {
  from { transform: translateX(-30vw); }
  to { transform: translateX(110vw); }
}

.sun .rays { transform-origin: center; transform-box: fill-box; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.star {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 6px 1px rgba(255, 255, 255, 0.7);
  animation: twinkle 3.6s ease-in-out infinite;
}
@keyframes twinkle { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

/* ---------- Phone ---------- */
.phone {
  position: relative;
  width: 100%;
  padding: 3.4%;
  border-radius: 15.5% / 7.2%;
  background: linear-gradient(150deg, #3b414a 0%, #14171c 45%, #2a2f37 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.18),
    inset 0 0 0 4px #0b0d10,
    var(--shadow-float);
}
.phone::before, .phone::after {
  /* side buttons */
  content: ""; position: absolute; width: 3px; border-radius: 2px; background: #2b3038;
}
.phone::before { left: -2px; top: 22%; height: 9%; }
.phone::after { right: -2px; top: 26%; height: 13%; }
.phone .screen {
  /* same ratio as the screenshots, so nothing gets cropped */
  position: relative; width: 100%; aspect-ratio: 1320 / 2868;
  border-radius: 12.6% / 5.9%;
  overflow: hidden; background: #0091ff;
}
.phone .screen img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}

/* ---------- Hero ---------- */
.hero-section { padding-top: 4px; }
.hero {
  background: var(--sky-today);
  color: #fff;
  min-height: min(880px, calc(100svh - 84px));
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}
.hero::after {
  /* warm glow around the sun */
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 760px; height: 760px; right: -220px; top: -300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 233, 170, 0.55) 0%, rgba(255, 220, 140, 0.18) 35%, transparent 65%);
}
.hero .cloud.c1 { top: 18%; animation-duration: 90s; animation-delay: -40s; }
.hero .cloud.c2 { top: 52%; transform: scale(0.7); animation-duration: 120s; animation-delay: -95s; opacity: 0.7; }

.hero-inner {
  position: relative; z-index: 2;
  display: grid; gap: 40px;
  padding: 56px 24px 0;
}
.hero-copy { max-width: 600px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 650; font-size: 14px; letter-spacing: 0.01em;
  padding: 7px 14px 7px 8px; border-radius: 999px;
}
.hero .eyebrow { background: rgba(255, 255, 255, 0.18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }
.eyebrow .dot { width: 20px; height: 20px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.eyebrow .dot svg { width: 12px; height: 12px; }

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.7rem, 7.4vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 24px rgba(0, 50, 120, 0.25);
}
.hero h1 em {
  font-style: normal; position: relative; white-space: nowrap;
  color: #fff3c4;
}
.hero h1 em::after {
  content: ""; position: absolute; left: 1%; right: 1%; bottom: -0.04em; height: 0.09em; z-index: -1;
  background: #f7a928; border-radius: 999px;
  transform-origin: left; animation: underline 0.9s 0.5s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-lead {
  margin-top: 22px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5;
  font-weight: 500; color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 12px rgba(0, 50, 120, 0.3);
  max-width: 30em;
}
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.trust { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, 0.95); }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 18px; height: 18px; color: #fff3c4; }

.hero-visual {
  position: relative; justify-self: center;
  width: min(280px, 72vw);
  margin-bottom: -62%;
  z-index: 2;
}
@media (min-width: 640px) and (max-width: 959px) {
  .hero-visual { width: 300px; margin-bottom: -38%; }
}
@media (max-width: 959px) {
  .hero::after { display: none; }
  .hero .cloud.c1 { top: 1%; }
  .hero .cloud.c2 { top: 74%; }
}
.hero-sun {
  position: absolute; z-index: -1;
  width: 64%; right: -30%; top: -9%;
}
.float-card {
  position: absolute; z-index: 4;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  color: #0b2540; box-shadow: var(--shadow-float);
  font-size: 14px; line-height: 1.3;
  width: max-content; max-width: 270px;
  animation: bob 6s ease-in-out infinite;
}
.float-card img { width: 38px; height: 38px; border-radius: 9px; flex: none; }
.float-card .fc-meta { display: flex; justify-content: space-between; gap: 18px; font-size: 12px; color: #5b6f84; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.float-card strong { display: block; font-weight: 650; }
.float-card .fc-sub { color: #4b5f74; font-size: 13px; }
.float-card.notify { left: -34%; top: 34%; }
.float-card.repeat { right: -34%; top: 62%; animation-delay: -3s; padding-right: 18px; }
.float-card .fc-icon {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: #e7f3ff; color: #0a7cf0;
}
.float-card .fc-icon svg { width: 20px; height: 20px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 899px) {
  .float-card.notify { left: -14%; top: 22%; max-width: 230px; }
  .float-card.repeat { right: -12%; top: 50%; }
}
@media (max-width: 479px) {
  .float-card { font-size: 13px; padding: 10px 12px 10px 10px; }
  .float-card img { width: 32px; height: 32px; }
  .float-card.notify { left: -10%; top: 18%; max-width: 210px; }
  .float-card.repeat { right: -8%; top: 52%; }
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    padding: 40px 64px 0 72px;
    min-height: inherit;
  }
  .hero-visual { width: min(320px, 26vw); margin-bottom: 0; align-self: end; transform: translateY(14%); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0 0; }
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head .eyebrow { color: var(--accent-strong); background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 7px 14px; }
.section-head h2 { margin-top: 16px; font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; }
.section-head p { margin: 18px auto 0; color: var(--ink-2); font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 40em; }

/* ---------- Day switcher ---------- */
.days { color: #fff; transition: color 0.6s ease; }
.days .skies > div { position: absolute; inset: 0; z-index: -2; opacity: 0; transition: opacity 0.9s ease; }
.days .skies .s-yesterday { background: var(--sky-yesterday); }
.days .skies .s-today { background: var(--sky-today); }
.days .skies .s-tomorrow { background: var(--sky-tomorrow); }
.days .skies .s-someday { background: var(--sky-someday); }
.days[data-scene="yesterday"] .s-yesterday,
.days[data-scene="today"] .s-today,
.days[data-scene="tomorrow"] .s-tomorrow,
.days[data-scene="someday"] .s-someday { opacity: 1; }
.days[data-scene="tomorrow"],
.days[data-scene="someday"] { color: #0b2540; }

.days .stars { position: absolute; inset: 0 0 40% 0; z-index: -1; opacity: 0; transition: opacity 0.9s ease; }
.days[data-scene="yesterday"] .stars { opacity: 1; }

.days-inner {
  position: relative; z-index: 2;
  display: grid; gap: 36px;
  padding: 44px 24px 0;
}
@media (min-width: 900px) {
  .days-inner { grid-template-columns: 1fr 1fr; align-items: center; padding: 56px 72px 0; min-height: 720px; }
}

/* The sun is the navigation, as in the app: moon, sun, pale sun, rayed sun. */
.sun-nav { display: flex; gap: clamp(4px, 1.6vw, 14px); align-items: flex-end; flex-wrap: nowrap; }
.sun-nav button {
  appearance: none; border: 0; background: none; color: inherit; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 6px 6px 4px; border-radius: 16px; min-width: 64px;
  font: 650 13px/1 var(--font-body); letter-spacing: 0.01em;
  opacity: 0.62; transition: opacity 0.3s ease;
}
.sun-nav button:hover { opacity: 0.9; }
.sun-nav button[aria-selected="true"] { opacity: 1; }
.sun-nav svg { width: 64px; height: 64px; transform: scale(0.7); transition: transform 0.55s cubic-bezier(.2, .8, .2, 1); overflow: visible; }
.sun-nav button[aria-selected="true"] svg { transform: scale(1.12); }
.sun-nav .lbl { position: relative; padding-bottom: 8px; }
.sun-nav .lbl::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: currentColor; opacity: 0; transition: opacity 0.3s ease;
}
.sun-nav button[aria-selected="true"] .lbl::after { opacity: 1; }
.sun-nav .sun .rays { animation-play-state: paused; }
.sun-nav button[aria-selected="true"] .sun .rays { animation-play-state: running; }

.day-panels { margin-top: 30px; display: grid; }
.day-panel { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.5s ease; pointer-events: none; }
.day-panel.active { opacity: 1; transform: none; pointer-events: auto; }
.day-panel h3 {
  font-size: clamp(3rem, 7vw, 5.2rem); font-weight: 800; letter-spacing: -0.035em;
  color: rgba(255, 255, 255, 0.92);
}
.days[data-scene="tomorrow"] .day-panel h3,
.days[data-scene="someday"] .day-panel h3 { color: #1d5f93; }
.day-panel p { margin-top: 16px; font-size: clamp(1.08rem, 1.5vw, 1.25rem); font-weight: 500; max-width: 28em; }
.swipe-hint { margin-top: 24px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; opacity: 0.8; }
.swipe-hint svg { width: 18px; height: 18px; }

.days-visual { position: relative; justify-self: center; width: min(290px, 70vw); margin-bottom: -12%; z-index: 2; }
@media (min-width: 900px) { .days-visual { width: min(310px, 25vw); margin-bottom: 0; align-self: end; transform: translateY(12%); } }
.days-visual .phone { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.days-visual .phone:active { cursor: grabbing; }
.days-visual .screen img { opacity: 0; transition: opacity 0.6s ease, transform 0.6s ease; transform: scale(1.02); }
.days-visual .screen img.active { opacity: 1; transform: none; }
.days-visual .screen img { -webkit-user-drag: none; }

.sun .ring-outer { fill: #f59e2b; transition: fill 0.8s; }
.sun .ring-mid { fill: #fbc04a; transition: fill 0.8s; }
.sun .core { fill: #fdd9a6; transition: fill 0.8s; }
.sun .rays path { fill: #bccad6; transition: fill 0.8s; }
.sun.bright .core { fill: #ffe53b; }
.sun.bright .ring-mid { fill: #ffd52e; }
.sun.bright .ring-outer { fill: #f7c21c; }
.sun.bright .rays path { fill: #f5c518; }

/* ---------- New in 3.0 ---------- */
.new-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font: 700 12px/1 var(--font-body); letter-spacing: 0.04em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; background: #f7a928; color: #3b2300;
}
.spotlights { display: grid; gap: 16px; }
@media (min-width: 900px) { .spotlights { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.spot {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; text-align: center;
  padding: 32px 24px 0; border-radius: var(--radius-l);
  background: linear-gradient(180deg, var(--surface) 35%, var(--spot, #dcefff) 100%);
  border: 1px solid var(--line); box-shadow: var(--shadow-card);
}
@media (prefers-color-scheme: dark) { .spot { background: linear-gradient(180deg, var(--surface) 35%, color-mix(in srgb, var(--spot, #dcefff) 18%, var(--surface)) 100%); } }
.spot h3 { font-size: 1.5rem; font-weight: 750; letter-spacing: -0.02em; }
.spot p { margin: 10px auto 0; color: var(--ink-2); font-size: 16px; max-width: 24em; }
/* the phone's percentage padding refers to its parent, so the parent must be as wide as the phone */
.spot .spot-phone { width: min(236px, 72%); margin: 26px auto -26%; }

.ipad-card {
  margin-top: 20px; display: grid; gap: 28px; align-items: center;
  background: var(--sky-today); color: #fff;
  padding: 40px 24px 0;
}
@media (min-width: 900px) { .ipad-card { grid-template-columns: 0.8fr 1.4fr; padding: 56px 0 0 64px; gap: 48px; } }
.ipad-card h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; }
.ipad-card p { margin-top: 14px; font-size: 1.1rem; font-weight: 500; color: rgba(255, 255, 255, 0.95); max-width: 26em; }
.ipad-card .ipad-copy { position: relative; z-index: 2; padding-bottom: 32px; }
.tablet {
  position: relative; z-index: 2; align-self: end;
  padding: 1.6%; border-radius: 3.6% / 4.8%;
  background: linear-gradient(150deg, #3b414a 0%, #14171c 45%, #2a2f37 100%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.18), var(--shadow-float);
  margin-bottom: -9%;
}
@media (min-width: 900px) { .tablet { border-radius: 3.6% / 4.8% 0 0 4.8%; margin-bottom: -6%; } }
.tablet img { display: block; width: 100%; height: auto; border-radius: 2.2% / 2.9%; }

.extras { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .extras { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .extras { grid-template-columns: repeat(3, 1fr); } }
.extras li {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px;
  border-radius: 18px; background: var(--surface); border: 1px solid var(--line);
}
.extras .x-ico { width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent-strong); }
.extras .x-ico svg { width: 20px; height: 20px; }
.extras strong { display: block; font-weight: 700; font-size: 16px; }
.extras p { margin-top: 3px; color: var(--ink-2); font-size: 15px; }

/* ---------- Bento features ---------- */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .bento { grid-template-columns: repeat(6, 1fr); gap: 20px; }
  .bento .span-2 { grid-column: span 2; }
  .bento .span-3 { grid-column: span 3; }
  .bento .span-4 { grid-column: span 4; }
}
@media (min-width: 720px) and (max-width: 1039px) {
  .bento .wide-md { grid-column: span 2; }
}

.card {
  position: relative; overflow: hidden;
  background: var(--surface); border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
  padding: 28px;
  display: flex; flex-direction: column; gap: 22px;
  border: 1px solid var(--line);
}
.card h3 { font-size: 1.45rem; font-weight: 750; letter-spacing: -0.02em; }
.card p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.card .ico {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: var(--tint, #e7f3ff); color: var(--tint-ink, #0a7cf0); margin-bottom: 16px;
}
.card .ico svg { width: 24px; height: 24px; }
@media (prefers-color-scheme: dark) {
  .card .ico { background: color-mix(in srgb, var(--tint-ink, #0a7cf0) 20%, transparent); color: color-mix(in srgb, var(--tint-ink, #0a7cf0) 60%, #fff); }
}
.card .demo { margin-top: auto; }

/* App-like todo rows used in the mini demos (3.0: one card per day, glass rows) */
.daycard { border-radius: 18px; padding: 10px; background: var(--sky-today); display: grid; gap: 6px; }
.daycard .d-date { color: #fff; font-size: 13px; font-weight: 700; padding: 2px 4px 2px; }
.daycard .d-date b { font-weight: 500; opacity: 0.9; margin-left: 4px; }
.rows { display: grid; gap: 6px; }
.row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 12px;
  background: rgba(214, 238, 255, 0.82); color: #0b2540; font-size: 15px; font-weight: 500;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}
.row.done { color: #5f7c95; }
.row .t { font-weight: 700; }
.row .c { width: 22px; height: 22px; border-radius: 50%; flex: none; border: 1.5px solid #7d8d9c; background: #fff; display: grid; place-items: center; color: #3b1a00; font: 800 9px/1 var(--font-body); letter-spacing: -0.5px; }
.row .c.high { background: #f0503a; border-color: rgba(0, 0, 0, 0.12); }
.row .c.mid { background: #f7a928; border-color: rgba(0, 0, 0, 0.1); }
.row .c.low { background: #f6dd3c; border-color: rgba(0, 0, 0, 0.1); }
.row .c.ok { background: #0a7cf0; border-color: #0a7cf0; color: #fff; }
.row .c.ok svg { width: 12px; height: 12px; }
.list-head {
  display: flex; align-items: center; gap: 8px; padding: 4px 4px 2px;
  color: #fff; font-weight: 700; font-size: 13px;
}
.list-head::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.45); }
.list-head .chev { order: 2; width: 12px; height: 12px; }
.list-head .badge { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 700; background: #d9611a; }

/* Quick capture */
.capture {
  border-radius: 18px; overflow: hidden; background: #fff; color: #0b2540;
  box-shadow: inset 0 0 0 1px rgba(11, 37, 64, 0.08);
}
@media (prefers-color-scheme: dark) { .capture { background: #0b1823; color: #e6f0fa; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); } }
.capture .cap-head { background: #0a84ff; color: #fff; display: flex; justify-content: center; align-items: center; padding: 10px; }
.capture .list-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 999px; background: #fff; color: #0b2540; font-weight: 650; font-size: 13px; }
.capture .list-pill i { width: 20px; height: 20px; border-radius: 50%; background: #d9611a; color: #fff; display: grid; place-items: center; font: 700 11px/1 var(--font-body); font-style: normal; }
.capture .dock { display: flex; align-items: center; gap: 8px; padding: 8px 12px 12px; background: #e9edf2; }
@media (prefers-color-scheme: dark) { .capture .dock { background: #13212e; } }
.capture .dock .d-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 999px; background: #fff; color: #0b2540; font-size: 13px; font-weight: 600; }
@media (prefers-color-scheme: dark) { .capture .dock .d-btn { background: #0b1823; color: #e6f0fa; } }
.capture .dock .d-btn svg { width: 15px; height: 15px; }
.capture .dock .d-ok { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; background: #0a84ff; color: #fff; display: grid; place-items: center; }
.capture .dock .d-ok svg { width: 18px; height: 18px; }
.capture .cap-input { padding: 26px 18px; font-size: 18px; min-height: 76px; display: flex; align-items: center; }
.capture .caret { display: inline-block; width: 2px; height: 1.15em; background: #0a84ff; margin-left: 1px; animation: caret 1s steps(1) infinite; vertical-align: -0.2em; }
@keyframes caret { 50% { opacity: 0; } }
.capture .placeholder { color: #8a9aab; }
.chips { display: flex; gap: 8px; padding: 12px; background: #e9edf2; overflow: hidden; }
@media (prefers-color-scheme: dark) { .chips { background: #13212e; } }
.chip {
  flex: none; min-width: 58px; height: 56px; padding: 0 10px; border-radius: 10px;
  display: grid; place-items: center; text-align: center;
  background: #fff; color: #0b2540; font-size: 10px; font-weight: 600; line-height: 1.15;
  box-shadow: inset 0 0 0 1px rgba(11, 37, 64, 0.08);
}
@media (prefers-color-scheme: dark) { .chip { background: #0b1823; color: #e6f0fa; } }
.chip b { display: block; font-size: 18px; font-weight: 700; color: #0a5fc0; }
@media (prefers-color-scheme: dark) { .chip b { color: #79bbff; } }
.chip.later { font-size: 11px; }
.chip.on { background: #0a84ff; color: #fff; font-size: 13px; font-weight: 700; box-shadow: none; }

/* Recurring */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.week span {
  aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center;
  font-weight: 700; font-size: 14px; background: var(--surface-2); color: var(--ink-3);
}
.week span.on { background: #0a84ff; color: #fff; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pills span { font-size: 13px; font-weight: 650; padding: 6px 11px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }
.pills span.on { background: color-mix(in srgb, #0a84ff 14%, transparent); color: var(--accent-strong); }

/* Notification */
.notification {
  display: flex; gap: 12px; padding: 14px; border-radius: 22px;
  background: linear-gradient(135deg, rgba(240, 246, 252, 0.95), rgba(225, 236, 248, 0.95));
  color: #0b2540; box-shadow: 0 8px 24px -10px rgba(11, 37, 64, 0.25);
  font-size: 14px; line-height: 1.3;
}
@media (prefers-color-scheme: dark) { .notification { background: linear-gradient(135deg, #1a2c3d, #14232f); color: #e6f0fa; } }
.notification img { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.notification .n-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.notification strong { display: block; margin-top: 2px; font-weight: 650; }
.notification .n-sub { color: var(--ink-2); }
.notification + .notification { margin-top: -6px; transform: scale(0.94); opacity: 0.55; transform-origin: top; }

/* Widget */
.widgets { display: flex; gap: 14px; align-items: flex-end; }
.widget {
  width: 150px; aspect-ratio: 1; border-radius: 26px; padding: 14px;
  background: var(--sky-today); color: #fff;
  box-shadow: 0 14px 30px -14px rgba(0, 80, 170, 0.6);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.widget .w-top { display: flex; justify-content: space-between; align-items: flex-start; }
.widget .w-count { font: 800 40px/1 var(--font-display); letter-spacing: -0.03em; }
.widget .w-label { font-size: 12px; font-weight: 700; opacity: 0.9; text-transform: uppercase; letter-spacing: 0.04em; }
.widget svg.w-sun { width: 34px; height: 34px; }
.widget ul { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 5px; font-size: 12px; font-weight: 600; }
.widget li { display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.widget li i { width: 9px; height: 9px; border-radius: 50%; background: #fff; flex: none; }
.widget li i.high { background: var(--prio-high); }
.widget li i.mid { background: var(--prio-mid); }
.widget.small2 { width: 100px; border-radius: 20px; padding: 12px; background: var(--sky-tomorrow); color: #0b2540; }
.widget.small2 .w-count { font-size: 30px; }

/* Watch */
.watch-wrap { position: relative; display: flex; justify-content: center; padding: 18px 0; }
.watch-wrap::before {
  /* the band */
  content: ""; position: absolute; top: -40px; bottom: -40px; left: 50%; width: 100px; transform: translateX(-50%);
  border-radius: 24px;
  background: linear-gradient(180deg, transparent 0%, #8fb0cc 22%, #7e9fbd 78%, transparent 100%);
}
.watch {
  position: relative; width: 168px; aspect-ratio: 396 / 484; padding: 12px;
  border-radius: 46px; background: linear-gradient(150deg, #3c424c, #121519 60%, #2b3038);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.15), var(--shadow-float);
}
.watch::before { content: ""; position: absolute; right: -6px; top: 26%; width: 7px; height: 20%; border-radius: 4px; background: #2f343c; }
.watch img { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; background: #000; }

/* Sync */
.devices { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 4vw, 36px); color: var(--ink-2); }
.devices { padding: 12px 0 4px; }
.devices svg { height: 92px; width: auto; }
.devices .cloud-ico { color: #0a84ff; height: 72px; }
.devices .link { flex: 1; max-width: 70px; height: 2px; background: repeating-linear-gradient(90deg, #0a84ff 0 6px, transparent 6px 12px); opacity: 0.6; animation: dash 1.2s linear infinite; background-size: 12px 2px; }
@keyframes dash { to { background-position: 12px 0; } }

/* Siri & Shortcuts */
.shortcuts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.shortcut {
  border-radius: 18px; padding: 14px; min-height: 92px; color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  font-weight: 650; font-size: 14px; line-height: 1.25;
}
.shortcut svg { width: 22px; height: 22px; }
.shortcut.s-a { background: linear-gradient(140deg, #3a8dff, #0a5fd8); }
.shortcut.s-b { background: linear-gradient(140deg, #ffb340, #f27b1e); }

/* Backup */
.files { display: flex; flex-direction: column; gap: 10px; }
.file {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px;
  background: var(--surface-2); font-size: 14px; font-weight: 600;
}
.file small { display: block; color: var(--ink-3); font-weight: 500; font-size: 12px; }
.file .f-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: #0a84ff; box-shadow: 0 1px 3px rgba(11, 37, 64, 0.1); flex: none; }
@media (prefers-color-scheme: dark) { .file .f-ico { background: #0b1823; } }
.file .f-ico svg { width: 20px; height: 20px; }
.toggle { margin-left: auto; width: 44px; height: 26px; border-radius: 999px; background: #34c759; position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; top: 2px; right: 2px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }

.langs { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; align-items: center; color: var(--ink-3); font-size: 15px; }
.langs strong { color: var(--ink-2); font-weight: 650; margin-right: 4px; }
.langs span { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-weight: 550; font-size: 14px; }

/* ---------- Themes ---------- */
.theme-scroller { position: relative; }
.themes {
  list-style: none;
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(168px, 44vw, 210px);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  padding: 8px var(--gutter) 24px; margin: 0 calc(var(--gutter) * -1);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.themes::-webkit-scrollbar { display: none; }
@media (min-width: 1240px) {
  .themes { margin: 0; padding: 8px 2px 24px; scroll-padding: 0; }
}
.theme { scroll-snap-align: start; }
.theme-shot {
  position: relative; display: block; aspect-ratio: 1206 / 2622; border-radius: 26px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-card);
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), box-shadow 0.35s ease;
}
.theme-shot img { width: 100%; height: 100%; object-fit: cover; }
.theme:hover .theme-shot { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line), 0 30px 50px -24px rgba(11, 37, 64, 0.45); }
.theme-meta .tag { margin-left: 8px; padding: 4px 7px; font-size: 10px; }
.theme-meta .tag.re { background: var(--surface-2); color: var(--ink-2); }
.theme-meta { margin-top: 12px; display: flex; flex-direction: column; gap: 3px; padding: 0 4px; }
.theme-meta strong { display: flex; align-items: center; white-space: nowrap; }
.theme-meta strong { font: 750 18px/1.2 var(--font-display); }
.theme-meta span { font-size: 13px; color: var(--ink-3); font-weight: 600; white-space: nowrap; }
.theme-meta span.free { color: #2f8f4e; }
@media (prefers-color-scheme: dark) { .theme-meta span.free { color: #6fd38e; } }
.scroll-btns { display: none; justify-content: flex-end; gap: 8px; margin-top: 4px; }
@media (min-width: 720px) { .scroll-btns { display: flex; } }
.scroll-btns button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); cursor: pointer;
  background: var(--surface); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-card);
}
.scroll-btns button:disabled { opacity: 0.35; cursor: default; }
.scroll-btns svg { width: 20px; height: 20px; }

/* ---------- Privacy ---------- */
.privacy {
  background: linear-gradient(180deg, #14212f 0%, #2c3e50 45%, #3f8796 100%);
  color: #eef5fb;
  padding: clamp(44px, 7vw, 88px) clamp(24px, 6vw, 80px) clamp(150px, 18vw, 230px);
}
.privacy .stars { position: absolute; inset: 0 0 45% 0; z-index: 0; }
.privacy .moon { position: absolute; z-index: 0; width: 72px; height: 72px; top: 26px; right: 24px; }
@media (min-width: 960px) {
  /* rising behind the bushes, between the two columns */
  .privacy .moon { width: 130px; height: 130px; top: auto; right: auto; left: 41%; bottom: clamp(64px, 8vw, 104px); }
}
.privacy-grid { position: relative; z-index: 2; display: grid; gap: 40px; }
@media (min-width: 960px) { .privacy-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.privacy .eyebrow { background: rgba(255, 255, 255, 0.12); color: #cfe6ff; padding: 7px 14px; }
.privacy h2 { margin-top: 16px; font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; max-width: 12em; }
.privacy .lead { margin-top: 18px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: #c9d8e6; max-width: 32em; }
.privacy .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 26px; font-weight: 650; color: #fff; text-decoration: none; border-bottom: 2px solid rgba(255, 255, 255, 0.35); padding-bottom: 2px; }
.privacy .more:hover { border-color: #fff; }
.promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.promises li {
  display: flex; gap: 16px; padding: 20px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.promises .p-ico { width: 44px; height: 44px; border-radius: 13px; flex: none; display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); color: #ffe9a8; }
.promises .p-ico svg { width: 22px; height: 22px; }
.promises strong { display: block; font-size: 17px; font-weight: 700; }
.promises p { margin-top: 4px; color: #c2d3e2; font-size: 15px; }

/* ---------- Final CTA ---------- */
.cta {
  background: var(--sky-tomorrow);
  color: #0b2540; text-align: center;
  padding: clamp(56px, 8vw, 104px) 24px clamp(200px, 24vw, 300px);
}
.cta .rise {
  position: absolute; z-index: 0; left: 50%; bottom: clamp(24px, 4vw, 52px);
  width: clamp(120px, 14vw, 176px); aspect-ratio: 1;
  transform: translate(-50%, 70%);
  transition: transform 1.8s cubic-bezier(.2, .7, .2, 1);
}
.cta.in .rise { transform: translate(-50%, 0); }
.cta .rise::before {
  content: ""; position: absolute; inset: -55%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 236, 120, 0.75) 0%, rgba(255, 236, 120, 0) 60%);
}
.cta-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.cta-icon { width: 96px; height: 96px; margin: 0 auto; border-radius: 22px; box-shadow: 0 16px 36px -14px rgba(0, 70, 150, 0.55); }
.cta h2 { margin-top: 26px; font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 800; letter-spacing: -0.035em; }
.cta p { margin: 18px auto 0; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: #2f4a63; max-width: 34em; }
.cta .btn { margin-top: 30px; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 48px; color: var(--ink-3); font-size: 15px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px 40px; justify-content: space-between; align-items: flex-start; }
.footer-brand p { margin-top: 10px; max-width: 22em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; color: var(--ink-2); font-weight: 550; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.copyright { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .bento .reveal:nth-child(3n + 2) { transition-delay: 0.08s; }
.js .bento .reveal:nth-child(3n + 3) { transition-delay: 0.16s; }
.js .themes .reveal:nth-child(2) { transition-delay: 0.06s; }
.js .themes .reveal:nth-child(3) { transition-delay: 0.12s; }
.js .themes .reveal:nth-child(4) { transition-delay: 0.18s; }
.js .themes .reveal:nth-child(5) { transition-delay: 0.24s; }

.hero-copy > * { animation: rise-in 0.9s cubic-bezier(.2, .8, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.hero-copy > :nth-child(5) { animation-delay: 0.32s; }
.hero-visual { animation: phone-in 1.2s 0.2s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes phone-in { from { opacity: 0; translate: 0 60px; } to { opacity: 1; translate: 0 0; } }

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

/* ---------- Legal pages ---------- */
.legal-hero {
  background: var(--sky-someday); color: #0b2540;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 6vw, 72px) clamp(96px, 10vw, 136px);
}
.legal-hero .bushes { height: clamp(56px, 6vw, 84px); }
.legal-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.03em; position: relative; z-index: 2; }
.legal-hero p { position: relative; z-index: 2; margin-top: 12px; color: #3a5068; font-weight: 550; }
.legal-hero .sun-sm { position: absolute; z-index: 0; top: 24px; right: clamp(20px, 5vw, 64px); width: clamp(80px, 10vw, 120px); }
.legal-body { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 64px) 0 16px; }
.legal-body h2 { font-size: 1.45rem; font-weight: 750; margin: 40px 0 10px; }
.legal-body p { color: var(--ink-2); margin-top: 12px; }
.legal-body a { color: var(--accent-strong); }
.legal-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: var(--shadow-card); padding: 28px; display: grid; gap: 14px;
}
.legal-card dt { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-3); font-weight: 700; }
.legal-card dd { margin: 2px 0 0; font-size: 18px; font-weight: 550; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 36px; font-weight: 650; color: var(--accent-strong); text-decoration: none; }
.back-link:hover { text-decoration: underline; text-underline-offset: 3px; }
