/* ============================================================
   tyto homepage — v4 "daylight" redesign
   밝은 배경 · 풀블리드 그라데이션 히어로 · 큰 타이포 · 라운드 카드
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f5f2;
  --bg-raised: #ffffff;
  --text: #101010;
  --text-dim: #5f5c55;
  --accent: #a87b22;
  --accent-strong: #7c5a13;
  --line: #e9e6df;
  --ink: #101010;            /* 버튼·강조 잉크 */
  --radius-card: 24px;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", Menlo, monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --font-display: var(--font-sans);
}

/* language switching */
html[data-lang="ko"] .en { display: none !important; }
html[data-lang="en"] .ko { display: none !important; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1080px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, #ffffff 72%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { display: block; width: 24px; height: 24px; object-fit: contain; filter: invert(1); }
.brand-name {
  font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--text);
}
.brand-sub {
  font-size: 12px; letter-spacing: 0.02em; color: var(--text-dim);
  border-left: 1px solid var(--line); padding-left: 10px; margin-left: 2px;
}
@media (max-width: 560px) { .brand-sub { display: none; } }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: 14px; color: var(--text-dim);
  padding: 7px 12px; border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--text); background: rgba(0, 0, 0, 0.05); }
.nav-links a.active { color: var(--text); font-weight: 600; }
.nav-right .nav-cta { padding: 6px 13px; font-size: 12.5px; font-weight: 600; }
.menu-btn {
  display: none; position: relative;
  width: 38px; height: 38px; flex: none;
  border: 1px solid var(--line); border-radius: 50%;
  background: rgba(255, 255, 255, 0.85); cursor: pointer;
}
.menu-btn span, .menu-btn::before, .menu-btn::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  display: block; width: 15px; height: 1.5px;
  border-radius: 2px; background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}
.menu-btn::before { transform: translate(-50%, -5.5px); }
.menu-btn span { transform: translate(-50%, -50%); }
.menu-btn::after { transform: translate(-50%, 4px); }
.menu-btn.open::before { transform: translate(-50%, -50%) rotate(45deg); }
.menu-btn.open span { opacity: 0; }
.menu-btn.open::after { transform: translate(-50%, -50%) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; inset: 64px 0 0; z-index: 19;
  padding: 22px 20px 36px; background: #ffffff;
}
.mobile-menu.open { display: grid; align-content: start; gap: 8px; }
.mobile-menu > a:not(.btn) {
  padding: 15px 4px; border-bottom: 1px solid var(--line);
  text-decoration: none; font-size: 20px; font-weight: 700;
}
.mobile-menu .btn { margin-top: 18px; justify-content: center; }
@media (max-width: 800px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-right { gap: 8px; }
}
@media (max-width: 560px) { .nav-cta { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; font-size: 15px; font-weight: 600;
  padding: 13px 26px; border-radius: 999px;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--ink); color: #ffffff; }
.btn-primary:hover { background: #2c2c2c; }
.btn-ghost {
  background: rgba(0, 0, 0, 0.055); color: var(--text);
  border: none;
}
.btn-ghost:hover { background: rgba(0, 0, 0, 0.1); }

/* ---------- shared type ---------- */
.eyebrow {
  font-size: 13.5px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--text-dim);
}
h1, h2 { text-wrap: balance; }
h2 {
  font-size: clamp(30px, 4.6vw, 48px);
  line-height: 1.18; font-weight: 700; letter-spacing: -0.025em;
}
h1.ko, h2.ko, h3.ko, .ko h3 { word-break: keep-all; }
h2.ko { line-height: 1.28; }
.section { padding-block: clamp(76px, 11vh, 130px); scroll-margin-top: 56px; }
.section + .section { padding-top: 0; }
.section-head {
  display: grid; gap: 16px; max-width: 720px;
  margin-bottom: clamp(40px, 6vh, 64px);
}
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.lead { color: var(--text-dim); font-size: 18px; }

/* ---------- hero (landing 풀블리드) ---------- */
.hero-home {
  position: relative;
  min-height: max(88vh, 690px);
  display: grid; place-items: center;
  text-align: center;
  overflow: hidden;
  margin-top: -64px;           /* 스티키 내비 아래로 풀블리드 */
  padding: 140px 20px 110px;
}
.hero-bg {
  position: absolute; inset: -12%;
  z-index: -1;
  /* blur 필터 없이 그라데이션 자체를 부드럽게 — 임베디드 렌더러가 대형 blur에서 죽음 */
  background:
    radial-gradient(55% 60% at 18% 28%, rgba(255, 200, 120, 0.75), transparent 78%),
    radial-gradient(62% 68% at 82% 18%, rgba(160, 196, 255, 0.8), transparent 78%),
    radial-gradient(58% 64% at 74% 82%, rgba(238, 184, 232, 0.7), transparent 78%),
    radial-gradient(50% 56% at 28% 84%, rgba(255, 232, 176, 0.8), transparent 78%),
    linear-gradient(180deg, #eef3fb 0%, #fdf6ec 100%);
  will-change: transform;
  animation: aurora 26s ease-in-out infinite alternate;
}
@keyframes aurora {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(2.5%, -2%, 0) scale(1.06); }
  100% { transform: translate3d(-2.5%, 2%, 0) scale(1.02); }
}
@media (prefers-reduced-motion: reduce) { .hero-bg { animation: none; } }
.hero-home::after {            /* 아래로 하얗게 사그라드는 경계 */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}
.hero-inner { display: grid; justify-items: center; gap: 20px; max-width: 840px; position: relative; }
.hosted-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--text-dim); font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
}
.hosted-eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #3f8a58; box-shadow: 0 0 0 5px rgba(63, 138, 88, 0.1);
}
.hero-home h1 {
  font-size: clamp(44px, 7.2vw, 80px);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1.08;
}
.hero-tag {
  color: var(--text); opacity: 0.82;
  font-size: clamp(17px, 2.2vw, 20px); max-width: 38em;
}
.hero-tag strong { color: var(--text); font-weight: 750; }
.hero-home .cta-row { justify-content: center; margin-top: 10px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { font-size: 13.5px; color: var(--text-dim); }
.hero-trust {
  width: min(800px, 100%); display: grid; grid-template-columns: repeat(3, 1fr);
  overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.78); border-radius: 18px;
  background: rgba(255, 255, 255, 0.58); box-shadow: 0 10px 32px rgba(30, 25, 10, 0.04);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero-trust > div {
  padding: 14px 16px; display: grid; gap: 1px;
  border-right: 1px solid rgba(90, 80, 60, 0.12);
}
.hero-trust > div:last-child { border-right: 0; }
.hero-trust strong { font-size: 13.5px; }
.hero-trust span { color: var(--text-dim); font-size: 11.5px; }

@media (max-width: 560px) {
  .hero-home { padding-top: 128px; padding-bottom: 88px; }
  .hero-home h1 { font-size: 44px; }
  .hero-trust { grid-template-columns: 1fr; border-radius: 16px; }
  .hero-trust > div {
    grid-template-columns: 1fr auto; align-items: center;
    padding: 10px 14px; text-align: left;
    border-right: 0; border-bottom: 1px solid rgba(90, 80, 60, 0.12);
  }
  .hero-trust > div:last-child { border-bottom: 0; }
  .hero-trust span { text-align: right; }
}

/* ---------- app demo (동작하는 데스크톱 앱) ---------- */
.app-demo { padding-block: clamp(8px, 2vh, 24px) clamp(56px, 8vh, 96px); }
.app-window {
  position: relative;
  max-width: 960px; margin-inline: auto;
  background: #fcfcfa;                       /* 실제 콘솔 tyto-day --t-bg */
  border: 1px solid #e3e0d8;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(30, 25, 10, 0.16), 0 4px 16px rgba(30, 25, 10, 0.07);
  overflow: hidden;
  font-size: 13.5px;
  color: #26241f;
  text-align: left;
}
.app-titlebar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #eceae4;
  background: #f5f4f1;
}
.traffic { display: flex; gap: 6px; }
.traffic i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.traffic i:nth-child(1) { background: #f26058; }
.traffic i:nth-child(2) { background: #f5bf4f; }
.traffic i:nth-child(3) { background: #58c355; }
.app-title {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-size: 12.5px; font-weight: 600; color: #8a8375;
}
.app-live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; color: #b08428; font-weight: 600;
}
.app-live .pulse { background: #b08428; }
.app-body { display: grid; grid-template-columns: 190px 1fr; min-height: 400px; }
@media (max-width: 680px) { .app-body { grid-template-columns: 1fr; } .app-body .app-side { display: none; } }

.app-side {
  border-right: 1px solid #eceae4;
  background: #fcfcfa;
  padding: 10px;
  display: grid; gap: 2px; align-content: start;
  font-size: 12.5px;
}
.side-tabs {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid #e3e0d8; border-radius: 8px;
  overflow: hidden; margin-bottom: 8px;
  text-align: center; font-size: 12px; color: #8a8375;
}
.side-tabs > span { padding: 6px 4px; }
.side-tabs > span.on { background: #26241f; color: #fcfcfa; font-weight: 600; }
.side-new {
  border: 1px solid #e3e0d8; background: #f5f4f1; color: #26241f;
  font-family: inherit; font-size: 12.5px; font-weight: 600;
  border-radius: 8px; padding: 7px 12px; margin-bottom: 8px;
  text-align: center; cursor: default;
}
.side-label {
  font-size: 10.5px; color: #8a8375;
  padding: 10px 8px 4px;
}
.side-item {
  padding: 6px 10px; border-radius: 8px; color: #57534a;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.side-item.active { background: #f3ede0; color: #26241f; font-weight: 600; }
.side-profile {
  margin-top: 12px; padding: 8px 6px 2px;
  border-top: 1px solid #eceae4;
  display: flex; align-items: center; gap: 8px;
  color: #8a8375; font-size: 11.5px;
}
.side-profile .pav {
  width: 20px; height: 20px; border-radius: 6px; flex: none;
  background: #b08428; color: #fff;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
}

.app-main { display: grid; grid-template-rows: 1fr auto; min-width: 0; }
.chat {
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: 14px; padding: 92px 26px 16px;   /* 상단 여백 = 알림 토스트 자리 */
  min-height: 320px;
}

/* 빈 채팅 = 실제 콘솔의 홈 상태(인사말 + 추천 카드) */
.home-state { display: grid; gap: 14px; justify-items: center; margin-block: auto; padding-bottom: 10px; }
.home-greet { font-size: 15px; font-weight: 700; color: #26241f; text-align: center; }
.home-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  width: 100%; max-width: 420px;
}
@media (max-width: 480px) { .home-cards { grid-template-columns: 1fr; } }
.home-card {
  border: 1px solid #e3e0d8; border-radius: 10px;
  background: #f5f4f1;
  padding: 11px 14px;
  display: grid; grid-template-columns: auto 1fr; gap: 2px 10px;
  align-items: center;
  font-size: 12px; color: #8a8375;
}
.home-card .hc-ico {
  grid-row: span 2;
  width: 30px; height: 30px; border-radius: 8px;
  border: 1px solid #e9dfc9; background: #faf6ec;
  display: grid; place-items: center;
}
.home-card .hc-ico svg { width: 15px; height: 15px; }
.home-card strong { font-size: 13px; color: #26241f; }

/* 실제 콘솔의 메시지 블록: 유저=골드 좌측 바+크림 배경, TYTO=라벨+플레인 텍스트 */
.blk { display: grid; gap: 3px; line-height: 1.6; }
.blk .blabel {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em;
  color: #b08428;
}
.blk.user {
  border-left: 3px solid #b08428;
  background: #faf3e3;
  border-radius: 0 8px 8px 0;
  padding: 9px 14px;
}
.blk.bot .blabel { color: #8a8375; }
.blk.cont { padding-left: 0; }
.dots { display: inline-flex; gap: 4px; padding-block: 4px; }
.dots i {
  width: 6px; height: 6px; border-radius: 50%; background: #b7b1a4;
  animation: dotpulse 1.2s ease-in-out infinite;
}
.dots i:nth-child(2) { animation-delay: 0.15s; }
.dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dotpulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .dots i { animation: none; } }

.task-card {
  border: 1px solid #e3e0d8; border-radius: 10px;
  background: #ffffff;
  padding: 12px 16px; max-width: 430px;
  display: grid; gap: 7px;
}
.task-head { font-size: 11px; font-weight: 600; color: #b08428; }
.task-tools { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 2px; }
.task-tools span {
  border: 1px solid #e3e0d8; border-radius: 999px;
  background: #f7f5f0; color: #8a8375;
  padding: 2px 7px; font-size: 9.5px; line-height: 1.4;
  font-family: var(--font-mono);
}
.task-row { display: flex; align-items: center; gap: 9px; color: #57534a; }
.task-row .st {
  width: 15px; height: 15px; flex: none; border-radius: 50%;
  border: 1.6px solid #d4cfc2;
  display: grid; place-items: center;
  transition: border-color 0.2s, background 0.2s;
}
.task-row.working .st { border-color: #b08428; border-top-color: transparent; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .task-row.working .st { animation: none; } }
.task-row.done { color: #26241f; }
.task-row.done .st {
  border-color: #3e7c4a; background: #3e7c4a; animation: none;
}
.task-row.done .st::after {
  content: ""; width: 4px; height: 8px; margin-top: -2px;
  border: solid #fff; border-width: 0 1.7px 1.7px 0; transform: rotate(45deg);
}

.approval-card {
  max-width: 430px; border: 1px solid #d9bf87; border-radius: 10px;
  background: #fffaf0; padding: 13px 15px;
  display: grid; gap: 5px;
  transition: border-color 0.2s, background 0.2s;
}
.approval-top {
  display: flex; align-items: center; gap: 8px;
  color: #8a8375; font-size: 10.5px;
}
.approval-badge {
  border-radius: 999px; padding: 2px 7px;
  background: #f0dcae; color: #76530f; font-weight: 700;
}
.approval-card > strong { font-size: 13px; }
.approval-detail { color: #8a8375; font-size: 11.5px; }
.approval-actions { display: flex; justify-content: flex-end; gap: 6px; margin-top: 3px; }
.approval-actions > span {
  border: 1px solid #ded9ce; border-radius: 7px;
  background: #fff; color: #57534a;
  padding: 4px 8px; font-size: 10.5px; font-weight: 600;
}
.approval-actions .approval-primary { background: #26241f; border-color: #26241f; color: #fff; }
.approval-approved, .approval-badge-approved { display: none; }
#dApproval.approved .approval-card { border-color: #8bb497; background: #f3faf5; }
#dApproval.approved .approval-badge { background: #dcefe1; color: #286237; }
#dApproval.approved .approval-primary { background: #3e7c4a; border-color: #3e7c4a; }
#dApproval.approved .approval-pending,
#dApproval.approved .approval-badge-pending { display: none !important; }
html[data-lang="ko"] #dApproval.approved .approval-approved.ko,
html[data-lang="en"] #dApproval.approved .approval-approved.en,
html[data-lang="ko"] #dApproval.approved .approval-badge-approved.ko,
html[data-lang="en"] #dApproval.approved .approval-badge-approved.en { display: inline !important; }

.composer { margin: 0 20px 14px; }
.composer-box {
  display: flex; align-items: center; gap: 9px;
  border: 1px solid #cfa14a; border-radius: 8px;
  background: #ffffff;
  padding: 9px 8px 9px 13px;
  min-height: 42px;
}
.composer .clip { flex: none; display: grid; }
.composer .clip svg { width: 15px; height: 15px; }
.composer-text { white-space: nowrap; overflow: hidden; }
.caret {
  width: 1.5px; height: 16px; background: #26241f; flex: none;
  animation: caretblink 1s steps(1) infinite;
}
@keyframes caretblink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } }
.composer-hint { color: #8a8375; }
.composer:not(.empty) .composer-hint { display: none; }
.composer-send {
  margin-left: auto; flex: none;
  width: 28px; height: 28px; border-radius: 7px;
  background: #b08428; color: #fff;
  display: grid; place-items: center; font-size: 14px;
}
.composer-foot {
  padding: 6px 2px 0;
  font-size: 11px; font-weight: 600; color: #b08428;
}

.app-toast {
  position: absolute; top: 52px; right: 16px;
  width: min(280px, 70%);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e3e0d8; border-radius: 14px;
  box-shadow: 0 10px 30px rgba(30, 25, 10, 0.14);
  padding: 12px 15px;
  display: grid; gap: 2px;
  font-size: 12.5px;
}
.app-toast .app {
  display: flex; align-items: center; gap: 6px;
  font-size: 10.5px; color: #8a8375;
}
.app-toast .app::before {
  content: ""; width: 12px; height: 12px; border-radius: 4px; background: #101010;
}
.app-toast strong { font-size: 13px; }
.app-toast .body { color: #8a8375; }
.app-caption {
  text-align: center; margin-top: 18px;
  font-size: 13px; color: var(--text-dim);
}

/* JS 시퀀스: .js 붙으면 단계 요소는 숨김에서 시작 */
html.js .demo-step { opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease, transform 0.4s ease; }
html.js .demo-step.on { opacity: 1; transform: none; }
html.js .demo-step.gone { display: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .demo-step { opacity: 1; transform: none; }
  html.js #dTyping { display: none; }
}

/* ---------- feature cards (Codex형 큰 카드) ---------- */
.features { display: grid; gap: clamp(16px, 2.5vw, 24px); }
.feature {
  background: var(--bg-soft);
  border-radius: var(--radius-card);
  padding: clamp(28px, 4.5vw, 56px);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  overflow: hidden;
}
.feature:nth-child(even) .feature-copy { order: 2; }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-copy { order: 0; }
}
.feature-copy { display: grid; gap: 14px; align-content: center; }
.feature-copy h3 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.3;
}
.feature-copy p { color: var(--text-dim); font-size: 16.5px; max-width: 34em; }
.feature-visual { display: grid; justify-items: center; min-width: 0; }

/* 미니 목업 공통 */
.mock {
  width: 100%; max-width: 460px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(30, 25, 10, 0.06);
  padding: 20px 22px;
  font-size: 14px;
  text-align: left;
}
.mock-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-dim);
  padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.mock-dot { width: 8px; height: 8px; border-radius: 50%; background: #d9d5cc; }
.mock-dot.live { background: #3fa15c; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .mock-dot.live { animation: none; } }
.mock-row {
  display: flex; gap: 10px; align-items: baseline;
  padding-block: 7px;
  color: var(--text);
}
.mock-row .t {
  font-family: var(--font-mono); font-size: 12px; color: var(--accent);
  flex: none; width: 44px;
}
.mock-row.dim { color: var(--text-dim); }
.mock-chip {
  display: inline-block; margin-top: 10px;
  font-size: 12px; font-weight: 600; color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-radius: 999px; padding: 3px 12px;
}
.mock-check { color: #3fa15c; font-weight: 700; flex: none; }
.mock-wait { color: var(--accent); font-weight: 700; flex: none; }

/* 알림 스택 목업 */
.notif-stack { display: grid; gap: 10px; width: 100%; max-width: 420px; }
.notif {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 8px 24px rgba(30, 25, 10, 0.07);
  display: grid; gap: 2px;
  text-align: left; font-size: 14px;
}
.notif .app {
  display: flex; align-items: center; gap: 6px;
  font-size: 11.5px; color: var(--text-dim);
}
.notif .app::before {
  content: ""; width: 14px; height: 14px; border-radius: 4px;
  background: var(--ink);
}
.notif strong { font-size: 14.5px; }
.notif span.body { color: var(--text-dim); font-size: 13.5px; }
.notif.ghost { opacity: 0.55; transform: scale(0.97); }

/* ---------- request → result handoff ---------- */
.handoff-grid {
  display: grid; grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(24px, 5vw, 58px); align-items: stretch;
}
.handoff-flow { list-style: none; border-top: 1px solid var(--line); }
.handoff-flow li {
  display: grid; grid-template-columns: 42px 1fr; gap: 14px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.flow-no {
  padding-top: 2px; color: var(--accent-strong);
  font-family: var(--font-mono); font-size: 11px;
}
.handoff-flow li > div { display: grid; gap: 3px; }
.handoff-flow strong { font-size: 16px; }
.handoff-flow li > div > span { color: var(--text-dim); font-size: 13.5px; }

.workboard {
  overflow: hidden; border-radius: 20px;
  border: 1px solid #2b2922; background: #171610; color: #f6f2e9;
  align-self: center; box-shadow: 0 22px 50px rgba(30, 25, 10, 0.12);
}
.workboard-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 19px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.workboard-head > div { display: grid; gap: 1px; font-weight: 700; }
.workboard-head small { color: #918a7c; font-size: 10.5px; font-weight: 400; }
.workboard-live {
  display: inline-flex; align-items: center; gap: 6px;
  color: #d9bd78; font: 600 10.5px var(--font-mono);
}
.workboard-live i { width: 6px; height: 6px; border-radius: 50%; background: #d9bd78; animation: pulse 2s ease-in-out infinite; }
.work-item {
  display: grid; grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 11px; align-items: center; padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}
.work-item:last-child { border-bottom: 0; }
.work-item > div { display: grid; min-width: 0; }
.work-item strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.work-item small { color: #8f887b; font-size: 10.5px; }
.work-mark { width: 8px; height: 8px; border-radius: 50%; background: #777166; }
.work-mark.working { border: 2px solid #d2a24c; border-top-color: transparent; background: transparent; animation: spin 1s linear infinite; }
.work-mark.waiting { background: #80796c; }
.work-mark.approval { background: #d2a24c; box-shadow: 0 0 0 4px rgba(210, 162, 76, 0.09); }
.work-mark.done { background: #69a579; }
.work-mark.input { width: 8px; height: 8px; border-radius: 2px; background: #b7a57f; }
.work-status {
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px;
  padding: 3px 8px; color: #a59e91; font-size: 10px; white-space: nowrap;
}
.state-working, .state-approval { color: #e0c07b; border-color: rgba(210, 162, 76, 0.28); }
.state-done { color: #87bc95; border-color: rgba(105, 165, 121, 0.3); }
.state-input { color: #d5c7a9; }
@media (prefers-reduced-motion: reduce) {
  .workboard-live i, .work-mark.working { animation: none; }
}
@media (max-width: 820px) { .handoff-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .work-item { padding-inline: 14px; }
  .work-status { grid-column: 2; justify-self: start; margin-top: 4px; }
}

/* ---------- help packages ---------- */
.package-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
}
.package-card {
  min-width: 0; padding: clamp(26px, 3.8vw, 40px);
  border: 1px solid var(--line); border-radius: var(--radius-card);
  background: var(--bg-soft);
  display: grid; gap: 13px; align-content: start;
}
.package-kicker {
  color: var(--accent-strong); font: 600 11px var(--font-mono);
  letter-spacing: 0.05em;
}
.package-card h3 { font-size: 24px; line-height: 1.3; letter-spacing: -0.02em; }
.package-card > p { min-height: 3.4em; color: var(--text-dim); font-size: 15.5px; }
.package-example {
  margin-top: 2px; padding: 15px 16px;
  border: 1px solid #e4dfd4; border-radius: 14px;
  background: #ffffff; display: grid; gap: 5px;
}
.package-example > span { color: var(--text-dim); font-size: 10.5px; font-weight: 700; }
.package-example > strong { font-size: 14px; line-height: 1.55; word-break: keep-all; }
.package-results { list-style: none; display: grid; gap: 6px; margin-top: 2px; }
.package-results li {
  position: relative; padding-left: 17px;
  color: var(--text-dim); font-size: 13.5px;
}
.package-results li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 7px; height: 2px; background: var(--accent);
}
@media (max-width: 760px) {
  .package-grid { grid-template-columns: 1fr; }
  .package-card > p { min-height: 0; }
}

/* ---------- beta scope ---------- */
.scope-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 18px);
}
.scope-card {
  min-width: 0; padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line); border-radius: 20px;
  background: #ffffff; display: grid; gap: 14px; align-content: start;
}
.scope-tag {
  justify-self: start; padding: 4px 9px; border-radius: 999px;
  background: #efede8; color: var(--text-dim);
  font-size: 10.5px; font-weight: 700;
}
.scope-direct .scope-tag { background: #e4f1e7; color: #2f6a3e; }
.scope-confirm .scope-tag { background: #f5e8ca; color: #76530f; }
.scope-card h3 { min-height: 3em; font-size: 18px; line-height: 1.5; letter-spacing: -0.015em; }
.scope-card ul { list-style: none; display: grid; }
.scope-card li {
  padding: 10px 0; border-top: 1px solid var(--line);
  color: var(--text-dim); font-size: 13.5px; line-height: 1.55;
}
.scope-surfaces {
  margin-top: 18px; padding: clamp(24px, 3.8vw, 38px);
  border-radius: 20px; background: #171610; color: #f8f5ed;
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(20px, 4vw, 46px);
}
.scope-surfaces > div { display: grid; gap: 7px; align-content: start; }
.scope-surfaces strong { font-size: 16px; }
.scope-surfaces div > span { color: #d6b46e; font-size: 12.5px; line-height: 1.7; }
.scope-surfaces p { color: #aaa294; font-size: 13.5px; }
@media (max-width: 820px) {
  .scope-grid, .scope-surfaces { grid-template-columns: 1fr; }
  .scope-card h3 { min-height: 0; }
}

/* ---------- 3열 카드(하루 · 대상 · 표면) ---------- */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.card-grid.four { grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); }
.card {
  background: var(--bg-soft);
  border-radius: var(--radius-card);
  padding: clamp(26px, 3.5vw, 38px);
  display: grid; gap: 12px; align-content: start;
  text-decoration: none;
  transition: background 0.15s;
}
a.card:hover { background: #efede8; }
.card .when {
  font-size: 13px; font-weight: 600; color: var(--accent-strong);
}
.card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.35; }
.card p { color: var(--text-dim); font-size: 15.5px; }
.card .go { font-size: 14px; font-weight: 600; color: var(--text); margin-top: 4px; }

/* 표면 카드(어디서든) */
.surface-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: #ffffff; border: 1px solid var(--line);
  display: grid; place-items: center; margin-bottom: 6px;
}
.surface-icon svg { width: 22px; height: 22px; }

/* 인용형 장면 카드 */
.scene-quote {
  font-size: 17px; line-height: 1.65; font-weight: 500;
  letter-spacing: -0.01em;
}
.scene-quote::before { content: "“"; color: var(--accent); }
.scene-quote::after { content: "”"; color: var(--accent); }
.scene-who { font-size: 13.5px; color: var(--text-dim); }

/* ---------- security & hosting ---------- */
.security-band {
  padding: clamp(36px, 6vw, 64px); border-radius: 30px;
  background: #171610; color: #f8f5ed;
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 64px); align-items: center;
}
.security-copy { display: grid; gap: 18px; }
.security-copy .eyebrow { color: #bfb7a7; }
.security-copy h2 { color: #ffffff; }
.security-copy p { color: #bbb4a6; }
.security-list {
  padding: 10px 26px; border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 19px; background: rgba(255, 255, 255, 0.05);
}
.security-row {
  padding: 17px 0; display: grid; grid-template-columns: 34px 1fr;
  gap: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.security-row:last-child { border-bottom: 0; }
.security-number {
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center; background: #e9c77f; color: #171610;
  font-size: 12px; font-weight: 800;
}
.security-row strong { display: block; font-size: 14px; }
.security-row div > span { display: block; margin-top: 2px; color: #aaa294; font-size: 12px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(36px, 7vw, 72px); align-items: start; }
.faq-copy { position: sticky; top: 110px; display: grid; gap: 14px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative; padding: 23px 38px 23px 0;
  cursor: pointer; list-style: none; font-size: 18px; font-weight: 700;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 4px; top: 19px;
  color: var(--text-dim); font-size: 24px; font-weight: 400; transition: transform 0.2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details > p { padding: 0 42px 24px 0; color: var(--text-dim); }

/* ---------- final CTA ---------- */
.cta-final {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 30px;
  padding: clamp(38px, 6vw, 64px);
  text-align: left;
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 58px); align-items: start;
}
.beta-copy { position: relative; z-index: 1; display: grid; gap: 17px; }
.cta-final p.lead { max-width: 36em; color: var(--text); opacity: 0.75; }
.beta-points { display: grid; gap: 8px; list-style: none; font-size: 13px; }
.beta-points li::before { content: "✓"; margin-right: 8px; color: #3f8a58; font-weight: 800; }
.beta-form {
  position: relative; z-index: 1;
  padding: 25px; border: 1px solid rgba(255, 255, 255, 0.78); border-radius: 20px;
  background: rgba(255, 255, 255, 0.78); box-shadow: 0 18px 45px rgba(42, 31, 12, 0.09);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: grid; gap: 14px;
}
.beta-field { display: grid; gap: 7px; }
.beta-field label { font-size: 12px; font-weight: 700; }
.beta-field input, .beta-field textarea {
  width: 100%; border: 1px solid #dcd7cc; border-radius: 10px;
  background: #ffffff; color: var(--text); padding: 12px 13px; font: inherit;
}
.beta-field input:focus, .beta-field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(168, 123, 34, 0.1);
}
.beta-field textarea { min-height: 105px; resize: vertical; }
.beta-form .btn { width: 100%; justify-content: center; border: 0; cursor: pointer; }
.beta-form-note { color: var(--text-dim); font-size: 11px; text-align: center; }
.beta-form-status { min-height: 1.4em; color: var(--accent-strong); font-size: 12px; text-align: center; }
.cta-final .mail {
  justify-self: center; font-size: 13px; color: var(--text); opacity: 0.75; text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.cta-final .mail:hover { opacity: 1; }

@media (max-width: 820px) {
  .security-band, .faq-layout, .cta-final { grid-template-columns: 1fr; }
  .faq-copy { position: static; }
}
@media (max-width: 560px) {
  .security-band, .cta-final { padding: 28px 22px; border-radius: var(--radius-card); }
  .security-list, .beta-form { padding: 18px; }
  .faq-list summary { font-size: 16px; }
}

/* ============================================================
   레거시 컴포넌트 (서브페이지 공유) — 새 토큰으로 재스타일
   ============================================================ */

/* hero (서브페이지: 좌측 정렬 그리드형) */
.hero { padding-block: clamp(56px, 9vh, 100px) clamp(64px, 10vh, 110px); }
.hero-grid {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(44px, 8vh, 80px); align-items: start;
  text-align: left;
}
.hero-grid > :last-child { width: 100%; max-width: 720px; }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero-copy h1 {
  font-size: clamp(38px, 6.5vw, 64px);
  font-weight: 800; line-height: 1.14; letter-spacing: -0.03em;
}
.hero-copy p { color: var(--text-dim); font-size: 18px; max-width: 36em; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 8px;
  font-size: 13px; color: var(--text-dim);
}
.hero-stats span { display: inline-flex; align-items: center; gap: 8px; }
.hero-stats span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}

/* terminal / panels */
.term {
  background: #17150f; color: #d8d2c4;
  border: 1px solid #2b2820; border-radius: 16px;
  font-family: var(--font-mono); font-size: 13px; line-height: 1.9;
  padding: 20px 22px; min-height: 220px;
  overflow-x: auto;
  box-shadow: 0 12px 32px rgba(30, 25, 10, 0.12);
  text-align: left;
}
.term-title {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #8d8672; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.term-dot { width: 7px; height: 7px; border-radius: 50%; background: #d2a24c; }
.term-status {
  margin-left: auto; display: inline-flex; align-items: center; gap: 7px;
  letter-spacing: 0.08em; color: #e4be72;
  font-variant-numeric: tabular-nums; text-transform: none;
}
.pulse {
  width: 7px; height: 7px; border-radius: 50%; background: #e4be72;
  animation: pulse 2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }
.term-line { white-space: pre-wrap; color: #a79b84; }
.term-line .cmd { color: #efe7d8; }
.term-line .tag { color: #d2a24c; }
.term-line.hidden { visibility: hidden; }
.term-line.highlight { color: #e4be72; }

/* fleet panel (cloud) */
.fleet-row {
  display: flex; align-items: center; gap: 12px;
  padding-block: 9px;
  border-bottom: 1px solid #2b2820;
  font-size: 12.5px;
}
.fleet-row:last-child { border-bottom: none; }
.fleet-row .serial { color: #efe7d8; min-width: 110px; }
.fleet-row .st { color: #a79b84; margin-left: auto; }
.fleet-row .st.on { color: #e4be72; }
.dot-on, .dot-idle { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot-on { background: #e4be72; animation: pulse 2s ease-in-out infinite; }
.dot-idle { background: #4a4536; }
@media (prefers-reduced-motion: reduce) { .dot-on { animation: none; } }

/* problem / pain list */
.pain-list { list-style: none; display: grid; gap: 0; }
.pain-list li {
  border-top: 1px solid var(--line);
  padding-block: 26px;
  display: grid; grid-template-columns: 240px 1fr; gap: 18px;
}
.pain-list li:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 640px) { .pain-list li { grid-template-columns: 1fr; gap: 6px; } }
.pain-list h3 { font-size: 17px; font-weight: 700; }
.pain-list p { color: var(--text-dim); font-size: 15.5px; max-width: 40em; }

/* layers diagram */
.layers { display: grid; gap: 10px; max-width: 720px; }
.layers.compact { gap: 8px; }
.layer {
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--bg-raised);
  padding: 18px 22px;
  display: grid; gap: 4px;
}
.layers.compact .layer { padding: 13px 18px; }
.layer-name {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim);
}
.layer-desc { font-size: 15px; color: var(--text-dim); }
.layers.compact .layer-desc { font-size: 13.5px; }
.layer-tyto {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  background: color-mix(in srgb, var(--accent) 7%, #ffffff);
}
.layer-tyto .layer-name { color: var(--accent-strong); }
.layer-tyto .layer-desc { color: var(--text); font-weight: 600; }
.layer-arrow {
  text-align: center; color: var(--text-dim);
  font-family: var(--font-mono); font-size: 12px; line-height: 1;
}
.diagram-caption { margin-top: 22px; color: var(--text-dim); font-size: 15.5px; max-width: 40em; }
a.layer-link { text-decoration: none; transition: border-color 0.15s; cursor: pointer; }
a.layer-link:hover { border-color: var(--accent-strong); }

/* product cards (구 3열) */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
}
.product {
  border: none; border-radius: var(--radius-card);
  padding: clamp(26px, 3.5vw, 36px);
  display: grid; gap: 12px; align-content: start;
  text-decoration: none;
  background: var(--bg-soft);
  transition: background 0.15s;
}
.product:hover { background: #efede8; }
.product .eyebrow { font-size: 12.5px; color: var(--accent-strong); }
.product h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; }
.product p { color: var(--text-dim); font-size: 15.5px; }
.product .go { margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--text); }

/* technology blocks */
.tech-block {
  border-top: 1px solid var(--line);
  padding-block: 36px 42px;
  display: grid; grid-template-columns: 250px 1fr;
  gap: clamp(20px, 4vw, 48px);
}
@media (max-width: 760px) { .tech-block { grid-template-columns: 1fr; } }
.tech-title { display: grid; gap: 8px; align-content: start; }
.tech-title h3 { font-size: 19px; font-weight: 700; line-height: 1.4; }
.tech-body { display: grid; gap: 18px; }
.tech-points { list-style: none; display: grid; gap: 10px; }
.tech-points li {
  font-size: 15px; color: var(--text-dim); line-height: 1.7;
  padding-left: 18px; position: relative; max-width: 44em;
}
.tech-points li::before {
  content: ""; position: absolute; left: 0; top: 0.65em;
  width: 8px; height: 2px; background: var(--accent);
}
.tech-points strong { color: var(--text); font-weight: 600; }

.ladder { display: flex; gap: 6px; }
@media (max-width: 640px) { .ladder { flex-direction: column; } }
.rung {
  flex: 1; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px 12px; display: grid; gap: 3px;
}
.rung .lv { font-family: var(--font-mono); font-size: 11px; color: var(--accent-strong); }
.rung .nm { font-size: 12.5px; color: var(--text); font-weight: 600; }
.r1 { background: color-mix(in srgb, var(--accent) 4%, transparent); }
.r2 { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.r3 { background: color-mix(in srgb, var(--accent) 13%, transparent); }
.r4 { background: color-mix(in srgb, var(--accent) 19%, transparent); border-color: var(--accent); }

/* capabilities */
.cap-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0 clamp(28px, 5vw, 56px);
}
@media (max-width: 720px) { .cap-grid { grid-template-columns: 1fr; } }
.cap {
  border-top: 1px solid var(--line);
  padding-block: 28px 34px;
  display: grid; gap: 10px; align-content: start;
}
.cap h3 { font-size: 18px; font-weight: 700; }
.cap p { color: var(--text-dim); font-size: 15.5px; }
.cap .soon {
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-dim);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 2px 10px; justify-self: start;
}

/* steps / roadmap (서브페이지) */
.steps { list-style: none; display: grid; gap: 0; max-width: 640px; }
.steps li {
  display: grid; grid-template-columns: 96px 1fr; gap: 20px;
  padding-block: 20px; border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-when {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-strong); padding-top: 5px;
}
.steps h3 { font-size: 16.5px; font-weight: 700; }
.steps p { color: var(--text-dim); font-size: 15px; }

/* contact (서브페이지) */
.contact { text-align: left; }
.contact-inner { display: grid; gap: 20px; justify-items: start; max-width: 640px; }
.contact .mail {
  font-family: var(--font-mono); font-size: clamp(16px, 3vw, 20px);
  color: var(--accent-strong); text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}
.contact .mail:hover { color: var(--text); }
.contact-channels { display: grid; gap: 10px; margin-top: 4px; }
.channel {
  display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
  font-size: 15px; color: var(--text-dim);
}
.channel .tag {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  min-width: 104px;
}

/* device mock (product page) */
.device {
  background: var(--bg-soft);
  border: none; border-radius: var(--radius-card);
  padding: 28px; display: grid; gap: 20px; justify-items: center;
}
.device-screen {
  width: 100%; max-width: 300px; aspect-ratio: 4 / 3;
  background: #17150f; border: 1px solid #2b2820; border-radius: 14px;
  display: grid; place-items: center;
}
.eyes { display: flex; gap: 36px; }
.eye {
  width: 22px; height: 34px; border-radius: 50%;
  background: #e4be72;
  animation: blink 4.5s ease-in-out infinite;
}
@keyframes blink {
  0%, 91%, 100% { transform: scaleY(1); }
  94%, 96% { transform: scaleY(0.08); }
}
@media (prefers-reduced-motion: reduce) { .eye { animation: none; } }
.device-caption {
  font-family: var(--font-mono); font-size: 12px; color: var(--text-dim);
  display: flex; align-items: center; gap: 8px;
  letter-spacing: 0.08em;
}

/* about page */
.profile-card {
  display: grid; grid-template-columns: 200px 1fr;
  gap: clamp(24px, 4vw, 44px);
  border: none; border-radius: var(--radius-card);
  background: var(--bg-soft);
  padding: clamp(24px, 4vw, 40px);
  align-items: start;
  max-width: 820px;
}
@media (max-width: 640px) { .profile-card { grid-template-columns: 1fr; } }
.profile-card > img {
  width: 100%; max-width: 200px; aspect-ratio: 1; object-fit: cover;
  border-radius: 16px;
}
.profile-copy { display: grid; gap: 14px; }
.profile-name { font-size: 14px; font-weight: 700; color: var(--text); letter-spacing: 0.01em; }
.profile-copy p { color: var(--text-dim); font-size: 15.5px; max-width: 44em; }

.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
}
.member {
  border: none; border-radius: var(--radius-card);
  background: var(--bg-soft);
  padding: 22px; display: grid; gap: 8px; align-content: start;
}
.member img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 14px;
  margin-bottom: 8px;
}
.member .role {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent-strong);
}
.member h3 { font-size: 18px; font-weight: 700; }
.member p { color: var(--text-dim); font-size: 14.5px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding-block: 40px; margin-top: 40px; }
.foot-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.foot-tag { font-size: 13.5px; color: var(--text-dim); }
.foot-copy { font-size: 13px; color: var(--text-dim); }
.foot-right { display: flex; align-items: center; gap: 24px; }
.lang-toggle {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--text-dim);
}
.lang-toggle button {
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 12.5px; color: var(--text-dim);
  padding: 4px 2px;
}
.lang-toggle button:hover { color: var(--text); }
html[data-lang="ko"] .lang-toggle button[data-setlang="ko"],
html[data-lang="en"] .lang-toggle button[data-setlang="en"] {
  color: var(--text); font-weight: 700;
}
