/* MyVideoWall site — shared styles.
   Design source: Claude Design canvas "MyVideoWall Web Pages" (night-screen theme). */
:root {
  --bg: #0B0E14;
  --bg-band: #10141C;
  --surface: #151A24;
  --surface-2: #1C2230;
  --line: #1F2633;
  --line-2: #222A38;
  --line-3: #2A3242;
  --text: #F2F4F8;
  --text-body: #D5DBE5;
  --text-nav: #C9D1DE;
  --text-muted: #A7B0C0;
  --text-faint: #8E98AA;
  --accent: #FFB547;
  --on-accent: #1A1206;
  --link: #7CC4FF;
  --link-hover: #B5DDFF;
  --font-body: "Inter", "Noto Sans KR", system-ui, -apple-system, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}
a { color: var(--link); }
a:hover { color: var(--link-hover); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
img, svg { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface-2); color: var(--text); padding: 8px 14px; border-radius: 8px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; font-size: 15px; }
.nav a { color: var(--text-nav); text-decoration: none; padding-block: 6px; }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--accent); font-weight: 500; }

/* Typography helpers */
.eyebrow { margin: 0; font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.display { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
.muted { color: var(--text-muted); }
.faint { color: var(--text-faint); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 500; text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); font-weight: 700; }
.btn-primary:hover { background: #FFC56E; color: var(--on-accent); }
.btn-ghost { border: 1px solid var(--line-3); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-block: 88px 96px; }
.hero-copy { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-copy h1 { font-size: clamp(38px, 6vw, 56px); line-height: 1.12; }
.hero-copy .lede { margin: 0; max-width: 520px; font-size: 18px; color: var(--text-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.hero-art { flex: 1 1 300px; display: flex; justify-content: center; }
.phone { width: 290px; height: 590px; border-radius: 44px; border: 10px solid var(--surface-2); background: #11151D; padding: 22px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.phone-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.phone-grid div { aspect-ratio: 9 / 16; border-radius: 8px; }
.phone-grid .picked { outline: 2px solid var(--accent); outline-offset: -2px; }
.phone-cart { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); font-size: 13px; color: var(--text-nav); }
.phone-cart b { padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }

/* Sections */
.band { background: var(--bg-band); border-block: 1px solid var(--line); }
.section { padding-block: 88px; display: flex; flex-direction: column; gap: 40px; }
.section-head { display: flex; flex-direction: column; gap: 10px; }
.section-head h2 { font-size: 36px; line-height: 1.2; letter-spacing: -0.01em; }
.section-head p { margin: 0; font-size: 17px; color: var(--text-muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.card { padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 10px; }
.card h3 { margin: 0; font-size: 18px; }
.card p { margin: 0; color: var(--text-muted); font-size: 15px; }
.step { background: transparent; padding: 28px 24px; }
.step-num { font-family: var(--font-display); font-size: 40px; font-weight: 700; line-height: 1; color: var(--accent); }
.callout { padding: 40px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line-2); display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; margin-bottom: 96px; }
.callout-copy { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.callout-copy h2 { margin: 0; font-size: 22px; }
.callout-copy p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* Legal pages */
.doc-head { padding-block: 64px 24px; display: flex; flex-direction: column; gap: 16px; }
.doc-head h1 { font-size: clamp(34px, 5vw, 44px); line-height: 1.2; letter-spacing: -0.01em; }
.doc-head p { margin: 0; }
.summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; padding-top: 16px; }
.summary div { padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); }
.summary b { display: block; }
.summary span { display: block; margin-top: 4px; color: var(--text-muted); font-size: 14px; }
.doc-body { padding-block: 40px 96px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px; }
.toc { flex: 1 1 220px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.5; padding: 16px; border-radius: 14px; border: 1px solid var(--line-2); }
.toc p { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--text-faint); }
.toc a { padding: 6px 0; color: var(--text-nav); text-decoration: none; }
.toc a:hover { color: var(--text); }
.doc { flex: 999 1 560px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 44px; color: var(--text-body); line-height: 1.75; }
.doc section { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 24px; }
.doc h2 { margin: 0; font-size: 22px; line-height: 1.35; color: var(--text); }
.doc p { margin: 0; }
.doc ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.doc strong { color: var(--text); }
.table-box { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 14px; }
.table-box table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.table-box thead tr { background: var(--surface); text-align: left; }
.table-box th, .table-box td { padding: 14px 16px; vertical-align: top; text-align: left; }
.table-box thead th { color: var(--text); font-weight: 700; padding-block: 12px; }
.table-box tbody tr { border-top: 1px solid var(--line-2); }
.table-box tbody th { color: var(--text); font-weight: 500; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 32px 48px; font-size: 14px; color: var(--text-faint); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--text-nav); }

@media (max-width: 560px) {
  .hero { padding-block: 56px 64px; }
  .section { padding-block: 64px; }
  .callout { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
