/* ── Tokens ─────────────────────────────────────────── */
:root {
  /* Brand — taken from the TeeUp logo */
  --brand:      #473BF0;
  --brand-dk:   #3A2FD4;
  --brand-soft: #ECEBFE;

  --cream:      #FAF8F4;
  --cream-deep: #F3F0EA;
  --white:      #FFFFFF;
  --black:      #16151F;

  --ink:        #1C1B2E;
  --ink-soft:   #5C5A70;
  --ink-faint:  #8F8DA3;
  --line:       #E6E1D8;

  /* Soft accents — muted, flat, no gradients anywhere */
  --sage:       #5E8B70;
  --sage-soft:  #E3EFE7;
  --clay:       #B96F55;
  --clay-soft:  #F6E7E0;

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(28, 27, 46, .04);
  --shadow-md: 0 8px 24px -8px rgba(28, 27, 46, .10);
  --shadow-lg: 0 18px 44px -14px rgba(28, 27, 46, .12);

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --wrap: 1240px;
}

/* ── Reset ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 999;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: var(--r-pill);
}
.skip-link:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 780px; }

/* ── Type ───────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.28rem; letter-spacing: -.02em; }

.eyebrow {
  display: inline-block;
  font-size: .76rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 7px 15px; border-radius: var(--r-pill);
  margin-bottom: 20px;
}

.head { max-width: 660px; margin-bottom: 56px; }
.head__sub { margin-top: 20px; font-size: 1.08rem; color: var(--ink-soft); max-width: 580px; }

/* ── Logo ───────────────────────────────────────────── */
.logo { display: inline-flex; align-items: center; color: var(--brand); }
.logo__svg { height: 26px; width: auto; }

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-weight: 700; font-size: .93rem;
  white-space: nowrap;
  border: 2px solid transparent;
  transition: background .18s, color .18s, border-color .18s, opacity .18s;
}
.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }
.btn__icon { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dk); }

.btn--dark { background: var(--black); color: #fff; }
.btn--dark:hover { background: #2C2A3D; }

.btn--outline { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn--outline:hover { border-color: var(--ink); }

.btn--ghost { color: var(--ink); }
.btn--ghost:hover { background: var(--cream-deep); }

/* Bare icon link (GitHub mark in nav / footer) */
.icon-link {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: var(--r-pill);
  color: var(--ink-soft);
  transition: color .18s, background .18s;
}
.icon-link svg { width: 20px; height: 20px; }
.icon-link:hover { color: var(--ink); background: var(--cream-deep); }

/* ── Nav ────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 72px; }

.nav__links { display: flex; gap: 4px; margin-right: auto; }
.nav__links a {
  padding: 8px 14px; border-radius: var(--r-pill);
  font-size: .93rem; font-weight: 600; color: var(--ink-soft);
  transition: color .18s, background .18s;
}
.nav__links a:hover { color: var(--ink); background: var(--cream-deep); }
.nav__actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

/* Sign in sits in .nav__actions on desktop, but that's hidden on mobile, so
   the menu carries its own copy. Needs `.nav__links .nav__signin` to outrank
   `.nav__links a` on colour. */
.nav__signin { display: none; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────── */
.hero { padding: 80px 0 96px; }
.hero__inner { text-align: center; }
.hero__title { font-size: clamp(2.5rem, 6.2vw, 4.4rem); margin-bottom: 24px; }
.hl { color: var(--brand); }
.hero__sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 620px; margin: 0 auto 32px;
}
.hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero__note { margin-top: 18px; font-size: .86rem; color: var(--ink-faint); font-weight: 500; }

/* ── Dashboard mock ─────────────────────────────────── */
.mock {
  margin: 64px auto 0; max-width: 1000px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: left;
}
.mock__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 18px; background: var(--cream-deep); border-bottom: 1px solid var(--line);
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: #D8D2C6; }
.mock__url {
  margin-left: 14px; padding: 4px 16px;
  background: var(--white); border-radius: var(--r-pill);
  font-size: .74rem; color: var(--ink-faint); font-weight: 600;
}
.mock__body { display: flex; min-height: 320px; }

.mock__side {
  width: 176px; flex-shrink: 0; padding: 20px 16px;
  background: var(--cream); border-right: 1px solid var(--line);
}
.mock__brand { width: 74px; height: 11px; border-radius: 4px; background: var(--brand); margin-bottom: 22px; }
.mock__nav { display: block; height: 9px; border-radius: 4px; background: #E4DED2; margin-bottom: 15px; }
.mock__nav:nth-child(2) { width: 100%; }
.mock__nav:nth-child(3) { width: 78%; }
.mock__nav:nth-child(4) { width: 88%; }
.mock__nav:nth-child(5) { width: 66%; }
.mock__nav:nth-child(6) { width: 82%; }
.mock__nav.is-active { background: var(--brand); opacity: .3; }

.mock__main { flex: 1; padding: 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat {
  padding: 14px; border: 1px solid var(--line); border-radius: var(--r-md);
  display: flex; flex-direction: column; gap: 2px;
}
.stat__label { font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-faint); }
.stat__value { font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.stat__trend { font-size: .7rem; font-weight: 600; color: var(--sage); }

.mock__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; flex: 1; }
.mock__card { padding: 14px; border: 1px solid var(--line); border-radius: var(--r-md); display: flex; flex-direction: column; }
.mock__cardhead { width: 84px; height: 8px; border-radius: 4px; background: #E4DED2; margin-bottom: 16px; }

.bars { display: flex; align-items: flex-end; gap: 8px; flex: 1; min-height: 96px; }
.bars i { flex: 1; height: var(--h); background: var(--brand); opacity: .28; border-radius: 4px 4px 2px 2px; }
.bars i:nth-child(6) { background: var(--clay); opacity: .5; }

.rows { display: flex; flex-direction: column; gap: 12px; }
.rows li { display: flex; align-items: center; gap: 9px; }
.av { width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft); flex-shrink: 0; }
.rows li:nth-child(2) .av { background: var(--clay-soft); }
.rows li:nth-child(3) .av { background: var(--sage-soft); }
.ln { flex: 1; height: 8px; border-radius: 4px; background: #EEE9DE; }
.pill { font-size: .6rem; font-weight: 700; padding: 3px 9px; border-radius: var(--r-pill); flex-shrink: 0; }
.pill--ok { background: var(--sage-soft); color: var(--sage); }
.pill--wait { background: var(--clay-soft); color: var(--clay); }

/* ── Trust strip ────────────────────────────────────── */
.strip { padding: 44px 0; border-block: 1px solid var(--line); background: var(--cream-deep); }
.strip__label { text-align: center; font-size: .82rem; font-weight: 600; color: var(--ink-faint); margin-bottom: 24px; }
.strip__logos {
  display: flex; justify-content: center; align-items: center;
  gap: clamp(24px, 5vw, 56px); flex-wrap: wrap;
}
.strip__logos span {
  font-size: 1.02rem; font-weight: 800; letter-spacing: -.02em;
  color: var(--ink); opacity: .3;
  transition: opacity .2s;
}
.strip__logos span:hover { opacity: .55; }

/* ── Sections ───────────────────────────────────────── */
.section { padding: 96px 0; }
.section--alt { background: var(--cream-deep); border-block: 1px solid var(--line); }

/* ── Pillars ────────────────────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px 28px;
  transition: border-color .2s, box-shadow .2s;
}
.pillar:hover { border-color: #D7D1C5; box-shadow: var(--shadow-md); }
.pillar__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: var(--r-md);
  margin-bottom: 20px;
}
.pillar__icon svg { width: 23px; height: 23px; }
.pillar--brand .pillar__icon { background: var(--brand-soft); color: var(--brand); }
.pillar--clay  .pillar__icon { background: var(--clay-soft);  color: var(--clay); }
.pillar--sage  .pillar__icon { background: var(--sage-soft);  color: var(--sage); }
.pillar h3 { margin-bottom: 11px; }
.pillar > p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 20px; }

.ticks { display: flex; flex-direction: column; gap: 10px; }
.ticks li {
  position: relative; padding-left: 25px;
  font-size: .91rem; color: var(--ink-soft); line-height: 1.5;
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .36em;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23473BF0' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat;
}
.ticks strong { color: var(--ink); font-weight: 700; }

/* ── Feature grid ───────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  transition: border-color .2s, box-shadow .2s;
}
.card:hover { border-color: #D7D1C5; box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.card p { color: var(--ink-soft); font-size: .94rem; }

/* ── Pricing ────────────────────────────────────────── */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
.tier {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 24px;
  transition: border-color .2s, box-shadow .2s;
}
.tier:hover { border-color: #D7D1C5; box-shadow: var(--shadow-md); }
.tier--featured { border: 2px solid var(--brand); }
.tier--featured:hover { border-color: var(--brand); box-shadow: var(--shadow-md); }

.tier__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff;
  font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  padding: 5px 14px; border-radius: var(--r-pill);
  white-space: nowrap;
}
.tier__name { font-size: 1.2rem; margin-bottom: 6px; }
.tier__desc { color: var(--ink-soft); font-size: .87rem; min-height: 2.6em; }
.tier__price {
  display: flex; align-items: baseline; gap: 2px;
  font-size: 2.7rem; font-weight: 800; letter-spacing: -.045em; line-height: 1;
  margin: 16px 0 20px;
}
.tier__cur { font-size: 1.35rem; font-weight: 700; align-self: flex-start; margin-top: .3em; }
.tier__per { font-size: .82rem; font-weight: 600; color: var(--ink-faint); letter-spacing: 0; margin-left: 5px; }

.tier__gate {
  margin: 22px 0 13px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-faint);
}
.tier__body .tier__gate:first-child { margin-top: 0; }

/* ── Comparison table ───────────────────────────────── */
.table-scroll { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--white); }
.cmp { width: 100%; border-collapse: collapse; min-width: 700px; }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; }
.cmp thead th {
  font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-faint);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.cmp tbody tr + tr th, .cmp tbody tr + tr td { border-top: 1px solid var(--line); }
.cmp tbody th { font-weight: 700; font-size: .93rem; }
.cmp tbody tr:hover { background: #FCFBF8; }
.yes {
  display: inline-block;
  background: var(--brand-soft); color: var(--brand);
  font-size: .78rem; font-weight: 700;
  padding: 4px 11px; border-radius: var(--r-pill);
}
.no { color: #CCC6B9; font-weight: 700; }

/* ── FAQ ────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .2s;
}
.faq__item[open] { border-color: var(--brand); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px;
  font-weight: 700; font-size: 1rem;
  cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--cream-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1B2E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 11px no-repeat;
  transition: transform .25s, background-color .2s;
}
.faq__item[open] summary::after { transform: rotate(180deg); background-color: var(--brand-soft); }
.faq__body { padding: 0 22px 20px; }
.faq__body p { color: var(--ink-soft); font-size: .95rem; max-width: 62ch; }

/* ── CTA ────────────────────────────────────────────── */
.cta { padding: 0 0 96px; }
.cta__box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(44px, 6vw, 72px) 32px;
  text-align: center;
}
.cta__box h2 { margin-bottom: 16px; }
/* Scoped to a class, not `.cta__box > p` — that would also catch .cta__note
   and outrank it on specificity. */
.cta__lead { color: var(--ink-soft); max-width: 500px; margin: 0 auto 28px; font-size: 1.03rem; }
.cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta__note { margin-top: 18px; font-size: .84rem; color: var(--ink-faint); font-weight: 500; }

/* ── Legal document page ────────────────────────────── */
.doc { padding: 72px 0 96px; }
.doc__head { max-width: 800px; margin: 0 auto 40px; }
.doc__title { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 14px; }
.doc__meta { color: var(--ink-faint); font-size: .88rem; font-weight: 600; }
.doc__body { max-width: 800px; margin: 0 auto; }

.doc__body h2 {
  font-size: 1.45rem; margin: 48px 0 14px;
  scroll-margin-top: 96px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.doc__body h3 { font-size: 1.05rem; margin: 28px 0 10px; }
.doc__body p { color: var(--ink-soft); margin-bottom: 14px; font-size: .97rem; }
.doc__body strong { color: var(--ink); font-weight: 700; }
.doc__body a:not(.btn) { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.doc__body a:not(.btn):hover { color: var(--brand-dk); }
.doc__body code {
  background: var(--cream-deep); border: 1px solid var(--line);
  border-radius: 5px; padding: 1px 6px;
  font-size: .86em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.doc__list { display: flex; flex-direction: column; gap: 9px; margin: 0 0 16px; }
.doc__list li {
  position: relative; padding-left: 20px;
  color: var(--ink-soft); font-size: .97rem; line-height: 1.6;
}
.doc__list li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand); opacity: .5;
}

.doc__toc {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px 28px; margin-bottom: 8px;
}
.doc__toc-title {
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 12px;
}
.doc__toc ol { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 7px; }
.doc__toc li { color: var(--ink-faint); font-size: .93rem; }
.doc__toc a { color: var(--ink-soft) !important; text-decoration: none !important; font-weight: 600; }
.doc__toc a:hover { color: var(--brand) !important; text-decoration: underline !important; }

.callout {
  background: var(--brand-soft);
  border: 1px solid #D9D6FB;
  border-radius: var(--r-md);
  padding: 18px 22px;
  margin: 22px 0;
}
.callout p { margin: 0; color: var(--ink-soft); font-size: .94rem; }

/* ── Footer ─────────────────────────────────────────── */
.foot { background: var(--cream-deep); border-top: 1px solid var(--line); padding: 64px 0 0; }
.foot__inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px;
  padding-bottom: 40px;
}
.foot__brand p { margin: 16px 0; color: var(--ink-soft); font-size: .91rem; max-width: 280px; }
.foot__brand .icon-link { margin-left: -9px; }
.foot__col { display: flex; flex-direction: column; gap: 11px; align-items: flex-start; }
.foot__col h4 {
  font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 3px;
}
.foot__col a { font-size: .92rem; color: var(--ink-soft); font-weight: 500; transition: color .18s; }
.foot__col a:hover { color: var(--brand); }
.foot__hours { font-size: .84rem; color: var(--ink-faint); line-height: 1.7; }

.foot__bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; padding-bottom: 24px;
  border-top: 1px solid var(--line);
  font-size: .84rem; color: var(--ink-faint);
}
.foot__legal { display: flex; gap: 22px; }
.foot__legal a { transition: color .18s; }
.foot__legal a:hover { color: var(--brand); }

.foot__built {
  border-top: 1px solid var(--line);
  padding-top: 22px; padding-bottom: 26px;
  text-align: center;
  font-size: .88rem; color: var(--ink-soft); font-weight: 600;
}
.foot__built a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.foot__built a:hover { color: var(--brand-dk); }

/* ── Cookie consent ─────────────────────────────────── */
.consent {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 200;
  max-width: 660px;
  margin: 0 auto;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  /* .consent sets display:flex, which would beat the UA [hidden] rule. */
  transform: translateY(12px);
  opacity: 0;
  transition: opacity .3s ease, transform .3s cubic-bezier(.22,1,.36,1);
}
.consent[hidden] { display: none; }
.consent.is-in { opacity: 1; transform: none; }

.consent__text { flex: 1 1 300px; }
.consent__text p { font-size: .89rem; color: var(--ink-soft); line-height: 1.55; }
.consent__text p:first-child {
  font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 5px;
}
.consent__text a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.consent__text a:hover { color: var(--brand-dk); }
.consent__actions { display: flex; gap: 8px; flex-shrink: 0; }
.consent__actions .btn { padding: 10px 20px; font-size: .88rem; }

/* Footer "Cookie preferences" trigger — a button that reads as a link. */
.linklike {
  font-size: inherit; font-weight: inherit; color: inherit;
  padding: 0; cursor: pointer;
  transition: color .18s;
}
.linklike:hover { color: var(--brand); }

@media (max-width: 560px) {
  .consent { gap: 16px; padding: 18px 20px; }
  .consent__actions { width: 100%; }
  .consent__actions .btn { flex: 1; }
}

/* ── Reveal animation ───────────────────────────────── */
/* Only hide content once JS has confirmed it can reveal it again. */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); }
.js-reveal .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1);
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1080px) {
  .tiers { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .pillars, .grid { grid-template-columns: 1fr 1fr; }
  .foot__inner { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 72px 0 auto;
    flex-direction: column; gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 8px; font-size: 1.05rem; border-radius: var(--r-sm); }
  .nav__links .nav__signin { display: block; color: var(--brand); font-weight: 700; }
  .nav__inner { justify-content: space-between; gap: 12px; }
  .nav__actions { margin-left: auto; }
  .nav__actions .btn--ghost { display: none; }
  .nav__toggle { display: flex; }

  .mock__side { display: none; }
  .mock__stats { grid-template-columns: 1fr; }
  .mock__row { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .section { padding: 68px 0; }
  .hero { padding: 52px 0 68px; }
  .pillars, .grid, .tiers { grid-template-columns: 1fr; }
  .head { margin-bottom: 40px; }
  .hero__cta .btn, .cta__actions .btn { flex: 1 1 100%; }
  .mock { margin-top: 44px; border-radius: var(--r-lg); }
  .foot__inner { grid-template-columns: 1fr; gap: 32px; }
  .foot__bar { flex-direction: column; align-items: flex-start; }
  .tier__desc { min-height: 0; }
}

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