@font-face {
  font-family: "Fredoka";
  src: url("/assets/Fredoka-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --canvas: #080808;
  --ink: #0a0a0a;
  --surface: #121212;
  --raised: #1a1a1a;
  --pressed: #242424;
  --ivory: #f7f5f0;
  --muted: #b5b1a9;
  --dim: #817d76;
  --line: #292929;
  --line-strong: #424242;
  --cyan: #25d9f8;
  --cyan-dark: #12afcb;
  --cyan-muted: #10383f;
  --coral: #ff6257;
  --mint: #9fe3c8;
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  margin: 0;
  min-width: 320px;
  color: var(--ivory);
  background: var(--canvas);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  line-height: 1.5;
  word-break: keep-all;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.noise {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100vw - 28px));
  min-height: 68px;
  padding: 10px 12px 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 22px;
  background: rgba(13,13,13,.78);
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 44px rgba(0,0,0,.28);
}
.wordmark {
  color: var(--cyan);
  font-family: "Fredoka", ui-rounded, sans-serif;
  font-size: 30px;
  font-weight: 700;
  font-variation-settings: "wght" 700, "wdth" 108;
  letter-spacing: -1.4px;
  line-height: 1;
}
.desktop-nav { display: flex; gap: 32px; color: var(--muted); font-size: 14px; font-weight: 650; }
.desktop-nav a, .site-footer nav a { transition: color .2s ease; }
.desktop-nav a:hover, .site-footer nav a:hover { color: var(--cyan); }
.header-pill {
  padding: 12px 17px;
  border-radius: 13px;
  color: var(--ink);
  background: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}
.header-pill span { margin-left: 5px; }

.hero {
  min-height: 860px;
  padding: 158px 0 90px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 23px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .11em;
}
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(37,217,248,.12), 0 0 22px rgba(37,217,248,.8);
}
.hero h1, .section-heading h2, .pack-copy h2, .safe-copy h2, .final-cta h2 {
  margin: 0;
  font-size: clamp(46px, 5.2vw, 76px);
  line-height: 1.04;
  letter-spacing: -.065em;
  font-weight: 850;
}
h1 em, h2 em { color: var(--cyan); font-style: normal; }
.hero-description { margin: 30px 0 0; color: var(--muted); font-size: 18px; line-height: 1.72; }
.hero-actions { display: flex; gap: 12px; margin-top: 35px; }
.button {
  min-height: 54px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-radius: 16px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--cyan); box-shadow: 0 12px 40px rgba(37,217,248,.15); }
.button-primary:hover { background: #57e4fb; }
.button-ghost { border: 1px solid var(--line-strong); background: var(--surface); }
.button-ghost:hover { border-color: var(--dim); background: var(--raised); }
.micro-proof { display: flex; align-items: center; gap: 11px; margin-top: 28px; color: var(--dim); font-size: 12px; }
.micro-proof i { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }

.hero-stage { position: relative; min-height: 620px; display: grid; place-items: center; }
.phone {
  position: relative;
  z-index: 3;
  width: 340px;
  padding: 11px;
  border-radius: 48px;
  background: #050505;
  border: 1px solid #454545;
  box-shadow: 0 42px 100px rgba(0,0,0,.72), 0 0 0 7px #111, 0 0 0 8px #333;
  transform: rotate(2.6deg);
}
.phone::before { content: ""; display: block; padding-top: 190%; }
.phone-screen { position: absolute; inset: 13px; padding: 42px 19px 22px; overflow: hidden; border-radius: 37px; background: #090909; }
.phone-sensor { position: absolute; z-index: 4; top: 19px; left: 50%; width: 90px; height: 23px; transform: translateX(-50%); border-radius: 20px; background: #020202; }
.app-topbar { display: flex; justify-content: space-between; align-items: center; }
.mini-wordmark { color: var(--cyan); font: 700 25px/1 "Fredoka", sans-serif; letter-spacing: -1px; }
.topbar-icons { display: flex; gap: 14px; color: var(--ivory); font-size: 18px; }
.room-title { margin-top: 37px; color: var(--muted); font-size: 13px; }
.room-card { margin-top: 16px; padding: 17px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.room-card strong { font-size: 16px; }
.room-card p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.room-arrow { color: var(--cyan); font-size: 24px; }
.tabs { margin: 19px 0 14px; padding: 5px; display: grid; grid-template-columns: repeat(3,1fr); align-items: center; border: 1px solid var(--line); border-radius: 14px; color: var(--dim); font-size: 11px; text-align: center; }
.tabs b { padding: 10px; border-radius: 10px; color: var(--cyan); background: var(--cyan-muted); }
.question-card { padding: 21px 19px 18px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg,#161616,#101010); }
.question-meta { display: flex; justify-content: space-between; color: var(--cyan); font-size: 10px; font-weight: 800; }
.question-meta b { color: var(--dim); }
.question-card h2 { margin: 24px 0 30px; font-size: 23px; line-height: 1.3; letter-spacing: -.06em; }
.answer-row { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; }
.avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); font-size: 13px; font-weight: 900; }
.avatar-one { background: #ffb86b; }
.answer-row strong { display: block; font-size: 11px; }
.answer-row p { margin: 2px 0 0; color: var(--dim); font-size: 10px; }
.wave, .voice-wave { display: flex; gap: 2px; align-items: center; }
.wave i, .voice-wave i { width: 2px; border-radius: 3px; background: var(--cyan); animation: bounce 1.2s ease-in-out infinite; }
.wave i:nth-child(1), .wave i:nth-child(5) { height: 7px; }
.wave i:nth-child(2), .wave i:nth-child(4) { height: 15px; animation-delay: -.3s; }
.wave i:nth-child(3) { height: 22px; animation-delay: -.6s; }
.mock-button { width: 100%; margin-top: 13px; padding: 15px; border: 0; border-radius: 15px; color: var(--ink); background: var(--cyan); font-weight: 850; }
.float-chip { position: absolute; z-index: 5; padding: 12px 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; background: rgba(28,28,28,.86); backdrop-filter: blur(12px); box-shadow: 0 18px 40px rgba(0,0,0,.45); color: var(--muted); font-size: 12px; font-weight: 750; }
.float-chip span, .float-chip strong { margin-right: 6px; color: var(--cyan); }
.chip-lock { top: 108px; right: -5px; transform: rotate(4deg); }
.chip-time { bottom: 103px; left: -16px; transform: rotate(-5deg); }
.orbit { position: absolute; border: 1px solid rgba(37,217,248,.15); border-radius: 50%; }
.orbit-one { width: 520px; height: 520px; }
.orbit-two { width: 620px; height: 620px; border-color: rgba(255,255,255,.045); }

.marquee { overflow: hidden; border-block: 1px solid var(--line); background: #0c0c0c; }
.marquee-track { width: max-content; padding: 18px 0; display: flex; align-items: center; gap: 35px; animation: marquee 28s linear infinite; color: var(--muted); font-weight: 750; }
.marquee-track i { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); }

.section { padding: 150px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 58px; }
.section-heading h2 { font-size: clamp(40px,4.5vw,64px); }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.feature-card { min-height: 430px; padding: 25px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); }
.feature-cyan { background: linear-gradient(150deg,#12373d 0%,#111 72%); }
.step-number { color: var(--dim); font-size: 11px; font-weight: 850; }
.feature-card h3 { margin: auto 0 12px; font-size: 24px; letter-spacing: -.05em; }
.feature-card > p { min-height: 72px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.mini-turns { padding: 70px 0 25px; display: flex; align-items: center; justify-content: center; }
.turn { width: 66px; height: 66px; margin-left: -10px; display: grid; place-items: center; border: 4px solid var(--surface); border-radius: 50%; color: var(--ink); background: var(--mint); font-weight: 900; }
.turn:nth-child(2) { background: #ffb86b; }
.turn:nth-child(3) { background: #d6b5ff; }
.turn.active { position: relative; z-index: 2; box-shadow: 0 0 0 2px var(--cyan); }
.mini-turns b { margin-left: 18px; color: var(--cyan); font-size: 26px; }
.voice-card { margin: 84px auto 40px; width: 94%; padding: 17px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; border: 1px solid var(--line-strong); border-radius: 18px; color: var(--muted); }
.voice-wave { height: 34px; justify-content: center; }
.voice-wave i { height: 16px; }
.voice-wave i:nth-child(2n) { height: 28px; }
.voice-wave i:nth-child(3n) { height: 9px; }
.voice-card b { color: var(--cyan); }
.unlock-card { margin: 76px 0 44px; padding: 18px 10px; display: flex; align-items: center; justify-content: center; gap: 9px; }
.unlock-card span { padding: 15px; border: 1px solid var(--line-strong); border-radius: 14px; color: var(--muted); }
.unlock-card b { color: var(--dim); }
.unlock-card em { padding: 15px; border-radius: 14px; color: var(--ink); background: var(--cyan); font-style: normal; font-weight: 900; }

.pack-section { padding-top: 70px; }
.pack-panel { position: relative; min-height: 620px; padding: 76px 70px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; overflow: hidden; border: 1px solid #194b54; border-radius: 36px; background: radial-gradient(circle at 80% 30%,rgba(37,217,248,.17),transparent 34%), linear-gradient(135deg,#12353b,#0d0d0d 66%); }
.pack-copy { position: relative; z-index: 4; }
.pack-copy h2 { font-size: clamp(40px,4.2vw,62px); }
.pack-copy > p:not(.eyebrow) { max-width: 500px; margin: 25px 0; color: var(--muted); line-height: 1.75; }
.pack-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.pack-tags span { padding: 10px 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 100px; background: rgba(255,255,255,.04); font-size: 12px; }
.stacked-cards { position: relative; min-height: 460px; perspective: 1000px; }
.stack-card { position: absolute; left: 50%; top: 50%; width: 330px; min-height: 390px; padding: 28px; border-radius: 28px; box-shadow: 0 28px 70px rgba(0,0,0,.45); }
.stack-card small { display: block; color: rgba(0,0,0,.57); font-size: 12px; font-weight: 800; }
.stack-card strong { display: block; margin-top: 55px; color: var(--ink); font-size: 28px; line-height: 1.3; letter-spacing: -.05em; }
.stack-back { background: #d6b5ff; transform: translate(-67%,-48%) rotate(-13deg); }
.stack-middle { background: #ffb86b; transform: translate(-42%,-49%) rotate(9deg); }
.stack-front { background: var(--cyan); transform: translate(-54%,-50%) rotate(-2deg); }
.stack-front span { display: block; margin-bottom: 75px; color: rgba(0,0,0,.48); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.stack-front strong { margin-top: 10px; }

.safe-section { display: grid; grid-template-columns: 1fr 1.08fr; gap: 90px; align-items: center; }
.safe-visual { position: relative; min-height: 530px; display: grid; place-items: center; }
.safe-core { position: relative; z-index: 2; width: 230px; height: 230px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(37,217,248,.35); border-radius: 50%; background: radial-gradient(circle,rgba(37,217,248,.14),#0d1718); box-shadow: inset 0 0 45px rgba(37,217,248,.08),0 0 80px rgba(37,217,248,.07); }
.safe-core span { color: var(--cyan); font-size: 32px; }
.safe-core strong { margin-top: 13px; font-size: 24px; }
.safe-core small { margin-top: 6px; color: var(--dim); font-size: 9px; letter-spacing: .16em; }
.safe-ring { position: absolute; border: 1px dashed rgba(255,255,255,.12); border-radius: 50%; animation: spin 26s linear infinite; }
.ring-a { width: 360px; height: 360px; }
.ring-b { width: 500px; height: 500px; border-color: rgba(37,217,248,.1); animation-direction: reverse; animation-duration: 36s; }
.safe-copy h2 { font-size: clamp(39px,4vw,58px); }
.safe-copy ul { margin: 44px 0 0; padding: 0; list-style: none; }
.safe-copy li { padding: 20px 0; display: grid; grid-template-columns: 44px 1fr; gap: 8px; border-top: 1px solid var(--line); }
.safe-copy li > span { color: var(--cyan); font: 700 12px/1.5 monospace; }
.safe-copy li strong { font-size: 16px; }
.safe-copy li p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

.final-cta { position: relative; margin-bottom: 80px; padding: 110px 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 36px; background: #101010; text-align: center; }
.final-cta .eyebrow { position: relative; }
.final-cta h2 { position: relative; font-size: clamp(40px,5vw,68px); }
.final-cta > p:not(.eyebrow) { position: relative; margin-top: 25px; color: var(--muted); }
.cta-glow { position: absolute; left: 50%; top: 42%; width: 640px; height: 400px; transform: translate(-50%,-50%); background: radial-gradient(ellipse,rgba(37,217,248,.13),transparent 66%); }
.store-row { position: relative; margin-top: 40px; display: flex; justify-content: center; gap: 10px; }
.store-badge { width: 160px; padding: 10px 16px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line-strong); border-radius: 13px; background: #080808; opacity: .62; }
.store-badge small { font-size: 8px; }
.store-badge strong { font-size: 16px; }

.site-footer { padding: 50px 0 35px; display: grid; grid-template-columns: 1fr auto; gap: 35px; border-top: 1px solid var(--line); }
.footer-mark { font-size: 25px; }
.site-footer > div p { margin: 9px 0 0; color: var(--dim); font-size: 12px; }
.site-footer nav { display: flex; gap: 20px; align-items: center; color: var(--muted); font-size: 12px; }
.copyright { grid-column: 1 / -1; margin: 15px 0 0; color: #585550; font-size: 11px; }

.legal-main, .join-main { min-height: calc(100vh - 160px); padding: 150px 0 90px; }
.legal-shell { width: min(780px, calc(100vw - 40px)); margin: 0 auto; }
.legal-hero { padding-bottom: 45px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { margin: 8px 0 15px; font-size: clamp(38px,5vw,60px); line-height: 1.1; letter-spacing: -.06em; }
.legal-hero p { margin: 0; color: var(--muted); }
.legal-copy { padding: 45px 0; }
.legal-copy h2 { margin: 55px 0 15px; font-size: 24px; letter-spacing: -.04em; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy h3 { margin: 30px 0 10px; font-size: 17px; }
.legal-copy p, .legal-copy li { color: var(--muted); line-height: 1.85; }
.legal-copy ul, .legal-copy ol { padding-left: 20px; }
.legal-copy a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.legal-note { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }

.join-main { display: grid; place-items: center; }
.join-card { width: min(520px, calc(100vw - 36px)); padding: 48px; border: 1px solid var(--line); border-radius: 30px; background: radial-gradient(circle at 50% 0,rgba(37,217,248,.13),transparent 38%),var(--surface); text-align: center; }
.invite-orb { width: 90px; height: 90px; margin: 0 auto 28px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--cyan); box-shadow: 0 0 50px rgba(37,217,248,.22); font: 700 40px/1 "Fredoka", sans-serif; }
.join-card h1 { margin: 0; font-size: 34px; letter-spacing: -.06em; }
.join-card > p { margin: 15px auto 28px; color: var(--muted); line-height: 1.7; }
.invite-code { margin-bottom: 18px; padding: 15px; border: 1px solid var(--line-strong); border-radius: 14px; color: var(--cyan); background: #0b0b0b; font-family: monospace; font-weight: 800; letter-spacing: .08em; }
.join-button { width: 100%; border: 0; cursor: pointer; }
.join-help { display: block; margin-top: 18px; color: var(--dim); font-size: 11px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease,transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes bounce { 0%,100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 940px) {
  .desktop-nav { display: none; }
  .hero { min-height: auto; padding-top: 150px; grid-template-columns: 1fr; text-align: center; }
  .hero-description { margin-inline: auto; }
  .hero-actions, .micro-proof { justify-content: center; }
  .hero-stage { margin-top: 30px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 390px; }
  .pack-panel, .safe-section { grid-template-columns: 1fr; }
  .pack-panel { padding: 65px 45px; }
  .stacked-cards { margin-top: 30px; }
  .safe-section { gap: 20px; }
  .safe-copy { order: -1; }
}

@media (max-width: 640px) {
  :root { --shell: min(100% - 34px, 1180px); }
  .site-header { min-height: 58px; top: 8px; padding: 8px 9px 8px 16px; border-radius: 18px; }
  .wordmark { font-size: 26px; }
  .header-pill { padding: 10px 12px; font-size: 11px; }
  .hero { padding: 128px 0 70px; gap: 35px; }
  .hero h1 { font-size: 45px; }
  .hero-description { font-size: 15px; }
  .desktop-only { display: none; }
  .hero-actions { flex-direction: column; }
  .micro-proof { gap: 7px; font-size: 10px; }
  .hero-stage { min-height: 550px; transform: scale(.88); }
  .phone { width: 315px; }
  .orbit-one { width: 390px; height: 390px; }
  .orbit-two { width: 390px; height: 390px; }
  .chip-lock { right: 4px; }
  .chip-time { left: 6px; }
  .section { padding: 100px 0; }
  .section-heading { margin-bottom: 35px; }
  .section-heading h2 { font-size: 39px; }
  .feature-card { min-height: 410px; padding: 22px; }
  .pack-section { padding-top: 25px; }
  .pack-panel { min-height: 820px; padding: 45px 24px; border-radius: 28px; }
  .pack-copy h2 { font-size: 39px; }
  .stacked-cards { min-height: 400px; transform: scale(.8); margin-inline: -50px; }
  .safe-visual { min-height: 430px; transform: scale(.82); }
  .ring-b { width: 420px; height: 420px; }
  .safe-copy h2 { font-size: 38px; }
  .final-cta { padding: 80px 18px; border-radius: 28px; }
  .final-cta h2 { font-size: 39px; }
  .store-row { flex-direction: column; align-items: center; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { flex-wrap: wrap; gap: 13px 18px; }
  .copyright { grid-column: auto; }
  .join-card { padding: 40px 22px; }
  .legal-main { padding-top: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
