/* Landing page in the Glass design — the app's `glass` variant (src/tokens/designs.ts) on the web: soft washes with
   glows, see-through cards with a white edge, light headings, pill buttons, a floating bar. Same markup as Classic
   (landing.css); scripts/build-landing.py links the sheet of the design the site wears (DESIGN there). */
:root {
  color-scheme: light dark;
  --ink: #172c3c;
  /* 0.8 / 0.74 keep small text ≥ 4.5:1 (WCAG AA) on every wash and glow below (measured, not assumed). */
  --ink-2: rgba(23, 44, 60, 0.8);
  --ink-3: rgba(23, 44, 60, 0.74);
  --line: rgba(30, 76, 103, 0.14);
  --line-2: rgba(30, 76, 103, 0.24);
  --glass: rgba(255, 255, 255, 0.6);
  --glass-2: rgba(255, 255, 255, 0.42);
  /* Nothing is blurred under the bar and the menus (see .top), so they are solid: text passing under a
     see-through bar showed through it. */
  --glass-solid: #fdfdff;
  --edge: rgba(255, 255, 255, 0.8);
  --accent: #2f66ad;
  --action: #1e1c1c;
  --action-ink: #ffffff;
  --shadow: 0 30px 60px -38px rgba(30, 76, 103, 0.55);
  --shadow-sm: 0 14px 30px -22px rgba(30, 76, 103, 0.5);
  /* The deep panel: Progress's ocean, dark in both themes. */
  --deep-0: #244460;
  --deep-1: #285f8c;
  --deep-g1: 27, 189, 218;
  --deep-g2: 147, 112, 214;
  --deep-ink: #f4fbff;
  /* 0.92 keeps the tiles' small text ≥ 4.5:1 where the panel's glows lighten it (measured). */
  --deep-ink-2: rgba(244, 251, 255, 0.92);
  --deep-glass: rgba(229, 242, 255, 0.12);
  --deep-edge: rgba(213, 236, 255, 0.24);
  --deep-accent: #d3f4ff;
  /* The Pro card: the app's graphite hero panel. */
  --panel: rgba(30, 28, 28, 0.92);
  --panel-ink: #ffffff;
  --panel-ink-2: rgba(255, 255, 255, 0.78);
  --panel-accent: #a9d3ff;
  --panel-pill: #ffffff;
  --panel-pill-ink: #172c3c;
  /* The stat-tile pastels. */
  --tint-rose: #ffdad5;
  --tint-coral: #fbc5b5;
  --tint-aqua: #b9e3e7;
  --tint-iris: #c8c5f3;
  --tint-sky: #d5eaff;
  --step: #c9603f;
  --phone: #0d141b;
  --heading: 300;
  --radius: 28px;
  --radius-sm: 20px;
  --wrap: 1120px;
  --foot: #fffcf8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f3f8ff;
    --ink-2: rgba(243, 248, 255, 0.78);
    --ink-3: rgba(243, 248, 255, 0.66);
    --line: rgba(213, 236, 255, 0.16);
    --line-2: rgba(213, 236, 255, 0.28);
    --glass: rgba(229, 242, 255, 0.09);
    --glass-2: rgba(229, 242, 255, 0.06);
    --glass-solid: #1a3549;
    --edge: rgba(213, 236, 255, 0.18);
    --accent: #7fcbff;
    --action: #ffffff;
    --action-ink: #142c3e;
    --shadow: 0 30px 60px -38px rgba(0, 0, 0, 0.7);
    --shadow-sm: 0 14px 30px -22px rgba(0, 0, 0, 0.6);
    --deep-0: #102239;
    --deep-1: #1b4568;
    --deep-g1: 9, 154, 188;
    --deep-g2: 117, 97, 173;
    --panel: rgba(229, 242, 255, 0.14);
    --panel-accent: #8fe4ff;
    --panel-pill: #f3f8ff;
    --panel-pill-ink: #14202c;
    --tint-rose: rgba(225, 159, 179, 0.3);
    --tint-coral: rgba(242, 160, 138, 0.28);
    --tint-aqua: rgba(142, 232, 241, 0.26);
    --tint-iris: rgba(167, 160, 244, 0.3);
    --tint-sky: rgba(106, 169, 243, 0.26);
    --step: #ffa280;
    --phone: #070c11;
    /* Light text on dark glass needs a little more weight than ink on a pale wash. */
    --heading: 400;
    --foot: #132b3d;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--foot);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ── The floating bar ───────────────────────────────────── */
/* No backdrop-filter: blurring everything that scrolls under a sticky bar is redone every frame (Safari
   especially) — the scroll dropped frames once the phone shots passed under it. A nearly solid pill instead. */
.top { position: sticky; top: 0; z-index: 10; padding: 12px 14px 0; margin-bottom: -72px; pointer-events: none; }
.top .wrap { pointer-events: auto; display: flex; align-items: center; gap: 24px; height: 60px; padding: 0 10px 0 16px; border-radius: 999px; background: var(--glass-solid); border: 1px solid var(--edge); box-shadow: var(--shadow-sm); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: 19px; letter-spacing: -0.02em; }
.brand-name { white-space: nowrap; }
@media (max-width: 360px) {
  .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .top .wrap { gap: 12px; }
}
.mark { width: 34px; height: 34px; display: block; flex: none; border-radius: 9px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--ink-2); }
.top nav a:hover { color: var(--ink); }
/* Phones: the section links collapse into a native <details> menu (no JS). */
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-size: 15px; font-weight: 500; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 12px); min-width: 190px; background: var(--glass-solid); border: 1px solid var(--edge); border-radius: 22px; padding: 8px; display: grid; box-shadow: var(--shadow); }
.menu-panel a { padding: 10px 14px; border-radius: 14px; color: var(--ink) !important; }
.menu-panel a:hover { background: var(--line); }
/* Language menu: every language of the app, at every width */
.lang-menu { display: block; }
.lang-menu summary { font-size: 13px; letter-spacing: 0.04em; }
.lang-menu .menu-panel { min-width: 170px; }
.lang-menu .menu-panel a[aria-current] { background: var(--action); color: var(--action-ink) !important; }
@media (max-width: 760px) {
  .top nav .nav-link { display: none; }
  .menu { display: block; }
  .top nav { gap: 8px; }
  .top { padding: 10px 10px 0; }
}

/* ── Buttons: the app's pill, its arrow at the end ───────── */
.btn { display: inline-flex; align-items: center; gap: 14px; padding: 15px 22px 15px 26px; border-radius: 999px; font-weight: 500; font-size: 16px; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease; }
.btn::after, .gallery-nav button::after { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.btn:active { transform: scale(0.98); }
.btn-dark { background: var(--action); color: var(--action-ink); box-shadow: var(--shadow-sm); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: var(--glass); }

/* ── Sections: each wears its own wash, as the app's sections do ── */
/* One base running top to bottom (a section ends in the colour the next begins with) and two glows kept
   inside the section, so no edge shows where one wash meets the next. */
main > section {
  position: relative;
  padding: 96px 0;
  background:
    radial-gradient(ellipse 62% 44% at var(--x1, 100%) var(--y1, 42%), rgba(var(--g1, 255, 255, 255), var(--a1, 0)), rgba(var(--g1, 255, 255, 255), 0) 70%),
    radial-gradient(ellipse 62% 44% at var(--x2, 0%) var(--y2, 58%), rgba(var(--g2, 255, 255, 255), var(--a2, 0)), rgba(var(--g2, 255, 255, 255), 0) 70%),
    linear-gradient(180deg, var(--b0), var(--bm, var(--b1)) 34%, var(--b1));
}
@media (max-width: 700px) { main > section { padding: 68px 0; } }
/* Today: warm white, the coral and iris of the app's icon. */
.hero { --b0: #fffcf8; --b1: #f1f0f8; --g1: 242, 156, 129; --a1: 0.4; --x1: 96%; --y1: 30%; --g2: 169, 162, 242; --a2: 0.36; --x2: 2%; --y2: 62%; }
.band { --b0: #f1f0f8; --b1: #eef0fc; }
/* Plan: iris and aqua. */
#features { --b0: #eef0fc; --b1: #e4e6f5; --g1: 197, 196, 255; --a1: 0.85; --x1: 100%; --y1: 34%; --g2: 169, 219, 233; --a2: 0.7; --x2: -6%; --y2: 62%; }
/* Training: rose and coral. */
.gallery-sec { --b0: #e4e6f5; --bm: #f7ebf1; --b1: #f4e4e1; --g1: 242, 156, 129; --a1: 0.42; --x1: 104%; --y1: 58%; --g2: 190, 185, 242; --a2: 0.5; --x2: -8%; --y2: 40%; }
/* Nutrition: peach and sky. */
section[aria-labelledby="how-title"] { --b0: #f4e4e1; --bm: #f5f7f8; --b1: #eceaf7; --g1: 255, 197, 173; --a1: 0.7; --x1: 100%; --y1: 60%; --g2: 169, 218, 245; --a2: 0.75; --x2: 0%; --y2: 38%; }
#pricing { --b0: #eceaf7; --b1: #eef0fc; --g1: 197, 196, 255; --a1: 0.6; --x1: 2%; --y1: 44%; --g2: 169, 219, 233; --a2: 0.5; --x2: 100%; --y2: 60%; }
#faq { --b0: #eef0fc; --b1: #f1f0f8; }
.final { --b0: #f1f0f8; --b1: #fffcf8; }
@media (prefers-color-scheme: dark) {
  .hero { --b0: #132b3d; --b1: #15344a; --g1: 113, 221, 255; --a1: 0.16; --g2: 147, 112, 214; --a2: 0.26; }
  .band { --b0: #15344a; --b1: #23283e; }
  #features { --b0: #23283e; --b1: #242f4e; --g1: 92, 78, 174; --a1: 0.42; --g2: 61, 155, 178; --a2: 0.3; }
  .gallery-sec { --b0: #242f4e; --bm: #252439; --b1: #493140; --g1: 212, 107, 73; --a1: 0.36; --g2: 112, 86, 169; --a2: 0.4; }
  section[aria-labelledby="how-title"] { --b0: #493140; --bm: #202b3c; --b1: #34304a; --g1: 214, 116, 100; --a1: 0.3; --g2: 76, 157, 179; --a2: 0.3; }
  #pricing { --b0: #34304a; --b1: #23283e; --g1: 92, 78, 174; --a1: 0.36; --g2: 61, 155, 178; --a2: 0.26; }
  #faq { --b0: #23283e; --b1: #15344a; }
  .final { --b0: #15344a; --b1: #132b3d; }
}

/* ── Type: light and large, never heavier than medium ────── */
.eyebrow, .kicker { font-size: 12.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
h1 { font-size: clamp(40px, 6.2vw, 72px); line-height: 1.04; letter-spacing: -0.04em; font-weight: var(--heading); margin: 18px 0 22px; overflow-wrap: break-word; }
h2 { font-size: clamp(31px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -0.035em; font-weight: var(--heading); margin: 14px 0 16px; max-width: 17em; overflow-wrap: break-word; }
h3 { font-weight: 500; letter-spacing: -0.01em; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 34em; }
.sub { font-size: 18px; color: var(--ink-2); max-width: 38em; }
.note { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.note a { color: var(--ink-2); }

/* ── Hero ───────────────────────────────────────────────── */
.hero { padding: 132px 0 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.blob { display: none; }
@media (max-width: 900px) {
  .hero { padding: 112px 0 68px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
}

/* ── Phone frame around real app screenshots ───────────────── */
.phone { position: relative; width: min(312px, 100%); margin: 0 auto; border-radius: 50px; padding: 9px; background: var(--phone); box-shadow: 0 50px 90px -44px rgba(23, 44, 60, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1) inset; }
.phone .shot { display: block; width: 100%; height: auto; border-radius: 41px; background: #15344a; }
.phone-sm { width: min(258px, 100%); border-radius: 42px; padding: 8px; }
.phone-sm .shot { border-radius: 34px; }

/* Gallery of app screens: one strip. The arrows move it, as a swipe does, or the arrow keys once it has focus. */
.gallery-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 26px; }
.gallery-nav button { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 999px; border: 1px solid var(--edge); background: var(--glass-solid); color: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .15s ease, opacity .15s ease; }
.gallery-prev::after { transform: rotate(180deg); }
.gallery-nav button:active:not(:disabled) { transform: scale(0.95); }
.gallery-nav button:disabled { opacity: 0.38; cursor: default; box-shadow: none; }
@media (hover: none) and (pointer: coarse) { .gallery-nav { display: none; } } /* a touch screen swipes */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 232px; gap: 24px; margin-top: 18px; padding-bottom: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-behavior: smooth; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 16px; }
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery figcaption { margin: 18px auto 0; max-width: 260px; font-size: 15px; color: var(--ink-2); text-align: center; }
@media (hover: none) and (pointer: coarse) { .gallery { margin-top: 52px; } }
@media (min-width: 1001px) {
  /* The strip's edge would cut the phones' shadows on the left and the screen peeking in on the right: the strip
     reaches 60 px further left for the shadows, and both ends fade out (so the last screen keeps clear of the fade). */
  .gallery { margin-left: -60px; padding-left: 60px; padding-right: 72px; scroll-padding-left: 60px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 60px, #000 calc(100% - 72px), transparent);
    mask-image: linear-gradient(to right, transparent, #000 60px, #000 calc(100% - 72px), transparent); }
}
@media (max-width: 1000px) {
  .gallery { grid-auto-columns: min(74%, 258px); scroll-snap-type: x mandatory; margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
  .gallery figure { scroll-snap-align: center; }
}

/* ── The 80/20 band: a deep-ocean panel, dark in both themes ── */
.band { padding: 24px 14px; }
.band .wrap, .final .wrap {
  color: var(--deep-ink);
  border-radius: 40px;
  background:
    radial-gradient(ellipse 62% 78% at 106% 0%, rgba(var(--deep-g1), 0.34), rgba(var(--deep-g1), 0) 70%),
    radial-gradient(ellipse 58% 66% at -10% 108%, rgba(var(--deep-g2), 0.28), rgba(var(--deep-g2), 0) 70%),
    linear-gradient(150deg, var(--deep-0), var(--deep-1));
  box-shadow: var(--shadow);
}
.band .wrap { padding: 72px 56px; }
.band .kicker { color: var(--deep-accent); }
.band .sub { color: var(--deep-ink-2); }
.four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.four div { background: var(--deep-glass); border: 1px solid var(--deep-edge); border-radius: 24px; padding: 24px 22px 26px; }
.four .num { font-size: 12.5px; letter-spacing: 0.18em; color: var(--deep-accent); font-weight: 500; }
.four h3 { font-size: 21px; margin: 20px 0 8px; }
.four p { color: var(--deep-ink-2); font-size: 15px; }
@media (max-width: 900px) { .four { grid-template-columns: 1fr 1fr; } .band .wrap { padding: 52px 28px; border-radius: 34px; } }
@media (max-width: 520px) { .four { grid-template-columns: 1fr; } .band .wrap { padding: 44px 22px; } }

/* ── Features: glass cards ──────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }
.card, .plan, .step, .faq details { background: var(--glass); border: 1px solid var(--edge); box-shadow: var(--shadow-sm); }
.card { border-radius: var(--radius); padding: 28px 26px 30px; }
.card .ico { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--tint-sky); margin-bottom: 22px; }
.card:nth-child(5n + 1) .ico { background: var(--tint-rose); }
.card:nth-child(5n + 2) .ico { background: var(--tint-aqua); }
.card:nth-child(5n + 3) .ico { background: var(--tint-iris); }
.card:nth-child(5n + 4) .ico { background: var(--tint-coral); }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 500; letter-spacing: 0.06em; padding: 3px 10px; border-radius: 999px; background: var(--action); color: var(--action-ink); margin-left: 6px; vertical-align: 3px; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

.extras { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.extra { display: flex; gap: 12px; align-items: flex-start; padding: 18px 18px 20px; border-radius: var(--radius-sm); background: var(--glass-2); border: 1px solid var(--edge); font-size: 15px; color: var(--ink-2); }
.extra .icon { flex: none; color: var(--ink); margin-top: 1px; }
.extra b { color: var(--ink); display: block; margin-bottom: 2px; font-weight: 500; }
@media (max-width: 900px) { .extras { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .extras { grid-template-columns: 1fr; } }

/* ── Steps ──────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; counter-reset: s; }
.step { counter-increment: s; border-radius: var(--radius); padding: 28px 26px 30px; }
.step::before { content: counter(s, decimal-leading-zero); display: block; font-size: 54px; line-height: 1; font-weight: 300; letter-spacing: -0.04em; color: var(--step); margin-bottom: 18px; }
.step h3 { font-size: 20px; margin-bottom: 6px; }
.step p { color: var(--ink-2); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ── Pricing ────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 52px; max-width: 900px; }
.plan { border-radius: 32px; padding: 34px 30px 36px; display: flex; flex-direction: column; }
.plan-pro { background: radial-gradient(ellipse 95% 75% at 100% 0%, rgba(169, 211, 255, 0.17), rgba(169, 211, 255, 0.07) 42%, rgba(169, 211, 255, 0) 78%), var(--panel); color: var(--panel-ink); border-color: transparent; }
.plan.plan-pro .muted, .plan.plan-pro li { color: var(--panel-ink-2); }
.plan h3 { font-size: 24px; display: flex; align-items: center; gap: 10px; }
.badge { font-size: 12px; font-weight: 500; padding: 4px 11px; border-radius: 999px; background: var(--panel-pill); color: var(--panel-pill-ink); }
.muted { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.price { font-size: 56px; line-height: 1.1; font-weight: 300; letter-spacing: -0.045em; margin: 24px 0 4px; }
.price small { font-size: 16px; font-weight: 400; opacity: 0.66; letter-spacing: 0; margin-left: 4px; }
.plan ul { list-style: none; margin: 20px 0 0; display: grid; gap: 11px; }
.plan li { display: flex; gap: 11px; font-size: 15.5px; color: var(--ink-2); }
.plan li .icon { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent); }
.plan-pro li .icon { color: var(--panel-accent); }
.fine { font-size: 13px; color: var(--ink-2); margin-top: 20px; max-width: 60em; }
.fine a { color: inherit; }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }

/* ── FAQ ────────────────────────────────────────────────── */
.faq { margin-top: 44px; max-width: 840px; display: grid; gap: 10px; }
.faq details { border-radius: 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 21px 62px 21px 26px; font-size: 18px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 32px; height: 32px; margin-top: -16px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font-size: 20px; font-weight: 300; line-height: 1; color: var(--ink-2); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 24px; color: var(--ink-2); }

/* ── Final call + footer ────────────────────────────────── */
.final { text-align: center; padding: 24px 14px 72px; }
.final .wrap { padding: 76px 28px; }
.final h2 { margin: 0 auto 16px; }
.final .sub { margin: 0 auto; color: var(--deep-ink-2); }
.final .signup { margin-left: auto; margin-right: auto; justify-content: center; }
.final .cta { justify-content: center; }
.final .btn-dark { background: #ffffff; color: #172c3c; }
.tight-top { padding-top: 0; }

/* Early-access form */
.signup { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; max-width: 540px; }
.signup .btn { flex: 0 0 auto; cursor: pointer; font: inherit; font-weight: 500; }
@media (max-width: 480px) { .signup .btn { flex: 1 1 100%; justify-content: space-between; } }

footer.site { background: var(--foot); padding: 8px 0 56px; font-size: 14px; color: var(--ink-3); }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; border-top: 1px solid var(--line); padding-top: 32px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-left: auto; }
footer.site a { overflow-wrap: anywhere; text-decoration: none; color: var(--ink-2); }
footer.site a:hover { color: var(--ink); }
@media (max-width: 520px) { footer.site nav { margin-left: 0; } }
footer.site .disclaimer { flex-basis: 100%; font-size: 13px; }

@media (prefers-reduced-motion: reduce) { html, .gallery { scroll-behavior: auto; } .btn, .gallery-nav button, .faq summary::after { transition: none; } }
