/*
 * ixstudio.kr — the landing page.
 *
 * One stylesheet, no build step, nothing fetched from another origin: the
 * session cookie is scoped to the whole registrable domain, so this page
 * carries no third-party code at all (specs/current/landing-page.md §5.1).
 *
 * Light only, on purpose. Every take on this page is the product's light UI,
 * and the BI is a black wordmark with a red dot on white.
 *
 * v2 (specs/current/landing-page-v2.md §4.2): the page takes its shape from
 * the wordmark `IX Studio.` — one diagonal corner cut at 45°, the IX red→black
 * gradient in exactly one place, and the red full stop. So there is no rounded
 * corner and no pill anywhere, no grey border with a shadow, nothing centred,
 * and nothing that slides or fades in. Two things move besides the takes: a
 * cut corner grows 4px under the pointer, and nothing else.
 */

/*
 * Landing Sans is Pretendard cut to the glyphs these pages show — ~40 KB a
 * weight against ~270 KB for KS X 1001's 2,350 syllables — and renamed, as
 * the OFL requires of a Modified Version of a face with a Reserved Font Name
 * (fonts/OFL-Pretendard.txt). `scripts/fetch-webfonts.ts --landing` makes it;
 * rerun it after a copy change, or a new syllable falls back to the next face.
 */
@font-face {
  font-family: "Landing Sans";
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/landing-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Landing Sans";
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/landing-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "Landing Sans";
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/landing-sans-700.woff2") format("woff2");
}

/* Registered so a cut can ease from one size to the next under the pointer. */
@property --cut {
  syntax: "<length>";
  inherits: true;
  initial-value: 0px;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f6f6f7;
  --bg-tone: #ececef;
  --ink: #111114;
  --text: #3c3c43;
  --muted: #62626b;
  --line: #e4e4e8;
  --line-strong: #cfcfd6;
  /* The BI red. White on it is 5.6:1, the download page's choice. */
  --red: #d2000d;
  --red-hover: #b0000b;
  --red-ink: #b8000b;
  --red-soft: #fdeced;
  /* The wordmark's own gradient stops (assets/logo.svg, #ix-wordmark-fade). */
  --ix-top: #ff0010;
  --ix-bottom: #000000;
  --ok: #0f7a3d;
  --ok-soft: #e8f5ee;

  /* One cut, four sizes — each proportional to what it cuts (§4.2). */
  --cut-button: 8px;
  --cut-input: 8px;
  --cut-card: 16px;
  --cut-hero: 28px;
  --cut-grow: 4px;
  /* The dot, in the same three sizes the step marks use. */
  --dot-s: 8px;
  --dot-m: 12px;
  --dot-l: 16px;

  --measure: 64ch;
  --container: 1120px;
  --gutter: 16px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --font: "Landing Sans", "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  /* What a visitor types can be any syllable, so the form's fields skip the
     cut face: one face for the whole entry rather than two within a word. */
  --font-entry: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
}

@media (min-width: 768px) {
  :root { --gutter: 24px; }
}
@media (min-width: 1100px) {
  :root { --gutter: 32px; }
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3 {
  color: var(--ink);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p { margin: 0; }

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

/* ── the cut ─────────────────────────────────────────────────────────── */
/*
 * The top-left corner, at 45°, the same way on everything — the corner the
 * wordmark's own letters are cut on (owner, 2026-09-25). `--cut` is set
 * per component (button 8 · input 8 · card 16 · hero frame 28). A clipped
 * element cannot show an outline outside itself, so its focus ring is drawn
 * inside (`outline-offset` below zero).
 */
.btn,
.take,
.shot,
.case-shot,
.card,
.scene,
.brief,
.diagram,
.field input,
.field textarea,
.consent,
.form-card,
.skip-link,
.form-error {
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}

.skip-link {
  --cut: var(--cut-button);
  position: absolute;
  left: var(--gutter);
  top: -48px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}
.skip-link:focus { top: 12px; outline-offset: -4px; outline-color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── the dot and the gradient ────────────────────────────────────────── */

/* The wordmark's full stop. It ends a sentence that ends in a result, and
   travels with the last word so it never wraps onto a line of its own. */
.tail { white-space: nowrap; }
.dot {
  display: inline-block;
  width: var(--dot-m);
  height: var(--dot-m);
  margin-left: 0.12em;
  border-radius: 50%;
  background: var(--red);
  vertical-align: baseline;
}
h1 .dot { width: var(--dot-l); height: var(--dot-l); }

/* The one place the IX red→black runs: the headline's "요청 한 번". Each
   line of it carries the whole fall, as each letter of the IX does. */
.grad {
  background-image: linear-gradient(180deg, var(--ix-top) 18%, var(--ix-bottom) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: transparent;
  /* 「요청 한 번」 stays one phrase when the headline takes three lines. */
  white-space: nowrap;
}
@media (forced-colors: active) {
  .grad { color: CanvasText; background-image: none; }
}

/* ── buttons ─────────────────────────────────────────────────────────── */

.btn {
  --cut: var(--cut-button);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: --cut 200ms var(--ease), background-color 200ms var(--ease), color 200ms var(--ease);
}
.btn:hover { --cut: calc(var(--cut-button) + var(--cut-grow)); }
.btn:focus-visible { outline-offset: -4px; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hover); }
.btn-primary:focus-visible { outline-color: #fff; }
.btn-secondary { background: var(--bg-tone); color: var(--ink); }
.btn-secondary:hover { background: #dedee3; }
.btn-ghost { background: transparent; color: var(--ink); padding: 0 12px; }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ── header ──────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 22px; width: auto; }
.site-nav { display: none; gap: 2px; margin-left: 20px; }
.site-nav a {
  padding: 8px 10px;
  color: var(--text);
  font-size: 15px;
  text-decoration: none;
  text-underline-offset: 6px;
  transition: color 200ms var(--ease);
}
.site-nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header-actions .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
@media (min-width: 960px) {
  .site-nav { display: flex; }
  .brand img { height: 24px; }
}

/* ── hero ────────────────────────────────────────────────────────────── */

/* The hero's own bottom padding is the whole gap to ②: 43 + ②'s 1px rule +
   20px = 64 on a phone, 75 + 1 + 20 = 96 on a wide screen (v2 §10 P0-1).
   `.hero + .section` drops the section's top padding, which used to stack on
   top of it for ~230px of nothing. */
.hero { padding: 48px 0 43px; }
.hero + .section { padding-top: 0; }
.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero h1 {
  max-width: 17ch;
  font-size: clamp(34px, 6.4vw, 64px);
  line-height: 1.16;
}
.hero-sub {
  max-width: var(--measure);
  margin-top: 24px;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 600;
  color: var(--ink);
}
.hero-lead {
  max-width: var(--measure);
  margin-top: 12px;
  font-size: clamp(16px, 2vw, 18px);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.hero-media { margin-top: 48px; }
.hero-media .take { --cut: var(--cut-hero); }
@media (min-width: 768px) {
  .hero { padding: 80px 0 75px; }
}

/* ── takes and still frames ──────────────────────────────────────────── */
/*
 * A frame is a 1px ink hairline that follows the cut: the frame is ink, and
 * what it holds is inset 1px and cut 0.59px (2 − √2) less, so the hairline
 * keeps its width along the diagonal too.
 */
.take,
.shot,
.case-shot {
  --cut: var(--cut-card);
  position: relative;
  padding: 1px;
  background: var(--ink);
}
/* A still sits in a <picture> (AVIF, then WebP, then JPEG); the motion case
   is a <video> in the same frame. */
.shot picture,
.case-shot picture { display: block; }
.take > video,
.shot img,
.case-shot img,
.case-shot video {
  width: 100%;
  background: #fff;
  clip-path: polygon(calc(var(--cut) - 0.59px) 0, 100% 0, 100% 100%, 0 100%, 0 calc(var(--cut) - 0.59px));
}
.case-shot video { height: auto; object-fit: cover; cursor: pointer; }
.case-shot video:focus-visible { outline-offset: -4px; }
.take { aspect-ratio: 16 / 9; }
.take video { height: 100%; object-fit: cover; cursor: pointer; }
.take video:focus-visible { outline-offset: -4px; }
.take-note { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ── sections ────────────────────────────────────────────────────────── */

.section { padding: 72px 0; }
.section + .section { padding-top: 0; }
.section > .container { padding-top: 0; }
.section-head {
  max-width: var(--measure);
  margin: 0 0 40px;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}
.kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.section-head h2 { font-size: clamp(28px, 4.6vw, 44px); }
.section-head p { margin-top: 16px; font-size: 17px; }
@media (min-width: 768px) {
  .section { padding: 112px 0; }
  .section-head { margin-bottom: 56px; }
}

/* A card is a tone and a left rule, cut at the top right. */
.card,
.scene {
  --cut: var(--cut-card);
  padding: 24px 24px 26px;
  border-left: 1px solid var(--ink);
  background: var(--bg-soft);
}
.card h3,
.scene h3 { font-size: 18px; }
.card p,
.scene p { margin-top: 8px; font-size: 15px; }

/* ② Where it hurts now. */
.scenes { display: grid; gap: 16px; }
.scene blockquote { margin: 12px 0 0; }
.scene blockquote p { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.scene > p { color: var(--text); }
.section-close { max-width: var(--measure); margin-top: 40px; font-size: 17px; }
@media (min-width: 900px) {
  .scenes { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* ③ Same brief, two brands. */
.brief {
  --cut: var(--cut-card);
  max-width: 820px;
  margin: 0 0 32px;
  padding: 18px 24px 20px;
  border-left: 1px solid var(--ink);
  background: var(--bg-soft);
  font-size: 15px;
}
.brief .label,
.case-brief .label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.02em; }
.compare { display: grid; gap: 28px; align-items: start; }
.compare figure { margin: 0; }
.compare figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  margin-top: 12px;
  font-weight: 600;
  color: var(--ink);
}
/* The page goes on past the frame: the lower part thins out rather than
   stopping at an edge, so the eye reads "더 있다". A transparency mask, not a
   colour — the IX gradient stays in the headline alone. */
.shot-fade {
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}
.more {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-underline-offset: 4px;
  white-space: nowrap;
}
.compare-note { max-width: var(--measure); margin-top: 36px; font-size: 16px; }
@media (min-width: 768px) {
  .compare { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ④ What it makes. */
.kinds {
  display: grid;
  gap: 0;
  margin: 0 0 48px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}
.kinds li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}
@media (min-width: 900px) {
  .kinds { grid-template-columns: repeat(5, auto); justify-content: start; border-top: 0; }
  .kinds li { padding: 4px 22px 4px 16px; border-bottom: 0; border-left: 1px solid var(--ink); font-size: 16px; }
}
.cases { display: grid; gap: 32px; }
.case { margin: 0; }
.case figcaption { margin-top: 14px; }
.case-kind { display: block; color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; }
.case-brief { display: block; margin-top: 8px; font-size: 15px; color: var(--ink); }
.case .more { display: inline-block; margin-top: 10px; }
@media (min-width: 900px) {
  .cases { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ⑤ How: the three steps down the left, the chosen step's take on the right.
   Without the script, or on a narrow screen, it is a plain stack. */
.how { display: grid; gap: 40px; margin: 0; padding: 0; list-style: none; }
.how-title { font-size: clamp(20px, 3vw, 24px); }
.how-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: default;
}
.how-num {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: var(--dot-l);
  height: var(--dot-l);
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}
.how-copy { margin-top: 10px; max-width: var(--measure); font-size: 16px; }
.how-take { margin-top: 18px; }

@media (min-width: 960px) {
  .js .how {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-auto-rows: auto;
    column-gap: 56px;
    row-gap: 0;
    align-items: start;
  }
  .js .how-step { display: contents; }
  .js .how-title,
  .js .how-copy {
    grid-column: 1;
    padding-left: 20px;
    border-left: 1px solid var(--line-strong);
  }
  .js .how-title { padding-top: 18px; }
  .js .how-copy { margin-top: 0; padding-top: 8px; padding-bottom: 20px; color: var(--muted); }
  .js .how-step.is-active .how-title,
  .js .how-step.is-active .how-copy { border-left-color: var(--ink); }
  .js .how-step.is-active .how-copy { color: var(--text); }
  .js .how-tab { cursor: pointer; color: var(--muted); }
  .js .how-tab:hover,
  .js .how-step.is-active .how-tab { color: var(--ink); }
  .js .how-step .how-num { background: transparent; box-shadow: inset 0 0 0 1px currentColor; color: inherit; }
  /* The one red mark in the list: the step on screen. */
  .js .how-step.is-active .how-num { background: var(--red); box-shadow: none; color: #fff; }
  .js .how-take {
    grid-column: 2;
    grid-row: 1 / span 6;
    margin-top: 0;
    visibility: hidden;
  }
  .js .how-step.is-active .how-take { visibility: visible; }
}

/* ⑥ The company. */
.cards { display: grid; gap: 16px; }
@media (min-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; gap: 20px; }
}
.company-notes {
  display: grid;
  gap: 14px;
  max-width: var(--measure);
  margin-top: 36px;
}
.company-notes p { font-size: 16px; }

/* ⑦ After adoption: a drawing of the record, not a capture of it. */
.diagram {
  --cut: var(--cut-card);
  max-width: 820px;
  margin: 0;
  padding: 12px 8px 4px;
  border-left: 1px solid var(--ink);
  background: var(--bg-soft);
}
/* One drawing per figure, sized so its smallest label stays at 13px or more
   in the narrowest column it can land in (280px): 17px type in a 360 viewBox,
   19px in a 400 one. Lines are 2px. */
.diagram-art { display: block; width: 100%; height: auto; }
.source-note { max-width: var(--measure); margin-top: 16px; font-size: 13px; color: var(--muted); }

/* ⑧ The maker: its facts in one cut card, no logos and no numbers. */
.text-link { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
.facts {
  --cut: var(--cut-card);
  padding: 22px 24px 24px;
  border-left: 1px solid var(--ink);
  background: var(--bg-soft);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}
.facts ul { margin: 0 0 18px; padding: 0; list-style: none; }
.facts li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}
.facts li:first-child { padding-top: 0; }

/* ⑥ ⑦ ⑧ on a wide screen: the text at its measure on the left, one piece
   that supports it on the right, so the right 40% of the page is not empty
   (v2 §10 P0-2). Below 1024px the piece follows the text. After the figure
   and card rules above, which it resizes. */
.split-main > :last-child { margin-bottom: 0; }
.diagram-side,
.facts { margin-top: 40px; max-width: 520px; }
@media (min-width: 1024px) {
  .split {
    display: grid;
    grid-template-columns: minmax(0, var(--measure)) minmax(280px, 1fr);
    column-gap: 48px;
    align-items: start;
  }
  .diagram-side,
  .facts { margin-top: 0; max-width: none; }
}

/* ⑨ How a demo becomes a contract. The numbers stay ink: this title's dot
   and the one above it already share a screen, and a third red mark would
   make the dot decoration rather than a full stop. */
.process { display: grid; gap: 0; counter-reset: process; list-style: none; margin: 0; padding: 0; }
.process li {
  position: relative;
  padding: 18px 20px 20px 20px;
  border-left: 1px solid var(--ink);
  counter-increment: process;
}
.process li::before {
  content: counter(process);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--dot-l);
  height: var(--dot-l);
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}
.process h3 { font-size: 17px; }
.process p { margin-top: 4px; font-size: 15px; }
.process-note { max-width: var(--measure); margin-top: 32px; font-size: 16px; }
@media (min-width: 1000px) {
  .process { grid-template-columns: repeat(5, 1fr); }
}

/* ⑩ Questions: all open, two columns on a wide screen. Answers stay on the
   page rather than behind a click — a security reviewer reads all six. */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.faq-item { padding: 22px 0 24px; border-bottom: 1px solid var(--line-strong); }
.faq-item h3 { font-size: 17px; }
.faq-item p { max-width: var(--measure); margin-top: 8px; font-size: 15px; }
@media (min-width: 900px) {
  .faq { grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 0; }
  .faq-item:nth-child(-n + 2) { border-top: 1px solid var(--line-strong); }
}

/* ── the demo form ───────────────────────────────────────────────────── */

.demo { display: grid; gap: 32px; align-items: start; }
.demo-copy { padding-top: 20px; border-top: 1px solid var(--ink); }
.demo-copy h2 { font-size: clamp(28px, 4.6vw, 44px); }
.demo-copy p { margin-top: 16px; font-size: 17px; max-width: var(--measure); }
.demo-copy .contact { margin-top: 24px; font-size: 15px; color: var(--muted); }
.demo-copy .contact a { color: var(--ink); font-weight: 600; }
@media (min-width: 960px) {
  .demo { grid-template-columns: 5fr 7fr; gap: 64px; }
  .demo-copy { position: sticky; top: 96px; }
}

.form-card {
  --cut: var(--cut-card);
  padding: 24px;
  border-left: 1px solid var(--ink);
  background: var(--bg-soft);
}
@media (min-width: 640px) {
  .form-card { padding: 32px; }
}
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .span-2 { grid-column: 1 / -1; }
}

.field label,
.field .label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
/* 필수 · 선택: words, not badges. */
.tag { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; }
.tag-req { color: var(--ink); }
.tag-opt { color: var(--muted); font-weight: 400; }

.field input,
.field textarea {
  --cut: var(--cut-input);
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-family: var(--font-entry);
  font-size: 16px;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
/* 4.6:1 on white — a hint is still text someone has to read. */
.field input::placeholder,
.field textarea::placeholder { color: #737380; }
.field input:focus-visible,
.field textarea:focus-visible,
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}
.field [aria-invalid="true"] { border-bottom: 2px solid var(--red); }
.field-hint { margin-top: 6px; font-size: 13px; color: var(--muted); }
.field-error { margin-top: 6px; font-size: 13px; color: var(--red-ink); font-weight: 600; }

/* Out of sight for people; filled only by something that fills everything. */
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.consent {
  --cut: var(--cut-card);
  margin-top: 22px;
  padding: 18px 20px;
  background: #fff;
  font-size: 14px;
}
/* The notice folds to one line; the whole of it is a click away (v2 §3 ⑪). */
.consent-more > summary {
  display: block;
  position: relative;
  padding-right: 28px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}
.consent-more > summary::-webkit-details-marker { display: none; }
.consent-more > summary::after {
  content: "+";
  position: absolute;
  top: -1px;
  right: 2px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}
.consent-more[open] > summary::after { content: "−"; }
.consent-more > summary:focus-visible { outline-offset: 2px; }
.consent-title { display: block; margin-bottom: 2px; color: var(--ink); font-size: 15px; font-weight: 700; }
.consent dl { display: grid; gap: 6px; margin: 12px 0; }
.consent dl div { display: grid; grid-template-columns: 76px 1fr; gap: 8px; }
.consent dt { color: var(--muted); font-weight: 600; }
.consent dd { margin: 0; color: var(--text); }
.consent p { color: var(--text); }
.consent a { color: var(--ink); font-weight: 600; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
/* The one box a platform would round: drawn here, square and cut like every
   other input (v2 §10 P2), an ink frame with the tick in white. A clipped box
   cannot show a ring outside itself, so the label carries the focus ring. */
.check input {
  --cut: var(--cut-input);
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  -webkit-appearance: none;
  appearance: none;
  background: var(--ink);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
  cursor: pointer;
}
.check input::before {
  content: "";
  position: absolute;
  inset: 2px;
  background: #fff;
  clip-path: polygon(calc(var(--cut) - 1.17px) 0, 100% 0, 100% 100%, 0 100%, 0 calc(var(--cut) - 1.17px));
}
.check input:checked::before { background: var(--ink); }
.check input:checked::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.check input:focus-visible { outline: none; }
.check:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 4px; }

.form-error {
  --cut: var(--cut-input);
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 2px solid var(--red);
  background: var(--red-soft);
  color: var(--red-ink);
  font-size: 14px;
  font-weight: 600;
}
.form-error:focus-visible { outline-offset: -3px; }
.form-actions { margin-top: 22px; }
.form-actions .btn { width: 100%; }
@media (min-width: 640px) {
  .form-actions .btn { width: auto; }
}

.done { padding: 8px 0; }
.done-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--ok-soft);
  color: var(--ok);
  font-size: 22px;
  font-weight: 700;
}
.done h3 { margin-top: 16px; font-size: 22px; }
.done p { margin-top: 8px; font-size: 16px; }

/* ── footer ──────────────────────────────────────────────────────────── */

.site-footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  color: var(--muted);
}
.site-footer .brand img { height: 18px; }
.footer-grid { display: grid; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a { color: var(--ink); font-weight: 600; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.company { display: flex; flex-wrap: wrap; gap: 4px 14px; font-style: normal; }
.copyright a { color: var(--ink); font-weight: 600; text-decoration: none; }
.copyright a:hover { text-decoration: underline; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: auto 1fr; gap: 12px 48px; align-items: start; }
  .footer-grid .footer-links { justify-content: flex-end; }
  .company,
  .copyright { grid-column: 1 / -1; }
}

/* ── motion ──────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}

/* ── the privacy policy ──────────────────────────────────────────────── */

.doc { max-width: 780px; margin: 0 auto; padding: 56px var(--gutter) 88px; }
.doc h1 { font-size: clamp(28px, 5vw, 38px); }
.doc .doc-meta { margin-top: 10px; color: var(--muted); font-size: 14px; }
.doc .doc-lead { margin-top: 24px; font-size: 16px; }
.doc h2 { margin-top: 44px; font-size: 20px; }
.doc h3 { margin-top: 20px; font-size: 16px; }
.doc p,
.doc li { font-size: 15px; }
.doc p { margin-top: 10px; }
.doc ul { margin: 10px 0 0; padding-left: 20px; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--ink); font-weight: 600; }
.table-wrap { margin-top: 14px; overflow-x: auto; border: 1px solid var(--line); }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; }
.doc th,
.doc td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc th { background: var(--bg-soft); color: var(--ink); font-weight: 600; white-space: nowrap; }
.doc tr:last-child td { border-bottom: 0; }

/* ── a result, whole (view/*) ────────────────────────────────────────── */
/*
 * 「전체 페이지 보기」 opened the capture itself, and a browser fits an
 * image 7,000px tall to the window: a column too small to read. Here the
 * capture spans the page's own column (1120px, the header's too) and scrolls
 * like a page; the motion case plays its loop instead of showing a still.
 */
.viewer { padding: 28px 0 72px; }
.viewer-back { margin-bottom: 20px; font-size: 14px; }
.viewer-back a { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
.viewer h1 { margin-top: 8px; font-size: clamp(24px, 4vw, 34px); }
.viewer .case-brief { max-width: var(--measure); margin-top: 14px; }
.viewer-shot {
  --cut: var(--cut-hero);
  margin: 28px 0 0;
  padding: 1px;
  background: var(--ink);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}
.viewer-shot picture { display: block; }
.viewer-shot img,
.viewer-shot video {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  clip-path: polygon(calc(var(--cut) - 0.59px) 0, 100% 0, 100% 100%, 0 100%, 0 calc(var(--cut) - 0.59px));
}
.viewer-note { margin-top: 12px; font-size: 13px; color: var(--muted); }
