/* ==========================================================================
   JobeFlow marketing site
   Design tokens mirror the product UI (indigo -> violet -> fuchsia), so the
   site and the app read as one thing.
   ========================================================================== */

:root {
  --indigo-50: #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-200: #c7d2fe;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;
  --fuchsia-500: #d946ef;
  --sky-500: #0ea5e9;
  --cyan-400: #22d3ee;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-50: #ecfdf5;
  --emerald-200: #a7f3d0;
  --teal-400: #2dd4bf;
  --amber-500: #f59e0b;
  --amber-50: #fffbeb;
  --amber-200: #fde68a;
  --amber-700: #b45309;
  --rose-500: #f43f5e;
  --rose-50: #fff1f2;
  --rose-200: #fecdd3;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --ink: #1f2430;
  --bg: #f6f7fb;
  --card: #ffffff;
  --border: var(--slate-200);
  --muted: var(--slate-500);

  --brand-gradient: linear-gradient(90deg, var(--indigo-600), var(--violet-600), var(--fuchsia-500));
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(79, 70, 229, 0.16);
  --maxw: 1140px;
  --gutter: 16px;
}

/* --------------------------------------------------------------- base ---- */

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

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

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(60rem 40rem at 110% -10%, rgba(139, 92, 246, 0.13), transparent 60%),
    radial-gradient(50rem 35rem at -10% 0%, rgba(56, 189, 248, 0.13), transparent 55%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--slate-900);
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--card);
  padding: 12px 18px;
  z-index: 100;
  border-radius: 0 0 10px 0;
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  left: 0;
}

/* ------------------------------------------------------------- layout ---- */

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

.section {
  padding: 72px 0;
}

.section--tight {
  padding: 48px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo-700);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 3px;
  border-radius: 99px;
  background: var(--brand-gradient);
}

.lede {
  font-size: 1.08rem;
  color: var(--slate-600);
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

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

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(12px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 1.16rem;
  letter-spacing: -0.03em;
  color: var(--slate-900);
  text-decoration: none;
  margin-right: auto;
}

.brand:hover {
  text-decoration: none;
}

.brand__mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--brand-gradient);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.35);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__links a {
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--slate-600);
}

.nav__links a:hover {
  background: var(--indigo-50);
  color: var(--indigo-700);
  text-decoration: none;
}

.nav__links a[aria-current='page'] {
  color: var(--indigo-700);
  background: var(--indigo-50);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 38px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav__toggle span {
  display: block;
  width: 17px;
  height: 2px;
  background: var(--slate-700);
  position: relative;
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 17px;
  height: 2px;
  background: var(--slate-700);
}

.nav__toggle span::before {
  top: -5px;
}

.nav__toggle span::after {
  top: 5px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 11px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(90deg, var(--indigo-600), var(--violet-600));
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.34);
}

.btn--ghost {
  background: #fff;
  color: var(--slate-700);
  border-color: var(--slate-300);
}

.btn--ghost:hover {
  border-color: var(--indigo-200);
  background: var(--indigo-50);
  color: var(--indigo-700);
}

.btn--light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--light:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn--lg {
  padding: 14px 26px;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

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

.hero {
  position: relative;
  padding: 72px 0 48px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 99px;
  background: #fff;
  border: 1px solid var(--indigo-100);
  box-shadow: var(--shadow-sm);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--slate-600);
  margin-bottom: 20px;
}

.badge__dot {
  width: 20px;
  height: 20px;
  border-radius: 99px;
  background: var(--brand-gradient);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
}

.hero p.lede {
  font-size: 1.16rem;
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 16px;
}

.hero__note {
  font-size: 0.86rem;
  color: var(--slate-500);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--slate-200);
}

.hero__proof div {
  font-size: 0.87rem;
  color: var(--slate-600);
}

.hero__proof strong {
  display: block;
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--slate-900);
  line-height: 1.2;
}

/* ----------------------------------------------------- product mockup ---- */

.mock {
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 0.8rem;
}

.mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--slate-50);
  border-bottom: 1px solid var(--border);
}

.mock__dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--slate-300);
}

.mock__url {
  margin-left: 8px;
  font-size: 0.72rem;
  color: var(--slate-400);
}

.mock__body {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.mock__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mock__title h4 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
}

.mock__tabs {
  display: flex;
  gap: 2px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.mock__tab {
  padding: 6px 9px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate-500);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.mock__tab.is-active {
  color: var(--indigo-700);
  border-bottom-color: var(--indigo-600);
  background: rgba(238, 242, 255, 0.6);
  border-radius: 6px 6px 0 0;
}

.mock__card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  overflow: hidden;
  background: #fff;
}

.mock__card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--indigo-500), var(--violet-500));
}

.mock__card--sky::before {
  background: linear-gradient(90deg, var(--sky-500), var(--cyan-400));
}

.mock__card--emerald::before {
  background: linear-gradient(90deg, var(--emerald-500), var(--teal-400));
}

.mock__score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.mock__score span:first-child {
  font-weight: 700;
  color: var(--slate-800);
}

.mock__score span:last-child {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--indigo-600), var(--violet-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mock__meter {
  height: 7px;
  border-radius: 99px;
  background: var(--slate-100);
  overflow: hidden;
}

.mock__meter i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--indigo-500), var(--violet-500));
}

.mock__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid var(--slate-100);
  color: var(--slate-600);
}

.mock__row:first-of-type {
  border-top: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 700;
  border: 1px solid;
}

.pill--emerald {
  background: var(--emerald-50);
  color: var(--emerald-600);
  border-color: var(--emerald-200);
}

.pill--amber {
  background: var(--amber-50);
  color: var(--amber-700);
  border-color: var(--amber-200);
}

.pill--indigo {
  background: var(--indigo-50);
  color: var(--indigo-700);
  border-color: var(--indigo-200);
}

.pill--rose {
  background: var(--rose-50);
  color: var(--rose-500);
  border-color: var(--rose-200);
}

/* -------------------------------------------------------------- cards ---- */

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
  height: 100%;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__bar {
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--brand-gradient);
}

.card__bar--sky {
  background: linear-gradient(90deg, var(--sky-500), var(--cyan-400));
}

.card__bar--emerald {
  background: linear-gradient(90deg, var(--emerald-500), var(--teal-400));
}

.card__bar--amber {
  background: linear-gradient(90deg, var(--amber-500), #fb923c);
}

.card__bar--violet {
  background: linear-gradient(90deg, var(--violet-500), var(--fuchsia-500));
}

.card__bar--rose {
  background: linear-gradient(90deg, var(--rose-500), #ec4899);
}

.card__icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--indigo-50);
  color: var(--indigo-600);
  margin-bottom: 14px;
}

.card__icon--sky {
  background: #e0f2fe;
  color: #0369a1;
}

.card__icon--emerald {
  background: var(--emerald-50);
  color: var(--emerald-600);
}

.card__icon--amber {
  background: var(--amber-50);
  color: var(--amber-700);
}

.card__icon--violet {
  background: #f5f3ff;
  color: var(--violet-600);
}

.card__icon--rose {
  background: var(--rose-50);
  color: #e11d48;
}

.card h3 {
  margin-bottom: 6px;
}

.card p {
  color: var(--slate-600);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.card p + p {
  margin-top: 0.7em;
}

/* --------------------------------------------------------- step blocks --- */

.steps {
  counter-reset: step;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step {
  position: relative;
  padding: 24px 20px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 20px;
  width: 30px;
  height: 30px;
  border-radius: 99px;
  background: var(--brand-gradient);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 10px rgba(124, 58, 237, 0.35);
}

.step h3 {
  font-size: 1rem;
  margin: 8px 0 6px;
}

.step p {
  font-size: 0.92rem;
  color: var(--slate-600);
  margin: 0;
}

/* ---------------------------------------------------------- split rows --- */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
  align-items: center;
}

.split + .split {
  margin-top: 64px;
}

.split--flip .split__media {
  order: -1;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 11px;
  color: var(--slate-600);
  font-size: 0.97rem;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 19px;
  height: 19px;
  border-radius: 99px;
  background: var(--emerald-50);
  border: 1px solid var(--emerald-200);
}

.checklist li::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--emerald-600);
  border-bottom: 2px solid var(--emerald-600);
  transform: rotate(-45deg);
}

.checklist strong {
  color: var(--slate-800);
}

/* ----------------------------------------------------------- contrast ---- */

.band {
  background: linear-gradient(135deg, #1b1740, #2b1a52 45%, #3b1d5e);
  color: rgba(255, 255, 255, 0.82);
  position: relative;
  overflow: hidden;
}

.band::before {
  content: '';
  position: absolute;
  inset: -40% 40% 40% -20%;
  background: radial-gradient(closest-side, rgba(99, 102, 241, 0.45), transparent);
}

.band::after {
  content: '';
  position: absolute;
  inset: 30% -20% -40% 45%;
  background: radial-gradient(closest-side, rgba(217, 70, 239, 0.32), transparent);
}

.band .wrap {
  position: relative;
  z-index: 1;
}

.band h2,
.band h3 {
  color: #fff;
}

.band .eyebrow {
  color: #c4b5fd;
}

.band .lede {
  color: rgba(255, 255, 255, 0.78);
}

.band-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 22px;
  height: 100%;
}

.band-card h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.band-card p {
  font-size: 0.93rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

/* -------------------------------------------------------------- table ---- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

th,
td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.94rem;
}

thead th {
  background: var(--slate-50);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
  font-weight: 700;
}

tbody tr:last-child td {
  border-bottom: 0;
}

td.yes {
  color: var(--emerald-600);
  font-weight: 600;
}

td.no {
  color: var(--slate-400);
}

.col-ours {
  background: linear-gradient(180deg, rgba(238, 242, 255, 0.85), rgba(245, 243, 255, 0.5));
  font-weight: 600;
}

thead .col-ours {
  background: var(--indigo-50);
  color: var(--indigo-700);
}

/* ------------------------------------------------------------ pricing ---- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.plan--featured {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--brand-gradient) border-box;
  border: 2px solid transparent;
}

.plan__tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}

.plan h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.plan__blurb {
  font-size: 0.9rem;
  color: var(--slate-500);
  min-height: 42px;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 12px 0 4px;
}

.plan__price b {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--slate-900);
  line-height: 1;
}

.plan__price span {
  color: var(--slate-500);
  font-size: 0.92rem;
}

.plan__annual {
  font-size: 0.84rem;
  color: var(--emerald-600);
  font-weight: 600;
  margin-bottom: 18px;
  min-height: 20px;
}

.plan ul {
  margin: 0 0 22px;
  flex: 1;
}

.plan li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
  font-size: 0.92rem;
  color: var(--slate-600);
}

.plan li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 7px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--indigo-600);
  border-bottom: 2px solid var(--indigo-600);
  transform: rotate(-45deg);
}

.plan li.muted {
  color: var(--slate-400);
}

.plan li.muted::before {
  border-color: var(--slate-300);
}

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

.faq {
  max-width: 800px;
  margin: 0 auto;
}

details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  margin-bottom: 10px;
  overflow: hidden;
}

details[open] {
  box-shadow: var(--shadow-sm);
}

summary {
  cursor: pointer;
  padding: 16px 48px 16px 18px;
  font-weight: 600;
  color: var(--slate-800);
  list-style: none;
  position: relative;
  font-size: 0.98rem;
}

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

summary::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 21px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--slate-400);
  border-bottom: 2px solid var(--slate-400);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

details[open] summary::after {
  transform: rotate(-135deg);
  top: 24px;
}

details p {
  padding: 0 18px 16px;
  margin: 0;
  color: var(--slate-600);
  font-size: 0.95rem;
}

details p + p {
  padding-top: 0;
}

/* ----------------------------------------------------------- cta form ---- */

.cta {
  background: var(--brand-gradient);
  border-radius: var(--radius-lg);
  padding: 44px;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta h2 {
  color: #fff;
  margin-bottom: 8px;
}

.cta p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
  margin: 0 auto 24px;
}

.signup {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.signup input {
  flex: 1 1 220px;
  padding: 13px 16px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  min-width: 0;
}

.signup input::placeholder {
  color: var(--slate-400);
}

.signup .btn {
  background: var(--slate-900);
  color: #fff;
  flex: 0 0 auto;
}

.signup .btn:hover {
  background: #000;
  transform: translateY(-1px);
}

.signup__note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 14px;
}

.form-status {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 22px;
}

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

.footer {
  background: #0d1026;
  color: rgba(255, 255, 255, 0.62);
  padding: 52px 0 28px;
  font-size: 0.92rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.78);
}

.footer a:hover {
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer .brand {
  color: #fff;
  margin-bottom: 12px;
}

.footer h4 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
}

.footer li {
  margin-bottom: 8px;
}

.footer__base {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ------------------------------------------------------------- notice ---- */

.notice {
  border: 1px dashed var(--indigo-200);
  background: rgba(238, 242, 255, 0.55);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 0.9rem;
  color: var(--slate-600);
}

.notice strong {
  color: var(--slate-800);
}

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

@media (max-width: 960px) {
  .hero__grid,
  .split {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .split--flip .split__media {
    order: 0;
  }

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

  .grid-3,
  .price-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 10px var(--gutter) 14px;
    gap: 2px;
    box-shadow: var(--shadow-md);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__cta .btn--ghost {
    display: none;
  }

  .section {
    padding: 52px 0;
  }

  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .cta {
    padding: 32px 20px;
  }

  .hero {
    padding-top: 48px;
  }
}

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

  * {
    transition: none !important;
    animation: none !important;
  }
}

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

.legal {
  max-width: 760px;
}

.legal h2 {
  font-size: 1.32rem;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--slate-200);
}

.legal h2:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 24px;
}

.legal h3 {
  font-size: 1.02rem;
  margin-top: 24px;
}

.legal p,
.legal li {
  color: var(--slate-600);
  font-size: 0.97rem;
}

.legal ul {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 1em;
}

.legal li {
  margin-bottom: 8px;
}

.legal strong {
  color: var(--slate-800);
}

.legal .meta {
  font-size: 0.88rem;
  color: var(--slate-500);
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.legal .table-wrap {
  margin: 0 0 1em;
}

.legal table {
  min-width: 520px;
}

.legal .placeholder {
  background: #fef3c7;
  border-bottom: 2px solid var(--amber-500);
  padding: 0 4px;
  border-radius: 3px;
  font-weight: 600;
  color: var(--amber-700);
}

.toc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 8px;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 28px;
}

.toc li {
  margin-bottom: 6px;
  font-size: 0.92rem;
}

@media (max-width: 720px) {
  .toc ol {
    columns: 1;
  }
}
