/* ==========================================================================
   WP Plugin Rank — marketing site
   Dark ink stage + violet signal, so the light product screenshot is the hero.
   ========================================================================== */

:root {
  --ink: #07080f;
  --bg: #0b0d18;
  --bg-lift: #101324;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.17);

  --text: #f4f5fa;
  --text-2: #bcc1d6;
  --text-3: #8b92ad;

  --violet: #7c6bff;
  --violet-lift: #9d8fff;
  --violet-soft: rgba(124, 107, 255, 0.16);
  --mint: #56d98b;

  --display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --maxw: 1180px;
  --gutter: clamp(1.15rem, 4vw, 3.25rem);
  --radius: 18px;
  --radius-sm: 12px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Atmosphere: layered aurora + hairline grid, fixed behind everything. */
body::before {
  content: "";
  position: fixed;
  inset: -25vh -12vw;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(40rem 30rem at 50% 8%, rgba(139, 122, 255, 0.42), transparent 66%),
    radial-gradient(44rem 32rem at 88% -4%, rgba(124, 107, 255, 0.38), transparent 60%),
    radial-gradient(40rem 30rem at 2% 16%, rgba(86, 66, 224, 0.34), transparent 58%),
    radial-gradient(56rem 42rem at 50% 104%, rgba(124, 107, 255, 0.16), transparent 62%),
    linear-gradient(180deg, #101227 0%, #0c0e1b 38%, var(--bg) 62%, #080a12 100%);
  animation: aurora 34s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(78% 62% at 50% 6%, #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 82%);
  -webkit-mask-image: radial-gradient(78% 62% at 50% 6%, #000 0%, rgba(0, 0, 0, 0.35) 45%, transparent 82%);
}

@keyframes aurora {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2.5%, 1.5%, 0) scale(1.06); }
}

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

a { color: var(--violet-lift); text-decoration: none; }
a:hover { color: #c3b9ff; }

:focus-visible {
  outline: 2px solid var(--violet-lift);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 60;
  padding: 0.65rem 1rem;
  background: var(--violet);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
}

/* --------------------------------------------------------------- typography */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.15rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--violet-lift);
}

.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet));
}

.section-h2 {
  font-size: clamp(1.95rem, 4.3vw, 3rem);
  max-width: 24ch;
}

.lead {
  margin-top: 1.1rem;
  max-width: 56ch;
  color: var(--text-2);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.section {
  position: relative;
  padding: clamp(4.25rem, 9vw, 7.5rem) var(--gutter);
}

.section-hairline { border-top: 1px solid var(--line); }

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.45rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-sm { padding: 0.62rem 1.05rem; font-size: 0.9rem; }

.btn-primary {
  background: linear-gradient(180deg, #8d7cff 0%, #6553f2 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 14px 34px -16px rgba(124, 107, 255, 0.95);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 20px 44px -16px rgba(124, 107, 255, 1);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn svg { width: 1.05rem; height: 1.05rem; }

/* ---------------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 0.95rem var(--gutter);
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-stuck {
  background: rgba(8, 10, 20, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--line);
  padding-block: 0.72rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

/* Header lockup: ~20% under the former hero-sized mark, still brand-first.
   .auth-top uses the same default size (auth header is not sticky). */
.nav > .nav-brand,
.auth-top > .nav-brand {
  gap: 0.55rem;
  font-size: clamp(1.04rem, 2.24vw, 1.48rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  transition: font-size 0.3s ease, gap 0.3s ease;
}

.nav.is-stuck > .nav-brand {
  gap: 0.48rem;
  font-size: clamp(0.95rem, 2vw, 1.28rem);
}

.nav-brand b { color: var(--violet-lift); font-weight: 700; }
.nav-brand:hover { color: var(--text); }
.brand-word { white-space: nowrap; }

/* The mark stands on its own — no plate, so it reads as a drawn logo. */
.nav-mark {
  display: block;
  width: 1.7rem;
  height: 1.7rem;
  filter: drop-shadow(0 6px 14px rgba(124, 107, 255, 0.45));
}

.nav > .nav-brand .nav-mark,
.auth-top > .nav-brand .nav-mark {
  width: 1.5em;
  height: 1.5em;
  max-width: 2.08rem;
  max-height: 2.08rem;
  filter: drop-shadow(0 12px 26px rgba(124, 107, 255, 0.5));
  transition: max-width 0.3s ease, max-height 0.3s ease, filter 0.3s ease;
}

.nav.is-stuck > .nav-brand .nav-mark {
  max-width: 1.85rem;
  max-height: 1.85rem;
  filter: drop-shadow(0 8px 18px rgba(124, 107, 255, 0.42));
}

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

.nav-links {
  display: flex;
  gap: clamp(0.9rem, 2vw, 1.85rem);
  margin-inline-start: auto;
}

.nav-links a {
  color: var(--text-2);
  font-size: 0.92rem;
  font-weight: 600;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.nav-links + .nav-actions { margin-inline-start: 0; }
.nav-brand + .nav-actions { margin-inline-start: auto; }

.nav-signin {
  color: var(--text-2);
  font-size: 0.92rem;
  font-weight: 600;
}
.nav-signin:hover { color: var(--text); }

/* --------------------------------------------------------------------- hero */

.hero {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: calc(100svh - 4rem);
  /* Extra top air after dropping the hero lockup — H1 still breathes under the larger nav brand. */
  padding-top: clamp(2rem, 6vh, 4.25rem);
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 58rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.1vw, 3.85rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.038em;
}

.hero h1 em {
  font-style: normal;
  color: var(--violet-lift);
}

.hero-sub {
  margin: clamp(0.9rem, 2vh, 1.35rem) auto 0;
  max-width: 46ch;
  color: var(--text-2);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: clamp(1.25rem, 2.8vh, 1.85rem);
}

.hero-note {
  margin-top: 0.9rem;
  font-family: var(--mono);
  font-size: 0.71rem;
  letter-spacing: 0.05em;
  color: var(--text-3);
}

/* Full-bleed product plane: dominant, cropped by the fold. */
.hero-shot {
  position: relative;
  z-index: 1;
  align-self: end;
  width: 100%;
  margin-top: clamp(1.75rem, 4.5vh, 3.25rem);
  max-height: clamp(240px, 48vh, 780px);
  overflow: hidden;
}

.hero-shot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -6%;
  width: min(96%, 1500px);
  height: 60%;
  transform: translateX(-50%);
  background: radial-gradient(60% 60% at 50% 50%, rgba(124, 107, 255, 0.6), transparent 70%);
  filter: blur(46px);
  opacity: 0.75;
  pointer-events: none;
}

.hero-shot::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 88px;
  background: linear-gradient(to top, var(--bg) 12%, rgba(11, 13, 24, 0.72) 55%, transparent);
  pointer-events: none;
}

/* Inset from the viewport edges so the shot breathes. No stroke at all — depth
   comes from the bloom behind it and the fade into the page at the bottom. */
.hero-shot-plane {
  position: relative;
  width: min(96%, 2400px);
  margin-inline: auto;
  border: 0;
  border-radius: 22px 22px 0 0;
  background: #f3f4f8;
  overflow: hidden;
  box-shadow:
    0 -60px 140px -60px rgba(124, 107, 255, 0.5),
    0 30px 80px -34px rgba(0, 0, 0, 0.65);
}

.hero-shot-plane img {
  width: 100%;
  height: auto;
}

/* ------------------------------------------------------------------ pillars */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 3.25rem);
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
}

.pillar { border-top: 1px solid var(--line); padding-top: 1.35rem; }

.pillar-num {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--violet-lift);
}

.pillar h3 { font-size: 1.22rem; margin-bottom: 0.5rem; }
.pillar p { color: var(--text-2); font-size: 0.96rem; }

/* ------------------------------------------------------------------- splits */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
}

.split.is-reversed .split-media { order: -1; }

.steps { list-style: none; margin: 0; padding: 0; }

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.35rem 1.1rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
}

.step:last-child { border-bottom: 1px solid var(--line); }

.step-num {
  grid-row: span 2;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--violet-lift);
  padding-top: 0.28rem;
}

.step h3 { font-size: 1.14rem; }
.step p { color: var(--text-2); font-size: 0.95rem; }

.shot-plane {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #f3f4f8;
  overflow: hidden;
  box-shadow: 0 40px 90px -45px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.shot-plane img { width: 100%; height: auto; }

.shot-plane::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.split-media { position: relative; }

.split-media::before {
  content: "";
  position: absolute;
  inset: 12% -8% -12% 4%;
  background: radial-gradient(55% 55% at 50% 50%, rgba(124, 107, 255, 0.4), transparent 72%);
  filter: blur(48px);
  z-index: -1;
}

.media-caption {
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-3);
  text-transform: uppercase;
}

.check-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  color: var(--text-2);
  font-size: 0.96rem;
}

.check-list li::before {
  content: "✓";
  color: var(--mint);
  font-size: 0.82rem;
  line-height: 1.8;
}

/* ------------------------------------------------------------------- versus */

.versus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.versus > div { padding: clamp(1.5rem, 3vw, 2.4rem); }

.versus > div + div {
  border-left: 1px solid var(--line);
}

.versus-ours {
  background: linear-gradient(170deg, rgba(124, 107, 255, 0.15), rgba(124, 107, 255, 0.03));
}

.versus h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.versus-tag {
  display: block;
  margin-bottom: 1.1rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.versus ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }

.versus li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  color: var(--text-2);
  font-size: 0.95rem;
}

.versus li::before {
  content: "→";
  font-family: var(--mono);
  color: var(--text-3);
  font-size: 0.85rem;
  line-height: 1.7;
}

.versus-ours li::before {
  content: "✓";
  color: var(--mint);
}

/* -------------------------------------------------------------------- plans */

.billing-switch {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.switch {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.switch a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

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

.switch a.is-on {
  color: #fff;
  background: linear-gradient(180deg, #8d7cff 0%, #6553f2 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 28px -16px rgba(124, 107, 255, 0.95);
}

.switch-save {
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(86, 217, 139, 0.16);
  color: var(--mint);
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.switch a.is-on .switch-save { background: rgba(255, 255, 255, 0.18); color: #eafff2; }

.billing-switch-note {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--text-3);
  text-align: center;
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.plan.is-featured {
  border-color: rgba(124, 107, 255, 0.55);
  background: linear-gradient(180deg, rgba(124, 107, 255, 0.17), rgba(255, 255, 255, 0.03) 55%);
  box-shadow: 0 40px 90px -60px rgba(124, 107, 255, 1);
}

.plan-name {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.plan-flag {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/*
 * Price lockup: currency, amount and period are one unit. Each part carries its
 * own class — a bare `.plan-price span` rule used to catch the amount too and
 * drop it to the small mono face.
 */
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.12rem;
  margin: 0.85rem 0 0.2rem;
  font-family: var(--display);
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
}

.plan-currency {
  align-self: flex-start;
  margin-top: 0.28em;
  font-family: inherit;
  font-size: 0.46em;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-2);
}

.plan-amount {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  color: inherit;
}

.plan-period {
  margin-left: 0.24rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-3);
}

.plan-sub {
  margin-top: 0.55rem;
  min-height: 2.6em;
  color: var(--text-3);
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Yearly savings line under the monthly headline price (homepage teaser). */
.plan-sub-save {
  color: var(--mint);
  font-weight: 600;
}

/* Signals what the tier adds rather than repeating the tier below it. */
.plan-inherits {
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--violet-lift);
}

.plan ul {
  list-style: none;
  margin: 0.9rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  flex: 1;
}

.plan li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  color: var(--text-2);
  font-size: 0.9rem;
}

.plan li::before {
  content: "✓";
  color: var(--violet-lift);
  font-size: 0.8rem;
  line-height: 1.75;
}

.plan .btn { width: 100%; }

.plans-note {
  margin-top: 1.75rem;
  color: var(--text-3);
  font-size: 0.92rem;
}

/* ---------------------------------------------------------------------- faq */

.faq { max-width: 54rem; margin-top: clamp(2rem, 4vw, 3rem); }

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-of-type { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(1.02rem, 1.7vw, 1.16rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  list-style: none;
}

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

.faq summary::after {
  content: "";
  flex: none;
  width: 0.95rem;
  height: 0.95rem;
  background:
    linear-gradient(var(--violet-lift), var(--violet-lift)) center/100% 1.5px no-repeat,
    linear-gradient(var(--violet-lift), var(--violet-lift)) center/1.5px 100% no-repeat;
  transition: transform 0.25s ease;
}

.faq details[open] summary::after { transform: rotate(180deg); background-size: 100% 1.5px, 0 0; }

.faq details p {
  padding: 0 0 1.35rem;
  max-width: 66ch;
  color: var(--text-2);
  font-size: 0.97rem;
}

/* ------------------------------------------------------------------ cta band */

.cta-band {
  position: relative;
  padding: clamp(2.75rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid rgba(124, 107, 255, 0.3);
  border-radius: 26px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(70% 120% at 50% -20%, rgba(124, 107, 255, 0.32), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
}

.cta-band h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  max-width: 26ch;
  margin-inline: auto;
}

.cta-band p {
  margin: 1.05rem auto 0;
  max-width: 46ch;
  color: var(--text-2);
}

.cta-band .hero-cta { margin-top: 1.85rem; }

/* ------------------------------------------------------------------- footer */

.footer {
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 2.5rem;
  border-top: 1px solid var(--line);
  background: rgba(6, 7, 14, 0.55);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3.5rem);
  max-width: var(--maxw);
  margin-inline: auto;
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 30ch;
  color: var(--text-3);
  font-size: 0.9rem;
}

.footer-nav { display: grid; align-content: start; gap: 0.6rem; }

.footer-nav h2 {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.35rem;
}

.footer-nav a { color: var(--text-2); font-size: 0.9rem; font-weight: 500; }
.footer-nav a:hover { color: var(--text); }
.footer-nav .cookie-settings-link {
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
}
.footer-nav .cookie-settings-link:hover { color: var(--text); }

.footer-legal { color: var(--text-3); font-size: 0.78rem; line-height: 1.55; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  justify-content: space-between;
  align-items: center;
  max-width: var(--maxw);
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.78rem;
}

.footer-bottom-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.footer-bottom-links a {
  color: var(--text-2);
  font-weight: 600;
}

.footer-bottom-links a:hover { color: var(--text); }

.footer-bottom-links .cookie-settings-link {
  color: var(--text-2);
  font-weight: 600;
  text-decoration: none;
}

.footer-bottom-links .cookie-settings-link:hover { color: var(--text); }

/* --------------------------------------------------------- legal / policy pages */

.legal-page {
  padding: clamp(3rem, 8vh, 5.5rem) var(--gutter) clamp(3.5rem, 8vw, 5.5rem);
  max-width: 44rem;
  margin-inline: auto;
}

.legal-head { margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }

.legal-head h1 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  max-width: 18ch;
}

.legal-head .lead { max-width: 42ch; }

.legal-meta {
  margin-top: 1rem;
  color: var(--text-3);
  font-size: 0.82rem;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

.legal-body {
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-body h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.legal-body p,
.legal-body ul { margin: 0 0 1rem; }

.legal-body ul {
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
}

.legal-body li::marker { color: var(--accent, #8b7cff); }

.legal-body a { font-weight: 600; }

.legal-body strong { color: var(--text); font-weight: 650; }

.legal-callout {
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
  padding: 1.25rem 1.35rem 1.3rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(124, 107, 255, 0.14), rgba(86, 217, 139, 0.06)),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.legal-callout-label {
  margin: 0 0 0.55rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
}

.legal-callout-text {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.legal-callout-text strong { color: #fff; font-weight: 700; }

.legal-callout-action {
  margin: 0.85rem 0 0;
  color: var(--text-2);
  font-size: 0.95rem;
}

.legal-callout-action a { font-weight: 650; }

/* --------------------------------------------------------- pricing page bits */

.page-head {
  padding: clamp(3.5rem, 9vh, 6rem) var(--gutter) 0;
  text-align: center;
}

.page-head h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  max-width: 22ch;
  margin-inline: auto;
}

.page-head .lead { margin-inline: auto; text-align: center; }
.page-head .eyebrow { justify-content: center; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.compare {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden auto;
  overflow-x: auto;
  background: var(--panel);
}

.compare table {
  width: 100%;
  min-width: 38rem;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.compare th,
.compare td {
  padding: 0.95rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare thead th {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.03);
}

.compare tbody th {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--text);
}

.compare td { color: var(--text-2); font-variant-numeric: tabular-nums; }
.compare tr:last-child th,
.compare tr:last-child td { border-bottom: 0; }

.compare tbody tr:hover td,
.compare tbody tr:hover th { background: rgba(255, 255, 255, 0.022); }

/* The recommended column stays visible all the way down the matrix. */
.compare .is-highlight {
  background: rgba(124, 107, 255, 0.07);
  color: var(--text);
}
.compare thead .is-highlight {
  background: rgba(124, 107, 255, 0.16);
  color: var(--violet-lift);
}
.compare tbody tr:hover .is-highlight { background: rgba(124, 107, 255, 0.11); }

.compare-note {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-3);
}

.compare .tick { color: var(--mint); font-size: 1rem; font-weight: 700; }
.compare .cross { color: var(--text-3); }

.compare-prices th,
.compare-prices td {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--text);
}
.compare-prices th { font-family: var(--sans); }

/* ----------------------------------------------------------------- auth page */

.auth-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  padding: 1.15rem var(--gutter) 1.75rem;
}

.auth-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.auth-back { color: var(--text-3); font-size: 0.88rem; font-weight: 600; }
.auth-back:hover { color: var(--text-2); }

.auth-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 26.5rem);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  width: 100%;
  max-width: 62rem;
  margin-inline: auto;
  padding-block: clamp(1.75rem, 6vh, 4rem);
}

.auth-pitch h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  max-width: 20ch;
}

.auth-pitch .lead { max-width: 42ch; }
.auth-pitch .check-list { margin-top: 1.5rem; }

.auth-proof {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-3);
}

.auth-proof::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(86, 217, 139, 0.16);
}

/* Glass card, lifted off the stage by a violet bloom behind it. */
.auth-card {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.1rem);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(120% 90% at 50% -30%, rgba(124, 107, 255, 0.2), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 0 90px -18px rgba(124, 107, 255, 0.4),
    0 50px 100px -50px rgba(0, 0, 0, 0.9);
}

.auth-card h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.75rem);
  letter-spacing: -0.035em;
}

.auth-card-lead {
  margin-top: 0.55rem;
  color: var(--text-2);
  font-size: 0.94rem;
}

.auth-alert {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(255, 138, 138, 0.32);
  border-radius: var(--radius-sm);
  background: rgba(255, 92, 92, 0.11);
  color: #ffd7d7;
  font-size: 0.88rem;
}

.btn-google {
  width: 100%;
  margin-top: 1.4rem;
  background: #fff;
  color: #1f2430;
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.9);
}

.btn-google:hover {
  color: #1f2430;
  background: #f4f5fa;
  transform: translateY(-2px);
}

.btn-google svg { width: 1.1rem; height: 1.1rem; }

.auth-or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.8rem;
  margin: 1.35rem 0 0.35rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.auth-or::before,
.auth-or::after { content: ""; height: 1px; background: var(--line); }

.auth-form { display: grid; gap: 0.3rem; margin-top: 1rem; }

.auth-form label {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
}

.auth-form input {
  width: 100%;
  padding: 0.78rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(8, 10, 20, 0.55);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-form input::placeholder { color: var(--text-3); }

.auth-form input:focus {
  outline: none;
  border-color: var(--violet-lift);
  background: rgba(8, 10, 20, 0.75);
  box-shadow: 0 0 0 3px var(--violet-soft);
}

/* Chrome repaints autofilled fields opaque white, which breaks the dark card. */
.auth-form input:-webkit-autofill,
.auth-form input:-webkit-autofill:hover,
.auth-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 100px #10132a inset;
  caret-color: var(--text);
}

.auth-form .btn { margin-top: 1.4rem; width: 100%; }

.auth-note {
  margin-top: 1.1rem;
  color: var(--text-3);
  font-size: 0.82rem;
  line-height: 1.55;
}

.auth-note a { font-weight: 600; }

.auth-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  color: var(--text-3);
  font-size: 0.76rem;
}

.auth-trust {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
}

.auth-trust a {
  color: var(--text-2);
  font-weight: 600;
}

.auth-trust a:hover { color: var(--text); }

.auth-trust .cookie-settings-link {
  color: var(--text-2);
  font-weight: 600;
  text-decoration: none;
}

.auth-trust .cookie-settings-link:hover { color: var(--text); }

.auth-form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-top: 0.15rem;
}

.auth-form-row label { margin: 0; }

.auth-forgot {
  color: var(--text-2);
  font-size: 0.8rem;
  font-weight: 600;
}

.auth-forgot:hover { color: var(--text); }

.auth-card-solo {
  max-width: 26.5rem;
  margin-inline: auto;
  width: 100%;
}

.auth-main.is-narrow {
  grid-template-columns: minmax(0, 1fr);
  max-width: 26.5rem;
}

/* ------------------------------------------------------------------- motion */

/* Only hide reveal targets when JS is available to bring them back. */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Copy staggers in; the product plane is the LCP element so it never animates. */
.hero-copy > * { animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero h1 { animation-delay: 0.04s; }
.hero-sub { animation-delay: 0.12s; }
.hero-cta { animation-delay: 0.2s; }
.hero-note { animation-delay: 0.26s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 940px) {
  .pillars { grid-template-columns: 1fr; gap: 0; }
  .pillar { padding: 1.25rem 0; }
  .split { grid-template-columns: 1fr; }
  .split.is-reversed .split-media { order: 0; }
  /* Stacked layout has no side room, so keep the glow inside the column. */
  .split-media::before { inset: 14% 0 -8% 0; }
  .versus { grid-template-columns: 1fr; }
  .versus > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Card first on narrow screens: signing in beats reading the pitch. */
  .auth-main { grid-template-columns: minmax(0, 1fr); max-width: 26.5rem; }
  .auth-pitch { order: 2; }
  .auth-pitch h1 { font-size: clamp(1.6rem, 5.5vw, 2rem); }
  .auth-proof { margin-top: 1.5rem; }
}

@media (max-width: 640px) {
  .nav { padding-block: 0.75rem; gap: 0.75rem; }
  .nav.is-stuck { padding-block: 0.58rem; }
  .nav-signin { display: none; }
  .nav > .nav-brand,
  .auth-top > .nav-brand { font-size: clamp(0.92rem, 4vw, 1.16rem); }
  .nav.is-stuck > .nav-brand { font-size: clamp(0.86rem, 3.6vw, 1.05rem); }
  .nav .btn-sm { padding: 0.55rem 0.85rem; font-size: 0.85rem; }
  .hero { min-height: auto; padding-bottom: 0; }
  .hero-shot { max-height: 38vh; }
  /* Keep interface detail legible: bleed the shot past the right edge. */
  .hero-shot-plane {
    width: 168%;
    margin-inline: 0 0;
    border-radius: 16px 0 0 0;
  }
  .plans { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-band { border-radius: 20px; }
}

@media print {
  html.js [data-reveal] { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before { animation: none; }
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-copy > * { animation: none; }
  .btn:hover { transform: none; }
  .nav,
  .nav > .nav-brand,
  .nav > .nav-brand .nav-mark,
  .auth-top > .nav-brand,
  .auth-top > .nav-brand .nav-mark { transition: none; }
}
