@font-face {
  font-family: "Pretendard";
  src: url("../fonts/PretendardVariable.woff2") format("woff2-variations");
  font-weight: 45 920;
  font-display: swap;
}

:root {
  --paper: #F7F0E2;
  --ivory: #FFFDF8;
  --graphite: #26231E;
  --fjord: #466267;
  --harvest: #A65335;
  --leaf: #647A45;
  --sand: #DED2BC;
  --taupe: #6F6658;
  --soft-blue: #DCE5E3;
  --font-sans: "Pretendard", system-ui, sans-serif;
  --shell: 1120px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-space: clamp(80px, 10vw, 136px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.018em;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--harvest);
  outline-offset: 4px;
}

::selection { background: var(--fjord); color: var(--ivory); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--graphite);
  color: var(--ivory);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(111, 102, 88, 0.22);
  background: rgba(247, 240, 226, 0.95);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link img { width: 138px; height: auto; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0 8px 12px;
  border: 0;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}
.menu-toggle svg { width: 22px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.7; }

.site-nav {
  position: absolute;
  top: 70px;
  right: 0;
  left: 0;
  display: none;
  padding: 16px var(--gutter) 24px;
  border-bottom: 1px solid var(--sand);
  background: var(--paper);
}
.site-nav[data-open="true"] { display: grid; }
.site-nav a { padding: 13px 0; border-bottom: 1px solid rgba(222, 210, 188, 0.72); font-size: 0.94rem; font-weight: 650; }
.site-nav .nav-action { margin-top: 10px; padding: 12px 18px; border: 1px solid var(--graphite); text-align: center; }

.eyebrow {
  margin-bottom: 14px;
  color: var(--harvest);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.hero { padding: clamp(58px, 8vw, 104px) 0 var(--section-space); }
.hero-layout { display: grid; align-items: center; gap: 54px; }
.hero-copy { max-width: 620px; }
.hero h1 {
  font-size: clamp(2.8rem, 10vw, 5.5rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  word-break: keep-all;
}
.hero-lede { max-width: 38ch; margin-top: 26px; color: var(--taupe); font-size: clamp(1.05rem, 2vw, 1.2rem); line-height: 1.72; word-break: keep-all; }
.duration-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.duration-list span { padding: 8px 14px; border: 1px solid var(--sand); border-radius: 999px; background: rgba(255,253,248,0.58); font-size: 0.9rem; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid var(--graphite); font-weight: 750; }
.button-primary { background: var(--graphite); color: var(--ivory); }
.button-primary:hover { background: var(--fjord); border-color: var(--fjord); }
.button-secondary:hover { background: var(--ivory); }
.release-note { margin-top: 12px; color: var(--taupe); font-size: 0.86rem; }
.hero-product { display: grid; justify-items: center; }
.product-caption { max-width: 280px; margin-top: 18px; color: var(--taupe); font-size: 0.88rem; text-align: center; word-break: keep-all; }

.phone-frame {
  width: min(100%, 270px);
  aspect-ratio: 390 / 844;
  overflow: hidden;
  border: 7px solid var(--graphite);
  border-radius: 30px;
  background: var(--ivory);
  box-shadow: 0 20px 48px rgba(38, 35, 30, 0.15);
}
.phone-frame img { display: block; width: 100%; height: auto; }
.phone-frame-hero { width: min(78vw, 300px); }
.phone-frame-step { width: min(70vw, 244px); }
.phone-frame-small { width: min(42vw, 226px); }
.phone-frame-community { width: min(70vw, 286px); }

.film { padding: 0 0 var(--section-space); }
.film-shell { max-width: 1024px; }
.film-video {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  border: 1px solid var(--sand);
  border-radius: 22px;
  background: var(--graphite);
  box-shadow: 0 20px 48px rgba(38, 35, 30, 0.12);
}
.film-video-portrait { display: none; }
.inline-film { max-width: 1024px; margin: clamp(48px, 7vw, 88px) auto 0; }

.journey, .features, .companions, .trust, .download { padding: var(--section-space) 0; }
.journey { border-top: 1px solid var(--sand); background: var(--ivory); }
.section-heading { max-width: 680px; margin-bottom: clamp(40px, 6vw, 72px); text-align: left; }
.section-heading h2, .companions h2, .trust h2, .download h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.16;
  letter-spacing: -0.045em;
  word-break: keep-all;
}
.section-heading > p:last-child { margin-top: 16px; color: var(--taupe); font-size: 1.05rem; }

.steps { display: grid; gap: 24px; }
.step-card {
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 34px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--sand);
  border-radius: 26px;
  background: var(--paper);
}
.step-copy { width: 100%; max-width: 480px; text-align: left; }
.step-number {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--fjord);
  color: var(--ivory);
  font-size: 0.92rem;
  font-weight: 800;
}
.step-copy h3, .feature-grid h3, .showcase-copy h3, .trust-points h3 { font-size: clamp(1.35rem, 3vw, 1.8rem); line-height: 1.25; letter-spacing: -0.035em; }
.step-copy > p, .feature-grid p, .showcase-copy p, .trust-points p { margin-top: 12px; color: var(--taupe); word-break: keep-all; }
.detail-list { display: grid; gap: 8px; margin-top: 24px; }
.detail-list li { position: relative; padding-left: 18px; color: var(--fjord); font-size: 0.94rem; font-weight: 650; }
.detail-list li::before { position: absolute; top: 0.68em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--harvest); content: ""; }

.features { background: var(--paper); }
.feature-grid { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--sand); border-radius: 22px; background: var(--sand); }
.feature-grid article { min-height: 190px; padding: 28px; background: var(--ivory); text-align: left; }
.feature-showcase, .community-preview {
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 34px;
  margin-top: 28px;
  padding: clamp(28px, 5vw, 52px);
  border-radius: 24px;
  background: var(--soft-blue);
}
.community-preview { background: #E9E0D0; }
.showcase-copy { width: 100%; max-width: 420px; text-align: left; }
.showcase-label { margin-bottom: 12px; color: var(--harvest); font-size: 0.8rem; font-weight: 750; letter-spacing: 0.02em; }
.showcase-points { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid rgba(70, 98, 103, 0.22); }
.showcase-points li { position: relative; padding: 13px 0 13px 20px; border-bottom: 1px solid rgba(70, 98, 103, 0.22); color: var(--fjord); font-size: 0.92rem; font-weight: 700; }
.showcase-points li::before { position: absolute; top: 1.25rem; left: 1px; width: 7px; height: 7px; border: 2px solid var(--harvest); border-radius: 50%; content: ""; }
.phone-pair { display: flex; width: 100%; align-items: flex-start; justify-content: center; gap: clamp(12px, 3vw, 28px); }

.companions { border-top: 1px solid var(--sand); background: var(--ivory); }
.companions-layout { display: grid; align-items: center; gap: 52px; }
.companions-copy { max-width: 520px; text-align: left; }
.companions-copy > p:last-of-type { margin-top: 20px; color: var(--taupe); word-break: keep-all; }
.character-roles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.character-roles div { display: flex; gap: 8px; padding: 9px 13px; border: 1px solid var(--sand); border-radius: 999px; }
.character-roles dt { font-weight: 750; }
.character-roles dd { color: var(--taupe); }
.companions-scene { width: min(100%, 520px); margin-inline: auto; }
.companions-scene img { display: block; width: 100%; height: auto; object-fit: contain; }
.companions-scene figcaption { margin-top: 14px; color: var(--taupe); font-size: 0.84rem; text-align: center; }

.trust { background: var(--fjord); color: var(--ivory); }
.trust .eyebrow { color: #F0BE9E; }
.trust-layout { display: grid; gap: 48px; }
.trust-points { display: grid; gap: 26px; }
.trust-points article { padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.22); text-align: left; }
.trust-points p { color: rgba(255,255,255,0.72); }
.text-link { justify-self: start; border-bottom: 1px solid currentColor; font-weight: 700; }

.download { background: var(--paper); }
.download-card { display: grid; justify-items: center; max-width: 860px; text-align: center; }
.download-symbol { width: 70px; height: auto; margin-bottom: 24px; }
.download-card > p { margin-top: 14px; color: var(--taupe); }
.store-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.store-badge { min-width: 180px; padding: 13px 20px; border: 1px solid var(--graphite); border-radius: 12px; background: var(--ivory); }
.store-badge span, .store-badge strong { display: block; }
.store-badge span { font-size: 0.78rem; }
.store-badge strong { margin-top: 2px; }
.store-badge-live { background: var(--graphite); color: var(--ivory); }
.store-badge-live:hover { background: var(--fjord); border-color: var(--fjord); }
.store-badge-upcoming { border-color: var(--sand); color: var(--taupe); }
.store-status { min-height: 1.5em; font-size: 0.86rem; }

.site-footer { padding: 48px 0; border-top: 1px solid var(--sand); background: var(--ivory); }
.footer-grid { display: grid; gap: 32px; }
.footer-grid img { width: 132px; height: auto; }
.footer-grid > div:first-child p { margin-top: 12px; color: var(--taupe); font-size: 0.9rem; }
.footer-grid nav { display: grid; gap: 8px; justify-items: start; font-size: 0.92rem; font-weight: 650; }
.footer-company { display: grid; gap: 4px; color: var(--taupe); font-size: 0.88rem; }
.footer-company p { color: var(--graphite); font-weight: 700; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
[data-reveal][data-visible="true"] { opacity: 1; transform: none; }

@media (max-width: 699px) {
  .film-video-wide { display: none; }
  .film-video-portrait { display: block; max-width: 420px; margin-inline: auto; }
}

@media (min-width: 700px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card { grid-template-columns: minmax(0, 1fr) 250px; justify-items: start; }
  .feature-showcase, .community-preview { grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr); justify-items: start; gap: clamp(40px, 6vw, 72px); }
  .phone-pair { justify-content: flex-end; }
  .community-preview .phone-frame { justify-self: center; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

@media (min-width: 900px) {
  .menu-toggle { display: none; }
  .site-nav { position: static; display: flex; align-items: center; gap: 28px; padding: 0; border: 0; background: transparent; }
  .site-nav a { padding: 8px 0; border: 0; }
  .site-nav .nav-action { margin: 0; padding: 9px 16px; }
  .hero-layout { grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr); gap: 88px; }
  .hero-product { justify-self: center; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-card { grid-template-columns: minmax(0, 1fr) 190px; min-height: 520px; padding: 38px; }
  .phone-frame-step { width: 190px; }
  .companions-layout { grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr); gap: 80px; }
  .trust-layout { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
