/* usemoolah.com: waitlist landing page + legal pages. Tokens follow brand/HANDOFF.md and the Meta ads
   (marketing/meta-ads/2026-11-pl): cream ground, ink, Figtree 800 headlines, red only for the ł and source stamps,
   marker yellow only behind the one amount that matters. Light only, so the page looks like the ad that sent the visitor. */

@font-face { font-family: Figtree; src: url(/fonts/figtree-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Figtree; src: url(/fonts/figtree-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Figtree; src: url(/fonts/figtree-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Figtree; src: url(/fonts/figtree-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #f7f3ea;
  --paper: #ffffff;
  --tile: #f7f3ea;
  --tile-2: #efe9dd;
  --hairline: #e3dccd;
  --ink: #2B2823;
  --muted: #5c574e;
  --faint: #8c8579;
  --red: #c8102e;
  --primary: #2B2823;
  --on-primary: #ffffff;
  --field: #ffffff;
  --marker: #ffe27a;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font: Figtree, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 var(--font);
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.wrap { width: 100%; max-width: 1344px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 20px; top: 12px; z-index: 10; background: var(--bg); padding: 8px 12px; border-radius: 8px; }

/* Wordmark: "moolah" with the red stroke that turns the l into ł.
   Geometry from app/src/components/brand.tsx (0.40em wide, 0.127em thick, -30deg). */
.wordmark {
  display: inline-flex;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1.1;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark .l { position: relative; display: inline-block; }
.wordmark .l::after {
  content: "";
  position: absolute;
  left: -0.082em;
  top: 0.5em;
  width: 0.4em;
  height: 0.127em;
  border-radius: 0.0635em;
  background: var(--red);
  transform: rotate(-30deg);
  transform-origin: left top;
}

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.top .wordmark { font-size: 24px; }
.top-end { display: flex; align-items: center; gap: 28px; }
.langs { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.langs a {
  display: block;
  min-width: 36px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  text-decoration: none;
  color: var(--muted);
  transition: color 160ms var(--ease), background-color 160ms var(--ease);
}
.langs a:hover { color: var(--ink); }
.langs a[aria-current="true"] { color: var(--ink); background: var(--tile-2); }
.top-cta { display: none; }
@media (min-width: 900px) {
  .top { height: 80px; }
  .top .wordmark { font-size: 28px; }
  .top-cta {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--primary);
    color: var(--on-primary);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 160ms var(--ease);
  }
  .top-cta:hover { opacity: 0.88; }
}

/* Type: frank, heavy headlines like the ads (Figtree 800, tight). 40 px on a 390 phone, 72 px at 1440. */
h1 {
  margin: 8px 0 0;
  font-size: clamp(40px, 3.05vw + 28px, 72px);
  font-weight: 800;
  line-height: 1.01;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
h2 {
  margin: 0;
  font-size: clamp(32px, 2.3vw + 23px, 56px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h3 { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; }
@media (min-width: 900px) { h3 { font-size: 22px; line-height: 28px; } }
.lead { margin: 12px 0 0; max-width: 32em; font-size: 17px; font-weight: 500; line-height: 1.42; color: var(--muted); text-wrap: pretty; }
@media (min-width: 900px) { .lead { max-width: 480px; font-size: 20px; line-height: 29px; margin-top: 22px; } }
.sub { margin: 12px 0 0; max-width: 40em; font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
@media (min-width: 900px) { .sub { margin-top: 20px; font-size: 18px; line-height: 27px; } }
.aside { margin: 24px 0 0; max-width: 46em; font-size: 15px; line-height: 22px; color: var(--muted); }

/* Bands: full-width sections that alternate cream and white, each with its own .wrap. */
.band { padding: 64px 0; }
@media (min-width: 900px) { .band { padding: 120px 0; } }
.band-white { background: var(--paper); }

/* Hero: headline, the signup and the waitlist line on the left; on the right a photo with the real app screen over it.
   Phones: photo first, then the text and signup right after the headline, then the phone cropped by its panel. */
.hero-band { padding: 0 0 8px; }
.hero { display: grid; grid-template-areas: "photo" "text" "phone"; }
.hero-text { grid-area: text; padding-top: 24px; }
/* The hero photo bleeds: edge to edge on phones, off the right edge of the window on desktop. */
.hero-band { overflow-x: clip; }
.hero-photo { grid-area: photo; position: relative; aspect-ratio: 390 / 250; margin: 0 -16px; overflow: hidden; background: #e7e2da; }
.hero-photo .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 74% 50%; }
.hero-phone { grid-area: phone; position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; height: 420px; margin: 0; padding-top: 32px; overflow: hidden; }
.hero-phone .phone { --w: 256px; flex: 0 0 auto; }
.chip { display: inline-block; padding: 5px 10px; border-radius: 999px; background: var(--tile-2); font-size: 13px; font-weight: 600; line-height: 16px; color: var(--ink); }
@media (min-width: 900px) {
  .hero-band { padding: 24px 0 88px; }
  .hero { grid-template-columns: 552px minmax(0, 1fr); grid-template-areas: "text photo"; column-gap: 56px; }
  .hero-text { align-self: center; padding-top: 24px; }
  .hero-photo { height: 700px; aspect-ratio: auto; margin: 0 calc(-1 * max(16px, (100vw - 1344px) / 2 + 16px)) 0 0; border-radius: 28px 0 0 28px; }
  .hero-photo .photo { object-position: 66% 50%; }
  /* The phone sits on the photo (same grid cell) and is cropped by the photo's rounded edge. */
  .hero-phone { grid-area: photo; align-items: flex-start; gap: 16px; height: 700px; padding: 186px 0 0 40px; border-radius: 28px; pointer-events: none; }
  .hero-phone .phone { --w: 276px; }
  .hero-phone .chip { background: rgba(255, 255, 255, 0.86); }
}
@media (min-width: 900px) and (max-width: 1199px) { .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); column-gap: 40px; } }
/* Previous hero (HERO_DECK in build.mjs): text left, fanned deck right. */
.hero.hero-deck { grid-template-areas: "text" "deck"; }
.hero.hero-deck .stage-hero { grid-area: deck; }
@media (min-width: 900px) { .hero.hero-deck { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); grid-template-areas: "text deck"; align-items: end; } }

.status { margin: 0; font-size: 14px; font-weight: 600; line-height: 18px; color: var(--muted); }
@media (min-width: 900px) { .status { font-size: 15px; line-height: 20px; } }
.proof { display: flex; flex-direction: column; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.proof li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; line-height: 18px; color: var(--ink); }
.proof svg { flex: 0 0 auto; color: var(--ink); }
@media (min-width: 900px) { .proof { gap: 10px; margin-top: 28px; } .proof li { gap: 7px; } }
.also { margin: 18px 0 0; font-size: 15px; font-weight: 600; line-height: 20px; }
.also a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.also a::after { content: " \2193"; }

/* Waitlist */
.signup { margin-top: 20px; max-width: 500px; }
@media (min-width: 900px) { .signup { margin-top: 36px; } }
.signup .row { display: flex; gap: 8px; padding: 6px 6px 6px 4px; border: 1px solid var(--hairline); border-radius: 34px; background: var(--field); }
.signup .row:focus-within { border-color: var(--ink); }
.signup input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 54px;
  padding: 0 4px 0 18px;
  border: 0;
  border-radius: 27px;
  background: transparent;
  color: var(--ink);
  font: 500 16px/1 var(--font);
}
.signup input[type="email"]::placeholder { color: var(--faint); }
.signup input[type="email"]:focus-visible { outline: none; }
.btn {
  flex: 0 0 auto;
  height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: 27px;
  background: var(--primary);
  color: var(--on-primary);
  font: 600 16px/1 var(--font);
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 160ms var(--ease), transform 120ms var(--ease);
}
.btn:hover { opacity: 0.88; }
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: 0.6; cursor: default; }
/* Phones: field and button as two full-width pills (the design's mobile form). */
@media (max-width: 599px) {
  .signup .row { flex-direction: column; padding: 0; border: 0; border-radius: 0; background: transparent; }
  .signup .row:focus-within { border-color: transparent; }
  .signup input[type="email"] { flex: 0 0 auto; height: 56px; padding: 0 20px; border: 1px solid var(--hairline); border-radius: 28px; background: var(--field); }
  .signup input[type="email"]:focus { border-color: var(--ink); }
  .btn { height: 56px; border-radius: 28px; }
}
.signup .note { margin: 10px 0 0; padding: 0 4px; font-size: 13px; line-height: 19px; color: var(--muted); }
@media (min-width: 900px) { .signup .note { margin-top: 12px; } }
.signup .msg { margin: 12px 0 0; font-size: 15px; font-weight: 500; min-height: 0; }
.signup .msg:empty { display: none; }
.signup.done .row, .signup.done .note { display: none; }
.signup.done .msg { margin-top: 0; padding: 16px 20px; border-radius: 20px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--hairline); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Waitlist line: state A (a yellow dot and an invitation) until the real count reaches 200; then state B, the number
   in the headline face. site.js does the switch; nothing here is a made-up figure. */
.wl { display: flex; align-items: flex-start; gap: 10px; max-width: 500px; margin: 16px 0 0; font-size: 15px; font-weight: 600; line-height: 20px; color: var(--ink); text-wrap: pretty; }
.wl i { flex: 0 0 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--marker); box-shadow: 0 0 0 1.5px var(--ink); }
.wl.is-count { align-items: baseline; gap: 10px; }
.wl.is-count i { display: none; }
.wl-n { font-size: 32px; font-weight: 800; line-height: 1; letter-spacing: -0.035em; white-space: nowrap; }
@media (min-width: 900px) { .hero-text .wl { margin-top: 22px; } .wl-n { font-size: 40px; } }
.signup.done + .wl { display: none; }

/* Phone: an iPhone 17 Pro-style body around a real screenshot. --w sets the width; everything scales with it.
   Titanium edge (.9%), black bezel (2.6%), 16.5% outer corner, Dynamic Island, side buttons. */
.phone {
  --w: 250px;
  position: relative;
  width: var(--w);
  padding: calc(var(--w) * 0.009);
  border-radius: calc(var(--w) * 0.165);
  background: linear-gradient(140deg, #9b978f 0%, #4a4844 22%, #8d8982 48%, #3b3936 74%, #85817a 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 28px 56px -18px rgba(43, 40, 35, 0.32), 0 6px 14px -6px rgba(43, 40, 35, 0.16);
}
.phone .scr {
  position: relative;
  overflow: hidden;
  border: calc(var(--w) * 0.026) solid #060606;
  border-radius: calc(var(--w) * 0.156);
  background: #060606;
}
.phone img { display: block; width: 100%; height: auto; border-radius: calc(var(--w) * 0.13); background: var(--tile-2); }
.phone .island {
  position: absolute;
  top: calc(var(--w) * 0.024);
  left: 50%;
  width: calc(var(--w) * 0.29);
  height: calc(var(--w) * 0.085);
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
}
.phone .hw { position: absolute; width: calc(var(--w) * 0.011); border-radius: 2px; background: linear-gradient(90deg, #5d5a55, #a19d96); }
.phone .hw-act, .phone .hw-up, .phone .hw-dn { left: calc(var(--w) * -0.009); border-radius: 2px 0 0 2px; }
.phone .hw-act { top: 17%; height: 5%; }
.phone .hw-up { top: 25.5%; height: 9.5%; }
.phone .hw-dn { top: 37%; height: 9.5%; }
.phone .hw-pwr { right: calc(var(--w) * -0.009); top: 29%; height: 14%; border-radius: 0 2px 2px 0; background: linear-gradient(90deg, #a19d96, #5d5a55); }

/* Stage: the phone rises from the bottom edge of its panel (cropped, not scaled). Used by the hero deck (HERO_DECK). */
.stage { position: relative; display: flex; justify-content: center; margin: 0; overflow: hidden; }
.stage .phone { flex: 0 0 auto; }
.stage-hero { height: 420px; padding-top: 8px; }
@media (min-width: 900px) { .stage-hero { height: 600px; padding-top: 24px; } .stage-hero .phone { --w: 320px; } }
.eg {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  color: var(--faint);
}
@media (max-width: 899px) { .stage-hero .eg { left: auto; right: 0; top: 14px; } }

/* Hero deck (React Bits Stack, islands.js). Before it mounts, .deck holds the static phone at the same size. */
.deck { --w: 250px; position: relative; width: var(--w); aspect-ratio: 1 / 2.091; flex: 0 0 auto; }
.deck .stack-card-face, .deck .stack-card-content { overflow: visible !important; }
.deck .stack-card .phone { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset; }
.deck .stack-card-shade { background: rgba(43, 40, 35, 0.5); }
.deck > .phone { --w: inherit; }
@media (min-width: 900px) { .deck { --w: 320px; } }
@media (hover: hover) { .is-live .stack { cursor: grab; } }

/* Headline: the BlurText island takes over once it loads. If it never does, the text shows after 1.2 s. */
@media (prefers-reduced-motion: no-preference) {
  h1[data-island="blur"]:not(.is-live) { animation: wait-h1 0s 1.2s both; }
  @keyframes wait-h1 { from { opacity: 0; } to { opacity: 1; } }
}
h1.is-live > div { justify-content: flex-start; }


/* Sources: the places every amount links to. */
.sources { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); background: var(--bg); }
.sources-row { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; padding-bottom: 20px; }
.sources p { margin: 0; font-size: 14px; font-weight: 600; line-height: 18px; color: var(--muted); }
.sources ul { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; list-style: none; }
.sources li { font-size: 18px; font-weight: 800; line-height: 24px; letter-spacing: -0.02em; color: var(--ink); }
@media (min-width: 900px) {
  .sources-row { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 40px; padding-top: 28px; padding-bottom: 28px; }
  .sources p { font-size: 15px; line-height: 20px; }
  .sources ul { gap: 8px 56px; }
  .sources li { font-size: 22px; line-height: 26px; }
}
@media (min-width: 900px) and (max-width: 1199px) { .sources ul { gap: 8px 32px; } }

/* Sections rise in once (islands.js adds .rv only to blocks below the fold). */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(16px); transition: opacity 560ms var(--ease), transform 560ms var(--ease); }
  .rv.in { opacity: 1; transform: none; }
}


/* Facts: the rules the ads talk about (deadline, health contribution, NBP rate, ryczałt), each with its source stamp. */
.facts-head .sub { margin-top: 12px; }
@media (min-width: 900px) {
  .facts-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 64px; }
  .facts-head h2 { flex: 0 1 480px; }
  .facts-head .sub { flex: 0 1 420px; margin: 0; }
}
.facts { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 56px; } }
.fact { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px 24px 26px; border-radius: 22px; background: var(--tile); }
@media (min-width: 768px) { .fact { padding: 40px 40px 36px; border-radius: 28px; } }
.fact .big { margin: 0 0 10px; font-size: 64px; font-weight: 800; line-height: 62px; letter-spacing: -0.05em; color: var(--ink); }
@media (min-width: 900px) { .fact .big { font-size: 88px; line-height: 84px; } }
.fact > p { flex-grow: 1; margin: 0; font-size: 15px; line-height: 23px; color: var(--muted); text-wrap: pretty; }
@media (min-width: 900px) { .fact > p { font-size: 16px; line-height: 25px; } }
.fact .stamp { margin-top: 10px; }
.fact .rates { flex-grow: 1; }
.fact:has(.rates) > p { flex-grow: 0; }
.rates { display: flex; flex-direction: column; width: 100%; margin: 0; padding-top: 8px; }
.rates div { display: flex; align-items: baseline; gap: 10px; padding: 14px 0; border-top: 1px solid var(--hairline); }
.rates div:last-child { border-bottom: 1px solid var(--hairline); }
.rates dt { flex: 0 0 120px; font-size: 15px; font-weight: 600; line-height: 22px; }
.rates dd { display: contents; }
.rates dd b { flex: 0 0 70px; font-size: 24px; font-weight: 800; line-height: 28px; letter-spacing: -0.03em; }
.rates dd b.word { font-size: 15px; line-height: 20px; letter-spacing: -0.02em; }
.rates dd > span { flex: 1 1 auto; min-width: 0; font-size: 13px; font-weight: 500; line-height: 18px; color: var(--muted); }
@media (min-width: 900px) {
  .rates div { gap: 16px; }
  .rates dt { flex-basis: 200px; font-size: 16px; }
  .rates dd b { flex-basis: 150px; font-size: 32px; line-height: 34px; }
  .rates dd b.word { font-size: 20px; line-height: 34px; }
  .rates dd > span { font-size: 14px; line-height: 20px; }
}
@media (min-width: 768px) and (max-width: 1199px) { .rates dt { flex-basis: 130px; } .rates dd b { flex-basis: 96px; } }

/* Moment: full-bleed photo with the headline on the calm wall. On phones the copy sits above the photo, which is
   cropped to the person, so the text never runs over the busy part of the picture. */
.moment { position: relative; background: #cfc6b6; }
.moment-copy { padding-top: 56px; padding-bottom: 32px; background: var(--tile-2); }
.moment-photo { order: 2; aspect-ratio: 4 / 3; overflow: hidden; }
.moment-photo .photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.moment { display: flex; flex-direction: column; }
.moment .kicker { margin: 0; font-size: 15px; font-weight: 700; line-height: 20px; color: var(--ink); }
.moment h2 { margin-top: 14px; }
.moment-copy > p:last-child { margin: 14px 0 0; max-width: 400px; font-size: 17px; font-weight: 500; line-height: 25px; color: var(--ink); }
@media (min-width: 900px) {
  .moment { display: block; height: 640px; overflow: hidden; }
  .moment-photo { position: absolute; inset: 0; aspect-ratio: auto; }
  .moment-photo .photo { object-position: 50% 50%; }
  /* Copy sits on a solid card on the street side of the photo, so the text never runs over the man (contrast, WCAG 1.4.3). */
  .moment-copy { position: relative; width: auto; max-width: 560px; margin: 120px max(32px, calc((100vw - 1344px) / 2 + 32px)) 0 auto;
    padding: 40px 44px 44px; background: var(--paper); border-radius: 24px; box-shadow: 0 24px 48px -24px rgba(43, 40, 35, .35); }
  .moment .kicker { font-size: 16px; }
  .moment h2 { max-width: none; margin-top: 16px; font-size: 56px; line-height: 58px; letter-spacing: -0.04em; }
  .moment-copy > p:last-child { margin-top: 20px; font-size: 19px; line-height: 28px; }
}

/* Stamp: sentence case, 2 px red border, radius 10, rotated -1.5deg (brand/HANDOFF.md). */
.stamp {
  display: inline-flex;
  flex-direction: column;
  padding: 6px 12px 7px;
  border: 2px solid var(--red);
  border-radius: 10px;
  color: var(--red);
  transform: rotate(-1.5deg);
  transform-origin: left center;
}
.stamp b { font-size: 14px; font-weight: 800; line-height: 1.3; }
.stamp small { font-size: 12px; font-weight: 500; line-height: 1.3; }


/* How it works: three equal tiles. Each phone starts at the same height (subgrid rows) and every tile has the same
   height, so all three phones are cropped at the same baseline. On phones the row swipes sideways. */
.steps {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(84%, 320px);
  gap: 12px;
  margin: 28px -16px 0;
  padding: 0 16px 4px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.steps::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .steps { margin: 40px -32px 0; padding: 0 32px 4px; scroll-padding: 0 32px; } }
.steps { grid-template-rows: auto auto auto 360px; row-gap: 0; }
.step { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 12px; padding: 28px 24px 0; overflow: hidden; scroll-snap-align: start; border-radius: 22px; background: var(--tile-2); }
.step .n {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 16px;
  font-weight: 800;
  line-height: 20px;
}
.step h3 { margin-top: 8px; }
.step p { margin: 0; font-size: 15px; line-height: 23px; color: var(--muted); }
.step-phone { display: flex; justify-content: center; min-height: 0; padding-top: 20px; }
.step-phone .phone { --w: 230px; flex: 0 0 auto; }
@media (min-width: 900px) {
  .steps { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto 440px; gap: 0 20px; margin: 56px 0 0; padding: 0; overflow: visible; }
  .step { padding: 36px 36px 0; border-radius: 28px; }
  .step p { font-size: 16px; line-height: 25px; }
  .step-phone .phone { --w: 256px; }
}

/* Full-bleed photo between sections with the brand line on the calm wall. Phones: the line sits above the photo. */
.bleed { display: flex; flex-direction: column-reverse; background: var(--bg, #f5f1ea); }
.bleed .photo { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; object-position: 80% 50%; }
.bleed .wrap { padding-top: 48px; padding-bottom: 28px; }
.bleed-line { max-width: 9em; margin: 0; font-size: 34px; font-weight: 800; line-height: 36px; letter-spacing: -0.035em; color: var(--ink); }
@media (min-width: 768px) {
  .bleed { position: relative; display: block; height: clamp(380px, 42vw, 680px); overflow: hidden; background: #e9dfd2; }
  .bleed .photo { height: 100%; aspect-ratio: auto; object-position: 60% 50%; }
  .bleed .wrap { position: absolute; top: 0; bottom: 0; left: 50%; display: flex; align-items: center; justify-content: flex-end; padding-top: 0; padding-bottom: 0; transform: translateX(-50%); }
  /* Solid card under the line so it never runs over the person in the photo (contrast, WCAG 1.4.3). */
  .bleed-line { max-width: 560px; padding: 36px 44px 40px; background: var(--paper); border-radius: 24px;
    box-shadow: 0 24px 48px -24px rgba(43, 40, 35, .35); font-size: 56px; line-height: 58px; letter-spacing: -0.04em; }
}

/* Employees: the couple photo with the refund screen over it, then the text. */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: 80px; } }
.etat-visual { position: relative; margin: 0; aspect-ratio: 358 / 440; overflow: hidden; border-radius: 22px; background: #cdbfa8; }
.etat-visual .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.etat-visual .chip { position: absolute; left: 16px; top: 52%; z-index: 1; background: rgba(255, 255, 255, 0.86); }
.etat-visual .phone { --w: 180px; position: absolute; left: 16px; top: calc(52% + 36px); }
@media (min-width: 900px) {
  .etat-visual { height: 720px; aspect-ratio: auto; border-radius: 28px; }
  .etat-visual .photo { object-position: 50% 50%; }
  .etat-visual .chip { left: 28px; top: 364px; }
  .etat-visual .phone { --w: 232px; left: 28px; top: 404px; }
}
.etat-text h2 { max-width: 13em; }
@media (min-width: 900px) { .etat-text h2 { font-size: 52px; line-height: 54px; } }
.ticks { display: flex; flex-direction: column; margin: 20px 0 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .ticks { margin-top: 28px; } }
.ticks li { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--hairline); font-size: 16px; font-weight: 500; line-height: 23px; }
.ticks li:last-child { border-bottom: 1px solid var(--hairline); }
.ticks svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; color: var(--ink); }
.etat-text .aside { margin-top: 20px; }
.nw { white-space: nowrap; }

/* Trust: three points under a rule. */
.points { display: grid; gap: 32px; margin: 32px 0 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 56px; } }
.points li { padding-top: 24px; border-top: 2px solid var(--ink); }
.points p { margin: 12px 0 0; font-size: 16px; line-height: 25px; color: var(--muted); }

/* FAQ */
.faq-list { max-width: 760px; margin-top: 24px; border-top: 1px solid var(--hairline); }
@media (min-width: 900px) { .faq-list { margin-top: 40px; } }
.faq-list details { border-bottom: 1px solid var(--hairline); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.faq-list summary i { position: relative; flex: 0 0 16px; height: 16px; }
.faq-list summary i::before, .faq-list summary i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
  transition: transform 200ms var(--ease);
}
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i::after { transform: rotate(0deg); }
.faq-list details p { margin: 0; padding: 0 32px 24px 0; font-size: 16px; line-height: 1.6; color: var(--muted); }


/* Final call to action: one ink panel closes the page, the only dark surface on it. Signup on the right. */
.cta-band { padding: 56px 0 48px; background: var(--paper); }
@media (min-width: 900px) { .cta-band { padding: 112px 0 120px; } }
.cta { display: flex; flex-direction: column; gap: 12px; padding: 36px 22px 28px; border-radius: 26px; background: var(--ink); color: var(--bg); }
@media (min-width: 900px) { .cta { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 64px; padding: 80px 72px; border-radius: 32px; } }
@media (min-width: 900px) and (max-width: 1199px) { .cta { flex-direction: column; align-items: flex-start; gap: 40px; padding: 64px 56px; } }
.cta-text { max-width: 620px; }
.cta h2 { color: var(--bg); }
.cta .lead { margin-top: 12px; color: rgba(247, 243, 234, 0.72); }
@media (min-width: 900px) { .cta .lead { margin-top: 16px; } }
.cta-form { width: 100%; max-width: 480px; }
@media (min-width: 1200px) { .cta-form { flex: 0 1 480px; } }
.cta .signup { margin-top: 12px; }
@media (min-width: 900px) { .cta .signup { margin-top: 0; } }
.cta .signup .row { border-color: transparent; }
.cta .signup .row:focus-within { border-color: var(--bg); }
.cta .signup .note, .cta .signup .msg { color: rgba(247, 243, 234, 0.72); }
.cta .signup.done .msg { color: var(--ink); }
.cta .wl { margin-top: 14px; padding: 0 4px; color: var(--bg); }
.cta .wl i { box-shadow: none; }
@media (max-width: 599px) {
  .cta .signup input[type="email"] { border-color: #2a2826; background: #2a2826; color: var(--bg); }
  .cta .signup input[type="email"]::placeholder { color: #b8b1a4; }
  .cta .signup input[type="email"]:focus { border-color: var(--bg); }
  .cta .btn { background: var(--bg); color: var(--ink); font-weight: 700; }
}
.cta a:focus-visible, .cta button:focus-visible, .cta input:focus-visible { outline-color: var(--bg); }

/* Sticky signup link on phones: shown by site.js only while neither form is on screen. */
.sticky {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: 26px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(43, 40, 35, 0.18);
}
.sticky[hidden] { display: none; }
@media (min-width: 900px) { .sticky { display: none; } }

/* Footer */
.foot { margin-top: 80px; border-top: 1px solid var(--hairline); }
main:not(.wrap) ~ .foot { margin-top: 0; }
@media (max-width: 899px) { main:not(.wrap) ~ .foot .wrap { padding-bottom: 96px; } }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 24px; padding-bottom: 40px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot a { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink); }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot p { margin: 0; font-size: 13px; color: var(--muted); }

/* Document pages: privacy, terms, support */
.doc { max-width: 680px; padding: 32px 0 0; }
@media (min-width: 768px) { .doc { padding-top: 56px; } }
.doc h1 { font-size: clamp(32px, 6vw, 44px); }
.doc .updated { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.doc .intro { margin: 24px 0 0; font-size: 18px; line-height: 1.55; color: var(--muted); }
.doc h2 { margin: 40px 0 0; font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }
.doc h3 { margin: 24px 0 0; font-size: 16px; font-weight: 600; }
.doc p, .doc li { font-size: 16px; line-height: 1.6; }
.doc p { margin: 12px 0 0; }
.doc ul { margin: 12px 0 0; padding-left: 20px; }
.doc li + li { margin-top: 6px; }
.doc a { text-underline-offset: 3px; }
.contact { margin: 32px 0 0; padding: 24px; border-radius: 24px; background: var(--paper); }
.contact p { margin: 0; font-size: 15px; color: var(--muted); }
.contact a { display: inline-block; margin-top: 4px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); overflow-wrap: anywhere; }
.faq h2 { font-size: 18px; margin-top: 32px; }
.faq p { color: var(--muted); }

/* Content fades in once on load */
@media (prefers-reduced-motion: no-preference) {
  main { animation: rise 360ms var(--ease) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* Consent box (only rendered when GA_ID or META_PIXEL_ID is set). Reject and Accept carry equal weight. */
.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  max-width: 440px;
  padding: 20px;
  border: 1px solid var(--hairline);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 12px 32px rgba(43, 40, 35, 0.1);
}
@media (min-width: 768px) { .consent { left: 32px; right: auto; bottom: 32px; } }
.consent[hidden] { display: none; }
.consent p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
.consent a { color: var(--muted); text-underline-offset: 3px; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.btn-2 {
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 22px;
  background: transparent;
  color: var(--ink);
  font: 600 15px/1 var(--font);
  cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.btn-2:hover { background: var(--ink); color: var(--bg); }
.linkish { padding: 0; border: 0; background: none; font: 500 14px/1.5 var(--font); color: var(--ink); cursor: pointer; }
.linkish:hover { text-decoration: underline; text-underline-offset: 3px; }

/* On phones the fanned deck covers the caption's corner, so the caption goes once the deck is live. */
@media (max-width: 899px) { .stage-hero.is-live > .eg { display: none; } }

/* Covers the example couple's names on the refund screenshot next to the couple photo (see REFUND_MASK in build.mjs).
   The box matches the screenshot's name line: 24.4–27.6% down, from the left padding across. */
.phone .scr-mask {
  position: absolute; left: 4%; right: 4%; top: 24.3%; height: 3.4%;
  display: flex; align-items: center; padding-left: 1.6%;
  background: #fff; color: #2B2823;
  font: 600 calc(var(--w) * 0.049) / 1 Figtree, -apple-system, sans-serif;
  letter-spacing: -0.01em; white-space: nowrap; overflow: hidden;
}

/* ===== 2026-11-21 layout (after TikTok for Business): pinned hero that shrinks into a collage, tiles, coloured steps, tabs. ===== */
/* Hero stage. --p (0..1) is the scroll progress through the stage, set by motion.js; without JS it stays 0. */
.hx { --p: 0; position: relative; padding: 0 12px; }
.hx .pin { position: relative; }
.hero-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: calc(100svh - 96px); overflow: hidden; border-radius: 24px; color: #fff; background: #2b2722; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media .photo { width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,15,0) 25%, rgba(20,18,15,0.55) 55%, rgba(20,18,15,0.88) 100%); }
.hero-in { padding: 24px 20px 28px; }
.hero-in .status { color: rgba(255,255,255,0.85); }
.cycle { margin: 8px 0 0; height: 1.05em; overflow: hidden; font-size: 52px; font-weight: 800; line-height: 1.05; letter-spacing: -0.045em; }
.cycle span { display: block; }
.cycle span.out { animation: cyc-out 360ms var(--ease) forwards; }
.cycle span.in { animation: cyc-in 460ms var(--ease) both; }
@keyframes cyc-out { to { transform: translateY(-105%); opacity: 0; } }
@keyframes cyc-in { from { transform: translateY(105%); opacity: 0; } }
.hx h1 { margin: 14px 0 0; font-size: 24px; line-height: 30px; letter-spacing: -0.02em; color: #fff; }
.hx .lead { margin-top: 10px; font-size: 16px; line-height: 24px; color: rgba(255,255,255,0.84); }
.hx .signup { margin-top: 22px; }
.hx .signup .note, .hx .signup .msg, .hx .wl { color: rgba(255,255,255,0.8); }
.hx .signup .note a { color: #fff; }
.hx .btn, .pill { background: var(--red); color: #fff; }
.hero-down { display: none; }
.collage { display: flex; gap: 10px; margin: 12px -12px 0; padding: 0 12px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.collage::-webkit-scrollbar { display: none; }
.cc { flex: 0 0 auto; width: 38vw; max-width: 200px; margin: 0; overflow: hidden; border-radius: 18px; background: #e7e2da; scroll-snap-align: start; }
.cc img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.cc-s { width: 27vw; padding: 6px; background: var(--ink); border-radius: 20px; }
.cc-s img { aspect-ratio: 640 / 1391; border-radius: 14px; object-fit: cover; object-position: top; }
@media (min-width: 600px) { .cycle { font-size: 72px; } .hero-in { padding: 40px 40px 44px; max-width: 640px; } .hx h1 { font-size: 28px; line-height: 34px; } }

@media (min-width: 900px) {
  .hx { padding: 0 16px; }
  .hx.is-pinned { height: 230vh; }
  .hx.is-pinned .pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
  .hero-card { width: 100%; min-height: 0; height: calc(100vh - 104px); max-height: 940px; justify-content: center; border-radius: 28px; }
  .hx.is-pinned .hero-card {
    width: calc(100% - var(--p) * (100% - 380px));
    height: calc(100vh - 104px - var(--p) * (100vh - 104px - 520px));
    border-radius: calc(28px + var(--p) * 4px);
    will-change: width, height;
  }
  .hero-media .photo { object-position: 70% 45%; }
  .hero-media::after { background: linear-gradient(90deg, rgba(20,18,15,0.78) 0%, rgba(20,18,15,0.5) 38%, rgba(20,18,15,0) 68%); }
  .hero-in { width: min(640px, 52vw); padding: 0 0 0 max(48px, (100vw - 1344px) / 2 + 32px); }
  .hx.is-pinned .hero-in { opacity: calc(1 - var(--p) * 3.2); transform: translateY(calc(var(--p) * -60px)); }
  .hx.is-pinned.past .hero-in { visibility: hidden; }
  .cycle { font-size: clamp(72px, 7.4vw, 120px); }
  .hx h1 { margin-top: 20px; font-size: 32px; line-height: 38px; }
  .hx .lead { font-size: 19px; line-height: 28px; max-width: 520px; }
  .hx .signup { max-width: 520px; margin-top: 30px; }
  .hero-down { position: absolute; left: 50%; bottom: 24px; display: grid; place-items: center; width: 48px; height: 48px; margin-left: -24px; border-radius: 50%; background: rgba(255,255,255,0.92); color: var(--ink); }
  .hx.is-pinned .hero-down { opacity: calc(1 - var(--p) * 6); }
  /* Collage: cards sit around the centre and drift in as the hero shrinks. Without pinning they are a row under the hero. */
  .collage { margin: 16px 0 0; padding: 0; overflow: visible; justify-content: center; }
  .cc { width: 200px; }
  .cc-s { width: 140px; }
  .hx.is-pinned .collage { position: absolute; inset: 0; z-index: -1; margin: 0; pointer-events: none; }
  .hx.is-pinned .cc { position: absolute; opacity: clamp(0, calc(var(--p) * 2.2 - 0.6), 1); transform: translateY(calc((1 - var(--p)) * var(--dy, 160px))); }
  .hx.is-pinned .hero-card { z-index: 1; }
  .hx.is-pinned .cc-1 { left: 6%; top: 12%; width: 220px; --dy: 220px; }
  .hx.is-pinned .cc-2 { left: 24%; top: 46%; --dy: 120px; }
  .hx.is-pinned .cc-3 { right: 22%; top: 8%; width: 190px; --dy: 260px; }
  .hx.is-pinned .cc-4 { right: 7%; top: 44%; --dy: 140px; }
  .hx.is-pinned .cc-5 { left: 9%; bottom: 6%; width: 170px; --dy: 300px; }
  .hx.is-pinned .cc-6 { right: 26%; bottom: 4%; width: 180px; --dy: 200px; }
}
@media (min-width: 900px) and (max-height: 760px) { .hx.is-pinned .cc { width: 150px; } .hx.is-pinned .cc-s { width: 110px; } }

/* Rules as tiles: heading and CTA on the left, 2x2 tiles with a black number block. */
.tiles-wrap { display: grid; gap: 28px; }
.tiles-head .pill { display: inline-flex; align-items: center; margin-top: 24px; text-decoration: none; height: 50px; border-radius: 25px; }
.tiles { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.tile { display: flex; flex-direction: column; gap: 18px; padding: 22px; border-radius: 22px; background: var(--tile); }
.tile-ico { display: grid; place-items: center; width: 96px; height: 96px; padding: 8px; border-radius: 18px; background: var(--ink); color: #fff; font-size: 26px; font-weight: 800; letter-spacing: -0.04em; text-align: center; line-height: 1; }
.tile-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.tile-body > p { margin: 0; font-size: 15px; line-height: 23px; color: var(--muted); text-wrap: pretty; }
.tile .rates { width: 100%; }
@media (min-width: 768px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .tile { padding: 28px; } }
@media (min-width: 1100px) {
  .tiles-wrap { grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 56px; align-items: start; }
  .tiles-head { position: sticky; top: 40px; }
}

/* How it works: one step at a time; the section colour follows the step in view (motion.js sets --howbg). */
.howto { --howbg: #fff0b3; padding: 72px 0; background: var(--howbg); transition: background-color 600ms var(--ease); }
.howto-grid { position: relative; margin-top: 24px; }
.dots { display: none; }
.hsteps { margin: 0; padding: 0; list-style: none; }
.hs { display: grid; gap: 24px; padding: 32px 0; }
.hs-n { margin: 0; font-size: 14px; font-weight: 700; color: var(--muted); }
.hs h3 { margin-top: 8px; font-size: 28px; line-height: 33px; letter-spacing: -0.03em; }
.hs-text > p:last-child { margin: 12px 0 0; font-size: 16px; line-height: 25px; color: var(--muted); max-width: 480px; }
.hs-vis { position: relative; margin: 0; width: min(100%, 400px); aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; }
.hs-vis .photo { width: 100%; height: 100%; object-fit: cover; }
.hs-vis .phone { --w: 150px; position: absolute; right: 14px; bottom: -60px; }
@media (min-width: 900px) {
  .howto { padding: 120px 0 80px; }
  .dots { position: sticky; top: 50vh; float: left; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
  .dots li { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); opacity: 0.25; transition: opacity 300ms; }
  .dots li.on { opacity: 1; }
  .hsteps { margin-left: 80px; }
  .hs { grid-template-columns: minmax(0, 1fr) 400px; align-items: center; gap: 64px; min-height: 78vh; padding: 0; }
  .hs-text { opacity: 0.35; transition: opacity 400ms var(--ease); }
  .hs.on .hs-text { opacity: 1; }
  .hs h3 { font-size: 44px; line-height: 50px; }
  .hs-vis .phone { --w: 200px; right: -40px; bottom: -40px; }
  .hs-vis { overflow: visible; }
  .hs-vis .photo { border-radius: 24px; }
}

/* Two modes with tabs: JDG and employee. */
.modes { padding: 72px 0; background: var(--paper); }
.modes-grid { display: grid; gap: 28px; }
.modes-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.modes-tabs button { height: 44px; padding: 0 20px; border: 1px solid var(--hairline); border-radius: 22px; background: transparent; color: var(--ink); font: 600 15px/1 var(--font); cursor: pointer; }
.modes-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.modes-phone { display: grid; justify-items: center; padding: 32px 0; border-radius: 24px; background: var(--tile); }
.mp { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity 360ms var(--ease), transform 360ms var(--ease), visibility 0s 360ms; }
.mp.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mp .phone { --w: 230px; }
.mpanel { display: none; }
.mpanel.on { display: block; }
.mpanel h3 { font-size: 24px; line-height: 30px; }
.mpanel > p { margin: 10px 0 0; color: var(--muted); font-size: 16px; line-height: 25px; }
.mpanel .ticks { margin-top: 18px; }
@media (min-width: 900px) {
  .modes { padding: 120px 0; }
  .modes-grid { grid-template-columns: minmax(0, 1fr) 360px minmax(0, 1fr); gap: 48px; align-items: center; }
  .modes-phone { padding: 48px 0; }
  .mp .phone { --w: 280px; }
}
@media (prefers-reduced-motion: reduce) { .cycle span.in, .cycle span.out { animation: none; } .howto, .mp { transition: none; } }
/* Rates inside a tile: label and value on one line, the note under them. */
.tile .rates div { flex-wrap: wrap; row-gap: 2px; }
.tile .rates dt { flex: 1 1 auto; }
.tile .rates dd b { flex: 0 0 auto; font-size: 26px; line-height: 30px; }
.tile .rates dd b.word { font-size: 17px; line-height: 30px; }
.tile .rates dd > span { flex: 1 0 100%; }
/* Steps: dots in their own column so they stay beside the steps; inactive steps stay readable. */
@media (min-width: 900px) {
  .howto-grid { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 32px; }
  .dots { float: none; align-self: start; top: calc(50vh - 20px); }
  .hsteps { margin-left: 0; }
  .hs-text { opacity: 1; }
  .hs:not(.on) .hs-text h3 { color: var(--ink); }
}
.cycle span { white-space: nowrap; }
/* Phones: photo on top, text on a dark panel under it (no text over the face). */
@media (max-width: 599px) {
  .hero-card { min-height: 0; background: #1d1a16; }
  .hero-media { position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 3.4; }
  .hero-media .photo { object-position: 62% 30%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(29,26,22,0) 60%, #1d1a16 100%); }
  .hero-in { margin-top: -36px; position: relative; padding-top: 0; }
}
/* Desktop: give the rotating line room for the longest word in every language. */
@media (min-width: 900px) {
  .hero-in { box-sizing: border-box; max-width: none; width: min(100%, calc(max(48px, (100vw - 1344px) / 2 + 32px) + 680px)); }
  .hx .lead, .hx .signup { max-width: 520px; }
  .cycle { font-size: clamp(64px, 6.2vw, 96px); }
}
