:root {
  color-scheme: light;
  --ink: #111111;
  --secondary: #374151;
  --muted: #6b7280;
  --paper: #ffffff;
  --chrome: #f6f7f9;
  --surface-low: #f3f4f6;
  --line: #e5e7eb;
  --warm: #fff1dc;
  --accent: #e25514;
  --page-gap: clamp(20px, 5vw, 72px);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); word-break: keep-all; overflow-wrap: anywhere; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.wrap { width: min(calc(100% - 2 * var(--page-gap)), 1120px); margin-inline: auto; }
.skip { position: absolute; z-index: 5; left: 1rem; top: 0; transform: translateY(-140%); background: var(--paper); padding: 12px 18px; }
.skip:focus { transform: translateY(4px); }

/* Header */
header { border-bottom: 1px solid var(--line); }
.bar, .brand, nav, .primary, .store-actions, .store-btn, .footer-meta, .footer-links { display: flex; align-items: center; }
.bar { justify-content: space-between; min-height: 76px; gap: 16px; }
.brand { gap: 8px; min-height: 44px; }
.mark { width: 29px; height: auto; }
.wordmark { width: 126px; height: auto; }
nav { gap: clamp(14px, 2.4vw, 24px); }
nav a { display: inline-flex; align-items: center; min-height: 40px; font-size: .9rem; font-weight: 600; color: var(--secondary); }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }
nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
nav a:not(.nav-cta):hover, .footer-links a:hover, .inline-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-cta {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 99px;
  background: var(--ink);
  color: var(--paper);
  font-size: .86rem;
  font-weight: 650;
  transition: background-color .18s ease;
}
.nav-cta:hover { background: var(--secondary); color: var(--paper); }

/* Shared Buttons & Equal-Prominence Store Badges */
.primary {
  display: inline-flex;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 99px;
  background: var(--ink);
  color: var(--paper);
  font-size: .94rem;
  font-weight: 650;
  letter-spacing: -.015em;
  transition: background-color .18s ease;
}
.primary:hover { background: var(--secondary); }

.store-actions { gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.store-actions.centered { justify-content: center; }
.store-btn {
  gap: 11px;
  min-width: 184px;
  height: 54px;
  padding: 0 20px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid rgb(255 255 255 / 10%);
  box-shadow: 0 8px 20px -10px rgb(17 17 17 / 38%);
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.store-btn:hover {
  background: #23262c;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -10px rgb(17 17 17 / 44%);
}
.store-logo {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.store-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.12;
  text-align: left;
}
.store-label small {
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: rgb(255 255 255 / 78%);
}
.store-label strong {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-top: 1px;
}

/* Top & Bottom Sandwich Archive Strip Hero (3:7 Calm Slow Horizontal Marquee) */
.hero-sandwich {
  position: relative;
  overflow: hidden;
  width: min(100%, 1920px);
  margin-inline: auto;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marquee-band {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  pointer-events: none;
  user-select: none;
  --strip-gap: 24px;
}
.marquee-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.band-top {
  height: clamp(104px, 13vh, 128px);
  align-items: flex-end;
  padding-bottom: 14px;
}
.band-top::after {
  background:
    linear-gradient(180deg, rgb(255 255 255 / 34%) 0%, rgb(255 255 255 / 0%) 24%, rgb(255 255 255 / 76%) 82%, var(--paper) 100%),
    linear-gradient(90deg, var(--paper) 0%, rgb(255 255 255 / 0%) 9%, rgb(255 255 255 / 0%) 91%, var(--paper) 100%);
}

.band-bottom {
  height: clamp(304px, 38.5vh, 352px);
  align-items: flex-start;
  padding-top: 10px;
}
.band-bottom::after {
  background:
    linear-gradient(0deg, var(--paper) 0%, rgb(255 255 255 / 0%) 16%, rgb(255 255 255 / 0%) 100%),
    linear-gradient(90deg, var(--paper) 0%, rgb(255 255 255 / 0%) 7%, rgb(255 255 255 / 0%) 93%, var(--paper) 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.track-top {
  opacity: .78;
  animation: marquee-left 148s linear -16s infinite;
}
.track-bottom {
  animation: marquee-right 120s linear -12.2s infinite;
}

.marquee-group {
  display: flex;
  flex-shrink: 0;
  gap: var(--strip-gap);
  padding-right: var(--strip-gap);
}
.band-top .marquee-group { align-items: flex-end; }
.band-bottom .marquee-group { align-items: flex-start; }

.exhibit-print {
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgb(17 17 17 / 8%);
  box-shadow: 0 22px 44px -20px rgb(17 17 17 / 18%), 0 4px 12px rgb(17 17 17 / 5%);
}
.exhibit-print img {
  width: 100%;
  height: auto;
  display: block;
}

.band-top .exhibit-print {
  width: clamp(176px, 14.5vw, 212px);
  box-shadow: 0 16px 32px -18px rgb(17 17 17 / 14%), 0 2px 8px rgb(17 17 17 / 4%);
}
.band-bottom .exhibit-print {
  width: clamp(208px, 16.4vw, 236px);
}

.st-a { transform: translateY(10px); }
.st-b { transform: translateY(-6px); }
.st-c { transform: translateY(4px); }

.sb-a { transform: translateY(0); }
.sb-b { transform: translateY(16px); }
.sb-c { transform: translateY(4px); }
.sb-d { transform: translateY(18px); }

@keyframes marquee-left {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@keyframes marquee-right {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

.hero-center {
  position: relative;
  z-index: 3;
  max-width: 640px;
  text-align: center;
  padding: clamp(18px, 3vh, 32px) var(--page-gap) clamp(24px, 4vh, 42px);
}
.hero-mark {
  width: clamp(34px, 3vw, 42px);
  height: auto;
  margin: 0 auto clamp(14px, 1.8vh, 18px);
}
h1 {
  font-size: clamp(34px, 4.1vw, 54px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.052em;
}
.hero-sub {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(15.5px, 1.3vw, 18.5px);
  line-height: 1.65;
  letter-spacing: -.02em;
  font-weight: 500;
  text-wrap: balance;
}
.hero-center .store-actions { margin-top: 26px; }

/* Main Story Flow (4 quiet sections) */
.story {
  padding-block: clamp(56px, 7.5vw, 108px);
  border-top: 1px solid var(--line);
  display: grid;
  gap: clamp(64px, 9vw, 124px);
}
.story-row {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(28px, 5.5vw, 80px);
}
.story-row.reverse {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
}
@media (min-width: 861px) {
  .story-row.reverse .story-copy { order: 2; }
  .story-row.reverse .story-stage { order: 1; }
}
.story-copy { min-width: 0; max-width: 456px; }
.story-copy h2 {
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.26;
  font-weight: 750;
  letter-spacing: -.048em;
}
.story-copy p {
  margin-top: 18px;
  color: var(--secondary);
  font-size: clamp(15.5px, 1.15vw, 17px);
  line-height: 1.78;
  letter-spacing: -.02em;
}

.story-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-items: center;
  min-width: 0;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(28px, 4vw, 52px) clamp(20px, 3vw, 36px);
}
.tone-cool { background: linear-gradient(155deg, #f5f7fa 0%, #ebeef3 100%); }
.tone-warm { background: linear-gradient(155deg, #fff8ee 0%, color-mix(in srgb, var(--warm) 60%, var(--chrome)) 100%); }
.tone-stone { background: linear-gradient(155deg, #f6f6f4 0%, #ecebe6 100%); }

.stage-phone {
  width: min(264px, 100%);
  border-radius: 12% / 5.52%;
}
.stage-phone img {
  width: 100%;
  height: auto;
  border: 2.5px solid var(--ink);
  border-radius: 12% / 5.52%;
  background: var(--paper);
  box-shadow: 0 22px 42px -18px rgb(17 17 17 / 26%), 0 6px 14px rgb(17 17 17 / 8%);
}

/* Supporting Features (Compact 3-column grid) */
.extras {
  padding-block: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line);
}
.extras-heading {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.3;
  font-weight: 750;
  letter-spacing: -.04em;
  margin-bottom: clamp(24px, 3.2vw, 36px);
}
.extras-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
}
.extra-card { min-width: 0; }
.extra-visual {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(280px, 28vw, 348px);
  border-radius: 22px;
  overflow: hidden;
  padding: 20px;
}
.extra-phone-visual {
  align-items: start;
  padding-block: 22px 0;
}
.extra-phone-visual img {
  width: min(192px, 68%);
  height: auto;
  border: 2px solid var(--ink);
  border-radius: 12% / 5.52%;
  background: var(--paper);
  box-shadow: 0 14px 28px -12px rgb(17 17 17 / 24%);
}

.extra-cards-visual { padding: 20px 14px; }
.mini-fan {
  width: 100%;
  max-width: 300px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
}
.mini-card {
  position: relative;
  min-width: 0;
  border-radius: 10px;
}
.mini-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgb(17 17 17 / 10%);
  box-shadow: 0 12px 24px -10px rgb(17 17 17 / 26%);
  background: var(--paper);
}
.mini-left { transform: translateX(16%) rotate(-6deg) scale(.94); z-index: 1; }
.mini-center { transform: translateY(-4px) scale(1.12); z-index: 2; }
.mini-right { transform: translateX(-16%) rotate(6deg) scale(.94); z-index: 1; }

.extra-card h3 {
  margin-top: 18px;
  font-size: 1.12rem;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -.03em;
}
.extra-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.65;
  letter-spacing: -.018em;
}

/* Footer & Download CTA */
footer {
  background: var(--chrome);
  border-top: 1px solid var(--line);
  scroll-margin-top: 20px;
}
.footer-inner { padding-block: clamp(48px, 6vw, 72px) 34px; }
.download-cta {
  text-align: center;
  padding-bottom: clamp(40px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}
.download-cta h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.28;
  font-weight: 750;
  letter-spacing: -.045em;
}
.download-cta p {
  margin-top: 10px;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.6;
  letter-spacing: -.02em;
}
.footer-meta {
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  font-size: .84rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.footer-links { gap: 20px; flex-wrap: wrap; }
.footer-links a { min-height: 36px; display: inline-flex; align-items: center; color: var(--secondary); font-weight: 500; }
.footer-meta.compact { padding-top: 0; }

/* Editorial doc pages (/support, /privacy) */
.doc-page {
  width: min(calc(100% - 2 * var(--page-gap)), 740px);
  margin-inline: auto;
  padding-block: clamp(36px, 5.5vw, 68px) clamp(56px, 8vw, 96px);
}
.doc-head { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.doc-head .eyebrow { margin-bottom: 10px; color: var(--muted); font-size: .86rem; font-weight: 650; }
.doc-head h1 { margin: 0 0 14px; font-size: clamp(30px, 4vw, 44px); line-height: 1.2; letter-spacing: -.05em; }
.doc-lead { color: var(--secondary); font-size: 1rem; line-height: 1.7; letter-spacing: -.02em; }
.doc-meta { margin-top: 14px; font-size: .84rem; color: var(--muted); }
.doc-section { padding-block: 28px; border-bottom: 1px solid var(--line); }
.doc-section:last-of-type { border-bottom: 0; padding-bottom: 0; }
.doc-section h2 { font-size: 1.25rem; line-height: 1.35; letter-spacing: -.035em; margin-bottom: 12px; }
.doc-section h3 { font-size: 1rem; line-height: 1.45; letter-spacing: -.02em; margin: 18px 0 6px; }
.doc-section p { color: var(--secondary); font-size: .95rem; line-height: 1.75; letter-spacing: -.015em; }
.doc-section p + p { margin-top: 12px; }
.doc-list { margin-top: 10px; padding-left: 20px; color: var(--secondary); font-size: .95rem; line-height: 1.75; letter-spacing: -.015em; }
.doc-list li + li { margin-top: 6px; }
.inline-link { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.contact-card {
  margin-top: 16px;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--chrome);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.contact-card .contact-label { font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.contact-card .contact-email { font-size: 1.08rem; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.contact-card .primary { margin-top: 0; gap: 10px; padding: 10px 20px; min-height: 44px; font-size: .88rem; }
.faq-list { display: grid; gap: 12px; margin-top: 14px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  background: var(--paper);
}
.faq-item h3 { margin: 0 0 8px; font-size: 1rem; font-weight: 700; color: var(--ink); }
.faq-item p { margin: 0; font-size: .93rem; line-height: 1.7; color: var(--secondary); }
.doc-table-wrap { overflow-x: auto; margin-top: 14px; }
.doc-table { width: 100%; border-collapse: collapse; font-size: .9rem; line-height: 1.6; }
.doc-table th, .doc-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-table th { width: 28%; color: var(--ink); font-weight: 650; background: var(--chrome); }
.doc-table td { color: var(--secondary); }

/* Responsive */
@media (max-width: 860px) {
  .marquee-band { --strip-gap: 16px; }
  .band-top { height: 94px; padding-bottom: 10px; }
  .band-top .exhibit-print { width: 152px; }
  .band-bottom { height: 268px; padding-top: 8px; }
  .band-bottom .exhibit-print { width: 184px; }
  .track-top { animation-duration: 112s; }
  .track-bottom { animation-duration: 94s; }
  .hero-center { padding: 20px 20px 26px; }
  .story-row, .story-row.reverse { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .story-copy { max-width: none; }
  .stage-phone { width: min(250px, 78%); }
  .extras-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .extra-visual { height: 320px; }
  .extra-phone-visual img { width: min(210px, 66%); }
}
@media (max-width: 760px) {
  .bar { min-height: 64px; }
  .mark { width: 25px; }
  .wordmark { width: 108px; }
  nav { gap: 12px; }
  nav a { font-size: .85rem; }
  .nav-cta { padding: 0 14px; min-height: 36px; font-size: .82rem; }
  .store-actions { margin-top: 24px; }
  .hero-center .store-actions { margin-top: 22px; }
  .footer-meta { align-items: flex-start; flex-direction: column; gap: 12px; }
  .contact-card { flex-direction: column; align-items: flex-start; }
  .doc-table th { width: 34%; }
}
@media (max-width: 560px) {
  .marquee-band { --strip-gap: 14px; }
  .band-top { height: 82px; padding-bottom: 8px; }
  .band-top .exhibit-print { width: 128px; border-radius: 10px; }
  .band-bottom { height: 238px; padding-top: 6px; }
  .band-bottom .exhibit-print { width: 158px; border-radius: 10px; }
  .sb-b { transform: translateY(10px); }
  .sb-d { transform: translateY(12px); }
  .track-top { animation-duration: 96s; }
  .track-bottom { animation-duration: 84s; }
  .hero-center { padding: 18px 18px 24px; }
  .band-top::after {
    background:
      linear-gradient(180deg, rgb(255 255 255 / 34%) 0%, rgb(255 255 255 / 0%) 24%, rgb(255 255 255 / 78%) 82%, var(--paper) 100%),
      linear-gradient(90deg, var(--paper) 0%, rgb(255 255 255 / 0%) 7%, rgb(255 255 255 / 0%) 93%, var(--paper) 100%);
  }
  .band-bottom::after {
    background:
      linear-gradient(0deg, var(--paper) 0%, rgb(255 255 255 / 0%) 16%, rgb(255 255 255 / 0%) 100%),
      linear-gradient(90deg, var(--paper) 0%, rgb(255 255 255 / 0%) 5%, rgb(255 255 255 / 0%) 95%, var(--paper) 100%);
  }
}
@media (max-width: 480px) {
  .store-btn { min-width: 158px; height: 50px; padding: 0 16px; gap: 9px; }
  .store-logo { width: 20px; height: 20px; }
  .store-label strong { font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track-top, .track-bottom { animation: none; width: 100%; justify-content: center; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .marquee-group { justify-content: center; padding-right: 0; }
  .primary, .nav-cta, .store-btn { transition: none; }
}

/* Shared Post Status Pages */
.post-status {
  display: grid;
  grid-template-rows: auto 1fr;
  max-width: 640px;
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding: 24px;
}
.post-status header { border: 0; }
.post-status main {
  display: grid;
  place-items: center;
  padding-block: 24px clamp(64px, 12vh, 112px);
  text-align: center;
}
.post-status-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--warm);
  color: var(--ink);
}
.post-status h1 {
  margin-block: 24px 10px;
  font-size: clamp(1.375rem, 4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.35;
}
.post-status p { color: var(--muted); font-size: .9375rem; line-height: 1.65; }
.post-status .primary { margin-top: 24px; }
