/*
CONFIG / REPLACE BEFORE PRODUCTION
Runtime text/link placeholders are centralized in script.js.
Design tokens live below for easy branding changes.
*/

:root {
  --bg: #07111f;
  --bg-deep: #050b16;
  --surface: #141a31;
  --surface-2: #10172a;
  --surface-3: #0d1427;
  --blue: #3485ff;
  --blue-2: #255ce9;
  --purple: #7058ff;
  --green: #14c995;
  --cyan: #37d8ff;
  --text: #ffffff;
  --muted: #aeb5c7;
  --muted-2: #7f8ba6;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(82, 143, 255, 0.28);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --glow: 0 20px 70px rgba(52, 133, 255, 0.18);
  --radius: 24px;
  --radius-sm: 18px;
  --shell: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(52, 133, 255, 0.08), transparent 32rem),
    radial-gradient(circle at 85% 12%, rgba(112, 88, 255, 0.08), transparent 30rem),
    var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3,
ul {
  margin-top: 0;
}

p:last-child,
ul:last-child {
  margin-bottom: 0;
}

::selection {
  color: #fff;
  background: rgba(52, 133, 255, 0.7);
}

:focus-visible {
  outline: 3px solid rgba(55, 216, 255, 0.95);
  outline-offset: 4px;
  border-radius: 10px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: #06101e;
  font-weight: 800;
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 108px 0;
}

.section-first {
  padding-top: calc(var(--header-height) + 86px);
}

.section-tinted {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(20, 26, 49, 0.62), rgba(10, 17, 34, 0.44));
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(7, 17, 31, 0.64);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(7, 17, 31, 0.9);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  font-weight: 830;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  filter: drop-shadow(0 8px 18px rgba(52, 133, 255, 0.28));
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-name {
  font-size: 1.04rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #cbd2e2;
  font-size: 0.93rem;
  font-weight: 650;
}

.site-nav > a:not(.button) {
  position: relative;
  padding: 10px 0;
  transition: color 0.18s ease;
}

.site-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.site-nav > a:not(.button):hover,
.site-nav > a:not(.button).active,
.site-nav > a:not(.button)[aria-current="page"] {
  color: #fff;
}

.site-nav > a:not(.button):hover::after,
.site-nav > a:not(.button).active::after,
.site-nav > a:not(.button)[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 99px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(111, 154, 255, 0.48);
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #3b8cff, #255ce9 54%, #6a4fff);
  box-shadow: 0 10px 28px rgba(45, 102, 232, 0.24);
  font-weight: 780;
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(45, 102, 232, 0.3);
  filter: brightness(1.05);
}

.button:active {
  transform: translateY(0);
}

.button-small {
  min-height: 42px;
  padding-inline: 17px;
  border-radius: 12px;
  font-size: 0.9rem;
}

.button-large {
  min-height: 56px;
  padding-inline: 26px;
}

.button-secondary {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.button-icon {
  margin-right: 9px;
  font-size: 0.82em;
}

.full-width {
  width: 100%;
}

.hero {
  min-height: 820px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #77aaff;
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(20, 201, 149, 0.75);
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw, 5.65rem);
  font-weight: 900;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 860;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(100deg, #65bcff 0%, #428aff 38%, #866fff 76%, #b493ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: #c1c8d8;
  font-size: clamp(1.03rem, 1.7vw, 1.23rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.microcopy {
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 0.86rem;
}

.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.orb-a {
  top: 100px;
  right: -220px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(52, 133, 255, 0.18), transparent 65%);
}

.orb-b {
  bottom: -240px;
  left: -200px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(112, 88, 255, 0.12), transparent 68%);
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 610px;
  place-items: center;
}

.phone-glow {
  position: absolute;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 133, 255, 0.22), rgba(112, 88, 255, 0.07) 46%, transparent 68%);
  filter: blur(14px);
}

.phone {
  position: relative;
  width: min(100%, 370px);
  padding: 11px;
  border: 1px solid rgba(136, 166, 235, 0.25);
  border-radius: 42px;
  background: linear-gradient(145deg, #192038, #0c1222 64%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), 0 0 60px rgba(52, 133, 255, 0.13);
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
}

.phone::before {
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 40px;
  content: "";
  pointer-events: none;
}

.phone-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 16px;
  place-items: center;
}

.phone-speaker {
  width: 72px;
  height: 5px;
  border-radius: 999px;
  background: #080d19;
}

.phone-screen {
  min-height: 580px;
  padding: 18px;
  overflow: hidden;
  border-radius: 31px;
  background:
    radial-gradient(circle at 70% 0%, rgba(52, 133, 255, 0.11), transparent 260px),
    #090f1e;
}

.app-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.mini-logo {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(79, 148, 255, 0.26);
  border-radius: 12px;
  color: #9cccff;
  background: linear-gradient(145deg, rgba(52, 133, 255, 0.2), rgba(112, 88, 255, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.app-bar strong,
.app-bar small {
  display: block;
}

.app-bar strong {
  font-size: 0.96rem;
}

.app-bar small {
  margin-top: 1px;
  color: var(--muted-2);
  font-size: 0.72rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(20, 201, 149, 0.7);
}

.conversation {
  padding-top: 24px;
}

.chat-label {
  margin: 0 0 7px 4px;
  color: var(--muted-2);
  font-size: 0.7rem;
  font-weight: 760;
  text-transform: uppercase;
}

.chat-label-ai {
  margin-top: 20px;
  color: #75aaff;
}

.bubble {
  padding: 15px 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  color: #d7dce8;
  font-size: 0.9rem;
  line-height: 1.5;
}

.bubble-user {
  margin-left: 32px;
  border-bottom-right-radius: 6px;
  background: #171e34;
}

.bubble-ai {
  position: relative;
  margin-right: 20px;
  padding-left: 40px;
  border-color: rgba(77, 143, 255, 0.2);
  border-bottom-left-radius: 6px;
  background: linear-gradient(135deg, rgba(52, 133, 255, 0.13), rgba(112, 88, 255, 0.08));
}

.sparkle {
  position: absolute;
  top: 14px;
  left: 15px;
  color: #77aaff;
}

.tool-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  width: calc(100% - 20px);
  margin-top: 14px;
  padding: 13px;
  border: 1px solid rgba(60, 138, 255, 0.25);
  border-radius: 17px;
  text-align: left;
  background: rgba(24, 36, 64, 0.9);
}

.tool-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  color: #a4d5ff;
  background: linear-gradient(145deg, rgba(52, 133, 255, 0.28), rgba(112, 88, 255, 0.18));
  font-size: 1.35rem;
}

.tool-card strong,
.tool-card small {
  display: block;
}

.tool-card strong {
  margin-bottom: 2px;
  font-size: 0.83rem;
}

.tool-card small {
  color: var(--muted-2);
  font-size: 0.67rem;
}

.tool-arrow {
  color: #79aaff;
  font-size: 1.15rem;
}

.ai-badge {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: 20px;
  padding: 7px 10px;
  border: 1px solid rgba(112, 88, 255, 0.2);
  border-radius: 99px;
  color: #a9a2ff;
  background: rgba(112, 88, 255, 0.08);
  font-size: 0.7rem;
  font-weight: 730;
}

.section-heading {
  max-width: 660px;
}

.section-heading > p {
  color: var(--muted);
  font-size: 1.03rem;
}

.section-heading.centered {
  margin: 0 auto 44px;
  text-align: center;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.mini-card,
.step-card,
.price-card,
.legal-card {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(20, 26, 49, 0.92), rgba(11, 18, 34, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.feature-card {
  min-height: 245px;
  padding: 28px;
  border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(73, 139, 255, 0.22);
  box-shadow: var(--glow);
}

.feature-card p,
.mini-card p,
.step-card p,
.price-card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.icon-box {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 26px;
  place-items: center;
  border: 1px solid rgba(65, 142, 255, 0.28);
  border-radius: 15px;
  color: #8fc5ff;
  background: linear-gradient(145deg, rgba(52, 133, 255, 0.2), rgba(37, 92, 233, 0.08));
  box-shadow: 0 10px 30px rgba(52, 133, 255, 0.12);
  font-size: 1.22rem;
}

.icon-purple {
  color: #b0a6ff;
  border-color: rgba(112, 88, 255, 0.3);
  background: rgba(112, 88, 255, 0.12);
}

.icon-green {
  color: #70e8c5;
  border-color: rgba(20, 201, 149, 0.28);
  background: rgba(20, 201, 149, 0.11);
}

.icon-cyan {
  color: #7ceaff;
  border-color: rgba(55, 216, 255, 0.27);
  background: rgba(55, 216, 255, 0.1);
}

.compact-card {
  min-height: 290px;
  padding: 24px;
}

.compact-card .icon-box {
  margin-bottom: 22px;
}

.text-links {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  color: #79aaff;
  font-size: 0.84rem;
  font-weight: 740;
}

.text-links a:hover {
  color: #fff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 46px;
}

.step-card {
  position: relative;
  min-height: 245px;
  padding: 28px 22px 24px;
  overflow: hidden;
  border-radius: var(--radius);
}

.step-card:not(:last-child)::after {
  position: absolute;
  top: 38px;
  right: -13px;
  z-index: 3;
  width: 26px;
  height: 1px;
  background: rgba(89, 145, 255, 0.4);
  content: "";
}

.step-number {
  display: inline-block;
  margin-bottom: 42px;
  color: #6d9cff;
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.09em;
}

.step-example {
  display: inline-block;
  margin-top: 4px;
  padding: 8px 10px;
  border-radius: 10px;
  color: #d8e8ff !important;
  background: rgba(52, 133, 255, 0.09);
  font-style: italic;
}

.split-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mini-card {
  min-height: 210px;
  padding: 22px;
  border-radius: 21px;
}

.mini-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.pill {
  padding: 5px 9px;
  border: 1px solid rgba(52, 133, 255, 0.18);
  border-radius: 99px;
  color: #8fc1ff;
  background: rgba(52, 133, 255, 0.08);
  font-size: 0.67rem;
  font-weight: 780;
}

.pill-purple {
  color: #b2a8ff;
  border-color: rgba(112, 88, 255, 0.2);
  background: rgba(112, 88, 255, 0.1);
}

.pill-green {
  color: #65e4bd;
  border-color: rgba(20, 201, 149, 0.2);
  background: rgba(20, 201, 149, 0.08);
}

.wave {
  color: #5fa0ff;
  font-size: 1.7rem;
}

.notice {
  display: flex;
  gap: 11px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 197, 96, 0.16);
  border-radius: 16px;
  color: #c4cad8;
  background: rgba(255, 180, 70, 0.045);
  font-size: 0.86rem;
}

.notice strong {
  flex: 0 0 auto;
  color: #f1c47f;
}

.compact-notice {
  margin-top: 28px;
}

.test-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.test-chip {
  display: flex;
  min-height: 116px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 16px 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  color: #d8deea;
  background: rgba(12, 20, 38, 0.74);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 730;
}

.test-chip span {
  color: #6da8ff;
  font-size: 1.5rem;
}

.center-note {
  margin: 22px auto 0;
  color: var(--muted-2);
  text-align: center;
  font-size: 0.82rem;
}

.toolkit-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(46px, 8vw, 96px);
  align-items: center;
}

.toolkit-panel {
  padding: 30px;
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(52, 133, 255, 0.12), transparent 270px),
    linear-gradient(145deg, #111b34, #0b1222);
  box-shadow: var(--shadow), var(--glow);
}

.frequency-visual {
  display: flex;
  height: 220px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 12px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 20px;
  background: rgba(5, 11, 22, 0.52);
}

.frequency-visual span {
  width: 8px;
  height: var(--h);
  border-radius: 999px;
  background: linear-gradient(180deg, #63beff, #3a83ff 55%, #7459ff);
  box-shadow: 0 0 18px rgba(52, 133, 255, 0.25);
}

.frequency-readout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 14px;
}

.frequency-readout span {
  color: var(--muted);
  font-size: 0.85rem;
}

.frequency-readout strong {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

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

.waveform-tabs span {
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted-2);
  background: rgba(255, 255, 255, 0.025);
  text-align: center;
  font-size: 0.75rem;
}

.waveform-tabs span.active {
  color: #b9d7ff;
  border-color: rgba(52, 133, 255, 0.3);
  background: rgba(52, 133, 255, 0.09);
}

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

.check-list li {
  position: relative;
  padding-left: 27px;
  color: #c4cad7;
}

.check-list li::before {
  position: absolute;
  top: 0.24em;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid rgba(20, 201, 149, 0.24);
  border-radius: 50%;
  color: #5de1b8;
  background: rgba(20, 201, 149, 0.08);
  content: "✓";
  font-size: 0.65rem;
  font-weight: 900;
}

.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  min-height: 480px;
  padding: 32px;
  overflow: hidden;
  border-radius: 26px;
}

.price-card-pro {
  border-color: rgba(82, 143, 255, 0.32);
  box-shadow: 0 30px 80px rgba(33, 90, 210, 0.16);
}

.pro-glow {
  position: absolute;
  top: -160px;
  right: -110px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(80, 131, 255, 0.24), transparent 68%);
  pointer-events: none;
}

.price-card-header {
  position: relative;
  z-index: 1;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.price-card .check-list {
  margin: 26px 0 30px;
}

.plan-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 99px;
  color: #c6cbd7;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.7rem;
  font-weight: 830;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plan-label-pro {
  color: #a9caff;
  border-color: rgba(52, 133, 255, 0.28);
  background: rgba(52, 133, 255, 0.1);
}

.section-safety {
  padding-top: 60px;
  padding-bottom: 60px;
}

.safety-box {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding: 28px;
  border: 1px solid rgba(255, 189, 89, 0.17);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(81, 55, 23, 0.22), rgba(25, 23, 27, 0.48));
}

.safety-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 193, 92, 0.22);
  border-radius: 14px;
  color: #f3c77d;
  background: rgba(255, 180, 70, 0.08);
  font-weight: 900;
}

.safety-box h2 {
  margin-bottom: 14px;
  font-size: 1.42rem;
}

.safety-box ul {
  margin: 0;
  padding-left: 20px;
  color: #b9bfcc;
  font-size: 0.9rem;
}

.safety-box li + li {
  margin-top: 5px;
}

.final-cta {
  padding-top: 90px;
  padding-bottom: 110px;
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(32px, 6vw, 68px);
  border: 1px solid rgba(77, 143, 255, 0.24);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(112, 88, 255, 0.16), transparent 300px),
    radial-gradient(circle at 0% 100%, rgba(52, 133, 255, 0.12), transparent 340px),
    linear-gradient(145deg, #131c34, #0b1325);
  box-shadow: var(--shadow), var(--glow);
}

.final-cta h2 {
  margin-bottom: 12px;
}

.final-cta p {
  color: var(--muted);
}

.site-footer {
  padding: 62px 0 26px;
  border-top: 1px solid var(--border);
  background: #050b15;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 42px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-copy {
  max-width: 420px;
  color: var(--muted-2);
  font-size: 0.88rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px 28px;
  color: #bec5d4;
  font-size: 0.88rem;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #6f798f;
  font-size: 0.75rem;
}

/* Legal pages */
.legal-main {
  min-height: 70vh;
}

.legal-hero {
  padding: calc(var(--header-height) + 82px) 0 62px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 70% 20%, rgba(52, 133, 255, 0.11), transparent 340px),
    linear-gradient(180deg, rgba(18, 26, 50, 0.54), rgba(7, 17, 31, 0.08));
}

.legal-shell {
  max-width: 1080px;
}

.legal-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(2.6rem, 6vw, 4.7rem);
}

.legal-date {
  margin-bottom: 26px;
  color: #7f8aa2;
  font-size: 0.88rem;
}

.legal-intro {
  max-width: 800px;
  color: #bdc4d4;
  font-size: 1.04rem;
}

.legal-section {
  padding: 56px 0 100px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 4px;
  max-height: calc(100vh - var(--header-height) - 48px);
  padding: 18px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(14, 21, 39, 0.74);
  scrollbar-width: thin;
}

.legal-toc strong {
  margin-bottom: 8px;
  color: #dce1eb;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.legal-toc a {
  padding: 7px 9px;
  border-radius: 9px;
  color: #8792aa;
  font-size: 0.78rem;
}

.legal-toc a:hover {
  color: #e5e9f2;
  background: rgba(255, 255, 255, 0.04);
}

.legal-card {
  padding: clamp(26px, 5vw, 50px);
  border-radius: 26px;
}

.legal-card section {
  scroll-margin-top: calc(var(--header-height) + 30px);
}

.legal-card section + section {
  margin-top: 42px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.legal-card h2 {
  margin-bottom: 15px;
  font-size: clamp(1.42rem, 2.2vw, 1.85rem);
  letter-spacing: -0.03em;
}

.legal-card h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 1rem;
  letter-spacing: -0.015em;
}

.legal-card p,
.legal-card li {
  color: #b7bfce;
  font-size: 0.93rem;
}

.legal-card p {
  margin-bottom: 15px;
}

.legal-card ul {
  padding-left: 22px;
}

.legal-card li + li {
  margin-top: 7px;
}

.legal-card a:not(.button) {
  color: #78aaff;
  text-decoration: underline;
  text-decoration-color: rgba(120, 170, 255, 0.3);
  text-underline-offset: 3px;
}

.legal-card a:not(.button):hover {
  color: #b8d2ff;
}

.prominent-legal {
  padding: 26px;
  border: 1px solid rgba(255, 182, 75, 0.2) !important;
  border-radius: 20px;
  background: rgba(255, 173, 52, 0.045);
}

.prominent-legal + section {
  margin-top: 42px !important;
}

.contact-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.contact-box strong {
  color: #fff;
}

.legal-back {
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.52s ease, transform 0.52s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .four-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-card:not(:last-child)::after {
    display: none;
  }

  .test-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .section {
    padding: 84px 0;
  }

  .section-first {
    padding-top: calc(var(--header-height) + 58px);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: flex;
    height: calc(100dvh - var(--header-height));
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 20px;
    visibility: hidden;
    background: rgba(6, 13, 25, 0.98);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }

  .site-nav.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav > a:not(.button) {
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .site-nav > a:not(.button)::after {
    display: none;
  }

  .site-nav > a:not(.button):hover,
  .site-nav > a:not(.button).active,
  .site-nav > a:not(.button)[aria-current="page"] {
    background: rgba(255, 255, 255, 0.045);
  }

  .site-nav .button {
    margin-top: 10px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split-layout,
  .toolkit-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
    text-align: center;
  }

  .hero-copy .eyebrow,
  .hero-actions {
    justify-content: center;
  }

  .hero-lead,
  .microcopy {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-visual {
    min-height: 600px;
  }

  .phone {
    transform: none;
  }

  .section-heading:not(.centered) {
    max-width: 720px;
  }

  .three-up {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .split-layout,
  .toolkit-layout {
    gap: 42px;
  }

  .final-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: relative;
    top: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
  }

  .legal-toc strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .section {
    padding: 70px 0;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4.2rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 540px;
  }

  .phone {
    width: min(100%, 346px);
  }

  .phone-screen {
    min-height: 535px;
    padding: 15px;
  }

  .four-up,
  .steps,
  .tool-grid,
  .pricing-grid,
  .test-strip {
    grid-template-columns: 1fr;
  }

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

  .test-chip {
    min-height: 92px;
    flex-direction: row;
  }

  .frequency-visual {
    height: 190px;
    gap: 7px;
  }

  .frequency-visual span {
    width: 6px;
  }

  .price-card {
    min-height: auto;
    padding: 26px;
  }

  .notice,
  .safety-box {
    grid-template-columns: 1fr;
  }

  .notice {
    display: block;
  }

  .notice strong {
    display: block;
    margin-bottom: 4px;
  }

  .safety-box {
    display: grid;
  }

  .final-cta {
    padding-bottom: 80px;
  }

  .final-cta-inner {
    padding: 30px 24px;
  }

  .final-cta .button {
    width: 100%;
  }

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

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-hero {
    padding-top: calc(var(--header-height) + 58px);
  }

  .legal-section {
    padding-top: 32px;
  }

  .legal-toc {
    grid-template-columns: 1fr;
  }

  .legal-card {
    padding: 24px 20px;
  }
}

@media (max-width: 390px) {
  .shell {
    width: min(calc(100% - 22px), var(--shell));
  }

  .brand-name {
    font-size: 0.96rem;
  }

  .phone-screen {
    min-height: 510px;
  }

  .bubble {
    font-size: 0.84rem;
  }

  .tool-card {
    width: 100%;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
