:root {
  --bg: #fbfbfd;
  --bg-alt: #f3f4f8;
  --surface: #ffffff;
  --text: #0b0d12;
  --text-sub: #5a6272;
  --text-faint: #9aa1ae;
  --border: rgba(15, 20, 35, .08);
  --border-strong: rgba(15, 20, 35, .14);
  --accent: #4f5dff;
  --accent-2: #9b5cff;
  --accent-3: #1ec8b0;
  --grad: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 60%, #ff6fb5 100%);
  --shadow: 0 1px 2px rgba(15, 20, 35, .04), 0 12px 40px -12px rgba(15, 20, 35, .12);
  --shadow-lg: 0 2px 4px rgba(15, 20, 35, .04), 0 40px 80px -20px rgba(40, 40, 120, .25);
  --radius: 24px;
  --max: 1160px;
  /* kept for legacy pages */
  --card: var(--surface);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07080c;
    --bg-alt: #0c0e14;
    --surface: #12141c;
    --text: #f2f4f8;
    --text-sub: #9198a8;
    --text-faint: #5d6474;
    --border: rgba(255, 255, 255, .07);
    --border-strong: rgba(255, 255, 255, .14);
    --accent: #6b78ff;
    --accent-2: #a87bff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 40px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 40px 80px -20px rgba(0, 0, 0, .8);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

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

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ───────── Header ───────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background .3s, border-color .3s;
}
.home .site-header {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.home .site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--border);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 4px 14px -4px color-mix(in srgb, var(--accent) 70%, transparent);
}
.logo.small { font-size: 17px; }
.logo .dot { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-sub);
  padding: 8px 16px;
  border-radius: 999px;
  transition: color .2s, background-color .2s;
}
.nav a.active {
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
}
.nav a.active:hover { color: var(--bg); }
.nav a:hover { color: var(--text); }
.nav .nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  font-size: 14px;
}
.nav .nav-cta:hover { color: var(--bg); opacity: .85; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .2s, box-shadow .2s, opacity .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-disabled { opacity: .45; cursor: default; }
.btn-disabled:hover { transform: none; box-shadow: none; }
.btn svg { width: 16px; height: 16px; }

/* ───────── Hero ───────── */
.hero { padding: 140px 0 120px; position: relative; }

.hero-main {
  position: relative;
  min-height: min(100vh, 920px);
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .5;
  animation: float 18s ease-in-out infinite;
}
.blob-1 { width: 520px; height: 520px; background: var(--accent); top: -120px; right: -80px; }
.blob-2 { width: 420px; height: 420px; background: var(--accent-2); top: 240px; right: 280px; animation-delay: -6s; opacity: .35; }
.blob-3 { width: 360px; height: 360px; background: var(--accent-3); bottom: -160px; left: -120px; animation-delay: -12s; opacity: .25; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 20px) scale(.95); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sub);
  margin-bottom: 28px;
}
.badge .pulse {
  width: 8px;
  height: 8px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-3) 60%, transparent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1, .hero-main h1 {
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.045em;
  margin-bottom: 28px;
}

.lead {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-sub);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.75;
}

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

/* Hero visual: device mockups built in CSS */
.hero-visual {
  position: relative;
  height: 520px;
}
.mock-browser {
  position: absolute;
  top: 30px;
  left: 0;
  width: 88%;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-8deg) rotateX(4deg);
  animation: bob 7s ease-in-out infinite;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.mock-bar i:nth-child(1) { background: #ff6159; }
.mock-bar i:nth-child(2) { background: #ffbd2e; }
.mock-bar i:nth-child(3) { background: #28c941; }
.mock-url {
  margin-left: 12px;
  flex: 1;
  height: 22px;
  border-radius: 6px;
  background: var(--bg-alt);
}
.mock-body { padding: 22px; display: grid; gap: 14px; }
.mock-hero {
  height: 120px;
  border-radius: 12px;
  background: var(--grad);
  position: relative;
  overflow: hidden;
}
.mock-hero::after {
  content: "";
  position: absolute;
  left: 20px;
  bottom: 20px;
  width: 45%;
  height: 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 -22px 0 -2px rgba(255, 255, 255, .45);
}
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-tile {
  height: 86px;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  position: relative;
}
.mock-tile::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
}
.mock-tile:nth-child(2)::before { background: color-mix(in srgb, var(--accent-2) 25%, transparent); }
.mock-tile:nth-child(3)::before { background: color-mix(in srgb, var(--accent-3) 30%, transparent); }
.mock-tile::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 30%;
  bottom: 16px;
  height: 8px;
  border-radius: 4px;
  background: var(--border-strong);
}
.mock-line { height: 10px; border-radius: 5px; background: var(--bg-alt); }
.mock-line.short { width: 60%; }

.mock-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 210px;
  height: 420px;
  border-radius: 36px;
  padding: 10px;
  background: #0b0d12;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .08);
  animation: bob 7s ease-in-out infinite;
  animation-delay: -3.5s;
}
.mock-screen {
  height: 100%;
  border-radius: 28px;
  background: var(--surface);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.mock-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 20px;
  border-radius: 12px;
  background: #0b0d12;
  z-index: 2;
}
.mock-map {
  height: 52%;
  position: relative;
  background:
    radial-gradient(circle at 30% 40%, color-mix(in srgb, var(--accent-3) 35%, transparent) 0 18%, transparent 19%),
    radial-gradient(circle at 75% 70%, color-mix(in srgb, var(--accent) 25%, transparent) 0 22%, transparent 23%),
    linear-gradient(135deg, var(--bg-alt), color-mix(in srgb, var(--accent) 10%, var(--bg-alt)));
}
.mock-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 47%, var(--surface) 47% 50%, transparent 50%),
    linear-gradient(20deg, transparent 60%, var(--surface) 60% 62%, transparent 62%);
  opacity: .8;
}
.mock-pin {
  position: absolute;
  top: 42%;
  left: 48%;
  width: 26px;
  height: 26px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--grad);
  box-shadow: 0 6px 16px -4px color-mix(in srgb, var(--accent) 80%, transparent);
}
.mock-pin::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #fff;
}
.mock-list { padding: 16px 14px; display: grid; gap: 12px; }
.mock-item { display: flex; align-items: center; gap: 10px; }
.mock-item b {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--bg-alt);
}
.mock-item:nth-child(1) b { background: color-mix(in srgb, var(--accent) 25%, transparent); }
.mock-item:nth-child(2) b { background: color-mix(in srgb, var(--accent-2) 25%, transparent); }
.mock-item:nth-child(3) b { background: color-mix(in srgb, var(--accent-3) 30%, transparent); }
.mock-item span { flex: 1; display: grid; gap: 6px; }
.mock-item span::before, .mock-item span::after {
  content: "";
  height: 7px;
  border-radius: 4px;
  background: var(--border-strong);
}
.mock-item span::after { width: 55%; background: var(--border); }

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 600;
  animation: bob 6s ease-in-out infinite;
}
.chip i {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 12px;
  color: #fff;
}
.chip-1 { top: 0; right: 12%; animation-delay: -2s; }
.chip-1 i { background: var(--accent-3); }
.chip-2 { bottom: 60px; left: -20px; animation-delay: -4s; }
.chip-2 i { background: var(--accent); }

@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

/* ───────── Marquee ───────── */
.marquee {
  border-block: 1px solid var(--border);
  padding: 22px 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-faint);
  white-space: nowrap;
}
.marquee-track span::after {
  content: "✦";
  font-size: 14px;
  color: var(--accent);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── Sections ───────── */
.section { padding: 140px 0; position: relative; }
.section-alt { background: var(--bg-alt); }

.section-head { margin-bottom: 64px; max-width: 680px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.section-desc {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--text-sub);
  line-height: 1.75;
}

/* About */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}
.about-split .section-title { margin-bottom: 0; }
.about-split p { color: var(--text-sub); font-size: 17px; line-height: 1.85; }
.about-split p + p { margin-top: 16px; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card {
  padding: 36px 32px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .3s, border-color .3s;
}
.value-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--accent) 70%, transparent);
}
.value-card:nth-child(2) .value-icon { background: var(--accent-2); box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--accent-2) 70%, transparent); }
.value-card:nth-child(3) .value-icon { background: var(--accent-3); box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--accent-3) 70%, transparent); }
.value-icon svg { width: 24px; height: 24px; }
.value-card .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.value-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; margin: 6px 0 12px; }
.value-card p { color: var(--text-sub); }

/* Legacy about grid (app pages) */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.about-item .num {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}
.about-item h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.about-item p { color: var(--text-sub); }

/* Business bento */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bento-card {
  position: relative;
  padding: 40px 36px;
  min-height: 300px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .3s;
}
.bento-card:hover { transform: translateY(-4px); }
.bento-card.wide { grid-column: span 2; }
.bento-card .tag {
  position: absolute;
  top: 32px;
  left: 36px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}
.bento-card h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.035em; margin-bottom: 10px; position: relative; }
.bento-card p { color: var(--text-sub); max-width: 420px; position: relative; }

.bento-card.dark {
  background: #0b0d12;
  color: #f2f4f8;
  border-color: rgba(255, 255, 255, .08);
}
.bento-card.dark p { color: #9198a8; }
.bento-card.dark .tag { background: rgba(255, 255, 255, .1); color: #fff; }
.bento-card.dark::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -160px;
  border-radius: 50%;
  background: var(--grad);
  filter: blur(70px);
  opacity: .55;
}

.bento-card.gradient {
  background: var(--grad);
  color: #fff;
  border: none;
}
.bento-card.gradient p { color: rgba(255, 255, 255, .82); }
.bento-card.gradient .tag { background: rgba(255, 255, 255, .2); color: #fff; }

/* Bento visuals */
.bento-phones {
  position: absolute;
  right: 36px;
  top: 36px;
  display: flex;
  gap: 14px;
  transform: rotate(-8deg);
}
.bento-phones div {
  width: 92px;
  height: 180px;
  border-radius: 20px;
  background: var(--bg-alt);
  border: 4px solid var(--text);
  position: relative;
  overflow: hidden;
}
.bento-phones div::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 14px;
  height: 60px;
  border-radius: 10px;
  background: var(--grad);
  opacity: .85;
}
.bento-phones div::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 20px;
  top: 86px;
  height: 8px;
  border-radius: 4px;
  background: var(--border-strong);
  box-shadow: 0 16px 0 var(--border-strong), 0 32px 0 var(--border);
}
.bento-phones div:nth-child(2) { margin-top: 30px; }
.bento-phones div:nth-child(2)::before { background: linear-gradient(135deg, var(--accent-3), var(--accent)); }

.bento-code {
  position: absolute;
  right: 28px;
  top: 76px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-faint);
  text-align: right;
}
.bento-code b { color: var(--accent-2); font-weight: 500; }

.bento-rings {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  box-shadow: 0 0 0 30px rgba(255, 255, 255, .06), 0 0 0 60px rgba(255, 255, 255, .04);
}

.bento-stats {
  position: absolute;
  top: 40px;
  right: 40px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 120px;
}
.bento-stats i {
  width: 22px;
  border-radius: 6px 6px 2px 2px;
  background: rgba(255, 255, 255, .18);
}
.bento-stats i:last-child { background: var(--grad); }

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  counter-reset: step;
}
.process::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  opacity: .4;
}
.step { position: relative; padding-right: 12px; }
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 28px;
  position: relative;
  box-shadow: var(--shadow);
}
.step-num::after {
  counter-increment: step;
  content: "0" counter(step);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 8px; }
.step p { color: var(--text-sub); font-size: 15px; }

/* Overview */
.overview-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.overview-wrap .section-head { margin-bottom: 0; position: sticky; top: 120px; }
.overview {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 8px 36px;
}
.overview > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.overview > div:last-child { border-bottom: none; }
.overview dt { font-weight: 600; color: var(--text-faint); font-size: 15px; }
.overview dd { font-weight: 600; font-size: 16px; }
.overview a { color: var(--accent); }

/* CTA */
.cta {
  position: relative;
  border-radius: 36px;
  padding: 100px 48px;
  text-align: center;
  overflow: hidden;
  background: #0b0d12;
  color: #fff;
  isolation: isolate;
}
.cta::before, .cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -1;
}
.cta::before { width: 500px; height: 500px; background: var(--accent); left: -120px; top: -200px; opacity: .6; }
.cta::after { width: 460px; height: 460px; background: var(--accent-2); right: -100px; bottom: -220px; opacity: .55; }
.cta .eyebrow { color: rgba(255, 255, 255, .7); }
.cta h2 {
  font-size: clamp(32px, 4.8vw, 56px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.cta p { color: rgba(255, 255, 255, .7); margin-bottom: 40px; font-size: 17px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta .btn { background: #fff; color: #0b0d12; }
.cta .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .2); cursor: pointer; font-family: inherit; }

/* Legacy (legal/app pages) */
.contact p { color: var(--text-sub); margin-bottom: 16px; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* ───────── Footer ───────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
  font-size: 13px;
  color: var(--text-sub);
  overflow: hidden;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 28px;
  color: var(--text);
}
.footer-brand p { color: var(--text-sub); margin-top: 12px; font-size: 14px; }
.footer-links { display: flex; gap: 24px; color: var(--text-sub); font-size: 14px; }
.footer-links a:hover { color: var(--text); }

.biz-info {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin-bottom: 10px;
}
.biz-info li:not(:last-child)::after {
  content: "|";
  margin: 0 12px;
  color: var(--border-strong);
}
.copyright { padding-bottom: 48px; color: var(--text-faint); }

.footer-word {
  font-size: clamp(64px, 17vw, 220px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: .8;
  text-align: center;
  margin-bottom: -0.12em;
  background: linear-gradient(180deg, var(--border-strong), transparent 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}

/* ───────── Legal pages ───────── */
.legal { padding: 80px 24px 100px; max-width: 760px; }
.legal h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.035em; margin-bottom: 8px; }
.legal .updated { color: var(--text-sub); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 19px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--text-sub); }
.legal ul { padding-left: 20px; }
.legal li + li { margin-top: 4px; }

.table-wrap { overflow-x: auto; margin: 12px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.legal th { color: var(--text); font-weight: 600; background: var(--bg-alt); }
.legal td { color: var(--text-sub); }
.legal ul ul { margin-top: 6px; }
.legal a { color: var(--accent); word-break: break-all; }
.legal strong { color: var(--text); }

/* App page */
.app-hero { padding-top: 100px; }
.app-icon {
  display: block;
  border-radius: 22px;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
}

/* ───────── Reveal on scroll ───────── */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ───────── Responsive ───────── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 440px; max-width: 560px; }
  .about-split, .overview-wrap { grid-template-columns: 1fr; gap: 32px; }
  .overview-wrap .section-head { position: static; }
  .value-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento-card.wide { grid-column: auto; }
  .process { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .process::before { display: none; }
}

@media (max-width: 720px) {
  .nav { gap: 18px; }
  .nav a:not(.nav-contact):not(.nav-cta) { display: none; }
  .nav .nav-contact { background: var(--text); color: var(--bg); font-weight: 600; font-size: 14px; }
  .hero-main { padding: 120px 0 72px; min-height: auto; }
  .hero { padding: 96px 0 80px; }
  .section { padding: 96px 0; }
  .section-head { margin-bottom: 44px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-split { margin-bottom: 48px; }
  .hero-visual { height: 380px; }
  .mock-phone { width: 160px; height: 320px; border-radius: 28px; }
  .mock-screen { border-radius: 20px; }
  .chip-2 { left: 0; bottom: 20px; }
  .bento-card { min-height: 280px; padding: 32px 28px; }
  .bento-card .tag { top: 28px; left: 28px; }
  .bento-card:has(.bento-phones) { min-height: 380px; }
  .bento-phones { right: 20px; top: 20px; transform: rotate(-8deg) scale(.62); transform-origin: top right; }
  .bento-code { display: none; }
  .overview { padding: 4px 24px; }
  .overview > div { grid-template-columns: 88px 1fr; padding: 18px 0; }
  .cta { padding: 72px 24px; border-radius: 28px; }
  .footer-top { flex-direction: column; }
  .process { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .mock-browser { width: 100%; }
  .mock-phone { width: 130px; height: 270px; }
  .chip-1 { right: 0; }
}

/* Process details */
.step p { line-height: 1.75; }
.step-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
.step-tags li {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-sub);
}
.process { gap: 28px; }

/* Founding story */
.story { margin-top: 8px; }
.story p {
  color: var(--text-sub);
  font-size: 16px;
  line-height: 1.85;
}
.story p:first-child {
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.6;
  letter-spacing: -0.02em;
}
.story p + p { margin-top: 16px; }
.story .sign {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 15px;
}
.story .sign strong { color: var(--text); margin-left: 6px; }
.overview-wrap .section-head { max-width: none; }
.overview-wrap .section-title { margin-bottom: 24px; }
.overview-wrap { align-items: center; }
.overview-wrap .section-head { position: static; }
