:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #191f28;
  --muted: #6b7684;
  --accent: #3182f6;
  --max-width: 1120px;
  --radius-xl: 40px;
  --radius-lg: 32px;
  --radius-md: 24px;
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 28px rgba(15, 23, 42, 0.05);
  --hero-bg: #f8fbff;
  --intro-bg: #fbfbfc;
  --steps-bg: #f8fbf7;
  --find-bg: #fffaf5;
  --share-bg: #faf9ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

img {
  display: block;
  width: 100%;
  height: auto;
  image-orientation: from-image;
}

.page-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 28px 0 110px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 72px;
}

.brand {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-link {
  color: inherit;
  text-decoration: none;
}

.brand-name {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.brand-s-fire {
  color: #f57b19;
}

.brand-s-gold {
  color: #c79a2b;
}

.header-note,
.hero-text,
.section-text,
.step p,
.closing-line,
.site-footer a {
  color: var(--muted);
}

.header-note {
  margin: 0;
  font-size: 0.95rem;
}

.hero,
.intro-band,
.split-section,
.feed-highlight,
.site-footer {
  margin-bottom: 24px;
  padding: 72px;
  border-radius: var(--radius-xl);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 72px;
  align-items: center;
  min-height: 88vh;
  background:
    radial-gradient(circle at top, rgba(49, 130, 246, 0.08), transparent 32%),
    var(--hero-bg);
}

.eyebrow,
.step-number {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.eyebrow {
  margin: 0 0 14px;
}

.hero h1,
.section-copy h2,
.intro-band p {
  margin: 0;
  letter-spacing: -0.05em;
  line-height: 0.9;
  font-weight: 900;
}

.hero h1 {
  max-width: 9ch;
  font-size: clamp(4rem, 8.2vw, 6.4rem);
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.hero-text,
.section-text {
  margin-top: 22px;
  max-width: 24ch;
  font-size: 1.22rem;
  line-height: 1.7;
}

.device-stack {
  position: relative;
  min-height: 720px;
}

.device-card,
.gallery-card,
.wide-image {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.device-card {
  position: absolute;
  width: min(100%, 390px);
  aspect-ratio: 0.62;
}

.device-card img,
.gallery-card img,
.wide-image img {
  height: 100%;
  object-fit: cover;
}

.device-card-main {
  right: 12px;
  top: 0;
}

.intro-band {
  background: var(--intro-bg);
  min-height: 34vh;
  display: flex;
  align-items: center;
}

.intro-band p {
  margin: 0;
  font-size: clamp(3rem, 5.4vw, 4.8rem);
  color: var(--ink);
  max-width: 10ch;
}

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: center;
  min-height: 72vh;
  background: var(--steps-bg);
}

.section-copy h2 {
  max-width: 10ch;
  font-size: clamp(3rem, 5.4vw, 4.8rem);
}

.steps {
  display: grid;
  gap: 22px;
}

.step {
  padding: 36px 34px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
}

.step p {
  margin: 10px 0 0;
  font-size: 1.45rem;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.gallery-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.split-section-visual {
  background: var(--find-bg);
}

.gallery-card {
  aspect-ratio: 0.8;
}

.feed-highlight {
  display: grid;
  gap: 36px;
  min-height: 78vh;
  align-content: center;
  background: var(--share-bg);
}

.policy-page {
  max-width: 860px;
  margin-bottom: 24px;
  padding: 72px;
  border-radius: var(--radius-xl);
  background: var(--intro-bg);
}

.policy-page h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3.2rem, 6.6vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.policy-updated {
  margin: 18px 0 52px;
  color: var(--muted);
  font-size: 1.05rem;
}

.policy-page section {
  padding-top: 30px;
  border-top: 1px solid rgba(107, 118, 132, 0.16);
}

.policy-page section + section {
  margin-top: 30px;
}

.policy-page h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.policy-page p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.policy-page p + p {
  margin-top: 14px;
}

.policy-page a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(25, 31, 40, 0.35);
}

.policy-page a:hover {
  border-bottom-color: rgba(25, 31, 40, 0.7);
}

.wide-image {
  aspect-ratio: 1.7;
}

.closing-line {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: -0.04em;
}

.site-footer a {
  text-decoration: none;
  border-bottom: 1px solid rgba(107, 118, 132, 0.35);
}

.site-footer a:hover {
  color: var(--ink);
  border-bottom-color: rgba(25, 31, 40, 0.5);
}

.site-footer {
  background: #ffffff;
}

.site-footer p {
  margin: 0;
  font-size: 1.35rem;
  color: var(--muted);
}

@media (max-width: 920px) {
  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 36px;
  }

  .device-stack {
    min-height: 560px;
  }

  .device-card-main {
    right: 0;
  }

  .section-copy h2,
  .hero h1,
  .hero-text,
  .section-text {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--max-width));
    padding-top: 18px;
  }

  .site-header {
    margin-bottom: 24px;
  }

  .header-note {
    display: none;
  }

  .hero,
  .intro-band,
  .split-section,
  .feed-highlight,
  .policy-page,
  .site-footer {
    min-height: auto;
    padding: 28px;
    margin-bottom: 16px;
  }

  .device-stack {
    min-height: 440px;
  }

  .device-card {
    width: min(100%, 280px);
  }

  .intro-band p,
  .step p,
  .closing-line {
    font-size: 1.2rem;
  }

  .gallery-pair {
    grid-template-columns: 1fr;
  }
}
