/* Taybal landing page: black and white, one column of story, real product moments. */

:root {
  --ink: #141414;
  --ink-2: #2a2a2a;
  --paper: #f4f4f2;
  --white: #ffffff;
  --grey: #5e5e5e;
  --grey-2: #8a8a85;
  --line: #dcdcd8;
  --soft: #e9e9e6;
  --receipt: #fbfaf6;

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --body: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --wrap: 1180px;
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); letter-spacing: -0.02em; text-wrap: balance; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--grey);
  margin-bottom: 18px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }

.h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.02; font-weight: 700; }
.muted { color: var(--grey); margin-top: 18px; max-width: 42ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #000; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--paper); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 244, 242, .86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 1px 0 var(--line); }
.nav__inner {
  max-width: var(--wrap); margin: 0 auto; height: 72px;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
  display: flex; align-items: center; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; }
.brand__mark { width: 30px; height: 30px; fill: currentColor; transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(45deg); }
.nav .brand__mark { animation: spin 18s linear infinite; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--grey); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { min-height: 44px; font-size: 15px; padding: 0 20px; }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav.open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav.open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { padding: 56px 0 96px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.hero__title { font-size: clamp(48px, 7.4vw, 104px); line-height: .94; font-weight: 800; letter-spacing: -0.04em; }
.hero__swap { display: inline-block; color: var(--grey-2); transition: opacity .35s, transform .35s var(--ease); }
.hero__swap.out { opacity: 0; transform: translateY(14px); }
.hero__lede { margin-top: 28px; font-size: 19px; color: var(--ink-2); max-width: 46ch; }
.hero__fine { margin-top: 12px; font-size: 14px; color: var(--grey); }

/* Signup */
.signup { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; }
.signup input {
  flex: 1 1 240px; min-width: 0; min-height: 52px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--white);
  font: 400 16px var(--body); color: var(--ink); transition: border-color .2s;
}
.signup input:focus { outline: none; border-color: var(--ink); }
.signup input[aria-invalid="true"] { border-color: #b3261e; }
.signup__msg { flex-basis: 100%; min-height: 1.4em; font-size: 14px; color: var(--grey); padding-left: 6px; }
.signup__msg.ok { color: var(--ink); font-weight: 600; }
.signup__msg.err { color: #b3261e; }
.signup.done input, .signup.done button { display: none; }

/* Receipt */
.hero__visual { position: relative; display: flex; justify-content: center; padding: 20px 0 64px; }
.receipt {
  width: min(360px, 100%); background: var(--receipt); color: #1b1b1b;
  font-family: var(--mono); font-size: 14px; padding: 30px 28px 34px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .28), 0 2px 0 rgba(0,0,0,.04);
  transform: rotate(-2.5deg); position: relative;
  transition: transform .8s var(--ease);
}
.hero__visual:hover .receipt { transform: rotate(0deg) translateY(-4px); }
.receipt__place { font-weight: 600; font-size: 17px; text-align: center; }
.receipt__meta { text-align: center; color: #6b6b6b; font-size: 13px; margin-top: 2px; }
.receipt__rule { border-top: 1.5px dashed #b5b5b0; margin: 16px 0; }
.receipt__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; min-height: 132px; }
.receipt__items li { display: flex; justify-content: space-between; gap: 12px; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease); }
.receipt__items li.in { opacity: 1; transform: none; }
.receipt__total { display: flex; justify-content: space-between; font-weight: 600; font-size: 17px; }
.receipt__thanks { margin-top: 14px; text-align: center; font-size: 12px; color: #7a7a7a; }
.receipt__edge {
  position: absolute; left: 0; right: 0; bottom: -10px; height: 12px;
  background: linear-gradient(-45deg, transparent 6px, var(--receipt) 0) 0 0 / 12px 12px repeat-x,
              linear-gradient(45deg, transparent 6px, var(--receipt) 0) 0 0 / 12px 12px repeat-x;
}
.stamp {
  position: absolute; right: max(0px, calc(50% - 250px)); bottom: 0;
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  display: grid; place-content: center; text-align: center;
  transform: rotate(-12deg) scale(0); opacity: 0;
  transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), opacity .2s;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.4);
}
.stamp.in { transform: rotate(-12deg) scale(1); opacity: 1; }
.stamp__plus { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -0.03em; }
.stamp__label { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }

/* Statement */
.statement { background: var(--ink); color: var(--white); padding: clamp(80px, 12vw, 160px) 0; }
.statement__text { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4.4vw, 60px); line-height: 1.12; letter-spacing: -0.025em; max-width: 22ch; }
.statement__text .w { color: #4a4a4a; transition: color .4s; }
.statement__text .w.lit { color: var(--white); }

/* How it works */
.how { padding: clamp(90px, 11vw, 150px) 0 40px; }
.how__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.how__steps .h2 { margin-bottom: 40px; max-width: 14ch; }
.step { padding: 36px 0 36px; border-top: 1.5px solid var(--line); min-height: 46vh; opacity: .35; transition: opacity .4s; }
.step.active { opacity: 1; }
.step__n { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--grey); }
.step h3 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; margin: 10px 0 14px; font-weight: 700; }
.step p { color: var(--ink-2); max-width: 38ch; }

.how__phone { position: sticky; top: 110px; height: fit-content; display: flex; flex-direction: column; align-items: center; gap: 22px; padding-top: 120px; }
.how__dots { display: flex; gap: 8px; }
.how__dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .3s, width .3s var(--ease); }
.how__dots span.on { background: var(--ink); width: 26px; border-radius: 6px; }

/* Phone */
.phone {
  width: 300px; height: 610px; border-radius: 48px; background: var(--ink);
  padding: 12px; position: relative;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.45);
}
.phone__notch { position: absolute; top: 22px; left: 50%; width: 96px; height: 26px; border-radius: 20px; background: #000; transform: translateX(-50%); z-index: 3; }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 37px; background: var(--paper); overflow: hidden; font-size: 13px; }
.scr { position: absolute; inset: 0; padding: 62px 16px 16px; opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .45s, transform .55s var(--ease); pointer-events: none; }
.phone[data-state="1"] .scr--1,
.phone[data-state="2"] .scr--2,
.phone[data-state="3"] .scr--3,
.phone[data-state="4"] .scr--4 { opacity: 1; transform: none; }

.app-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.app-top b { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; }
.pill { background: var(--soft); border-radius: 99px; padding: 4px 10px; font-weight: 600; font-size: 11px; }
.chips { display: flex; gap: 6px; margin-bottom: 12px; }
.chip { border-radius: 99px; padding: 6px 11px; background: var(--white); font-weight: 500; font-size: 11px; }
.chip.on { background: var(--ink); color: var(--white); }
.places, .receipts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.places li { display: flex; align-items: center; gap: 10px; background: var(--white); border-radius: 14px; padding: 10px; }
.places li > span:nth-child(2) { flex: 1; min-width: 0; display: grid; }
.places b { font-size: 13px; }
.places small { color: var(--grey); font-size: 11px; }
.av { width: 40px; height: 40px; border-radius: 10px; background: var(--soft); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 18px; flex: none; }
.x2 { background: var(--ink); color: var(--white); border-radius: 99px; font-size: 10px; font-weight: 700; padding: 3px 7px; }

.cam { position: relative; height: 420px; border-radius: 20px; background: #2b2b2b; display: grid; place-items: center; overflow: hidden; margin-top: -8px; }
.cam__bill { width: 160px; background: var(--receipt); color: #222; font-family: var(--mono); font-size: 10px; padding: 14px 12px; display: grid; gap: 4px; transform: rotate(-3deg); box-shadow: 0 10px 20px rgba(0,0,0,.4); }
.cam__bill b { text-align: center; margin-bottom: 4px; }
.cam__bill span { display: flex; justify-content: space-between; }
.cam__bill i { font-style: normal; }
.cam__bill .tot { border-top: 1px dashed #aaa; padding-top: 5px; margin-top: 3px; font-weight: 600; }
.cam__scan { position: absolute; left: 14%; right: 14%; height: 2px; background: var(--white); box-shadow: 0 0 14px 3px rgba(255,255,255,.7); top: 22%; animation: scan 2.2s ease-in-out infinite alternate; }
@keyframes scan { to { top: 76%; } }
.cam__corner { position: absolute; width: 26px; height: 26px; border: 3px solid var(--white); }
.c1 { top: 16%; left: 12%; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.c2 { top: 16%; right: 12%; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.c3 { bottom: 16%; left: 12%; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.c4 { bottom: 16%; right: 12%; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.cam__label { text-align: center; margin-top: 14px; font-weight: 600; }

.balance { background: var(--ink); color: var(--white); border-radius: 18px; padding: 16px; display: grid; gap: 2px; }
.balance small { color: #bdbdbd; font-size: 11px; }
.balance b { font-family: var(--display); font-size: 48px; line-height: 1.1; letter-spacing: -0.03em; }
.toast { margin: 12px 0; background: var(--white); border-radius: 12px; padding: 10px 12px; font-weight: 600; font-size: 12px; display: flex; gap: 8px; align-items: center; transform: translateY(10px); opacity: 0; transition: .4s var(--ease) .5s; }
.toast span { width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-size: 11px; }
.phone[data-state="3"] .toast { transform: none; opacity: 1; }
.app-sec { font-weight: 600; margin: 4px 0 8px; }
.receipts li { display: flex; justify-content: space-between; background: var(--white); border-radius: 12px; padding: 11px 12px; }
.receipts span { font-weight: 600; }

.tix { display: flex; background: var(--white); border-radius: 14px; overflow: hidden; margin-bottom: 8px; }
.tix__stub { width: 74px; flex: none; background: var(--soft); display: grid; place-content: center; text-align: center; font-size: 9px; font-weight: 700; letter-spacing: .12em; border-right: 2px dashed var(--line); }
.tix__stub b { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; }
.tix > span:last-child { padding: 10px 12px; display: grid; gap: 1px; }
.tix small { color: var(--grey); font-size: 11px; }
.tix em { font-style: normal; font-weight: 700; font-size: 11px; background: var(--soft); border-radius: 99px; padding: 3px 9px; width: fit-content; margin-top: 4px; }

/* Calculator */
.calc { padding: clamp(90px, 11vw, 150px) 0; }
.calc__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.calc__card { background: var(--white); border-radius: 28px; padding: clamp(24px, 4vw, 44px); }
.calc__label { display: block; font-size: 18px; font-weight: 500; }
.calc__label output { font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; margin: 24px 0 8px; background: linear-gradient(var(--ink), var(--ink)) 0 / var(--fill, 22%) 100% no-repeat, var(--soft); cursor: pointer; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--white); border: 3px solid var(--ink); box-shadow: 0 4px 10px rgba(0,0,0,.2); transition: transform .15s; }
.range::-webkit-slider-thumb:active { transform: scale(1.15); }
.range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 3px solid var(--ink); }
.range__ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--grey); }

.toggle { display: flex; align-items: center; gap: 12px; margin-top: 22px; cursor: pointer; font-size: 15px; }
.toggle input { position: absolute; opacity: 0; }
.toggle__ui { width: 48px; height: 28px; border-radius: 99px; background: var(--line); position: relative; flex: none; transition: background .25s; }
.toggle__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); transition: transform .3s var(--ease); box-shadow: 0 2px 4px rgba(0,0,0,.2); }
.toggle input:checked + .toggle__ui { background: var(--ink); }
.toggle input:checked + .toggle__ui::after { transform: translateX(20px); }
.toggle input:focus-visible + .toggle__ui { outline: 3px solid var(--ink); outline-offset: 3px; }

.calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 24px; }
.calc__out > div { background: var(--paper); border-radius: 18px; padding: 18px 20px; display: grid; }
.calc__big { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5vw, 54px); line-height: 1; letter-spacing: -0.035em; }
.calc__out small { color: var(--grey); font-size: 14px; margin-top: 6px; }
.calc__sub { font-weight: 600; margin-bottom: 12px; }
.calc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.calc__list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--soft); }
.calc__list li span:first-child { min-width: 0; }
.calc__list b { font-family: var(--display); font-size: 24px; letter-spacing: -0.02em; white-space: nowrap; }
.calc__note { margin-top: 16px; font-size: 13px; color: var(--grey); }

/* Market */
.market { padding: 40px 0 clamp(90px, 11vw, 150px); }
.market__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: 36px; }
.market__head .h2 { max-width: 15ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { border: 1.5px solid var(--line); background: transparent; border-radius: 99px; padding: 10px 18px; font: 500 15px var(--body); cursor: pointer; min-height: 44px; transition: background .2s, color .2s, border-color .2s; }
.filter:hover { border-color: var(--ink); }
.filter.on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.offer { display: flex; background: var(--white); border-radius: 20px; overflow: hidden; min-height: 128px; transition: transform .35s var(--ease), box-shadow .35s; animation: rise .45s var(--ease) both; }
.offer:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -18px rgba(0,0,0,.35); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.offer__stub { width: 108px; flex: none; background: var(--ink); color: var(--white); display: grid; place-content: center; text-align: center; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; position: relative; }
.offer__stub b { font-family: var(--display); font-size: 32px; letter-spacing: -0.03em; line-height: 1.05; }
.offer__stub::before, .offer__stub::after { content: ""; position: absolute; right: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); }
.offer__stub::before { top: -9px; } .offer__stub::after { bottom: -9px; }
.offer__body { padding: 18px 20px; display: grid; gap: 2px; align-content: center; min-width: 0; }
.offer__brand { font-size: 13px; color: var(--grey); }
.offer__title { font-weight: 600; font-size: 16px; line-height: 1.3; }
.offer__cost { margin-top: 8px; font-family: var(--mono); font-size: 13px; font-weight: 600; background: var(--paper); border-radius: 99px; padding: 4px 12px; width: fit-content; }
.market__note { margin-top: 20px; font-size: 13px; color: var(--grey); }

/* Fair */
.fair { background: var(--white); padding: clamp(80px, 10vw, 130px) 0; }
.fair__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; }
.fair__list { list-style: none; margin: 0; padding: 0; }
.fair__list li { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-top: 1.5px solid var(--soft); }
.fair__list li:last-child { border-bottom: 1.5px solid var(--soft); }
.fair__list b { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; }
.fair__list span { color: var(--ink-2); }

/* FAQ */
.faq { padding: clamp(90px, 11vw, 150px) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 64px; }
.faq__list details { border-top: 1.5px solid var(--line); }
.faq__list details:last-child { border-bottom: 1.5px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.015em; position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -10px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); transition: transform .3s var(--ease), margin .3s; }
.faq__list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__list details p { padding: 0 48px 26px 0; color: var(--ink-2); max-width: 60ch; }

/* CTA */
.cta { background: var(--ink); color: var(--white); padding: clamp(90px, 12vw, 160px) 0 clamp(48px, 6vw, 72px); text-align: center; overflow: hidden; }
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__mark { width: 84px; height: 84px; fill: var(--white); margin-bottom: 28px; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta__title { font-size: clamp(44px, 7vw, 96px); line-height: .95; font-weight: 800; letter-spacing: -0.04em; }
.cta__lede { margin-top: 20px; color: #bdbdbd; font-size: 19px; max-width: 40ch; }
.signup--light { justify-content: center; margin-left: auto; margin-right: auto; row-gap: 22px; }
.signup--light .signup__msg:empty { display: none; }
.signup--light input { background: #222; border-color: #3a3a3a; color: var(--white); }
.signup--light input::placeholder { color: #8a8a8a; }
.signup--light input:focus { border-color: var(--white); }
.signup--light .signup__msg { color: #bdbdbd; text-align: center; padding: 0; }
.signup--light .signup__msg.ok { color: var(--white); }
.signup--light .signup__msg.err { color: #ff8a80; }
.cta :focus-visible { outline-color: var(--white); }

/* Footer */
.foot { background: var(--ink); color: #bdbdbd; border-top: 1px solid #2a2a2a; padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); }
.foot__inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot .brand { color: var(--white); font-size: 22px; }
.foot .brand__mark { width: 24px; height: 24px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; }
.foot__links a { text-decoration: none; font-size: 14px; }
.foot__links a:hover { color: var(--white); }
.foot__copy { font-size: 14px; flex-basis: 100%; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__grid, .calc__grid, .fair__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .how__grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; }
}
@media (max-width: 860px) {
  .nav__links { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); padding: 8px 20px 20px; box-shadow: 0 20px 30px -20px rgba(0,0,0,.25); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .3s var(--ease); }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; color: var(--ink); }
  .nav.open .nav__links { transform: none; opacity: 1; pointer-events: auto; }
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
}
@media (max-width: 760px) {
  .hero { padding-top: 28px; }
  .how__grid { grid-template-columns: minmax(0, 1fr); }
  .how__phone { position: relative; top: 0; padding-top: 0; }
  .step { min-height: 0; opacity: 1; padding: 26px 0; }
  .offers { grid-template-columns: minmax(0, 1fr); }
  .fair__list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .stamp { width: 104px; height: 104px; right: 0; bottom: 4px; }
  .stamp__plus { font-size: 36px; }
}
@media (max-width: 420px) {
  .calc__out { grid-template-columns: minmax(0, 1fr); }
  .signup .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* Coming-soon label */
.soon { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; padding: 4px 9px; border-radius: 999px; background: var(--ink); color: var(--white); }
.hero__fine a { color: inherit; }

/* Privacy and Terms pages */
.legal-top { padding: 22px 0; border-bottom: 1px solid var(--line); }
.legal { max-width: 68ch; padding-block: clamp(48px, 8vw, 96px); }
.legal h1 { font-family: var(--display); font-size: clamp(36px, 5vw, 56px); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.legal .updated { margin-top: 12px; font-family: var(--mono); font-size: 13px; color: var(--grey); }
.legal h2 { font-family: var(--display); font-size: 24px; letter-spacing: -0.02em; margin-top: 40px; }
.legal p, .legal li { margin-top: 12px; line-height: 1.7; color: var(--ink-2); }
.legal ul { padding-left: 20px; }
.legal a { color: var(--ink); }
