/* Anchor website — simplified system (2026-10-20)
   One type scale (6 styles), one spacing rhythm, no section dividers, one card style. */

:root {
  color-scheme: light dark;
  --bg: #faf8f3;
  --surface: #ffffff;
  --ink: #171615;
  --muted: #68625b;
  --soft: #e6e0d6;
  --accent: #1f5d48;
  --on-accent: #faf8f3;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: ui-serif, "New York", Georgia, "Times New Roman", serif;

  /* type scale */
  --t-display: clamp(2.7rem, 5vw, 4.6rem);
  --t-h2: clamp(2rem, 3.2vw, 2.75rem);
  --t-h3: 1.2rem;
  --t-body: 1.0625rem;
  --t-small: 0.875rem;
  --t-eyebrow: 0.75rem;

  /* rhythm */
  --page: min(1120px, calc(100% - 40px));
  --section: 128px;
  --radius: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141311;
    --surface: #1d1b19;
    --ink: #f4f0e9;
    --muted: #b8afa3;
    --soft: #34302b;
    --accent: #84d3a8;
    --on-accent: #10231b;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: var(--t-body)/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
ol {
  margin: 0;
}

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

/* ── shared pieces ─────────────────────────────────────────── */
.eyebrow {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: var(--t-eyebrow);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  font-size: var(--t-h2);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h3 {
  font-size: var(--t-h3);
  font-weight: 700;
  line-height: 1.3;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 1rem;
  font-weight: 650;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.button-sm {
  min-height: 36px;
  padding: 0 16px;
  font-size: var(--t-small);
}

.link {
  color: var(--muted);
  font-weight: 600;
  text-underline-offset: 0.2em;
}

.link:hover {
  color: var(--ink);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 22px;
}

.note {
  margin-top: 14px;
  color: var(--muted);
  font-size: var(--t-small);
}

/* ── header ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
}

.header-inner {
  width: var(--page);
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  border-radius: 22%;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--muted);
  font-size: var(--t-small);
  font-weight: 600;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--ink);
}

/* ── hero ──────────────────────────────────────────────────── */
.hero {
  width: var(--page);
  margin: 0 auto;
  padding: 56px 0 var(--section);
  text-align: center;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: var(--t-display);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
}

.hero h1 em {
  color: var(--accent);
}

.lede {
  max-width: 560px;
  margin: 18px auto 30px;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.5;
}

.video {
  position: relative;
  margin-top: 48px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  box-shadow: 0 30px 90px rgba(40, 32, 20, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-controls {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 8px;
}

.video-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  min-width: 40px;
  padding: 0 14px;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.72);
  color: #fff;
  font: 600 var(--t-small)/1 var(--font-sans);
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.video-btn:hover {
  background: rgba(17, 17, 17, 0.9);
}

/* ── sections ──────────────────────────────────────────────── */
.section {
  width: var(--page);
  margin: 0 auto;
  padding: 0 0 var(--section);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  margin-bottom: 20px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--soft);
}

.step h3 {
  margin-bottom: 6px;
}

.step p,
.split-copy p,
.privacy p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 64px;
  align-items: center;
}

.split-copy h2 {
  margin-bottom: 16px;
}

.split-media {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 0 1px var(--soft);
}

.privacy {
  text-align: center;
}

.privacy-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 14px;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: -0.015em;
}

.privacy-line svg {
  flex-shrink: 0;
  color: var(--accent);
}

.closing {
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
}

.closing img {
  border-radius: 22%;
}

/* ── footer ────────────────────────────────────────────────── */
.site-footer {
  width: var(--page);
  margin: 0 auto;
  padding: 28px 0 40px;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: var(--t-small);
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
}

.site-footer a {
  text-decoration: none;
}

.credits a {
  color: var(--ink);
  font-weight: 600;
}

.site-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ── subpages (privacy / support) ──────────────────────────── */
.page {
  width: min(760px, calc(100% - 40px));
  margin: 48px auto;
  padding: 24px 0 64px;
}

.back,
.updated {
  display: inline-block;
  color: var(--muted);
  font-size: var(--t-eyebrow);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.back {
  margin-bottom: 24px;
}

.back:hover {
  color: var(--ink);
}

.article h1 {
  margin-bottom: 18px;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 500;
  line-height: 1;
}

.article h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.article p,
.article ul {
  color: var(--muted);
}

.article p + p {
  margin-top: 12px;
}

.article ul {
  margin: 8px 0 0;
  padding-left: 1.2em;
}

.article li {
  margin-bottom: 8px;
}

.article a {
  color: var(--accent);
}

/* ── responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root {
    --section: 96px;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
    gap: 44px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .split-copy {
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  :root {
    --page: calc(100% - 32px);
    --section: 80px;
  }

  .nav-link {
    display: none;
  }

  .hero {
    padding-top: 36px;
  }

  .lede {
    font-size: 1.08rem;
  }

  .video {
    margin-top: 36px;
    border-radius: 10px;
  }

  .video-controls {
    right: 8px;
    bottom: 8px;
    gap: 6px;
  }

  .video-btn {
    min-height: 34px;
    min-width: 34px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
