/* AURUM 공식 사이트 — v2 "Deep Trust + Warm Energy"
 * 다크 앵커 히어로, 밝은 전개, 진동 골드 CTA, 컬러 아이콘 타일
 * 2026-06-23 재설계
 */

/* ---------- Google Fonts (Noto Serif KR — 인용 한정) ---------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400&display=swap');

/* ---------- 디자인 토큰 ---------- */
:root {
  /* Dark canvas */
  --dark:        #0A1628;
  --dark-2:      #1A2F4E;
  --dark-3:      #0F1A2E;
  --dark-card:   rgba(255,255,255,0.05);
  --dark-border: rgba(255,255,255,0.10);

  /* Light canvas */
  --light:       #FFFFFF;
  --light-alt:   #F7F9FC;
  --light-muted: #EEF2F8;
  --border:      #DDE3EE;

  /* Gold — vibrant CTA */
  --gold:        #F0B429;
  --gold-hover:  #F5C842;
  --gold-active: #D99A18;
  --gold-glow:   rgba(240,180,41,0.35);
  --gold-subtle: rgba(240,180,41,0.10);
  --gold-border: rgba(240,180,41,0.25);
  --gold-text:   #92620A;   /* dark text on light bg */

  /* Amber (Life accent) */
  --amber:       #D97706;

  /* Icon gradient stops (used inline) */
  --icon-security-a: #4F46E5;
  --icon-security-b: #7C3AED;
  --icon-family-a:   #065F46;
  --icon-family-b:   #059669;
  --icon-privacy-a:  #1E3A5F;
  --icon-privacy-b:  #2563EB;
  --icon-life-a:     #92400E;
  --icon-life-b:     #D97706;
  --icon-work-a:     #1F2937;
  --icon-work-b:     #374151;

  /* Text — light mode */
  --ink:    #0D1117;
  --ink-2:  #4B5563;
  --ink-3:  #9CA3AF;

  /* Text — dark sections */
  --on-dark:      rgba(255,255,255,0.95);
  --on-dark-muted: rgba(255,255,255,0.65);

  /* Shapes */
  --r-sm:  8px;
  --r:     14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow:    0 1px 3px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.09);
  --shadow-lg: 0 4px 8px rgba(0,0,0,.10), 0 24px 56px rgba(0,0,0,.16);
  --shadow-dark: 0 8px 32px rgba(0,0,0,.40);

  --maxw: 1120px;
  --font: "PretendardVariable", "Pretendard", -apple-system, BlinkMacSystemFont,
          "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", Roboto, sans-serif;
  --font-serif: "Noto Serif KR", Georgia, serif;

  /* Motion */
  --reveal-duration: 480ms;
  --reveal-easing:   cubic-bezier(0.0, 0.0, 0.2, 1);
  --reveal-distance: 24px;
  --t-fast: 150ms cubic-bezier(0.2,0,0,1);
  --t-std:  250ms cubic-bezier(0.2,0,0,1);

  /* Bento */
  --bento-pad: 32px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--light);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* SVG safety — sized explicitly on every icon; this is backup only */
svg { max-width: 100%; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 .5em; word-break: keep-all; }
h1 {
  font-size: clamp(3.2rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; margin: 0 0 6px; }
p  { margin: 0 0 1em; color: var(--ink-2); }
a  { color: var(--gold-text); text-decoration: none; }
a:hover { color: var(--gold); text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Accessibility ---------- */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--gold); color: #0A1628; font-weight: 700;
  padding: 12px 18px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,22,40,0.90);
  backdrop-filter: saturate(150%) blur(20px);
  -webkit-backdrop-filter: saturate(150%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 20px;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.15rem; color: #fff;
}
.brand:hover { text-decoration: none; color: var(--gold); }
.brand img { width: 28px; height: 28px; display: block; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav a { color: rgba(255,255,255,0.75); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--gold); text-decoration: none; }
.lang { display: flex; gap: 2px; align-items: center; font-size: .88rem; }
.lang a { color: rgba(255,255,255,0.50); font-weight: 600; padding: 4px 6px; }
.lang a[aria-current="page"] { color: var(--gold); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer; padding: 8px;
  color: #fff; flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none; flex-direction: column;
  position: absolute; top: 64px; left: 0; right: 0;
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 16px 24px 24px; gap: 4px; z-index: 49;
}
.nav-drawer.is-open { display: flex; }
.nav-drawer a {
  color: rgba(255,255,255,0.85); font-weight: 600; font-size: 1.05rem;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover { color: var(--gold); text-decoration: none; }

@media (max-width: 720px) {
  .nav > a:not(.lang-wrap a) { display: none; }
  .nav { gap: 12px; }
  .nav-toggle { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 1rem; cursor: pointer; min-height: 52px;
  border: 2px solid transparent;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: #1A0900;
  box-shadow: 0 4px 20px var(--gold-glow);
}
.btn-primary:hover {
  background: var(--gold-hover);
  color: #1A0900;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--gold-glow);
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }
.btn-ghost {
  background: transparent; color: rgba(255,255,255,0.80);
  border-color: rgba(255,255,255,0.40);
}
.btn-ghost:hover {
  border-color: var(--gold); color: var(--gold);
  text-decoration: none; transform: translateY(-2px);
}

/* ---------- Eyebrow pill ---------- */
.eyebrow-pill {
  display: inline-flex; align-items: center;
  font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 16px; border-radius: var(--r-pill); margin-bottom: 20px;
}
.eyebrow-pill-gold {
  color: var(--gold);
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
}
.eyebrow-pill-light {
  color: var(--gold-text);
  background: rgba(240,180,41,0.10);
  border: 1px solid rgba(240,180,41,0.22);
}

/* ---------- Sections baseline ---------- */
section { padding: clamp(72px, 10vw, 120px) 0; }
.section-head { max-width: 52ch; margin-bottom: 44px; }
.section-head p { font-size: 1.08rem; }
/* Fix 2 — confident comparison pull-line */
.features-comparison {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: .5em;
  letter-spacing: -0.01em;
}

/* ============================================================
   SECTION 1 — HERO (dark)
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(80px, 12vw, 140px) 0 clamp(64px, 9vw, 112px);
  background: var(--dark);
}
/* Aurora glow layers */
.hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 40%, rgba(240,192,64,0.12) 0%, transparent 65%),
    radial-gradient(ellipse 60% 70% at 20% 60%, rgba(77,142,255,0.10) 0%, transparent 70%);
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-text { min-width: 0; }
.hero-visual {
  min-width: 0;
  display: flex; align-items: center; justify-content: center;
}

/* ---- Eyebrow in hero ---- */
.hero .eyebrow {
  display: inline-flex; align-items: center;
  font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  padding: 6px 16px; border-radius: var(--r-pill); margin-bottom: 24px;
}
.hero h1 { color: #fff; max-width: 18ch; }
.hero .lead {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  max-width: 40ch; color: var(--on-dark-muted); line-height: 1.65; margin-bottom: 0;
}
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero .note { margin-top: 16px; font-size: .85rem; color: rgba(255,255,255,0.38); }

/* ---- CSS Phone Mockup ---- */
.phone-frame {
  width: 240px;
  height: 420px;
  background: linear-gradient(160deg, #1A2438, #0D1A2C);
  border-radius: 36px;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 32px 80px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.10);
  transform: perspective(1200px) rotateY(-12deg) rotateX(2deg);
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
}
/* Status bar */
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px 4px;
  font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.50);
  flex-shrink: 0;
}
/* Chat header */
.phone-chat-header {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.phone-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #E8952A);
  flex-shrink: 0;
}
.phone-contact-name {
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.90);
}
.phone-contact-sub {
  font-size: 9px; color: rgba(255,255,255,0.40);
}
/* E2E lock badge */
.phone-lock-badge {
  margin-left: auto; display: flex; align-items: center; gap: 3px;
  font-size: 8px; font-weight: 700; color: var(--gold);
  background: rgba(240,180,41,0.12); border: 1px solid rgba(240,180,41,0.25);
  padding: 3px 6px; border-radius: var(--r-pill);
}
.phone-lock-badge svg { width: 8px; height: 8px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Chat body */
.phone-screen {
  flex: 1; padding: 12px 10px; display: flex; flex-direction: column; gap: 8px;
  overflow: hidden;
}
.msg-in {
  max-width: 70%; align-self: flex-start;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 4px 14px 14px 14px;
  padding: 7px 10px;
  font-size: 10px; color: rgba(255,255,255,0.80); line-height: 1.4;
}
.msg-out {
  max-width: 70%; align-self: flex-end;
  background: linear-gradient(135deg, var(--gold), #E8952A);
  border-radius: 14px 4px 14px 14px;
  padding: 7px 10px;
  font-size: 10px; color: #1A0900; font-weight: 600; line-height: 1.4;
}
.msg-ts { font-size: 8px; color: rgba(255,255,255,0.30); text-align: right; margin-top: 2px; }
.msg-out .msg-ts { color: rgba(26,9,0,0.50); }
/* Input bar */
.phone-input-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.phone-input-pill {
  flex: 1; height: 28px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-pill);
}
.phone-send-btn {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.phone-send-btn svg { width: 12px; height: 12px; stroke: #1A0900; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* Space-toggle label in chat sub-line */
.phone-space-toggle { font-size: 9px; color: rgba(255,255,255,0.40); }
.space-pill-work {
  display: inline-block;
  background: rgba(100,120,160,0.30);
  border: 1px solid rgba(147,197,253,0.25);
  border-radius: 4px;
  padding: 0 4px;
  color: rgba(147,197,253,0.80);
  font-size: 8px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}

/* Space divider labels inside phone screen */
.phone-space-label {
  font-size: 8px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: rgba(147,197,253,0.55);
  text-align: center;
  padding: 2px 0 4px;
}
.phone-space-label-life {
  color: rgba(240,180,41,0.55);
  padding-top: 6px;
}

/* Work bubble — slate/steel, distinct from gold msg-out */
.msg-work {
  max-width: 80%; align-self: flex-end;
  background: linear-gradient(135deg, #1E2D45, #2D3F5C);
  border: 1px solid rgba(147,197,253,0.18);
  border-radius: 14px 4px 14px 14px;
  padding: 7px 10px;
  font-size: 10px; color: rgba(255,255,255,0.88); font-weight: 600; line-height: 1.4;
}
.msg-ts-work { color: rgba(147,197,253,0.40); }

/* Hero animations */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero .eyebrow    { animation: heroFadeUp 360ms 60ms  both cubic-bezier(0,0,0.2,1); }
.hero h1          { animation: heroFadeUp 480ms 140ms both cubic-bezier(0,0,0.2,1); }
.hero .lead       { animation: heroFadeUp 480ms 240ms both cubic-bezier(0,0,0.2,1); }
.hero .cta-row    { animation: heroFadeUp 400ms 360ms both cubic-bezier(0,0,0.2,1); }
.hero .note       { animation: heroFadeUp 380ms 440ms both cubic-bezier(0,0,0.2,1); }
.hero .hero-visual { animation: heroFadeUp 640ms 220ms both cubic-bezier(0,0,0.2,1); }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: 2; }
  .phone-frame { transform: perspective(1200px) rotateY(0deg) scale(0.92); }
  .hero .cta-row { flex-direction: column; }
  .hero .cta-row .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   SECTION 2 — 없앤 것들 (light)
   ============================================================ */
.section-absence { background: var(--light); }
.absence-header { max-width: 52ch; margin-bottom: 44px; }
.absence-header h2 { color: var(--ink); }
.absence-header p { color: var(--ink-2); }

.absence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.absence-item {
  display: flex; flex-direction: column; gap: 14px;
  padding: 24px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  transition: transform var(--t-std), box-shadow var(--t-std);
}
.absence-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
/* Colored icon tile */
.icon-tile {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.icon-tile svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
/* Per-tile gradient backgrounds */
.tile-ad       { background: linear-gradient(135deg, #DC2626, #B91C1C); }
.tile-phone    { background: linear-gradient(135deg, #4F46E5, #7C3AED); }
.tile-id       { background: linear-gradient(135deg, #065F46, #059669); }
.tile-notif    { background: linear-gradient(135deg, #1E3A5F, #2563EB); }
.tile-missend  { background: linear-gradient(135deg, #92400E, #D97706); }
.tile-sdk      { background: linear-gradient(135deg, #1F2937, #374151); }

.absence-item-text h4 { margin: 0 0 4px; color: var(--ink); }
.absence-item-text p { margin: 0; font-size: .9rem; color: var(--ink-2); line-height: 1.55; }

/* Gold pullquote */
.trust-quote {
  margin: 52px auto 0;
  max-width: 44ch; text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 400; font-style: italic;
  letter-spacing: -0.01em;
  color: var(--gold-text);
  padding: 32px 24px;
  background: var(--light-alt);
  border: none; border-radius: var(--r-xl);
  border-left: 4px solid var(--gold);
}
.trust-quote::before { content: '\201C'; }
.trust-quote::after  { content: '\201D'; }

@media (max-width: 860px) {
  .absence-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .absence-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION 3 — 듀얼스페이스 (dark)
   ============================================================ */
.section-spaces {
  background: linear-gradient(165deg, var(--dark), var(--dark-2));
  position: relative; overflow: hidden;
}
.section-spaces::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 90% 50%, rgba(240,180,41,0.07) 0%, transparent 70%);
}
.section-spaces .section-head { position: relative; z-index: 1; }
.section-spaces .section-head h2 { color: #fff; }
.section-spaces .section-head p  { color: var(--on-dark-muted); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; position: relative; z-index: 1; }
.duo .panel {
  border-radius: var(--r-xl); padding: 40px 36px;
  overflow: hidden; position: relative;
}
.duo .life {
  background: linear-gradient(145deg, #3B1F00, #7C3D00);
  border: 1px solid rgba(240,180,41,0.25);
}
.duo .work {
  background: linear-gradient(145deg, #0F1A2E, #1E2D45);
  border: 1px solid rgba(255,255,255,0.10);
}
.duo .panel .tag {
  font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px;
}
.duo .life .tag { color: var(--gold); }
.duo .work .tag { color: rgba(255,255,255,0.50); }
.duo .life h3 { color: #FDE68A; }
.duo .life p  { color: rgba(253,230,138,0.72); }
.duo .work h3 { color: rgba(255,255,255,0.92); }
.duo .work p  { color: rgba(255,255,255,0.58); }
/* Duo panel icon tile */
.panel-icon-tile {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.panel-icon-tile svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.life .panel-icon-tile { background: linear-gradient(135deg, #92400E, #D97706); }
.work .panel-icon-tile { background: linear-gradient(135deg, #1F2937, #4B5563); }

.duo-divider {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: .85rem; font-weight: 600; color: rgba(255,255,255,0.35);
  margin-top: 16px; position: relative; z-index: 1;
}
.duo-divider svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 720px) { .duo { grid-template-columns: 1fr; } }

/* ============================================================
   SECTION 4 — 기능 벤토 (dark)
   ============================================================ */
.section-features {
  background: linear-gradient(175deg, var(--dark-2), var(--dark));
}
.section-features .section-head h2 { color: #fff; }
.section-features .section-head p  { color: var(--on-dark-muted); }
.section-features .section-head .features-comparison { color: var(--gold); }

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
/* Base card */
.bento-card {
  border-radius: var(--r-lg);
  padding: var(--bento-pad);
  border: 1px solid var(--dark-border);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-dark);
  position: relative; overflow: hidden;
  transition: transform var(--t-std), box-shadow var(--t-std);
}
.bento-card:hover { transform: translateY(-4px); box-shadow: 0 12px 48px rgba(0,0,0,0.5); }
/* inset highlight */
.bento-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(255,255,255,0.07) 0%, transparent 50%);
  pointer-events: none;
}
.bento-card h3 { color: rgba(255,255,255,0.92); margin: 0 0 8px; }
.bento-card p  { color: var(--on-dark-muted); margin: 0; font-size: .92rem; }
.bento-card .card-label {
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
/* Life wrap = amber gradient */
.bento-life-wrap {
  grid-column: span 7;
  background: linear-gradient(145deg, #3B1F00, #7C3D00);
  border: 1px solid rgba(240,180,41,0.20);
  border-radius: var(--r-lg);
}
.bento-e2e-wrap {
  grid-column: span 5;
  background: linear-gradient(145deg, #0F1A2E, #1E3A5F);
  border: 1px solid rgba(77,142,255,0.15);
  border-radius: var(--r-lg);
}
.bento-life-wrap .bento-card,
.bento-e2e-wrap  .bento-card {
  background: transparent; border: none; box-shadow: none;
}
.bento-life-wrap .bento-card::before,
.bento-e2e-wrap  .bento-card::before { display: none; }
.bento-life-wrap .bento-card h3 { color: #FDE68A; }
.bento-life-wrap .bento-card p  { color: rgba(253,230,138,0.65); }
.bento-life-wrap .card-label { color: var(--gold); }
.bento-e2e-wrap  .bento-card h3 { color: rgba(255,255,255,0.92); }
.bento-e2e-wrap  .bento-card p  { color: rgba(147,197,253,0.75); }
.bento-e2e-wrap  .card-label { color: #93C5FD; }

/* Row 2 */
.bento-card-4  { grid-column: span 4; }
/* Row 3: wide */
.bento-card-12 { grid-column: span 12; }

/* Colored icon tile inside bento */
.card-icon-tile {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.30);
}
.card-icon-tile svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
/* Life card icon = amber */
.bento-life-wrap .card-icon-tile { background: linear-gradient(135deg, #92400E, #D97706); }
/* E2E card icon = indigo-blue */
.bento-e2e-wrap .card-icon-tile { background: linear-gradient(135deg, #1E3A5F, #2563EB); }
/* Feature tile colors */
.tile-verify  { background: linear-gradient(135deg, #4F46E5, #7C3AED); }
.tile-chat    { background: linear-gradient(135deg, #065F46, #059669); }
.tile-calm    { background: linear-gradient(135deg, #92400E, #D97706); }
.tile-switch  { background: linear-gradient(135deg, #1F2937, #4B5563); }

@media (min-width: 540px) and (max-width: 959px) {
  .bento-life-wrap { grid-column: span 6; }
  .bento-e2e-wrap  { grid-column: span 6; }
  .bento-card-4    { grid-column: span 6; }
  .bento-card-12   { grid-column: span 12; }
}
@media (max-width: 539px) {
  .bento > *,
  .bento-life-wrap,
  .bento-e2e-wrap,
  .bento-card-4,
  .bento-card-12 { grid-column: span 12; }
}

/* ============================================================
   SECTION 5 — 가족 안심 (light)
   ============================================================ */
.section-family { background: var(--light-alt); }
.family-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.family-text h2 { color: var(--ink); }
.family-checklist {
  list-style: none; margin: 24px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.family-checklist li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .95rem; color: var(--ink-2);
}
.family-checklist li svg {
  width: 18px; height: 18px; flex: none; margin-top: 2px;
  stroke: var(--gold-text); fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
/* Family illustration — contact-card mock */
.family-visual {
  background: var(--light);
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.family-visual-label {
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 4px;
}
/* Shared contact row base */
.family-contact-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r);
}
.family-contact-row.verified {
  background: #F0FDF4;
  border: 1px solid rgba(5,150,105,0.25);
}
.family-contact-row.quarantined {
  background: var(--light-alt);
  border: 1px solid var(--border);
  opacity: 0.60;
}
.family-contact-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
}
.family-contact-avatar.av-gold { background: linear-gradient(135deg, #92400E, #D97706); }
.family-contact-avatar.av-slate { background: linear-gradient(135deg, #374151, #6B7280); }
.family-contact-info { flex: 1; min-width: 0; }
.family-contact-name { font-size: .9rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.family-contact-sub  { font-size: .78rem; color: var(--ink-3); margin-top: 1px; }
.family-contact-badge {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px;
  font-size: .72rem; font-weight: 700; padding: 3px 8px;
  border-radius: var(--r-pill);
}
.badge-verified {
  color: #065F46; background: rgba(5,150,105,0.12);
  border: 1px solid rgba(5,150,105,0.30);
}
.badge-quarantine {
  color: var(--ink-3); background: var(--light-muted);
  border: 1px solid var(--border);
}

@media (max-width: 720px) {
  .family-layout { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================================
   SECTION 6 — 신뢰 아키텍처 (dark)
   ============================================================ */
.section-trust {
  background: linear-gradient(160deg, var(--dark-3), var(--dark-2));
  position: relative; overflow: hidden;
}
.section-trust::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 40% 50% at 50% 0%, rgba(240,180,41,0.10) 0%, transparent 65%);
}
.trust-inner { position: relative; z-index: 1; text-align: center; }
.trust-emblem {
  display: flex; justify-content: center; margin-bottom: 32px;
  position: relative;
}
/* Soft ring behind emblem */
.trust-emblem::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,180,41,0.18) 0%, transparent 70%);
  box-shadow: 0 0 0 1px rgba(240,180,41,0.15);
  pointer-events: none;
}
.trust-emblem img {
  width: 64px; height: 64px; display: block;
  filter: drop-shadow(0 0 12px rgba(240,180,41,0.55)) drop-shadow(0 4px 16px rgba(240,180,41,0.4));
  position: relative; z-index: 1;
}
.trust-seal {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.trust-inner h2 { color: #fff; margin-bottom: 12px; }
.trust-intro {
  color: var(--on-dark-muted); max-width: 52ch; margin: 0 auto 48px;
}

.trust-pillars {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-bottom: 40px;
}
.trust-pillar {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-lg); padding: 28px 24px; text-align: left;
  transition: transform var(--t-std), box-shadow var(--t-std);
}
.trust-pillar:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,0.35); }
/* inset highlight */
.trust-pillar::before {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.trust-pillar { position: relative; }
.pillar-icon-tile {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.pillar-icon-tile svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.trust-pillar h4 { color: #fff; font-size: 1rem; margin: 0 0 8px; }
.trust-pillar p  { color: rgba(255,255,255,0.62); font-size: .88rem; margin: 0; line-height: 1.6; }

.trust-list {
  margin: 0 0 32px; padding: 0; list-style: none;
  display: grid; gap: 10px; max-width: 64ch; margin-left: auto; margin-right: auto; text-align: left;
}
.trust-list li {
  padding-left: 28px; position: relative;
  color: rgba(255,255,255,0.78); font-size: .92rem; line-height: 1.6;
}
.trust-list li::before {
  content: '';
  position: absolute; left: 0; top: 4px;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F0B429' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
}
.warrant-canary {
  text-align: center; font-size: .82rem;
  color: rgba(255,255,255,0.35);
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 8px;
}

@media (max-width: 720px) { .trust-pillars { grid-template-columns: 1fr; } }

/* ============================================================
   SECTION 7 — 사회증거 (light)
   ============================================================ */
.section-social { background: var(--light); }
.social-intro { text-align: center; max-width: 56ch; margin: 0 auto 44px; }
.social-intro h2 { color: var(--ink); }
.social-intro p  { color: var(--ink-2); }

.review-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.review-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform var(--t-std), box-shadow var(--t-std);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
/* Featured: first card gold-bordered */
.review-card:first-child {
  border-color: rgba(240,180,41,0.40);
  background: linear-gradient(160deg, #FFFBF0, #FFF);
}
.review-stars {
  display: flex; gap: 2px; margin-bottom: 14px; color: var(--gold); font-size: 14px;
}
.review-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
  margin-bottom: 14px; flex-shrink: 0;
}
.avatar-amber  { background: linear-gradient(135deg, #92400E, #D97706); }
.avatar-indigo { background: linear-gradient(135deg, #4F46E5, #7C3AED); }
.avatar-green  { background: linear-gradient(135deg, #065F46, #059669); }
.review-card blockquote {
  margin: 0 0 14px; padding: 0;
  font-size: .95rem; color: var(--ink); line-height: 1.65; border: none; background: none;
}
.review-card cite { font-size: .83rem; color: var(--ink-3); font-style: normal; }
@media (max-width: 720px) { .review-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SECTION 8 — 다운로드 CTA finale (dark)
   ============================================================ */
.section-download {
  background: var(--dark);
  position: relative; overflow: hidden; text-align: center;
}
.section-download::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(240,180,41,0.13) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 80% 80%, rgba(77,142,255,0.08) 0%, transparent 60%);
}
.section-download .wrap { position: relative; z-index: 1; }
.section-download .section-head { margin: 0 auto 44px; text-align: center; }
.section-download .section-head h2 { color: #fff; }
.section-download .section-head p  { color: var(--on-dark-muted); }

.store-badges {
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 12px;
}
.badge-wrap { position: relative; display: inline-block; }
.badge-wrap.coming-soon { opacity: 0.55; pointer-events: none; }
.badge-wrap.coming-soon::after {
  content: '준비 중';
  position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%);
  font-size: .76rem; color: rgba(255,255,255,0.38); white-space: nowrap;
}
.badge-wrap-en.coming-soon::after { content: 'Coming soon'; }

.store-badge {
  display: inline-flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-lg); padding: 14px 24px;
  min-width: 180px; transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.store-badge:hover {
  background: rgba(255,255,255,0.11); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3); text-decoration: none; color: #fff;
}
.store-badge svg { flex: none; }
.store-badge-text { display: flex; flex-direction: column; text-align: left; }
.store-badge-text small { font-size: .68rem; font-weight: 400; opacity: 0.6; line-height: 1; margin-bottom: 3px; }
.store-badge-text strong { font-size: .98rem; font-weight: 700; line-height: 1; }
.section-download .note { margin-top: 36px; font-size: .88rem; color: rgba(255,255,255,0.35); }
.section-download .note a { color: var(--gold); }

/* ============================================================
   LEGAL / DOC PAGES (unchanged semantics, light-mode)
   ============================================================ */
.doc { background: var(--light-alt); }
.doc .wrap { max-width: 760px; }
.doc-body {
  background: var(--light); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow); margin: 32px 0 64px;
}
.doc-body h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.doc-body h2 { font-size: 1.3rem; margin-top: 1.8em; padding-top: .4em; border-top: 1px solid var(--border); }
.doc-body h2:first-of-type { border-top: none; }
.doc-body p, .doc-body li { color: var(--ink); }
.doc-body .meta { color: var(--ink-3); font-size: .92rem; }
.doc-body table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .94rem; }
.doc-body th, .doc-body td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc-body th { background: var(--light-muted); font-weight: 700; }
.doc-body blockquote {
  margin: 1.2em 0; padding: 16px 20px;
  background: var(--gold-subtle); border-left: 4px solid var(--gold);
  border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink);
}
.doc-body .placeholder {
  background: #FFF3CD; color: #856404; padding: 1px 6px; border-radius: 4px;
  font-weight: 600; border: 1px dashed #FFBD3E;
}
.faq dt { font-weight: 700; margin-top: 1.4em; color: var(--ink); }
.faq dd { margin: .4em 0 0; color: var(--ink-2); }

/* ============================================================
   FOOTER (dark)
   ============================================================ */
.site-footer {
  background: var(--dark-3);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 52px 0;
}
.site-footer .cols {
  display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between;
}
.site-footer .brand { color: #fff; margin-bottom: 10px; }
.site-footer .brand:hover { color: var(--gold); }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer nav a { color: rgba(255,255,255,0.50); font-size: .92rem; }
.site-footer nav a:hover { color: var(--gold); text-decoration: none; }
.site-footer .legal { color: rgba(255,255,255,0.55); font-size: .83rem; margin-top: 28px; max-width: 66ch; }
.site-footer .legal a { color: rgba(255,255,255,0.40); }
.site-footer .honesty { color: rgba(255,255,255,0.40); font-size: .88rem; margin-top: 6px; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(var(--reveal-distance, 24px));
  transition:
    opacity var(--reveal-duration, 480ms) var(--reveal-easing, cubic-bezier(0,0,0.2,1)),
    transform var(--reveal-duration, 480ms) var(--reveal-easing, cubic-bezier(0,0,0.2,1));
}
[data-reveal].revealed {
  opacity: 1; transform: translateY(0);
}
[data-reveal][data-reveal-fast] {
  --reveal-duration: 300ms; --reveal-distance: 12px;
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero .eyebrow, .hero h1, .hero .lead,
  .hero .cta-row, .hero .note, .hero .hero-visual { animation: none; }
  .btn, .bento-card, .absence-item, .review-card, .trust-pillar { transition: none; }
}
