/* ---------- Brand tokens (Notion: 07 Visual direction, 2026-10-09) ---------- */
:root {
  --purple: #5D225A;      /* Twincoin Purple: header, buttons, accent line */
  --plum: #502149;        /* Deep Plum: pressed state only */
  --cream: #F4EEE3;       /* warm background */
  --ivory: #FAF6EF;       /* logo and text on purple */
  --lilac-tint: #F2E9F1;  /* soft panels */
  --charcoal: #2B262A;    /* text on light */
  --grey: #6F6A6D;        /* captions, English sub-lines */
  --gold: #C9A24E;        /* one thin line only: the ribbon */
  --deep: #2D112B;        /* the hero field */
  --lilac: #C57AC1;       /* companion lines on the hero field */
  --light-purple: #A83EA2;/* focus ring on the hero field */
  --card: #FDFBF7;        /* card core */

  --title: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --body-ar: "IBM Plex Sans Arabic", "Readex Pro", system-ui, sans-serif;
  --body-en: "IBM Plex Sans", system-ui, sans-serif;

  --bezel: 7px;                   /* the lilac ring around a card core */
  --r-core: 19px;
  --r-pill: 999px;
  --gutter: 46px;                 /* the ribbon lane beside the steps */

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --shadow-card: 0 18px 40px -20px rgba(45, 17, 43, .3);
  --shadow-btn: 0 10px 22px -10px rgba(45, 17, 43, .55);
  --line: rgba(93, 34, 90, .12);
}

@property --p { syntax: "<number>"; inherits: true; initial-value: 0; }

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scrollbar-color: rgba(93, 34, 90, .35) transparent;
}

::selection { background: var(--purple); color: var(--ivory); }

body {
  margin: 0;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--body-ar);
  font-size: 1.0625rem;
  line-height: 1.65;
  caret-color: var(--purple);
}

bdi { white-space: nowrap; }

img, svg { display: block; }

/* English line that sits under an Arabic line */
.en {
  display: block;
  direction: ltr;
  text-align: right;
  font-family: var(--body-en);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--grey);
}

/* ---------- The column ---------- */
.page {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100svh;
  background: var(--cream);
  isolation: isolate;
}

/* ---------- Hero: one flat field ---------- */
.hero {
  position: relative;
  z-index: 1;
  background: var(--deep);
  color: var(--ivory);
  padding: calc(22px + env(safe-area-inset-top, 0px)) 22px 0;
  padding-inline: calc(22px + env(safe-area-inset-right, 0px)) calc(22px + env(safe-area-inset-left, 0px));
}

.hero > * { position: relative; }

.logo {
  width: 150px;
  max-width: 48%;
  height: auto;
  margin: 0 0 30px;
}

.hero h1 {
  margin: 0;
  font-family: var(--title);
  font-weight: 700;
  font-size: clamp(1.875rem, 8.6vw, 2.375rem);
  line-height: 1.26;
  text-wrap: balance;
  max-width: 11em;
}

.hero .en { color: var(--lilac); }
.hero h1 + .en { font-size: 1rem; margin-top: 6px; }

.hero p {
  margin: 18px 0 0;
  font-size: 1.03125rem;
  max-width: 34ch;
  text-wrap: pretty;
}
.hero p .en { margin-top: 4px; }

/* The gift: a purple box tied with the one gold line, the coin resting on it.
   It sits at the inline end and breaks the hero's bottom edge into the cream. */
.gift-zone {
  position: relative;
  height: 136px;
  margin-top: 10px;
}

.gift {
  position: absolute;
  inset-inline-end: 6px;
  bottom: -44px;
  width: 160px;
  height: 160px;
  pointer-events: none;
}

.box-lid {
  position: absolute;
  left: 7.5%; right: 7.5%; top: 33.75%;
  height: 18.75%;
  background: var(--plum);
  border-radius: 6px 6px 3px 3px;
  box-shadow: inset 0 1px 0 rgba(250, 246, 239, .18), 0 1px 0 rgba(45, 17, 43, .5);
}

.box-body {
  position: absolute;
  left: 11.25%; right: 11.25%; top: 51.25%; bottom: 1.25%;
  background: var(--purple);
  border-radius: 3px 3px 10px 10px;
  box-shadow: 0 22px 36px -18px rgba(45, 17, 43, .55);
}

.string {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke: var(--gold);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.coin {
  position: absolute;
  width: 52.5%;
  height: 52.5%;
  inset-inline-start: -4%;
  top: 0;
  transform: rotate(-10deg);
  filter: drop-shadow(0 10px 14px rgba(45, 17, 43, .4));
}

/* ---------- The ribbon ---------- */
.ribbon {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  z-index: 2;
  pointer-events: none;
  --p: 0;
}
.ribbon svg { position: absolute; left: 0; top: 0; overflow: visible; }
/* the pen point of the thread: a bead riding the same path at the drawn tip */
.bead {
  position: absolute;
  left: 0; top: 0;
  width: 7px; height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 2px var(--cream);
  offset-rotate: 0deg;
  offset-distance: calc(var(--p) * 100%);
  transition: offset-distance 900ms var(--ease-out);
}
.ribbon.scroll-driven .bead { transition: none; }
.ribbon[data-ready="0"] .bead { display: none; }
.ribbon .lead,
.ribbon .draw {
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.ribbon .lead { stroke-width: 1.5; stroke-dasharray: 1.5 7; opacity: .42; }
.ribbon .draw {
  stroke-width: 1.75;
  stroke-dasharray: var(--len, 1) var(--len, 1);
  stroke-dashoffset: calc(var(--len, 1) * (1 - var(--p)));
  transition: --p 900ms var(--ease-out);
}
.ribbon[data-ready="0"] { visibility: hidden; }

@keyframes ribbon-draw { 0% { --p: 0; } 84% { --p: 1; } 100% { --p: 1; } }
@supports (animation-timeline: view()) {
  .ribbon.scroll-driven { animation: ribbon-draw linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  .ribbon.scroll-driven .draw { transition: none; }
}

/* ---------- Body ---------- */
main {
  position: relative;
  z-index: 3;
  padding: 0 16px 8px;
  padding-inline: calc(16px + env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-left, 0px));
}

h2 {
  margin: 0;
  font-family: var(--title);
  font-weight: 600;
  font-size: 1.1875rem;
  line-height: 1.4;
  color: var(--charcoal);
}
h2 + .en { margin-top: 2px; }

/* Steps hang on the ribbon: the knot is the number badge, sitting in the gutter */
.steps {
  list-style: none;
  margin: 74px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.step {
  position: relative;
  margin-inline-start: var(--gutter);
}
.step:nth-child(2) { margin-inline-start: calc(var(--gutter) + 28px); }
.step:nth-child(1), .step:nth-child(3) { margin-inline-end: 6px; }

.knot {
  position: absolute;
  inset-inline-start: calc(-1 * var(--gutter));
  top: calc(18px + var(--bezel));
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--ivory);
  font-family: var(--title);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 42px;
  text-align: center;
  box-shadow: 0 0 0 1.5px var(--gold), 0 0 0 5px var(--cream), 0 8px 16px -8px rgba(45, 17, 43, .5);
  z-index: 2;
}

/* Double bezel: a lilac ring (spread shadow) around the ivory core, so the radii stay concentric */
.core {
  position: relative;
  margin: var(--bezel);
  background: var(--card);
  border-radius: var(--r-core);
  padding: 18px 18px 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 0 0 1px var(--line), 0 0 0 var(--bezel) var(--lilac-tint), var(--shadow-card);
}

.step h2 { text-wrap: balance; }
.step .en, .step p { text-wrap: pretty; }
.step p { margin: 10px 0 0; }
.step .en { color: var(--grey); }

/* Step 3 is the peak: the coin lands in it once */
.step-peak .core { padding-top: 22px; padding-bottom: 24px; }
.step-peak h2 { font-size: 1.3125rem; padding-inline-end: 64px; }
.step-peak .note {
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  font-family: var(--title);
  font-weight: 600;
  font-size: 0.96875rem;
  line-height: 1.55;
  color: var(--purple);
}
.step-peak .note .en { color: var(--charcoal); font-weight: 400; margin-top: 4px; }

.coin-land {
  position: absolute;
  inset-inline-end: 2px;
  top: -16px;
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 10px 12px rgba(45, 17, 43, .35));
  transform: rotate(8deg);
  pointer-events: none;
  z-index: 3;
}

/* ---------- Buttons: purple pills, the icon in its own well at the inline end ---------- */
.stores {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.btn {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 9px 10px;
  padding-inline-start: 22px;
  border-radius: var(--r-pill);
  background: var(--purple);
  color: var(--ivory);
  font-family: var(--title);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.3;
  text-decoration: none;
  text-align: start;
  box-shadow: var(--shadow-btn);
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}

.btn-text { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.btn small {
  display: block;
  direction: ltr;
  text-align: right;
  font-family: var(--body-en);
  font-weight: 400;
  font-size: 0.8125rem;
  line-height: 1.35;
  opacity: .9;
}

.well {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(250, 246, 239, .14);
  transition: transform 200ms var(--ease-out), background-color 160ms var(--ease-out);
}
.ico { width: 22px; height: 22px; fill: currentColor; }

.btn:active { transform: scale(.97); background: var(--plum); }

.btn-line {
  background: var(--card);
  color: var(--purple);
  box-shadow: inset 0 0 0 1.5px var(--purple);
}
.btn-line .well { background: var(--lilac-tint); }
.btn-line:active { background: var(--lilac-tint); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--plum); }
  .btn:hover .well { transform: translate(-1px, -1px) scale(1.06); background: rgba(250, 246, 239, .22); }
  .btn-line:hover { background: var(--lilac-tint); }
  .btn-line:hover .well { background: var(--card); }
  .help a:hover { text-decoration-thickness: 2px; }
}

a:focus-visible {
  outline: 3px solid var(--charcoal);
  outline-offset: 3px;
}
.hero a:focus-visible { outline-color: var(--light-purple); }

/* ---------- Help: one full-row target, placed where the steps end ---------- */
.help {
  margin: 26px 0 0;
  margin-inline-start: var(--gutter);
  padding: 0 4px;
  font-size: 1rem;
  text-align: center;
}
.help a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 6px;
  color: var(--purple);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(93, 34, 90, .4);
  touch-action: manipulation;
}
.help a .ico { width: 20px; height: 20px; }
.help .en { text-align: center; }

/* ---------- Family: open air, no card ---------- */
.family {
  margin-top: 44px;
  margin-inline-start: var(--gutter);
  padding: 0 4px;
}
.family p { margin: 6px 0 16px; }
.family .btn-line { margin-top: 2px; }

.banner {
  width: 100%;
  height: auto;
  margin-top: 22px;
  border-radius: var(--r-core);
  box-shadow: var(--shadow-card);
}

/* ---------- Business: shell card ---------- */
.business { margin-top: 36px; margin-inline-start: var(--gutter); }
.business .core { padding: 22px 18px 20px; }
.biz-logo { width: 210px; max-width: 78%; height: auto; margin: 0 0 18px; }
.business p { margin: 10px 0 0; }
.business .lead { font-weight: 500; }
.business .lead .en { font-weight: 400; }
.business .btn-line { margin-top: 18px; }

/* ---------- Footer: the knot, the tagline ---------- */
footer {
  position: relative;
  z-index: 3;
  margin-top: 44px;
  padding: 0 16px calc(36px + env(safe-area-inset-bottom, 0px));
  text-align: center;
}
.foot-knot {
  width: 22px;
  height: 22px;
  margin: 0 auto 22px;
}
.foot-knot circle { fill: var(--cream); stroke: var(--gold); stroke-width: 1.5; }
.foot-knot path { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; }
.logo-foot { width: 118px; height: auto; margin: 0 auto 12px; }

.tagline {
  margin: 0;
  font-family: var(--title);
  font-weight: 700;
  font-size: 1.3125rem;
  line-height: 1.4;
  color: var(--purple);
}
footer .en { text-align: center; }

.site {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 6px;
  padding: 0 8px;
  direction: ltr;
  font-family: var(--body-en);
  font-size: 0.875rem;
  color: var(--grey);
  text-underline-offset: 4px;
  text-decoration-color: rgba(111, 106, 109, .5);
  touch-action: manipulation;
}

.legal {
  margin: 20px auto 0;
  padding-top: 16px;
  max-width: 320px;
  border-top: 1px solid var(--line);
  font-size: 0.78125rem;
  line-height: 1.7;
  color: var(--grey);
  font-variant-numeric: tabular-nums;
}
.legal p { margin: 0 0 8px; }
.legal p:last-child { margin-bottom: 0; }
.legal .en { font-size: 0.75rem; line-height: 1.55; text-align: center; }

/* ---------- Entrance: the logo at once; the text and the gift once the fonts are in, in order ---------- */
.logo-in {
  opacity: 1;
  transition: opacity 480ms var(--ease-out);
  @starting-style { opacity: 0; }
}
.hero .in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.hero .gift {
  opacity: 1;
  transform: scale(1);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  transition-delay: 220ms;
}
html.wait .hero .in { opacity: 0; transform: translateY(10px); transition: none; }
html.wait .hero .gift { opacity: 0; transform: scale(.94); transition: none; }
html.wait main, html.wait footer, html.wait .ribbon { visibility: hidden; }

/* Scroll reveal: once, as a block enters */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out);
}
.reveal[data-in] { opacity: 1; transform: translateY(0); }
.no-io .reveal { opacity: 1; transform: none; }

.coin-land {
  opacity: 0;
  transform: translateY(-26px) rotate(-4deg) scale(.92);
  transition: opacity 400ms var(--ease-out), transform 640ms var(--ease-out);
  transition-delay: 160ms;
}
.step-peak[data-land] .coin-land { opacity: 1; transform: rotate(8deg) scale(1); }
.no-io .coin-land { opacity: 1; transform: rotate(8deg); }

/* ---------- Small phones ---------- */
@media (max-width: 340px) {
  body { font-size: 1rem; }
  :root { --gutter: 40px; }
  .hero { padding-inline: 18px; }
  .core { padding: 16px 14px 18px; }
  .btn { padding-inline-start: 18px; gap: 10px; }
}

/* ---------- Tablet and desktop: the same phone column, standing on the cream ---------- */
@media (min-width: 600px) {
  body {
    background-color: var(--cream);
    background-image: url("../images/pattern-body.svg");
    background-size: 132px 132px;
    background-position: center top;
  }
  .hero .gift { width: 200px; height: 200px; bottom: -48px; }
  .gift-zone { height: 164px; }
  .page {
    margin: 48px auto;
    min-height: 0;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 40px 90px -40px rgba(45, 17, 43, .35), 0 0 0 1px rgba(93, 34, 90, .08);
  }
}

/* ---------- Reduced motion: fades stay, movement goes, the ribbon is already drawn ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero .in, .hero .gift, html.wait .hero .in, html.wait .hero .gift { transition: opacity 240ms ease; transform: none; }
  .reveal { transform: none; transition: opacity 240ms ease; }
  .reveal[data-in] { transform: none; }
  .coin-land, .step-peak[data-land] .coin-land { transition: opacity 240ms ease; transform: rotate(8deg); }
  .btn, .well { transition: none; }
  .btn:active { transform: none; }
  .ribbon, .ribbon.scroll-driven { animation: none; --p: 1; }
  .ribbon .draw { transition: none; }
  .bead { display: none; }
}

/* ================= Additions carried over from the earlier page (2026-10-10) =================
   Gift-line pattern, glowing ring, gold headline accent, the coin in four places. */
:root {
  --coin: url("../images/coin.webp");
  --gold-flat: linear-gradient(90deg, #D4B573, #C9A24E, #B38C37);
}

/* 1. Gift pattern: tone on tone, very light. Cards stay solid. */
.hero { background-image: url("../images/pattern-hero.svg"); background-size: 132px 132px; background-position: center top; }
.page { background-image: url("../images/pattern-page.svg"); background-size: 132px 132px; background-position: center top; }

/* 2. Glowing ring behind the gift, clipped at the hero's edge */
.gift-zone { height: 150px; }
.ring-clip {
  position: absolute;
  inset: -80px -22px 0 -22px;
  overflow: hidden;
  pointer-events: none;
}
.ring {
  position: absolute;
  inset-inline-end: 8px;
  bottom: -52px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid var(--lilac);
  box-shadow:
    0 0 16px 2px rgba(168, 62, 162, .78),
    0 0 60px 12px rgba(168, 62, 162, .32),
    inset 0 0 26px rgba(168, 62, 162, .44);
}

/* 3. Headline accent in the approved Gold Flat */
.hero h1 .accent {
  color: var(--gold);
  background: var(--gold-flat);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 4. The coin: one image, four places, each at its own angle */
.coin, .coin-land, .coin-x {
  display: block;
  background: var(--coin) center / contain no-repeat;
}
.coin { animation: coin-turn 5s var(--ease-in-out) infinite alternate; }
@keyframes coin-turn {
  from { transform: perspective(520px) rotateY(-30deg) rotate(-14deg); }
  to   { transform: perspective(520px) rotateY(30deg) rotate(-4deg); }
}
.coin-x {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 8px 12px rgba(45, 17, 43, .36));
  z-index: 3;
}
.banner-wrap { position: relative; margin-top: 22px; }
.banner-wrap .banner { margin-top: 0; }
.coin-banner { width: 58px; height: 58px; top: -20px; inset-inline-start: -12px; transform: rotate(-20deg); }
.coin-biz { width: 52px; height: 52px; top: -30px; inset-inline-end: 14px; transform: rotate(26deg); }

@media (prefers-reduced-motion: reduce) {
  .coin { animation: none; }
}

@media (max-width: 340px) {
  .ring-clip { inset-inline: -18px; }
  .ring { width: 180px; height: 180px; bottom: -48px; }
}

@media (min-width: 600px) {
  .gift-zone { height: 176px; }
  .ring { width: 244px; height: 244px; bottom: -58px; inset-inline-end: 6px; }
  .ring-clip { top: -110px; }
}

/* ================= Gift box styles (2026-10-10). The class on .gift picks one: box-b or box-c. Without a class it is the first flat purple box. ================= */

/* --- Style B: ivory box, purple satin ribbon, closed. Sits fully on the dark field. --- */
.gift.box-b, .gift.box-c { bottom: 10px; }
.gift-zone:has(.box-b), .gift-zone:has(.box-c) { height: 186px; }
.gift-zone:has(.box-b) .ring, .gift-zone:has(.box-c) .ring { bottom: -4px; }
.box-b .box-lid {
  background: var(--ivory);
  box-shadow: inset 0 -3px 0 rgba(93, 34, 90, .10), 0 2px 0 rgba(45, 17, 43, .35);
}
.box-b .box-body {
  background: var(--cream);
  box-shadow: inset 0 10px 12px -8px rgba(45, 17, 43, .28), 0 22px 30px -16px rgba(0, 0, 0, .55);
}
.box-b .box-lid::after, .box-b .box-body::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 22px;
  margin-left: -11px;
  background: var(--purple);
  box-shadow: inset 3px 0 0 rgba(250, 246, 239, .10), inset -3px 0 0 rgba(45, 17, 43, .22);
}
.box-b .box-lid::after { width: 24px; margin-left: -12px; border-radius: 6px 6px 0 0; }

/* --- Style C: open ivory box, lid lifted, the coin rising in gold light --- */
.box-c .box-lid, .box-c .box-body, .box-c .string { display: none; }
.box-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.box-c .coin {
  width: 44%;
  height: 44%;
  top: 9%;
  inset-inline-start: auto;
  left: 36%;
  animation: coin-rise 4.6s var(--ease-in-out) infinite alternate;
}
@keyframes coin-rise {
  from { transform: translateY(6px) perspective(520px) rotateY(-28deg) rotate(-8deg); }
  to   { transform: translateY(-8px) perspective(520px) rotateY(28deg) rotate(6deg); }
}
@media (prefers-reduced-motion: reduce) {
  .box-c .coin { animation: none; transform: rotate(-8deg); }
}
@media (min-width: 600px) {
  .gift-zone:has(.box-b), .gift-zone:has(.box-c) { height: 226px; }
}

/* --- Open box, round 2 (2026-10-10): the coin sits half inside the box; the glowing ring is half behind it --- */
.box-c .coin {
  width: 44%;
  height: 44%;
  left: 28%;
  top: 37%;
  animation: coin-peek 4.6s var(--ease-in-out) infinite alternate;
}
@keyframes coin-peek {
  from { transform: translateY(3px) perspective(520px) rotateY(-22deg) rotate(-6deg); }
  to   { transform: translateY(-5px) perspective(520px) rotateY(22deg) rotate(5deg); }
}
.box-front { z-index: 2; }
.gift-zone:has(.box-c) .ring { width: 140px; height: 140px; inset-inline-end: 38px; bottom: 12px; }
@media (max-width: 340px) {
  .gift-zone:has(.box-c) .ring { inset-inline-end: 34px; }
}
@media (min-width: 600px) {
  .gift-zone:has(.box-c) .ring { width: 175px; height: 175px; inset-inline-end: 40px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .box-c .coin { animation: none; transform: rotate(-6deg); }
}

/* ================= Spacing pass (2026-10-10): one rhythm down the page ================= */
/* Hero: the box stands in the middle of the field, not in the corner */
.gift-zone:has(.box-c) { height: 178px; margin-top: 14px; }
.gift.box-c { inset-inline-end: calc(50% - 72px); bottom: 12px; }
.gift-zone:has(.box-c) .ring { inset-inline-end: calc(50% - 62px); bottom: 14px; }

/* Sections: 40px between blocks, 20px between the steps, help tied to the steps */
.steps { margin-top: 44px; gap: 20px; }
.help { margin-top: 28px; }
.family { margin-top: 40px; }
.family p { margin: 8px 0 18px; }
.banner-wrap { margin-top: 24px; }
.business { margin-top: 44px; margin-inline-end: 6px; }
footer { margin-top: 40px; }
.foot-knot { margin-bottom: 20px; }
.legal { margin-top: 24px; }

/* Inside the cards: the same breathing room top and bottom */
.core { padding: 20px 18px 20px; }
.step-peak .core { padding-top: 22px; padding-bottom: 22px; }
.stores { margin-top: 16px; }
.business .core { padding: 22px 18px 22px; }

@media (max-width: 340px) {
  .core { padding: 18px 14px 18px; }
  .gift-zone:has(.box-c) .ring { inset-inline-end: calc(50% - 62px); }
}
@media (min-width: 600px) {
  .gift-zone:has(.box-c) { height: 220px; }
  .gift.box-c { inset-inline-end: calc(50% - 90px); }
  .gift-zone:has(.box-c) .ring { inset-inline-end: calc(50% - 77.5px); bottom: 15px; }
}

/* Header logo on the left side of the page (2026-10-10) */
.hero .logo { margin-left: 0; margin-right: auto; }
