/* ==========================================================================
   CHAEUMCREATIVE — company website V4 (device mockup system unified)
   화이트 · 딥 네이비 · 블루. 시스템 폰트. 외부 자원 없음.
   V4: 모든 앱 화면 목업을 하나의 휴대전화 컴포넌트(.device)로 통일.
   ========================================================================== */

:root {
  --navy-950: #061631;
  --navy-900: #0a1f44;
  --navy-800: #10305f;
  --blue-700: #164bd0;
  --blue-600: #1f5eff;
  --blue-500: #3d76ff;
  --blue-100: #dbe6ff;
  --blue-50: #f1f5ff;
  --ink: #14213d;
  --text: #2a3650;
  --muted: #5b6b84;
  --line: #e3e8f0;
  --paper: #f6f8fb;
  --white: #ffffff;
  --cream: #f7f1e6;
  --cream-deep: #eadfc8;
  --gold: #a67c33;
  --indigo: #5b5ce6;
  --indigo-deep: #3f40b5;
  --green: #2f7d5b;
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-lg: 0 30px 70px rgba(6, 22, 49, .22);
  --shadow-md: 0 18px 40px rgba(6, 22, 49, .14);
  --shadow-sm: 0 8px 22px rgba(6, 22, 49, .08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Helvetica Neue", Arial, sans-serif;

  /* ── V4 디바이스 목업 시스템 토큰 ──
     프레임 형태(비율·두께·모서리·노치·그림자·색)는 아래 값 하나로 정해지고,
     크기는 "역할" 토큰(--device-*)으로만 달라진다. 앱 종류별 크기는 두지 않는다. */
  --device-screen-ratio: 1 / 2;          /* 화면 비율 (가로:세로) — 모든 기기 동일 */
  --device-bezel: .028;                  /* 프레임 두께 = 기기 너비 × 2.8% */
  --device-radius: .13;                  /* 외곽 모서리 반경 = 기기 너비 × 13% (화면 반경은 여기서 두께를 뺀 값) */
  --device-h-ratio: 1.944;               /* 외곽 높이 = 너비 × (2 − 2×두께비) */
  --device-frame: #eef1f6;               /* 프레임 색 */
  --device-frame-line: rgba(6, 22, 49, .10);
  --device-screen-bg: #e6ebf3;
  --device-shadow: 0 28px 60px rgba(6, 22, 49, .24);
  --pair-overlap: 40px;                  /* 앞폰·뒷폰이 겹치는 폭 */
  --device-hero-primary: clamp(184px, 19vw + 40px, 272px);            /* Hero 앞폰 — 가장 큰 대표 규격 */
  --device-hero-secondary: calc(var(--device-hero-primary) * .86);    /* Hero 뒷폰 — 앞폰의 86% */
  --device-card: clamp(176px, 26vw, 216px);                           /* APPS 카드 — 두 앱 동일 */
  --device-detail-primary: clamp(200px, 21vw, 268px);                 /* 상세 Primary — 작명보감·SEORO 동일 */
  --device-detail-secondary: calc(var(--device-detail-primary) * .86);/* 상세 Secondary — Primary 의 86% */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
::selection { color: #fff; background: var(--blue-600); }

:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .statement :focus-visible, .contact :focus-visible, .site-header:not(.is-solid) :focus-visible { outline-color: #fff; }

.container { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.section { padding-block: clamp(88px, 10vw, 150px); }

/* --------------------------------------------------------------------------
   Skip link
   -------------------------------------------------------------------------- */
.skip-link {
  position: fixed; z-index: 3000; top: -80px; left: 16px;
  padding: 12px 16px; color: #fff; background: var(--navy-950);
  border-radius: 10px; font-weight: 700; text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  color: #fff;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.site-header.is-solid,
.site-header.menu-visible {
  color: var(--navy-900);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(6, 22, 49, .06);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.header-inner {
  width: min(100% - var(--gutter) * 2, var(--max));
  min-height: 84px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-mark {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 12px; background: #fff; color: var(--navy-900);
  font-weight: 800; font-size: 19px; letter-spacing: -.04em;
  transition: background .25s ease, color .25s ease;
}
.site-header.is-solid .brand-mark, .site-header.menu-visible .brand-mark { background: var(--navy-900); color: #fff; }
.brand-text { display: grid; line-height: 1.1; }
.brand-ko { font-size: 15px; font-weight: 800; letter-spacing: -.03em; }
.brand-en { margin-top: 4px; font-size: 10px; font-weight: 700; letter-spacing: .2em; opacity: .75; }

.nav-list { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); }
.nav-list a {
  position: relative; display: inline-block; padding: 10px 2px;
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-decoration: none;
}
.nav-list a::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: 4px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-list a:hover::after, .nav-list a:focus-visible::after, .nav-list a[aria-current="true"]::after { transform: scaleX(1); }
.nav-list a[aria-current="true"] { color: var(--blue-600); }
.site-header:not(.is-solid):not(.menu-visible) .nav-list a[aria-current="true"] { color: #fff; }

.menu-toggle {
  display: none; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 10px;
  background: transparent; cursor: pointer;
}
.menu-toggle-bar {
  display: block; width: 22px; height: 2px; margin: 5px auto; border-radius: 2px;
  background: currentColor; transition: transform .25s ease, opacity .25s ease;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff; background: var(--navy-900);
}
.hero::before {
  /* 절제된 배경 — 얇은 격자 하나만 */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent); mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; right: -18vw; top: -22vw;
  width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; min-width: 520px; min-height: 520px;
  border-radius: 50%; background: var(--navy-800); opacity: .55;
}
.hero-inner {
  width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto;
  min-height: 100svh; padding: 150px 0 110px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  align-items: center; gap: clamp(36px, 6vw, 90px);
}
.hero-kicker { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; opacity: .7; }
.hero-company { margin-top: 18px; font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.hero-company-en { margin-left: 10px; font-size: 11px; font-weight: 700; letter-spacing: .2em; opacity: .7; }
.hero h1 {
  margin-top: 18px; max-width: 720px;
  font-size: clamp(38px, 5.6vw, 76px); line-height: 1.12; letter-spacing: -.045em; font-weight: 800;
}
.hero-lead { margin-top: 28px; max-width: 560px; color: rgba(255,255,255,.78); font-size: clamp(15px, 1.35vw, 18px); line-height: 1.85; }
.hero-lead strong { color: #fff; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.button {
  min-height: 52px; padding: 0 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.button svg { width: 18px; height: 18px; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy-900); background: #fff; }
.button-primary:hover { background: var(--blue-50); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.button-ghost:hover { background: rgba(255,255,255,.08); }
.button-dark { color: #fff; background: var(--navy-900); }
.button-outline { color: var(--navy-900); border-color: #cfd8e6; background: #fff; }

/* --------------------------------------------------------------------------
   Device mockup system (V4)
   구조: .device > .device-screen > img
   · 크기는 --device-w 하나로만 정한다. 프레임 두께·모서리·노치·그림자는 전부 그 값에 비례한다.
   · 화면 비율은 1:2 로 통일. 이미지는 늘리지 않고(object-fit: cover) 상단 기준으로 채운다.
   · 회전은 --device-rotate 로만 한다. 역할별 크기는 .device--* 로 준다.
   -------------------------------------------------------------------------- */
.device {
  --device-w: 240px;
  --device-rotate: 0deg;
  --device-b: calc(var(--device-w) * var(--device-bezel));
  position: relative; box-sizing: border-box; flex: none;
  width: var(--device-w);
  padding: var(--device-b);
  border-radius: calc(var(--device-w) * var(--device-radius));
  background: var(--device-frame);
  box-shadow: var(--device-shadow), 0 0 0 1px var(--device-frame-line);
  transform: rotate(var(--device-rotate));
}
.device-screen {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: var(--device-screen-ratio);
  border-radius: calc(var(--device-w) * (var(--device-radius) - var(--device-bezel)));
  background: var(--device-screen-bg);
}
.device-screen::before {
  /* 상단 스피커(노치) — 모든 기기에 같은 비율 */
  content: ""; position: absolute; z-index: 3; left: 50%;
  top: calc(var(--device-w) * .03);
  width: calc(var(--device-w) * .26); height: calc(var(--device-w) * .022);
  border-radius: 999px; background: rgba(6,22,49,.16); transform: translateX(-50%);
}
.device-screen::after {
  /* 화면 가장자리 1px 하이라이트 */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(6,22,49,.06);
}
.device-screen img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 0;
}
/* 역할별 크기 — 앱 종류가 아니라 자리(역할)로만 정한다 */
.device--hero-primary { --device-w: var(--device-hero-primary); }
.device--hero-secondary { --device-w: var(--device-hero-secondary); }
.device--card { --device-w: var(--device-card); }
.device--detail-primary { --device-w: var(--device-detail-primary); }
.device--detail-secondary { --device-w: var(--device-detail-secondary); }

/* Hero stage — 앞폰(SEORO, Primary)과 뒷폰(작명보감, Secondary)을 한 쌍으로 묶어 가운데 정렬.
   폭 계산을 퍼센트로 하지 않는다: 열 두 개를 내용 크기(auto)로 두고 justify-content 로 가운데 두면
   두 폰의 좌우 여백이 어느 폭에서든 저절로 같아진다. 겹침은 뒷폰의 음수 마진 하나로만 만든다. */
.hero-stage {
  position: relative; display: grid;
  grid-template-columns: auto auto; grid-template-rows: auto auto;
  justify-content: center; align-items: start; gap: 16px 0;
  padding-top: clamp(24px, 4vw, 48px);
}
.hero-device-front {
  grid-column: 1; grid-row: 1; z-index: 2; --device-rotate: -4deg;
  margin-top: calc(var(--device-hero-primary) * .22);   /* 앞폰을 조금 내려 원근감 */
}
.hero-device-back {
  grid-column: 2; grid-row: 1; z-index: 1; --device-rotate: 6deg;
  margin-left: calc(var(--pair-overlap) * -1);
}
.hero-tag {
  position: relative; z-index: 3; padding: 12px 16px 13px;
  color: var(--navy-900); background: #fff; border-radius: 14px; box-shadow: var(--shadow-md);
  font-size: 12px; line-height: 1.4;
}
.hero-tag span { display: block; margin-bottom: 4px; color: var(--blue-700); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
/* 태그는 화면을 가리지 않도록 두 폰 아래 캡션 줄에 둔다(왼쪽 SEORO · 오른쪽 작명보감).
   두 열 전체를 차지하게 해서 열 너비를 넓히지 않고, 좌우 끝으로만 정렬한다.
   max-width 로 서로 부딪히지 않게 막는다(좁은 폭에서는 글자가 줄바꿈된다). */
.hero-tag-seoro, .hero-tag-naming { grid-column: 1 / -1; grid-row: 2; max-width: 49%; }
.hero-tag-seoro { justify-self: start; }
.hero-tag-naming { justify-self: end; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 8px; text-decoration: none;
  color: rgba(255,255,255,.6); font-size: 10px; font-weight: 800; letter-spacing: .22em;
}
.scroll-cue::after { content: ""; width: 1px; height: 34px; background: linear-gradient(to bottom, rgba(255,255,255,.8), transparent); }

/* --------------------------------------------------------------------------
   Section chrome
   -------------------------------------------------------------------------- */
.section-label {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--blue-700); font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
}
.section-label::before { content: ""; width: 28px; height: 2px; background: currentColor; opacity: .7; }
.section-label-light { color: #9db8ff; }
.section-head { max-width: 860px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head h2, .about-head h2 {
  margin-top: 18px; color: var(--navy-900);
  font-size: clamp(30px, 4.2vw, 54px); line-height: 1.18; letter-spacing: -.04em; font-weight: 800;
}
.section-desc { margin-top: 18px; max-width: 640px; color: var(--muted); font-size: 16px; line-height: 1.8; }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.about-head { position: sticky; top: 120px; }
.about-lead { color: var(--ink); font-size: clamp(19px, 2vw, 25px); line-height: 1.6; letter-spacing: -.02em; font-weight: 600; }
.about-text { margin-top: 24px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.value-list { margin-top: 44px; border-top: 1px solid var(--line); }
.value-list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.value-list strong { color: var(--navy-900); font-size: 17px; letter-spacing: -.02em; }
.value-list span { color: var(--muted); font-size: 15px; line-height: 1.75; }

/* --------------------------------------------------------------------------
   What we do
   -------------------------------------------------------------------------- */
.what { background: var(--paper); }
.what-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.what-item { position: relative; padding: 40px 32px 40px 0; border-bottom: 1px solid var(--line); }
.what-item + .what-item { padding-left: 32px; border-left: 1px solid var(--line); }
.what-icon { display: grid; place-items: center; width: 56px; height: 56px; color: var(--blue-700); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.what-icon svg { width: 28px; height: 28px; }
.what-no { position: absolute; right: 0; top: 40px; color: #b2bccc; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.what-item + .what-item .what-no { right: 0; }
.what-item h3 { margin-top: 28px; color: var(--navy-900); font-size: 22px; line-height: 1.35; letter-spacing: -.03em; font-weight: 800; }
.what-item p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.85; }

/* --------------------------------------------------------------------------
   Apps
   -------------------------------------------------------------------------- */
.app-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: -24px 0 36px; }
.filter-button {
  min-height: 42px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); background: #fff; font-size: 13px; font-weight: 800; cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.filter-button:hover { border-color: var(--navy-900); color: var(--navy-900); }
.filter-button[aria-pressed="true"] { color: #fff; background: var(--navy-900); border-color: var(--navy-900); }
.filter-button[aria-pressed="true"]::before { content: "✓ "; }

.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.app-card[hidden] { display: none; }
.app-card-link {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; min-height: 560px; overflow: hidden;
  border-radius: 24px; text-decoration: none; color: var(--navy-900);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.app-card-link:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.app-card-naming .app-card-link { background: var(--cream); }
.app-card-seoro .app-card-link { background: var(--blue-50); }
.app-card-copy { padding: 36px 36px 0; }
.app-index { display: block; font-size: 11px; font-weight: 800; letter-spacing: .18em; color: var(--muted); }
.app-card h3 { margin-top: 12px; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.04em; line-height: 1.1; }
.app-en { margin-left: 8px; font-size: .5em; font-weight: 800; letter-spacing: .12em; color: var(--indigo-deep); vertical-align: middle; }
.app-card p { margin-top: 12px; max-width: 420px; color: var(--text); font-size: 15px; line-height: 1.75; }
.app-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.8); font-size: 12px; font-weight: 800; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(47,125,91,.14); }
.app-card-seoro .status-dot { background: var(--indigo); box-shadow: 0 0 0 4px rgba(91,92,230,.16); }
.app-card-visual { position: relative; min-height: 300px; margin-top: 24px; overflow: hidden; }
/* 두 카드의 기기는 같은 크기(--device-card)·같은 위치·같은 회전 절댓값을 쓴다. */
.app-card-visual .device { position: absolute; left: 50%; top: 24px; translate: -50% 0; transition: transform .5s var(--ease), translate .5s var(--ease); }
.app-card-naming .device { --device-rotate: -3deg; }
.app-card-seoro .device { --device-rotate: 3deg; }
.app-card-link:hover .device { --device-rotate: 0deg; translate: -50% -8px; }
.app-card-more {
  position: absolute; right: 24px; bottom: 22px; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px; background: var(--navy-900); color: #fff; font-size: 12px; font-weight: 800;
}
.app-card-more svg { width: 16px; height: 16px; }
.app-filter-empty { margin-top: 24px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Product detail (작명보감 · 서로)
   -------------------------------------------------------------------------- */
.product { overflow: hidden; }
.product-naming { background: #fbf8f2; }
.product-seoro { color: #fff; background: var(--navy-950); }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(40px, 7vw, 110px); }
.product-copy h2 { margin-top: 18px; color: var(--navy-900); font-size: clamp(40px, 5.4vw, 68px); line-height: 1.05; letter-spacing: -.045em; font-weight: 800; }
.product-seoro .product-copy h2 { color: #fff; }
.title-en { margin-left: 10px; font-size: .38em; font-weight: 800; letter-spacing: .16em; color: #9db8ff; vertical-align: middle; }
.product-tagline { margin-top: 16px; font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; letter-spacing: -.02em; color: var(--gold); }
.product-seoro .product-tagline { color: #b9c8ff; }
.product-text { margin-top: 22px; max-width: 560px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.product-seoro .product-text { color: rgba(255,255,255,.74); }
.feature-list { margin-top: 30px; display: grid; gap: 0; border-top: 1px solid rgba(6,22,49,.12); }
.product-seoro .feature-list { border-color: rgba(255,255,255,.14); }
.feature-list li { display: grid; grid-template-columns: 118px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(6,22,49,.12); font-size: 15px; }
.product-seoro .feature-list li { border-color: rgba(255,255,255,.14); }
.feature-list strong { color: var(--navy-900); }
.product-seoro .feature-list strong { color: #fff; }
.feature-list span { color: var(--muted); line-height: 1.7; }
.product-seoro .feature-list span { color: rgba(255,255,255,.7); }
.product-disclaimer { margin-top: 18px; font-size: 13px; color: var(--muted); }
.product-seoro .product-disclaimer { color: rgba(255,255,255,.55); }
.product-status { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(6,22,49,.12); }
.product-seoro .product-status { border-color: rgba(255,255,255,.14); }
.product-status-label { display: block; font-size: 11px; font-weight: 800; letter-spacing: .18em; color: var(--muted); }
.product-seoro .product-status-label { color: #8fa6d6; }
.product-status strong { display: block; margin-top: 6px; font-size: 16px; color: var(--navy-900); }
.product-seoro .product-status strong { color: #fff; }

.product-visual { position: relative; min-height: 640px; display: grid; place-items: center; }
.product-naming .product-visual { --visual-pb: 44px; padding-bottom: var(--visual-pb); }
.product-naming .product-backdrop { translate: 0 calc(var(--visual-pb) / -2); }
.product-backdrop { position: absolute; width: min(90%, 540px); aspect-ratio: 1; border-radius: 50%; }
.product-backdrop-naming { background: var(--cream-deep); }
.product-backdrop-naming::after { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(166,124,51,.25); border-radius: 50%; }
.product-backdrop-seoro { background: var(--navy-800); }
.product-backdrop-seoro::after { content: ""; position: absolute; inset: 12%; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.product-device-naming { position: relative; z-index: 2; --device-rotate: -3deg; }
.product-note {
  position: absolute; z-index: 3; right: 0; bottom: 0; padding: 14px 16px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-md); font-size: 12px; color: var(--navy-900);
}
.product-note span { display: block; margin-bottom: 4px; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
/* SEORO 상세 — 번역 화면(Primary)이 앞·왼쪽 아래, 학습 화면(Secondary)이 뒤·오른쪽 위.
   Hero 와 똑같이 '내용 크기 두 열 + 가운데 정렬 + 음수 마진 겹침' 으로 배치한다. */
.product-visual-seoro {
  min-height: 660px;
  grid-template-columns: auto auto; justify-content: center; align-items: start;
  padding-block: clamp(24px, 4vw, 48px);
}
.seoro-device-a {
  grid-column: 1; grid-row: 1; z-index: 3; --device-rotate: -4deg;
  margin-top: calc(var(--device-detail-primary) * .28);   /* 앞폰을 내려 원근감 */
}
.seoro-device-b {
  grid-column: 2; grid-row: 1; z-index: 2; --device-rotate: 5deg;
  margin-left: calc(var(--pair-overlap) * -1);
}
.seoro-icon {
  position: absolute; z-index: 4; right: 4%; bottom: 3%; width: 104px; padding: 10px;
  background: #fff; border-radius: 26px; box-shadow: var(--shadow-md); transform: rotate(6deg);
}
.seoro-icon img { border-radius: 18px; }

/* --------------------------------------------------------------------------
   Statement
   -------------------------------------------------------------------------- */
.statement { position: relative; overflow: hidden; color: #fff; background: var(--blue-700); padding-block: clamp(96px, 12vw, 170px); }
.statement::after {
  content: ""; position: absolute; right: -8%; bottom: -40%; width: 46vw; height: 46vw; min-width: 420px; min-height: 420px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.18);
}
.statement-inner { position: relative; max-width: 960px; }
.statement h2 { margin-top: 18px; font-size: clamp(32px, 5vw, 66px); line-height: 1.18; letter-spacing: -.045em; font-weight: 800; }
.statement p { margin-top: 26px; max-width: 640px; color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.9; }

/* --------------------------------------------------------------------------
   Contact + footer
   -------------------------------------------------------------------------- */
.contact { color: #fff; background: var(--navy-950); padding-bottom: 0; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 100px); padding-bottom: clamp(56px, 7vw, 90px); }
.contact-head h2 { margin-top: 18px; font-size: clamp(34px, 4.8vw, 62px); line-height: 1.12; letter-spacing: -.045em; font-weight: 800; }
.contact-text { margin-top: 22px; max-width: 500px; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.85; }
.contact-email-line { margin-top: 26px; font-size: clamp(17px, 2vw, 22px); font-weight: 700; }
.contact-email-line a { color: #fff; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.business-title { display: flex; align-items: baseline; gap: 12px; font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.business-title span { color: #8fa6d6; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.business-list { margin-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
.business-row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.business-row dt { color: #8fa6d6; font-weight: 700; }
.business-row dd { color: #fff; line-height: 1.7; }
.business-row dd a { color: #fff; text-underline-offset: 4px; }
.business-en { margin-left: 8px; font-size: 11px; letter-spacing: .14em; color: #b7c6e8; font-weight: 700; }


.footer { border-top: 1px solid rgba(255,255,255,.12); padding: 28px 0 34px; color: #9fb0cc; font-size: 12px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.brand-mark-footer { width: 36px; height: 36px; border-radius: 10px; background: #fff; color: var(--navy-900); font-size: 17px; }
.footer-brand strong { display: block; color: #fff; font-size: 14px; }
.footer-brand strong span { margin-left: 6px; font-size: 10px; letter-spacing: .16em; color: #9fb0cc; }
.footer-brand small { display: block; margin-top: 3px; font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.footer-links a { text-decoration: none; color: #c7d2e8; font-weight: 700; }
.footer-links a:hover { color: #fff; }
.to-top { display: inline-flex; align-items: center; gap: 6px; }
.to-top svg { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   Reveal — JS 가 있을 때만 숨겼다가 보여준다. 없으면 그대로 보인다.
   -------------------------------------------------------------------------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); }
  .what-list { grid-template-columns: 1fr; }
  .what-item, .what-item + .what-item { padding: 30px 0; border-left: 0; }
  .what-no { top: 30px; }
  .product-grid { gap: 48px; }
}

@media (max-width: 900px) {
  .header-inner { min-height: 72px; }
  .menu-toggle { display: block; position: relative; z-index: 3; }
  /* 모바일 메뉴 — 헤더 아래 패널 + 어두운 배경. 패널 바깥(어두운 영역)을 누르면 닫힌다. */
  .main-nav {
    position: fixed; left: 0; right: 0; top: 72px; bottom: 0; z-index: 2;
    background: rgba(6, 22, 49, .42); color: var(--navy-900);
    visibility: hidden; opacity: 0;
    transition: opacity .25s ease, visibility 0s linear .25s;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transition: opacity .25s ease, visibility 0s; }
  .nav-list {
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 22px; background: #fff; border-radius: 0 0 22px 22px;
    box-shadow: 0 24px 50px rgba(6,22,49,.2);
    transform: translateY(-10px); transition: transform .25s var(--ease);
  }
  .main-nav.is-open .nav-list { transform: none; }
  .nav-list a { display: block; padding: 17px 4px; border-bottom: 1px solid var(--line); font-size: 19px; letter-spacing: 0; }
  .nav-list li:last-child a { border-bottom: 0; }
  .nav-list a::after { display: none; }
  .nav-list a[aria-current="true"] { color: var(--blue-700); }

  .hero-inner { min-height: 0; padding: 124px 0 80px; grid-template-columns: 1fr; gap: 20px; }
  /* 1열이 되면 무대가 넓어지므로 기기를 화면 폭에 맞춰 키우고, 무대 자체는 가운데 560px 안에 둔다 */
  /* 1열이 되면 무대가 넓어지므로 기기를 화면 폭에 맞춰 키운다.
     vw 기준으로 상한을 걸어 두 폰을 나란히 놓아도(1.86P − 겹침) 화면을 넘지 않게 한다. */
  :root {
    --device-hero-primary: clamp(140px, 50vw, 260px);
    --device-detail-primary: clamp(140px, 46vw, 250px);
  }
  .hero-stage { width: 100%; max-width: 560px; margin: 8px auto 0; padding-top: clamp(16px, 4%, 40px); }
  .product-visual { width: 100%; max-width: 560px; margin-inline: auto; }
  .scroll-cue { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-head { position: static; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card-link { min-height: 520px; }
  .product-grid, .product-grid-reverse { grid-template-columns: 1fr; }
  .product-grid-reverse .product-visual { order: -1; }
  .product-visual { min-height: 580px; }
  .product-visual-seoro { min-height: 600px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  .section { padding-block: 76px; }
  .brand-en { display: none; }
  .hero-inner { padding: 112px 0 64px; }
  .hero h1 { font-size: clamp(34px, 10vw, 46px); }
  .hero-lead { font-size: 15px; }
  .button { min-height: 48px; padding: 0 20px; font-size: 13px; }
  :root { --pair-overlap: 32px; }
  .hero-stage { padding-top: 20px; gap: 14px 0; }
  .hero-device-front { margin-top: calc(var(--device-hero-primary) * .16); }
  .seoro-device-a { margin-top: calc(var(--device-detail-primary) * .2); }
  .hero-tag { padding: 10px 12px; font-size: 11px; }

  .section-head h2, .about-head h2 { font-size: clamp(26px, 7.4vw, 34px); }
  .value-list li { grid-template-columns: 1fr; gap: 6px; }
  .what-item h3 { font-size: 20px; }
  .app-filter { margin-top: -12px; }
  .app-card-copy { padding: 26px 22px 0; }
  .app-card-link { min-height: 480px; }
  .app-card-visual { min-height: 250px; }
  .app-card-more { right: 16px; bottom: 16px; }

  .product-copy h2 { font-size: 44px; }
  .feature-list li { grid-template-columns: 1fr; gap: 4px; }
  .product-visual { min-height: 480px; }
  .product-naming .product-visual { --visual-pb: 40px; }
  .product-backdrop { width: 92%; }
  .product-note { padding: 10px 12px; font-size: 11px; }
  .product-visual-seoro { min-height: 500px; }
  .seoro-icon { width: 78px; right: 3%; bottom: 2%; padding: 8px; border-radius: 20px; }
  .seoro-icon img { border-radius: 14px; }

  .statement h2 { font-size: clamp(28px, 8vw, 38px); }
  .contact-head h2 { font-size: clamp(30px, 8.6vw, 40px); }
  .business-row { grid-template-columns: 1fr; gap: 4px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .preflight-notice { bottom: 10px; width: calc(100% - 20px); font-size: 12px; }
}

@media (max-width: 380px) {
  :root { --pair-overlap: 44px; }
}

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .button:hover, .app-card-link:hover { transform: none; }
}

@media print {
  .site-header, .preflight-notice, .scroll-cue { display: none !important; }
  .hero, .product-seoro, .statement, .contact { color: #000; background: #fff; }
  .device { box-shadow: none; }
}
