/* Pexalink landing — Precision Modern light theme (DESIGN.md) */

:root {
  --px-primary: #4F46E5;
  --px-primary-hover: #4338CA;
  --px-primary-light: #EEF2FF;
  --px-indigo-950: #1E1B4B;
  --px-focus: #6366F1;
  --px-blue: #3B82F6;
  --px-success: #10B981;
  --px-warning: #F59E0B;
  --px-canvas: #F8FAFC;
  --px-white: #FFFFFF;
  --px-slate-100: #F1F5F9;
  --px-slate-200: #E2E8F0;
  --px-slate-400: #94A3B8;
  --px-slate-600: #475569;
  --px-slate-800: #1E293B;
  --px-slate-900: #0F172A;
  --px-font: "Plus Jakarta Sans", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --px-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --px-shadow-card: 0 1px 3px 0 rgba(15, 23, 42, 0.05), 0 1px 2px -1px rgba(15, 23, 42, 0.05);
  --px-shadow-mock: 0 20px 40px -15px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.06);
  --px-shadow-float: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  --color-primary: #4F46E5;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
html.is-snap { scroll-snap-type: y mandatory; }
body {
  font-family: var(--px-font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--px-slate-800);
  background: var(--px-canvas);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--px-focus); outline-offset: 3px; }

.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 80px 0; }
@media (min-width: 768px) {
  .section { padding: 112px 0; }
}

/* ── Nav ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.nav-inner {
  width: min(1200px, calc(100% - 48px));
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img { width: 28px; height: 28px; object-fit: contain; }
.nav-logo:has(.logo-lockup) .logo-img { width: 32px; height: 32px; }
.logo-lockup {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 32px;
}
.logo-text {
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--px-slate-900);
}
.logo-tag {
  font-size: 9px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--px-slate-600);
  white-space: nowrap;
}
.logo-em { color: var(--px-primary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--px-slate-600);
}
.nav-links > li > a:hover { color: var(--px-slate-900); background: var(--px-slate-100); }
.nav-login { color: var(--px-slate-800) !important; font-weight: 600 !important; }
.nav-cta {
  margin-left: 8px;
  background: var(--px-primary) !important;
  color: #fff !important;
  font-weight: 600 !important;
  padding: 10px 16px !important;
  border-radius: 12px !important;
  box-shadow: var(--px-shadow-card);
}
.nav-cta:hover { background: var(--px-primary-hover) !important; }

.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--px-slate-200);
  border-radius: 12px;
  box-shadow: var(--px-shadow-mock);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.dropdown-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 8px;
}
.dropdown-item:hover { background: var(--px-slate-100); }
.dropdown-item strong { display: block; font-size: 14px; color: var(--px-slate-900); }
.dropdown-item span { display: block; font-size: 12px; color: var(--px-slate-600); margin-top: 2px; }
.di-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--px-primary-light);
  color: var(--px-primary);
}

.nav-hamburger {
  display: none;
  margin-left: auto;
  width: 40px; height: 40px;
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-hamburger span {
  display: block; width: 18px; height: 2px;
  background: var(--px-slate-800); border-radius: 1px;
}
.mobile-menu {
  display: none;
  position: absolute;
  left: 0; right: 0; top: 64px;
  background: #fff;
  border-bottom: 1px solid var(--px-slate-200);
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.mobile-menu.open { max-height: 420px; }
.mobile-menu a {
  display: block;
  padding: 12px 24px;
  font-weight: 600;
  color: var(--px-slate-800);
  border-top: 1px solid var(--px-slate-100);
}

/* ── Sections 1–3: one viewport each, on the same page scroll ── */
.deck {
  height: auto;
  overflow: visible;
}
.deck > .screen {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.deck > .screen.section {
  padding: 88px 0 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.deck > .hero {
  display: flex;
  flex-direction: column;
  padding: 128px 0 16px;
}
.deck > .hero .stage {
  flex: 1 1 auto;
  min-height: 0;
  margin: 20px auto 0;
}
.deck .mock-browser {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.deck .mock-shot {
  flex: 1 1 auto;
  min-height: 0;
  aspect-ratio: auto;
}
.deck .mock-phone {
  width: auto;
  height: min(420px, 78%);
  aspect-ratio: 9 / 19;
  bottom: 8px;
  right: 28px;
}
.deck .phone-screen {
  height: 100%;
  aspect-ratio: auto;
}
.deck .section-head { margin-bottom: 24px; }
.deck .flow-panel { padding: 32px 28px 24px; }
@media (prefers-reduced-motion: reduce) {
  html.is-snap { scroll-snap-type: none; }
  .deck > .screen { scroll-snap-align: none; scroll-snap-stop: normal; }
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 72px 0 40px;
  overflow: hidden;
  background-color: #fff;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero-copy { position: relative; max-width: 820px; margin: 0 auto; text-align: center; }
.hero h1 {
  margin-top: 0;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--px-slate-900);
}
.hero-lead {
  margin: 20px auto 0;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--px-slate-600);
}
.hero-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: background .2s, box-shadow .2s, border-color .2s;
}
.btn-primary {
  background: var(--px-primary);
  color: #fff;
  box-shadow: var(--px-shadow-card);
}
.btn-primary:hover { background: var(--px-primary-hover); }
.btn-secondary {
  background: #fff;
  color: var(--px-slate-800);
  border: 1px solid var(--px-slate-200);
}
.btn-secondary:hover { background: var(--px-slate-100); }
.btn-white { background: #fff; color: var(--px-primary); }
.btn-white:hover { background: var(--px-primary-light); }
.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.hero-notes {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--px-slate-600);
  font-size: 13px;
  font-weight: 600;
}
.hero-notes li { display: inline-flex; align-items: center; gap: 6px; }
.hero-notes svg { color: var(--px-primary); flex-shrink: 0; }
.store-link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--px-slate-600);
}
.store-link:hover { color: var(--px-slate-900); }
.store-link svg { flex-shrink: 0; }

/* ── Device placeholders ── */
.stage {
  position: relative;
  margin-top: 56px;
  margin-bottom: 36px;
}
.text-link { color: var(--px-primary); font-weight: 700; }
#how {
  background: #fff;
  border-top: 1px solid var(--px-slate-200);
  border-bottom: 1px solid var(--px-slate-200);
}
.stage-note {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--px-slate-400);
}
.mock-browser, .mock-phone { position: relative; }
.ph-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  font-family: var(--px-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--px-primary);
  background: var(--px-primary-light);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 999px;
  padding: 3px 8px;
}
.mock-browser {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--px-shadow-mock);
  overflow: hidden;
}
.mock-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 16px;
  background: var(--px-slate-100);
  border-bottom: 1px solid var(--px-slate-200);
}
.dots { display: flex; gap: 6px; }
.dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: #CBD5E1;
  display: block;
}
.mock-url {
  flex: 1;
  max-width: 280px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--px-mono);
  font-size: 12px;
  color: var(--px-slate-600);
  background: #fff;
  border: 1px solid var(--px-slate-200);
  border-radius: 999px;
  padding: 4px 12px;
}
.mock-shot {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #fff;
}
.mock-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.mock-side {
  padding: 20px 14px;
  border-right: 1px solid var(--px-slate-200);
  background: #fff;
}
.mock-side p {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--px-slate-400);
  margin-bottom: 10px;
}
.mock-side li {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--px-slate-600);
}
.mock-side li.on {
  background: var(--px-primary-light);
  color: var(--px-primary);
}
.mock-main { padding: 20px 250px 24px 22px; }
.mock-main h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--px-slate-900);
}
.mock-kicker {
  margin-top: 4px;
  font-size: 12px;
  color: var(--px-slate-400);
}
.log-list { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.log-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--px-slate-200);
  border-radius: 12px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--px-slate-800);
}
.log-row em {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 2px 8px;
  border-radius: 999px;
}
.em-ok { background: #ECFDF5; color: #047857; }
.em-wait { background: #FFFBEB; color: #B45309; }
.dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.dot-ok { background: var(--px-success); }
.dot-wait { background: var(--px-warning); }
.ai-ask {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(79, 70, 229, 0.08), rgba(59, 130, 246, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.18);
  font-size: 13px;
  font-weight: 600;
  color: var(--px-indigo-950);
}
.ai-ask span { color: var(--px-slate-600); font-weight: 500; }

.mock-phone {
  position: absolute;
  right: 36px;
  bottom: -24px;
  width: 220px;
  background: #94A3B8;
  border-radius: 14px;
  padding: 5px;
  box-shadow: var(--px-shadow-float);
}
.mock-phone .ph-badge { top: 22px; right: 18px; }
.phone-screen {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 9 / 19;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.phone-bar {
  width: 72px; height: 5px; border-radius: 999px;
  background: #E2E8F0;
  margin: -12px auto 14px;
}
.phone-screen h3 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--px-slate-900);
}
.phone-screen .sub { font-size: 11px; color: var(--px-slate-400); margin-top: 2px; }
.phone-item {
  margin-top: 10px;
  padding: 10px;
  border-radius: 12px;
  background: var(--px-slate-100);
}
.phone-item strong { display: block; font-size: 12px; color: var(--px-slate-900); }
.phone-item span { font-size: 11px; color: var(--px-slate-600); }
.phone-cta {
  margin-top: 14px;
  display: block;
  text-align: center;
  background: var(--px-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 12px;
  padding: 10px;
}

/* ── Steps ── */
.flow-panel {
  padding: 56px 40px 40px;
  border-radius: 24px;
  background:
    radial-gradient(120% 80% at 50% -20%, rgba(79, 70, 229, 0.16), transparent 55%),
    linear-gradient(180deg, #EEF2FF 0%, #F8FAFC 100%);
  border: 1px solid rgba(199, 210, 254, 0.95);
  box-shadow: 0 24px 48px -28px rgba(79, 70, 229, 0.45);
}
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--px-slate-900);
}
.section-head p {
  margin-top: 12px;
  font-size: 16px;
  color: var(--px-slate-600);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--px-shadow-card);
}
.step-no {
  font-family: var(--px-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--px-primary);
  letter-spacing: 0.04em;
}
.step h3 {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--px-slate-900);
}
.step p { margin-top: 8px; font-size: 15px; color: var(--px-slate-600); }
.aside-note {
  margin-top: 24px;
  padding: 20px 22px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--px-slate-200);
  color: var(--px-slate-600);
  font-size: 14px;
}
.aside-note p { margin: 0; }
.aside-note strong { color: var(--px-slate-900); }
.legal-flow {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  gap: 28px;
}
.legal-flow li {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 96px;
  padding: 16px 14px;
  border-radius: 14px;
  background: var(--px-slate-100);
  text-align: center;
}
.legal-flow li strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.legal-flow li span {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--px-slate-200);
  color: var(--px-slate-800);
  font-size: 12px;
  font-weight: 600;
}
.legal-flow li:nth-child(2) {
  flex: 1.35;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}
.legal-flow li:nth-child(2) strong { flex: 1 0 100%; }
.legal-flow li:last-child {
  background: var(--px-primary-light);
  border: 1px solid rgba(199, 210, 254, 0.95);
}
.legal-flow li:last-child strong { color: var(--px-indigo-950); }
.legal-flow li + li::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--px-primary);
  border-right: 2px solid var(--px-primary);
  transform: translateY(-50%) rotate(45deg);
}

/* ── Bento ── */
.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.bento-card {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--px-shadow-card);
}
.bento-card:hover { border-color: #C7D2FE; }
.bento-log { grid-column: 1 / span 1; }
.bento-ai { grid-column: 2 / span 2; }
.icon-badge {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--px-primary-light);
  color: var(--px-primary);
}
.bento-card h3 {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--px-slate-900);
}
.bento-card > p { margin-top: 8px; font-size: 14px; color: var(--px-slate-600); }
.mini {
  margin-top: 20px;
  padding: 14px;
  border-radius: 12px;
  background: var(--px-slate-100);
}
.mini-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--px-slate-800);
}
.mini-row + .mini-row { margin-top: 8px; }
.mini-row b {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--px-slate-400);
}
.chat-q, .chat-a {
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.5;
}
.chat-q { background: #fff; color: var(--px-slate-800); font-weight: 600; }

/* ── Sections 2–3: fixed dark, no theme switch ── */
.tone-dark {
  background: #0B1020;
  color: #E2E8F0;
  --px-primary-light: rgba(129, 140, 248, 0.18);
  --px-indigo-950: #E0E7FF;
  --px-slate-100: #1E293B;
  --px-slate-200: #334155;
  --px-slate-400: #94A3B8;
  --px-slate-600: #CBD5E1;
  --px-slate-800: #E2E8F0;
  --px-slate-900: #F8FAFC;
  --px-shadow-card: 0 1px 3px rgba(0, 0, 0, 0.35);
}
.tone-dark .flow-panel {
  background:
    radial-gradient(120% 80% at 50% -20%, rgba(129, 140, 248, 0.22), transparent 55%),
    linear-gradient(180deg, #1A2140 0%, #12182A 100%);
  border-color: rgba(129, 140, 248, 0.35);
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.55);
}
.tone-dark .step-no,
.tone-dark .icon-badge { color: #A5B4FC; }
.tone-dark .step,
.tone-dark .aside-note,
.tone-dark .bento-card {
  background: #151C2C;
  border-color: #334155;
}
.tone-dark .bento-card:hover { border-color: rgba(129, 140, 248, 0.55); }
.tone-dark .legal-flow li span,
.tone-dark .mini-row,
.tone-dark .chat-q {
  background: #243044;
  border-color: #334155;
  color: #E2E8F0;
}
.tone-dark .legal-flow li:last-child { border-color: rgba(129, 140, 248, 0.35); }
.chat-a {
  margin-top: 8px;
  background: var(--px-primary-light);
  color: var(--px-indigo-950);
}

/* ── How ── */
.how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.how article {
  padding: 8px 8px 0;
}
.how h3 {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--px-slate-900);
}
.how p { margin-top: 8px; color: var(--px-slate-600); font-size: 15px; }

/* ── CTA ── */
.cta-band { background: var(--px-primary); }
.cta-panel {
  text-align: center;
  padding: 8px 0;
  color: #fff;
}
.cta-panel h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.cta-panel p {
  margin: 12px auto 0;
  max-width: 520px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
}
.cta-actions { margin-top: 28px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── Footer ── */
#footer {
  padding: 64px 0 28px;
  background: #fff;
  border-top: 1px solid var(--px-slate-200);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
}
.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--px-slate-600);
  line-height: 1.6;
}
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--px-slate-200);
  border-radius: 10px;
  color: var(--px-slate-600);
}
.footer-social a:hover { color: var(--px-slate-900); background: var(--px-slate-100); }
.footer-links-group h5 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--px-slate-400);
  margin-bottom: 12px;
}
.footer-links-group li + li { margin-top: 8px; }
.footer-links-group a { font-size: 14px; color: var(--px-slate-600); }
.footer-links-group a:hover { color: var(--px-slate-900); }
.footer-bottom {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--px-slate-100);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--px-slate-400);
}

/* ── Agreement modal ── */
body.agreement-modal-open { overflow: hidden; }
.agreement-modal {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.agreement-modal[hidden] { display: none; }
.agreement-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, 0.55);
}
.agreement-modal-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(88vh, 900px);
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--px-shadow-float);
}
.agreement-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--px-slate-200);
}
.agreement-modal-header h2 { font-size: 18px; font-weight: 700; color: var(--px-slate-900); }
.agreement-modal-close {
  width: 36px; height: 36px;
  border-radius: 8px;
  font-size: 24px;
  color: var(--px-slate-600);
}
.agreement-modal-close:hover { background: var(--px-slate-100); }
.agreement-modal-body { overflow: auto; padding: 20px 24px 28px; color: var(--px-slate-800); }
.agreement-modal-markdown h1, .agreement-modal-markdown h2 { margin: 1.2em 0 .4em; font-size: 18px; }
.agreement-modal-markdown p, .agreement-modal-markdown li { margin: .4em 0; line-height: 1.6; font-size: 14px; }

@media (max-width: 1024px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-log, .bento-ai { grid-column: 1 / -1; }
  .mock-phone { width: 200px; right: 12px; }
}
@media (max-width: 768px) {
  .container, .nav-inner { width: min(1200px, calc(100% - 32px)); }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: block; }
  .steps, .how, .footer-top { grid-template-columns: 1fr; }
  .legal-flow { flex-direction: column; gap: 22px; }
  .legal-flow li + li::before {
    left: 50%;
    top: -16px;
    transform: translateX(-50%) rotate(135deg);
  }
  .stage { padding-bottom: 0; }
  .mock-phone {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(260px, 100%);
    margin: 20px auto 0;
  }
  .flow-panel { padding: 36px 18px 28px; }
  .deck > .hero { padding-top: 104px; }
}

/* Wide displays: keep the dashboard frame at a capped width, centered,
   and sized to the screenshot so the sides are not cropped. */
@media (min-width: 1600px) and (min-height: 1600px) {
  .deck > .hero {
    justify-content: center;
  }
  .deck > .hero .stage {
    align-self: center;
    flex: 0 0 auto;
    width: min(1080px, calc(100% - 48px));
    max-width: 1080px;
    margin: 28px auto 0;
  }
  .deck .mock-browser {
    width: 100%;
    height: auto;
    margin-inline: auto;
  }
  .deck .mock-shot {
    flex: none;
    width: 100%;
    height: auto;
    aspect-ratio: 1599 / 1359;
  }
  .deck .mock-shot img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }
  .deck .mock-phone {
    right: 28px;
  }
}
