/* BuyerPilot landing — "annotated product drawing".
   Bright paper, the real app shown near 1:1 so every glyph is crisp, and blue pins that point
   at exactly what a sentence claims. One dark band only (apply). :root is the only place a
   colour literal may appear. Brand blues match the app (DESIGN.md): #3182F6 for graphics,
   #1B64DA for text and fills on white. */

/* Pretendard(OFL 1.1) 서브셋. 예약 이름 때문에 이름을 바꿨다 — 라이선스: /fonts/OFL.txt */
@font-face {
  font-family: 'BuyerPilot Landing Sans';
  src: url('fonts/pretendard-landing.woff2?v=54e59f93') format('woff2-variations');
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Paper and ink */
  --paper: #ffffff;
  --canvas: #f4f6fa;          /* alternate sections */
  --sunken: #eceff4;
  --line: #e2e7ee;
  --line-strong: #c9d2de;
  --line-hover: #9aa7b9;
  --text: #0e1726;            /* navy ink, hue of the brand blue */
  --text-2: #334155;          /* 10.4:1 on white */
  --text-muted: #4a5668;      /* 7.4:1 on white, 6.9:1 on canvas */
  --placeholder: #7a8597;

  /* Brand */
  --blue: #3182f6;            /* graphics, rings, borders only */
  --blue-text: #1b64da;       /* text and links on white (5.41:1) */
  --blue-fill: #1b64da;
  --blue-fill-hover: #1957c2;
  --blue-fill-active: #164ca9;
  --blue-soft: #eaf2ff;
  --blue-line: #b9d3fb;
  --on-blue: #ffffff;

  /* Semantic */
  --ok: #15803d;
  --ok-soft: #e7f6ec;
  --warning: #b45309;
  --error: #b42318;
  --error-soft: #fdeceb;

  /* Score bands (same order as the app) */
  --band-a: #1b64da;
  --band-b: #5d9cf8;
  --band-c: #c27a35;
  --band-d: #8c97a8;

  /* Night band (apply) */
  --night: #0b1830;
  --night-2: #12223f;
  --night-line: rgba(160, 190, 240, 0.18);
  --night-text: #edf2fa;
  --night-muted: #a9b8cf;     /* 8.4:1 on --night */
  --night-blue: #8cbcff;
  --night-glow: rgba(49, 130, 246, 0.30);

  /* Atmosphere */
  --grid-line: rgba(27, 100, 218, 0.07);
  --hero-glow: rgba(49, 130, 246, 0.16);
  --nav-glass: rgba(255, 255, 255, 0.82);
  --mask: #000;

  /* Elevation */
  --shadow-1: 0 1px 2px rgba(14, 23, 38, 0.06);
  --shadow-2: 0 1px 2px rgba(14, 23, 38, 0.05), 0 10px 28px -12px rgba(14, 23, 38, 0.16);
  --shadow-window: 0 0 0 1px rgba(14, 23, 38, 0.08), 0 2px 4px rgba(14, 23, 38, 0.04), 0 28px 56px -20px rgba(14, 23, 38, 0.22), 0 80px 140px -60px rgba(27, 100, 218, 0.38);
  --shadow-night: 0 0 0 1px rgba(160, 190, 240, 0.12), 0 40px 80px -30px rgba(0, 0, 0, 0.6);
  --pin-ring: rgba(49, 130, 246, 0.28);
  --pin-ring-hot: rgba(49, 130, 246, 0.18);
  --btn-shadow: rgba(14, 23, 38, 0.18);
  --btn-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  --focus-ring: rgba(49, 130, 246, 0.22);
  --error-ring: rgba(180, 35, 24, 0.12);
  --thumb-shadow: rgba(14, 23, 38, 0.3);
  --pin-shadow: 0 4px 10px rgba(14, 23, 38, 0.25);
  --ai-column: rgba(49, 130, 246, 0.07);

  /* Radius — four steps, by role */
  --r-xs: 6px;      /* chips, pins' labels, codes */
  --r-sm: 10px;     /* buttons, inputs */
  --r-md: 14px;     /* windows, panels */
  --r-lg: 22px;     /* large panels */

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 120ms;
  --t-base: 220ms;

  /* Type — one family, scale by ~1.25 from 18px */
  --font: 'BuyerPilot Landing Sans', -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  --fs-body: 18px;
  --fs-small: 16px;
  --fs-label: 15px;
  --fs-h3: 21px;
  --fs-lead: clamp(18px, 1.35vw, 20px);
  --fs-h2: clamp(32px, 3.7vw, 52px);
  --fs-hero: clamp(42px, 5.9vw, 84px);

  /* Layout */
  --wrap: 1280px;             /* = screenshot width: shown 1:1, never resampled */
  --gutter: 32px;
  --section-y: clamp(96px, 10vw, 152px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap, .container { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; background: var(--paper); color: var(--text); border-radius: var(--r-sm); font-weight: 600; box-shadow: var(--shadow-2); }
.skip-link:focus { top: 16px; }
.link { padding-block: 9px; color: var(--blue-text); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { text-decoration-thickness: 2px; }

section { padding-block: var(--section-y); position: relative; overflow-x: clip; }

/* Section heads ───────────────────────────────────────── */
.head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; }
.head__title { font-size: var(--fs-h2); line-height: 1.24; letter-spacing: -0.034em; font-weight: 700; text-wrap: balance; }
.head__lead { margin-top: 20px; font-size: var(--fs-lead); line-height: 1.7; color: var(--text-muted); max-width: 620px; }
.head--split .head__lead { margin-top: 0; }

/* Buttons ──────────────────────────────────────────────── */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 0 22px;
  border-radius: var(--r-sm); border: 1px solid transparent;
  font: inherit; font-size: 17px; font-weight: 600; line-height: 1; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { --h: 44px; padding: 0 16px; font-size: 16px; }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 18px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue-fill); color: var(--on-blue); box-shadow: var(--btn-highlight), 0 1px 2px var(--btn-shadow); }
.btn--primary:hover { background: var(--blue-fill-hover); }
.btn--primary:active { background: var(--blue-fill-active); }
.btn--primary:disabled { background: var(--line-strong); color: var(--text-muted); cursor: progress; box-shadow: none; }
.btn--quiet { background: var(--paper); color: var(--text); border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.btn--quiet:hover { border-color: var(--line-hover); background: var(--canvas); }

/* Brand ────────────────────────────────────────────────── */
.brand { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand__mark { width: 30px; height: 30px; }
.mark-tile { fill: var(--blue); }
.mark-arrow { fill: var(--on-blue); }

/* Nav (chrome: the one glass layer) ────────────────────── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--text); transition: background-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
.nav.is-scrolled { background: var(--nav-glass); backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%); box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; gap: 40px; height: 72px; }
.nav__links { display: flex; gap: 2px; margin-right: auto; }
.nav__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-sm); color: var(--text-2); text-decoration: none; font-size: 16px; font-weight: 500; transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.nav__links a:hover { color: var(--text); background: var(--sunken); }
.nav__cta--end { margin-left: auto; }
.nav__menu { display: none; position: relative; }
.nav__menu summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--paper); cursor: pointer; font-size: 16px; font-weight: 600; }
.nav__menu summary::-webkit-details-marker { display: none; }
.nav__menu summary svg { width: 20px; height: 20px; }
.nav__sheet { position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 32px)); display: grid; gap: 2px; padding: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-2); }
.nav__sheet a:not(.btn) { display: flex; align-items: center; min-height: 48px; padding: 0 12px; border-radius: var(--r-sm); color: var(--text); text-decoration: none; font-weight: 500; }
.nav__sheet a:not(.btn):hover { background: var(--sunken); }
.nav__sheet .btn { margin-top: 8px; }

/* Hero ─────────────────────────────────────────────────── */
.hero { padding-block: calc(72px + clamp(56px, 7vw, 104px)) 0; isolation: isolate; }
/* Drafting grid that fades out below the headline, plus a cool light behind the window. */
.hero::before {
  content: ''; position: absolute; inset: 0 0 30%; z-index: -1;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center -1px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, var(--mask) 30%, transparent 75%);
  mask-image: radial-gradient(120% 80% at 50% 0%, var(--mask) 30%, transparent 75%);
}
.hero::after { content: ''; position: absolute; left: 50%; top: 46%; width: min(1400px, 120vw); height: 70%; z-index: -1; transform: translateX(-50%); background: radial-gradient(closest-side, var(--hero-glow), transparent); }
.hero__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 3.4vw, 48px) 80px; align-items: start; }
.hero__title { grid-column: 1 / -1; font-size: var(--fs-hero); line-height: 1.08; letter-spacing: -0.048em; font-weight: 780; text-wrap: balance; }
.hero__lead { max-width: 620px; font-size: var(--fs-lead); line-height: 1.7; color: var(--text-2); }
.hero__act { display: grid; gap: 18px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { display: flex; flex-direction: column; gap: 6px; color: var(--text-2); font-size: var(--fs-label); }
.hero__note li { display: inline-flex; align-items: center; gap: 8px; }
.hero__note svg { width: 18px; height: 18px; padding: 3px; flex: none; border-radius: 50%; background: var(--ok-soft); fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.shot--hero { margin-top: clamp(56px, 6vw, 88px); }

/* Product window + pins ────────────────────────────────── */
.shot { position: relative; border-radius: var(--r-md); background: var(--paper); box-shadow: var(--shadow-window); overflow: hidden; }
.shot__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 38px; padding: 0 14px; background: var(--canvas); border-bottom: 1px solid var(--line); }
.shot__lights { display: flex; gap: 7px; }
.shot__lights i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.shot__title { color: var(--text-muted); font-size: var(--fs-label); font-weight: 600; }
.shot__view { position: relative; }
.shot__view img { width: 100%; }
.shot__cap { position: absolute; right: 14px; top: 0; height: 38px; display: flex; align-items: center; color: var(--text-muted); font-size: var(--fs-label); }

.pin {
  position: absolute; left: var(--x); top: var(--y); z-index: 1;
  display: grid; place-items: center; width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border-radius: 50%; background: var(--blue-fill); color: var(--on-blue);
  font-size: var(--fs-label); font-weight: 700; line-height: 1;
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 7px var(--pin-ring), var(--pin-shadow);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.pin.is-hot { transform: scale(1.18); box-shadow: 0 0 0 2px var(--paper), 0 0 0 14px var(--pin-ring-hot), var(--pin-shadow); }
/* The one orchestrated moment: the hero pins land in order after the page loads. */
.js .shot--hero .pin { opacity: 0; transform: scale(0.4); }
.js .shot--hero.is-ready .pin { opacity: 1; transform: none; transition: opacity 300ms var(--ease), transform 420ms cubic-bezier(0.3, 1.5, 0.5, 1); }
.js .shot--hero.is-ready .pin:nth-of-type(2) { transition-delay: 140ms; }
.js .shot--hero.is-ready .pin:nth-of-type(3) { transition-delay: 280ms; }
.js .shot--hero.is-ready .pin:nth-of-type(4) { transition-delay: 420ms; }

.legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); counter-reset: pin; }
.legend li { counter-increment: pin; position: relative; padding: 0 24px 0 44px; color: var(--text-muted); font-size: var(--fs-small); line-height: 1.6; }
.legend li::before {
  content: counter(pin); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--blue-fill); color: var(--blue-text); font-size: var(--fs-label); font-weight: 700;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.legend li.is-hot::before { background: var(--blue-fill); color: var(--on-blue); }
.legend b { display: block; margin-bottom: 4px; color: var(--text); font-size: 17px; font-weight: 650; line-height: 1.5; }
.legend--hero { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }

/* Tour ─────────────────────────────────────────────────── */
.tour { padding-top: clamp(40px, 5vw, 72px); }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: clamp(36px, 4vw, 52px); overflow-x: auto; scrollbar-width: none; }
.steps__tab {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 14px 4px 0;
  border: 0; background: none; color: var(--text-muted); font: inherit; font-size: 17px; font-weight: 600; white-space: nowrap; cursor: pointer; text-align: left;
  transition: color var(--t-fast) var(--ease);
}
/* A segmented progress bar: done steps stay tinted so the sequence reads at a glance. */
.steps__tab::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 2px; background: var(--line); transition: background-color var(--t-base) var(--ease); }
.steps__tab:hover { color: var(--text); }
.steps__tab:hover::before { background: var(--line-strong); }
.steps__tab.is-done::before { background: var(--blue-line); }
.steps__tab[aria-selected='true'] { color: var(--text); }
.steps__tab[aria-selected='true']::before { background: var(--blue-fill); }
.steps__n { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sunken); color: var(--text-muted); font-size: var(--fs-label); font-weight: 700; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.steps__tab.is-done .steps__n { background: var(--blue-soft); color: var(--blue-text); }
.steps__tab[aria-selected='true'] .steps__n { background: var(--blue-fill); color: var(--on-blue); }
.steps__tab:focus-visible { outline-offset: 2px; }

.panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 56px; align-items: start; }
.panel[hidden] { display: none; }
.panel:focus-visible { outline-offset: 8px; }
.panel__text h3 { font-size: 26px; line-height: 1.35; letter-spacing: -0.025em; font-weight: 700; text-wrap: balance; }
.panel__text p { margin-top: 12px; color: var(--text-muted); }
.panel__next { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 16px; padding: 0 16px 0 18px; border: 1px solid var(--blue-line); border-radius: 22px; background: var(--paper); color: var(--blue-text); font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.panel__next:hover { background: var(--blue-soft); border-color: var(--blue); }
.panel__next svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t-fast) var(--ease); }
.panel__next:hover svg { transform: translateX(2px); }
.panel .legend li { padding-right: 16px; }
.panel .shot { grid-column: 1 / -1; }
.js .panel:not([hidden]) .shot { animation: panel-in 360ms var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } }

/* Verify ───────────────────────────────────────────────── */
.verify { background: var(--canvas); }
.pipe { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); }
.pipe::before { content: ''; position: absolute; left: 30px; right: 30px; top: 17px; height: 2px; background: var(--line-strong); }
.pipe li { position: relative; padding: 0 16px 20px 0; }
/* The two AI stages sit in a tinted column, so "2 of 8" is visible before reading. */
.pipe .is-ai::after { content: ''; position: absolute; inset: -16px 4px 0 -12px; z-index: -1; border-radius: var(--r-md); background: var(--ai-column); border: 1px solid var(--blue-line); }
.pipe__node {
  position: relative; display: inline-grid; place-items: center; min-width: 60px; height: 36px; padding: 0 12px;
  border: 1.5px solid var(--line-strong); border-radius: 18px; background: var(--paper);
  color: var(--text-muted); font-size: var(--fs-label); font-weight: 700;
}
.pipe .is-ai .pipe__node { border-color: var(--blue-fill); background: var(--blue-fill); color: var(--on-blue); box-shadow: 0 0 0 6px var(--pin-ring-hot); }
.pipe h3 { margin-top: 18px; font-size: 17px; line-height: 1.45; font-weight: 650; letter-spacing: -0.01em; }
.pipe .is-ai h3 { color: var(--blue-text); }
.pipe p { margin-top: 6px; color: var(--text-muted); font-size: var(--fs-label); line-height: 1.6; }

.ramp { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 56px; margin-top: clamp(56px, 6vw, 80px); padding: clamp(28px, 3.4vw, 44px); border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.ramp__title { font-size: 23px; line-height: 1.4; letter-spacing: -0.02em; font-weight: 700; }
.ramp__intro p { margin-top: 10px; color: var(--text-muted); font-size: var(--fs-small); }
.ramp__meter { position: relative; padding-top: 6px; }
.ramp__track { position: relative; display: grid; grid-template-columns: 50fr 20fr 15fr 15fr; gap: 3px; height: 12px; }
.seg { border-radius: 3px; }
.seg--d { background: var(--band-d); }
.seg--c { background: var(--band-c); }
.seg--b { background: var(--band-b); }
.seg--a { background: var(--band-a); }
/* The knob rides the left edge of a full-width layer that slides by --p, so it moves on the compositor. */
.ramp__thumb { position: absolute; inset: 0; transform: translateX(var(--p, 88%)); pointer-events: none; transition: transform 80ms linear; }
.ramp__thumb::before { content: ''; position: absolute; left: -13px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--paper); border: 2px solid var(--text); box-shadow: 0 2px 6px var(--thumb-shadow); }
.ramp__ticks { position: relative; height: 24px; margin-top: 10px; color: var(--text-muted); font-size: var(--fs-label); }
.ramp__ticks span { position: absolute; left: var(--t, 0); transform: translateX(-50%); }
.ramp__ticks span:first-child { transform: none; }
.ramp__ticks span:last-child { left: auto; right: 0; transform: none; }
.ramp input[type='range'] { position: absolute; inset: -12px 0 auto; width: 100%; height: 44px; margin: 0; opacity: 0; cursor: grab; }
.ramp input[type='range']:focus-visible + * { outline: none; }
.ramp__meter:focus-within .ramp__thumb::before { box-shadow: 0 0 0 5px var(--focus-ring), 0 2px 6px var(--thumb-shadow); }
.ramp__verdict { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.ramp__score { display: flex; align-items: baseline; gap: 2px; font-size: 56px; font-weight: 750; letter-spacing: -0.04em; line-height: 1; }
.ramp__score span { font-size: 20px; font-weight: 600; color: var(--text-muted); letter-spacing: 0; }
.ramp__band { display: inline-flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 700; }
.ramp__band::before { content: ''; width: 12px; height: 12px; border-radius: 3px; background: var(--band-a); }
.ramp__band[data-tone='b']::before { background: var(--band-b); }
.ramp__band[data-tone='c']::before { background: var(--band-c); }
.ramp__band[data-tone='d']::before { background: var(--band-d); }
.ramp__desc { margin-top: 4px; color: var(--text-muted); font-size: var(--fs-small); }

/* Privacy ──────────────────────────────────────────────── */
.platforms { background: var(--canvas); }
.arch { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; padding: clamp(24px, 4vw, 56px); border-radius: var(--r-lg); background: var(--canvas); border: 1px solid var(--line); }
.arch__pc { align-self: center; padding: 24px; border: 1.5px solid var(--blue-fill); border-radius: var(--r-md); background: var(--paper); box-shadow: 0 0 0 8px var(--blue-soft); }
.arch__label { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; }
.arch__label svg { width: 24px; height: 24px; fill: none; stroke: var(--blue-text); stroke-width: 1.7; stroke-linecap: round; }
.arch__store { display: grid; gap: 8px; margin-top: 18px; }
.arch__store li { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 8px 14px; border-radius: var(--r-sm); background: var(--canvas); border: 1px solid var(--line); font-size: var(--fs-small); }
.arch__store b { font-weight: 600; }
.arch__store span { color: var(--text-muted); font-size: var(--fs-label); text-align: right; }
.arch__out { display: grid; align-content: center; gap: 12px; }
.arch__out li { display: grid; grid-template-columns: minmax(96px, 1fr) minmax(0, 1.5fr); align-items: center; }
.arch__wire { position: relative; height: 32px; display: flex; align-items: center; justify-content: center; }
.arch__wire::before { content: ''; position: absolute; left: 0; right: 4px; top: 50%; border-top: 2px dashed var(--blue); }
.arch__wire::after { content: ''; position: absolute; right: 0; top: 50%; margin-top: -5px; border: 5px solid transparent; border-left: 7px solid var(--blue); border-right: 0; }
.arch__wire em { position: relative; z-index: 1; padding: 2px 10px; border-radius: var(--r-xs); background: var(--canvas); color: var(--blue-text); font-style: normal; font-size: var(--fs-label); font-weight: 650; white-space: nowrap; }
.arch__node { display: grid; gap: 2px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--paper); }
.arch__node b { font-weight: 650; font-size: 17px; }
.arch__node span { font-size: var(--fs-label); color: var(--text-muted); }
.arch__none { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 16px 20px; background: var(--paper); border: 1px dashed var(--line-strong); border-radius: var(--r-sm); color: var(--text-muted); font-size: var(--fs-small); }
.arch__none b { display: block; color: var(--text); font-weight: 650; }
.arch__cut { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--error-soft); }
.arch__cut svg { width: 18px; height: 18px; fill: none; stroke: var(--error); stroke-width: 2; stroke-linecap: round; }

/* Platforms ────────────────────────────────────────────── */
.os { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.os li { position: relative; display: grid; gap: 4px; padding: 32px 28px; }
.os li.is-yours::after { content: '지금 쓰는 컴퓨터'; position: absolute; top: 32px; right: 28px; padding: 2px 10px; border-radius: 13px; background: var(--blue-soft); color: var(--blue-text); font-size: var(--fs-label); font-weight: 650; }
.os li.is-yours .os__icon { color: var(--blue-text); }
.os li:first-child { padding-left: 0; }
.os li + li { border-left: 1px solid var(--line); }
.os__icon { width: 30px; height: 30px; margin-bottom: 14px; color: var(--text); }
.os h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.02em; }
.os p { color: var(--text-muted); font-size: var(--fs-small); }
.os__file { margin-top: 8px; }
.file { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: var(--r-xs); background: var(--sunken); color: var(--text); font-weight: 650; font-size: 15px; }
.start { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.start li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; }
.start__n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-text); font-weight: 700; }
.start h3 { font-size: 18px; font-weight: 650; line-height: 1.5; padding-top: 4px; }
.start p { margin-top: 4px; color: var(--text-muted); font-size: var(--fs-small); }
.platforms__spec { margin-top: 40px; color: var(--text-muted); font-size: var(--fs-small); }

/* FAQ ──────────────────────────────────────────────────── */
.faq { background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: 112px; }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq__list details { border-bottom: 1px solid var(--line-strong); }
.faq__list summary { position: relative; display: flex; align-items: center; min-height: 72px; padding: 16px 56px 16px 0; cursor: pointer; list-style: none; font-size: 19px; font-weight: 600; line-height: 1.5; transition: color var(--t-fast) var(--ease); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--blue-text); }
.faq__list summary::before, .faq__list summary::after { content: ''; position: absolute; right: 12px; top: 50%; width: 16px; height: 2px; margin-top: -1px; background: currentColor; border-radius: 1px; transition: transform var(--t-base) var(--ease); }
.faq__list summary::after { transform: rotate(90deg); }
.faq__list details[open] summary::after { transform: rotate(0deg); }
.faq__a { padding: 0 56px 28px 0; color: var(--text-2); }
.faq__steps { display: grid; gap: 10px; margin-top: 14px; }
.faq__steps li { padding: 12px 16px; border-radius: var(--r-sm); background: var(--canvas); border: 1px solid var(--line); font-size: var(--fs-small); }
.faq__steps b { color: var(--text); margin-right: 8px; }

/* Apply (the one night band) ───────────────────────────── */
.apply { background: radial-gradient(70% 90% at 0% 0%, var(--night-glow), transparent 60%), var(--night); color: var(--night-text); }
.apply .head__lead { color: var(--night-muted); }
.apply__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.apply__copy { position: sticky; top: 112px; }
.apply__points { display: grid; gap: 14px; margin-top: 36px; }
.apply__points li { display: flex; align-items: center; gap: 12px; font-size: 17px; }
.apply__points svg { width: 24px; height: 24px; padding: 5px; flex: none; border-radius: 50%; background: var(--night-2); fill: none; stroke: var(--night-blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.apply__panel { padding: clamp(24px, 3.4vw, 44px); border-radius: var(--r-lg); background: var(--paper); color: var(--text); box-shadow: var(--shadow-night); }

.form { display: grid; gap: 22px; }
.form[hidden] { display: none; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 16px; font-weight: 600; padding: 0; }
.opt { color: var(--text-muted); font-weight: 400; }
.field input:not([type='radio']) {
  width: 100%; min-height: 54px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--paper);
  font: inherit; font-size: 18px; color: var(--text);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field input::placeholder { color: var(--placeholder); }
.field input:hover { border-color: var(--line-hover); }
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--focus-ring); }
.field input[aria-invalid='true'] { border-color: var(--error); box-shadow: 0 0 0 4px var(--error-ring); }
.field__error { display: flex; gap: 6px; color: var(--error); font-size: var(--fs-small); font-weight: 500; line-height: 1.5; }
.field__error::before { content: '!'; display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--error); color: var(--paper); font-size: var(--fs-label); font-weight: 700; }
.field__error[hidden] { display: none; }
.field--choice legend { margin-bottom: 8px; }
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.choice { position: relative; display: flex; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { flex: 1; display: grid; place-items: center; min-height: 52px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); font-weight: 600; font-size: 17px; color: var(--text-muted); transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.choice:hover span { border-color: var(--line-hover); }
.choice input:checked + span { border-color: var(--blue-fill); background: var(--blue-soft); color: var(--blue-text); box-shadow: inset 0 0 0 1px var(--blue-fill); }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; gap: 2px; padding: 16px; border-radius: var(--r-sm); background: var(--canvas); border: 1px solid var(--line); }
.consent__check { display: flex; align-items: flex-start; min-height: 44px; padding-top: 2px; gap: 12px; cursor: pointer; font-size: 17px; font-weight: 500; line-height: 1.55; }
.consent__check input { flex: none; width: 28px; height: 28px; margin: -1px 0 0; accent-color: var(--blue-fill); cursor: pointer; }
.consent__detail summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--blue-text); font-size: var(--fs-small); font-weight: 600; }
.consent__detail div { display: grid; gap: 8px; padding-top: 4px; font-size: var(--fs-label); line-height: 1.65; color: var(--text-muted); }
.consent__detail b { color: var(--text); margin-right: 4px; }
.form__error { color: var(--error); font-size: var(--fs-small); font-weight: 500; }
.form__error:empty { display: none; }
.form__hint { color: var(--text-muted); font-size: var(--fs-label); text-align: center; }
.form--done { display: grid; justify-items: start; gap: 10px; padding: 12px 0; outline: none; }
.form--done[hidden] { display: none; }
.form__done-icon { width: 48px; height: 48px; fill: var(--ok-soft); stroke: var(--ok); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.form__done-title { margin-top: 8px; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.form__done-body { color: var(--text-muted); }

/* Footer ───────────────────────────────────────────────── */
.footer { padding: 56px 0 48px; background: var(--paper); border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; }
.footer__biz { display: grid; gap: 4px; margin-top: 18px; font-size: var(--fs-label); }
.footer__biz div { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
.footer__biz dt { color: var(--text-muted); }
.footer__biz dd { margin: 0; color: var(--text-2); }
.footer__copy { color: var(--text-muted); font-size: var(--fs-label); }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 8px; align-content: start; justify-content: flex-end; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--text-muted); text-decoration: none; font-size: var(--fs-small); border-radius: var(--r-sm); }
.footer__links a:hover { color: var(--text); background: var(--sunken); }
.footer__links b { color: var(--text); font-weight: 600; }
.footer__copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); }

/* Privacy policy page ──────────────────────────────────── */
.legal { max-width: 800px; padding-block: calc(72px + 72px) 112px; }
.legal h1 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.25; letter-spacing: -0.032em; }
.legal__meta { margin-top: 14px; color: var(--text-muted); font-size: var(--fs-label); }
.legal__summary { display: grid; gap: 10px; margin-top: 36px; padding: 24px 28px; border-radius: var(--r-md); background: var(--canvas); border: 1px solid var(--line); }
.legal__summary li { position: relative; padding-left: 26px; }
.legal__summary li::before { content: ''; position: absolute; left: 2px; top: 0.55em; width: 14px; height: 8px; border-left: 2px solid var(--blue-fill); border-bottom: 2px solid var(--blue-fill); transform: rotate(-45deg); }
.legal__lead { margin-top: 36px; }
.legal h2 { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 23px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.4; }
.legal h2 + * { margin-top: 14px; }
.legal p + p, .legal p + ul, .legal ul + p, .legal table + p { margin-top: 12px; }
.legal ul.bullets li { position: relative; padding-left: 20px; }
.legal ul.bullets li + li { margin-top: 6px; }
.legal ul.bullets li::before { content: ''; position: absolute; left: 4px; top: 0.72em; width: 6px; height: 6px; border-radius: 2px; background: var(--blue); }
.legal table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.legal th, .legal td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal th { background: var(--canvas); font-weight: 600; white-space: nowrap; }
.legal__back { margin-top: 56px; }
@media (max-width: 560px) { .legal th { white-space: normal; } .legal__summary { padding: 20px; } }

/* Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav__links a { padding: 0 8px; font-size: 15px; }
  .nav__inner { gap: 24px; }
  .legend--hero { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .hero__head { grid-template-columns: 1fr; }
  .pipe { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 40px; }
  .pipe::before { display: none; }
  .pipe .is-ai::after { inset: -12px 4px 0 -12px; }
  .steps { grid-template-columns: repeat(5, minmax(150px, 1fr)); }
}

@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .nav__links, .nav__cta { display: none; }
  .nav__cta--end { display: inline-flex; }
  .nav__menu { display: block; margin-left: auto; }
  .hero__head, .head--split, .panel, .ramp, .faq__grid, .apply__grid { grid-template-columns: 1fr; }
  .arch { grid-template-columns: 1fr; }
  .arch__out { margin: 0 0 0 24px; padding: 20px 0 8px 28px; border-left: 2px dashed var(--blue); gap: 14px; }
  .arch__out li { grid-template-columns: 1fr; gap: 6px; }
  .arch__wire { justify-content: flex-start; height: auto; }
  .arch__wire::before, .arch__wire::after { display: none; }
  .arch__wire em { padding: 0; }
  .os { grid-template-columns: 1fr; border-bottom: 0; }
  .os li, .os li:first-child { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .start { grid-template-columns: 1fr; gap: 24px; }
  .faq__head, .apply__copy { position: static; }
}

@media (max-width: 720px) {
  .pin { width: 28px; height: 28px; margin: -14px 0 0 -14px; box-shadow: 0 0 0 2px var(--paper), 0 0 0 5px var(--pin-ring); }
  .shot__bar { height: 30px; }
  /* Too small to read whole at phone width: show the annotated part at 1.6x. --crop (per shot, in
     index.html) is how much of the image's left edge to hide; it keeps every pin of that shot on screen. */
  .shot__view { width: 160%; margin-left: calc(var(--crop, 22%) * -1.6); }
  .shot__cap { display: none; }
  .legend, .legend--hero { grid-template-columns: 1fr; row-gap: 20px; }
  .pipe { grid-template-columns: 1fr; row-gap: 0; }
  .pipe li { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 16px; padding: 0 0 24px; }
  .pipe .is-ai::after { inset: -8px -8px 8px -8px; }
  .pipe li::before { content: ''; position: absolute; left: 30px; top: 36px; bottom: 0; width: 2px; background: var(--line-strong); }
  .pipe li:last-child::before { display: none; }
  .pipe__node { min-width: 60px; }
  .pipe h3 { margin-top: 4px; }
  .pipe p { grid-column: 2; }
  .ramp__verdict { grid-template-columns: 1fr; gap: 8px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; margin-left: -10px; }
}

@media (max-width: 480px) {
  :root { --gutter: 16px; --fs-body: 17px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .steps { grid-template-columns: repeat(5, minmax(132px, 1fr)); }
  .ramp__ticks span:last-child { display: none; }
  .os li.is-yours::after { top: 24px; right: 0; }
  .steps__tab { font-size: 16px; gap: 8px; }
  .choices { grid-template-columns: 1fr; }
  .faq__list summary { font-size: 18px; padding-right: 44px; }
  .faq__a { padding-right: 0; }
  .arch__out { margin-left: 12px; padding-left: 18px; }
}

@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; transition-delay: 0s !important; }
  .js .shot--hero .pin { opacity: 1; transform: none; }
}
