:root {
  --color-bg: #0b0719;
  --color-bg-alt: #100c26;
  --color-surface: #181333;
  --color-surface-2: #221c44;
  --color-surface-3: #2a2352;
  --color-text: #ece9fb;
  --color-text-strong: #ffffff;
  --color-muted: #a19ac8;
  --color-muted-2: #6f6894;
  --color-border: rgba(154, 140, 234, 0.12);
  --color-border-strong: rgba(154, 140, 234, 0.26);
  --color-primary: #8b5cf6;
  --color-primary-2: #a78bfa;
  --color-primary-hover: #9d74f8;
  --color-primary-soft: rgba(139, 92, 246, 0.14);
  --color-accent: #c4b5fd;
  --color-bubble-user: #6d5ab6;
  --color-bubble-bot: #241e46;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(5, 3, 15, 0.4);
  --shadow-md: 0 10px 30px rgba(5, 3, 15, 0.4);
  --shadow-lg: 0 40px 80px rgba(5, 3, 15, 0.55);
  --shadow-glow: 0 0 0 1px rgba(167, 139, 250, 0.4), 0 30px 70px rgba(139, 92, 246, 0.28);
  --max-width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(1200px 700px at 90% -15%, rgba(139, 92, 246, 0.18), transparent 60%),
    radial-gradient(1000px 700px at -10% 5%, rgba(91, 33, 182, 0.22), transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img {
  max-width: 100%;
  height: auto;
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

/* SVG safety: anything using currentColor */
svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  pointer-events: none;
}

/* Decorative phone mockup: no interaction */
.phone-wrap { pointer-events: none; }

/* ===== Animations ===== */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes rise-sm {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes phone-in {
  from { opacity: 0; transform: translateY(28px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes bubble-in {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes glow-breathe {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.05); }
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.25), 0 0 10px rgba(167, 139, 250, 0.55); }
  50%      { box-shadow: 0 0 0 6px rgba(139, 92, 246, 0),    0 0 14px rgba(167, 139, 250, 0.85); }
}

/* Hero stagger on load */
.hero .eyebrow    { animation: rise 0.7s cubic-bezier(.2,.7,.2,1) 0.05s both; }
.hero h1          { animation: rise 0.8s cubic-bezier(.2,.7,.2,1) 0.15s both; }
.hero p.lead      { animation: rise 0.8s cubic-bezier(.2,.7,.2,1) 0.3s  both; }
.hero-actions     { animation: rise 0.8s cubic-bezier(.2,.7,.2,1) 0.45s both; }
.hero-meta        { animation: rise 0.8s cubic-bezier(.2,.7,.2,1) 0.6s  both; }
.phone-wrap       { animation: phone-in 1s cubic-bezier(.2,.7,.2,1) 0.35s both; }

/* Animated gradient on the accent headline */
.hero h1 .accent {
  background-size: 200% 100%;
  animation: shimmer 6s ease-in-out infinite;
}

/* Breathing glow behind the phone */
.phone-glow  { animation: glow-breathe 5s ease-in-out infinite; }

/* Override the previous simple pulse with the richer ring pulse */
.eyebrow .dot { animation: dot-pulse 2.4s ease-in-out infinite; }

/* Chat bubble cascade inside the phone */
.chat .chat-row { animation: bubble-in 0.5s cubic-bezier(.2,.7,.2,1) both; }
.chat .chat-row:nth-child(1) { animation-delay: 0.8s; }
.chat .chat-row:nth-child(2) { animation-delay: 1.1s; }
.chat .chat-row:nth-child(3) { animation-delay: 1.4s; }
.chat .chat-row:nth-child(4) { animation-delay: 1.7s; }
.chat .chat-row:nth-child(5) { animation-delay: 2.0s; }
.chat .chat-row:nth-child(6) { animation-delay: 2.3s; }
.chat .chat-row:nth-child(7) { animation-delay: 2.6s; }
.chat .chat-row:nth-child(8) { animation-delay: 2.9s; }
.chat .chat-row:nth-child(9) { animation-delay: 3.2s; }

/* Scroll-reveal: hidden by default, .in when observed */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(.2,.7,.2,1),
              transform 0.8s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* Feature/model/step hover micro-animations */
.feature .feature-icon { transition: transform 0.35s cubic-bezier(.2,.7,.2,1); }
.feature:hover .feature-icon { transform: scale(1.08) rotate(-4deg); }

.tick, .privacy-ic { transition: transform 0.25s ease; }
.model-list li:hover .tick,
.privacy-item:hover .privacy-ic { transform: scale(1.12); }

.step { transition: transform 0.3s ease, border-color 0.3s ease; }
.step:hover { transform: translateY(-4px); border-color: var(--color-border-strong); }

/* CTA icon entrance */
.cta-icon { transition: transform 0.4s ease; }
.cta:hover .cta-icon { transform: translateY(-4px) rotate(-3deg); }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Restore selection on legal (policy) pages */
.legal,
.legal * {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 7, 25, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text-strong);
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav a {
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav a:hover {
  color: var(--color-text-strong);
  text-decoration: none;
}

@media (max-width: 880px) {
  .nav a:not(.btn) { display: none; }
  .nav { gap: 12px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

.btn.btn-sm { padding: 9px 16px; font-size: 14px; }

.btn-primary {
  background: linear-gradient(135deg, #9d74f8 0%, #6d28d9 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(139, 92, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(139, 92, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  text-decoration: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
  border-color: var(--color-border-strong);
}
.btn-secondary:hover {
  background: rgba(167, 139, 250, 0.1);
  border-color: var(--color-primary-2);
  color: var(--color-text-strong);
  text-decoration: none;
}

/* Hero */
.hero {
  position: relative;
  padding: 88px 0 120px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 440px at 75% 30%, rgba(139, 92, 246, 0.25), transparent 60%),
    radial-gradient(520px 420px at 12% 80%, rgba(76, 29, 149, 0.28), transparent 60%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}

@media (max-width: 960px) {
  .hero { padding: 56px 0 80px; }
  .hero .container { grid-template-columns: 1fr; gap: 56px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  background: var(--color-primary-soft);
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 26px;
  border: 1px solid var(--color-border-strong);
  line-height: 1;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  background: var(--color-primary-2);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.028em;
  margin: 0 0 24px;
  color: var(--color-text-strong);
  font-weight: 800;
}

.hero h1 .accent {
  background: linear-gradient(90deg, #ede9fe 0%, #c4b5fd 40%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 18px;
  color: var(--color-muted);
  margin: 0 0 36px;
  max-width: 540px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-meta {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  color: var(--color-muted);
  font-size: 14px;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-meta svg { color: var(--color-accent); }

/* ===== Phone mockup ===== */
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0;
}

.phone-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 50%, rgba(139, 92, 246, 0.35), transparent 70%);
  filter: blur(24px);
  pointer-events: none;
}

.phone {
  position: relative;
  width: 320px;
  aspect-ratio: 9 / 19.5;
  background: linear-gradient(180deg, #07040f 0%, #0a0618 100%);
  border-radius: 44px;
  padding: 9px;
  box-shadow:
    var(--shadow-lg),
    inset 0 0 0 1px rgba(167, 139, 250, 0.18),
    inset 0 0 0 2px rgba(0, 0, 0, 0.5);
}

.phone-camera {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 9px;
  height: 9px;
  background: #05030c;
  border-radius: 50%;
  z-index: 3;
  box-shadow: inset 0 0 0 1.5px rgba(167, 139, 250, 0.2);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 35px;
  background:
    radial-gradient(100% 50% at 50% 0%, rgba(109, 40, 217, 0.3), transparent 55%),
    linear-gradient(180deg, #130a2e 0%, #0a0620 100%);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  color: #e5e0fb;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 22px 0;
  font-size: 11px;
  font-weight: 600;
  color: #e5e0fb;
  flex-shrink: 0;
}
.status-right {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #e5e0fb;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px 8px;
  flex-shrink: 0;
}

.app-ic-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: #cfc7ee;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  border-radius: 8px;
}

.app-title {
  flex: 1;
  margin-left: 2px;
  line-height: 1.15;
}
.app-title strong {
  font-size: 13.5px;
  letter-spacing: 0.02em;
  display: block;
  color: #ffffff;
  font-weight: 700;
}
.app-title span {
  font-size: 10px;
  color: #8a82b5;
  letter-spacing: 0.01em;
}

.update-card {
  margin: 2px 12px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 10px;
  flex-shrink: 0;
}

.update-ic {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: rgba(139, 92, 246, 0.22);
  color: #c4b5fd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.update-body {
  flex: 1;
  line-height: 1.25;
  min-width: 0;
}
.update-body strong {
  font-size: 10.5px;
  color: #ffffff;
  display: block;
  font-weight: 600;
}
.update-body span {
  font-size: 9px;
  color: #9890c3;
}

.update-btn {
  background: rgba(139, 92, 246, 0.22);
  color: #e9defc;
  border: none;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.update-close {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #8a82b5;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.chat {
  flex: 1;
  padding: 4px 12px 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

.chat-row {
  display: flex;
  gap: 6px;
  align-items: flex-end;
}
.chat-row.user { justify-content: flex-end; }

.avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.35);
}

.chat-bubble {
  max-width: 76%;
  padding: 7px 10px 8px;
  border-radius: 13px;
  font-size: 10.5px;
  line-height: 1.45;
  position: relative;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.chat-bubble.user {
  background: var(--color-bubble-user);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}
.chat-bubble.bot {
  background: var(--color-bubble-bot);
  color: #e5e0fb;
  border-bottom-left-radius: 4px;
}

.chat-tag {
  display: block;
  margin-top: 4px;
  font-size: 8.5px;
  color: #7a73a4;
  letter-spacing: 0.02em;
}

.input-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 12px 14px;
  padding: 5px 5px 5px 5px;
  background: #1a1535;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.input-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.input-btn.ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #a39cc9;
}
.input-btn.send {
  background: rgba(167, 139, 250, 0.22);
  color: #d9ccfc;
}

.input-placeholder {
  flex: 1;
  font-size: 10.5px;
  color: #6f6894;
  padding: 0 4px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Sections ===== */
section { padding: 100px 0; }
section.alt { background: var(--color-bg-alt); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-head h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin: 0 0 14px;
  letter-spacing: -0.022em;
  color: var(--color-text-strong);
  font-weight: 800;
  line-height: 1.2;
}

.section-head p {
  color: var(--color-muted);
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.feature {
  padding: 32px 28px;
  background: linear-gradient(180deg, var(--color-surface) 0%, rgba(24, 19, 51, 0.6) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-strong);
  box-shadow: 0 20px 40px rgba(5, 3, 15, 0.4), 0 0 0 1px rgba(167, 139, 250, 0.2);
}
.feature:hover::before { opacity: 1; }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(139, 92, 246, 0.08));
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid var(--color-border-strong);
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--color-text-strong);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  counter-increment: step;
  position: relative;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 14px;
  display: block;
  letter-spacing: 0.12em;
  font-feature-settings: "tnum";
}

.step h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--color-text-strong);
  font-weight: 700;
}

.step p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Models */
.models {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.model {
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  position: relative;
}

.model.featured {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--color-surface-2), var(--color-surface-2)) padding-box,
    linear-gradient(135deg, #a78bfa, #7c3aed) border-box;
  box-shadow: var(--shadow-glow);
}

.model .badge {
  position: absolute;
  top: -12px;
  right: 28px;
  background: linear-gradient(135deg, #a78bfa, #6d28d9);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.45);
}

.model h3 {
  margin: 0 0 6px;
  font-size: 22px;
  color: var(--color-text-strong);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.model .size {
  color: var(--color-muted);
  font-size: 13.5px;
  margin-bottom: 22px;
}

.model-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.model-list li {
  padding: 10px 0;
  color: var(--color-text);
  font-size: 14px;
  border-top: 1px dashed var(--color-border);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}
.model-list li:first-child { border-top: none; }

.tick {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--color-border-strong);
}

.models-note {
  text-align: center;
  margin-top: 36px;
  color: var(--color-muted-2);
  font-size: 13px;
}

/* Privacy */
.privacy-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 44px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 28px;
}

@media (max-width: 720px) {
  .privacy-card { padding: 32px 24px; }
  .privacy-grid { grid-template-columns: 1fr; }
}

.privacy-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.privacy-ic {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--color-primary-soft);
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--color-border-strong);
  margin-top: 2px;
}

.privacy-item h4 {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--color-text-strong);
  font-weight: 700;
}

.privacy-item p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.6;
}

.privacy-cta {
  text-align: center;
  margin-top: 36px;
}

/* FAQ */
.faq {
  max-width: 780px;
  margin: 0 auto;
}

.faq details {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 12px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq details[open] {
  border-color: var(--color-border-strong);
  background: var(--color-surface-2);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  line-height: 1.4;
}
.faq details[open] summary { color: var(--color-text-strong); }
.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a19ac8' stroke-width='2' stroke-linecap='round'><path d='M12 5v14M5 12h14'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq details[open] summary::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4b5fd' stroke-width='2.2' stroke-linecap='round'><path d='M5 12h14'/></svg>");
}

.faq details p {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* CTA */
.download-section { padding: 0 0 120px; }

.cta {
  position: relative;
  background:
    radial-gradient(500px 300px at 20% 0%, rgba(196, 181, 253, 0.22), transparent 60%),
    radial-gradient(500px 300px at 80% 100%, rgba(109, 40, 217, 0.38), transparent 60%),
    linear-gradient(135deg, #1a1240 0%, #2a1b5c 100%);
  color: #fff;
  text-align: center;
  padding: 80px 32px;
  border-radius: var(--radius-xl);
  margin: 0 auto;
  max-width: calc(var(--max-width) - 48px);
  border: 1px solid var(--color-border-strong);
  overflow: hidden;
}

.cta-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin-bottom: 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.cta h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin: 0 0 12px;
  letter-spacing: -0.022em;
  color: var(--color-text-strong);
  font-weight: 800;
}

.cta p {
  color: rgba(234, 231, 251, 0.78);
  font-size: 17px;
  margin: 0 0 32px;
}

.cta-actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta .btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-strong);
  border-color: rgba(255, 255, 255, 0.2);
}
.cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Footer */
.site-footer {
  padding: 44px 0 48px;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted-2);
  font-size: 14px;
  background: var(--color-bg);
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand img {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  opacity: 0.88;
}

.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--color-muted); }
.footer-links a:hover { color: var(--color-text-strong); text-decoration: none; }

/* Legal (policy pages) */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px 112px;
}

.legal h1 {
  font-size: 34px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--color-text-strong);
  font-weight: 800;
}

.legal .updated {
  color: var(--color-muted-2);
  font-size: 14px;
  margin: 0 0 40px;
}

.legal h2 {
  margin: 44px 0 12px;
  font-size: 22px;
  color: var(--color-text-strong);
  font-weight: 700;
}

.legal h3 {
  margin: 24px 0 8px;
  font-size: 17px;
  color: var(--color-text);
  font-weight: 600;
}

.legal p,
.legal li {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.85;
}

.legal a { color: var(--color-accent); }
.legal ul { padding-left: 22px; }

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
  background: var(--color-surface);
  border-radius: 12px;
  overflow: hidden;
}

.legal th,
.legal td {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  vertical-align: top;
  color: var(--color-muted);
}

.legal th {
  background: var(--color-surface-2);
  font-weight: 600;
  color: var(--color-text);
}

.legal .back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--color-muted);
}
.legal .back:hover { color: var(--color-accent); text-decoration: none; }

.callout {
  padding: 18px 22px;
  border-radius: 12px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  margin: 16px 0;
  font-size: 14px;
  color: var(--color-text);
}
