/* o2one — 면접실 유리 칸막이의 차가운 회색, 잉크, 녹음 표시등 하나.
   토큰은 Tailwind 스케일에 맞춘다: 간격 4px 단위(1=4px), 글자 xs~7xl, 모서리 md/xl/2xl/full. */
:root {
  /* color — 60 glass/panel · 30 ink/muted · 10 rec */
  --glass: #E8EDF1;
  --panel: #F6F8FA;
  --ink: #111827;          /* gray-900 */
  --muted: #4B5563;        /* gray-600: 본문 보조, glass 위 6.3:1 */
  --subtle: #6B7280;       /* gray-500: 라벨·캡션 */
  --rule: #D1D9E0;
  --rec: #E5432A;
  --rec-soft: rgba(229, 67, 42, .10);
  --mint: #BBF7D0;         /* green-200 */
  --shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 24px 48px -24px rgba(17, 24, 39, .22);

  /* type — Tailwind scale */
  --t-xs: .75rem;    /* 12 */
  --t-sm: .875rem;   /* 14 */
  --t-base: 1rem;    /* 16 */
  --t-lg: 1.125rem;  /* 18 */
  --t-xl: 1.25rem;   /* 20 */
  --t-2xl: 1.5rem;   /* 24 */
  --font: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  /* space — Tailwind 2·3·4·6·8·12·16·24·32 */
  --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-6: 1.5rem; --s-8: 2rem;
  --s-12: 3rem; --s-16: 4rem; --s-24: 6rem; --s-32: 8rem;
  --section: var(--s-32);

  /* radius */
  --r-md: .375rem; --r-xl: .75rem; --r-2xl: 1rem;

  --w: 1152px;       /* max-w-6xl */
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --glass: #0D141A;
    --panel: #141E26;
    --ink: #E5EAEF;
    --muted: #A3AFBA;
    --subtle: #8593A0;
    --rule: #24323D;
    --rec: #F05A42;
    --rec-soft: rgba(240, 90, 66, .14);
    --mint: #14532D;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 24px 48px -24px rgba(0, 0, 0, .6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--s-16); }
body {
  margin: 0;
  background: var(--glass);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-base);
  line-height: 1.625;               /* leading-relaxed */
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
::selection { background: var(--rec-soft); }
:focus-visible { outline: 2px solid var(--rec); outline-offset: 3px; border-radius: var(--r-md); }
.mono { font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--w); margin: 0 auto; padding-left: var(--s-6); padding-right: var(--s-6); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--s-4); top: var(--s-4); background: var(--ink); color: var(--glass); padding: var(--s-2) var(--s-3); z-index: 9; }

/* 워드마크: 가운데 2가 두 사람 사이에 놓인다 */
.mark { display: inline-flex; align-items: baseline; font-weight: 800; font-size: var(--t-2xl); letter-spacing: -.04em; text-decoration: none; }
.mark__two { color: var(--rec); font-size: .62em; margin: 0 .08em; transform: translateY(-.32em); font-family: var(--mono); font-weight: 500; }
.mark--small { font-size: var(--t-lg); }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--glass) 85%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--rule) 70%, transparent); }
.top__row { display: flex; align-items: center; justify-content: space-between; height: var(--s-16); }
.top nav { display: flex; align-items: center; gap: var(--s-8); }
.top nav a { text-decoration: none; font-size: var(--t-sm); font-weight: 500; color: var(--muted); transition: color .15s ease; }
.top nav a:hover { color: var(--ink); }
.top nav .nav-cta { color: var(--ink); border: 1px solid var(--rule); border-radius: 999px; padding: var(--s-2) var(--s-4); transition: border-color .15s ease, background-color .15s ease; }
.top nav .nav-cta:hover { border-color: var(--ink); background: var(--panel); }

.eyebrow { font-family: var(--mono); font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .14em; color: var(--subtle); margin: 0 0 var(--s-4); }
.eyebrow::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--rec); margin-right: var(--s-2); vertical-align: 1px; }

h1, h2, h3 { text-wrap: balance; }
h2 { font-size: clamp(1.875rem, 3.6vw, 2.75rem); line-height: 1.12; letter-spacing: -.035em; font-weight: 800; margin: 0 0 var(--s-6); }
h3 { font-weight: 700; letter-spacing: -.02em; }
p { text-wrap: pretty; }

/* intro: company thesis */
.intro { padding-top: var(--s-24); padding-bottom: var(--s-24); }
h1 { font-size: clamp(2.75rem, 7vw, 6rem); line-height: 1.02; letter-spacing: -.05em; font-weight: 800; margin: 0 0 var(--s-16); }
h1 em { font-style: normal; position: relative; white-space: nowrap; }
h1 em::after { content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .06em; height: .16em; background: var(--rec); z-index: -1; transform-origin: left; animation: underline .9s var(--ease) .2s both; }
.intro__foot { display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--s-16); align-items: end; border-top: 1px solid var(--ink); padding-top: var(--s-8); }
.lede { font-size: var(--t-xl); line-height: 1.6; color: var(--muted); max-width: 32em; margin: 0; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: end; gap: var(--s-12); margin: 0; }
.facts dt { font-family: var(--mono); font-size: var(--t-xs); color: var(--subtle); text-transform: uppercase; letter-spacing: .1em; }
.facts dd { margin: var(--s-2) 0 0; font-size: var(--t-2xl); font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.2; }

.cta { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.btn { display: inline-flex; align-items: center; gap: var(--s-2); height: var(--s-12); padding: 0 var(--s-6); border-radius: 999px; font-weight: 600; font-size: var(--t-base); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(17, 24, 39, .35); }
.btn--solid { background: var(--ink); color: var(--glass); }
.btn svg { width: 18px; height: 18px; }
.fine { font-size: var(--t-sm); color: var(--subtle); margin: var(--s-3) 0 0; }

/* about */
.company { padding-top: var(--section); padding-bottom: var(--section); display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s-16); }
.company .eyebrow { grid-column: 1 / -1; }
.company h2 { margin: 0; }
.company__body p { margin: 0 0 var(--s-4); color: var(--muted); font-size: var(--t-lg); line-height: 1.65; }
.company__body p:last-child { margin-bottom: 0; }
.founder { color: var(--ink); font-weight: 600; }
.principles { grid-column: 1 / -1; list-style: none; padding: 0; margin: var(--s-16) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.principles li { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-2xl); padding: var(--s-6); transition: border-color .15s ease; }
.principles li:hover { border-color: color-mix(in srgb, var(--ink) 35%, var(--rule)); }
.principles h3 { font-size: var(--t-lg); margin: 0 0 var(--s-2); }
.principles p { margin: 0; color: var(--muted); font-size: var(--t-base); }

/* product */
.product { background: var(--panel); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: var(--section) 0; }
.product__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-16); align-items: center; }
.section-lede { max-width: 36em; color: var(--muted); font-size: var(--t-lg); line-height: 1.65; margin: 0 0 var(--s-8); }
.flow { list-style: none; counter-reset: s; padding: 0; margin: 0 0 var(--s-8); border-top: 1px solid var(--rule); }
.flow li { counter-increment: s; position: relative; padding: var(--s-4) 0 var(--s-4) var(--s-12); border-bottom: 1px solid var(--rule); color: var(--muted); }
.flow li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: calc(var(--s-4) + 3px); font-family: var(--mono); font-size: var(--t-xs); color: var(--rec); font-variant-numeric: tabular-nums; }
.flow b { color: var(--ink); font-weight: 600; }

/* signature: 면접 한 턴 */
.session { margin: 0; background: var(--glass); border: 1px solid var(--rule); border-radius: var(--r-2xl); padding: var(--s-6); box-shadow: var(--shadow); position: relative; }
.session__bar { display: flex; justify-content: space-between; color: var(--subtle); padding-bottom: var(--s-4); border-bottom: 1px dashed var(--rule); margin-bottom: var(--s-6); }
.turn { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s var(--ease); margin-bottom: var(--s-6); }
.turn.is-on { opacity: 1; transform: none; }
.turn p { margin: var(--s-2) 0 0; }
.who { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--subtle); }
.turn--q p { font-size: var(--t-xl); font-weight: 650; letter-spacing: -.02em; line-height: 1.45; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 3px var(--rec-soft); }
.turn--a.is-live .rec { animation: blink 1s steps(2) infinite; }
.timer { color: var(--ink); }
.wave { display: flex; align-items: center; gap: 3px; height: var(--s-8); margin: var(--s-3) 0 var(--s-2); }
.wave i { flex: 1; background: var(--ink); opacity: .7; border-radius: 2px; height: 10%; transition: height .12s linear; }
.stt { color: var(--muted); font-size: var(--t-sm); }
.turn--f { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-xl); padding: var(--s-4); margin-bottom: 0; }
.scores { list-style: none; padding: 0; margin: var(--s-3) 0; display: grid; gap: var(--s-2); }
.scores li { display: grid; grid-template-columns: 64px 1fr 40px; align-items: center; gap: var(--s-3); font-size: var(--t-sm); }
.scores b { height: 6px; background: var(--rule); border-radius: 3px; position: relative; overflow: hidden; }
.scores b::after { content: ""; position: absolute; inset: 0; width: calc(var(--v) * 100%); background: var(--ink); border-radius: 3px; transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.turn--f.is-on .scores b::after { transform: scaleX(1); }
.scores em { font-style: normal; color: var(--subtle); text-align: right; }
.note { font-size: var(--t-sm); line-height: 1.6; }
.note mark { background: var(--mint); color: inherit; padding: 0 .2em; border-radius: 3px; }
.replay { position: absolute; right: var(--s-4); bottom: calc(-1 * var(--s-8)); background: none; border: 0; color: var(--subtle); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: var(--s-2); }
.replay:hover { color: var(--ink); }

/* apps */
.apps { padding-top: var(--section); padding-bottom: var(--section); }
.apps .section-lede { margin-bottom: var(--s-12); }
.shelf { display: grid; grid-template-columns: 224px 1fr; gap: var(--s-8); border-top: 1px solid var(--ink); padding: var(--s-6) 0 var(--s-12); }
.shelf__name { font-size: var(--t-base); margin: 0; padding-top: var(--s-3); }
.shelf__count { display: block; font-family: var(--mono); font-size: var(--t-xs); font-weight: 400; color: var(--subtle); margin-top: var(--s-1, 4px); }
.shelf ul { list-style: none; margin: 0; padding: 0; }
.shelf a { display: grid; grid-template-columns: 232px 1fr 64px 20px; gap: var(--s-6); align-items: baseline; padding: var(--s-3) var(--s-3); margin: 0 calc(-1 * var(--s-3)); border-radius: var(--r-xl); text-decoration: none; transition: background-color .15s ease; }
.shelf li + li { border-top: 1px solid var(--rule); }
.shelf a:hover { background: var(--panel); }
.app { font-weight: 700; font-size: var(--t-lg); letter-spacing: -.02em; }
.what { color: var(--muted); font-size: var(--t-base); }
.when { color: var(--subtle); text-align: right; }
.go { color: var(--subtle); transition: transform .15s ease, color .15s ease; justify-self: end; }
.shelf a:hover .go { color: var(--rec); transform: translate(2px, -2px); }
.tag { font-style: normal; font-size: 11px; font-weight: 500; color: var(--rec); background: var(--rec-soft); border-radius: 999px; padding: 2px 8px; margin-left: var(--s-2); vertical-align: 3px; }

/* contact */
.contact { background: var(--ink); color: var(--glass); padding: var(--s-24) 0; }
.contact .eyebrow { color: color-mix(in srgb, var(--glass) 60%, transparent); }
.mails { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-6); margin: var(--s-8) 0 0; }
.mails div { border-top: 1px solid color-mix(in srgb, var(--glass) 22%, transparent); padding-top: var(--s-4); }
.mails dt { font-size: var(--t-sm); color: color-mix(in srgb, var(--glass) 60%, transparent); }
.mails dd { margin: var(--s-2) 0 0; font-size: clamp(1.25rem, 2.4vw, 1.875rem); font-weight: 700; letter-spacing: -.03em; }
.mails a { text-decoration: none; background-image: linear-gradient(var(--rec), var(--rec)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .25s var(--ease); }
.mails a:hover { background-size: 100% 2px; }

/* footer: company facts a reviewer can verify */
.foot { padding: var(--s-12) 0 var(--s-16); color: var(--muted); font-size: var(--t-sm); }
.foot__grid { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s-8); }
.foot__brand p { margin: var(--s-3) 0 0; color: var(--subtle); }
.biz { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4) var(--s-8); margin: 0; }
.biz dt { font-family: var(--mono); font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--subtle); }
.biz dd { margin: var(--s-1, 4px) 0 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.biz .mono { font-size: var(--t-sm); }
.biz a { text-decoration: none; }
.biz a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot__bottom { display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; margin-top: var(--s-12); padding-top: var(--s-6); border-top: 1px solid var(--rule); color: var(--subtle); }
.foot__bottom a { color: var(--muted); text-underline-offset: 3px; }

@keyframes blink { 50% { opacity: .2; } }
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 900px) {
  :root { --section: var(--s-24); }
  .intro { padding-top: var(--s-16); padding-bottom: var(--s-16); }
  .intro__foot, .product__grid, .foot__grid { grid-template-columns: 1fr; gap: var(--s-12); }
  .facts { justify-content: start; }
  .principles { grid-template-columns: 1fr; }
  .company { grid-template-columns: 1fr; row-gap: var(--s-6); }
  .shelf { grid-template-columns: 1fr; gap: var(--s-4); }
  .shelf a { grid-template-columns: 200px 1fr 64px 20px; }
}
@media (max-width: 640px) {
  :root { --section: var(--s-16); }
  .wrap { padding-left: var(--s-4); padding-right: var(--s-4); }
  .top nav { gap: var(--s-4); }
  .top nav a:not(.nav-cta) { display: none; }
  .lede { font-size: var(--t-lg); }
  .facts { gap: var(--s-6); }
  .facts dd { font-size: var(--t-lg); }
  .mails, .biz { grid-template-columns: 1fr; }
  .shelf a { grid-template-columns: 1fr auto 16px; gap: var(--s-1, 4px) var(--s-3); }
  .shelf .what { grid-column: 1 / -1; grid-row: 2; font-size: var(--t-sm); }
  .contact { padding: var(--s-16) 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  h1 em::after { animation: none; }
  .turn, .scores b::after, .btn, .go { transition: none; }
  .turn--a.is-live .rec { animation: none; }
}
