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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

/* The page scales with the window: wide screens get a wider column, not wider margins. */
.wrap { width: min(1680px, 100% - clamp(36px, 9vw, 220px)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 20;
  padding: 10px 16px; border-radius: 12px;
  background: var(--button); color: var(--button-ink);
}
.skip-link:focus { top: 16px; }

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

:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; border-radius: 8px; }

/* ---------- header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 22px; letter-spacing: -0.02em; text-decoration: none;
}
.wordmark img { width: 36px; height: 36px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--button); color: var(--button-ink);
  font-weight: 650; font-size: 17px; text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.button-small { min-height: 42px; padding: 0 20px; font-size: 15px; }
.button-quiet {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}

/* ---------- type ---------- */
.display {
  font-size: clamp(46px, 7.4vw, 148px);
  line-height: 0.98; letter-spacing: -0.045em; font-weight: 750;
}
.display em, .h2 em { font-style: italic; font-weight: 650; color: var(--peach-ink); }
.h2 {
  font-size: clamp(34px, 4.4vw, 84px);
  line-height: 1.04; letter-spacing: -0.035em; font-weight: 720;
}
.lede { font-size: clamp(19px, 1.5vw, 28px); color: var(--ink-2); max-width: 30em; }
.eyebrow {
  font-size: 14px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--peach-ink);
}
.fine { font-size: 14px; color: var(--ink-3); }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 96px); align-items: center;
  min-height: calc(100svh - 96px); padding: 12px 0 72px;
}
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-stage { position: relative; display: grid; justify-items: center; }
/* The whole phone stays inside the first screen, whatever the window height. */
.hero-stage .phone { height: min(calc(100svh - 190px), 820px); min-height: 440px; max-width: 78vw; }
.hero-mozi {
  position: absolute; left: -9%; bottom: -3%; width: 31%; max-width: 190px;
  filter: drop-shadow(0 18px 30px rgba(74, 49, 24, 0.22));
}

/* ---------- phone frame (real recordings) ---------- */
.phone {
  position: relative; aspect-ratio: 1206 / 2622;
  border-radius: 13.5% / 6.2%;
  padding: 2.6%;
  background: #17130f;
  box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255, 255, 255, 0.14);
}
.phone > video, .phone > img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 11.4% / 5.2%;
  background: #fff;
}

/* ---------- film ---------- */
.film { padding: 0 0 110px; }
.film-frame {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  background: #17130f; box-shadow: var(--shadow); aspect-ratio: 16 / 9;
}
.film-frame video { width: 100%; height: 100%; object-fit: cover; }
.film-bar { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }

/* ---------- story ---------- */
.section { padding: 110px 0; }
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: 72px; }
.tint { background: var(--bg-soft); }

.steps { display: grid; gap: 28px; }
.step {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: stretch;
}
.step:nth-child(even) .step-copy { order: 2; }
.step-copy {
  display: grid; align-content: space-between; gap: 28px;
  padding: 40px; border-radius: var(--radius-xl);
  background: var(--card); box-shadow: var(--shadow-soft);
}
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--peach-soft); color: var(--peach-ink); font-weight: 700; font-size: 17px;
}
.step-copy h3 { font-size: clamp(26px, 2.6vw, 48px); line-height: 1.1; letter-spacing: -0.03em; margin: 16px 0 12px; }
.step-copy p { color: var(--ink-2); font-size: clamp(18px, 1.25vw, 23px); }
.step-mozi { width: clamp(190px, 14vw, 280px); justify-self: end; margin: -10px -14px -22px 0; }
.step-shot {
  display: grid; place-items: center; padding: 40px 28px;
  border-radius: var(--radius-xl); background: var(--stage); overflow: hidden;
}
.shot {
  width: min(clamp(420px, 30vw, 600px), 100%); border-radius: 26px; overflow: hidden;
  background: #fff; box-shadow: var(--shadow);
}
.shot img, .shot video { width: 100%; }

/* ---------- everyday ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
.tile {
  display: grid; gap: 22px; align-content: start;
  padding: 26px 26px 32px; border-radius: var(--radius-xl);
  background: var(--card); box-shadow: var(--shadow-soft);
}
.tile h3 { font-size: 23px; letter-spacing: -0.02em; margin-bottom: 6px; }
.tile p { color: var(--ink-2); font-size: 16.5px; }
.tile .shot { width: 100%; box-shadow: none; border: 1px solid var(--line); border-radius: 20px; }

/* ---------- control ---------- */
.control { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.control-mozi { width: min(340px, 70%); justify-self: center; }
.promises { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 14px; }
.promises li {
  display: grid; grid-template-columns: 12px 1fr; gap: 16px; align-items: baseline;
  padding: 20px 24px; border-radius: var(--radius-md); background: var(--card);
  box-shadow: var(--shadow-soft);
}
.promises li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--peach); }
.promises strong { display: block; font-size: 19px; }
.promises span { color: var(--ink-2); font-size: 16.5px; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details {
  padding: 22px 26px; border-radius: var(--radius-md); background: var(--card);
  box-shadow: var(--shadow-soft);
}
.faq summary { cursor: pointer; font-weight: 650; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--peach-ink); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 12px; color: var(--ink-2); }

/* ---------- closing ---------- */
.closing { text-align: center; display: grid; justify-items: center; gap: 26px; padding: 120px 0 90px; }
.closing-mozi { width: 220px; }
.invite { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.copy-status { min-height: 1.4em; }

.site-footer {
  display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between;
  padding: 28px 0 44px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 15px;
}
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  body { font-size: 17px; }
  .hero { grid-template-columns: 1fr; padding: 16px 0 72px; gap: 56px; min-height: 0; }
  .hero-stage .phone { height: auto; width: min(330px, 78vw); min-height: 0; }
  .hero-mozi { left: 0; width: 26%; bottom: -6%; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 44px; }
  .step, .control { grid-template-columns: 1fr; }
  .step:nth-child(even) .step-copy { order: 0; }
  .step-copy { padding: 28px; }
  .step-mozi { width: 150px; }
  .tiles { grid-template-columns: 1fr; }
  .control-mozi { width: 200px; }
  .site-footer { justify-content: center; text-align: center; }
}
@media (max-width: 420px) {
  .wrap { width: calc(100% - 36px); }
  .button { padding: 0 22px; }
  .header-cta { display: none; }
}
