* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #10203b;
  background:
    radial-gradient(circle at 16% 10%, rgba(91, 151, 255, 0.24), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(118, 207, 255, 0.2), transparent 32%),
    radial-gradient(circle at 48% 78%, rgba(255, 255, 255, 0.9), transparent 36%),
    linear-gradient(140deg, #f8fbff 0%, #eaf4ff 52%, #f6fbff 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(36, 102, 217, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 102, 217, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(248, 251, 255, 0.92), rgba(91, 151, 255, 0.18), rgba(248, 251, 255, 0)),
    radial-gradient(circle at 24% 24%, rgba(36, 102, 217, 0.18), transparent 30%);
  transform: translateX(-18%);
  animation: pricing-route-wash 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pricing-page {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 56px;
}

.pricing-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 82px;
  animation: pricing-drop-in 0.54s cubic-bezier(0.22, 1, 0.36, 1) 0.04s both;
}

.brand-link,
.nav-link,
.plan-cta {
  color: inherit;
  text-decoration: none;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #10203b;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.brand-logo {
  width: 22px;
  height: 22px;
}

.nav-link {
  padding: 9px 14px;
  border: 1px solid rgba(91, 151, 255, 0.22);
  border-radius: 999px;
  background: rgba(250, 253, 255, 0.58);
  color: #214a91;
  font-size: 13px;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  border-color: rgba(36, 102, 217, 0.34);
  color: #0f1a2d;
  background: rgba(232, 244, 255, 0.82);
}

.pricing-hero {
  max-width: 760px;
  margin-bottom: 42px;
  animation: pricing-rise-in 0.68s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.eyebrow,
.plan-topline {
  margin: 0 0 14px;
  color: #3287e6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.pricing-hero h1 {
  margin: 0;
  color: #10203b;
  font-family: 'Iowan Old Style', 'Palatino Linotype', serif;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: #60728b;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  padding: 10px 14px;
  border: 1px solid rgba(91, 151, 255, 0.18);
  border-radius: 999px;
  background: rgba(250, 253, 255, 0.72);
  color: #28466f;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(63, 116, 196, 0.08);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 620px;
  padding: 24px;
  border: 1px solid rgba(91, 151, 255, 0.2);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(238, 248, 255, 0.58)),
    rgba(250, 253, 255, 0.58);
  box-shadow: 0 24px 76px rgba(63, 116, 196, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(28px) saturate(1.24);
  animation: pricing-card-rise 0.68s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.plan-card.featured {
  border-color: rgba(36, 102, 217, 0.3);
  background:
    radial-gradient(circle at top right, rgba(91, 151, 255, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(231, 242, 255, 0.66));
  transform: translateY(-14px);
  animation-name: pricing-featured-card-rise;
}

.plan-card:nth-child(1) { animation-delay: 0.24s; }
.plan-card:nth-child(2) { animation-delay: 0.31s; }
.plan-card:nth-child(3) { animation-delay: 0.38s; }

.plan-card h2 {
  margin: 0;
  color: #10203b;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.price {
  margin-top: 18px;
  color: #1e57b7;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.price span {
  display: block;
  margin-bottom: 6px;
  color: #60728b;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plan-copy {
  margin: 18px 0 0;
  color: #60728b;
  font-size: 15px;
  line-height: 1.55;
}

.feature-list {
  display: grid;
  gap: 11px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 20px;
  color: #22324d;
  font-size: 14px;
  line-height: 1.35;
}

.feature-list strong {
  color: #10203b;
}

.feature-list li::before {
  content: '';
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3287e6;
  box-shadow: 0 0 14px rgba(91, 151, 255, 0.42);
}

.featured .feature-list li::before {
  background: #2466d9;
  box-shadow: 0 0 14px rgba(36, 102, 217, 0.44);
}

.plan-cta,
.waitlist-form button {
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  border: 1px solid rgba(36, 102, 217, 0.28);
  border-radius: 999px;
  background: rgba(226, 240, 255, 0.78);
  color: #1e57b7;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.plan-note {
  margin: 12px 0 0;
  color: #60728b;
  font-size: 13px;
  line-height: 1.4;
}

.plan-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.plan-cta.secondary {
  border-color: rgba(91, 151, 255, 0.22);
  background: rgba(237, 247, 255, 0.72);
  color: #214a91;
}

.plan-cta:hover,
.plan-cta:focus-visible,
.waitlist-form button:hover,
.waitlist-form button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(36, 102, 217, 0.42);
  background: rgba(210, 232, 255, 0.86);
}

.waitlist-form {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.waitlist-form label {
  display: grid;
  gap: 7px;
}

.waitlist-form label span {
  color: #60728b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.waitlist-form input {
  min-height: 46px;
  width: 100%;
  border: 1px solid rgba(91, 151, 255, 0.2);
  border-radius: 14px;
  background: rgba(250, 253, 255, 0.68);
  color: #10203b;
  padding: 0 14px;
  font: inherit;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.waitlist-form input:focus {
  border-color: rgba(36, 102, 217, 0.42);
  box-shadow: 0 0 0 4px rgba(36, 102, 217, 0.12);
}

.waitlist-form input[aria-invalid="true"] {
  border-color: rgba(180, 67, 85, 0.5);
  box-shadow: 0 0 0 4px rgba(180, 67, 85, 0.12);
}

.waitlist-form input:disabled,
.waitlist-form button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.waitlist-form input::placeholder {
  color: #8193aa;
}

.form-help {
  margin: -2px 0 0;
  color: #60728b;
  font-size: 13px;
  line-height: 1.45;
}

.form-note {
  min-height: 18px;
  margin: 0;
  color: #60728b;
  font-size: 13px;
  line-height: 1.35;
}

.form-note.success {
  color: #116f88;
}

.form-note.error {
  color: #b44355;
}

.memory-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 18px;
  padding: 24px;
  border: 1px solid rgba(91, 151, 255, 0.2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 20%, rgba(91, 151, 255, 0.16), transparent 34%),
    rgba(250, 253, 255, 0.58);
  box-shadow: 0 18px 48px rgba(63, 116, 196, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(24px) saturate(1.2);
  animation: pricing-rise-in 0.68s cubic-bezier(0.22, 1, 0.36, 1) 0.46s both;
}

.memory-panel h2 {
  margin: 0;
  color: #10203b;
  font-family: 'Iowan Old Style', 'Palatino Linotype', serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.memory-copy {
  margin: 0;
  color: #60728b;
  font-size: 16px;
  line-height: 1.65;
}

.memory-points {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.memory-points li {
  position: relative;
  padding-left: 18px;
  color: #28466f;
  font-size: 14px;
  line-height: 1.4;
}

.memory-points li::before {
  content: '';
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #2466d9;
  box-shadow: 0 0 0 5px rgba(91, 151, 255, 0.12);
}

.pricing-footnote {
  margin: 28px auto 0;
  text-align: center;
  color: #60728b;
  font-size: 14px;
  animation: pricing-rise-in 0.58s cubic-bezier(0.22, 1, 0.36, 1) 0.56s both;
}

@keyframes pricing-route-wash {
  0% { opacity: 1; transform: translateX(-18%); }
  64% { opacity: 0.5; }
  100% { opacity: 0; transform: translateX(28%); }
}

@keyframes pricing-drop-in {
  from { opacity: 0; transform: translateY(-10px); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes pricing-rise-in {
  from { opacity: 0; transform: translateY(18px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes pricing-card-rise {
  from { opacity: 0; transform: translateY(22px) scale(0.985); filter: blur(9px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes pricing-featured-card-rise {
  from { opacity: 0; transform: translateY(12px) scale(0.985); filter: blur(9px); }
  to { opacity: 1; transform: translateY(-14px) scale(1); filter: blur(0); }
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 9%, rgba(91, 151, 255, 0.28), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(111, 205, 255, 0.26), transparent 28%),
    radial-gradient(ellipse at 48% 58%, rgba(255, 255, 255, 0.92), transparent 38%),
    linear-gradient(138deg, #eaf4ff 0%, #f9fcff 46%, #e4f3ff 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(36, 102, 217, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 102, 217, 0.04) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(36, 102, 217, 0.08) 0 1px, transparent 2px);
  background-size: 42px 42px, 42px 42px, 168px 168px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

body::after {
  background:
    linear-gradient(112deg, transparent 16%, rgba(255, 255, 255, 0.78) 40%, rgba(91, 151, 255, 0.16) 50%, transparent 72%),
    radial-gradient(circle at 18% 34%, rgba(36, 102, 217, 0.16), transparent 28%);
  transform: translateX(-26%) rotate(7deg);
  animation: pricing-memory-wash 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pricing-page {
  width: min(1220px, calc(100% - 36px));
  padding: 18px 0 58px;
  z-index: 0;
}

.pricing-page::before,
.pricing-page::after {
  content: '';
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border: 1px solid rgba(36, 102, 217, 0.08);
  background: radial-gradient(circle at 38% 36%, rgba(91, 151, 255, 0.14), transparent 62%);
  filter: blur(0.2px);
}

.pricing-page::before {
  top: 18vh;
  right: -10vw;
  width: 36vw;
  height: 36vw;
  min-width: 360px;
  min-height: 360px;
  border-radius: 44% 56% 52% 48%;
  animation: pricing-coral-drift 13s ease-in-out infinite alternate;
}

.pricing-page::after {
  left: -9vw;
  bottom: 6vh;
  width: 28vw;
  height: 28vw;
  min-width: 260px;
  min-height: 260px;
  border-radius: 58% 42% 46% 54%;
  opacity: 0.72;
  animation: pricing-coral-drift 16s ease-in-out infinite alternate-reverse;
}

.pricing-nav {
  position: sticky;
  top: 14px;
  z-index: 5;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(91, 151, 255, 0.18);
  border-radius: 999px;
  background: rgba(248, 252, 255, 0.66);
  box-shadow: 0 18px 50px rgba(52, 102, 174, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(22px) saturate(1.16);
  margin-bottom: clamp(24px, 4vw, 46px);
}

.brand-link {
  font-weight: 500;
}

.brand-logo {
  filter: drop-shadow(0 10px 24px rgba(36, 102, 217, 0.14));
}

.nav-link {
  background: rgba(250, 253, 255, 0.66);
  backdrop-filter: blur(18px) saturate(1.14);
  box-shadow: 0 14px 36px rgba(63, 116, 196, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.pricing-hero {
  position: relative;
  max-width: 780px;
  margin-bottom: clamp(26px, 3.4vw, 42px);
}

.pricing-hero::before {
  content: '';
  position: absolute;
  inset: -24px -20vw -22px -28px;
  z-index: -1;
  border: 1px solid rgba(91, 151, 255, 0.11);
  border-radius: 48px 999px 999px 48px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.84), transparent 30%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.32), rgba(231, 242, 255, 0.22));
  box-shadow: 0 30px 96px rgba(63, 116, 196, 0.08);
  backdrop-filter: blur(18px);
}

.pricing-hero h1 {
  max-width: 860px;
  font-size: clamp(40px, 4.8vw, 60px);
  line-height: 0.94;
  text-wrap: balance;
  text-shadow: 0 18px 48px rgba(63, 116, 196, 0.1);
}

.hero-copy {
  max-width: 640px;
  margin-top: 16px;
  font-size: clamp(15px, 1.55vw, 17px);
  line-height: 1.52;
}

.eyebrow,
.plan-topline {
  color: #2f78db;
  font-weight: 800;
}

.plan-grid {
  position: relative;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.12fr) minmax(0, 0.98fr);
  gap: 18px;
  align-items: stretch;
}

.plan-grid::before {
  content: '';
  position: absolute;
  inset: 7% -28px auto -28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(36, 102, 217, 0.18), transparent);
  transform: rotate(-1.2deg);
}

.plan-card {
  position: relative;
  min-height: 500px;
  padding: 20px;
  overflow: hidden;
  border-color: rgba(91, 151, 255, 0.17);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(239, 248, 255, 0.62)),
    rgba(250, 253, 255, 0.62);
  box-shadow: 0 26px 86px rgba(63, 116, 196, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.plan-card::before,
.plan-card::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.plan-card::before {
  inset: -1px;
  background:
    radial-gradient(circle at 18% 0%, rgba(91, 151, 255, 0.2), transparent 28%),
    linear-gradient(118deg, transparent 35%, rgba(255, 255, 255, 0.52), transparent 55%);
  opacity: 0.52;
  transform: translateX(-24%);
  transition: transform 0.42s ease, opacity 0.24s ease;
}

.plan-card::after {
  right: 22px;
  bottom: 22px;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(36, 102, 217, 0.11);
  border-radius: 45% 55% 52% 48%;
  background: radial-gradient(circle, rgba(36, 102, 217, 0.14) 0 2px, transparent 3px), radial-gradient(circle, rgba(91, 151, 255, 0.08), transparent 62%);
  background-size: 20px 20px, auto;
  opacity: 0.62;
}

.plan-card > * {
  position: relative;
  z-index: 1;
}

.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(36, 102, 217, 0.3);
  box-shadow: 0 34px 104px rgba(63, 116, 196, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.plan-card:hover::before {
  opacity: 0.84;
  transform: translateX(18%);
}

.plan-card.featured {
  min-height: 528px;
  border-color: rgba(36, 102, 217, 0.34);
  border-radius: 38px 38px 24px 38px;
  background:
    radial-gradient(circle at 84% 0%, rgba(91, 151, 255, 0.28), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(231, 242, 255, 0.72));
  box-shadow: 0 34px 110px rgba(36, 102, 217, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.plan-free {
  transform: translateY(10px) rotate(-0.4deg);
}

.plan-team {
  transform: translateY(10px) rotate(0.35deg);
}

.plan-free:hover,
.plan-team:hover {
  transform: translateY(4px) rotate(0deg);
}

.plan-card h2 {
  font-size: 34px;
}

.price {
  margin-top: 10px;
  font-size: 28px;
  color: #245cae;
}

.plan-copy {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.42;
}

.feature-list {
  gap: 9px;
  margin: 18px 0;
}

.feature-list li {
  font-size: 13px;
  line-height: 1.28;
}

.feature-list li::before {
  top: 0.48em;
  width: 8px;
  height: 8px;
  box-shadow: 0 0 0 5px rgba(91, 151, 255, 0.1), 0 0 18px rgba(91, 151, 255, 0.44);
}

.plan-cta,
.waitlist-form button {
  background: linear-gradient(135deg, rgba(226, 240, 255, 0.86), rgba(244, 250, 255, 0.74));
  box-shadow: 0 14px 34px rgba(63, 116, 196, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.featured .waitlist-form button {
  border-color: rgba(36, 102, 217, 0.34);
  background: linear-gradient(135deg, #2466d9, #3b8ee8);
  color: #ffffff;
  box-shadow: 0 18px 44px rgba(36, 102, 217, 0.22);
}

.waitlist-form input {
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(12px);
}

.waitlist-form {
  gap: 9px;
}

.waitlist-form input,
.waitlist-form button,
.plan-cta {
  min-height: 42px;
}

.memory-panel {
  position: relative;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr);
  margin-top: 30px;
  padding: 30px;
  overflow: hidden;
  border-color: rgba(91, 151, 255, 0.18);
  border-radius: 34px 34px 34px 18px;
  background:
    radial-gradient(circle at 12% 20%, rgba(91, 151, 255, 0.18), transparent 34%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.72), rgba(238, 248, 255, 0.56));
}

.memory-panel::before {
  content: '';
  position: absolute;
  right: 28px;
  top: 22px;
  width: min(42%, 420px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(36, 102, 217, 0.24), transparent);
  transform: rotate(-2deg);
}

.memory-panel h2 {
  text-wrap: balance;
}

.pricing-footnote {
  margin-top: 34px;
}

@keyframes pricing-memory-wash {
  0% { opacity: 1; transform: translateX(-26%) rotate(7deg); }
  70% { opacity: 0.46; }
  100% { opacity: 0; transform: translateX(32%) rotate(7deg); }
}

@keyframes pricing-coral-drift {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(-3vw, 3vh, 0) rotate(10deg); }
}

@media (max-width: 900px) {
  .pricing-nav {
    margin-bottom: 54px;
  }

  .plan-grid {
    grid-template-columns: 1fr;
  }

  .memory-panel {
    grid-template-columns: 1fr;
  }

  .plan-card,
  .plan-card.featured {
    min-height: auto;
    animation-name: pricing-card-rise;
    transform: none;
  }
}

@media (max-width: 560px) {
  .pricing-page {
    width: min(100% - 22px, 1180px);
    padding-top: 14px;
  }

  .brand-link,
  .nav-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .pricing-nav {
    align-items: flex-start;
  }

  .brand-link span {
    max-width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pricing-hero h1 {
    font-size: 48px;
  }

  .plan-card {
    padding: 20px;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  body::after {
    content: none;
  }
}

/* ---------- Dark mode ---------- */

html[data-color-mode="dark"] body {
  color: #edf5ff;
  background:
    radial-gradient(circle at 16% 10%, rgba(74, 132, 244, 0.2), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(116, 210, 255, 0.12), transparent 32%),
    linear-gradient(140deg, #07101d 0%, #0c1726 52%, #060b13 100%);
}

html[data-color-mode="dark"] body::before {
  background-image:
    linear-gradient(rgba(139, 189, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 189, 255, 0.05) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

html[data-color-mode="dark"] body::after {
  background: none;
}

html[data-color-mode="dark"] .brand-link,
html[data-color-mode="dark"] .pricing-hero h1,
html[data-color-mode="dark"] .plan-card h2,
html[data-color-mode="dark"] .memory-panel h2,
html[data-color-mode="dark"] .feature-list strong {
  color: #eaf3ff;
}

html[data-color-mode="dark"] .nav-link,
html[data-color-mode="dark"] .hero-proof li,
html[data-color-mode="dark"] .plan-card,
html[data-color-mode="dark"] .memory-panel,
html[data-color-mode="dark"] .pricing-nav {
  border-color: rgba(139, 189, 255, 0.2);
  background: rgba(14, 25, 42, 0.82);
  color: #d9ebff;
  box-shadow: 0 24px 76px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

html[data-color-mode="dark"] .plan-card.featured {
  border-color: rgba(139, 189, 255, 0.34);
  background: rgba(20, 36, 58, 0.9);
}

html[data-color-mode="dark"] .hero-copy,
html[data-color-mode="dark"] .plan-copy,
html[data-color-mode="dark"] .form-help,
html[data-color-mode="dark"] .form-note,
html[data-color-mode="dark"] .pricing-footnote,
html[data-color-mode="dark"] .memory-copy,
html[data-color-mode="dark"] .subtitle {
  color: #99acc4;
}

html[data-color-mode="dark"] .eyebrow,
html[data-color-mode="dark"] .plan-topline {
  color: #8bbdff;
}

html[data-color-mode="dark"] .price {
  color: #b9d8ff;
}

html[data-color-mode="dark"] .price span,
html[data-color-mode="dark"] .feature-list li,
html[data-color-mode="dark"] .hero-proof li,
html[data-color-mode="dark"] .memory-points li {
  color: #99acc4;
}

html[data-color-mode="dark"] .waitlist-form label span {
  color: #8bbdff;
}

html[data-color-mode="dark"] .waitlist-form input {
  border-color: rgba(139, 189, 255, 0.22);
  background: rgba(14, 25, 42, 0.82);
  color: #edf5ff;
}

html[data-color-mode="dark"] .waitlist-form input::placeholder {
  color: #6b7e97;
}

html[data-color-mode="dark"] .plan-cta,
html[data-color-mode="dark"] .plan-cta.secondary,
html[data-color-mode="dark"] .waitlist-form button {
  border-color: rgba(139, 189, 255, 0.3);
  background: rgba(20, 36, 58, 0.86);
  color: #b9d8ff;
}

html[data-color-mode="dark"] .plan-cta:hover,
html[data-color-mode="dark"] .waitlist-form button:hover {
  border-color: rgba(139, 189, 255, 0.5);
  background: rgba(31, 52, 82, 0.9);
  color: #ffffff;
}

html[data-color-mode="dark"] .featured .waitlist-form button {
  border-color: rgba(139, 189, 255, 0.5);
  background: linear-gradient(135deg, #315aa4, #3b7ce8 58%, #63b7ff);
  color: #ffffff;
}

html[data-color-mode="dark"] .feature-list li::before {
  background: #8bbdff;
  box-shadow: 0 0 14px rgba(139, 189, 255, 0.3);
}

html[data-color-mode="dark"] .memory-points li::before {
  background: #8bbdff;
}

html[data-color-mode="dark"] .brand-logo {
  filter: drop-shadow(0 0 10px rgba(139, 189, 255, 0.2));
}

html[data-color-mode="dark"] .pricing-page::before,
html[data-color-mode="dark"] .pricing-page::after {
  border-color: rgba(139, 189, 255, 0.06);
  background: radial-gradient(circle at 38% 36%, rgba(139, 189, 255, 0.08), transparent 62%);
}

html[data-color-mode="dark"] .plan-card::before {
  background:
    radial-gradient(circle at 18% 0%, rgba(139, 189, 255, 0.16), transparent 28%),
    linear-gradient(118deg, transparent 35%, rgba(139, 189, 255, 0.12), transparent 55%);
  opacity: 0.32;
}

html[data-color-mode="dark"] .plan-card::after {
  border-color: rgba(139, 189, 255, 0.08);
  background: radial-gradient(circle, rgba(139, 189, 255, 0.1) 0 2px, transparent 3px), radial-gradient(circle, rgba(139, 189, 255, 0.06), transparent 62%);
}

html[data-color-mode="dark"] .plan-card:hover {
  border-color: rgba(139, 189, 255, 0.3);
  box-shadow: 0 34px 104px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

html[data-color-mode="dark"] .memory-panel::before {
  background: linear-gradient(90deg, transparent, rgba(139, 189, 255, 0.2), transparent);
}

html[data-color-mode="dark"] .pricing-hero::before {
  border-color: rgba(139, 189, 255, 0.08);
  background:
    radial-gradient(circle at 18% 18%, rgba(20, 34, 54, 0.6), transparent 30%),
    linear-gradient(115deg, rgba(14, 25, 42, 0.3), rgba(20, 36, 58, 0.2));
  box-shadow: 0 30px 96px rgba(0, 0, 0, 0.2);
}

html[data-color-mode="dark"] .plan-grid::before {
  background: linear-gradient(90deg, transparent, rgba(139, 189, 255, 0.12), transparent);
}
