/* AX Studio by WITHUP — constellation on black velvet (2026-11) */
@font-face { font-family: 'AX Sans'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('./fonts/ax-sans.woff2') format('woff2-variations'), url('./fonts/ax-sans.woff2') format('woff2'); }

:root {
  --void: #000;
  --white: #fff;
  --ash: #9a9a9a;
  --mist: #bdbdbd;
  --iris: #8052ff;
  --iris-hi: #9370ff;
  --saffron: #ffb829;
  --verdant: #15846e;
  --field: #141414;
  --field-hi: #1b1b1b;
  --hair: rgba(255, 255, 255, 0.09);
  --danger: #ff7070;

  /* 본문 굵기: 원본 스타일은 200. 한글 가독성을 위해 300으로 둡니다. */
  --w-body: 300;
  --sans: 'AX Sans', 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --max: 1280px;
  --gutter: clamp(20px, 4.5vw, 48px);
  --section: clamp(96px, 12vw, 168px);
  --r: 24px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--void); color: var(--white); font-family: var(--sans); font-weight: var(--w-body); font-size: 18px; line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { display: block; }
a { color: inherit; }
b, strong { font-weight: 600; }
::selection { background: var(--iris); color: #fff; }
:focus-visible { outline: 2px solid var(--iris-hi); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* type */
.label { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--saffron); margin: 0 0 22px; }
h1, h2, h3 { font-weight: 400; margin: 0; }
h1 { font-size: clamp(44px, 6.1vw, 92px); line-height: 1.04; letter-spacing: -0.045em; }
h2 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -0.04em; }
.body { color: var(--mist); max-width: 520px; margin: 26px 0 0; }
.body em { font-style: normal; color: var(--saffron); }
.muted { color: var(--ash); }

/* buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 15px; font-weight: 600; letter-spacing: 0.01em; color: #fff; background: var(--iris); border: 0; border-radius: var(--r); padding: 15px 24px; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; white-space: nowrap; }
.pill:hover { background: var(--iris-hi); transform: translateY(-1px); }
.pill.sm { padding: 10px 18px; font-size: 14px; }
.pill[disabled] { opacity: .6; cursor: progress; transform: none; }
.ghost { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-size: 15px; font-weight: 500; color: var(--ash); background: none; border: 0; padding: 12px 2px; cursor: pointer; text-decoration: none; transition: color .2s; }
.ghost:hover, .ghost[aria-expanded=true] { color: var(--white); }
.plus { position: relative; width: 12px; height: 12px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 5.25px; width: 12px; height: 1.5px; background: currentColor; transition: transform .25s; }
.plus::after { transform: rotate(90deg); }
[aria-expanded=true] .plus::after, details[open] > summary .plus::after { transform: rotate(0deg); }

/* nav */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(0, 0, 0, 0.92); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.logo .by { font-size: 12px; font-weight: 500; color: var(--ash); letter-spacing: 0.02em; margin-left: -2px; }
@media (max-width: 400px) { .logo .by { display: none; } }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a.t { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--ash); text-decoration: none; transition: color .2s; }
.nav-links a.t:hover { color: var(--white); }

/* sections */
section { padding-top: var(--section); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.split.rev { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }

/* hero */
.hero { position: relative; padding-top: 0; min-height: min(calc(100svh - 72px), 900px); display: flex; align-items: center; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; padding-top: clamp(40px, 7vh, 80px); padding-bottom: clamp(56px, 9vh, 96px); }
.hero-text { max-width: 720px; }
.hero .body { font-size: clamp(17px, 1.5vw, 19px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; margin-top: 40px; }
.meta { margin-top: 44px; font-size: 14px; color: var(--ash); display: flex; flex-wrap: wrap; gap: 6px 10px; }
.meta span + span::before { content: "·"; margin-right: 10px; color: #555; }
/* 배경 입자: 화면에 고정, 스크롤에 따라 모양이 바뀝니다 */
#field { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; }
.nav, main, footer { position: relative; z-index: 1; }
.nav { position: sticky; z-index: 40; }
.hero-space { display: none; }

/* list accordions */
.rows { margin: 0; padding: 0; list-style: none; }
.row > summary, .row-static { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px 1fr auto; align-items: baseline; gap: 12px; padding: 20px 0; font-size: clamp(21px, 2vw, 27px); font-weight: 400; letter-spacing: -0.02em; line-height: 1.3; color: var(--white); transition: color .2s; }
.row > summary::-webkit-details-marker { display: none; }
.row > summary:hover { color: var(--white); }
.row:not([open]) > summary { color: #d8d8d8; }
.row > summary .n, .row-static .n { font-size: 13px; font-weight: 500; color: #6e6e6e; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.row > summary .plus { color: var(--ash); align-self: center; }
.row .in { padding: 0 0 24px 56px; color: var(--mist); font-size: 16.5px; max-width: 640px; }
.row .in p { margin: 0 0 8px; }
.eg { color: var(--ash); font-size: 14.5px; }
.eg b { color: var(--saffron); font-weight: 600; margin-right: 8px; }
.rows .row + .row { border-top: 1px solid var(--hair); }

/* case */
.stat { font-size: clamp(120px, 17vw, 240px); line-height: .86; letter-spacing: -0.06em; font-weight: 300; }
.stat small { font-size: .42em; color: #4d4d4d; letter-spacing: -0.04em; }
.stat-cap { color: var(--ash); font-size: 15px; margin-top: 18px; }
.shape-slot { height: 150px; margin-top: 26px; }
@media (min-width: 981px) { .dots { display: none !important; } }
.dots { display: flex; gap: 12px; margin-top: 30px; align-items: center; }
.dot { width: 14px; height: 14px; border-radius: 50%; background: var(--iris); }
.dot.h { background: none; box-shadow: inset 0 0 0 1.5px var(--saffron); }
.legend { display: flex; gap: 18px; margin-top: 22px; font-size: 13px; color: var(--ash); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--iris); margin-right: 7px; vertical-align: 1px; }
.legend i.h { background: none; box-shadow: inset 0 0 0 1.5px var(--saffron); }
.flow { list-style: none; margin: 8px 0 0; padding: 0; }
.flow li { display: grid; grid-template-columns: 14px 1fr; gap: 16px; padding: 10px 0; color: var(--mist); font-size: 16.5px; }
.flow li .dot { width: 9px; height: 9px; margin-top: 9px; }
.flow li b { color: var(--white); font-weight: 500; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: baseline; padding: 18px 0; }
.steps li + li { border-top: 1px solid var(--hair); }
.steps .n { font-size: 13px; font-weight: 500; color: #6e6e6e; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: clamp(21px, 2vw, 27px); letter-spacing: -0.02em; line-height: 1.3; }
.steps .when { font-size: 13px; font-weight: 600; color: var(--saffron); white-space: nowrap; }
.steps p { grid-column: 2 / -1; margin: 6px 0 0; color: var(--mist); font-size: 16.5px; display: none; }
.steps.open p { display: block; }

/* promises */
.promises { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; }
.promises h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 8px; }
.promises p { margin: 0; color: var(--ash); font-size: 16px; }

/* form */
.form-wrap { position: relative; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.f > label, .f > .fl { font-size: 14px; font-weight: 600; color: var(--mist); }
.f > label i, .f > .fl i { font-style: normal; color: var(--saffron); margin-left: 3px; }
.f .opt { color: #6e6e6e; font-weight: 400; }
input[type=text], input[type=tel], input[type=email], select, textarea { width: 100%; font: inherit; font-size: 17px; font-weight: 400; color: var(--white); background: var(--field); border: 0; border-radius: 14px; padding: 16px 18px; outline: none; transition: background .2s, box-shadow .2s; }
select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--ash) 50%), linear-gradient(135deg, var(--ash) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 17px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
select option { background: #111; color: #fff; }
textarea { min-height: 104px; resize: vertical; line-height: 1.55; }
input::placeholder, textarea::placeholder { color: #666; }
input:focus, select:focus, textarea:focus { background: var(--field-hi); box-shadow: 0 0 0 2px var(--iris); }
.f.bad input, .f.bad select { box-shadow: 0 0 0 2px var(--danger); }
.err { display: none; font-size: 13px; color: var(--danger); }
.f.bad .err, .consent.bad .err { display: block; }
.more { margin: 6px 0 8px; }
.more > summary { list-style: none; cursor: pointer; }
.more > summary::-webkit-details-marker { display: none; }
.more[open] > summary { color: var(--white); }
.more .in { padding-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 10px 16px; border-radius: 9999px; background: var(--field); font-size: 14.5px; font-weight: 400; color: var(--mist); transition: background .18s, color .18s, box-shadow .18s; user-select: none; }
.chip input:checked + span { background: rgba(128, 82, 255, .22); color: #fff; box-shadow: inset 0 0 0 1.5px var(--iris); }
.chip input:focus-visible + span { outline: 2px solid var(--iris-hi); outline-offset: 2px; }
.consent { margin: 18px 0 26px; }
.consent .check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 500; cursor: pointer; }
.consent input[type=checkbox] { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--iris); flex: none; }
.consent details { margin: 6px 0 0 32px; font-size: 13.5px; color: var(--ash); }
.consent summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; }
.consent summary::-webkit-details-marker { display: none; }
.consent dl { display: grid; grid-template-columns: 70px 1fr; gap: 6px 12px; margin: 10px 0 6px; }
.consent dt { color: var(--mist); }
.consent dd { margin: 0; }
.consent a { color: var(--saffron); }
.consent.bad .check { color: var(--danger); }
.consent .err { margin: 6px 0 0 32px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.submit { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.submit small { color: #6e6e6e; font-size: 13px; }
.msg { display: none; margin-top: 14px; font-size: 14px; color: var(--danger); }
.msg.show { display: block; }
.msg a, .contact-note a { color: var(--saffron); }
.submit small a { color: var(--mist); }
.submit small a:hover { color: var(--white); }
.done { display: none; padding: 8px 0; }
.done h3 { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -0.04em; line-height: 1.15; margin: 0 0 16px; }
.done p { color: var(--mist); margin: 0 0 6px; }
.contact-note { color: var(--ash); font-size: 15px; margin-top: 30px; }

/* dialog */
dialog { border: 0; padding: 0; background: #000; color: var(--white); border-radius: var(--r); width: min(720px, calc(100vw - 32px)); max-height: calc(100svh - 40px); box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
dialog::backdrop { background: rgba(0, 0, 0, 0.78); }
.dlg { padding: clamp(28px, 5vw, 52px); position: relative; }
.dlg h3 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.04em; line-height: 1.12; margin-bottom: 18px; }
.dlg p { color: var(--mist); margin: 0 0 22px; }
.dlg dl { display: grid; grid-template-columns: 92px 1fr; gap: 14px 18px; margin: 0 0 26px; }
.dlg dt { color: var(--saffron); font-weight: 600; font-size: 15px; }
.dlg dd { margin: 0; color: var(--mist); font-size: 16px; }
.dlg ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.dlg li { color: var(--mist); font-size: 16px; }
.dlg li b { color: var(--white); font-weight: 500; margin-right: 8px; }
.x { position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--field); color: var(--white); cursor: pointer; font: inherit; font-size: 20px; line-height: 1; }
.x:hover { background: var(--field-hi); }

/* footer */
footer { margin-top: var(--section); padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); font-size: 13.5px; color: var(--ash); }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--ash); text-decoration: none; }
footer a:hover { color: var(--white); }
footer .links { display: flex; gap: 22px; flex-wrap: wrap; }

/* legal */
.legal { max-width: 860px; padding-top: clamp(56px, 8vw, 96px); }
.legal h1 { font-size: clamp(38px, 5vw, 64px); letter-spacing: -0.04em; margin-bottom: 14px; }
.legal h2 { font-size: 22px; letter-spacing: -0.02em; margin: 48px 0 12px; }
.legal p, .legal li { color: var(--mist); font-size: 16.5px; }
.legal ul { padding-left: 20px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.legal th, .legal td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hair); }
.legal th { color: var(--white); font-weight: 500; width: 26%; }
.legal td { color: var(--mist); }
.legal a { color: var(--saffron); }

/* responsive */
@media (max-width: 980px) {
  .split, .split.rev { grid-template-columns: 1fr; }
  .nav-links a.t { display: none; }
  .hero { min-height: 0; display: block; }
  .hero-space { display: block; height: 300px; }
  .shape-slot { display: none; }
  .hero .wrap { padding-top: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .nav .wrap { height: 64px; }
  .hero-space { height: 270px; }
  .grid2 { grid-template-columns: 1fr; gap: 0; }
  .promises { grid-template-columns: 1fr; gap: 28px; }
  .row > summary, .row-static, .steps li { grid-template-columns: 34px 1fr auto; }
  .row .in { padding-left: 46px; }
  .steps li { grid-template-columns: 34px 1fr; }
  .steps .when { grid-column: 2; }
  .actions .pill { flex: 1 1 100%; }
  .submit .pill { width: 100%; }
  .dlg dl { grid-template-columns: 1fr; gap: 2px; }
  .dlg dd { margin-bottom: 12px; }
}
