/* The front page (front.html). Light only. Silk printed in dots (light ink on the app's violet) opens it; three
   cards each carry one of the app's pieces on its own print, with a glass caption; the apps run as a band on a print
   of heels, then the questions, then a band with a rose to close. Switzer, the app's violet and its gift.
   Motion (front.js) has a job and stays slow: each panel plays once when it's first seen (the cards' pieces rise onto
   them together). It sets --p (0–1, a panel's one play), --m (each meter's fill) and --n (each closing step's place);
   without it each reads as finished. */

@font-face { font-family: "Switzer"; src: url("/front/fonts/switzer-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/front/fonts/switzer-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/front/fonts/switzer-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Switzer"; src: url("/front/fonts/switzer-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --page: #f7f5f1;
  --ink: #1d1426;
  --text: #55506a;
  --mute: #8a8798;
  --line: #e3dee4;
  --violet: #6d4aff;
  --silk: #5b3ee6;
  --silk-ink: #f3efff;
  --gold: #d9a21f;
  /* fast at first, settling gently (front.js's ease) */
  --settle: cubic-bezier(0.33, 1, 0.68, 1);
  --wrap: 1240px;
  --gutter: 40px;
  color-scheme: light only;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.js { scroll-behavior: auto; } /* front.js glides instead */
html, body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--page); color: var(--text); font: 400 17px/1.55 "Switzer", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
::selection { background: rgb(109 74 255 / 0.28); color: var(--ink); }
/* On the violet prints, chosen words sit on a soft lavender (the violet lightened), the letters staying white; solid,
   so the headline's close-set lines never show a lighter stripe where their highlights meet */
.silk ::selection { background: #8c78ee; color: #fff; }
.silk.light ::selection { background: rgb(109 74 255 / 0.28); color: var(--ink); }
/* The white app pieces on the violet cards are paper: chosen words there as on paper */
.silk .ui ::selection { background: rgb(109 74 255 / 0.28); color: var(--ink); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 10px; }
/* On the violet prints a violet ring can't be seen: white there */
.silk:not(.light) :focus-visible { outline-color: #fff; }
.silk:not(.light) .ui :focus-visible { outline-color: var(--violet); }
main:focus { outline: none; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 10; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3 { color: var(--ink); font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }

/* The silk: a panel whose canvas prints the photo in dots */
.silk { --print-ground: var(--silk); --print-ink: var(--silk-ink); position: relative; isolation: isolate; overflow: hidden; background: var(--silk); color: #fff; border-radius: 24px; }
.silk > :not(canvas) { position: relative; z-index: 1; }
.print { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: var(--print-ground, var(--silk)); }
.silk h1, .silk h2 { color: #fff; }

/* Buttons */
.doors { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { -webkit-user-select: none; user-select: none; display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 999px; font-size: 16px; font-weight: 600; white-space: nowrap; transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; }
.btn:active { transform: scale(0.98); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #f1eefa; }
.btn-glass {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 12px 28px -16px rgba(20, 10, 70, 0.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.26); }
.btn-small { height: 38px; padding: 0 16px; font-size: 14px; }

/* ───────── Opening ───────── */
.hero { padding: 12px 12px 0; }
.hero-panel { display: grid; grid-template-rows: auto 1fr; height: clamp(680px, calc(100svh - 12px), 900px); }
.nav { display: flex; align-items: center; gap: 36px; height: 72px; padding: 0 max(var(--gutter), calc((100% - var(--wrap)) / 2)); }
.brand { display: inline-flex; align-items: center; gap: 5px; padding-block: 8px; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.mark { width: 22px; height: 26px; flex: none; color: var(--violet); }
/* the gift sits level with the word: its middle on the capitals' middle, not the line's */
.brand .mark { translate: 0 -2px; }
/* the bar's words on the silk keep a soft shade, as the headline does, so they read where the cloth runs light */
.nav .brand, .nav .nav-signin { text-shadow: 0 1px 2px rgb(35 15 120 / 0.45), 0 2px 14px rgb(35 15 120 / 0.45); }
.nav .brand .mark { filter: drop-shadow(0 1px 2px rgb(35 15 120 / 0.45)) drop-shadow(0 2px 10px rgb(35 15 120 / 0.4)); }
.silk .mark { color: currentColor; }
.nav-doors { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-signin { font-size: 15px; font-weight: 600; }
.nav-signin:hover { opacity: 0.7; }
.hero-center { align-self: center; justify-self: center; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24px 40px; }
/* Each line of the headline is its own block, the first drawn over the second: chosen, their highlights meet
   without overlapping, and the first line's g and p are never covered */
.hero-center h1 .nb { display: block; line-height: 1.02; }
.hero-center h1 .nb:first-child { position: relative; z-index: 1; }
/* A few sparkles on the words themselves (front.js places them on letters: the Y's corner, the i's dot, the last stop,
   the k's top), each catching the light in turn, slowly; held still for anyone who asked for less motion */
.hero-center h1 { position: relative; }
.twinkle { position: absolute; z-index: 2; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  pointer-events: none; user-select: none; color: #fff; filter: drop-shadow(0 0 calc(var(--s) * 0.18) rgb(255 255 255 / 0.85)); }
.twinkle svg { display: block; width: 100%; height: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .twinkle { animation: twinkle var(--t, 5s) ease-in-out var(--d, 1.2s) infinite both; }
}
@media (prefers-reduced-motion: reduce) { .twinkle { opacity: 0.85; } }
@keyframes twinkle {
  0%, 62%, 100% { opacity: 0; transform: scale(0.35) rotate(-12deg); }
  16% { opacity: 1; transform: scale(1) rotate(0deg); }
  34% { opacity: 0.9; transform: scale(0.9) rotate(6deg); }
}
.hero-center h1 br { display: none; }
.hero-center h1 { font-size: clamp(64px, 9.4vw, 148px); line-height: 0.9; letter-spacing: -0.05em; max-width: 8.4em;
  /* one shadow for both lines, cast as one layer: a text-shadow on the first line would grey the second's tops */
  filter: drop-shadow(0 2px 4px rgb(35 15 120 / 0.18)) drop-shadow(0 10px 40px rgb(35 15 120 / 0.38)); }
/* The glass Sign in on the silk: a deeper glass, so it reads where the cloth runs light behind it */
.hero .btn-glass { background: rgb(40 20 130 / 0.28); }
.hero .btn-glass:hover { background: rgb(40 20 130 / 0.4); }
.hero-center .doors { justify-content: center; margin-top: 44px; }

/* ───────── What it does ───────── */
.lede { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 64px; padding-top: 150px; padding-bottom: 48px; }
.lede h2, .faq h2 { font-size: clamp(36px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -0.04em; }
.lede p { justify-self: end; max-width: 28em; font-size: 18px; padding-bottom: 4px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 640px; padding: 18px; border-radius: 22px; }
.card-glass {
  padding: 16px 18px; border-radius: 16px; color: #fff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 16px 32px -20px rgba(20, 10, 70, 0.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
}
.card-glass h3 { color: #fff; font-size: 20px; line-height: 1.15; letter-spacing: -0.02em; }
.card-glass p { margin-top: 4px; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, 0.88); }
@media (min-width: 1061px) { .card-glass p { min-height: 2.9em; } }

/* The app's pieces, as the app draws them */
.ui { padding: 20px; border-radius: 18px; background: #fff; color: var(--ink); font-variant-numeric: tabular-nums; box-shadow: 0 1px 0 rgba(29, 20, 38, 0.04), 0 28px 56px -30px rgba(30, 10, 90, 0.55); }
.ui-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.ui-head b { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.ui-period { font-size: 13px; font-weight: 600; color: var(--violet); }
.ui-board ol { position: relative; }
.ui-board li { position: relative; display: grid; grid-template-columns: 22px 36px minmax(0, 1fr) auto auto; align-items: center; gap: 8px; height: 56px; border-top: 1px solid #efecf3; background: #fff; }
.ui-board li:first-child { border-top: 0; }
.ui-board .r { font-size: 13px; font-weight: 600; color: var(--mute); }
.ui-board li:first-child .r { color: var(--violet); }
.disc { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #efeaff; flex: none; }
.disc i { font-style: normal; font-size: 13px; font-weight: 600; color: var(--violet); }
.who { min-width: 0; line-height: 1.2; }
.who b { display: block; font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who small { font-size: 12px; color: var(--mute); }
.plus { font-size: 12px; font-weight: 600; color: var(--violet); opacity: 0; translate: 0 4px; transition: opacity 0.3s ease, translate 0.3s ease; }
.amt { min-width: 4.2em; text-align: right; font-size: 15px; font-weight: 700; }
/* First place's crown rests on their disc: its base is an arc of the disc's own circle (front.html draws it) */
.disc { position: relative; }
.disc .crown { position: absolute; left: -14px; top: -16px; width: 60px; height: 60px; overflow: visible; pointer-events: none; }
.ui-label { display: block; font-size: 13px; color: var(--mute); }
.ui-money { display: block; margin-top: 2px; font-size: 36px; line-height: 1.05; font-weight: 700; letter-spacing: -0.04em; }
.ui-money small { font-size: 0.5em; letter-spacing: -0.01em; }
.ui-change { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--violet); }
.ui-change em { font-style: normal; font-weight: 500; color: var(--mute); margin-left: 2px; }
.ui-days { display: flex; align-items: flex-end; gap: 4px; height: 110px; margin-top: 18px; border-bottom: 1px solid #efecf3; }
.ui-days i { flex: 1; height: var(--h); border-radius: 3px 3px 1px 1px; background: var(--violet); }
.ui-who { display: flex; align-items: center; gap: 10px; }
.ui-who > span:last-child { display: grid; line-height: 1.25; }
.ui-who b { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.ui-who small { font-size: 12px; color: var(--mute); }
.ui-sender .ui-money { margin-top: 14px; }
.ui-notes { margin-top: 10px; }
.ui-notes li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #efecf3; }
.ui-notes b { display: block; font-size: 14px; font-weight: 700; }
.ui-notes q { display: block; font-size: 13px; color: var(--text); quotes: "“" "”"; }
.ui-notes time { font-size: 12px; color: var(--mute); }

/* ───────── Every app, one total ───────── */
.app { width: 40px; height: 40px; border-radius: 11px; background: var(--glyph) center / 62% no-repeat, var(--tile); }
.meter { height: 10px; border-radius: 99px; background: #f0ecf3; overflow: hidden; }
.meter span { display: block; height: 100%; width: var(--share); border-radius: inherit; background: var(--violet); transform-origin: left; transform: scaleX(var(--m, 1)); }

/* ───────── Last word ───────── */
.close { padding: 150px 12px 0; }
.close-panel { display: grid; place-items: center; min-height: 480px; text-align: center; }
.close-in { display: flex; flex-direction: column; align-items: center; padding: 64px 24px; }
.close h2 { font-size: clamp(44px, 5.6vw, 80px); line-height: 0.96; letter-spacing: -0.045em; }
.close .doors { justify-content: center; margin-top: 36px; }

/* ───────── Foot ───────── */
.foot { display: flex; align-items: center; gap: 24px; padding-top: 32px; padding-bottom: 40px; font-size: 14px; color: var(--mute); }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; padding-block: 8px; color: var(--ink); font-size: 16px; font-weight: 700; }
.foot-brand .mark { width: 18px; height: 21px; }
.foot-end { margin-left: auto; display: flex; gap: 22px; }
.foot-end a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .ui-board li, .plus { transition: none; }
}

/* ───────── Narrower windows ───────── */
@media (max-width: 1060px) {
  .lede, .apps, .faq { grid-template-columns: 1fr; gap: 20px; }
  .lede p { justify-self: start; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: span 2; min-height: 460px; align-items: center; }
  .cards .card:last-child > :not(canvas) { width: min(100%, 440px); }
}
@media (max-width: 680px) {
  :root { --gutter: 20px; }
  .hero, .close { padding-left: 8px; padding-right: 8px; }
  .hero-panel { height: auto; min-height: 760px; border-radius: 20px; }
  .nav { height: 62px; }
  .btn-small { height: 44px; }
  .nav-signin { display: none; }
  .hero-center { padding-bottom: 56px; }
  .hero-center h1 { font-size: clamp(54px, 16vw, 70px); }
  .hero-center .doors .btn, .close .doors .btn { flex: 1 1 auto; }
  .lede { padding-top: 96px; padding-bottom: 32px; }
  .cards { grid-template-columns: 1fr; gap: 12px; }
  .cards .card:last-child { grid-column: auto; min-height: 500px; }
  .card { min-height: 500px; padding: 14px; border-radius: 20px; }
  .apps, .faq { padding-top: 96px; }
  .close { padding-top: 96px; }
  .close-panel { border-radius: 20px; min-height: 420px; }
  .foot { flex-wrap: wrap; gap: 8px 18px; }
  .foot-end { margin-left: 0; width: 100%; justify-content: space-between; }
}

/* A light print: violet dots on paper (the pearls card, the close) */
.silk.light { --print-ground: #f3efe8; --print-ink: var(--violet); background: #f3efe8; color: var(--ink); }
.silk.light h2 { color: var(--ink); }
.light .card-glass { color: var(--ink); background: rgba(255, 255, 255, 0.55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), inset 0 1px 0 #fff, 0 16px 32px -20px rgba(29, 20, 38, 0.35); }
.light .card-glass h3 { color: var(--ink); }
.light .card-glass p { color: var(--text); }
.light .btn-glass { color: var(--ink); background: rgba(255, 255, 255, 0.55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), inset 0 1px 0 #fff, 0 12px 28px -16px rgba(29, 20, 38, 0.35); }
.light .btn-glass:hover { background: rgba(255, 255, 255, 0.8); }

.btn-violet { background: var(--violet); color: #fff; box-shadow: 0 12px 26px -14px rgba(109, 74, 255, 0.95); }
.btn-violet:hover { background: #5b36f5; }
.close-in p { margin-top: 16px; font-size: 18px; font-weight: 600; color: var(--ink); }

/* ───────── Apps, steps and questions: one structure, a centred heading over its content ───────── */


/* ───────── Questions: on the page's paper, the heading on a ribbon's swirl printed in violet, then each question opens ───────── */
.faq { display: block; padding-top: 150px; scroll-margin-top: 24px; }
.faq-head { display: grid; place-items: center; width: min(600px, 100%); aspect-ratio: 3 / 2; margin: 0 auto; border-radius: 0; background: var(--page); }
.faq-head h2 { font-size: clamp(36px, 4.2vw, 56px); line-height: 1.02; letter-spacing: -0.04em; }
.faq-list { max-width: 820px; margin: 20px auto 0; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 30px 2px; cursor: pointer; list-style: none;
  font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -0.025em; color: var(--ink); transition: color 0.2s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .faq-list summary:hover { color: var(--violet); } }
/* a thin plus that turns to a cross as it opens */
.faq-list summary::after {
  content: ""; flex: none; width: 16px; height: 16px;
  background: linear-gradient(currentColor, currentColor) center / 16px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 16px no-repeat;
  transition: rotate 0.42s var(--settle);
}
.faq-list details[open]:not(.shut) summary::after { rotate: 45deg; }
.faq-list .answer { overflow: hidden; }
.faq-list .answer p { max-width: 34em; padding: 0 56px 32px 2px; font-size: 17px; line-height: 1.6; color: var(--text); }

@media (max-width: 1060px) {
  .apps { display: block; }
}
@media (max-width: 680px) {
  .apps, .faq { padding-top: 96px; }
  .faq-head h2 { font-size: 36px; }
  .faq-list { margin-top: 8px; }
  .faq-list summary { gap: 20px; padding: 22px 0; font-size: 18px; }
  .faq-list .answer p { padding: 0 32px 24px 0; font-size: 16px; }
}

/* ───────── All your apps: the meters in glass, between a pair of heels printed on paper ───────── */
.apps { display: block; padding-top: 150px; }
.apps-print { display: grid; place-items: center; min-height: 640px; padding: 56px 24px; border-radius: 28px; }
.apps-glass {
  width: min(560px, 100%); padding: 32px; border-radius: 24px; color: var(--ink); text-align: center;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 0 0 1px #fff, 0 30px 60px -34px rgba(40, 20, 90, 0.45);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  backdrop-filter: blur(22px) saturate(1.4);
}
.apps-glass h2 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.05; letter-spacing: -0.035em; color: var(--ink); }
.apps-glass p { margin-top: 8px; font-size: 16px; color: var(--text); }
.apps-glass ul { display: grid; gap: 16px; margin-top: 28px; text-align: left; }
.apps-glass li { display: grid; grid-template-columns: 40px minmax(0, 1fr) 84px; align-items: center; gap: 14px; }
.apps-glass .app { width: 40px; height: 40px; border-radius: 11px; }
.apps-glass .meter { height: 10px; background: rgba(29, 20, 38, 0.08); }
.apps-glass b { text-align: right; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.apps-glass .apps-total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(29, 20, 38, 0.1); text-align: left; font-size: 15px; color: var(--text); }
.apps-total b { font-size: 22px; letter-spacing: -0.03em; color: var(--ink); }

/* ───────── The close: three glass steps above the buttons ───────── */
.close-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.close-steps li {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 8px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.95), inset 0 1px 0 #fff, 0 12px 26px -18px rgba(29, 20, 38, 0.4);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.close-steps span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--violet); color: #fff; font-size: 13px; font-weight: 700; }
.close .doors { margin-top: 26px; }

@media (max-width: 680px) {
  .apps { padding-top: 96px; }
  .apps-print { min-height: 0; padding: 140px 10px 10px; border-radius: 24px; place-items: end center; }
  .apps-glass { padding: 22px 16px 18px; border-radius: 20px; }
  .apps-glass .apps-total { margin-top: 18px; padding-top: 14px; font-size: 14px; }
  .apps-total b { font-size: 19px; }
  .apps-glass h2 { font-size: 26px; }
  .apps-glass p { font-size: 15px; margin-top: 6px; }
  .apps-glass ul { gap: 12px; margin-top: 20px; }
  .apps-glass li { grid-template-columns: 32px minmax(0, 1fr) 68px; gap: 10px; }
  .apps-glass .app { width: 32px; height: 32px; border-radius: 9px; }
  .apps-glass .meter { height: 8px; }
  .apps-glass b { font-size: 15px; }
  .close-steps { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .close-steps li { justify-content: flex-start; }
}

/* ───────── Foot: one line ───────── */
.foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 36px; padding-bottom: 44px; font-size: 14px; color: var(--mute); }
.foot-note { color: var(--mute); }
@media (max-width: 680px) {
  .foot { flex-direction: column; justify-content: center; gap: 8px; padding-top: 32px; padding-bottom: 40px; text-align: center; }
}

/* ───────── The apps and the close run edge to edge, so they read as bands, not more cards ───────── */
.apps-print { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); border-radius: 0; min-height: 720px; padding: 80px 24px; }
.close { padding-left: 0; padding-right: 0; }
.close-panel { border-radius: 0; min-height: 600px; }
@media (max-width: 680px) {
  .apps-print { border-radius: 0; padding: 150px 20px 20px; min-height: 0; }
  .close { padding-left: 0; padding-right: 0; }
  .close-panel { border-radius: 0; min-height: 0; }
}

/* The hero runs edge to edge too */
.hero { padding: 0; }
.hero-panel { border-radius: 0; height: clamp(680px, 100svh, 920px); }
@media (max-width: 680px) {
  .hero { padding: 0; }
  .hero-panel { border-radius: 0; height: auto; min-height: 100svh; }
}

.nb { white-space: nowrap; }
@media (max-width: 680px) {
  .hero-center h1 { font-size: clamp(40px, 12.4vw, 54px); }
  .close h2 { font-size: 40px; }
}
/* The narrowest phones: the ranking's rows keep their counts on one line */
@media (max-width: 360px) {
  .ui-board.ui { padding: 16px 14px; }
  .ui-board li { grid-template-columns: 16px 34px minmax(0, 1fr) auto auto; gap: 6px; }
  .who small { white-space: nowrap; }
}

/* The foot's links: Terms, Privacy and Support, then who makes it */
.foot-end { display: flex; align-items: center; gap: 22px; margin-left: 0; width: auto; }
.foot-end a { padding-block: 10px; }
@media (max-width: 680px) {
  .foot-end { flex-wrap: wrap; justify-content: center; gap: 0 18px; }
  .foot-note { width: 100%; }
}

/* The bands print on the page's own paper, so they start without a seam */
.apps-print.light, .close-panel.light, .faq-head.light { --print-ground: var(--page); background: var(--page); }

/* ───────── Motion: each plays once, the first time it's seen (front.js) ───────── */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* The opening: its words rise in gently as the page opens */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-center h1 .nb { display: block; }
  .js .hero-center h1 .nb, .js .hero-center > .doors { animation: rise-in 1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  .js .hero-center h1 .nb + br + .nb { animation-delay: 0.1s; }
  .js .hero-center > .doors { animation-delay: 0.25s; }
}
@keyframes rise-in { from { opacity: 0; translate: 0 16px; } }
/* The cards: all three print at once, each app piece rising onto its print the same way as the ink comes up */
.card > .ui { translate: 0 calc((1 - var(--p, 1)) * 16px); opacity: clamp(0, calc(var(--p, 1) * 1.6), 1); }
/* The opening's sparkles sit on the silk, under the words */
.glints { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
@media (max-width: 680px) {
  /* on a phone the meters sit in the middle of the heels, close up: a strap above them, a sole below */
  .apps-print { padding: 120px 16px; place-items: center stretch; }
}
@media (max-width: 680px) {
  /* room on a phone for each card's print to show below its app piece */
  .card, .cards .card:last-child { min-height: 620px; }
}
/* A section the menu's links jump to takes the focus (front.js), so Tab carries on from there; no ring around it */
[tabindex="-1"]:focus { outline: none; }
/* The close's three steps arrive one after another as it plays (front.js sets --n) */
.close-steps li { --show: clamp(0, calc(var(--p, 1) * 3 - 0.9 - var(--n, 0) * 0.45), 1); opacity: var(--show); translate: 0 calc((1 - var(--show)) * 8px); }
/* A payment landing on an app: its "+$40" rises over its amount for a moment */
.apps-glass li b { position: relative; transition: color 0.3s ease; }
.apps-glass li b::after { content: attr(data-plus); position: absolute; right: 0; bottom: 100%; font-size: 12px; font-weight: 600; color: var(--violet); opacity: 0; translate: 0 4px; transition: opacity 0.3s ease, translate 0.3s ease; pointer-events: none; }
.apps-glass li.hit b { color: var(--violet); }
.apps-glass li.hit b::after { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .apps-glass li b, .apps-glass li b::after { transition: none; } }
/* Until the opening's print is drawn (its photo still on the way), a soft copy of the print as it looks stands in (made
   from the drawn print, its dots averaged away, so the change when it draws is only the dots coming in) */
.hero-panel .print { background: url(data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAA0JCgsKCA0LCgsODg0PEyAVExISEyccHhcgLikxMC4pLSwzOko+MzZGNywtQFdBRkxOUlNSMj5aYVpQYEpRUk//2wBDAQ4ODhMREyYVFSZPNS01T09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09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YbEy6xLtEie8fhdX209e4y4sCaWOdwIJO7HpdPt//Z) center / cover var(--silk); }
@media (max-width: 680px) { .hero-panel .print { background-image: url(data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAA0JCgsKCA0LCgsODg0PEyAVExISEyccHhcgLikxMC4pLSwzOko+MzZGNywtQFdBRkxOUlNSMj5aYVpQYEpRUk//2wBDAQ4ODhMREyYVFSZPNS01T09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0//wgARCACkAGADASIAAhEBAxEB/8QAGAAAAwEBAAAAAAAAAAAAAAAAAAECAwT/xAAYAQEBAQEBAAAAAAAAAAAAAAAAAQIDBf/aAAwDAQACEAMQAAAB5Vtn6px0RGVSaWamEG1RyGy0cLaMtU4yy6efS1clb5mVFzHNrg9tqwI356itNMQ2mCNq5mQBo0ADQNMTTE0xACaKYEMkGAMASHRNITAaGAEDAipqgAFSE5Y2nCYgKCS0IpxkVOjbcStEaXZzZtsytWZZbZ6VScNuYZBWxN5SVBnDW2hV5ZVFVkg001DCMg0mgraw5spDT//EAB4QAAMBAAIDAQEAAAAAAAAAAAABERACMSAhQTBg/9oACAEBAAEFAnk1k9EJrRBHJauoIZCC9kEdj2zO1i7GhDPpK2cdfafpMpT6dYxci4spfO/10ITIPYQhCEJkOSELZ4sRyxdfgh9s+eK1vF39eLVje8e12PP/xAAUEQEAAAAAAAAAAAAAAAAAAABg/9oACAEDAQE/AQX/xAAaEQADAQADAAAAAAAAAAAAAAAAAREQEiBA/9oACAECAQE/AaJ5Sl1Y8hBIhDj77q2dLrFjz//EABgQAAIDAAAAAAAAAAAAAAAAABEhMEBw/9oACAEBAAY/AqalOuf/xAAeEAEBAQADAQEAAwAAAAAAAAABABEQICExQTBAUP/aAAgBAQABPyEZH3imRwIDeDcsjjDPb2st/JE8ezDDyeB4yVeGTEJ+35am/IMZwsj+PD4jtkPkQH5LHL7ZK6YsfHgxp7CDy3kYZdlLHB9bcttltj/EHGz13qxP8Sx1O5/QeDqHZ6snscDA4CIPOoF+pgY3qyIR8YLMsWBbJEO1npkOOS2xw9AzwSZDPpttsucLb1CjTh4y2zbZJWXi+1t9S3//2gAMAwEAAgADAAAAECaxe9wWQ288TS512c9Vz9666+6Uz/16Uc/V4/QQXS516SzcdVSW1194WV2+2fQ/fQ4//8QAFBEBAAAAAAAAAAAAAAAAAAAAYP/aAAgBAwEBPxAF/8QAHREAAwEBAAIDAAAAAAAAAAAAAAERIRAxQSAwUf/aAAgBAgEBPxBUjSPq0+XjG7o9M9iVVCY6QzAdCD+pO+hfF8TH2lKUpUNmUbyjYM3h4LcEoYY/0R5cPweQj//EAB8QAQEBAAMBAQEAAwAAAAAAAAEAERAhMUFRYSBxgf/aAAgBAQABPxDR/OJSeSLGWMMNPshvOMP8mzcmne2fx8uwYhn0vYFotYKyBuz0Pya9e/kHTI9jvAj/AOTFPybYafbDpOE3Fs0bQH0vsBJ7OGDGbL8b2Pj7A9kHpZpxiEXM8+xgD5Ls8kBOGw1Ai4RjYEmaZOQ6LPerL7IHS6u+J7PspadyfZ6QdjdWFtbqWpDGTb7ZHZPVi+2/nBbfOD2+8bnG8vn+B7PfC3vZbz84+cep9ukPsfy0fbPxtSLu8nXEa8thSMSTGLIXjby8zZJDLGY5zvjxPvGT03sdl942HWI6JjgXku5vll9sO22SL5ZC/L0jzj9FopHghakzGGlsoWcFRthCQQUuigiCeiNosNkvfjCZH+xyBdkup65ZhdG/sPRI3SbPLtjvdiCMMlql8Lp+uaIMAh7OGO1sWkgxnD2fqCcNJ+EcJ3dK+Ta2rVayB4ynuScSpC2edZBL/9k=); } }

/* On a phone the close's words sit lower in its satin, so its swirl has room above them */
@media (max-width: 680px) {
  .close .close-in { padding-top: 150px; padding-bottom: 96px; }
}
