/* CueScore design tokens: see /DESIGN.md in the project root. */
:root {
  --ink: #f5f2e9;
  --muted: #a8a9b2;
  --paper: #101116;
  --surface: #1a1b22;
  --line: #ffffff19;
  --tint: #2a2320;
  --accent: #e8a0c2;
  --accent-strong: #f3c78a;
  --accent-soft: #e8a0c2;
  --gradient: linear-gradient(90deg, var(--accent-strong), var(--accent-soft));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  word-break: keep-all;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.wrap {
  max-width: 1200px;
  margin: auto;
  padding: 0 40px;
}

.nav {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -1.4px;
}

.mark {
  font-size: 28px;
  font-weight: 500;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-cta {
  font-size: 14px;
  padding: 10px 20px;
  background: #ffffff08;
  border: 1px solid #ffffff24;
  border-radius: 30px;
}

.nav-cta span {
  margin-left: 12px;
}

.hero {
  position: relative;
  padding-top: 76px;
  padding-bottom: 72px;
  isolation: isolate;
  overflow: hidden;
}

.hero-copy {
  padding: 0;
  max-width: 800px;
  margin: auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent-strong);
  margin: 0 0 22px;
}

.hero .eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c5b78f;
}

h1 {
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.32;
  letter-spacing: -0.055em;
  font-weight: 650;
  margin: 0 0 26px;
}

h1 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: 34px;
  line-height: 1.45;
  letter-spacing: -0.04em;
  font-weight: 600;
  margin: 0;
  text-align: center;
}

h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.intro {
  font-size: 17px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 28px 0 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  transition: box-shadow 0.15s, transform 0.15s;
}

.primary {
  background: var(--gradient);
  color: #241417;
  box-shadow: 0 4px 24px #edc97812;
}

.primary:hover {
  box-shadow: 0 4px 30px #edc97828;
  transform: translateY(-1px);
}

.text-link {
  font-size: 14px;
  border: 1px solid #ffffff26;
  border-radius: 8px;
  padding: 13px 24px;
  background: #ffffff05;
}

.text-link span {
  margin-left: 14px;
}

.tiny {
  font-size: 11px;
  line-height: 1.8;
  color: #a0a0ad;
  margin: 16px 0;
}

.orbital {
  position: absolute;
  z-index: -1;
  width: 1100px;
  height: 820px;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 75%, #86672e25 0%, #37355b28 30%, transparent 65%);
  pointer-events: none;
}

.orbital::before, .orbital::after {
  content: "";
  position: absolute;
  border: 1px solid #dac59316;
  inset: 30px 0 0;
  border-radius: 50%;
  transform: rotate(-14deg);
}

.orbital::after {
  inset: 100px -100px 50px;
  transform: rotate(15deg);
  border-color: #b1c6da0c;
}

/* 시연 영상은 세로(1080x1350)다. 태블릿을 세로로 세워 찍은 화면 녹화라
   가로 박스에 넣으면 좌우가 검은 띠로 남는다 — 그래서 데모 블록도 세로 비율에
   맞춰 좁힌다. */
.demo-section {
  position: relative;
  margin: 56px auto 0;
  /* 세로 영상은 데스크톱에서 화면 높이가 먼저 한계가 된다. 높이 상한을 폭으로
     환산해 블록 자체를 좁혀야 영상 좌우에 빈 여백이 안 생긴다(+20px = 패딩). */
  max-width: min(560px, calc(72vh * 4 / 5 + 20px));
  padding: 10px;
  border: 1px solid #e4ca9227;
  background: linear-gradient(130deg, #e0c8940e, #ffffff03);
  border-radius: 18px;
  box-shadow: 0 -18px 90px #b28d4220, 0 28px 80px #0007;
  backdrop-filter: blur(20px);
}

.video-shell {
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #ffffff19;
  background: #111218;
}

.video-bar {
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  color: #c7c7ce;
  font-size: 12px;
  background: #1b1c23;
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-strong);
  margin-right: 8px;
}

video {
  display: block;
  margin: 0 auto;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #05060a;
}

.demo-caption {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 10px 4px;
  font-size: 11px;
  color: var(--muted);
}

.how {
  padding-top: 40px;
  padding-bottom: 88px;
  border-top: 0;
}

.how > .eyebrow {
  text-align: center;
}

.how > h2 {
  font-size: 36px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.steps article {
  border: 1px solid #ffffff14;
  border-radius: 12px;
  background: linear-gradient(145deg, #ffffff07, transparent);
  padding: 28px;
}

.number {
  font-size: 12px;
  color: #cfb984;
}

.steps p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
}

.booking {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  padding: 48px;
  margin-top: 20px;
  border: 1px solid #ffffff1a;
  border-radius: 16px;
  max-width: 1120px;
  background: radial-gradient(ellipse at 0% 100%, #66513223, transparent 65%), #ffffff03;
  align-items: center;
}

.booking h2 {
  font-size: 36px;
  text-align: left;
}

.booking p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}

.audiences {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
  font-size: 13px;
  color: var(--muted);
}

.signup-card {
  padding: 30px;
  background: #ffffff05;
  border: 1px solid #ffffff15;
  border-radius: 12px;
}

.badge {
  font-size: 12px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.signup-card h3 {
  margin: 12px 0;
}

.signup-card .button {
  width: 100%;
  margin-top: 12px;
}

.signup-card .tiny {
  font-size: 12px;
}

.faq {
  max-width: 840px;
  padding-top: 90px;
  padding-bottom: 80px;
}

.faq h2 {
  margin-bottom: 30px;
  text-align: left;
}

.faq summary {
  color: #e6e5e9;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
}

.faq details {
  border-bottom: 1px solid #ffffff16;
  padding: 22px 0;
}

.faq details p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  min-height: 120px;
}

footer p, footer > span {
  font-size: 12px;
  color: var(--muted);
}

.kakao {
  background: #fee500;
  color: #191919;
  gap: 12px;
}

.kakao:hover {
  background: #f5dc00;
}

@media (max-width: 700px) {
  .wrap {
    padding-left: 22px;
    padding-right: 22px;
  }

  .nav {
    height: 78px;
  }

  .brand {
    font-size: 23px;
  }

  .nav-cta {
    font-size: 11px;
    padding: 8px 12px;
  }

  .hero {
    padding-top: 40px;
    padding-bottom: 42px;
  }

  h1 {
    font-size: 32px;
  }

  h2, .how > h2 {
    font-size: 28px;
  }

  .intro {
    font-size: 15px;
  }

  .hero-actions {
    gap: 10px;
  }

  .button, .text-link {
    font-size: 13px;
    padding: 12px 16px;
    min-height: 48px;
  }

  .orbital {
    width: 620px;
    height: 600px;
    top: -10px;
  }

  .demo-section {
    margin-top: 34px;
    padding: 6px;
    border-radius: 12px;
  }

  .demo-caption {
    font-size: 11px;
    padding: 9px 5px 4px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps article {
    padding: 24px;
  }

  .booking {
    grid-template-columns: 1fr;
    margin: 0 18px;
    padding: 28px 22px;
    gap: 24px;
  }

  .booking h2 {
    font-size: 30px;
  }

  .faq {
    padding-top: 54px;
    padding-bottom: 46px;
  }

  footer {
    flex-wrap: wrap;
    padding-top: 24px;
    padding-bottom: 24px;
    gap: 8px;
  }

  footer p {
    order: 3;
    width: 100%;
    margin: 0;
  }

  footer > span {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
