/* Posty, the whole site's style. Hebrew, RTL.
 *
 * The look follows the Launchfolio reference: a white sheet floating on a dark
 * canvas, hairline rules instead of coloured bands, headings at weight 500 in
 * two tones, a floating pill for the navigation, soft layered shadows on the
 * cards, and a button that follows the reader down the page. The only colour
 * comes from the designs in the carousel and one green dot.
 *
 * Two rules that are not preferences:
 *   1. letter-spacing is never set. Both references get their tightness from
 *      negative tracking; Hebrew letters are not drawn for it, and tracking
 *      breaks the shape of a Hebrew word. Size, weight and line-height do the
 *      job here instead.
 *   2. Logical properties only, inline-start, not left. Nothing here would
 *      need mirroring if the direction ever changed. The exceptions are
 *      marked where they are made, and they are pictures: a caret, a tick,
 *      a fan of cards.
 */

/* ---------- tokens ---------- */

:root {
  --canvas: #2b2b2b;         /* the dark frame around the sheet */
  --sheet: #ffffff;
  --paper: #fafafa;          /* a quieter white for some surfaces */
  --tint: #f2f2f2;
  --ink: #0a0a0a;            /* 20.4:1 on the sheet */
  --ink-soft: #6f6f6f;       /* the grey first line of a heading, 5.3:1 */
  --muted: #5c5c5c;          /* 7.0:1 */
  --hair: #e9e9e9;           /* hairline rules */
  --hair-strong: #8a8a8a;    /* 3.5:1, a control's edge */

  --on-dark: #ffffff;
  --muted-on-dark: #a3a3a3;  /* 7.5:1 on ink */

  --accent: #25d366;         /* WhatsApp's green: the glyph and the status dot; never text */
  --accent-soft: #e4f7ea;    /* the badge behind the glyph on a light pill */

  /* The mark's own colour: red at the crown, orange at the rim. It appears
   * in small, deliberate places, never as a text colour, never as a fill
   * behind words, so the page stays the white sheet and the mark stays
   * the warmest thing on it. */
  --brand-1: #ff2c2c;
  --brand-2: #ffa600;
  --brand-dot: radial-gradient(circle at 50% 18%, var(--brand-1), var(--brand-2) 92%);
  --brand-glow: rgb(255 120 40 / 22%);
  --brand-select: #ffe3c4;

  /* Framer's "smooth shadow": several thin layers, each pulled in a little,
   * so the card lifts without a grey smudge under it. */
  --shadow-sm:
    0 0.6px 0.6px -1.25px rgb(0 0 0 / 14%),
    0 2.3px 2.3px -2.5px rgb(0 0 0 / 12%),
    0 10px 10px -3.75px rgb(0 0 0 / 5%);
  --shadow-md:
    0 0.6px 0.6px -0.9px rgb(0 0 0 / 7%),
    0 1.8px 1.8px -1.9px rgb(0 0 0 / 7%),
    0 4.8px 4.8px -2.8px rgb(0 0 0 / 6%),
    0 15px 15px -3.75px rgb(0 0 0 / 3%),
    0 0 0 1px var(--hair);
  --shadow-lg:
    0 0.7px 0.7px -0.75px rgb(0 0 0 / 30%),
    0 2px 2px -1.5px rgb(0 0 0 / 28%),
    0 4.4px 4.4px -2.25px rgb(0 0 0 / 26%),
    0 9.8px 9.8px -3px rgb(0 0 0 / 22%),
    0 25px 25px -3.75px rgb(0 0 0 / 10%);

  --step-0: 1.0625rem;
  --step-1: 1.1875rem;
  --step-2: clamp(1.375rem, 1.15rem + 0.9vw, 1.625rem);
  --step-3: clamp(1.875rem, 1.25rem + 2.6vw, 2.75rem);
  --step-4: clamp(2.375rem, 1.4rem + 4vw, 3.75rem);

  --gutter: clamp(20px, 4vw, 48px);
  --measure: 60ch;
  --sheet-w: 1200px;

  --r-card: 24px;
  --r-tile: 16px;
  --r-pill: 999px;
  --r-sm: 10px;

  --nav-h: 56px;
}

/* ---------- reset ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Google Sans", system-ui, sans-serif;
  font-size: var(--step-0);
  line-height: 1.6;
  font-weight: 400;
  text-align: start;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--brand-select); color: var(--ink); }

h1, h2, h3 {
  margin: 0;
  font-weight: 500;
  line-height: 1.15;
  text-wrap: balance;
}

/* The two-tone heading: a quieter first line, then the point. */
h1 .dim, h2 .dim { color: var(--ink-soft); }

p { margin: 0; max-width: var(--measure); }

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ---------- the sheet ---------- */

.sheet {
  position: relative;
  max-inline-size: var(--sheet-w);
  margin-inline: auto;
  min-block-size: 100dvh;
  background: var(--sheet);
  border-inline: 1px solid rgb(255 255 255 / 8%);
  /* The fan's tilted cards poke past their box, as they should, but never
   * past the sheet, where they would give the page a horizontal scroll.
   * `clip`, not `hidden`: `hidden` makes this a scroll container and the
   * sticky navigation would stop sticking. */
  overflow-x: clip;
}

.wrap {
  inline-size: 100%;
  padding-inline: var(--gutter);
}

section { padding-block: clamp(56px, 7vw, 96px); }

.rule { border-block-start: 1px solid var(--hair); }

.skip {
  position: absolute;
  inset-block-start: -100px;
  inset-inline-start: var(--gutter);
  z-index: 30;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--on-dark);
  border-radius: var(--r-pill);
  text-decoration: none;
}
.skip:focus { inset-block-start: 10px; }

/* ---------- floating navigation ---------- */

.nav-wrap {
  position: sticky;
  inset-block-start: 12px;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding-block: 12px 0;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  block-size: var(--nav-h);
  padding-block: 6px;
  padding-inline: 8px 6px;
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / 86%);
  backdrop-filter: saturate(160%) blur(16px);
  box-shadow: var(--shadow-md);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-inline: 10px 14px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.0625rem;
}
.brand img { inline-size: 28px; block-size: 28px; }

.nav-links { display: flex; gap: 2px; }
.nav-links a {
  padding: 8px 12px;
  border-radius: var(--r-pill);
  text-decoration: none;
  font-size: 0.9375rem;
  color: var(--muted);
}
.nav-links a:hover { color: var(--ink); background: var(--tint); }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ---------- buttons ---------- */

/* A black pill with a faint highlight along its top edge and a round white
 * badge tucked into the leading end. The badge carries the WhatsApp glyph in
 * its own green, the way the icon looks everywhere, so the button says
 * where it goes without a word spent on it.
 *
 * The padding is logical on purpose. The first version wrote it physically,
 * and under RTL the tight side landed on the text and the loose side on the
 * badge: a badge adrift in the middle, text crushed against the far edge. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-block-size: 50px;
  padding-block: 5px;
  padding-inline: 5px 24px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--on-dark);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 18%),
    var(--shadow-sm);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 18%), var(--shadow-lg);
}
.btn:active { transform: translateY(0); }

.btn .badge {
  display: grid;
  place-items: center;
  inline-size: 40px;
  block-size: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--sheet);
  color: var(--accent);
  box-shadow: inset 0 -1px 0 rgb(0 0 0 / 8%);
}
.btn .badge svg { inline-size: 22px; block-size: 22px; }

/* The quiet second choice, beside the primary. */
.btn-ghost {
  padding-inline: 22px;
  background: var(--sheet);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}
.btn-ghost:hover { background: var(--paper); box-shadow: var(--shadow-lg); }

/* The primary, when it sits on a dark card. */
.btn-light {
  background: var(--sheet);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.btn-light .badge { background: var(--accent-soft); box-shadow: none; }

.btn-sm {
  gap: 9px;
  min-block-size: 42px;
  padding-block: 4px;
  padding-inline: 4px 16px;
  font-size: 0.875rem;
}
.btn-sm .badge { inline-size: 34px; block-size: 34px; }
.btn-sm .badge svg { inline-size: 19px; block-size: 19px; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-block-start: 30px;
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* ---------- status pill ---------- */

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-block: 7px;
  padding-inline: 11px 14px;
  border-radius: var(--r-pill);
  background: var(--sheet);
  box-shadow: var(--shadow-md);
  font-size: 0.875rem;
  font-weight: 500;
}
.status::before {
  content: "";
  inline-size: 8px;
  block-size: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgb(37 211 102 / 20%);
}
.card-dark .status { background: #1f1f1f; box-shadow: 0 0 0 1px rgb(255 255 255 / 10%); }

/* ---------- hero ---------- */

.hero {
  padding-block: clamp(32px, 5vw, 72px) clamp(40px, 5vw, 64px);
}

.hero .wrap {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

@media (min-width: 880px) {
  .hero .wrap { grid-template-columns: 1.05fr 1fr; }
}

.hero h1 {
  margin-block-start: 22px;
  font-size: var(--step-4);
  line-height: 1.12;
  max-inline-size: 14ch;
}

.hero .lede {
  margin-block-start: 22px;
  font-size: var(--step-1);
  color: var(--muted);
  max-inline-size: 40ch;
}
.hero .lede b { font-weight: 500; color: var(--ink); }

/* Three squares fanned like a hand of cards. Until the pilot has drawn real
 * ones these are the placeholders, and they say so in their alt text.
 * The shifts are physical (translateX) on purpose: it is a picture, and it
 * should look the same whichever way the text runs. */
.fan {
  position: relative;
  /* Explicit, because every child is absolute: with nothing in the flow the
   * box would shrink to nothing and the aspect ratio would be a ratio of 0. */
  inline-size: 100%;
  aspect-ratio: 1.15;
  max-inline-size: 520px;
  margin-inline: auto;
}
.fan::before {
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--brand-glow), transparent 72%);
}

.fan img {
  position: absolute;
  /* `left`, not inset-inline-start: the anchor has to agree with the physical
   * translateX below, or under RTL the cards centre a whole card's width off
   * to the side. The fan is a picture and is physical throughout. */
  left: 50%;
  inset-block-start: 50%;
  inline-size: 62%;
  aspect-ratio: 1;
  border-radius: var(--r-tile);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, -50%) rotate(var(--tilt)) translateX(var(--shift));
}
.fan img:nth-child(1) { --tilt: -9deg; --shift: -34%; z-index: 1; }
.fan img:nth-child(2) { --tilt: 0deg;  --shift: 0;    z-index: 3; }
.fan img:nth-child(3) { --tilt: 9deg;  --shift: 34%;  z-index: 2; }

/* On a phone the fan sits under the text and has the whole width; smaller
 * cards and a tighter spread keep all three inside the gutters. */
@media (max-width: 879px) {
  .fan { aspect-ratio: 1.3; max-inline-size: 420px; }
  .fan img { inline-size: 54%; }
  .fan img:nth-child(1) { --shift: -28%; }
  .fan img:nth-child(3) { --shift: 28%; }
}

/* ---------- carousel ---------- */

.strip {
  padding-block: 22px 0;
  overflow: hidden;
  border-block: 1px solid var(--hair);
}

/* The cards fade in at one edge and out at the other, instead of being cut
 * off by the sheet. The mask is physical because the motion is. */
.strip-track {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

/* Two identical sets side by side, shifted by exactly one set each cycle, so
 * the loop has no seam and never restarts visibly.
 *
 * The gap belongs to the set, not to the track: with a gap on the track, half
 * its width is one set plus *half* a gap, and every cycle jumped by the other
 * half. Each set carrying its own trailing gap makes -50% land exactly. */
.strip-track {
  display: flex;
  gap: 0;
  inline-size: max-content;
  direction: ltr;              /* the maths stays simple; the images have no direction */
  animation: strip 80s linear infinite;
  will-change: transform;
}

.strip-set {
  display: flex;
  gap: 14px;
  padding-inline-end: 14px;
}

.strip:hover .strip-track,
.strip:focus-within .strip-track { animation-play-state: paused; }

.strip-set img {
  inline-size: clamp(120px, 18vw, 180px);
  aspect-ratio: 1;
  border-radius: var(--r-tile);
  background: var(--tint);
  object-fit: cover;
}

@keyframes strip {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.strip-caption {
  padding: 16px var(--gutter) 18px;
  font-size: 0.8125rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .strip { overflow-x: auto; }
  .strip-track { animation: none; }
}

/* ---------- section heads ---------- */

.head {
  display: grid;
  gap: 16px 48px;
  align-items: end;
}
@media (min-width: 880px) {
  .head { grid-template-columns: 1.2fr 1fr; }
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-block-end: 18px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}
.kicker::before {
  content: "";
  inline-size: 7px;
  block-size: 7px;
  border-radius: 50%;
  background: var(--brand-dot);
}

.head h2 { font-size: var(--step-3); max-inline-size: 18ch; }
.head p { color: var(--muted); font-size: var(--step-0); max-inline-size: 42ch; }
.head p b { font-weight: 500; color: var(--ink); }

/* ---------- steps ---------- */

.steps {
  margin-block-start: 40px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.step {
  padding: 26px 26px 30px;
  border-radius: var(--r-card);
  background: var(--sheet);
  box-shadow: var(--shadow-md);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.step:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
@media (prefers-reduced-motion: reduce) {
  .step { transition: none; }
  .step:hover { transform: none; }
}

.step .icon {
  display: grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-dark);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 22%), var(--shadow-sm);
}
.step .icon svg { inline-size: 20px; block-size: 20px; }

.step h3 { margin-block-start: 20px; font-size: var(--step-2); }
.step p { margin-block-start: 8px; color: var(--muted); font-size: 0.9375rem; }

/* ---------- the bento: statement and price ---------- */

.bento {
  margin-block-start: 40px;
  display: grid;
  gap: 16px;
}
@media (min-width: 880px) {
  .bento { grid-template-columns: 1fr 1.15fr; }
}

.card-dark {
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-card);
  background:
    radial-gradient(55% 45% at 88% 0%, var(--brand-glow), transparent 70%),
    linear-gradient(180deg, #1c1c1c, var(--ink) 40%);
  color: var(--on-dark);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%), var(--shadow-lg);
}
.card-dark h3 { font-size: var(--step-2); max-inline-size: 22ch; }
.card-dark p { margin-block-start: 16px; color: var(--muted-on-dark); font-size: 0.9375rem; }
.card-dark .status { margin-block-end: 22px; }

.card-price {
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-card);
  background: var(--sheet);
  box-shadow: var(--shadow-md);
}
.card-price h3 { font-size: var(--step-2); }
.card-price .sub { margin-block-start: 8px; color: var(--muted); font-size: 0.9375rem; }

.price-figure {
  margin-block-start: 22px;
  padding-block-start: 22px;
  border-block-start: 1px solid var(--hair);
  font-size: var(--step-3);
  font-weight: 500;
  line-height: 1.1;
}
.price-figure .unit { font-size: 0.5em; color: var(--muted); font-weight: 400; }

.checks {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.9375rem;
}
.checks li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.checks li::before {
  content: "";
  flex: none;
  inline-size: 18px;
  block-size: 18px;
  border-radius: 50%;
  background: var(--brand-dot);
  /* A tick, drawn once. Physical direction on purpose: a tick is a picture. */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23000'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23000'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- faq ---------- */

.faq { margin-block-start: 36px; max-inline-size: 760px; }

.faq details { border-block-end: 1px solid var(--hair); }
.faq details:first-of-type { border-block-start: 1px solid var(--hair); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
  font-weight: 500;
  font-size: var(--step-0);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  flex: none;
  inline-size: 9px;
  block-size: 9px;
  margin-block-end: 5px;
  /* Physical on purpose: a caret points down in both directions, and the
   * logical pair would swing it sideways under RTL. */
  border-right: 1.5px solid var(--hair-strong);
  border-bottom: 1.5px solid var(--hair-strong);
  transform: rotate(45deg);
  transition: transform 150ms ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-block-end: 0; }

.faq p { padding-block-end: 22px; color: var(--muted); }

/* ---------- closing ---------- */

.closing-card {
  padding: clamp(44px, 6vw, 80px) var(--gutter);
  border-radius: var(--r-card);
  background:
    radial-gradient(60% 55% at 50% 0%, rgb(255 110 40 / 26%), transparent 70%),
    radial-gradient(120% 90% at 50% 0%, #262626, var(--ink) 60%);
  color: var(--on-dark);
  text-align: center;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%), var(--shadow-lg);
}
.closing-card h2 { font-size: var(--step-3); margin-inline: auto; max-inline-size: 18ch; }
.closing-card p { margin-block-start: 14px; margin-inline: auto; color: var(--muted-on-dark); }
.closing-card .actions { justify-content: center; }

/* ---------- footer ---------- */

.footer {
  padding-block: 40px 0;
  border-block-start: 1px solid var(--hair);
  font-size: 0.875rem;
  color: var(--muted);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px 40px;
  margin-block-end: 26px;
}
.footer .brand { padding-inline: 0; }
.footer .tagline { margin-block-start: 8px; max-inline-size: 36ch; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer nav a {
  display: inline-block;
  padding-block: 6px;          /* 34px tall: over the 24px target minimum */
  color: var(--ink);
  text-decoration: none;
}
.footer nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer .legal {
  padding-block-start: 18px;
  border-block-start: 1px solid var(--hair);
}
.footer .legal p { margin-block-start: 6px; max-inline-size: 70ch; font-size: 0.8125rem; }

/* ---------- consent ---------- */

.consent {
  position: fixed;
  inset-inline: 12px;
  inset-block-end: calc(12px + env(safe-area-inset-bottom));
  z-index: 26;
  max-inline-size: 460px;
  margin-inline: auto;
  padding: 20px 22px;
  background: var(--sheet);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-lg);
}
.consent[hidden] { display: none; }
.consent p { font-size: 0.9375rem; color: var(--muted); }
.consent .row { display: flex; gap: 10px; margin-block-start: 16px; }
.consent button {
  flex: 1;
  min-block-size: 44px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hair-strong);
  background: var(--sheet);
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  cursor: pointer;
}
.consent button.primary { border-color: transparent; background: var(--ink); color: var(--on-dark); }

/* ---------- motion ---------- */

/* Things arrive; they do not jump. Every entrance here is a short rise and a
 * fade with the same curve, so the page moves like one thing. Nothing is
 * hidden unless the script that will reveal it is running: the `js-motion`
 * class is set in <head> before first paint, and only when the visitor has
 * not asked for reduced motion. Without it, everything is simply there. */

:root { --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1); }

@keyframes rise {
  from { opacity: 0; translate: 0 14px; }
  to   { opacity: 1; translate: 0 0; }
}
@keyframes settle {
  from { opacity: 0; scale: 0.96; translate: 0 12px; }
  to   { opacity: 1; scale: 1; translate: 0 0; }
}
@keyframes drop {
  from { opacity: 0; translate: 0 -10px; }
  to   { opacity: 1; translate: 0 0; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgb(37 211 102 / 20%); }
  50%      { box-shadow: 0 0 0 7px rgb(37 211 102 / 8%); }
}

/* The first screen plays itself on load: navigation drops in, the hero rises
 * line by line, the three cards settle one after another, the strip follows. */
.js-motion .nav { animation: drop 600ms var(--ease-out) both; }
.js-motion .hero .status,
.js-motion .hero h1,
.js-motion .hero .lede,
.js-motion .hero .actions { animation: rise 700ms var(--ease-out) both; }
.js-motion .hero h1 { animation-delay: 80ms; }
.js-motion .hero .lede { animation-delay: 160ms; }
.js-motion .hero .actions { animation-delay: 240ms; }
.js-motion .fan img { animation: settle 900ms var(--ease-out) both; }
.js-motion .fan img:nth-child(1) { animation-delay: 220ms; }
.js-motion .fan img:nth-child(2) { animation-delay: 340ms; }
.js-motion .fan img:nth-child(3) { animation-delay: 460ms; }
.js-motion .strip { animation: rise 800ms var(--ease-out) 500ms both; }

/* Everything below reveals as it scrolls in, once. Siblings stagger by their
 * index, which the markup sets as --i. */
.js-motion [data-reveal] {
  opacity: 0;
  translate: 0 16px;
  transition: opacity 650ms var(--ease-out), translate 650ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js-motion [data-reveal].is-in { opacity: 1; translate: 0 0; }

/* The green dot breathes. */
.js-motion .status::before { animation: pulse 2.6s ease-in-out infinite; }

/* An answer unfolds rather than appears. */
.js-motion .faq details[open] > p { animation: rise 320ms var(--ease-out) both; }

/* The carousel eases in from stillness instead of already moving at speed. */
.js-motion .strip-track { animation-timing-function: linear; }

/* ---------- legal documents ---------- */

/* Read on a phone, mid-conversation, often to settle one specific question.
 * One column at a comfortable measure, headings that mark real breaks, and
 * tables that can be scrolled rather than crushed. */

.prose { padding-block: clamp(32px, 5vw, 56px) clamp(56px, 7vw, 96px); }
.prose .wrap { max-inline-size: 46rem; margin-inline: auto; }

.prose h1 { font-size: var(--step-3); margin-block-end: 8px; }
.prose h2 {
  font-size: var(--step-2);
  margin-block: 48px 14px;
  padding-block-start: 26px;
  border-block-start: 1px solid var(--hair);
}
.prose h2:first-of-type { border-block-start: 0; padding-block-start: 0; }
.prose h3 { font-size: 1.0625rem; margin-block: 26px 8px; color: var(--muted); }
.prose h4 { font-size: 1rem; margin-block: 20px 6px; }
.prose p, .prose li { margin-block-end: 14px; max-inline-size: none; }
.prose ul, .prose ol { padding-inline-start: 1.3em; margin-block: 0 14px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose code { padding: 2px 6px; border-radius: var(--r-sm); background: var(--tint); font-size: 0.9375em; }

.prose .scroll {
  overflow-x: auto;
  margin-block-end: 20px;
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-md);
}
.prose table { inline-size: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.prose th, .prose td {
  padding: 12px 14px;
  text-align: start;
  vertical-align: top;
  border-block-end: 1px solid var(--hair);
}
.prose th { background: var(--paper); font-weight: 500; }
.prose tbody tr:last-child td { border-block-end: 0; }

/* An unfilled value, shown rather than quietly printed. The build refuses to
 * finish while one exists, so this is only ever seen locally. */
.prose .todo {
  padding: 1px 6px;
  border-radius: var(--r-sm);
  background: #ffe8e4;
  color: #8a2311;
  font-weight: 500;
}

/* ---------- sector chips ---------- */

/* The eight sector pages, as a row of pills: on the home page under the
 * steps, on each sector page as "the others", and in every footer. */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-start: 32px;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  padding-inline: 18px;
  border-radius: var(--r-pill);
  background: var(--sheet);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.chip:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
@media (prefers-reduced-motion: reduce) {
  .chip { transition: none; }
  .chip:hover { transform: none; }
}

.footer-sectors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  margin-block-end: 22px;
  font-size: 0.8125rem;
}
.footer-sectors-label { color: var(--muted); }
.footer-sectors a {
  display: inline-block;
  padding-block: 6px;
  color: var(--ink);
  text-decoration: none;
}
.footer-sectors a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* The three ideas on a sector page reuse the step cards, numbered. */
.step .num {
  display: inline-grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  border-radius: 50%;
  background: var(--tint);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
}

/* ---------- guides ---------- */

/* An article: the prose column, a date line, a card that asks the one
 * question the article was leading to, and the way to the rest. */
.article .kicker a { color: inherit; text-decoration: none; }
.article .kicker a:hover { text-decoration: underline; text-underline-offset: 3px; }
.article h1 { margin-block-start: 12px; }
.article .meta { color: var(--muted); font-size: 0.875rem; margin-block: 8px 40px; }
.article h2 { max-inline-size: none; }

.cta-card {
  display: grid;
  gap: 20px;
  align-items: center;
  margin-block: 48px 40px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}
@media (min-width: 720px) {
  .cta-card { grid-template-columns: 1fr auto; }
}
.cta-card h2 { margin: 0; padding: 0; border: 0; font-size: var(--step-2); }
.cta-card p { margin-block: 8px 0; color: var(--muted); }

.related ul { list-style: none; padding: 0; margin: 12px 0 28px; display: grid; gap: 8px; }
.related a { text-decoration: none; }
.related a:hover { text-decoration: underline; text-underline-offset: 3px; }

.guide-cards { margin-block-start: 40px; }
.guide-card { text-decoration: none; color: inherit; display: block; }
.guide-card .num { inline-size: auto; padding-inline: 12px; border-radius: var(--r-pill); }
.guide-card h3 { font-size: var(--step-2); }
.guide-card p { max-inline-size: none; }
