/* ShelledCam landing – navy-tinted neutrals + one brand colour, same tokens as the app */
:root {
  --page: #EEF2F7;
  --card: #FFFFFF;
  --line: #CBD5E1;
  --fill: #E2E8F0;
  --ink: #0F172A;
  --ink-2: #334155;
  --body: #475569;
  --hint: #5E6E84;
  --brand: #22354F;
  --on-brand: #FFFFFF;
  --stage: #172130;
  --stage-line: #26324A;
  --seat: #0D1520;
  --bezel: #1B222D;
  --focus: #22354F;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #101823;
    --card: #1C2635;
    --line: #33425A;
    --fill: #1E293B;
    --ink: #E8EEF6;
    --ink-2: #C0CBDA;
    --body: #94A3B8;
    --hint: #7C8BA1;
    --brand: #A8C3E8;
    --on-brand: #101823;
    --stage: #0B121C;
    --stage-line: #22304A;
    --seat: #05090F;
    --bezel: #222B38;
    --focus: #A8C3E8;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 1.0625rem/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo",
    "Noto Sans KR", "Malgun Gothic", "Helvetica Neue", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

html[lang="ko"] body { line-height: 1.75; word-break: keep-all; overflow-wrap: anywhere; }

a { color: inherit; }
img, svg { max-width: 100%; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 12px;
  background: var(--card); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 10;
}
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
@media (max-width: 600px) { .wrap { padding-inline: 16px; } }

/* header */
.top { padding-block: 18px; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; text-decoration: none;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.lang { display: flex; gap: 4px; font-size: 0.9375rem; }
.lang a { padding: 6px 12px; border-radius: 999px; text-decoration: none; color: var(--body); }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="page"] { color: var(--ink); background: var(--fill); font-weight: 600; }

/* hero */
.hero { display: grid; gap: 40px; padding-block: 28px 72px; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.05fr 0.95fr; gap: 72px; padding-block: 56px 104px; } }

h1 {
  font-weight: 300;
  font-size: clamp(2.6rem, 6.4vw, 4.75rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  max-width: 11em;
}
html[lang="ko"] h1 { line-height: 1.2; letter-spacing: -0.04em; max-width: 9em; }

.lede { font-size: 1.1875rem; line-height: 1.6; color: var(--body); max-width: 34em; margin: 0 0 36px; }
html[lang="ko"] .lede { line-height: 1.75; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand); color: var(--on-brand);
  font-weight: 600; font-size: 1rem; text-decoration: none;
  padding: 14px 24px; border-radius: 999px; min-height: 48px;
}
.btn:hover { filter: brightness(1.15); }
@media (prefers-color-scheme: dark) { .btn:hover { filter: brightness(1.06); } }
.cta-meta { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--body); }

/* the stage: one phone in a dark hall */
.stage { margin: 0; }
.stage-frame { border-radius: 28px; overflow: hidden; background: var(--stage); border: 1px solid var(--stage-line); }
.stage-frame svg { display: block; width: 100%; height: auto; }
.stage .bg { fill: var(--stage); }
.stage .seat { fill: var(--seat); }
.stage .bezel { fill: var(--bezel); }
.stage .lit { opacity: 0; transition: opacity 0.7s ease; }
.stage[data-state="bright"] .lit { opacity: 1; }
.stage.intro .lit { animation: lights-down 1.8s ease-in-out 0.9s both; }
@keyframes lights-down { from { opacity: 1; } to { opacity: 0; } }

.stage-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 16px; }
.switch { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.switch button {
  font: inherit; font-size: 0.9375rem; border: 0; background: transparent; color: var(--body);
  padding: 8px 16px; border-radius: 999px; cursor: pointer; min-height: 40px;
}
.switch button:hover { color: var(--ink); }
.switch button[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); font-weight: 600; }
.stage-note { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--body); flex: 1 1 16em; }

@media (prefers-reduced-motion: reduce) {
  .stage .lit { transition: none; }
  .stage.intro .lit { animation: none; }
}

/* sections */
.section { padding-block: 80px; border-top: 1px solid var(--line); }
@media (max-width: 600px) { .section { padding-block: 56px; } }
h2 {
  font-weight: 400; font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.15; letter-spacing: -0.025em;
  margin: 0 0 14px; max-width: 20em;
}
html[lang="ko"] h2 { line-height: 1.3; letter-spacing: -0.03em; }
.sub { color: var(--body); max-width: 38em; margin: 0 0 44px; }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.35; margin: 0 0 6px; letter-spacing: -0.01em; }

/* places */
.places { margin: 32px 0 0; display: grid; }
@media (min-width: 760px) { .places { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
.places > div { padding: 20px 0 22px; border-top: 1px solid var(--line); }
.places dt { font-weight: 600; margin-bottom: 4px; }
.places dd { margin: 0; color: var(--body); }

/* capture modes */
.modes { display: grid; gap: 48px 32px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.mode svg { display: block; width: 112px; height: auto; margin-bottom: 22px; }
.mode p { margin: 0; color: var(--body); font-size: 1rem; }
.mode .default {
  display: inline-block; margin-left: 8px; padding: 0 9px; vertical-align: 2px;
  font-size: 0.8125rem; font-weight: 500; color: var(--brand); border: 1px solid currentColor; border-radius: 999px;
}
.mini .bezel { fill: var(--bezel); }
.mini .brand-fill { fill: var(--brand); }
.mini .brand-stroke { stroke: var(--brand); }

/* details */
.details { list-style: none; margin: 0; padding: 0; display: grid; }
@media (min-width: 760px) { .details { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
.details li { padding: 16px 0 18px; border-top: 1px solid var(--line); color: var(--body); }
.details strong { color: var(--ink); font-weight: 600; }

/* privacy + price */
.pair { display: grid; gap: 20px; }
@media (min-width: 880px) { .pair { grid-template-columns: 1fr 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 32px; }
@media (max-width: 600px) { .card { padding: 24px 20px; } }
.card h2 { font-size: clamp(1.5rem, 2.6vw, 1.875rem); margin-bottom: 20px; }
.card ul { margin: 0 0 20px; padding-left: 1.15em; color: var(--body); }
.card li + li { margin-top: 10px; }
.card li::marker { color: var(--hint); }
.text-link { color: var(--brand); font-weight: 600; text-underline-offset: 3px; }

/* getting started */
.steps { counter-reset: step; list-style: none; margin: 0 0 56px; padding: 0; display: grid; gap: 28px; }
@media (min-width: 880px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.steps li { counter-increment: step; color: var(--body); }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px;
  border: 1px solid var(--line); border-radius: 50%; color: var(--ink); font-weight: 600; font-size: 0.9375rem;
}
.steps strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }

.facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .facts > div { grid-template-columns: 200px 1fr; gap: 24px; } }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--body); }

.care p { color: var(--body); max-width: 38em; margin: 0; font-size: 1.125rem; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 48px 40px; font-size: 0.9375rem; }
.foot-row { display: grid; gap: 28px; }
@media (min-width: 760px) { .foot-row { grid-template-columns: 1.4fr 1fr auto; align-items: start; } }
.foot p { margin: 12px 0 0; color: var(--body); }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.foot-links a { color: var(--ink-2); text-underline-offset: 3px; }
.foot .legal { margin-top: 36px; color: var(--hint); font-size: 0.875rem; }

/* legal documents */
.doc { max-width: 760px; padding-block: 32px 88px; }
.doc h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); max-width: none; margin-bottom: 12px; }
.doc .meta { color: var(--hint); margin: 0 0 36px; }
.doc h2 { font-size: 1.3125rem; font-weight: 600; letter-spacing: -0.01em; margin: 44px 0 12px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 1.2em; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--brand); text-underline-offset: 3px; }
.table-scroll { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.doc table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.55; }
.doc th, .doc td { padding: 12px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); color: var(--ink-2); }
.doc thead th { border-top: 0; color: var(--ink); font-weight: 600; background: var(--fill); }

/* 404 */
.missing { padding-block: 96px 120px; }
.missing h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.missing p { color: var(--body); max-width: 32em; }
