/* Keynesta marketing site — matches the app design tokens (config/tokens.js) */

:root {
  /* Brand (constant) */
  --brand-cyan: #08CFF2;
  --brand-blue: #0878F9;
  --brand-royal: #1749F5;
  --brand-indigo: #4A20F4;
  --brand-violet: #7624F5;
  --brand-magenta: #D315ED;
  --brand-navy: #06112F;
  --accent-grad: linear-gradient(135deg, var(--brand-blue), var(--brand-violet));
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --display: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;

  /* Light mode (default) */
  --bg: #F8FAFD;
  --surface: #FFFFFF;
  --surface-2: #F5F7FB;
  --border: #E2E7F0;
  --border-strong: #CDD5E2;
  --text: #080D1A;
  --muted: #566176;
  --accent: #0878F9;
  --accent-2: #7624F5;
  --green: #16A765;
  --amber: #E98A08;
  --nav-bg: rgba(248, 250, 253, 0.85);
  --section-alt: #EAF0F8;
  --glow-a: color-mix(in srgb, var(--brand-violet) 6%, transparent);
  --glow-b: color-mix(in srgb, var(--brand-blue) 8%, transparent);
}

[data-theme='dark'] {
  --bg: #030817;
  --surface: #0B1738;
  --surface-2: #15264D;
  --border: #1D2B4D;
  --border-strong: #314266;
  --text: #F8FAFF;
  --muted: #B2BCD0;
  --accent: #2389FF;
  --accent-2: #8B45FF;
  --green: #2CCB7F;
  --amber: #F5A524;
  --nav-bg: rgba(3, 8, 23, 0.82);
  --section-alt: #06112F;
  --glow-a: color-mix(in srgb, var(--brand-violet) 10%, transparent);
  --glow-b: color-mix(in srgb, var(--brand-blue) 13%, transparent);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(1100px 600px at 80% -10%, var(--glow-a), transparent 60%),
    radial-gradient(900px 700px at 0% 0%, var(--glow-b), transparent 55%),
    var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 10px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.3px;
  color: var(--text);
}

.logo:hover {
  text-decoration: none;
}

.logo-lockup {
  width: 200px;
  height: auto;
  object-fit: contain;
}

.logo b {
  font-weight: 800;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 14.5px;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

/* buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 11px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.12s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 6px 24px color-mix(in srgb, var(--accent) 40%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn.primary:hover {
  filter: brightness(1.08);
}

.btn.ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: var(--surface);
}

.btn.small {
  padding: 8px 16px;
  font-size: 13.5px;
  border-radius: 9px;
}

/* hero */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 84px 0 70px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: 46px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -1.3px;
}

.hero h1 em {
  font-style: normal;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .lede {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 28px;
  max-width: 34em;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero-note {
  color: var(--muted);
  font-size: 13px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-note svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}

/* hero mock */

.mock {
  position: relative;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}

.mock-window {
  background: linear-gradient(180deg, rgba(30, 37, 55, 0.92), rgba(19, 24, 36, 0.97));
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  padding-bottom: 4px;
}

.mock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
}

.mock-chip {
  margin-left: auto;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  color: #b9c8ff;
  border-radius: 99px;
  padding: 2px 11px;
  font-size: 11.5px;
}

.mock-card {
  display: flex;
  align-items: center;
  gap: 13px;
  background: rgba(10, 13, 20, 0.55);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 13px 15px;
}

.mock-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-weight: 800;
  font-size: 13px;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.mock-id {
  min-width: 0;
}

.mock-name {
  font-weight: 700;
  font-size: 14.5px;
}

.mock-acc {
  color: var(--muted);
  font-size: 12px;
}

.mock-code {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 1.5px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 22px color-mix(in srgb, var(--accent) 35%, transparent);
}

.mock-ring {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.mock-ring circle.bgc {
  fill: none;
  stroke: var(--border);
  stroke-width: 3;
}

.mock-ring circle.fgc {
  fill: none;
  stroke: var(--green);
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s linear, stroke 0.3s ease;
}

.mock-ring text {
  fill: var(--muted);
  font-size: 10px;
  font-family: var(--mono);
}

.mock-path {
  color: var(--muted);
  font-size: 11px;
  padding: 2px 2px 0;
}

/* sections */

section {
  padding: 64px 0;
}

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

h2 {
  margin: 0 0 14px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.2;
}

.sub {
  color: var(--muted);
  font-size: 16.5px;
  max-width: 44em;
  margin: 0 0 36px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  transition: border-color 0.15s ease, transform 0.12s ease;
}

.feature:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.feature .icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  color: var(--accent);
  margin-bottom: 14px;
}

.feature .icon svg {
  width: 20px;
  height: 20px;
}

.feature h3 {
  margin: 0 0 7px;
  font-size: 16.5px;
  font-weight: 700;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* security strip */

.sec-strip {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, transparent), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sec-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.sec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sec-list li {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 15px;
}

.sec-list strong {
  color: var(--text);
}

.sec-list svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--green);
  margin-top: 2px;
}

.crypto-box {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 20px 22px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.9;
}

.crypto-box b {
  color: var(--text);
}

.crypto-box .g {
  color: var(--green);
}

.crypto-box .a {
  color: var(--accent);
}

/* platforms */

.platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}

.platform {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 20px;
}

.platform .icon {
  margin: 0 auto 12px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  color: var(--accent);
}

.platform h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.platform p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.badge {
  display: inline-block;
  margin-top: 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--amber);
  background: color-mix(in srgb, var(--amber) 14%, transparent);
  border-radius: 99px;
  padding: 3px 11px;
}

.badge.live {
  color: var(--green);
  background: color-mix(in srgb, var(--green) 14%, transparent);
}

/* migrate strip */

.migrate-apps {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.migrate-apps span {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  border-radius: 99px;
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 600;
}

/* faq */

.faq details {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 13px;
  padding: 0 20px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  padding: 16px 0;
  list-style: none;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 2px;
  color: var(--accent);
  font-size: 19px;
  font-weight: 600;
}

.faq details[open] summary::after {
  content: '–';
}

.faq details p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14.5px;
}

/* final cta */

.cta-final {
  text-align: center;
  padding: 80px 0;
}

.cta-final h2 {
  font-size: 36px;
}

/* footer */

footer {
  border-top: 1px solid var(--border);
  padding: 34px 0 44px;
  color: var(--muted);
  font-size: 13.5px;
}

.foot-inner {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.foot-inner .links {
  margin-left: auto;
  display: flex;
  gap: 18px;
}

.foot-inner a {
  color: var(--muted);
}

.foot-inner a:hover {
  color: var(--text);
}

/* prose pages (security / privacy) */

.prose {
  max-width: 760px;
  padding: 56px 0 80px;
}

.prose h1 {
  font-size: 36px;
  letter-spacing: -0.8px;
  margin: 0 0 8px;
}

.prose .updated {
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 32px;
}

.prose h2 {
  font-size: 22px;
  margin: 36px 0 10px;
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 15.5px;
}

.prose strong {
  color: var(--text);
}

.prose code {
  font-family: var(--mono);
  font-size: 13px;
  background: var(--surface-2);
  border-radius: 6px;
  padding: 1.5px 7px;
}

@media (max-width: 880px) {
  .logo-lockup {
    width: 150px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
    gap: 40px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .grid-3,
  .platforms {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .sec-cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .nav-links a:not(.btn) {
    display: none;
  }
}

/* app depictions are pinned to dark regardless of site theme */

.mock,
.crypto-box {
  --surface: #0B1738;
  --surface-2: #15264D;
  --border: #1D2B4D;
  --border-strong: #314266;
  --text: #F8FAFF;
  --muted: #7F8CA7;
  --accent: #2389FF;
  --green: #2CCB7F;
  color: var(--muted);
}

.mock-name {
  color: var(--text);
}

/* theme toggle */

.theme-toggle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.theme-toggle:hover {
  color: var(--text);
  border-color: var(--accent);
}

.theme-toggle svg {
  width: 17px;
  height: 17px;
}

[data-theme='light'] .only-dark {
  display: none;
}

[data-theme='dark'] .only-light {
  display: none;
}

/* ---------- motion layer (GSAP) ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-grad);
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 90;
  pointer-events: none;
}

.nav {
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.nav.scrolled {
  box-shadow: none;
}

.mock-window {
  will-change: transform;
}

@media (prefers-reduced-motion: no-preference) {
  .hero h1 em {
    background-size: 200% 100%;
    animation: brand-shimmer 7s ease-in-out infinite;
  }

  @keyframes brand-shimmer {
    0%,
    100% {
      background-position: 0% 50%;
    }

    50% {
      background-position: 100% 50%;
    }
  }
}


/* ================= v3 — reference-inspired structure ================= */

.display,
h2.display {
  font-family: var(--display);
  letter-spacing: -1px;
}

.hero h1 {
  font-family: var(--display);
  letter-spacing: -1.5px;
}

/* floating pill nav */

.nav {
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
  padding-top: 14px;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 22px;
  background: rgba(6, 17, 47, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(49, 66, 102, 0.8);
  border-radius: 99px;
  padding: 10px 18px 10px 30px;
  box-shadow: 0 6px 24px color-mix(in srgb, var(--brand-navy) 22%, transparent);
  transition: box-shadow 0.25s ease;
}

.nav-pill .nav-links a:not(.btn) {
  color: #B2BCD0;
}

.nav-pill .nav-links a:not(.btn):hover {
  color: #F8FAFF;
}

.nav-pill .theme-toggle {
  background: rgba(11, 23, 56, 0.8);
  border-color: rgba(49, 66, 102, 0.8);
  color: #B2BCD0;
}

.nav-pill .theme-toggle:hover {
  color: #F8FAFF;
  border-color: var(--accent);
}

.nav.scrolled .nav-pill {
  box-shadow: 0 10px 34px color-mix(in srgb, var(--brand-navy) 26%, transparent);
}

.nav .logo-lockup {
  width: 190px;
}

.nav-links {
  margin-left: auto;
}

/* hero trust stats */

.hero .kicker {
  margin-bottom: 14px;
}

.trust-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.trust-stat strong {
  display: block;
  font-family: var(--display);
  font-size: 21px;
  letter-spacing: -0.5px;
}

.trust-stat span {
  color: var(--muted);
  font-size: 12px;
}

/* marquee */

.marquee {
  overflow: hidden;
  max-width: 100vw;
  contain: layout paint;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  background: var(--section-alt);
}

.marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  white-space: nowrap;
}

.marquee-track span {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
}

@media (prefers-reduced-motion: reduce) {
  .marquee {
    display: none;
  }
}

/* pain section */

.pain {
  background: var(--section-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}

.pain-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-family: var(--display);
}

.pain-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.pain-punch {
  margin: 30px 0 0;
  font-size: 19px;
  font-family: var(--display);
}

.pain-punch strong {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* how it works */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 10px 0 26px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 22px;
}

.step-n {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-grad);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  margin-bottom: 14px;
}

.step h3 {
  margin: 0 0 7px;
  font-size: 17px;
  font-family: var(--display);
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.flow-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.flow-pills span {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 99px;
  padding: 8px 20px;
  font-weight: 700;
  font-size: 13.5px;
  font-family: var(--display);
}

.flow-pills i {
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
}

.flow-pills.small span {
  padding: 6px 15px;
  font-size: 12.5px;
}

/* feature rows */

.frow.alt,
.more,
section#faq {
  background: var(--section-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.frow-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.frow-inner.reverse .frow-art {
  order: 2;
}

.frow-copy .sub {
  margin-bottom: 20px;
}

.check-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-size: 14.5px;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: -1px;
  width: 19px;
  height: 19px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--green) 15%, transparent);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.frow-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* product artifacts */

.art-panel {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  font-size: 12.5px;
}

.art-panel.col {
  flex-direction: column;
  padding: 14px;
  gap: 9px;
}

.art-side {
  flex: 0 0 190px;
  border-right: 1px solid var(--border);
  padding: 14px 10px;
  background: color-mix(in srgb, var(--surface-2) 70%, transparent);
}

.art-side-head {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 8px 6px;
}

.art-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border-radius: 7px;
  color: var(--text);
}

.art-row b {
  margin-left: auto;
  color: var(--muted);
  font-weight: 600;
  font-size: 10.5px;
}

.art-row i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.art-row.on {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}

.art-row.indent {
  margin-left: 10px;
}

.art-row.indent2 {
  margin-left: 24px;
}

.art-main {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.art-search {
  border: 1px solid var(--accent);
  box-shadow: var(--ring);
  border-radius: 8px;
  padding: 7px 11px;
  color: var(--muted);
}

.art-entry,
.art-device,
.art-import {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  background: color-mix(in srgb, var(--surface-2) 45%, transparent);
}

.art-entry small,
.art-device small {
  color: var(--muted);
  font-size: 10.5px;
}

.art-entry code,
.art-device code {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
}

.art-av {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  font-size: 10px;
  flex: 0 0 28px;
}

.art-banner {
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 12px;
  background: color-mix(in srgb, var(--green) 12%, transparent);
  color: var(--text);
  border: 1px solid color-mix(in srgb, var(--green) 30%, transparent);
}

.art-banner.blue {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
}

.art-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: 0 0 9px;
}

.art-dot.ok {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.art-dot.off {
  background: var(--red);
}

.art-crypto {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px dashed var(--border-strong);
}

.art-crypto b {
  color: var(--text);
}

.art-crypto .g {
  color: var(--green);
}

.art-import em {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
}

.art-import em.new {
  color: var(--green);
}

.art-import em.dup {
  color: var(--muted);
}

.art-import em.bad {
  color: var(--amber);
}

.art-import-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 4px 0;
  color: var(--muted);
  font-size: 12px;
}

.art-import-foot b {
  color: var(--accent);
}

/* pricing */

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 780px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow-md);
}

.price-card h3 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 18px;
}

.price-card .price {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.price-card .price span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
}

.price-card.soon {
  border-style: dashed;
  box-shadow: none;
}

/* footer */

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 26px;
}

.foot-brand .logo-lockup {
  width: 190px;
  margin-bottom: 12px;
}

.foot-brand p {
  color: var(--muted);
  font-size: 13px;
  max-width: 30em;
  margin: 0;
}

.foot-col h4 {
  margin: 4px 0 12px;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--display);
}

.foot-col a {
  display: block;
  color: var(--text);
  font-size: 14px;
  padding: 4px 0;
}

.foot-col a:hover {
  color: var(--accent);
  text-decoration: none;
}

.foot-base {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  color: var(--muted);
  font-size: 12.5px;
}

@media (max-width: 880px) {
  .frow-art {
    min-width: 0;
    overflow: hidden;
  }

  .art-panel {
    max-width: 100%;
  }

  .art-entry code,
  .art-device code {
    font-size: 13px;
  }

  .art-crypto {
    overflow-x: auto;
    white-space: nowrap;
  }

  .nav .logo-lockup {
    width: 150px;
  }

  .nav-pill {
    padding: 8px 12px 8px 18px;
  }

  .pain-grid,
  .steps,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .frow-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .frow-inner.reverse .frow-art {
    order: 0;
  }

  .art-side {
    display: none;
  }

  .foot-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* platforms v3 */

.plat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 10px;
}

.plat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  text-align: center;
  transition: border-color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.plat-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.plat-card h3 {
  margin: 16px 0 6px;
  font-family: var(--display);
  font-size: 18px;
}

.plat-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13.5px;
}

.dev {
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface-2) 60%, transparent);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.dev.browser .dev-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
}

.dev-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border-strong);
}

.dev-bar em {
  margin-left: 8px;
  font-style: normal;
  font-size: 10px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 2px 10px;
}

.dev.phone {
  max-width: 210px;
  margin: 0 auto;
  border-radius: 22px;
  position: relative;
  padding-top: 18px;
}

.dev-notch {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 7px;
  border-radius: 99px;
  background: var(--border-strong);
}

.dev-notch.dot {
  width: 8px;
  height: 8px;
}

.dev-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dev-entry {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
}

.dev-entry code {
  margin-left: auto;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.dev-face {
  font-size: 10.5px;
  color: var(--green);
  padding-bottom: 4px;
}

@media (max-width: 880px) {
  .plat-grid {
    grid-template-columns: 1fr;
  }
}

.plat-cta {
  margin-top: auto;
}

.plat-cta.primary {
  border: 1px solid transparent; /* match ghost buttons' box height */
}

.plat-card .plat-cta {
  margin-bottom: 0;
}

.plat-card .dev {
  width: 100%;
}

/* ---------- platform device frames w/ splash ---------- */

.splash {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(8, 120, 249, 0.18), transparent 55%),
    linear-gradient(180deg, #06112F, #030817);
}

.splash img {
  width: 34%;
  max-width: 84px;
  filter: drop-shadow(0 8px 26px rgba(8, 120, 249, 0.55));
}

.splash-wm {
  width: 46% !important;
  max-width: 128px;
  height: auto !important;
  filter: none !important;
}

/* MacBook */

.dmac {
  width: 100%;
  max-width: 330px;
}

.dmac-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 6px solid #10182c;
  border-bottom-width: 12px;
  border-radius: 14px 14px 4px 4px;
  overflow: hidden;
  background: #030817;
  box-shadow: var(--shadow-md);
}

.dmac-cam {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2a3654;
  z-index: 2;
}

.dmac-base {
  height: 10px;
  margin: 0 -7%;
  background: linear-gradient(180deg, #2a3654, #10182c);
  border-radius: 0 0 12px 12px;
}

.dmac-base::before {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  margin: 0 auto;
  border-radius: 0 0 8px 8px;
  background: #0b1226;
}

/* phones */

.dphone {
  width: 126px;
}

.dphone-screen {
  position: relative;
  aspect-ratio: 9 / 17;
  border: 5px solid #10182c;
  border-radius: 24px;
  overflow: hidden;
  background: #030817;
  box-shadow: var(--shadow-md);
}

.dphone.iphone .dphone-screen {
  border-radius: 26px;
}

.dphone-island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 12px;
  border-radius: 99px;
  background: #000;
  z-index: 2;
}

.dphone-hole {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #000;
  border: 1.5px solid #1c2742;
  z-index: 2;
}

.dphone-homebar {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 4px;
  border-radius: 99px;
  background: rgba(248, 250, 255, 0.35);
  z-index: 2;
}

.dphone .splash img {
  width: 46%;
  max-width: 58px;
}

.dphone .splash b {
  font-size: 12.5px;
}

/* strict alignment for platform cards */

.plat-dev-zone,
.plat-card .dmac,
.plat-card .dphone {
  margin-left: auto;
  margin-right: auto;
}

.plat-card .dmac,
.plat-card .dphone {
  flex: 0 0 auto;
}

.plat-card > .dmac,
.plat-card > .dphone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 256px;
}

.plat-card h3 {
  margin: 18px 0 6px;
}

.plat-card p {
  height: 44px;
  margin-bottom: 12px;
}

.plat-card .badge {
  margin-top: 0;
  margin-bottom: 14px;
  height: 24px;
  line-height: 18px;
  box-sizing: border-box;
}

/* ---------- closing CTA panel ---------- */

.cta-final {
  padding: 40px 0 90px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: 26px;
  padding: 64px 32px 56px;
  background:
    radial-gradient(620px 300px at 15% -10%, rgba(8, 207, 242, 0.22), transparent 60%),
    radial-gradient(700px 360px at 85% 110%, rgba(211, 21, 237, 0.2), transparent 60%),
    linear-gradient(135deg, #0B2A66 0%, #1749F5 45%, #4A20F4 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 80px color-mix(in srgb, var(--brand-navy) 35%, transparent);
}

.cta-mark {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 16px;
  filter: drop-shadow(0 8px 26px rgba(3, 8, 23, 0.5));
}

.cta-panel h2 {
  color: #FFFFFF;
  margin-bottom: 12px;
}

.cta-panel p {
  color: rgba(248, 250, 255, 0.82);
  font-size: 16.5px;
  max-width: 40em;
  margin: 0 auto 28px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.btn.light {
  background: #FFFFFF;
  color: #06112F;
  box-shadow: 0 8px 28px rgba(3, 8, 23, 0.35);
}

.btn.light:hover {
  filter: brightness(0.96);
}

.btn.outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

.btn.outline:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.cta-note {
  color: rgba(248, 250, 255, 0.65);
  font-size: 12.5px;
}

@media (max-width: 880px) {
  .cta-panel {
    padding: 44px 20px 40px;
  }
}
