/* ==========================================================================
   Socialclue — pre-launch landing page
   Direction D · Editorial, dark header
   Tokens and page styles. Product-mockup styles live in shots.css
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root {
  /* Surfaces */
  --paper: #F3F6F0;
  --white: #fff;
  --ink: #1d1815;
  --ink-raised: #241d19;
  /* Hero ground: a dark olive, one step deeper than the primary green. */
  --hero: #25301A;
  --ink-btn-hover: #33291f;

  /* Accent — terracotta */
  --accent: #186419;
  --accent-hover: #124E13;
  --accent-deep: #145615;
  --accent-light: #8ECB91;

  /* Support */
  --green: #4f7a52;
  --green-deep: #3d6340;

  /* Ink alphas on light ground */
  --ink-06: rgba(29, 24, 21, .06);
  --ink-07: rgba(29, 24, 21, .07);
  --ink-08: rgba(29, 24, 21, .08);
  --ink-10: rgba(29, 24, 21, .10);
  --ink-12: rgba(29, 24, 21, .12);
  --ink-14: rgba(29, 24, 21, .14);
  --ink-16: rgba(29, 24, 21, .16);
  --ink-20: rgba(29, 24, 21, .20);
  --ink-35: rgba(29, 24, 21, .35);
  --ink-40: rgba(29, 24, 21, .40);
  --ink-50: rgba(29, 24, 21, .50);
  --ink-55: rgba(29, 24, 21, .55);
  --ink-60: rgba(29, 24, 21, .60);
  --ink-65: rgba(29, 24, 21, .65);
  --ink-70: rgba(29, 24, 21, .70);
  --ink-75: rgba(29, 24, 21, .75);
  --ink-78: rgba(29, 24, 21, .78);
  --ink-80: rgba(29, 24, 21, .80);

  /* Paper alphas on dark ground */
  --paper-50: rgba(243, 246, 240, .50);
  --paper-55: rgba(243, 246, 240, .55);
  --paper-60: rgba(243, 246, 240, .60);
  --paper-65: rgba(243, 246, 240, .65);
  --paper-72: rgba(243, 246, 240, .72);
  --paper-78: rgba(243, 246, 240, .78);
  --paper-80: rgba(243, 246, 240, .80);
  --paper-85: rgba(243, 246, 240, .85);
  --paper-10: rgba(243, 246, 240, .10);
  --paper-14: rgba(243, 246, 240, .14);
  --paper-16: rgba(243, 246, 240, .16);
  --paper-18: rgba(243, 246, 240, .18);

  /* Type */
  --display: 'Schibsted Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Fluid type — endpoints taken from the desktop and mobile artboards */
  --fs-h1: clamp(40px, 6.2vw, 76px);
  --fs-h2: clamp(28px, 3.6vw, 44px);
  --fs-h3: clamp(19px, 1.7vw, 24px);
  --fs-step-h3: clamp(20px, 1.8vw, 24px);
  --fs-lead: clamp(17px, 1.65vw, 23px);
  --fs-body: clamp(16px, 1.3vw, 19px);
  --fs-body-tight: clamp(16.5px, 1.45vw, 21px);
  --fs-list: clamp(16px, 1.25vw, 18px);
  --fs-kicker: clamp(11.5px, .9vw, 12.5px);

  /* Layout */
  --shell: 1100px;
  --gutter: clamp(20px, 3vw, 32px);
  --nav-h: 64px;
  --sec-y: clamp(64px, 7vw, 96px);
  --sec-y-lg: clamp(68px, 8vw, 104px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
a { color: var(--accent-deep); }
a:hover { color: var(--accent-hover); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font: 500 14px var(--text);
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--paper); }

/* --- Typography primitives ------------------------------------------------ */
/* Both kickers sit on the ink ground, so they take the light tint; --accent is
   dark enough for white text on a fill and too dark for text on ink. */
.kicker {
  font: 500 var(--fs-kicker)/1 var(--text);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.h1 {
  font: 500 var(--fs-h1)/1.03 var(--display);
  letter-spacing: -.03em;
  text-wrap: balance;
}

.h2 {
  font: 500 var(--fs-h2)/1.1 var(--display);
  letter-spacing: -.02em;
  text-wrap: pretty;
}

.h3 {
  font: 500 var(--fs-h3)/1.3 var(--display);
  letter-spacing: -.01em;
  text-wrap: pretty;
}

.lead {
  font: 400 var(--fs-lead)/1.55 var(--text);
  color: var(--ink-78);
  text-wrap: pretty;
}

.body {
  font: 400 var(--fs-body)/1.5 var(--text);
  color: var(--ink-78);
  text-wrap: pretty;
}

.body--tight {
  font: 400 var(--fs-body-tight)/1.55 var(--text);
}

/* Emphasis inside body copy: one weight up, at full-strength color so it
   lifts off the muted paragraph tone on either ground. */
.lead strong,
.body strong {
  font-weight: 600;
  color: var(--ink);
}
.hero .lead strong,
.section--ink .lead strong,
.section--ink .body strong {
  color: var(--paper);
}
/* Keep the emphasised phrase on one line so the emphasis reads as a unit. */
.hero .lead strong { white-space: nowrap; }

.eyebrow-num {
  font: 500 13px var(--display);
  color: var(--accent-deep);
}

/* --- Layout --------------------------------------------------------------- */
.shell {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sec-y); }
.section--lg { padding-block: var(--sec-y-lg); }

.section--white {
  background: var(--white);
  border-top: 1px solid var(--ink-06);
  border-bottom: 1px solid var(--ink-06);
}

.section--ink {
  background: var(--ink);
  color: var(--paper);
}
.section--ink .lead,
.section--ink .body { color: var(--paper-78); }

[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }

.measure { max-width: 680px; }
.measure--wide { max-width: 760px; }
.measure--wider { max-width: 820px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 36px;
}
.grid--steps { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 36px 56px; }
.grid--wide-gap { gap: 48px; }

/* --- Reveal on scroll ----------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal="shot"] { transform: translateY(20px); transition-duration: .8s; }
[data-reveal].is-revealed { opacity: 1; transform: none; }

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

/* --- Navigation ----------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  /* Transparent over the dark hero; the bar fills in once the page scrolls. */
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}

.nav.is-scrolled {
  background: rgba(29, 24, 21, .82);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: rgba(255, 255, 255, .1);
}

.nav__inner {
  max-width: var(--shell);
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 36px; width: auto; }

.nav__links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  font: 500 14px var(--text);
}

.nav__link {
  position: relative;
  padding: 6px 0;
  color: var(--paper-85);
  text-decoration: none;
  transition: color .2s;
}
.nav__link:hover { color: #fff; }

.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav__link.is-active::after { transform: scaleX(1); }

.nav__cta {
  margin-left: 6px;
  height: 40px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font: 500 14px var(--text);
  cursor: pointer;
  transition: background .2s;
}
.nav__cta:hover { background: var(--accent-hover); color: #fff; }

@media (max-width: 860px) {
  /* 44px CTA + the gutter above and below it, so the button sits the same
     distance from the top of the screen as it does from the right edge. */
  :root { --nav-h: 84px; }
  .nav__logo img { height: 30px; }
  .nav__links { gap: 0; }
  .nav__link { display: none; }
  .nav__cta {
    margin-left: 0;
    height: 44px;
    border-radius: 12px;
    font-size: 14.5px;
  }
}

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--hero);
  color: var(--paper);
  overflow: hidden;
}

/* Fine dot grid, painted under the glow and dissolved before the form so the
   texture reads at the top of the hero and never competes with the content. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(243, 246, 240, .11) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 62%);
  mask-image: linear-gradient(to bottom, #000, transparent 62%);
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 520px at 70% -10%, rgba(142, 203, 145, .16), transparent 70%);
  animation: glow 9s ease-in-out infinite;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: var(--shell);
  margin-inline: auto;
  padding: calc(var(--nav-h) + clamp(56px, 6vw, 72px)) var(--gutter) clamp(64px, 7vw, 96px);
  text-align: center;
}

.hero__title {
  margin: 22px auto 0;
  max-width: 900px;
}

.hero__lead {
  margin: 26px auto 0;
  max-width: 720px;
  color: var(--paper-80);
}

.hero__form {
  margin: 40px auto 0;
  max-width: 560px;
  text-align: left;
  padding: 20px;
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
}

.hero__shot { margin: 72px auto 0; max-width: 1000px; }

.hero .shot-frame {
  border-color: var(--paper-14);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .6);
}

.hero__caption {
  margin-top: 14px;
  font: 400 13px var(--text);
  color: var(--paper-55);
}

/* Hero entrance */
.hero [data-in] { animation: heroIn .8s ease both; }
.hero [data-in="1"] { animation-duration: .7s; }
.hero [data-in="2"] { animation-delay: .1s; }
.hero [data-in="3"] { animation-delay: .2s; }
.hero [data-in="4"] { animation-delay: .3s; }
.hero [data-in="5"] { animation-delay: .4s; }
.hero [data-in="6"] { animation-delay: .5s; animation-duration: .9s; }

@keyframes heroIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes glow { 0%, 100% { opacity: .55; } 50% { opacity: .9; } }

@media (max-width: 860px) {
  .hero__glow { background: radial-gradient(560px 420px at 78% -8%, rgba(142, 203, 145, .18), transparent 72%); }
  .hero__inner { text-align: left; }
  .hero__title { margin-inline: 0; letter-spacing: -.028em; }
  .hero__lead { margin-inline: 0; }
  .hero__form { margin-inline: 0; padding: 18px; }
  .hero__shot { margin-top: 34px; }
}

/* --- Shot frames ---------------------------------------------------------- */
/* Desktop: the fixed-size mockup is scaled down to the container width.
   Mobile: it becomes a horizontally swipeable frame at a legible fixed scale. */
.shot-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--ink-10);
  box-shadow: 0 30px 60px -36px rgba(29, 24, 21, .3);
}
/* Step mockups carry their own panel or card edge; a second frame around them
   reads as a double border with dead space between. */
.shot-frame--sm { border: 0; border-radius: 14px; box-shadow: none; }

.shot-frame__inner {
  position: absolute;
  left: 0; top: 0;
  transform-origin: 0 0;
}

.shot-caption {
  margin-top: 16px;
  font: 400 15.5px/1.5 var(--text);
  color: var(--ink-60);
}

@media (max-width: 860px) {
  .shot-frame { border-radius: 14px; }
  .shot-caption { font-size: 13px; }
}

/* --- Section 2 ------------------------------------------------------------ */
.stack-lg { margin-top: 44px; }

/* --- Section 3 · problems ------------------------------------------------- */
.problems { margin-top: 48px; gap: 40px 36px; }
.problems h3 { margin-top: 12px; }
.problems p { margin-top: 12px; }

.closing-line {
  margin-top: 64px;
  max-width: 820px;
  font: 500 clamp(20px, 2.6vw, 30px)/1.3 var(--display);
  letter-spacing: -.015em;
  text-wrap: pretty;
}

/* --- Section 4 · how it works --------------------------------------------- */
.steps {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 56px);
}

.step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 36px;
  align-items: center;
}
/* Scoped to the copy column: a bare `.step p` also matched the <p> elements
   inside the mockups embedded in this section and blew up their type. */
.step__copy h3 { margin-top: 10px; font-size: var(--fs-step-h3); line-height: 1.25; letter-spacing: -.015em; }
.step__copy p { margin-top: 12px; font-size: clamp(16.5px, 1.4vw, 20px); }

/* Even steps put the mockup first on desktop, copy first on mobile */
.step--flip > .step__media { order: 1; }
.step--flip > .step__copy { order: 2; }
@media (max-width: 860px) {
  .step--flip > .step__media { order: 2; }
  .step--flip > .step__copy { order: 1; }
}

.rule-note {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--ink-10);
  font: 500 clamp(16px, 1.5vw, 18px)/1.5 var(--display);
  color: var(--ink);
  text-wrap: pretty;
}

/* --- Section 5 · flow graphic --------------------------------------------- */
.flow { margin: 48px auto 0; max-width: 900px; }
.flow svg { width: 100%; height: auto; }
.flow__mobile { display: none; max-width: 340px; margin-inline: auto; }

@media (max-width: 760px) {
  .flow__desktop { display: none; }
  .flow__mobile { display: block; }
}

.feature-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font: 400 var(--fs-list)/1.5 var(--text);
  color: var(--ink-78);
}
.feature-list strong { font-weight: 500; color: var(--ink); }

/* --- Section 13 · safety -------------------------------------------------- */
.guarantees {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 2px;
  background: var(--paper-10);
  border: 1px solid var(--paper-10);
  border-radius: 16px;
  overflow: hidden;
}
.guarantee {
  padding: 28px 26px;
  background: var(--ink);
  transition: background .3s, opacity .7s ease, transform .7s ease;
}
.guarantee:hover { background: var(--ink-raised); }
.guarantee p { margin-top: 10px; color: var(--paper-72); }

.safety-notes { margin-top: 44px; max-width: 900px; }
.safety-notes h3 { font-size: clamp(17px, 1.45vw, 20px); }
.safety-notes p { margin-top: 10px; color: var(--paper-72); }

.security-link {
  margin-top: 36px;
  font: 400 15px var(--text);
}
.security-link a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.security-link a:hover { color: #fff; }

.cta-panel {
  margin-top: 72px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 32px;
  align-items: center;
}
.cta-panel__line {
  font: 500 clamp(22px, 2.8vw, 32px)/1.25 var(--display);
  letter-spacing: -.02em;
  text-wrap: pretty;
}

/* --- Section 14 · pricing ------------------------------------------------- */
.plans {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}

.plan {
  padding: clamp(26px, 3vw, 36px);
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--ink-10);
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s, opacity .7s ease, transform .7s ease;
}
.plan:hover { box-shadow: 0 24px 50px -30px rgba(29, 24, 21, .3); }

.plan__name { font: 500 14px var(--text); color: var(--ink-60); }

.plan__price {
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.plan__amount {
  font: 500 clamp(42px, 4.8vw, 52px)/1 var(--display);
  letter-spacing: -.03em;
}
.plan__per { font: 400 15px var(--text); color: var(--ink-60); }
.plan__annual { margin-top: 6px; font: 400 13.5px var(--text); color: var(--ink-55); }
.plan__for { margin-top: 14px; font: 400 15.5px/1.5 var(--text); color: var(--ink-78); }

.plan__plus { margin-top: 26px; font: 500 13px var(--text); color: var(--ink-60); }

.plan__features {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font: 400 var(--fs-list)/1.5 var(--text);
  color: var(--ink-80);
}
.plan__plus + .plan__features { margin-top: 12px; }
.plan__features li { display: flex; gap: 10px; }
.plan__features li::before { content: "\2713"; color: var(--accent); flex: 0 0 auto; }

.plan__cta {
  margin-top: 32px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  font: 500 15px var(--text);
  transition: background .2s, color .2s;
}
.plan__cta:hover { background: var(--ink); color: #fff; }

/* Featured (dark) plan */
.plan--dark {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.plan--dark:hover { box-shadow: 0 24px 50px -30px rgba(29, 24, 21, .6); }
.plan--dark .plan__name,
.plan--dark .plan__per,
.plan--dark .plan__plus { color: var(--paper-65); }
.plan--dark .plan__annual { color: var(--paper-60); }
.plan--dark .plan__for { color: var(--paper-80); }
.plan--dark .plan__features { color: var(--paper-85); }
.plan--dark .plan__features li::before { color: var(--accent-light); }
.plan--dark .plan__cta {
  /* inherits the 32px top margin from .plan__cta; the feature list below
     grows to push this to the bottom of the card on wide screens. */
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
.plan--dark .plan__cta:hover { background: #fff; color: var(--ink); }
.plan--dark .plan__features { flex: 1 0 auto; }

.plan-note {
  margin-top: 28px;
  font: 400 15.5px/1.5 var(--text);
  color: var(--ink-60);
}
.plan-note strong { font-weight: 500; color: var(--ink-78); }

.pricing-terms {
  margin-top: 14px;
  font: 400 15px/1.5 var(--text);
  color: var(--ink-65);
}

/* --- Section 15 · what it will not do ------------------------------------- */
.refusals { font: 400 clamp(15.5px, 1.3vw, 16.5px)/1.5 var(--text); }
.refusals li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--ink-10);
}
.refusals li:last-child { border-bottom: 1px solid var(--ink-10); }
.refusals li::before {
  content: "\2715";
  color: var(--accent);
  font-weight: 500;
  flex: 0 0 auto;
}

.refusals-deal {
  margin-top: 40px;
  font: 500 clamp(20px, 2.4vw, 28px)/1.3 var(--display);
  letter-spacing: -.015em;
}

/* --- Section 16 · FAQ ----------------------------------------------------- */
.faq {
  margin-top: 40px;
  max-width: 820px;
  display: flex;
  flex-direction: column;
}

.faq__item { border-top: 1px solid var(--ink-10); }
.faq__item:last-child { border-bottom: 1px solid var(--ink-10); }

.faq__q {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font: 500 clamp(16.5px, 1.45vw, 20px)/1.4 var(--text);
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }

.faq__plus {
  margin-left: auto;
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
  transition: transform .25s;
}
.faq__item[open] .faq__plus { transform: rotate(45deg); }

.faq__a {
  margin: 0 0 22px;
  max-width: 700px;
  font: 400 var(--fs-body)/1.5 var(--text);
  color: var(--ink-75);
  text-wrap: pretty;
}

/* --- Section 17 · final --------------------------------------------------- */
.final { text-align: center; }
.final .h2 {
  margin-inline: auto;
  max-width: 900px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.final__lead { margin: 22px auto 0; max-width: 640px; }
.final__form { margin: 40px auto 0; max-width: 560px; text-align: left; }

@media (max-width: 860px) {
  .final { text-align: left; }
  .final .h2, .final__lead, .final__form { margin-inline: 0; }
}

/* --- Footer --------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--ink-08);
  background: var(--paper);
}
.footer__inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 48px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer__brand { display: flex; flex-direction: column; gap: 12px; }
/* a column flex stretches the cross axis, which widened the box and let the
   SVG centre inside it; this pins the box to the artwork */
.footer__brand img { height: 24px; width: auto; align-self: flex-start; }
.footer__tagline { font: 400 15.5px/1.5 var(--text); color: var(--ink-70); }

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  font: 500 14px var(--text);
}
.footer__links a { color: var(--ink); text-decoration: none; }
.footer__links a:hover { color: var(--accent-deep); }

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font: 400 12.5px/1.5 var(--text);
  color: var(--ink-55);
}
.placeholder {
  border-bottom: 1px dashed rgba(20, 86, 21, .6);
  color: var(--accent-deep);
}

/* --- Waitlist form -------------------------------------------------------- */
.wl { width: 100%; max-width: 560px; }

.wl__form { display: flex; flex-direction: column; gap: 12px; }

.wl__fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 10px;
}

.wl__label { display: flex; flex-direction: column; gap: 6px; }
.wl__label > span { font: 500 12.5px/1 var(--text); color: var(--ink-70); }

.wl__input {
  height: 46px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--ink-16);
  background: var(--white);
  font: 400 15px var(--text);
  color: var(--ink);
  outline: none;
  min-width: 0;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.wl__input::placeholder { color: rgba(29, 24, 21, .42); }
.wl__input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(29, 24, 21, .08);
}
.wl__input[aria-invalid="true"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(24, 100, 25, .12);
}

.wl__error {
  font: 400 12px/1.45 var(--text);
  color: var(--accent-deep);
  animation: wlpop .3s ease;
}
.wl__error:empty { display: none; }

.wl__submit {
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font: 500 15px var(--text);
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.wl__submit:hover:not(:disabled) { background: var(--accent-hover); }
.wl__submit:active:not(:disabled) { transform: scale(.99); }
.wl__submit:disabled { cursor: progress; opacity: .85; }

/* Honeypot: off-screen rather than display:none, so bots that fill every
   text input still trip it. Never focusable, never announced. */
.wl__gotcha {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.wl__fine {
  font: 400 12.5px/1.5 var(--text);
  color: var(--ink-60);
  text-wrap: pretty;
}

.wl__server {
  font: 400 12.5px/1.45 var(--text);
  color: var(--accent-deep);
}

/* Success / duplicate states */
.wl__done {
  padding: 24px 26px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--ink-10);
  animation: wlpop .4s ease;
}
.wl__done--slim { padding: 22px 24px; }

.wl__done-head { display: flex; align-items: center; gap: 10px; }
.wl__tick {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
}
.wl__done-title { font: 500 20px/1.2 var(--text); }
.wl__done-title--slim { font-size: 18px; line-height: 1.3; }

.wl__done-body {
  margin-top: 10px;
  font: 400 14.5px/1.6 var(--text);
  color: var(--ink-75);
  text-wrap: pretty;
}
.wl__done-body strong { font-weight: 500; color: var(--ink); }
.wl__done--slim .wl__done-body { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--ink-70); }

.wl__steps {
  margin-top: 14px;
  padding-left: 18px;
  list-style: decimal;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font: 400 13.5px/1.5 var(--text);
  color: var(--ink-75);
}

.wl__share {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--ink-08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font: 400 13px/1.5 var(--text);
  color: var(--ink-65);
}
.wl__copy {
  height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--ink-16);
  background: var(--white);
  font: 500 12.5px var(--text);
  color: var(--ink);
  cursor: pointer;
}
.wl__copy:hover { background: rgba(29, 24, 21, .04); }

@keyframes wlpop {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* --- Overlay dialog ------------------------------------------------------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(29, 24, 21, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn .25s ease;
}
.overlay[hidden] { display: none; }

.overlay__panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: clamp(24px, 4vw, 36px);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .5);
  animation: heroIn .35s ease;
}

.overlay__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--ink-06);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
.overlay__close:hover { background: var(--ink-12); }

.overlay__title {
  font: 500 clamp(22px, 3vw, 26px)/1.2 var(--display);
  letter-spacing: -.02em;
  padding-right: 40px;
}
.overlay__lead {
  margin: 10px 0 24px;
  font: 400 clamp(15.5px, 1.4vw, 18px)/1.5 var(--text);
  color: var(--ink-72, rgba(29, 24, 21, .72));
}

body.is-locked { overflow: hidden; }

/* --- Mobile sticky bar ---------------------------------------------------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  gap: 14px;
  background: rgba(29, 24, 21, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, .1);
  transform: translateY(112%);
  opacity: 0;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), opacity .3s ease;
}
.mobile-bar__text {
  min-width: 0;
  font: 400 12.5px/1.35 var(--text);
  color: var(--paper-72);
}
.mobile-bar__cta {
  margin-left: auto;
  flex: 0 0 auto;
  height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font: 500 14.5px var(--text);
  cursor: pointer;
}
.mobile-bar__cta:hover { background: var(--accent-hover); color: #fff; }

@media (max-width: 860px) {
  .mobile-bar { display: flex; }
  .mobile-bar.is-shown {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
}
