/* The Offer Page for Manage (docs/adr/0005). A standalone static page, so the
   Explore tokens are copied from app/base.css; keep the values in step with
   it. Rules: docs/brand.md (light only; yellow is a fill, never text; people
   are bubbles, shows are squares; motion only on arrival). */
@font-face {
  font-family: "Host Grotesk Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url("fonts/host-grotesk-latin-wght-normal.woff2") format("woff2-variations");
}
:root {
  color-scheme: light;
  --font:
    "Host Grotesk Variable", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", sans-serif;
  --accent: #ffd400;
  --accent-hover: #f6ca00;
  --accent-tint: #fff4bd;
  --on-accent: #131311;
  --night: #131311;
  --ink: #131311;
  --ink-2: #4a4a44;
  --muted: #6b6b64;
  --line: #e9e9e4;
  --line-2: #cbcbc4;
  --surface: #ffffff;
  --surface-2: #f6f6f3;
  --surface-3: #ecece7;
  --r: 12px;
  --r-l: 16px;
  --bubble: 50% 50% 50% 0;
  --bubble-right: 50% 50% 0 50%;
  --r-btn: 999px 999px 999px 4px;
  --pad: clamp(20px, 4.4vw, 72px);
  --gap: clamp(48px, 8vw, 128px);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 17px/1.5 var(--font);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
  padding: 0;
}
ul,
ol {
  list-style: none;
}
h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--r-btn);
  background: var(--accent);
  color: var(--on-accent);
  font: 600 16px/1.2 var(--font);
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn:hover {
  background: var(--accent-hover);
}
.btn-night {
  background: var(--night);
  color: var(--surface);
}
.btn-night:hover {
  background: var(--ink-2);
}
.btn-big {
  min-height: 64px;
  padding: 0 30px;
  font-size: 19px;
}
.ar {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn:hover .ar {
  transform: translateX(4px);
}

/* ---------- Top bar and hero (one yellow field) ---------- */
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--pad);
  background: var(--accent);
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.brand-logo {
  width: auto;
  height: 30px;
  fill: var(--on-accent);
  overflow: visible;
}
/* The o is the Explore bubble; hover turns it into a map pin. */
.brand-o {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.3, 1.5, 0.5, 1);
}
.brand:hover .brand-o {
  transform: rotate(-45deg);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(16px, 2.4vw, 40px) var(--pad) clamp(48px, 6vw, 96px);
  background: var(--accent);
  color: var(--on-accent);
}
.hero-copy {
  display: grid;
  justify-items: start;
  gap: clamp(22px, 2.6vw, 40px);
}
.hero h1 {
  font-size: clamp(38px, 5.1vw, 84px);
  letter-spacing: -0.05em;
  line-height: 0.98;
  text-wrap: pretty;
  animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
/* Two sentences, two lines: the first stays whole. */
.hero h1 span {
  display: block;
  text-wrap: balance;
}
.hero h1 span + span {
  margin-top: 0.12em;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  animation: rise 0.7s 0.08s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.pills li {
  padding: 8px 16px;
  border: 1.5px solid var(--on-accent);
  border-radius: 999px;
  font-size: clamp(15px, 1.25vw, 19px);
  font-weight: 550;
  letter-spacing: -0.01em;
}
.hero .btn-big {
  animation: rise 0.7s 0.16s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero-media {
  overflow: hidden;
  border-radius: var(--r-l);
  background: rgb(19 19 17 / 12%);
  /* The film is 16:9; show the whole frame. */
  aspect-ratio: 16 / 9;
  animation: rise 0.7s 0.12s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* ---------- Sections ---------- */
.after,
.system,
.own {
  padding: var(--gap) var(--pad) 0;
}
.after h2,
.system h2,
.own h2,
.foot h2 {
  max-width: 22ch;
  font-size: clamp(34px, 4.6vw, 76px);
  letter-spacing: -0.045em;
}
.eyebrow {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: clamp(14px, 1.1vw, 17px);
  font-weight: 600;
  letter-spacing: -0.005em;
}

/* 01 / 02 / 03 */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
  margin-top: clamp(32px, 4.4vw, 72px);
}
.steps li {
  display: grid;
  align-content: start;
  gap: 10px;
  padding-top: 18px;
  border-top: 3px solid var(--ink);
}
.num {
  font-size: clamp(56px, 7vw, 120px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.steps h3,
.moves h3 {
  font-size: clamp(22px, 2vw, 32px);
  letter-spacing: -0.03em;
}
.steps p,
.moves p {
  max-width: 34ch;
  color: var(--ink-2);
  font-size: clamp(17px, 1.3vw, 20px);
}

/* The system: three moves, each a person-shaped photo. */
.moves {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.4vw, 56px);
  margin-top: clamp(32px, 4.4vw, 72px);
}
.moves li {
  display: grid;
  align-content: start;
  gap: 12px;
}
.bubble {
  display: block;
  aspect-ratio: 1;
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: var(--bubble);
  background: var(--surface-3);
}
.bubble-right {
  border-radius: var(--bubble-right);
}
.bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Shows are squares. */
.covers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 28px);
  margin-top: clamp(32px, 4.4vw, 72px);
}
.covers li {
  overflow: hidden;
  border-radius: var(--r-l);
  background: var(--surface-3);
  aspect-ratio: 1;
}
.covers img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- The plan and price ---------- */
.plan {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4.4vw, 72px);
  margin-top: var(--gap);
  padding: clamp(48px, 7vw, 112px) var(--pad);
  background: var(--surface-2);
  scroll-margin-top: 0;
}
.plan h2 {
  font-size: clamp(30px, 3.6vw, 60px);
  letter-spacing: -0.04em;
}
.plan-what {
  margin-top: 18px;
  max-width: 30ch;
  color: var(--ink-2);
  font-size: clamp(18px, 1.6vw, 24px);
  letter-spacing: -0.015em;
}
.included {
  margin-top: clamp(20px, 2.4vw, 36px);
}
.included li {
  position: relative;
  padding: 10px 0 10px 40px;
  font-size: clamp(17px, 1.4vw, 21px);
  letter-spacing: -0.01em;
}
/* A yellow tick: the accent is a fill, the mark on it is ink. */
.included li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 26px;
  height: 26px;
  border-radius: var(--bubble);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23131311' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
      center / 16px no-repeat,
    var(--accent);
}
.plan-body {
  display: grid;
  gap: 22px;
  align-content: start;
}
.plan-price {
  font-size: clamp(88px, 12vw, 200px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.9;
}
.plan-price span {
  margin-left: 0.06em;
  font-size: max(0.16em, 16px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.terms li {
  padding: 12px 0;
  border-top: 1px solid var(--line-2);
  font-size: clamp(18px, 1.5vw, 23px);
  letter-spacing: -0.015em;
}
.terms li:last-child {
  border-bottom: 1px solid var(--line-2);
}
/* The marked space for the embedded checkout. */
.checkout {
  display: grid;
  place-items: center;
  min-height: 132px;
  padding: 24px;
  border: 2px dashed var(--line-2);
  border-radius: var(--r-l);
  background: var(--surface);
  color: var(--muted);
  font-size: 17px;
  font-weight: 500;
  text-align: center;
}
.promise {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Footer ---------- */
.foot {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(48px, 7vw, 112px) var(--pad) clamp(32px, 4vw, 56px);
  background: var(--accent);
  color: var(--on-accent);
}
.foot-copy {
  display: grid;
  justify-items: start;
  gap: clamp(24px, 3vw, 44px);
}
.foot-photo {
  width: 100%;
  max-width: 440px;
  margin: 0 0 0 auto;
  background: rgb(19 19 17 / 12%);
}
.foot-photo img {
  object-position: 58% 50%;
}
.foot .btn {
  background: var(--night);
  color: var(--surface);
}
.foot .btn:hover {
  background: var(--ink-2);
}
.legal {
  grid-column: 1 / -1;
  margin-top: clamp(16px, 3vw, 48px);
  font-size: 14px;
}

/* ---------- Narrow screens ---------- */
@media (max-width: 860px) {
  .hero,
  .plan,
  .foot {
    grid-template-columns: minmax(0, 1fr);
  }
  .foot-photo {
    max-width: 280px;
  }
  /* "You bring the voice." stays on one line down to a 360px phone. */
  .hero h1 {
    font-size: clamp(30px, 8.4vw, 64px);
  }
  .steps,
  .moves {
    grid-template-columns: minmax(0, 1fr);
  }
  .moves .bubble {
    max-width: 320px;
    width: 72%;
  }
  .moves li:nth-child(2) .bubble {
    margin-left: auto;
  }
  .covers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bar-cta {
    min-height: 44px;
    padding: 0 18px;
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
