/* ---------- Tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-tint: #f5f4ff;
  --ink: #0e0e10;
  --ink-2: #1a1a1f;
  --muted: #5b5b66;
  --muted-2: #8a8a96;
  --line: #e8e8ee;
  --line-2: #f0f0f4;
  --accent: #4F46E5;
  --accent-2: #6366F1;
  --accent-soft: #eeecff;
  --green: #10B981;
  --green-soft: #d4f5e6;
  --orange: #F59E0B;
  --orange-soft: #ffeccd;
  --teal: #2BA88E;
  --navy: #0F2A4A;

  --display-font: "Inter Tight", "Inter", system-ui, sans-serif;
  --body-font: "Inter", system-ui, sans-serif;
  --mono-font: "JetBrains Mono", ui-monospace, monospace;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --shadow-sm: 0 1px 2px rgba(15,15,30,0.04), 0 1px 1px rgba(15,15,30,0.03);
  --shadow: 0 6px 24px -8px rgba(15,15,30,0.08), 0 2px 6px rgba(15,15,30,0.04);
  --shadow-lg: 0 30px 60px -20px rgba(15,15,30,0.18), 0 12px 24px -12px rgba(15,15,30,0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--body-font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  letter-spacing: -0.005em;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

.display {
  font-family: var(--display-font);
  letter-spacing: -0.025em;
  line-height: 1.02;
  font-weight: 600;
}

.eyebrow {
  font-family: var(--mono-font);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: white;
}
.btn-primary:hover { background: #2a2a32; transform: translateY(-1px); }
.btn-accent {
  background: var(--accent);
  color: white;
}
.btn-accent:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(79,70,229,0.5); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--bg-soft); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { height: 22px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--muted); transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 0;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 80%);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-tag-pill {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-family: var(--display-font);
  font-size: clamp(40px, 6.4vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-family: var(--display-font);
}
.hero-sub {
  margin: 24px auto 0;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
}
.hero-cta {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  justify-content: center;
}
.hero-meta {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 13px;
  color: var(--muted-2);
  font-family: var(--mono-font);
}
.hero-meta-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; margin-right: 6px; vertical-align: 1px; }

/* hero product preview */
.hero-preview {
  margin-top: 64px;
  position: relative;
  display: flex;
  justify-content: center;
  padding-bottom: 80px;
}
.hero-preview-frame {
  position: relative;
  width: 100%;
  max-width: 1140px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #ffffff 0%, #f6f5ff 100%);
  border: 1px solid var(--line);
  padding: 14px;
  box-shadow: var(--shadow-lg);
}
.hero-preview-frame img {
  width: 100%;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--line-2);
}
.hero-float {
  position: absolute;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  z-index: 2;
}
.hero-float-1 { top: 18%; left: -6%; }
.hero-float-2 { bottom: 22%; right: -4%; }
@media (max-width: 980px) {
  .hero-float { display: none; }
}
.hero-float-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-float-title { font-weight: 500; color: var(--ink); }
.hero-float-meta { font-size: 11.5px; color: var(--muted-2); margin-top: 2px; font-family: var(--mono-font); }

/* ---------- Sections ---------- */
section { padding: 100px 0; position: relative; }

/* logo bar */
.partners {
  padding: 56px 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  background: var(--bg-soft);
}
.partners-label {
  text-align: center;
  font-size: 12.5px;
  font-family: var(--mono-font);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin-bottom: 28px;
}
.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .partners-grid { grid-template-columns: 1fr; }
}
.partner-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.partner-logo-box {
  width: 96px;
  height: 72px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.partner-logo-box.light { background: #ffffff; border: 1px solid var(--line-2); }
.partner-logo-box.dark { background: #1a1a1f; }
.partner-logo-box img {
  max-width: 80%;
  max-height: 60px;
  object-fit: contain;
}
.partner-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.partner-meta b { font-size: 14.5px; color: var(--ink); font-weight: 500; }
.partner-meta span { font-size: 12.5px; color: var(--muted-2); font-family: var(--mono-font); }

/* deep-dive */
.deepdive {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.deepdive.reverse { grid-template-columns: 1.2fr 1fr; }
.deepdive.reverse .deepdive-copy { order: 2; }
.deepdive.reverse .deepdive-visual { order: 1; }
@media (max-width: 900px) {
  .deepdive, .deepdive.reverse { grid-template-columns: 1fr; gap: 40px; }
  .deepdive.reverse .deepdive-copy { order: 1; }
  .deepdive.reverse .deepdive-visual { order: 2; }
}
.deepdive-copy h3 {
  font-family: var(--display-font);
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 14px 0 18px;
}
.deepdive-copy p {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 22px;
}
.deepdive-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.deepdive-bullets li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.deepdive-bullets li::before {
  content: "";
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--accent-soft);
  border-radius: 50%;
  position: relative;
  background-image: linear-gradient(45deg, transparent 45%, var(--accent) 45%, var(--accent) 55%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, var(--accent) 45%, var(--accent) 55%, transparent 55%);
  background-size: 9px 1.5px, 9px 1.5px;
  background-position: 4px 9px, 4px 7px;
  background-repeat: no-repeat;
}

/* visual cards */
.visual-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: var(--shadow);
  position: relative;
}

/* badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 500;
  font-family: var(--body-font);
  line-height: 1;
  height: 22px;
}
.badge-green { background: var(--green-soft); color: #047857; }
.badge-orange { background: var(--orange-soft); color: #b45309; }
.badge-accent { background: #f5f4ff; color: #4F46E5; }

/* mock table */
.mock-table {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 13px;
  box-shadow: var(--shadow);
}
.mock-table-head, .mock-table-row {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 1fr 0.9fr 0.9fr 0.9fr;
  padding: 12px 16px;
  align-items: center;
  gap: 8px;
}
.mock-table-head {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--mono-font);
}
.mock-table-row {
  border-bottom: 1px solid var(--line-2);
}
.mock-table-row:last-child { border-bottom: none; }
.mock-table-row.active { background: #f6f5ff; }
.mock-table-row .mt-name { font-weight: 500; }
.mock-table-row .mt-tourists {
  background: var(--orange-soft);
  color: #b45309;
  border-radius: 6px;
  width: 28px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 500; font-size: 12px;
}
.mock-table-row .mt-mono {
  font-family: var(--mono-font);
  font-size: 11.5px;
  color: var(--muted-2);
}
.mock-table-row .mt-ink { color: var(--ink-2); }
.mock-table-row .mt-muted { color: var(--muted); }
.mock-table-row .mt-badges { display: flex; gap: 6px; }

/* notes mock */
.notes-mock {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}
.notes-tabs {
  display: flex; gap: 22px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 12px;
  margin-bottom: 18px;
}
.notes-tabs span { color: var(--muted-2); cursor: pointer; }
.notes-tabs span.active { color: var(--accent); font-weight: 500; position: relative; }
.notes-tabs span.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -13px;
  height: 2px;
  background: var(--accent);
}
.notes-day {
  text-align: center;
  font-size: 11.5px;
  color: var(--muted-2);
  margin: 4px 0 14px;
}
.notes-day span { background: var(--bg-soft); padding: 4px 10px; border-radius: 999px; }
.note {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  align-items: flex-start;
  max-width: 92%;
}
.note.me { flex-direction: row-reverse; margin-left: auto; }
.note-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500;
  color: white;
}
.note-avatar.t { background: #1a1a1f; }
.note-avatar.a { background: var(--accent); }
.note-bubble {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-2);
}
.note.me .note-bubble { background: var(--accent-soft); color: var(--ink); }
.note-meta {
  font-size: 10.5px;
  font-family: var(--mono-font);
  color: var(--muted-2);
  margin-bottom: 4px;
}

/* notifications mock */
.notif-stack {
  display: flex; flex-direction: column; gap: 12px;
}
.notif {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}
.notif:hover { transform: translateX(2px); }
.notif-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent);
}
.notif-icon.green { background: var(--green-soft); color: #047857; }
.notif-icon.orange { background: var(--orange-soft); color: #b45309; }
.notif-icon.red { background: #ffe5e5; color: #b91c1c; }
.notif-title { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.notif-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.notif-time { font-size: 11.5px; color: var(--muted-2); font-family: var(--mono-font); }
.notif-route {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono-font);
  font-size: 11.5px;
  color: var(--muted-2);
  margin-top: 4px;
}
.notif-route b { color: var(--accent); font-weight: 500; }

/* roles mock */
.roles-mock {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid; gap: 16px;
}
.role-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  align-items: center;
  background: white;
}
.role-row.active { border-color: var(--accent); background: #fbfaff; }
.role-name { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; }
.role-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.role-perms { display: flex; flex-wrap: wrap; gap: 6px; }
.perm {
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted);
  border: 1px solid var(--line-2);
}
.perm.on { background: var(--accent-soft); color: var(--accent); border-color: transparent; }

/* docx mock */
.docx-mock {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  position: relative;
  padding: 32px;
  overflow: hidden;
}
.docx-paper {
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 28px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-2);
  box-shadow: 0 4px 16px rgba(15,15,30,0.04);
  position: relative;
}
.docx-paper h4 {
  font-family: var(--display-font);
  font-size: 18px;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.docx-paper .docx-meta { color: var(--muted-2); font-size: 11px; font-family: var(--mono-font); margin-bottom: 18px; }
.docx-section { margin: 14px 0; }
.docx-section-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  margin-bottom: 6px;
  font-weight: 500;
}
.docx-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed var(--line-2);
  font-size: 12px;
}
.docx-row:last-child { border-bottom: none; }
.docx-row .k { color: var(--muted); }
.docx-export-arrow {
  position: absolute;
  top: 50%;
  right: 32px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px 8px 8px;
  box-shadow: var(--shadow);
  font-size: 13px;
}
.docx-arrow-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex; align-items: center; justify-content: center;
}

/* logs mock */
.logs-mock {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow);
  font-family: var(--mono-font);
  font-size: 12.5px;
}
.log-row {
  display: grid;
  grid-template-columns: 90px 28px 1fr 100px;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-2);
}
.log-row:last-child { border-bottom: none; }
.log-time { color: var(--muted-2); }
.log-actor {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-family: var(--body-font);
  font-weight: 500;
}
.log-actor.b { background: var(--teal); }
.log-actor.c { background: #f59e0b; }
.log-actor.d { background: #1a1a1f; }
.log-msg { color: var(--ink-2); font-family: var(--body-font); font-size: 13.5px; }
.log-msg b { font-weight: 500; }
.log-tag {
  font-size: 10.5px;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  justify-self: end;
}
.log-tag.create { background: var(--green-soft); color: #047857; }
.log-tag.edit { background: var(--accent-soft); color: var(--accent); }
.log-tag.delete { background: #ffe5e5; color: #b91c1c; }

/* CTA */
.cta-band {
  background: var(--ink);
  color: white;
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
}
.cta-band-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 80% at 80% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 50%, black 0%, transparent 70%);
  pointer-events: none;
}
.cta-band-orbs {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  pointer-events: none;
}
.cta-band-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 40px;
  align-items: center;
}
@media (max-width: 800px) {
  .cta-band-inner { grid-template-columns: 1fr; }
  .cta-band-orbs { display: none; }
  .cta-band { padding: 48px 32px; }
}
.cta-band h2 {
  font-family: var(--display-font);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 16px;
}
.cta-band p {
  margin: 0;
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  line-height: 1.55;
}
.cta-band .btn-accent { background: white; color: var(--ink); }
.cta-band .btn-accent:hover { background: #efeefc; }
.cta-band .btn-ghost { color: white; border-color: rgba(255,255,255,0.2); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.06); }

/* footer */
.footer {
  border-top: 1px solid var(--line-2);
  padding: 48px 0 32px;
  font-size: 13px;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer img { height: 22px; }
.footer-meta { display: flex; gap: 28px; align-items: center; font-family: var(--mono-font); font-size: 12px; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(14, 14, 16, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(12px) scale(0.97);
  transition: transform 0.2s ease;
}
.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-soft);
  border-radius: 50%;
  font-size: 20px;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.modal-close:hover { background: var(--line); }
.modal-title {
  font-family: var(--display-font);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.modal-sub {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0 0 28px;
  line-height: 1.5;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.form-group input {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14.5px;
  font-family: var(--body-font);
  color: var(--ink);
  background: white;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.form-group input::placeholder { color: var(--muted-2); }
.form-group input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.modal-submit {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
}
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
#modalSuccess {
  text-align: center;
}

/* itinerary builder mock */
.itin-mock {
  position: relative;
}
.itin-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.itin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.itin-head-title {
  font-family: var(--display-font);
  font-weight: 600;
  font-size: 15px;
}
.itin-head-meta {
  color: var(--muted-2);
  font-size: 11px;
  font-family: var(--mono-font);
  margin-top: 3px;
}
.itin-route {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-2);
}
.itin-stop {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 7px 11px;
  min-width: 0;
}
.itin-stop b { font-size: 12.5px; font-weight: 500; }
.itin-stop span {
  font-size: 10.5px;
  font-family: var(--mono-font);
  color: var(--muted-2);
}
.itin-route-arrow { color: var(--line); flex-shrink: 0; }
.itin-price-head, .itin-price-row {
  display: grid;
  grid-template-columns: 0.7fr 1.1fr 0.9fr;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
}
.itin-price-head {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--mono-font);
}
.itin-price-row {
  border-bottom: 1px solid var(--line-2);
  font-size: 13px;
}
.itin-price-row.best { background: #f6f5ff; }
.itin-pax {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.itin-pax-num {
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 6px;
  min-width: 26px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
}
.itin-rooming {
  font-family: var(--mono-font);
  font-size: 11px;
  color: var(--muted);
}
.itin-pp {
  text-align: right;
  font-family: var(--display-font);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.itin-pp small {
  display: block;
  font-family: var(--mono-font);
  font-weight: 400;
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: 0;
}
.itin-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-soft);
}
.itin-foot-label {
  font-size: 11px;
  color: var(--muted-2);
  font-family: var(--mono-font);
}
.itin-foot-range {
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 17px;
}
.itin-float {
  position: absolute;
  bottom: -18px; right: -14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px 8px 8px;
  box-shadow: var(--shadow);
  font-size: 12.5px;
}
.itin-float-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ---------- Mobile nav ---------- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 36px; }
  .deepdive-copy h3 { font-size: 28px; }
  .mock-table-head, .mock-table-row {
    grid-template-columns: 1.2fr 0.5fr 1fr 0.9fr;
  }
  .mock-table-head span:nth-child(5),
  .mock-table-head span:nth-child(6),
  .mock-table-row span:nth-child(5),
  .mock-table-row span:nth-child(6) {
    display: none;
  }
  .log-row {
    grid-template-columns: 70px 28px 1fr;
  }
  .log-tag { display: none; }
  .role-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .docx-export-arrow { display: none; }
  .itin-price-head, .itin-price-row {
    grid-template-columns: 1fr auto;
  }
  .itin-rooming { display: none; }
  .itin-float { display: none; }
}
