/* mBox Click — landing page styles */

:root {
  --container: 1180px;
  --bg: #0a0a0a;
  --bg-elev: #111113;
  --bg-card: #131316;
  --bg-soft: #18181b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --fg: #ededee;
  --fg-dim: #a1a1aa;
  --fg-mute: #71717a;
  --fg-faint: #52525b;
  --accent: #6366f1;
  --accent-soft: rgba(99, 102, 241, 0.15);
  --accent-line: rgba(99, 102, 241, 0.35);
  --accent-glow: rgba(99, 102, 241, 0.45);
  --green: #22c55e;
  --amber: #f59e0b;
  --red: #ef4444;
  --sky: #38bdf8;
  --pink: #ec4899;

  --font-sans: 'Pretendard', 'Pretendard Variable', ui-sans-serif, system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
}

[data-theme="light"] {
  --bg: #fafaf9;
  --bg-elev: #ffffff;
  --bg-card: #ffffff;
  --bg-soft: #f4f4f5;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.14);
  --fg: #0a0a0a;
  --fg-dim: #3f3f46;
  --fg-mute: #71717a;
  --fg-faint: #a1a1aa;
  --accent-soft: rgba(99, 102, 241, 0.10);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "ss02", "cv01", "cv02";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.011em;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.mono { font-family: var(--font-mono); font-feature-settings: "calt" 0; letter-spacing: 0; }
.dim { color: var(--fg-dim); }
.mute { color: var(--fg-mute); }
.faint { color: var(--fg-faint); }

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

/* ── nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex; align-items: center; gap: 28px;
  height: 60px;
}
.brand {
  display: flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 15px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-mark {
  width: 22px; height: 22px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, var(--accent), color-mix(in oklab, var(--accent) 60%, #fff));
  position: relative;
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--accent) 50%, transparent),
              0 6px 18px -8px var(--accent-glow);
}
.brand-mark::after {
  content: "";
  position: absolute; inset: 5px 4px 4px 4px;
  border-radius: 2px;
  border: 1.5px solid rgba(255,255,255,0.95);
  border-bottom: none;
  border-left-width: 1.5px;
  border-right-width: 1.5px;
}
.brand-mark::before {
  content: "";
  position: absolute; left: 4px; right: 4px; top: 7px;
  height: 6px;
  border-top: 1.5px solid rgba(255,255,255,0.95);
  border-left: 1.5px solid rgba(255,255,255,0.95);
  border-right: 1.5px solid rgba(255,255,255,0.95);
  transform: skewY(-12deg);
  transform-origin: top;
}
.nav-links {
  display: flex; gap: 20px;
  font-size: 13.5px; color: var(--fg-dim);
}
@media (max-width: 920px) { .nav-links { gap: 14px; font-size: 13px; } }
.nav-links a:hover { color: var(--fg); }
.nav-spacer { flex: 1; }
.nav-cta {
  display: flex; gap: 10px; align-items: center;
}

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 38px; padding: 0 16px;
  border-radius: 8px;
  font-size: 13.5px; font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.05s;
  white-space: nowrap;
}
.btn:active { transform: translateY(0.5px); }
.btn-primary {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.btn-primary:hover { background: color-mix(in oklab, var(--fg) 85%, var(--accent)); }
.btn-accent {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px color-mix(in oklab, var(--accent) 30%, transparent),
              0 8px 24px -10px var(--accent-glow);
}
.btn-accent:hover { background: color-mix(in oklab, var(--accent) 88%, white); }
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--bg-soft); border-color: var(--line-strong); }
.btn-quiet {
  background: transparent;
  color: var(--fg-dim);
  border-color: transparent;
  height: 32px; padding: 0 10px;
  font-size: 13px;
}
.btn-quiet:hover { color: var(--fg); }
.btn-sm { height: 30px; padding: 0 12px; font-size: 12.5px; border-radius: 6px; }
.btn-lg { height: 44px; padding: 0 20px; font-size: 14.5px; }

/* ── section scaffolding ── */
section { position: relative; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  white-space: nowrap;
}
.section-eyebrow::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--accent);
}
.section-title {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 18px;
  text-wrap: balance;
}
.section-sub {
  font-size: 16px;
  color: var(--fg-dim);
  max-width: 580px;
  line-height: 1.55;
  text-wrap: pretty;
}

.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ── badges / chips ── */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 9px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0;
}
.chip .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ── hero ── */
.hero {
  position: relative;
  padding: 56px 0 48px;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center center;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 75%);
  pointer-events: none;
  opacity: 0.7;
}
.hero-glow {
  position: absolute;
  top: -180px; left: 50%;
  width: 900px; height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--accent-glow), transparent 70%);
  opacity: 0.18;
  pointer-events: none;
  filter: blur(20px);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
@media (min-width: 880px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; }
}

.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 28px; padding: 0 6px 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 12.5px;
  color: var(--fg-dim);
  margin-bottom: 22px;
}
.hero-pill .tag {
  display: inline-flex; align-items: center; gap: 5px;
  height: 20px; padding: 0 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-pill .tag .dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  letter-spacing: -0.034em;
  line-height: 1.04;
  margin: 0 0 22px;
  text-wrap: balance;
}
.hero-headline .accent {
  background: linear-gradient(180deg, var(--fg) 50%, var(--accent));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 17px;
  color: var(--fg-dim);
  line-height: 1.55;
  max-width: 540px;
  margin: 0 0 30px;
  text-wrap: pretty;
}
.hero-sub b {
  font-weight: 600;
  color: var(--fg);
}
.hero-cta {
  display: flex; gap: 10px; align-items: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-meta {
  display: flex; gap: 22px;
  font-size: 12.5px;
  color: var(--fg-mute);
  font-family: var(--font-mono);
  flex-wrap: wrap;
}
.hero-meta .check {
  display: inline-flex; align-items: center; gap: 6px;
}
.hero-meta .check::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

/* ── dashboard mock (in hero) ── */
.dash {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--bg-card) 90%, var(--accent) 6%), var(--bg-card));
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 30px 60px -30px rgba(0,0,0,0.6),
    0 0 0 1px var(--line) inset;
  overflow: hidden;
}
.dash-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.dash-chrome .dots {
  display: flex; gap: 6px;
}
.dash-chrome .dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line-strong);
}
.dash-chrome .url {
  flex: 1;
  display: flex; justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-mute);
}
.dash-chrome .url span {
  padding: 3px 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.dash-body { padding: 18px; }

.dash-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.dash-title {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.dash-title small {
  display: block;
  font-size: 11px;
  color: var(--fg-mute);
  font-weight: 400;
  margin-top: 2px;
  font-family: var(--font-mono);
}
.dash-tabs {
  display: flex; gap: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px;
  font-size: 11.5px;
  color: var(--fg-mute);
}
.dash-tabs button {
  background: transparent; border: none; color: inherit;
  padding: 4px 10px;
  border-radius: 5px;
  font-family: inherit;
  cursor: pointer;
}
.dash-tabs button.active {
  background: var(--bg-soft);
  color: var(--fg);
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.kpi {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  position: relative;
  overflow: hidden;
}
.kpi-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-mute);
  margin-bottom: 4px;
}
.kpi-value {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.kpi-delta {
  font-family: var(--font-mono);
  font-size: 10px;
  margin-top: 3px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.kpi-delta.up { color: var(--green); }
.kpi-delta.down { color: var(--red); }
.kpi-spark {
  position: absolute;
  bottom: 6px; right: 8px;
  width: 38px; height: 16px;
}

.dash-chart {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 12px;
}
.dash-chart-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.dash-chart-head h4 {
  font-size: 12.5px; margin: 0; font-weight: 500;
}
.dash-chart-head .legend {
  display: flex; gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-mute);
}
.dash-chart-head .legend span {
  display: inline-flex; align-items: center; gap: 5px;
}
.dash-chart-head .legend i {
  width: 8px; height: 8px; border-radius: 2px; display: inline-block;
}

.dash-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 10px;
}
.donut-wrap {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.donut-wrap h4 {
  font-size: 11.5px; margin: 0 0 8px;
  font-weight: 500;
}
.donut-legend {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 10px;
  display: grid;
  gap: 5px;
}
.donut-legend .row {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 6px;
  align-items: center;
}
.donut-legend i {
  width: 8px; height: 8px; border-radius: 2px;
}

/* notification toast inside dashboard */
.dash-toast {
  position: absolute;
  right: 12px; top: 60px;
  background: var(--bg-card);
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  padding: 9px 11px 9px 32px;
  font-size: 11.5px;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.5);
  width: 220px;
  animation: toastIn 6s ease-in-out infinite;
}
.dash-toast::before {
  content: "✉";
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 4px;
  display: grid; place-items: center;
  font-size: 10px;
}
.dash-toast .t { font-weight: 500; }
.dash-toast .s { color: var(--fg-mute); font-family: var(--font-mono); font-size: 10px; }
@keyframes toastIn {
  0%, 8% { opacity: 0; transform: translateY(-6px); }
  10%, 30% { opacity: 1; transform: translateY(0); }
  35%, 100% { opacity: 0; transform: translateY(-6px); }
}

/* ── logo cloud ── */
.logo-cloud {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
}
.logo-cloud-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-bottom: 22px;
}
.logo-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 28px;
  align-items: center;
}
@media (max-width: 900px) {
  .logo-row { grid-template-columns: repeat(4, 1fr); gap: 22px 16px; }
}
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--fg-mute);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity: 0.85;
  transition: color 0.15s, opacity 0.15s;
  white-space: nowrap;
}
.logo:hover { color: var(--fg-dim); opacity: 1; }
.logo svg { flex-shrink: 0; }

/* ── value props (3-col features) ── */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 56px;
}
@media (max-width: 880px) { .values { grid-template-columns: 1fr; } }
.value-card {
  background: var(--bg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.value-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  display: grid; place-items: center;
}
.value-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: 0.08em;
}
.value-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.016em;
  margin: 0;
}
.value-desc {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}

/* ── product tour ── */
.tour-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.tour-item:last-child { border-bottom: none; }
@media (min-width: 860px) {
  .tour-item { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; }
  .tour-item.reverse > .tour-text { order: 2; }
}
.tour-route {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tour-route::before {
  content: "→";
  color: var(--fg-mute);
}
.tour-title {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.024em;
  line-height: 1.15;
  margin: 0 0 14px;
}
.tour-desc {
  font-size: 15.5px;
  color: var(--fg-dim);
  line-height: 1.6;
  margin: 0 0 22px;
  text-wrap: pretty;
}
.tour-list {
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--fg-dim);
}
.tour-list .item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  line-height: 1.5;
}
.tour-list .item::before {
  content: "";
  width: 14px; height: 14px;
  margin-top: 4px;
  border-radius: 4px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  position: relative;
}
.tour-list .item b { color: var(--fg); font-weight: 500; }

.tour-visual {
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--bg-card);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 28px 50px -28px rgba(0,0,0,0.55);
}

/* ── differentiation table ── */
.diff-wrap {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
  margin-top: 48px;
}
.diff-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.diff-row:first-child { border-top: none; }
.diff-row > div {
  padding: 18px 22px;
}
.diff-row .head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.diff-row.header > div {
  background: var(--bg-soft);
  font-weight: 600;
  font-size: 13px;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.diff-row.header > div.us {
  color: var(--accent);
  background: var(--accent-soft);
}
.diff-row > div.them { color: var(--fg-mute); }
.diff-row > div.us {
  background: color-mix(in oklab, var(--accent-soft) 50%, transparent);
  color: var(--fg);
  position: relative;
}
.diff-row > div.us::before {
  content: "✓";
  display: inline-block;
  margin-right: 8px;
  color: var(--accent);
  font-weight: 700;
}

/* ── integrations diagram ── */
.integ {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 56px;
}
@media (min-width: 860px) { .integ { grid-template-columns: 1.05fr 1fr; gap: 32px; } }
.integ-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 26px;
}
.integ-card h3 {
  font-size: 17px;
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}
.integ-card .sub {
  font-size: 13.5px;
  color: var(--fg-dim);
  margin: 0 0 20px;
}

.flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.flow-step {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 12px;
  padding: 10px 4px;
  align-items: center;
  border-bottom: 1px dashed var(--line);
}
.flow-step:last-child { border-bottom: none; }
.flow-step .n {
  width: 20px; height: 20px;
  border-radius: 5px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  font-size: 10px;
  font-weight: 700;
  border: 1px solid var(--accent-line);
}
.flow-step .label { color: var(--fg); font-family: var(--font-sans); font-size: 13px; font-weight: 500; }
.flow-step .desc { display: block; color: var(--fg-mute); font-size: 11px; margin-top: 2px; }
.flow-step .meta { color: var(--fg-mute); font-size: 10.5px; }

.code-block {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.65;
  overflow-x: auto;
  color: var(--fg-dim);
}
.code-block .k { color: var(--accent); }
.code-block .s { color: var(--green); }
.code-block .c { color: var(--fg-faint); font-style: italic; }
.code-block .n { color: var(--sky); }
.code-block .p { color: var(--fg); font-weight: 500; }

/* ── security trust grid ── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 48px;
}
@media (max-width: 1000px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
.trust-item {
  background: var(--bg);
  padding: 22px 20px;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 120px;
}
.trust-item .ico {
  width: 28px; height: 28px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 4px;
}
.trust-item h4 { font-size: 13.5px; margin: 0; font-weight: 600; letter-spacing: -0.012em; }
.trust-item p { font-size: 12.5px; margin: 0; color: var(--fg-mute); line-height: 1.5; }

/* ── pricing ── */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.plan {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-card);
  padding: 28px 26px;
  display: flex; flex-direction: column;
}
.plan.featured {
  border-color: var(--accent-line);
  background:
    linear-gradient(180deg, color-mix(in oklab, var(--accent-soft) 90%, var(--bg-card)), var(--bg-card) 60%);
  box-shadow: 0 0 0 1px var(--accent-line),
              0 30px 60px -30px var(--accent-glow);
  position: relative;
}
.plan-name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.plan.featured .plan-name { color: var(--accent); }
.plan-price {
  margin: 14px 0 4px;
  display: flex; align-items: baseline; gap: 6px;
}
.plan-price .num {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.plan-price .unit { color: var(--fg-mute); font-size: 13px; }
.plan-tag {
  font-size: 13px; color: var(--fg-dim); margin: 0 0 22px;
}
.plan-cta {
  margin-bottom: 22px;
}
.plan-features {
  list-style: none;
  padding: 0; margin: 0;
  display: grid; gap: 10px;
  font-size: 13px;
  color: var(--fg-dim);
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.plan-features li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: start;
  line-height: 1.5;
}
.plan-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  font-size: 11px;
  margin-top: 2px;
}
.plan-features li.disabled {
  color: var(--fg-faint);
  text-decoration: line-through;
}
.plan-features li.disabled::before {
  content: "—";
  color: var(--fg-faint);
}
.plan-features li b { font-weight: 500; color: var(--fg); }

.plan-badge {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--bg-card);
  border: 1px solid var(--accent-line);
  padding: 3px 8px;
  border-radius: 999px;
}

/* ── faq ── */
.faq-list {
  max-width: 780px;
  margin: 48px auto 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-card);
  overflow: hidden;
}
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:first-child { border-top: none; }
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  color: inherit;
  text-align: left;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.012em;
  font-family: inherit;
}
.faq-q:hover { background: var(--bg-soft); }
.faq-q .plus {
  width: 22px; height: 22px;
  border-radius: 6px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--fg-dim);
  font-size: 12px;
  flex-shrink: 0;
  transition: transform 0.2s, background 0.15s, color 0.15s;
}
.faq-item.open .faq-q .plus {
  transform: rotate(45deg);
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent-line);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.faq-item.open .faq-a { max-height: 320px; }
.faq-a-inner {
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--fg-dim);
  line-height: 1.6;
  text-wrap: pretty;
}

/* ── final cta ── */
.final-cta {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 60px 40px;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, var(--accent-soft) 0%, transparent 60%),
    var(--bg-card);
  text-align: center;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, transparent 30%, black 80%);
          mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, transparent 30%, black 80%);
  opacity: 0.5;
  pointer-events: none;
}
.final-cta > * { position: relative; }
.final-cta h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 14px;
  text-wrap: balance;
}
.final-cta p {
  font-size: 16px;
  color: var(--fg-dim);
  margin: 0 0 28px;
}
.final-cta .actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* ── footer ── */
footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 36px;
  margin-top: 96px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.footer-brand .desc {
  font-size: 13px;
  color: var(--fg-mute);
  margin: 14px 0 0;
  max-width: 240px;
  line-height: 1.55;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin: 0 0 14px;
  font-weight: 500;
}
.footer-col ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 9px;
  font-size: 13.5px;
  color: var(--fg-dim);
}
.footer-col a:hover { color: var(--fg); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 12.5px;
  color: var(--fg-mute);
  font-family: var(--font-mono);
}

/* ── small UI atoms used in product tour mocks ── */
.ui-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
.ui-row:last-child { border-bottom: none; }
.ui-row.head {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
  background: var(--bg-soft);
}
.ui-row .check {
  width: 14px; height: 14px;
  border: 1px solid var(--line-strong); border-radius: 3px;
}
.ui-row.unread .subj { font-weight: 600; color: var(--fg); }
.ui-row.unread::before {
  content: "";
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 60%;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
}
.ui-row { position: relative; }
.ui-row .subj { color: var(--fg-dim); }
.ui-row .from { color: var(--fg-mute); font-family: var(--font-mono); font-size: 11px; }

.status {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--fg-dim);
  text-transform: uppercase;
}
.status.unread { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }
.status.in_progress { background: rgba(245, 158, 11, 0.12); color: var(--amber); border-color: rgba(245, 158, 11, 0.3); }
.status.resolved { background: rgba(34, 197, 94, 0.12); color: var(--green); border-color: rgba(34, 197, 94, 0.3); }
.status.urgent { background: rgba(239, 68, 68, 0.12); color: var(--red); border-color: rgba(239, 68, 68, 0.3); }
.status.high { background: rgba(245, 158, 11, 0.12); color: var(--amber); border-color: rgba(245, 158, 11, 0.3); }
.status.normal { color: var(--fg-mute); }

/* sla widget */
.sla-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.sla-bar:last-child { border-bottom: none; }
.sla-bar .name { font-size: 12.5px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sla-bar .pct {
  width: 110px;
  height: 6px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.sla-bar .pct i {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--accent);
  border-radius: 999px;
}
.sla-bar.warn .pct i { background: var(--amber); }
.sla-bar.bad .pct i { background: var(--red); }
.sla-bar .v { font-family: var(--font-mono); font-size: 11px; width: 38px; text-align: right; }

/* webhook row */
.wh-row {
  display: grid;
  grid-template-columns: 8px 1fr auto auto;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  font-size: 12px;
}
.wh-row:last-child { border-bottom: none; }
.wh-row .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.wh-row.fail .dot { background: var(--red); }
.wh-row .url { font-family: var(--font-mono); font-size: 11px; color: var(--fg-dim); }
.wh-row .code { font-family: var(--font-mono); font-size: 11px; color: var(--green); }
.wh-row.fail .code { color: var(--red); }
.wh-row .ts { font-family: var(--font-mono); font-size: 10.5px; color: var(--fg-mute); }

/* shimmer for animated values */
@keyframes shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: 200px 0; }
}

/* hide nav links on small screens */
@media (max-width: 760px) {
  .nav-links { display: none; }
  .hero-meta { flex-wrap: wrap; gap: 12px; }
}
