:root {
  --lavender: #c8b6e2;
  --mist: #e8dff5;
  --mint: #a8dadc;
  --seafoam: #bee7e8;
  --cream: #fff1d6;
  --sand: #f3e2c0;
  --coral: #ffb4a2;
  --blush: #ffcdb2;
  --ink: #4a4458;
  --ink-soft: #837b96;
  --eyebrow: #75658e;
  --paper: #fffdf9;
  --night-ink: #fff6e3;
  --night-soft: #cbc3e3;
  --night: #2e2a4f;
  --radius: 24px;
  color-scheme: light;
  font-family: -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  word-break: keep-all;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, audio { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a:focus-visible { outline: 2px solid var(--lavender); outline-offset: 4px; border-radius: 6px; }

.skip-link {
  position: fixed; z-index: 20; top: 10px; left: 10px;
  padding: 10px 16px; color: var(--ink); background: var(--paper);
  border-radius: 20px; transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

/* ── Hero ── */
.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--night-ink);
  background: var(--night);
}
#night-sea { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; }
.hero::after {
  position: absolute; z-index: -1; inset: 0; content: "";
  background: radial-gradient(circle at 50% 40%, transparent 0 22%, rgb(26 23 50 / .2) 80%);
  pointer-events: none;
}
.hero-nav {
  position: absolute; top: 0; left: 50%;
  display: flex; width: min(100% - 36px, 1120px);
  padding-top: max(20px, env(safe-area-inset-top));
  align-items: center; justify-content: space-between;
  color: var(--night-soft); font-size: .85rem;
  transform: translateX(-50%);
}
.hero-nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.hero-nav a:hover { color: var(--night-ink); }
.hero-links { display: flex; gap: 20px; }
.mini-brand { color: var(--night-ink); font-weight: 700; letter-spacing: .04em; }
.hero-content {
  display: grid;
  width: min(100% - 32px, 760px);
  padding: 110px 0 140px;
  place-items: center;
  text-align: center;
}
.hero-kicker {
  margin-bottom: 18px; padding: 6px 14px;
  color: var(--night-soft); font-size: .8rem; letter-spacing: .06em;
  border: 1px solid rgb(255 246 227 / .25); border-radius: 99px;
  background: rgb(255 253 249 / .06);
}
.hero-title {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 6.4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.045em;
  text-shadow: 0 3px 22px rgb(20 17 42 / .45);
}
.hero-line {
  margin: clamp(16px, 3vh, 26px) 0 0;
  color: var(--night-soft);
  font-size: clamp(.98rem, 3.6vw, 1.15rem);
  line-height: 1.75;
  text-shadow: 0 2px 16px rgb(22 19 46 / .4);
}
.store-row {
  display: grid;
  width: min(100%, 390px);
  margin-top: clamp(26px, 5vh, 40px);
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}
.store-badge {
  display: block; min-height: 60px; padding: 9px 12px;
  color: var(--night-ink); text-align: center; text-decoration: none;
  background: rgb(255 253 249 / .12);
  border: 1px solid rgb(255 246 227 / .34);
  border-radius: 17px;
  backdrop-filter: blur(12px);
  transition: background .2s ease, transform .2s ease;
}
a.store-badge:hover { background: rgb(255 253 249 / .22); transform: translateY(-2px); }
.store-badge.is-disabled { opacity: .7; cursor: not-allowed; }
.store-badge span, .store-badge strong { display: block; }
.store-badge span { color: var(--night-soft); font-size: .66rem; }
.store-badge strong { margin-top: 1px; font-size: .95rem; font-weight: 650; }
.scroll-cue {
  position: absolute; bottom: max(20px, env(safe-area-inset-bottom)); left: 50%;
  display: grid; width: 44px; height: 44px; place-items: center;
  color: var(--night-ink); text-decoration: none;
  border: 1px solid rgb(255 246 227 / .3); border-radius: 50%;
  transform: translateX(-50%);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* ── Section shell ── */
.section { padding: clamp(56px, 7vw, 96px) max(20px, calc((100vw - 1120px) / 2)); }
.section-heading { max-width: 680px; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.eyebrow { margin: 0 0 8px; color: var(--eyebrow); font-size: .78rem; font-weight: 700; letter-spacing: .13em; }
.section h2 {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 6vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.045em;
}
.section-heading > p:last-child { margin: 0 auto; color: var(--ink-soft); font-size: clamp(.98rem, 3vw, 1.1rem); }
.section h3 { margin-bottom: 4px; font-size: 1.05rem; font-weight: 700; }

/* ── Phones ── */
.phone {
  width: min(66vw, 250px);
  margin: 0 auto;
  padding: 8px;
  background: #28243e;
  border: 1px solid rgb(255 255 255 / .42);
  border-radius: 34px;
  box-shadow: 0 24px 55px rgb(56 46 79 / .2);
}
.phone img { width: 100%; height: auto; background: var(--mist); border-radius: 27px; }
.phone-wide { width: min(74vw, 290px); }

/* CSS mockups for screens that changed in v0.2.0 */
.mock-screen {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  aspect-ratio: 540 / 1200;
  padding: 16% 10% 10%;
  overflow: hidden;
  border-radius: 27px;
}
.mock-title { margin-bottom: 6px; font-size: .82rem; font-weight: 700; }
.mock-sub { align-self: flex-start; margin: 10px 0 6px; font-size: .7rem; color: var(--ink-soft); }
.mock-record .mock-screen { background: linear-gradient(180deg, var(--mist), var(--paper)); }
.mock-timer { margin: 18% 0 8%; font-size: 1.6rem; font-weight: 300; font-variant-numeric: tabular-nums; }
.mock-timer span { font-size: .8rem; color: var(--ink-soft); }
.wave-bars { display: flex; align-items: center; gap: 4px; height: 70px; }
.wave-bars i { width: 5px; height: 36px; border-radius: 3px; background: var(--lavender); animation: bar 1.1s ease-in-out infinite; }
.wave-bars i:nth-child(3n) { background: var(--mint); animation-delay: -.3s; }
.wave-bars i:nth-child(3n+1) { height: 20px; animation-delay: -.6s; }
.wave-bars i:nth-child(5n) { height: 54px; }
.wave-bars i:nth-child(4n) { background: var(--coral); animation-delay: -.8s; }
@keyframes bar { 0%, 100% { height: 14px; } 50% { height: 62px; } }
.mock-chips { display: flex; gap: 6px; margin-top: 12%; }
.mock-chips span { padding: 2px 10px; font-size: .68rem; background: var(--paper); border: 1px solid var(--lavender); border-radius: 99px; }
.rec-button {
  width: 58px; height: 58px; margin-top: auto;
  background: var(--coral); border: 6px solid #ffe3da; border-radius: 50%;
  box-shadow: 0 0 0 8px rgb(255 180 162 / .2);
}
.mock-sea .mock-screen { color: var(--night-ink); background: linear-gradient(180deg, #a9d3f5 0 38%, #8fd0ce 38% 60%, #6fb8b8); }
.mock-sea .mock-title { color: #2f5566; }
.mock-tabs { display: flex; gap: 4px; padding: 3px; background: rgb(255 255 255 / .5); border-radius: 99px; font-size: .64rem; color: #2f5566; }
.mock-tabs span { padding: 1px 10px; border-radius: 99px; }
.mock-tabs .on { background: var(--paper); }
.bottle {
  position: absolute; width: 16px; height: 30px;
  background: rgb(255 255 255 / .75); border: 2px solid rgb(255 255 255 / .9); border-radius: 6px 6px 8px 8px;
  animation: float 3.2s ease-in-out infinite;
}
.bottle::before { content: ""; position: absolute; top: -8px; left: 3px; width: 6px; height: 6px; background: #b38b6d; border-radius: 2px; }
.bottle.glow { box-shadow: 0 0 16px 6px rgb(255 223 160 / .8); }
.b1 { top: 40%; left: 22%; transform: rotate(-12deg); }
.b2 { top: 48%; left: 58%; animation-delay: -1s; }
.b3 { top: 60%; left: 34%; animation-delay: -2s; width: 20px; height: 38px; }
.b4 { top: 66%; left: 72%; animation-delay: -.5s; width: 22px; height: 40px; }
@keyframes float { 50% { translate: 0 -6px; rotate: 8deg; } }
.mock-waves {
  position: absolute; left: 0; right: 0; bottom: 0; height: 26%;
  background: radial-gradient(40px 14px at 20px 0, transparent 98%, #5aa3a6 100%) repeat-x;
  background-size: 40px 100%;
  opacity: .55;
}
.throw-button {
  position: relative; margin-top: auto; padding: 8px 20px;
  font-size: .75rem; font-weight: 700; color: var(--ink);
  background: var(--coral); border-radius: 99px;
}
.mock-echo .mock-screen { background: linear-gradient(180deg, var(--cream), var(--paper)); }
.echo-card {
  display: flex; align-items: center; gap: 8px; width: 100%;
  margin-top: 8px; padding: 10px;
  background: var(--paper); border: 1px solid #eadcc4; border-radius: 14px;
}
.echo-card.main { margin-top: 14%; padding: 16px 12px; background: var(--mist); border-color: var(--lavender); }
.echo-card b { display: grid; width: 24px; height: 24px; flex-shrink: 0; place-items: center; font-size: .55rem; color: var(--paper); background: var(--eyebrow); border-radius: 50%; }
.echo-card .line { flex: 1; height: 6px; background: repeating-linear-gradient(90deg, var(--lavender) 0 3px, transparent 3px 5px); border-radius: 3px; }
.echo-card .line.short { flex: .6; }
.reactions { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-top: 10px; font-size: .62rem; }
.reactions span { padding: 1px 6px; background: var(--paper); border: 1px solid var(--line, #eee6f5); border-radius: 99px; }

/* ── Journey ── */
.flow { background: linear-gradient(180deg, var(--paper), #f9f5ff); }
.steps { display: grid; max-width: 1040px; margin: 0 auto; gap: clamp(36px, 4vw, 48px); }
.step { display: grid; gap: 22px; align-items: start; text-align: center; }
.step-text { max-width: 300px; margin: 0 auto; }
.step-text span { color: #8b74a7; font-size: .72rem; font-weight: 700; letter-spacing: .16em; }
.step-text h3 { margin: 3px 0 6px; font-size: 1.4rem; }
.step-text p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ── Seas ── */
.seas { background: #f5fbfb; }
.sea-grid { display: grid; max-width: 1040px; margin: 0 auto; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.sea-grid li {
  position: relative; overflow: hidden;
  padding: 20px 18px 18px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--glow) 55%, white), var(--paper));
  border: 1px solid color-mix(in srgb, var(--sea) 40%, white);
  border-radius: 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.sea-grid li::before {
  content: ""; display: block; width: 14px; height: 14px; margin-bottom: 10px;
  background: var(--sea); border-radius: 50%;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--glow) 50%, transparent);
}
.sea-grid li:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgb(74 68 88 / .08); }
.sea-grid h3 { font-size: 1.1rem; }
.sea-grid p { margin: 0; color: var(--ink-soft); font-size: .86rem; line-height: 1.55; }

/* ── Globe ── */
.globe { color: var(--night-ink); background: linear-gradient(160deg, #2e2a4f, #4a4275); }
.globe .eyebrow { color: var(--night-soft); }
.globe-split { display: grid; max-width: 1000px; margin: 0 auto; gap: 40px; align-items: center; }
.globe-copy p:last-child { color: var(--night-soft); }
.globe-art { display: grid; place-items: center; }
.planet {
  position: relative;
  width: min(72vw, 320px); aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgb(255 255 255 / .35), transparent 38%),
    radial-gradient(circle at 70% 60%, #6fb8b8, transparent 45%),
    radial-gradient(circle at 30% 70%, #a78fd0, transparent 40%),
    linear-gradient(160deg, #8fd0ce, #4d6884);
  box-shadow: 0 0 60px 10px rgb(168 218 220 / .25), inset -24px -30px 60px rgb(20 17 42 / .45);
}
.marker { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--c, var(--coral)); box-shadow: 0 0 12px 4px var(--c, var(--coral)); animation: pulse 2.6s ease-in-out infinite; }
.m1 { top: 42%; left: 38%; --c: #ffb4a2; }
.m2 { top: 70%; left: 55%; --c: #c8b6e2; animation-delay: -.7s; }
.m3 { top: 30%; left: 64%; --c: #ffdfa0; animation-delay: -1.3s; }
.m4 { top: 56%; left: 22%; --c: #a9d3f5; animation-delay: -2s; }
.me { top: 50%; left: 50%; width: 16px; height: 16px; --c: #fff6e3; }
@keyframes pulse { 50% { opacity: .55; transform: scale(.8); } }

/* ── Cards ── */
.bottles { background: var(--paper); }
.card-grid { display: grid; max-width: 1040px; margin: 0 auto; gap: 12px; }
.kind-card {
  padding: 22px;
  background: var(--paper);
  border: 1px solid #ece4f5;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgb(74 68 88 / .05);
}
.kind-card p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.kind-icon { display: grid; width: 44px; height: 44px; margin-bottom: 12px; place-items: center; font-size: 1.3rem; background: var(--cream); border-radius: 50%; }

/* ── Echoes ── */
.echoes { background: linear-gradient(180deg, #fbf5e9, var(--paper)); }
.growth { display: grid; max-width: 820px; margin: 0 auto; gap: 12px; grid-template-columns: repeat(2, 1fr); counter-reset: g; }
.growth li { display: grid; justify-items: center; gap: 10px; padding: 20px 12px; text-align: center; background: var(--paper); border: 1px solid #eadcc4; border-radius: 20px; }
.growth h3 { margin: 0; font-size: .98rem; }
.growth-dot { width: 46px; height: 46px; border-radius: 50%; background: var(--c); box-shadow: 0 0 18px 4px var(--c); }
.reaction-row { display: flex; justify-content: center; gap: 10px; margin: 28px 0 0; font-size: 1.6rem; }
.reaction-row span { display: grid; width: 54px; height: 54px; place-items: center; background: var(--paper); border: 1px solid #eadcc4; border-radius: 50%; }

/* ── Island ── */
.island { background: linear-gradient(180deg, #f1ecfa, #fbf5e9); }
.island-split { display: grid; max-width: 1000px; margin: 0 auto; gap: 36px; align-items: center; }
.feature-list { display: grid; gap: 10px; }
.feature-list li { padding: 16px 18px; background: rgb(255 253 249 / .85); border: 1px solid #e3d8ef; border-radius: 18px; }
.feature-list p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.island-pair { display: grid; max-width: 700px; margin: clamp(40px, 6vw, 64px) auto 0; gap: 32px; grid-template-columns: repeat(2, 1fr); }
.island-pair figure { margin: 0; }
.island-pair .phone { width: 100%; max-width: 250px; }
.island-pair figcaption { margin-top: 14px; color: var(--ink-soft); font-size: .88rem; text-align: center; }

/* ── Bond ── */
.bond { background: var(--paper); }
.letters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; max-width: 700px; margin: 0 auto 36px; }
.letters li {
  display: grid; min-width: 44px; height: 44px; padding: 0 12px; place-items: center;
  font-size: .85rem; font-weight: 700; color: var(--eyebrow);
  background: var(--mist); border-radius: 12px;
}
.letters .reveal-name { color: var(--ink); background: var(--coral); box-shadow: 0 6px 18px rgb(255 180 162 / .5); }

/* ── Listen / audio ── */
.listen { background: #f5fbfb; }
.audio-section { background: var(--mist); }
.audio-grid { display: grid; max-width: 920px; margin: 0 auto; gap: 14px; }
.audio-card { padding: 22px; background: rgb(255 253 249 / .8); border: 1px solid rgb(200 182 226 / .55); border-radius: var(--radius); }
.audio-card > span { display: grid; width: 42px; height: 42px; margin-bottom: 12px; place-items: center; color: #6e5f83; background: var(--cream); border-radius: 50%; font-size: 1.3rem; }
.audio-card h3 { margin-bottom: 14px; font-size: 1rem; }
.audio-card audio { display: block; width: 100%; height: 42px; }

/* ── CTA / footer ── */
.cta { display: grid; place-items: center; text-align: center; color: var(--night-ink); background: linear-gradient(160deg, #4a4275, #6b5d96); }
.cta h2 { margin: 0; }
.footer {
  padding: 64px 20px max(50px, env(safe-area-inset-bottom));
  color: var(--night-soft); background: #292542; text-align: center;
}
.footer-brand { margin-bottom: 4px; color: var(--night-ink); font-size: 1.15rem; font-weight: 700; letter-spacing: .04em; }
.footer > p:nth-child(2) { margin-bottom: 26px; font-size: .85rem; }
.footer nav { display: flex; max-width: 680px; margin: 0 auto 20px; gap: 6px 20px; flex-wrap: wrap; justify-content: center; }
.footer nav a { display: inline-flex; min-height: 36px; align-items: center; }
.footer a { font-size: .8rem; text-underline-offset: 3px; }
.footer-meta { margin: 4px 0 0; font-size: .8rem; }

/* ── Reveal ── */
.is-pending { opacity: 0; transform: translateY(24px); }
.is-visible { opacity: 1; transform: none; transition: opacity 700ms ease, transform 700ms ease; }

@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .sea-grid { grid-template-columns: repeat(5, 1fr); }
  .globe-split { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: repeat(4, 1fr); }
  .card-grid.three { grid-template-columns: repeat(3, 1fr); }
  .growth { grid-template-columns: repeat(4, 1fr); }
  .island-split { grid-template-columns: auto 1fr; }
  .audio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 720px) and (max-width: 980px) {
  .sea-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero-links { gap: 14px; }
  .hero-links a:last-child { display: none; }
  .island-pair { gap: 16px; }
  .reaction-row { gap: 6px; }
  .reaction-row span { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .is-pending, .is-visible { opacity: 1; transform: none; transition: none; }
}
