:root {
  --bg: #F2F2F7;
  --panel: #FFFFFF;
  --line: #E5E5EA;
  --ink: #1C1C1E;
  --muted: #6C6C70;
  --faint: #AEAEB2;
  --accent: #2C5F8A;
  --accent-soft: #4A8BC4;
  --accent2: #5856D6;
  --hair: #5856D6;
  --skincare: #5AC8FA;
  --date: #FF2D55;
  --max: 920px;
  --edge: clamp(20px, 5vw, 48px);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--accent-soft); }

/* ── Hero: centered_stack + none_inline nav ── */

.hero-band {
  position: relative;
  padding: clamp(56px, 12vw, 112px) var(--edge) clamp(64px, 10vw, 96px);
  text-align: center;
  overflow: hidden;
}

.hero-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(44, 95, 138, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(88, 86, 214, 0.1), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.hero-kicker {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

.hero-title {
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 18px;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--muted);
  max-width: 52ch;
  margin: 0 auto 28px;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-bottom: 36px;
}

.hero-links a {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.hero-links a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.hero-visual {
  margin: 0 auto;
  max-width: 880px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(28, 28, 30, 0.12);
  border: 1px solid var(--line);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ── Section intros: right_aligned_blocks ── */

.section-wrap {
  padding: clamp(48px, 8vw, 80px) var(--edge);
}

.section-wrap.alt {
  background: var(--panel);
  border-block: 1px solid var(--line);
}

.section-intro {
  max-width: var(--max);
  margin: 0 0 36px auto;
  text-align: right;
  padding-left: 12%;
}

.section-intro.left {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
  padding-left: 0;
  padding-right: 12%;
}

.section-label {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent2);
  margin: 0 0 8px;
}

.section-heading {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.section-lead {
  color: var(--muted);
  font-size: 1rem;
  max-width: 42ch;
  margin-left: auto;
}

.section-intro.left .section-lead {
  margin-left: 0;
}

/* ── Features: stripe_list ── */

.stripe-list {
  max-width: var(--max);
  margin: 0 auto;
  list-style: none;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
}

.stripe-item {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0 20px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.stripe-item:last-child { border-bottom: none; }

.stripe-index {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  padding-top: 3px;
}

.stripe-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.stripe-body {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── Gallery strip ── */

.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto;
}

.gallery-row img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
}

/* ── Screens: stacked_full ── */

.screen-stack {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.screen-shot {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(28, 28, 30, 0.1);
  background: var(--panel);
}

.screen-shot img {
  width: 100%;
  display: block;
}

.screen-caption {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: center;
  margin-top: 8px;
}

/* ── Legal: single_column_dropcap ── */

.legal-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.legal-block {
  margin-bottom: 48px;
}

.legal-block h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 16px;
}

.legal-prose {
  color: var(--muted);
  font-size: 0.98rem;
}

.legal-prose p {
  margin: 0 0 14px;
}

.dropcap::first-letter {
  float: left;
  font-size: 3.4rem;
  line-height: 0.85;
  font-weight: 800;
  color: var(--accent);
  margin: 4px 12px 0 0;
}

.support-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 32px;
}

.support-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.support-email {
  font-size: 1.1rem;
  font-weight: 600;
}

/* ── Footer ── */

.site-foot {
  padding: 32px var(--edge) 48px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--faint);
  border-top: 1px solid var(--line);
}

@media (max-width: 720px) {
  .gallery-row {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .section-intro,
  .section-intro.left {
    text-align: left;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
  }

  .section-lead { margin-left: 0; }

  .stripe-item {
    grid-template-columns: 2.4rem 1fr;
    padding: 18px 16px;
  }
}
