:root {
  --navy: #0b1437;
  --ink: #1a2347;
  --muted: #5b6485;
  --faint: #8d95b3;
  --line: #e4e8f2;
  --line-strong: #cfd6e8;
  --blue: #0a6cff;
  --violet: #7b13ff;
  --sky: #06a0ff;
  --soft: #f5f8ff;
  --bg: #ffffff;
  --bg-2: #f7f9fd;
  --surface: #ffffff;
  --surface-2: #f9fafe;
  --primary: #0b1437;
  --primary-hover: #0a6cff;
  --primary-fg: #ffffff;
  --grad: linear-gradient(110deg, #7b13ff, #0a6cff 55%, #06a0ff);
  --ok: #137a4b;
  --ok-bg: #e3f7ec;
  --neutral-bg: #eef0f5;
  --display: 'Sora', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --r: 8px;
  --r-lg: 12px;
  --r-xl: 18px;
  --shadow-sm: 0 1px 2px rgba(11, 20, 55, 0.06), 0 1px 3px rgba(11, 20, 55, 0.04);
  --shadow: 0 4px 12px -2px rgba(11, 20, 55, 0.1), 0 2px 4px rgba(11, 20, 55, 0.05);
  --shadow-lg: 0 24px 48px -20px rgba(11, 20, 55, 0.3), 0 8px 16px -8px rgba(11, 20, 55, 0.12);
  --ring: 0 0 0 3px rgba(10, 108, 255, 0.28);
  --nav-h: 64px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  color: var(--navy);
  letter-spacing: -0.02em;
  text-wrap: balance;
  font-weight: 700;
  line-height: 1.15;
}
h1 {
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(24px, 3vw, 34px);
}
h3 {
  font-size: 19px;
}
p {
  margin: 0;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button {
  font: inherit;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
}
:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--r);
}
[hidden] {
  display: none !important;
}
.i {
  width: 18px;
  height: 18px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.sec {
  padding-block: clamp(48px, 7vw, 96px);
}
.sec-head {
  display: grid;
  gap: 12px;
  max-width: 680px;
  margin: 0 auto clamp(28px, 4vw, 44px);
  text-align: center;
  justify-items: center;
}
.sec-head p {
  font-size: 17px;
  color: var(--muted);
  max-width: 54ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background 0.12s,
    border-color 0.12s,
    color 0.12s,
    transform 0.12s;
  background: var(--surface);
  color: var(--navy);
}
.btn:hover {
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}
.btn-accent {
  background: var(--grad);
  color: #fff;
  border: 0;
  box-shadow: 0 8px 20px -10px rgba(10, 108, 255, 0.7);
}
.btn-accent:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.btn-secondary {
  border-color: var(--line-strong);
  background: var(--surface);
}
.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
  border-color: #fff;
}
.btn-lg {
  min-height: 52px;
  padding: 0 26px;
  font-size: 16px;
}
.btn-block {
  width: 100%;
}
.btn .i {
  width: 17px;
  height: 17px;
}

.promo {
  background: var(--navy);
  color: #e6eaf6;
  font-size: 14px;
}
.promo .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  flex-wrap: wrap;
  min-height: 42px;
  padding-block: 8px;
  text-align: center;
}
.promo b {
  color: #fff;
  font-weight: 600;
}
.promo .pill {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
}
.promo a {
  color: #8fb6ff;
  font-weight: 600;
  white-space: nowrap;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand:hover {
  text-decoration: none;
}
.mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #fff;
  display: grid;
  place-items: center;
  flex: none;
  overflow: hidden;
}
.mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 12px;
}
.nav-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:hover,
.nav-links a[aria-current] {
  color: var(--navy);
  text-decoration: none;
}
.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-cta .btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-signin {
  display: none;
}
@media (max-width: 880px) {
  .nav .wrap {
    gap: 12px;
  }
  .brand {
    font-size: 17px;
  }
  .nav-cta .btn {
    padding: 0 12px;
  }
  .nav-links,
  .nav-cta .btn-secondary {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-cta {
    margin-left: 0;
  }
  .nav.open .nav-links {
    display: grid;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--nav-h);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 14px max(16px, env(safe-area-inset-left, 0px)) 18px;
    gap: 4px;
    margin: 0;
    box-shadow: var(--shadow);
  }
  .nav.open .nav-links .nav-signin {
    display: block;
    border-top: 1px solid var(--line);
    margin-top: 6px;
    padding-top: 15px;
  }
  .nav.open .nav-links a {
    display: block;
    padding: 11px 6px;
    font-size: 16px;
    color: var(--navy);
    border-radius: var(--r);
  }
}

/* plans */
.pricing-top {
  padding-block: clamp(44px, 6vw, 80px) clamp(48px, 7vw, 96px);
}
.toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--neutral-bg);
  border-radius: 999px;
}
.toggle button {
  border: 0;
  background: transparent;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.toggle button[aria-pressed='true'] {
  background: var(--surface);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.toggle .save {
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ok-bg);
  color: var(--ok);
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  margin-top: clamp(28px, 4vw, 44px);
  max-width: 1020px;
  margin-inline: auto;
}
.plan {
  position: relative;
  display: grid;
  /* the list takes the spare height, so the buttons line up across the cards */
  grid-template-rows: auto auto auto 1fr auto auto;
  gap: 18px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  min-width: 0;
}
.plan.pop {
  border-color: transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad) border-box;
  border-width: 2px;
  box-shadow: var(--shadow-lg);
}
.plan.pop {
  background:
    linear-gradient(180deg, var(--soft), var(--surface) 170px) padding-box,
    var(--grad) border-box;
}
.plan .tag {
  position: absolute;
  top: -13px;
  left: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.plan .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.plan h3 {
  font-size: 20px;
}
.plan .for {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.plan.pop .for {
  border-color: rgba(10, 108, 255, 0.25);
  color: var(--blue);
}
.plan .who {
  color: var(--muted);
  font-size: 14px;
  min-height: 2.9em;
}
.price .was {
  color: var(--muted);
  font-size: 16px;
  text-decoration: line-through;
}
.price .was:empty,
.plan .deal:empty {
  display: none;
}
.plan .deal {
  margin: 0;
  padding: 6px 10px;
  width: fit-content;
  border-radius: 999px;
  background: #fff1d6;
  color: #8a5300;
  font-size: 13px;
  font-weight: 600;
}
.plan .trial {
  margin: 0;
  padding: 6px 10px;
  width: fit-content;
  border-radius: 999px;
  background: var(--ok-bg);
  color: var(--ok);
  font-size: 13px;
  font-weight: 600;
}
.price {
  display: grid;
  gap: 4px;
}
.price .amt {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price .amt small {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}
.price .amt.custom span {
  font-size: 34px;
}
.price .per {
  font-size: 13px;
  color: var(--muted);
  min-height: 1.4em;
}
.plan ul {
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  align-content: start;
  gap: 9px;
  font-size: 14px;
}
.plan .more ul {
  border-top: 0;
  padding-top: 0;
}
.plan li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.plan li .i {
  width: 16px;
  height: 16px;
  color: var(--ok);
  margin-top: 3px;
  flex: none;
}
.plan li.dim {
  color: var(--faint);
}
.plan li.dim .i {
  color: var(--line-strong);
}
.plan li b {
  font-weight: 600;
  color: var(--navy);
}
.plan .foot {
  display: grid;
  gap: 8px;
}
.plan .foot small {
  font-size: 12.5px;
  color: var(--ok);
  font-weight: 600;
  text-align: center;
}
.plan .more {
  display: grid;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.plan .more h4 {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  font-family: var(--body);
}
.plan .more ul {
  gap: 7px;
  font-size: 13.5px;
}
.plan .more li .i {
  margin-top: 2px;
}
.plan .more li span small {
  display: block;
  color: var(--faint);
  font-size: 12px;
}
.plan .more li .val {
  font-weight: 600;
  color: var(--navy);
}
.plans-foot {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}
.fine {
  margin-top: 18px;
  font-size: 13px;
  color: var(--faint);
  text-align: center;
}
.enterprise {
  max-width: 1020px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 28px;
  align-items: center;
  padding: 22px 26px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-xl);
  background: var(--surface-2);
}
.enterprise h3 {
  font-size: 18px;
  margin-bottom: 4px;
}
.enterprise p {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 70ch;
}
@media (max-width: 900px) {
  .plans {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .enterprise {
    grid-template-columns: 1fr;
  }
}

/* cta */
.cta {
  padding-block: 0 clamp(56px, 8vw, 96px);
}
.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #0b1437;
  color: #e6eaf6;
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: -40% -20% auto auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(123, 19, 255, 0.55), transparent);
  pointer-events: none;
}
.cta-card::after {
  content: '';
  position: absolute;
  inset: auto auto -50% -10%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(10, 108, 255, 0.45), transparent);
  pointer-events: none;
}
.cta-card > * {
  position: relative;
  z-index: 1;
}
.cta-copy {
  display: grid;
  gap: 12px;
}
.cta-copy h2 {
  color: #fff;
}
.cta-copy p {
  color: #b7c0e0;
  font-size: 17px;
  max-width: 44ch;
}
.cta-copy .pill {
  justify-self: start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
}
.cta-actions {
  display: grid;
  gap: 12px;
  min-width: 270px;
}
.cta-actions small {
  color: #8d95b3;
  font-size: 12.5px;
  text-align: center;
}
@media (max-width: 880px) {
  .cta-card {
    grid-template-columns: 1fr;
  }
  .cta-actions {
    min-width: 0;
  }
}

footer {
  border-top: 1px solid var(--line);
  padding-block: 32px 40px;
  font-size: 14px;
  color: var(--muted);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}
footer .btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
footer nav a {
  color: var(--muted);
}
footer nav a:hover {
  color: var(--navy);
}
footer .by {
  display: flex;
  align-items: center;
  gap: 10px;
}
footer .by img {
  height: 24px;
  width: auto;
  border-radius: 6px;
}
footer .legal {
  flex-basis: 100%;
  font-size: 12.5px;
  color: var(--faint);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
}
footer .ver {
  font-family: var(--mono);
  font-size: 11.5px;
}

/* ---------- motion: quiet, once, and off when the visitor asks ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
}
html.js .stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
html.js .stagger.in > * {
  opacity: 1;
  transform: none;
}
html.js .stagger.in > *:nth-child(1) {
  transition-delay: 0ms;
}
html.js .stagger.in > *:nth-child(2) {
  transition-delay: 90ms;
}
html.js .stagger.in > *:nth-child(3) {
  transition-delay: 180ms;
}
html.js .stagger.in > *:nth-child(4) {
  transition-delay: 270ms;
}
html.js .stagger.in > *:nth-child(5) {
  transition-delay: 360ms;
}
html.js .stagger.in > *:nth-child(6) {
  transition-delay: 450ms;
}
.nav {
  transition:
    box-shadow 0.25s,
    border-color 0.25s;
}
.nav.scrolled {
  box-shadow: 0 6px 24px -18px rgba(11, 20, 55, 0.35);
}
.btn {
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s,
    transform 0.15s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.15s;
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
a,
summary {
  transition: color 0.15s;
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal,
  html.js .stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.plan {
  transition:
    transform 0.2s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.2s;
}
.plan:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.price .amt span[data-monthly] {
  display: inline-block;
  transition:
    opacity 0.18s,
    transform 0.18s;
}
.price .amt span.tick {
  opacity: 0;
  transform: translateY(6px);
}
html.js .plan .more {
  animation: fadein 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes fadein {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
details p {
  animation: fadein 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (prefers-reduced-motion: reduce) {
  html.js .plan .more,
  details p {
    animation: none;
  }
}

.sprite {
  position: absolute;
}
.link-sky {
  color: #8fb6ff;
}
.plans-foot .i.flip {
  transform: rotate(180deg);
}
