/* ==========================================================================
   Tip Tip Hooray! — site design system

   The logo is a chunky rounded wordmark: bright green letterforms, a heavy navy
   outline, a hard offset shadow, tilted a few degrees left. That is the entire
   design language, so the site borrows it literally — every card, button, and
   badge is an outlined "sticker" with a solid offset shadow, and nothing uses a
   soft blurred drop shadow, because the logo doesn't.

   Two colours do all the work. Navy carries structure and text; green is the
   action colour and appears only where a person is meant to act. Green is never
   used for body text — at its brightness it fails contrast against both white
   and navy at text sizes.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Brand, sampled from the original logo artwork. */
  --navy: #24408E;
  --green: #50D925;

  /* Navy ramp — the site's structural colour. */
  --navy-900: #0D1735;
  --navy-800: #152452;
  --navy-700: #1B3070;
  --navy-600: var(--navy);
  --navy-500: #3A579F;
  --navy-300: #8496C4;
  --navy-100: #DDE3F2;
  --navy-050: #F2F5FC;

  /* Green ramp. `--green-700` is the only green that passes contrast for text. */
  --green-600: #3FBB18;
  --green-700: #2E8A11;
  --green-900: #123006;
  --green-100: #E4FBD9;

  --paper: #FFFFFF;
  --cream: #FBFAF4;
  --ink: var(--navy-900);
  --ink-soft: #4A5573;

  --amber: #FFC24A;

  /* The sticker motif: a heavy outline plus a hard, unblurred offset. */
  --line: 2.5px;
  --stroke: var(--line) solid var(--navy);
  --lift-sm: 0 3px 0 var(--navy);
  --lift: 0 5px 0 var(--navy);
  --lift-lg: 0 9px 0 var(--navy);
  --lift-ink: 0 5px 0 var(--navy-900);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;
  --r-pill: 999px;

  --gap: clamp(1rem, 2.5vw, 1.6rem);
  --band-y: clamp(3.75rem, 9vw, 7.5rem);
  --measure: 62ch;
  --shell: 1180px;

  --font: "Nunito", "Avenir Next Rounded", "Trebuchet MS", system-ui, -apple-system,
    "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   Reset and base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  font-weight: 500;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.028em;
  color: var(--navy);
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 1.4rem + 5.2vw, 5rem); font-weight: 1000; }
h2 { font-size: clamp(1.9rem, 1.1rem + 3.1vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem); letter-spacing: -0.018em; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--green-700); }

strong, b { font-weight: 800; }

/* Emphasis that reads as brand rather than as a link. */
.hl {
  color: var(--navy);
  background: linear-gradient(transparent 58%, rgba(80, 217, 37, 0.42) 58%);
  font-weight: 800;
}

/* Keyboard focus is loud on purpose — this is a site people fill forms on. */
:focus-visible {
  outline: 3px solid var(--green-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -100%;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--paper);
  border: var(--stroke);
  border-radius: var(--r-sm);
  font-weight: 800;
  text-decoration: none;
}
.skip:focus { top: 0.75rem; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.25rem);
}
.shell--narrow { max-width: 760px; }

.band { padding-block: var(--band-y); position: relative; }
.band--cream { background: var(--cream); }
.band--tint { background: var(--navy-050); }
.band--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

/* Dark bands. A faint green bloom keeps a large navy field from going flat. */
.band--navy {
  background: var(--navy-800);
  color: #E8ECF8;
  overflow: hidden;
}
.band--navy::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 90%;
  background: radial-gradient(60% 60% at 50% 0%, rgba(80, 217, 37, 0.19), transparent 70%);
  pointer-events: none;
}
.band--navy :is(h1, h2, h3, h4) { color: #fff; }
.band--navy a { color: #fff; }
.band--navy .lede, .band--navy p { color: #C4CDE6; }

.band--green {
  background: var(--green);
  color: var(--green-900);
}
.band--green :is(h1, h2, h3) { color: var(--navy); }
.band--green p { color: #1E4A0B; }

.stack > * + * { margin-top: var(--gap); }

.grid {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.6rem);
  grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr));
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(23rem, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); }

.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }

.lede {
  font-size: clamp(1.075rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 500;
  max-width: 34rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-700);
}
.band--navy .eyebrow { color: var(--green); }
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: var(--line);
  background: currentColor;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Icons
   -------------------------------------------------------------------------- */

.i {
  width: 1em;
  height: 1em;
  flex: none;
  fill: currentColor;
  vertical-align: -0.115em;
}
.i--lg { width: 1.6rem; height: 1.6rem; }

/* --------------------------------------------------------------------------
   Buttons — the sticker, pressable
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--paper);
  --btn-fg: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border: var(--stroke);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.012em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--lift);
  transition: transform 0.14s var(--ease-out), box-shadow 0.14s var(--ease-out),
    background-color 0.14s var(--ease-out);
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: var(--lift-lg);
}
/* The offset collapses under the press, so the button physically bottoms out. */
.btn:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--navy);
}
.btn--primary { --btn-bg: var(--green); --btn-fg: var(--green-900); }
.btn--primary:hover { background: #5CE82F; }
.btn--dark { --btn-bg: var(--navy); --btn-fg: #fff; box-shadow: var(--lift-ink); }
.btn--dark:hover { box-shadow: 0 9px 0 var(--navy-900); }
.btn--dark:active { box-shadow: 0 1px 0 var(--navy-900); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.1rem; }
.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; box-shadow: var(--lift-sm); }
.btn--sm:hover { box-shadow: var(--lift); }

/* Bare text action with an animated chevron. */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 900;
  color: var(--navy);
  text-decoration: none;
  border-bottom: var(--line) solid transparent;
}
.link-arrow .i { transition: transform 0.18s var(--ease-out); }
.link-arrow:hover { color: var(--green-700); border-bottom-color: currentColor; }
.link-arrow:hover .i { transform: translateX(4px); }
.band--navy .link-arrow { color: var(--green); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Pills and badges
   -------------------------------------------------------------------------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border: 2px solid var(--navy);
  border-radius: var(--r-pill);
  background: var(--paper);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}
.pill--green { background: var(--green-100); border-color: var(--green-700); color: var(--green-900); }
.pill--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.pill .i { color: var(--green-700); }
.pill--ghost .i { color: var(--green); }

.pill-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(1.5) blur(12px);
  border-bottom: 2px solid var(--navy-100);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.masthead[data-scrolled="true"] {
  border-bottom-color: var(--navy);
  box-shadow: 0 4px 22px rgba(13, 23, 53, 0.09);
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 4.6rem;
}

.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand img { width: clamp(126px, 15vw, 168px); height: auto; }

.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a {
  padding: 0.5rem 0.8rem;
  border-radius: var(--r-pill);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-700);
  text-decoration: none;
}
.nav a:hover { background: var(--navy-050); color: var(--navy); }
.nav a[aria-current="page"] {
  color: var(--navy);
  background: var(--green-100);
  box-shadow: inset 0 0 0 2px var(--green-600);
}

.masthead__actions { display: flex; align-items: center; gap: 0.6rem; }

.nav-toggle {
  display: none;
  padding: 0.55rem;
  border: var(--stroke);
  border-radius: var(--r-sm);
  background: var(--paper);
  box-shadow: var(--lift-sm);
  cursor: pointer;
  line-height: 0;
}

@media (max-width: 62rem) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 4.6rem 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 1rem clamp(1.1rem, 4vw, 2.25rem) 1.5rem;
    background: var(--paper);
    border-bottom: var(--stroke);
    box-shadow: 0 14px 30px rgba(13, 23, 53, 0.14);
    transform: translateY(-130%);
    transition: transform 0.28s var(--ease-out);
  }
  .nav[data-open="true"] { transform: translateY(0); }
  .nav a { padding: 0.8rem 0.9rem; font-size: 1.05rem; }
  .masthead__actions .btn--ghost { display: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem);
  background:
    radial-gradient(38rem 28rem at 88% 8%, rgba(80, 217, 37, 0.17), transparent 72%),
    radial-gradient(34rem 30rem at 4% 84%, rgba(36, 64, 142, 0.11), transparent 70%),
    var(--cream);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}
@media (max-width: 60rem) {
  .hero__grid { grid-template-columns: 1fr; }
}

.hero h1 { margin-bottom: 1rem; }
.hero .lede { max-width: 33rem; font-size: clamp(1.1rem, 1rem + 0.6vw, 1.35rem); }
.hero .btn-row { margin-top: 1.9rem; }

.hero__note {
  margin-top: 1.15rem;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.hero__note .i { color: var(--green-700); }

/* --------------------------------------------------------------------------
   Phone mock — the product, drawn rather than screenshotted
   -------------------------------------------------------------------------- */

/* The phone is pinned to the right of its column so the QR card tucked behind it at the
   left stays readable instead of disappearing underneath. */
.showcase {
  position: relative;
  display: grid;
  place-items: center end;
  min-height: 30rem;
  padding-right: 0.75rem;
}
@media (max-width: 60rem) { .showcase { place-items: center; padding-right: 0; } }

/* The QR card the guest actually scans, tucked behind the phone. */
.tent {
  position: absolute;
  left: 0;
  bottom: 0.5rem;
  width: 10.5rem;
  padding: 1rem 1rem 0.85rem;
  background: var(--paper);
  border: var(--stroke);
  border-radius: var(--r-md);
  box-shadow: var(--lift);
  transform: rotate(-8deg);
  text-align: center;
  z-index: 1;
}
.tent__code {
  display: block;
  margin: 0.55rem auto 0;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--navy);
}
.tent__label {
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.tent svg { width: 5.5rem; height: 5.5rem; margin-inline: auto; color: var(--navy); }
@media (max-width: 60rem) { .tent { left: max(0px, 4vw); } }
@media (max-width: 26rem) { .tent { display: none; } }

.phone {
  position: relative;
  z-index: 2;
  width: min(19rem, 82vw);
  padding: 0.7rem;
  background: var(--navy);
  border: var(--line) solid var(--navy-900);
  border-radius: 2.6rem;
  box-shadow: 0 14px 0 var(--navy-900), 0 30px 50px -18px rgba(13, 23, 53, 0.5);
  transform: rotate(2.5deg);
}
.phone::before {
  content: "";
  position: absolute;
  top: 0.95rem; left: 50%;
  transform: translateX(-50%);
  width: 3.6rem; height: 0.32rem;
  background: rgba(255, 255, 255, 0.32);
  border-radius: var(--r-pill);
}

.screen {
  padding: 2rem 1.15rem 1.3rem;
  background: var(--paper);
  border-radius: 2.05rem;
  text-align: center;
}
.screen__venue {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.screen__who {
  margin: 0.75rem 0 0.15rem;
  font-size: 1.3rem;
  font-weight: 1000;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.screen__role { margin: 0; font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); }

.screen__avatar {
  width: 3.4rem; height: 3.4rem;
  margin: 0 auto;
  display: grid;
  place-items: center;
  background: var(--green-100);
  border: var(--stroke);
  border-radius: var(--r-pill);
  color: var(--navy);
}
.screen__avatar .i { width: 1.5rem; height: 1.5rem; }

.amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 1.15rem 0 0.7rem;
}
.amount {
  padding: 0.7rem 0.2rem;
  border: 2px solid var(--navy-100);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-size: 1.02rem;
  font-weight: 900;
  color: var(--navy);
}
.amount[data-picked] {
  background: var(--green);
  border-color: var(--navy);
  color: var(--green-900);
  box-shadow: var(--lift-sm);
}

.screen__cover {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  justify-content: center;
  margin: 0 0 0.85rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.screen__cover .i { color: var(--green-700); }

.screen__pay {
  display: block;
  width: 100%;
  padding: 0.85rem;
  border: var(--stroke);
  border-radius: var(--r-pill);
  background: var(--navy);
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: var(--lift-ink);
}
.screen__fine {
  margin: 0.75rem 0 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--navy-300);
}

/* Floating confirmation chip. */
.ping {
  position: absolute;
  right: 0;
  top: 1.6rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.9rem;
  background: var(--paper);
  border: var(--stroke);
  border-radius: var(--r-pill);
  box-shadow: var(--lift);
  font-size: 0.83rem;
  font-weight: 900;
  color: var(--navy);
  animation: bob 4.5s var(--ease-out) infinite;
}
.ping .i { color: var(--green-700); }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(3deg); }
  50% { transform: translateY(-9px) rotate(3deg); }
}
@media (max-width: 30rem) { .ping { right: 0; top: 1rem; } }

/* --------------------------------------------------------------------------
   Marquee strip
   -------------------------------------------------------------------------- */

.strip {
  border-block: var(--stroke);
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.strip__track {
  display: flex;
  gap: 3rem;
  align-items: center;
  padding-block: 0.9rem;
  width: max-content;
  animation: slide 34s linear infinite;
}
.strip__item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}
.strip__item .i { color: var(--green); }
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.strip:hover .strip__track { animation-play-state: paused; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: clamp(1.35rem, 2.4vw, 1.85rem);
  background: var(--paper);
  border: var(--stroke);
  border-radius: var(--r-lg);
  box-shadow: var(--lift);
}
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

.card__icon {
  width: 3rem; height: 3rem;
  display: grid;
  place-items: center;
  background: var(--green-100);
  border: var(--stroke);
  border-radius: var(--r-md);
  color: var(--navy);
}
.card__icon .i { width: 1.4rem; height: 1.4rem; }

.card--link { text-decoration: none; transition: transform 0.16s var(--ease-out), box-shadow 0.16s var(--ease-out); }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--lift-lg); }

.card--dark {
  background: var(--navy-700);
  border-color: var(--navy-900);
  box-shadow: 0 5px 0 var(--navy-900);
}
.card--dark h3 { color: #fff; }
.card--dark p { color: #BFCAE6; }
.card--dark .card__icon { background: rgba(80, 217, 37, 0.16); border-color: var(--green); color: var(--green); }

.card--accent { background: var(--green-100); border-color: var(--green-700); box-shadow: 0 5px 0 var(--green-700); }
.card--accent .card__icon { background: var(--paper); border-color: var(--green-700); }

/* Two-up path chooser. */
.paths { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); }
.path {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(1.6rem, 3vw, 2.35rem);
  border: var(--stroke);
  border-radius: var(--r-xl);
  background: var(--paper);
  box-shadow: var(--lift-lg);
  text-decoration: none;
  transition: transform 0.18s var(--ease-out);
}
.path:hover { transform: translateY(-5px); }
.path h3 { font-size: clamp(1.45rem, 1.2rem + 1.1vw, 2rem); }
.path p { margin: 0; color: var(--ink-soft); }
.path__foot { margin-top: auto; padding-top: 0.4rem; }
/* A pill is a label, not a block — the flex column would otherwise stretch it. */
.path .pill { align-self: flex-start; }

/* Declared after the base `.path` rules: equal specificity, so order decides. */
.path--green { background: var(--green); }
.path--green p { color: #1B4009; }

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
  counter-reset: step;
}
.step { position: relative; padding-top: 3.75rem; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0; left: 0;
  width: 2.9rem; height: 2.9rem;
  display: grid;
  place-items: center;
  background: var(--green);
  border: var(--stroke);
  border-radius: var(--r-pill);
  box-shadow: var(--lift-sm);
  font-size: 1.25rem;
  font-weight: 1000;
  color: var(--green-900);
}
.step h3 { margin-bottom: 0.35rem; }
.step p { color: var(--ink-soft); margin: 0; }
.band--navy .step p { color: #C4CDE6; }
.band--navy .step::before { box-shadow: 0 3px 0 var(--navy-900); }

/* --------------------------------------------------------------------------
   Split visualiser
   -------------------------------------------------------------------------- */

.splitter {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}
@media (max-width: 58rem) { .splitter { grid-template-columns: 1fr; } }

.seg {
  display: inline-flex;
  padding: 0.3rem;
  gap: 0.25rem;
  background: var(--navy-050);
  border: var(--stroke);
  border-radius: var(--r-pill);
  box-shadow: var(--lift-sm);
}
.seg button {
  padding: 0.6rem 1.25rem;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--navy-700);
  cursor: pointer;
  transition: background-color 0.16s, color 0.16s;
}
.seg button[aria-selected="true"] { background: var(--navy); color: #fff; }

.split-panel {
  padding: clamp(1.35rem, 2.5vw, 2rem);
  background: var(--paper);
  border: var(--stroke);
  border-radius: var(--r-lg);
  box-shadow: var(--lift);
}
.split-panel__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1.1rem;
  border-bottom: 2px dashed var(--navy-100);
}
.split-panel__total { display: block; font-size: 1.7rem; font-weight: 1000; color: var(--navy); letter-spacing: -0.03em; }
.split-panel__label { display: block; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-soft); }

.share { display: grid; gap: 0.8rem; }
.share__row { display: grid; grid-template-columns: 1fr auto; gap: 0.35rem 1rem; align-items: baseline; }
.share__name { font-weight: 800; color: var(--navy); }
.share__role { font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); }
.share__amt { font-variant-numeric: tabular-nums; font-weight: 1000; color: var(--navy); }
.share__bar {
  grid-column: 1 / -1;
  height: 0.6rem;
  background: var(--navy-050);
  border: 2px solid var(--navy);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.share__fill {
  display: block;
  height: 100%;
  background: var(--green);
  border-radius: var(--r-pill);
  transition: width 0.5s var(--ease-out);
}
.split-panel__foot {
  margin-top: 1.2rem;
  padding-top: 0.9rem;
  border-top: 2px dashed var(--navy-100);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-soft);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.split-panel__foot .i { color: var(--green-700); margin-top: 0.28em; }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

.stats {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr));
}
.stat {
  padding: 1.35rem 1.4rem;
  border: var(--line) solid rgba(255, 255, 255, 0.28);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.05);
}
.stat__num {
  display: block;
  font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.1rem);
  font-weight: 1000;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--green);
}
.stat__label { margin: 0.55rem 0 0; font-size: 0.9rem; font-weight: 700; color: #C4CDE6; }

/* --------------------------------------------------------------------------
   Feature list
   -------------------------------------------------------------------------- */

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.ticks li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.75rem;
  align-items: start;
  font-weight: 600;
}
.ticks .i {
  width: 1.5rem; height: 1.5rem;
  padding: 0.2rem;
  background: var(--green);
  border: 2px solid var(--navy);
  border-radius: var(--r-pill);
  color: var(--navy);
  margin-top: 0.08em;
}
.ticks strong { display: block; font-weight: 900; color: var(--navy); }
.band--navy .ticks strong { color: #fff; }
.ticks span { color: var(--ink-soft); font-size: 0.95rem; }
.band--navy .ticks span { color: #C4CDE6; }

/* --------------------------------------------------------------------------
   Split feature rows
   -------------------------------------------------------------------------- */

.duo {
  display: grid;
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(21rem, 100%), 1fr));
}
.duo--flip > :first-child { order: 2; }
@media (max-width: 52rem) { .duo--flip > :first-child { order: 0; } }

/* Receipt-style panel used as illustration. */
.slip {
  padding: 1.5rem 1.5rem 1.2rem;
  background: var(--paper);
  border: var(--stroke);
  border-radius: var(--r-lg);
  box-shadow: var(--lift-lg);
  max-width: 26rem;
}
.slip__title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.slip__title .i { color: var(--green-700); }
.slip dl { display: grid; grid-template-columns: 1fr auto; gap: 0.6rem 1rem; margin: 0; }
.slip dt { font-weight: 600; color: var(--ink-soft); font-size: 0.94rem; }
.slip dd { margin: 0; font-weight: 900; color: var(--navy); font-variant-numeric: tabular-nums; }
.slip__rule { grid-column: 1 / -1; height: 0; border-top: 2px dashed var(--navy-100); margin: 0.15rem 0; }
.slip dd.is-total, .slip dt.is-total { font-size: 1.1rem; }
.slip dd.is-good { color: var(--green-700); }
.slip__note { margin: 1.1rem 0 0; font-size: 0.8rem; font-weight: 700; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.tiers { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); align-items: start; }
.tier {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  background: var(--paper);
  border: var(--stroke);
  border-radius: var(--r-xl);
  box-shadow: var(--lift);
}
.tier--featured {
  background: var(--navy-700);
  border-color: var(--navy-900);
  box-shadow: 0 9px 0 var(--navy-900);
  position: relative;
}
.tier--featured :is(h3, .tier__price) { color: #fff; }
.tier--featured .tier__unit, .tier--featured p { color: #BFCAE6; }
.tier--featured .ticks span { color: #BFCAE6; }
.tier--featured .ticks strong { color: #fff; }
.tier__flag {
  position: absolute;
  top: -0.85rem; right: 1.4rem;
  padding: 0.3rem 0.8rem;
  background: var(--amber);
  border: 2px solid var(--navy-900);
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-900);
}
/* Block, so a long unit line sits under the figure instead of trailing off it. */
.tier__price { display: block; font-size: clamp(2.2rem, 1.7rem + 1.8vw, 2.9rem); font-weight: 1000; letter-spacing: -0.04em; color: var(--navy); line-height: 1; }
.tier__unit { display: block; margin-top: 0.4rem; font-size: 0.88rem; font-weight: 700; color: var(--ink-soft); }
.tier .ticks { margin-top: 0.25rem; }
.tier .btn { margin-top: auto; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq { display: grid; gap: 0.8rem; max-width: 52rem; margin-inline: auto; }
.faq details {
  border: var(--stroke);
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: var(--lift-sm);
  overflow: hidden;
}
.faq summary {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.05rem 1.25rem;
  font-size: 1.03rem;
  font-weight: 900;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { margin-left: auto; color: var(--green-700); transition: transform 0.2s var(--ease-out); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details[open] summary { border-bottom: 2px dashed var(--navy-100); }
.faq__body { padding: 1.05rem 1.25rem 1.25rem; }
.faq__body p { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Prose (privacy / terms)
   -------------------------------------------------------------------------- */

.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.6rem; font-size: clamp(1.35rem, 1.15rem + 1vw, 1.8rem); }
.prose h3 { margin-top: 1.8rem; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.35rem; margin: 0 0 1.1em; max-width: var(--measure); }
.prose li { margin-bottom: 0.5rem; }
.prose li::marker { color: var(--green-700); font-weight: 900; }
.prose__meta {
  display: inline-block;
  margin-bottom: 2rem;
  padding: 0.45rem 0.95rem;
  background: var(--navy-050);
  border: 2px solid var(--navy-100);
  border-radius: var(--r-pill);
  font-size: 0.83rem;
  font-weight: 800;
  color: var(--ink-soft);
}

/* Callout inside prose. */
.note {
  margin: 1.6rem 0;
  padding: 1.15rem 1.35rem;
  background: var(--green-100);
  border: 2px solid var(--green-700);
  border-left-width: 6px;
  border-radius: var(--r-md);
}
.note p { color: var(--green-900); font-weight: 600; }
.note strong { color: var(--green-900); }

/* --------------------------------------------------------------------------
   Big closing CTA
   -------------------------------------------------------------------------- */

.finale { text-align: center; }
.finale h2 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.6rem); }
.finale p { margin-inline: auto; max-width: 34rem; }
.finale .btn-row { justify-content: center; margin-top: 1.9rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  padding-block: clamp(2.75rem, 6vw, 4.5rem) 2rem;
  background: var(--navy-900);
  color: #A9B5D6;
  border-top: var(--line) solid var(--navy);
}
.footer__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(9rem, 1fr));
  padding-bottom: 2.25rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.12);
}
.footer img { width: 160px; height: auto; margin-bottom: 1rem; }
.footer p { font-size: 0.92rem; color: #A9B5D6; max-width: 24rem; }
.footer h4 {
  margin-bottom: 0.9rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer a { color: #A9B5D6; font-size: 0.94rem; font-weight: 600; text-decoration: none; }
.footer a:hover { color: var(--green); text-decoration: underline; }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.84rem;
  font-weight: 600;
}
.footer__social { display: flex; gap: 0.6rem; }
.footer__social a {
  width: 2.4rem; height: 2.4rem;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-pill);
}
.footer__social a:hover { border-color: var(--green); background: rgba(80, 217, 37, 0.14); }

/* --------------------------------------------------------------------------
   Sign-in dialog
   -------------------------------------------------------------------------- */

dialog.sheet {
  width: min(26rem, calc(100vw - 2rem));
  padding: 0;
  border: var(--stroke);
  border-radius: var(--r-xl);
  box-shadow: 0 9px 0 var(--navy), 0 40px 70px -20px rgba(13, 23, 53, 0.5);
  background: var(--paper);
  color: var(--ink);
}
dialog.sheet::backdrop { background: rgba(13, 23, 53, 0.55); backdrop-filter: blur(3px); }
.sheet__inner { padding: clamp(1.5rem, 4vw, 2.1rem); }
.sheet__close {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center;
  border: 2px solid var(--navy-100);
  border-radius: var(--r-pill);
  background: var(--paper);
  cursor: pointer;
  color: var(--navy);
}
.sheet__close:hover { border-color: var(--navy); }
.sheet h2 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.sheet p { font-size: 0.94rem; color: var(--ink-soft); }

.field { display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.field label { font-size: 0.78rem; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-soft); }
.field input {
  padding: 0.8rem 1rem;
  border: var(--stroke);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-size: 1rem;
  font-weight: 600;
}
.field input:focus { outline: 3px solid var(--green-600); outline-offset: 1px; }
.field input[inputmode="numeric"] {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.32em;
  text-align: center;
  font-size: 1.35rem;
}

.form-msg {
  margin: 0 0 0.9rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  font-weight: 700;
}
.form-msg[data-kind="error"] { background: #FFEAEA; border: 2px solid #C2384A; color: #8A1F2E; }
.form-msg[data-kind="ok"] { background: var(--green-100); border: 2px solid var(--green-700); color: var(--green-900); }
.form-msg[hidden] { display: none; }

.sheet__alt {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 2px dashed var(--navy-100);
  font-size: 0.86rem;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .strip__track { animation: none; }
}

/* --------------------------------------------------------------------------
   Print — mostly for the legal pages
   -------------------------------------------------------------------------- */

@media print {
  .masthead, .footer, .strip, dialog.sheet, .btn { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .band { padding-block: 0; background: none !important; }
  a { text-decoration: underline; }
}
