/* Setlane — landing, support and legal pages. Palette taken from the app. */

:root {
  --ink: #0c2b1d;
  --ink-soft: #3d5348;
  --green-deep: #12402b;
  --green: #2f9c5c;
  --green-bright: #5bd48c;
  --green-pale: #7fc79c;
  /* Pricing runs on tones of the brand green instead of a loud accent colour. */
  --plan-surface: #faf9f5;
  --pro-cta: #f1f0ec;
  --pro-cta-hi: #ffffff;
  --pro-cta-ink: #0c2b1d;
  /* Small pricing elements — solid green, cream stays reserved for the CTA. */
  --tag: #5bd48c;
  --tag-ink: #08281a;
  --tag-deep: #2f9c5c;
  --pro-note: #8fdcaf;
  --body: #4a5c51;
  --muted: #6b7a71;
  --muted-2: #5c6b62;
  --page: #f1f0ec;
  --page-2: #e7e9e3;
  --page-3: #e4e5df;
  --card: #ffffff;
  --line: rgb(12 43 29 / 0.1);
  --line-strong: rgb(12 43 29 / 0.14);
  --on-dark: #f1f0ec;
  --on-dark-soft: rgb(241 240 236 / 0.72);
  --on-dark-line: rgb(241 240 236 / 0.14);

  --display: Archivo, 'Segoe UI', system-ui, sans-serif;
  /* Prices reuse the display face — no separate type voice in the pricing block. */
  --numeric: Archivo, 'Segoe UI', system-ui, sans-serif;

  --radius-lg: 26px;
  --radius: 18px;
  --radius-sm: 14px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Manrope, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--ink);
}

::selection {
  background: #b9e6c9;
  color: var(--ink);
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 32px);
}

/* ── Scroll reveal ──────────────────────────────────────────────────────── */
/* The base state only applies once the script confirms JS + motion are on,
   so the page stays fully readable without either. */

.reveal-on [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-on [data-reveal='left'] {
  transform: translate3d(-26px, 0, 0);
}

.reveal-on [data-reveal='right'] {
  transform: translate3d(26px, 0, 0);
}

.reveal-on [data-reveal='scale'] {
  transform: translate3d(0, 34px, 0) scale(0.965);
}

.reveal-on [data-reveal].is-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Scroll progress line under the header. */
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--green), var(--green-bright));
  pointer-events: none;
}

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

/* ── Header ─────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(241 240 236 / 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-stuck {
  background: rgb(241 240 236 / 0.94);
  box-shadow: 0 10px 30px -22px rgb(12 43 29 / 0.7);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 62px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  display: flex;
  width: 32px;
  height: 32px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--green-deep);
}

.brand__mark i {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-style: normal;
}

/* Proportions taken from email/logo.png: the mark fills 58.3% of the tile's
   width and 68.2% of its height, handle 82% as wide as the bell. */
.brand__mark i::before,
.brand__mark i::after {
  /* The global `*` reset does not reach pseudo-elements, so the sizes below
     would otherwise be content-box and the border would grow the mark. */
  box-sizing: border-box;
}

.brand__mark i::before {
  width: 15.4px;
  height: 11.6px;
  border: 3.6px solid #fff;
  border-bottom: 0;
  border-radius: 7.7px 7.7px 2px 2px;
  content: '';
}

.brand__mark i::after {
  width: 18.6px;
  height: 11.6px;
  margin-top: -1.4px;
  border-radius: 9.3px 9.3px 4px 4px;
  background: #fff;
  content: '';
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 2.6vw, 30px);
  font-size: 14.5px;
  font-weight: 600;
}

.site-nav a {
  color: var(--ink-soft);
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--green-deep);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.site-nav .nav-cta:hover {
  background: var(--ink);
  color: #fff;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
}

.hero__glow {
  position: absolute;
  top: -260px;
  right: -180px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(47 156 92 / 0.34), rgb(12 43 29 / 0) 68%);
  pointer-events: none;
}

.hero__lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(241 240 236 / 0.045) 1px, transparent 1px);
  background-size: 100% 88px;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 6vw, 56px);
  align-items: center;
  /* The phone used to bleed off the bottom edge; with a real screenshot in the
     frame it needs room to finish. */
  padding: clamp(64px, 9vw, 104px) 0 clamp(56px, 7vw, 88px);
}

@media (min-width: 940px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green-pale);
}

.kicker::before {
  width: 26px;
  height: 1px;
  background: var(--green);
  content: '';
}

.hero h1 {
  margin: 22px 0 0;
  font-family: var(--display);
  font-size: clamp(44px, 7.4vw, 82px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

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

.hero__lead {
  max-width: 440px;
  margin: 26px 0 0;
  color: var(--on-dark-soft);
  font-size: clamp(16px, 2vw, 17.5px);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  /* Centred against the lead paragraph, which shares this max-width. */
  justify-content: center;
  max-width: 440px;
  gap: 12px;
  margin-top: 34px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  max-width: 100%;
  margin-top: clamp(36px, 6vw, 56px);
  padding: 22px 0;
  border-top: 1px solid var(--on-dark-line);
  border-bottom: 1px solid var(--on-dark-line);
}

.hero__stats div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 clamp(10px, 2vw, 20px);
  border-left: 1px solid var(--on-dark-line);
}

.hero__stats div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero__stats b {
  font-family: var(--display);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.hero__stats span {
  font-family: var(--display);
  white-space: nowrap;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green-pale);
}

/* ── Buttons ────────────────────────────────────────────────────────────── */

.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 18px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--on-dark);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.play-badge:hover {
  background: #fff;
  color: var(--ink);
}

.play-badge svg {
  display: block;
  width: 22px;
  height: 22px;
  flex: none;
}

.play-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.play-badge__text small {
  font-family: var(--display);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--muted-2);
}

.play-badge__text strong {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.button-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 22px;
  border: 1px solid rgb(241 240 236 / 0.28);
  border-radius: var(--radius-sm);
  color: var(--on-dark);
  font-size: 15px;
  font-weight: 700;
}

.button-ghost:hover {
  border-color: var(--green-bright);
  color: var(--green-bright);
}

/* ── Phone mockups ──────────────────────────────────────────────────────── */

.hero__phone {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 660px;
}

.phone {
  position: relative;
  width: 328px;
  max-width: 82vw;
  padding: 11px;
  border-radius: 46px;
  background: #07150e;
  box-shadow: 0 50px 90px -30px rgb(0 0 0 / 0.65), 0 0 0 1px rgb(241 240 236 / 0.1);
}

.phone__screen {
  position: relative;
  display: flex;
  width: 100%;
  /* Matches the app's own captures, so screenshots fill the frame uncropped. */
  aspect-ratio: 1080 / 2400;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 36px;
  background: #edede9;
}

.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Shown until a real screenshot replaces it. */
.shot-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: inherit;
  background-image: repeating-linear-gradient(
    -45deg,
    rgb(12 43 29 / 0.04) 0 10px,
    transparent 10px 20px
  );
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
}

.shot-placeholder span:first-child {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
}

/* ── Sections ───────────────────────────────────────────────────────────── */

.eyebrow {
  margin: 0;
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green);
}

.section-title {
  margin: 16px 0 0;
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* ── Features ───────────────────────────────────────────────────────────── */
/* Three alternating text + screenshot rows. */

.features {
  padding: clamp(64px, 9vw, 112px) 0 clamp(56px, 8vw, 96px);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--line-strong);
}

.feature-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.feature-row:last-child {
  padding-bottom: 0;
}

@media (min-width: 900px) {
  .feature-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  }

  /* Flipped rows swap sides on desktop; stacked order stays text-first. */
  .feature-row--flip .feature-row__text {
    order: 2;
  }

  .feature-row--flip .feature-row__media {
    order: 1;
  }
}

.feature-row__num {
  margin: 0;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--green);
}

.feature-row h2 {
  margin: 16px 0 0;
  font-family: var(--display);
  font-size: clamp(27px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.feature-row__text > p:last-child {
  max-width: 480px;
  margin: 18px 0 0;
  color: var(--body);
  font-size: 17px;
  line-height: 1.62;
  text-wrap: pretty;
}

.feature-row__media {
  display: flex;
  justify-content: center;
}

.feature-row .phone {
  width: 296px;
  max-width: 76vw;
  padding: 10px;
  border-radius: 42px;
  box-shadow: 0 40px 70px -34px rgb(12 43 29 / 0.6), 0 0 0 1px rgb(12 43 29 / 0.08);
}

.feature-row .phone__screen {
  border-radius: 33px;
}

/* ── Pricing ────────────────────────────────────────────────────────────── */

.pricing {
  padding: clamp(72px, 9vw, 104px) 0 clamp(64px, 8vw, 96px);
}

.pricing__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.pricing__head .section-title {
  max-width: 640px;
  margin: 0;
}

.pricing__head p {
  max-width: 460px;
  margin: 0;
  color: var(--body);
  font-size: 16.5px;
  line-height: 1.55;
  text-wrap: pretty;
}

.plan-toggle {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.plan-toggle__inner {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--page-3);
}

.plan-toggle button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
}

.plan-toggle button[aria-selected='true'] {
  background: var(--ink);
  color: var(--on-dark);
}

/* On the dark active pill the darker chip would drop out of contrast. */
.plan-toggle button[aria-selected='true'] .save {
  background: var(--tag);
  color: var(--tag-ink);
}

.plan-toggle .save {
  padding: 2.5px 7px;
  border-radius: 999px;
  background: var(--tag-deep);
  color: #f4fbf6;
  font-family: var(--display);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plans {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  max-width: 940px;
  margin: 44px auto 0;
}

@media (min-width: 860px) {
  .plans {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  }
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 34px 32px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--plan-surface);
}

.plan__name {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.plan__price {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 6px;
}

.plan__price b {
  font-family: var(--numeric);
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.plan__price span {
  padding-bottom: 7px;
  color: var(--muted);
  font-size: 14px;
}

.plan__note {
  display: block;
  min-height: 21px;
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 14px;
  line-height: 1.5;
}

.plan__features {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 26px 0 30px;
  padding-top: 26px;
  border-top: 1px solid rgb(12 43 29 / 0.12);
  list-style: none;
}

.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.plan__features li::before {
  display: flex;
  width: 19px;
  height: 19px;
  flex: none;
  align-items: center;
  justify-content: center;
  margin-top: 1.5px;
  border-radius: 999px;
  background: var(--tag-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.4l2.5 2.4 5.1-5.6' fill='none' stroke='%23FAF9F5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 9px 9px;
  content: '';
}

.plan__cta {
  display: block;
  margin-top: auto;
  padding: 13px 18px;
  border: 1px solid rgb(12 43 29 / 0.22);
  border-radius: 13px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 700;
  text-align: center;
}

.plan__cta:hover {
  border-color: var(--ink);
  background: var(--page-2);
  color: var(--ink);
}

.plan--pro {
  position: relative;
  overflow: hidden;
  border: 0;
  background: linear-gradient(158deg, #17452f 0%, #0a2418 62%, #071c12 100%);
  color: var(--on-dark);
  box-shadow: 0 44px 80px -40px rgb(12 43 29 / 0.55);
}

.plan--pro > * {
  position: relative;
}

.plan--pro::before {
  position: absolute;
  top: -140px;
  right: -120px;
  width: 380px;
  height: 320px;
  background: radial-gradient(ellipse at center, rgb(168 220 190 / 0.16), rgb(12 43 29 / 0) 70%);
  content: '';
  pointer-events: none;
}

.plan--pro .plan__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan--pro .badge {
  padding: 3.5px 9px;
  border-radius: 999px;
  background: var(--tag);
  color: var(--tag-ink);
  font-family: var(--display);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plan--pro .plan__price span {
  color: rgb(241 240 236 / 0.6);
}

.plan--pro .plan__note {
  color: var(--pro-note);
}

.plan--pro .plan__features {
  border-top-color: var(--on-dark-line);
}

.plan--pro .plan__features li {
  color: rgb(241 240 236 / 0.88);
}

.plan--pro .plan__features li::before {
  background-color: var(--tag);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.4l2.5 2.4 5.1-5.6' fill='none' stroke='%2308281A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.plan--pro .plan__cta {
  border: 0;
  background: var(--pro-cta);
  color: var(--pro-cta-ink);
  transition: background 0.2s ease;
}

.plan--pro .plan__cta:hover {
  background: var(--pro-cta-hi);
  color: var(--pro-cta-ink);
}

.plan__cta small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 600;
  opacity: 0.72;
}

.pricing__fine {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 13.5px;
}

.pricing__fine i {
  color: rgb(12 43 29 / 0.2);
  font-style: normal;
}

/* ── Call to action ─────────────────────────────────────────────────────── */

.cta {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
  text-align: center;
}

.cta__glow {
  position: absolute;
  top: -200px;
  left: 50%;
  width: 900px;
  height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgb(47 156 92 / 0.3), rgb(12 43 29 / 0) 70%);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  max-width: 900px;
  padding: clamp(72px, 10vw, 120px) clamp(20px, 5vw, 32px);
}

.cta .kicker {
  justify-content: center;
}

.cta .kicker::before {
  display: none;
}

.cta h2 {
  margin: 20px 0 0;
  font-family: var(--display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.cta p {
  max-width: 520px;
  margin: 22px auto 0;
  color: rgb(241 240 236 / 0.7);
  font-size: 17px;
  line-height: 1.55;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--page);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.site-footer .brand__mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

/* Same proportions on the 28px footer tile — everything scaled by 28/32. */
.site-footer .brand__mark i::before {
  width: 13.5px;
  height: 10.2px;
  border-width: 3.15px;
  border-radius: 6.7px 6.7px 1.8px 1.8px;
}

.site-footer .brand__mark i::after {
  width: 16.3px;
  height: 10.2px;
  margin-top: -1.2px;
  border-radius: 8.2px 8.2px 3.5px 3.5px;
}

.site-footer .brand {
  font-size: 17px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 14.5px;
  font-weight: 600;
}

.site-footer small {
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ── Legal pages ────────────────────────────────────────────────────────── */
/* A dark title band over one narrow column, sections separated by hairlines. */

.legal-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
}

.legal-hero__glow {
  position: absolute;
  top: -320px;
  left: 50%;
  width: 900px;
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgb(47 156 92 / 0.26), rgb(12 43 29 / 0) 70%);
  pointer-events: none;
}

.legal-hero__lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(241 240 236 / 0.04) 1px, transparent 1px);
  background-size: 100% 88px;
  pointer-events: none;
}

.legal-hero__inner {
  position: relative;
  max-width: 860px;
  padding-top: clamp(56px, 8vw, 92px);
  padding-bottom: clamp(48px, 6vw, 72px);
}

.legal-hero h1 {
  margin: 22px 0 0;
  font-family: var(--display);
  font-size: clamp(38px, 6.4vw, 62px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.legal-hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 26px 0 0;
  padding: 8px 15px;
  border: 1px solid rgb(241 240 236 / 0.22);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-pale);
}

.legal-hero__meta::before {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green-bright);
  content: '';
}

.legal-hero__intro {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--on-dark-soft);
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
}

.legal {
  max-width: 800px;
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(64px, 8vw, 96px);
}

.legal__lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17.5px;
  line-height: 1.62;
}

.legal section {
  margin-top: clamp(30px, 4vw, 44px);
  padding-top: clamp(30px, 4vw, 44px);
  border-top: 1px solid var(--line-strong);
  scroll-margin-top: 92px;
}

/* No stray rule above the first section on pages that open without a lead. */
.legal > section:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal h2 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: baseline;
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(21px, 2.8vw, 27px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.legal h2 .num {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--green);
}

.legal h3 {
  margin: 28px 0 8px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.legal p {
  margin: 0 0 14px;
  color: var(--body);
  font-size: 16px;
  line-height: 1.68;
}

.legal p:last-child {
  margin-bottom: 0;
}

.legal strong {
  color: var(--ink);
  font-weight: 700;
}

.legal ul {
  margin: 14px 0 18px;
  padding: 0;
  list-style: none;
}

.legal ul li {
  position: relative;
  margin-bottom: 9px;
  padding-left: 22px;
  color: var(--body);
  font-size: 16px;
  line-height: 1.62;
}

.legal ul li::before {
  position: absolute;
  left: 2px;
  top: 0.66em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--green);
  content: '';
}

.legal ol {
  margin: 14px 0 18px;
  padding-left: 22px;
  color: var(--body);
}

.legal ol li {
  margin-bottom: 9px;
  padding-left: 4px;
  font-size: 16px;
  line-height: 1.62;
}

.legal ol li::marker {
  font-family: var(--display);
  font-weight: 700;
  color: var(--green);
}

/* Pulled-out warnings and addresses that the copy sets in bold on its own line. */
.legal-callout {
  margin: 18px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--page-2);
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.6;
}

.legal-callout p {
  margin: 0;
  color: var(--ink);
  font-size: 15.5px;
}

.legal-path {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--plan-surface);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

/* Delete-account call to action. */
.legal-action {
  position: relative;
  overflow: hidden;
  margin: 26px 0 8px;
  padding: clamp(26px, 4vw, 34px);
  border-radius: var(--radius-lg);
  background: linear-gradient(158deg, #17452f 0%, #0a2418 62%, #071c12 100%);
  color: var(--on-dark);
}

/* Class alone loses to `.legal p`, so these are qualified to win inside .legal. */
.legal-action p {
  color: var(--on-dark-soft);
}

.legal-action p.legal-action__eyebrow {
  margin: 0;
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green-pale);
}

.legal-action h2 {
  display: block;
  margin: 12px 0 0;
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--on-dark);
}

.legal-action p.legal-action__note {
  max-width: 520px;
  margin: 14px 0 0;
  color: rgb(241 240 236 / 0.74);
  font-size: 15.5px;
  line-height: 1.62;
}

/* Centred variant for a page whose whole point is the one action. */
.legal-action--center {
  padding: clamp(32px, 5vw, 44px) clamp(24px, 4vw, 40px);
  text-align: center;
}

/* Keep content above the decorative glow, which is absolutely positioned. */
.legal-action > p,
.legal-action > h2,
.legal-action > a {
  position: relative;
}

.legal-action--center .legal-action__glow {
  position: absolute;
  top: -180px;
  left: 50%;
  width: 560px;
  height: 380px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgb(91 212 140 / 0.18), rgb(12 43 29 / 0) 70%);
  pointer-events: none;
}

.legal-action__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 14px 24px;
  border-radius: 13px;
  background: var(--pro-cta);
  color: var(--pro-cta-ink);
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s ease;
}

.legal-action__button:hover {
  background: var(--pro-cta-hi);
  color: var(--pro-cta-ink);
}

.legal-action p.legal-action__fallback {
  max-width: 560px;
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgb(241 240 236 / 0.16);
  color: rgb(241 240 236 / 0.78);
  font-size: 14.5px;
  line-height: 1.65;
}

.legal-action__fallback a {
  color: var(--pro-note);
}

.legal-action__fallback a:hover {
  color: var(--on-dark);
}

.legal-action__fallback strong {
  color: var(--on-dark);
  font-weight: 700;
}

/* Must follow the rules above — same specificity, so source order decides. */
.legal-action--center p.legal-action__note,
.legal-action--center p.legal-action__fallback {
  margin-left: auto;
  margin-right: auto;
}

/* ── Mobile layout ──────────────────────────────────────────────────────── */
/* Keep the same content, motion and visual language; only reflow the layout
   so narrow viewports have usable gutters and tap-friendly controls. */

@media (max-width: 939px) {
  .hero__inner {
    padding: clamp(56px, 12vw, 84px) clamp(20px, 5vw, 32px) clamp(64px, 12vw, 96px);
  }

  .hero__phone {
    min-height: 0;
    padding-top: 8px;
  }

  /* Content-sized columns here too, so labels never break onto a second line. */
  .hero__stats {
    grid-template-columns: repeat(3, max-content);
  }

  .hero__stats div {
    min-width: 0;
    padding-right: clamp(8px, 2vw, 14px);
    padding-left: clamp(8px, 2vw, 14px);
  }

  .hero__stats b {
    font-size: clamp(14px, 2.4vw, 18px);
  }
}

@media (max-width: 700px) {
  .site-header__inner {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .site-nav {
    flex: 1 1 100%;
    justify-content: space-between;
    gap: 8px 12px;
    padding-bottom: 2px;
    font-size: 13px;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .site-nav .nav-cta {
    padding: 8px 12px;
    font-size: 13px;
  }
}

@media (max-width: 620px) {
  .features,
  .pricing {
    padding-right: clamp(20px, 5vw, 32px);
    padding-left: clamp(20px, 5vw, 32px);
  }

  .feature {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 22px 0;
  }

  .feature h3 {
    font-size: 20px;
  }

  .feature p {
    font-size: 15px;
  }

  .shots {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .shot .phone {
    max-width: 320px;
    margin-right: auto;
    margin-left: auto;
  }

  .plan-toggle__inner {
    width: 100%;
    max-width: 360px;
  }

  .plan-toggle button {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding-right: 6px;
    padding-left: 6px;
    font-size: 13px;
  }

  .plan-toggle button,
  .plan-toggle .save {
    gap: 4px;
  }

  .plan-toggle .save {
    padding-right: 4px;
    padding-left: 4px;
    font-size: 8.5px;
  }

  .plan {
    padding: 28px 20px 24px;
  }

  .plan__price b {
    font-size: 48px;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .site-footer nav {
    gap: 10px 18px;
  }
}

@media (max-width: 600px) {
  .pricing__fine {
    gap: 10px 16px;
    font-size: 12.5px;
    text-align: center;
  }

  .legal-hero__inner {
    padding-top: 56px;
    padding-bottom: 46px;
  }

  .legal-hero h1 {
    font-size: clamp(36px, 11vw, 52px);
  }

  .legal-hero__intro,
  .legal__lead {
    font-size: 16px;
  }

  .legal h2 {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
  }

  .legal h2 .num {
    font-size: 11px;
  }

  .legal-callout {
    padding: 16px;
  }

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

  .legal-action--center {
    padding: 28px 18px;
  }

  .legal-action__button {
    width: 100%;
    justify-content: center;
  }

  .legal a,
  .legal-action__fallback a {
    overflow-wrap: anywhere;
  }
}


/* Placed last: the wider mobile blocks above also target .hero__stats, and at
   equal specificity source order decides. */
@media (max-width: 660px) {
  .hero__stats {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero__stats div {
    padding: 0;
    border-left: 0;
  }

  .hero__stats b {
    min-height: 0;
  }
}


/* Between the two-column breakpoint and ~1120px the text column is too narrow
   for three no-wrap stats at full size, so tighten them rather than let the
   row spill out of its column. */
@media (min-width: 940px) and (max-width: 1120px) {
  .hero__stats div {
    padding-right: 10px;
    padding-left: 10px;
  }

  .hero__stats b {
    font-size: 15px;
  }

  .hero__stats span {
    font-size: 9.5px;
    letter-spacing: 0.025em;
  }
}
