/* ============================================================
   LS Connect — Production stylesheet
   Tokens locked to coral. No runtime accent swap.
   ============================================================ */

:root {
  /* Surfaces */
  --bg: #fafaf7;
  --bg-2: #f3f2ec;
  --card: #ffffff;

  /* Ink */
  --ink: #14162b;
  --ink-2: #3a3d56;
  --muted: #7a7d92;

  /* Lines */
  --line: #e6e4dc;
  --line-2: #d8d5cb;

  /* Coral (single accent) */
  --coral: #e85a2a;
  --coral-soft: #fbeae1;
  --coral-warm: #f3a06b;
  --coral-deep: #d24d20;

  /* Supporting hues */
  --navy: #1b2d5e;
  --navy-soft: #e7eaf3;
  --lav: #b9b3e8;
  --lav-soft: #efedfb;

  /* Semantic colors */
  --success: #2d8a5b;
  --success-soft: #e6f3eb;
  --warning: #c43c1f;
  --warning-soft: #fbe4e0;

  /* Tier */
  --tier-bronze-fg: #a06530;
  --tier-bronze-bg: #f7e8dc;

  /* Radius */
  --radius: 18px;
  --radius-sm: 10px;

  /* Shadows */
  --shadow-sm: 0 1px 0 rgba(20,22,43,.04), 0 1px 2px rgba(20,22,43,.04);
  --shadow: 0 1px 0 rgba(20,22,43,.04), 0 12px 30px -18px rgba(20,22,43,.18);
  --shadow-md: 0 1px 0 rgba(20,22,43,.04), 0 18px 40px -22px rgba(20,22,43,.20);
  --shadow-lg: 0 1px 0 rgba(20,22,43,.04), 0 30px 60px -28px rgba(20,22,43,.25);

  /* Z-index */
  --z-base: 1;
  --z-raised: 2;
  --z-sticky: 50;
  --z-modal: 100;

  /* Type */
  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

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

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* Skip link */
.skip {
  position: absolute; left: 12px; top: 12px;
  background: var(--ink); color: #fff;
  padding: 10px 14px; border-radius: 10px;
  font-size: 14px; font-weight: 500;
  transform: translateY(-200%);
  transition: transform .15s ease;
  z-index: 200;
}
.skip:focus { transform: translateY(0); outline: 2px solid var(--coral); outline-offset: 2px; }

/* Anchor scroll offset for sticky nav */
:where(section[id]) { scroll-margin-top: 100px; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: var(--z-sticky);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: rgba(250,250,247,0.72);
  border-bottom: 1px solid rgba(20,22,43,0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--ink); line-height: 1;
}
.brand-mark {
  color: var(--coral); flex-shrink: 0;
  width: 16px; height: 22px;
}
.brand-wordmark {
  font-family: var(--sans);
  font-size: 17px; font-weight: 500;
  color: var(--ink); letter-spacing: -.01em;
}
.brand-wordmark em {
  font-family: var(--serif); font-style: italic;
  font-weight: 400; font-size: 22px;
  color: var(--ink); margin-right: 3px;
  line-height: 1;
}
.nav-links {
  display: flex; align-items: center; gap: 36px;
}
.nav-links a {
  font-size: 14px; color: var(--ink-2); font-weight: 500;
  display: inline-flex; align-items: center; gap: 4px;
  transition: color .15s;
}
.nav-links a:hover { color: var(--coral); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 18px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s, color .15s, border-color .15s;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(20,22,43,.14); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 13px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 88px 0 110px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 88% -10%, var(--coral-soft) 0%, transparent 60%),
    radial-gradient(700px 500px at 8% 20%, var(--navy-soft) 0%, transparent 65%);
  z-index: 0; opacity: .9;
}
.hero-grid {
  position: relative; z-index: var(--z-base);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2);
  background: var(--card);
  border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 999px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,90,42,.5); }
  50% { box-shadow: 0 0 0 6px rgba(232,90,42,0); }
}

h1.display {
  font-family: var(--serif);
  font-size: clamp(48px, 6.2vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 22px 0 0;
  font-weight: 400;
  color: var(--ink);
}
h1.display em {
  font-style: italic; color: var(--coral);
  position: relative;
}
h1.display em::after {
  content: "";
  position: absolute; left: 2px; right: 2px; bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(232,90,42,.45), transparent);
}
.lede {
  margin: 24px 0 32px;
  font-size: 19px; line-height: 1.55;
  color: var(--ink-2);
  max-width: 540px;
}
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* Hero visual */
.hero-visual {
  position: relative;
  perspective: 1400px;
  padding: 40px 50px;
  display: flex; align-items: center; justify-content: center;
}
.hero-stack { position: relative; width: 100%; }
.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-lg);
}
.hero-profile {
  position: relative;
  width: 100%;
  display: flex; flex-direction: column; gap: 14px;
}
.hp-head { display: flex; align-items: center; gap: 16px; }
.hp-photo { flex: 0 0 auto; }
.hp-photo-grid {
  width: 92px; height: 92px;
  display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 3px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line);
}
.hp-photo-cell { background: var(--bg-2); }
.hp-photo-cell.big { grid-row: 1 / span 2; position: relative; overflow: hidden; }
.hp-photo-cell.big::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.4), transparent 50%);
}
.hp-photo-cell.c1 { background: linear-gradient(135deg, var(--coral), var(--coral-warm) 50%, var(--lav)); }
.hp-photo-cell.c2 { background: linear-gradient(135deg, var(--navy), var(--coral)); }
.hp-photo-cell.c3 { background: linear-gradient(135deg, var(--lav), var(--coral-soft)); }
.hp-id { flex: 1; min-width: 0; }
.hp-name {
  font-family: var(--serif); font-size: 26px; line-height: 1.05;
  letter-spacing: -0.01em;
}
.hp-handle {
  font-family: var(--mono); font-size: 11px;
  color: var(--muted); letter-spacing: .04em; margin-top: 4px;
}
.hp-meta { display: flex; gap: 6px; margin-top: 8px; align-items: center; flex-wrap: wrap; }
.hp-tier {
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  background: linear-gradient(135deg, #c98249, #e3a972);
  color: #fff; padding: 3px 7px; border-radius: 4px; font-weight: 600;
}
.hp-verify {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 600;
  background: var(--success-soft); color: var(--success);
  padding: 3px 7px; border-radius: 999px;
}
.hp-bio {
  margin: 0;
  font-family: var(--serif); font-style: italic;
  font-size: 16px; line-height: 1.4; color: var(--ink-2);
  border-left: 2px solid var(--coral);
  padding-left: 12px;
}
.hp-section { display: flex; flex-direction: column; gap: 8px; }
.hp-label {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .14em; color: var(--muted);
  text-transform: uppercase;
}
.hp-bar { display: flex; align-items: center; gap: 4px; }
.hp-bar > span:not(.hp-bar-val) {
  width: 28px; height: 6px; border-radius: 3px; background: var(--bg-2);
}
.hp-bar > span.hp-bar-on {
  background: linear-gradient(90deg, var(--coral), var(--coral-warm));
}
.hp-bar-val {
  font-family: var(--mono); font-size: 10px;
  color: var(--ink-2); margin-left: 8px;
}
.hp-tags { display: flex; flex-wrap: wrap; gap: 5px; }

/* Floating revenue panel */
.float-rev {
  position: absolute;
  width: 250px;
  right: -38px; bottom: -32px;
  transform: rotate(3deg);
  z-index: var(--z-raised);
  padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.frev-head { display: flex; flex-direction: column; gap: 4px; }
.frev-eye {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .14em; color: var(--success);
}
.frev-title {
  font-family: var(--serif); font-size: 18px; line-height: 1.1;
}
.frev-stat { display: flex; flex-direction: column; gap: 2px; }
.frev-bignum {
  font-family: var(--serif); font-size: 30px; line-height: 1;
  letter-spacing: -0.01em;
}
.frev-bigl {
  font-family: var(--mono); font-size: 10px;
  color: var(--muted); letter-spacing: .12em; text-transform: uppercase;
}
.frev-bar {
  height: 6px; border-radius: 3px; background: var(--bg-2); overflow: hidden;
}
.frev-fill {
  height: 100%; width: 83%; border-radius: 3px;
  background: linear-gradient(90deg, var(--coral), var(--coral-warm));
}
.frev-meta {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10px;
  color: var(--muted); letter-spacing: .04em;
}
.frev-meta strong { color: var(--ink); font-weight: 600; }

/* ---------- LOGOS ---------- */
.logos {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
  background: var(--bg);
}
.logos-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.logos .lbl {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .14em; color: var(--muted);
}
.logo-row { display: flex; align-items: center; gap: 56px; flex-wrap: wrap; }
.founding-mark {
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 8px 4px; transition: opacity .2s;
}
.founding-mark:hover { opacity: 0.7; }
.founding-logo { display: inline-flex; align-items: center; }
.founding-url {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .04em; color: var(--muted);
}

/* Founding wordmarks */
.fm-bliss-name, .fm-secrets-name {
  font-family: var(--serif); font-style: italic;
  font-size: 34px; color: #000; letter-spacing: -.01em;
  line-height: 1;
}
.fm-secrets-name { font-size: 28px; }
.fm-bliss-sub, .fm-secrets-sub {
  font-family: var(--sans); font-weight: 700;
  font-size: 9px; letter-spacing: .48em; color: #000;
  margin-top: 4px; padding-left: .48em; line-height: 1;
}
.fm-secrets-sub { font-size: 8px; letter-spacing: .34em; padding-left: .34em; font-weight: 600; }
.fm-caliente-name {
  font-family: var(--serif); font-size: 30px; color: #c8102e;
  font-weight: 400; line-height: 1;
}
.fm-caliente-sub {
  font-family: var(--sans); font-weight: 600;
  font-size: 8px; letter-spacing: .42em; color: #222;
  margin-top: 5px; padding-left: .42em; line-height: 1;
}
.fm-stack {
  display: inline-flex; flex-direction: column; align-items: center;
}

/* ---------- SECTIONS ---------- */
section { padding: 110px 0; position: relative; }
.section-head {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}
.section-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--coral);
  display: inline-flex; align-items: center; gap: 10px;
}
.section-eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--coral);
}
h2.h {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.02; letter-spacing: -.02em;
  margin: 16px 0 0;
}
h2.h em { font-style: italic; color: var(--coral); }
.section-head .desc {
  font-size: 17px; color: var(--ink-2); line-height: 1.55;
  max-width: 520px;
}

/* ---------- PLATFORM ---------- */
.platform { background: var(--bg); }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.cap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s;
}
.cap:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cap .num {
  font-family: var(--mono); font-size: 11px;
  color: var(--muted); letter-spacing: .12em;
}
.cap h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 28px; line-height: 1.05;
  margin: 14px 0 10px; letter-spacing: -.01em;
}
.cap p { color: var(--ink-2); font-size: 14px; margin: 0 0 16px; line-height: 1.55; }
.cap .more {
  font-size: 13px; color: var(--coral); font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.cap .visual {
  margin-top: 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--bg-2), #fff);
  border: 1px solid var(--line);
  padding: 14px;
  position: relative;
  min-height: 140px;
}
.cap.lg { grid-column: span 7; }
.cap.md { grid-column: span 5; }
.cap.feat-card {
  background: linear-gradient(180deg, var(--coral-soft), #fff 80%);
  border-color: rgba(232,90,42,.18);
}

/* Profile mini */
.profile-mini { display: flex; flex-direction: column; gap: 12px; }
.profile-mini-row { display: flex; align-items: center; gap: 10px; }
.profile-mini-av {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--lav), var(--coral));
  flex: 0 0 auto;
}
.profile-mini-name { font-family: var(--serif); font-size: 16px; line-height: 1.1; }
.profile-mini-meta {
  font-family: var(--mono); font-size: 10px;
  color: var(--muted); letter-spacing: .04em; margin-top: 2px;
}
.verified-pill {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 600;
  background: var(--success-soft); color: var(--success);
  padding: 4px 8px; border-radius: 999px;
}
.profile-mini-tags { display: flex; flex-wrap: wrap; gap: 5px; }

/* Tag */
.tag {
  font-size: 11px; padding: 4px 9px;
  border-radius: 999px; border: 1px solid var(--line-2);
  color: var(--muted); background: #fff;
  font-family: var(--sans); font-weight: 500;
}
.tag.tag-on { background: var(--coral-soft); color: var(--coral); border-color: transparent; }

/* Event rows */
.mini-events { display: flex; flex-direction: column; gap: 6px; }
.evrow {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 10px;
}
.evrow .dt {
  font-family: var(--serif); width: 36px; text-align: center; line-height: 1;
}
.evrow .dt .d { font-size: 18px; }
.evrow .dt .m {
  font-size: 8px; font-family: var(--mono);
  color: var(--muted); text-transform: uppercase; letter-spacing: .1em;
}
.evrow .ti { font-size: 11px; font-weight: 500; line-height: 1.2; }
.evrow .ms { font-size: 9px; color: var(--muted); font-family: var(--mono); }
.evrow .st {
  margin-left: auto; font-family: var(--mono); font-size: 9px;
  padding: 2px 6px; border-radius: 4px;
}
.evrow .st.live { background: var(--coral-soft); color: var(--coral); }
.evrow .st.up { background: var(--navy-soft); color: var(--navy); }

/* Verify rows */
.verify-stack { display: flex; flex-direction: column; gap: 6px; }
.verify-row {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 10px;
}
.verify-dot {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--success-soft); color: var(--success);
  flex: 0 0 auto;
}
.verify-dot.pend { background: var(--bg-2); color: var(--muted); }
.verify-dot.rej { background: var(--warning-soft); color: var(--warning); }
.verify-name { flex: 1; font-size: 12px; font-weight: 500; }
.verify-status {
  font-family: var(--mono); font-size: 10px;
  color: var(--success); letter-spacing: .06em;
}
.verify-status.pend { color: var(--muted); }
.verify-status.rej { color: var(--warning); }

/* Membership tiers */
.mini-spons {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
}
.tier {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 10px; text-align: center;
}
.tier .lvl {
  font-family: var(--mono); font-size: 9px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .1em;
}
.tier .nm { font-family: var(--serif); font-size: 14px; margin-top: 4px; }
.tier .ct { font-size: 10px; color: var(--coral); margin-top: 2px; }
.tier.gold { background: linear-gradient(180deg, #fef6e8, #fff); border-color: #f0d99a; }
.tier.silver { background: linear-gradient(180deg, #f2f2f2, #fff); }
.tier.bronze { background: linear-gradient(180deg, #f7e8dc, #fff); border-color: #e3c4a8; }

/* Check-in */
.checkin-vis { display: flex; align-items: center; gap: 16px; }
.qr-box {
  background: #fff; padding: 8px; border-radius: 10px;
  border: 1px solid var(--line); flex: 0 0 auto;
}
.checkin-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.checkin-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .12em; color: var(--success);
}
.checkin-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(45,138,91,.18);
  animation: pulse 2s infinite;
}
.checkin-name { font-family: var(--serif); font-size: 17px; line-height: 1.1; }
.checkin-meta { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: .04em; }
.checkin-event { font-size: 12px; color: var(--coral); margin-top: 4px; font-weight: 500; }

/* Hot Dates mini */
.hotdate-vis {
  display: flex; flex-direction: column; gap: 10px;
  height: 100%; justify-content: center;
}
.hotdate-time {
  font-family: var(--serif);
  font-size: 36px; line-height: 1;
  display: flex; align-items: baseline; gap: 10px;
}
.hotdate-time span {
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  background: var(--coral-soft); color: var(--coral);
  padding: 3px 7px; border-radius: 4px; text-transform: uppercase;
}
.hotdate-bio {
  margin: 0; font-family: var(--serif); font-style: italic;
  font-size: 13px; line-height: 1.4; color: var(--ink-2);
  border-left: 2px solid var(--coral); padding-left: 10px;
}
.hotdate-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 8px; border-top: 1px solid var(--line);
  font-size: 11px; color: var(--ink-2);
}
.hotdate-status {
  font-family: var(--mono); font-size: 9px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--coral);
}

/* ---------- SPLIT ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.rev .split-copy { order: 2; }
.split.rev .split-visual { order: 1; }
.split-copy h2, .split-copy h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 3.8vw, 48px); line-height: 1.05;
  margin: 18px 0 18px; letter-spacing: -.015em;
}
.split-copy h2 { font-weight: 400; }
.split-copy h2 em, .split-copy h3 em { font-style: italic; color: var(--coral); }
.split-copy p { color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.feat-list { margin: 22px 0 28px; padding: 0; list-style: none; display: grid; gap: 12px; }
.feat-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; color: var(--ink);
}
.feat-list li .chk {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--coral-soft); color: var(--coral);
  display: grid; place-items: center; flex: 0 0 auto;
}
.split-visual {
  position: relative;
  aspect-ratio: 1/1;
  background: linear-gradient(160deg, var(--coral-soft), var(--lav-soft));
  border-radius: 28px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.split-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(20,22,43,.08) 1px, transparent 0);
  background-size: 18px 18px;
  opacity: .6;
}

/* Migration timeline card (Split1) */
.migration-wrap {
  position: absolute; inset: 10%;
  display: grid; place-items: center;
}
.migration-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-lg);
  width: 100%; max-width: 340px;
}
.migration-label {
  font-family: var(--mono); font-size: 11px;
  color: var(--muted); letter-spacing: .12em;
}
.migration-steps {
  display: grid; gap: 14px; margin-top: 16px;
}
.migration-step {
  display: flex; align-items: center; gap: 12px;
}
.migration-dot {
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; flex: 0 0 auto;
  background: #fff; border: 1px solid var(--line-2);
}
.migration-step.on .migration-dot {
  background: var(--coral); border-color: transparent;
}
.migration-day {
  font-family: var(--mono); font-size: 10px;
  color: var(--muted); letter-spacing: .1em;
}
.migration-text { font-size: 14px; font-weight: 500; }

/* Split2 — Phone + pass */
.split-visual.split2 {
  background: linear-gradient(160deg, var(--navy-soft), var(--coral-soft));
}
.split2-stack {
  position: absolute; inset: 8% 0 0 14%;
  display: flex; gap: 20px;
}
.phone-mock {
  width: 200px;
  background: var(--ink);
  border-radius: 32px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-4deg);
  flex: 0 0 auto;
}
.phone-screen {
  background: #fff;
  border-radius: 24px;
  padding: 14px;
  height: 380px;
  display: flex; flex-direction: column; gap: 10px;
}
.phone-greeting {
  font-family: var(--serif); font-size: 16px;
  margin-bottom: 2px; line-height: 1.15;
}
.phone-hd {
  background: linear-gradient(135deg, var(--coral), var(--coral-warm));
  color: #fff; padding: 12px; border-radius: 14px;
}
.phone-hd-eye {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: .1em; opacity: .85;
}
.phone-hd-title {
  font-family: var(--serif); font-size: 17px; margin-top: 4px;
}
.phone-hd-meta { font-size: 11px; margin-top: 4px; opacity: .9; }
.phone-quick-label {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: .1em; color: var(--muted); margin-top: 6px;
}
.phone-action {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; background: var(--bg-2);
  border-radius: 10px; font-size: 12px; font-weight: 500;
}
.phone-action .k { font-family: var(--mono); color: var(--coral); }

.pass-card {
  width: 170px;
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  transform: rotate(3deg);
  height: fit-content;
  margin-top: 50px;
  flex: 0 0 auto;
}
.pass-label {
  font-family: var(--mono); font-size: 9px;
  letter-spacing: .1em; color: var(--muted);
}
.pass-inner {
  margin-top: 12px;
  background: var(--ink); color: #fff;
  border-radius: 10px; padding: 12px;
  aspect-ratio: 1.55/1;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.pass-inner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(232,90,42,.5), transparent 60%);
}
.pass-brand {
  font-family: var(--serif); font-style: italic; font-size: 15px;
  position: relative;
}
.pass-body { position: relative; }
.pass-name { font-size: 10px; opacity: .7; }
.pass-meta {
  font-family: var(--mono); font-size: 8px;
  letter-spacing: .12em; opacity: .6;
}
.pass-foot {
  margin-top: 10px;
  font-family: var(--mono); font-size: 8px;
  letter-spacing: .1em; color: var(--muted);
  display: flex; justify-content: space-between;
}
.pass-foot .verified { color: var(--coral); }

/* ---------- ONE SYSTEM ---------- */
.onesys { padding: 120px 0; background: var(--bg-2); }
.onesys-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 80px; align-items: center;
}
.onesys-copy h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -.02em; line-height: 1.04;
  margin: 18px 0 24px;
}
.onesys-copy h2 em { font-style: italic; color: var(--coral); }
.onesys-copy p {
  font-size: 17px; line-height: 1.65; color: var(--ink-2);
  max-width: 520px;
}
.onesys-stats {
  margin-top: 32px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); padding-top: 28px;
  max-width: 540px;
}
.onesys-stat .n {
  font-family: var(--serif); font-size: 36px; line-height: 1;
  letter-spacing: -.01em;
}
.onesys-stat .n em { color: var(--coral); font-style: italic; }
.onesys-stat .l {
  font-family: var(--mono); font-size: 10px;
  color: var(--muted); letter-spacing: .12em; text-transform: uppercase;
  margin-top: 8px; max-width: 130px; line-height: 1.4;
}
.onesys-vis {
  position: relative;
  aspect-ratio: 1/1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px; align-items: center;
}
.os-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 14px;
}
.os-card-online { transform: rotate(-2deg) translateY(-12px); }
.os-card-door   { transform: rotate(2deg)  translateY(12px); }
.os-channel {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.os-channel .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--coral);
}
.os-card-door .os-channel .dot { background: var(--success); }
.os-title {
  font-family: var(--serif); font-size: 22px; line-height: 1.1;
  letter-spacing: -.01em;
}
.os-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.os-row:last-child { border-bottom: 0; }
.os-row .v { font-family: var(--mono); font-size: 12px; }
.os-row .v.up { color: var(--success); }
.os-bridge {
  position: absolute; left: 50%; top: 50%;
  width: 76px; height: 76px;
  transform: translate(-50%, -50%);
  background: var(--ink); color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  z-index: var(--z-raised);
}
.os-bridge::before {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%; border: 1px dashed var(--line-2);
}
.os-bridge-inner {
  font-family: var(--serif); font-style: italic;
  font-size: 14px; text-align: center; line-height: 1.1;
}
.os-total {
  margin-top: 8px; padding-top: 10px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: baseline;
}
.os-total-l {
  font-family: var(--mono); font-size: 10px;
  color: var(--muted); letter-spacing: .12em; text-transform: uppercase;
}
.os-total-v { font-family: var(--serif); font-size: 24px; line-height: 1; }
.os-total-v em { color: var(--coral); font-style: italic; }

/* ---------- DO NOT ALLOW ---------- */
.dna {
  background: var(--ink); color: #fff;
  padding: 96px 0;
  position: relative; overflow: hidden;
}
.dna::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(232,90,42,.18), transparent 60%);
  pointer-events: none;
}
.dna .section-head { position: relative; }
.dna .section-eyebrow { color: var(--coral); }
.dna .section-eyebrow::before { background: var(--coral); }
.dna h2 { color: #fff; }
.dna .desc { color: rgba(255,255,255,.7); }
.dna-grid {
  position: relative;
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.dna-row {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 22px 24px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
}
.dna-x {
  flex: 0 0 auto; margin-top: 2px;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(232,90,42,.18); color: var(--coral);
  display: grid; place-items: center;
}
.dna-text { display: flex; flex-direction: column; gap: 4px; }
.dna-title {
  font-family: var(--serif); font-size: 19px; line-height: 1.2;
  color: #fff;
}
.dna-desc {
  font-size: 14px; line-height: 1.5;
  color: rgba(255,255,255,.7);
}
.dna-foot {
  position: relative;
  margin: 56px auto 0;
  text-align: center;
  font-family: var(--serif); font-style: italic;
  font-size: 22px; line-height: 1.4;
  color: rgba(255,255,255,.85);
  max-width: 720px;
}
.dna-foot em { color: var(--coral); font-style: italic; }

/* ---------- TESTIMONIALS ---------- */
.t-section { background: var(--bg-2); }
.t-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.tcard {
  background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.tcard.feat {
  grid-column: span 2;
  background: var(--ink); color: #f5f3ec; border-color: var(--ink);
}
.tcard.feat blockquote { color: #f5f3ec; }
.tcard.feat .who .nm { color: #fff; }
.tcard.feat .who .rl { color: rgba(255,255,255,.6); }
.tcard blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px; line-height: 1.3;
  letter-spacing: -.005em;
  color: var(--ink);
}
.tcard.feat blockquote { font-size: 30px; line-height: 1.25; }
.tcard .who {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto;
}
.tcard .who .av {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--lav);
}
.tcard.feat .who .av { background: var(--coral); }
.tcard.feat .who .av.navy { background: var(--navy); }
.tcard .who .av.coral { background: var(--coral); }
.tcard .who .nm { font-size: 14px; font-weight: 600; }
.tcard .who .rl {
  font-size: 12px; color: var(--muted); font-family: var(--mono);
}
.stars { display: inline-flex; gap: 2px; color: var(--coral); }

/* ---------- CTA ---------- */
.cta-wrap { padding: 0; background: var(--bg); }
.cta {
  position: relative;
  margin: 0 32px 32px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 88px 64px;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 48px; align-items: center;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 360px at 90% 0%, rgba(232,90,42,.45), transparent 60%),
    radial-gradient(500px 300px at 10% 100%, rgba(185,179,232,.2), transparent 60%);
}
.cta > * { position: relative; z-index: var(--z-base); }
.cta h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5vw, 64px); line-height: 1.02;
  letter-spacing: -.02em; margin: 14px 0 0;
}
.cta h2 em { font-style: italic; color: var(--coral-warm); }
.cta p {
  color: rgba(255,255,255,.72); font-size: 17px;
  margin: 18px 0 28px; max-width: 480px;
}
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn-primary { background: #fff; color: var(--ink); }
.cta .btn-primary:hover { background: #f5f3ec; }
.cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.25); }
.cta .btn-ghost:hover { border-color: #fff; }
.cta .stat-stack { display: flex; flex-direction: column; gap: 18px; }
.cta .cta-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--coral-warm);
  display: inline-flex; align-items: center; gap: 10px;
}
.cta .cta-eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--coral-warm);
}
.cta-stat {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 14px;
}
.cta-stat .n { font-family: var(--serif); font-size: 48px; line-height: 1; }
.cta-stat .l {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .14em; color: rgba(255,255,255,.55); margin-top: 6px;
}

/* ---------- FOOTER ---------- */
footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.foot-simple {
  display: flex; flex-direction: column; gap: 28px;
  padding: 16px 0 0;
}
.foot-brand .brand-mark { width: 14px; height: 18px; }
.foot-brand .brand-wordmark { font-size: 15px; }
.foot-brand .brand-wordmark em { font-size: 18px; }
.foot-brand .desc {
  font-family: var(--serif); font-style: italic;
  font-size: 18px; color: var(--ink-2); margin: 12px 0 0;
  max-width: 320px; line-height: 1.5;
}
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
  flex-wrap: wrap; gap: 16px;
}
.foot-bottom .meta { display: flex; flex-direction: column; gap: 4px; }
.foot-bottom .meta .addr { font-size: 12px; }
.foot-bottom .links { display: flex; gap: 22px; }
.foot-bottom .links a:hover { color: var(--coral); }

/* ---------- LEGAL PAGES ---------- */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 32px 120px;
}
.legal-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--coral);
  display: inline-flex; align-items: center; gap: 10px;
}
.legal-eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--coral);
}
.legal-page h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400; line-height: 1.02; letter-spacing: -.02em;
  margin: 16px 0 12px;
}
.legal-page h1 em { font-style: italic; color: var(--coral); }
.legal-page .updated {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  color: var(--muted); text-transform: uppercase;
  margin: 0 0 32px;
}
.legal-page h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: 26px; letter-spacing: -.01em;
  margin: 56px 0 12px;
}
.legal-page h3 {
  font-family: var(--sans); font-weight: 600;
  font-size: 16px; margin: 32px 0 8px;
}
.legal-page p, .legal-page li {
  font-size: 16px; line-height: 1.65;
  color: var(--ink-2);
}
.legal-page p { margin: 12px 0; }
.legal-page ul { padding-left: 20px; margin: 12px 0; }
.legal-page li { margin: 6px 0; }
.legal-page strong { color: var(--ink); font-weight: 600; }
.legal-page a { color: var(--coral); text-decoration: underline; text-underline-offset: 3px; }
.legal-page a:hover { color: var(--coral-deep); }
.legal-addr {
  margin-top: 24px;
  font-style: normal;
  font-family: var(--mono); font-size: 13px;
  color: var(--ink-2); line-height: 1.7;
}

/* ---------- DEMO MODAL ---------- */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(20,22,43,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: var(--z-modal);
  display: none;
  align-items: center; justify-content: center;
  padding: 16px;
}
.modal-backdrop.is-open {
  display: flex;
  animation: modal-fade .18s ease;
}
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: #fff;
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  padding: 36px 32px 28px;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 92vh;
  overflow: auto;
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  border: 0; background: var(--bg-2);
  border-radius: 999px;
  display: grid; place-items: center;
  color: var(--ink-2);
}
.modal-close:hover { background: var(--line); color: var(--ink); }
.modal-eyebrow {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--coral);
}
.modal h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: 30px; line-height: 1.05;
  letter-spacing: -.01em;
  margin: 10px 0 8px;
}
.modal .sub { color: var(--ink-2); font-size: 15px; margin: 0 0 22px; }
.modal-form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.field input {
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 0 14px;
  font-family: var(--sans); font-size: 15px;
  background: #fff; color: var(--ink);
}
.field input:focus {
  outline: 2px solid var(--coral);
  outline-offset: 1px;
  border-color: var(--coral);
}
.field .err {
  font-size: 12px; color: var(--warning);
  font-family: var(--sans);
  display: none;
}
.field.has-error input { border-color: var(--warning); }
.field.has-error .err { display: block; }
.modal-submit {
  height: 48px; margin-top: 6px;
  background: var(--coral); color: #fff;
  border: 0; border-radius: 999px;
  font-size: 15px; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.modal-submit:hover { background: var(--coral-deep); }
.modal-fine {
  font-size: 12px; color: var(--muted);
  margin: 16px 0 0; line-height: 1.5;
}
.modal-fine a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.modal-fine a:hover { color: var(--coral); }

body.modal-open { overflow: hidden; }
body.modal-open .nav { z-index: 1; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 56px 0 80px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .cap.lg, .cap.md { grid-column: span 1; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.rev .split-copy { order: 1; }
  .split.rev .split-visual { order: 2; }
  .t-grid { grid-template-columns: 1fr; }
  .tcard.feat { grid-column: span 1; }
  .cta { grid-template-columns: 1fr; padding: 56px 32px; }
}

@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  section { padding: 64px 0; }
  .onesys { padding: 64px 0; }
  .dna { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .hero-visual { padding: 24px 0; }
  .float-rev {
    position: relative;
    right: auto; bottom: auto;
    width: 100%; max-width: 320px;
    transform: rotate(0);
    margin: 16px auto 0;
  }
  .platform-grid { grid-template-columns: 1fr; }
  .dna-grid { grid-template-columns: 1fr; }
  .onesys-grid { grid-template-columns: 1fr; gap: 40px; }
  .onesys-stats { grid-template-columns: 1fr; gap: 20px; max-width: none; }
  .onesys-stat .l { max-width: none; }
  .onesys-vis { aspect-ratio: auto; gap: 24px; }
  .os-card-online, .os-card-door { transform: none; }
  .cta { margin: 0 16px 16px; padding: 48px 24px; border-radius: 22px; }
  .cta h2 { font-size: clamp(34px, 9vw, 48px); }
  .split-visual { aspect-ratio: 5/4; }
  .migration-card { max-width: 100%; }
  .split2-stack {
    inset: 6% 0 0 0;
    justify-content: center; flex-wrap: wrap;
  }
  .phone-mock { transform: rotate(-2deg); }
  .pass-card { transform: rotate(2deg); margin-top: 0; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .foot-bottom .links { flex-wrap: wrap; }
  h1.display { font-size: clamp(40px, 11vw, 60px); }
  .btn { min-height: 44px; }
  .modal { padding: 28px 22px 22px; border-radius: 20px; }
  .modal h2 { font-size: 26px; }
  .modal-backdrop {
    background: rgba(20,22,43,.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}

/* ---------- MOTION PREFERENCES ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .btn:hover, .cap:hover { transform: none; }
}

/* Visually hidden */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
