/* GrapeNode marketing site.
   Colors mirror the app's tokens (GN2 packages/ui/src/styles/theme.css):
   royal blue is the action color, the violet is brand identity (logo, glow). */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/InterVariable-latin.woff2') format('woff2');
}

:root {
  --primary: #2b5fc7;
  --primary-hover: #2450a8;
  --primary-light: #e8eefb;
  --primary-wash: #f1f5fd;
  --primary-border: #b7cbf2;
  --primary-text: #2450a8;
  --brand: #9c6bff;
  --brand-light: #f3edff;

  --text-1: #000000;
  --text-2: #171717;
  --text-3: #404040;
  --text-4: #595959;

  --bg: #ffffff;
  --bg-alt: #f6f6f6;
  --bg-inset: #f9f9f9;
  --bg-muted: #e8e8e8;
  --border: #dcdcdc;
  --border-strong: #c4c4c4;
  --chrome: #2e3a54;

  --success: #16a34a;
  --radius: 8px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 24px 64px -16px rgba(30, 40, 70, 0.22), 0 4px 12px rgba(30, 40, 70, 0.06);
  --header-h: 64px;
  --gutter: 24px;
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  color: var(--text-1);
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: var(--primary-text);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.mark {
  fill: var(--brand);
  flex-shrink: 0;
}

.container {
  width: 100%;
  max-width: calc(1120px + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: var(--bg);
  color: var(--text-1);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--bg-alt);
  border-color: #a2a2a2;
}

.btn-light {
  background: #fff;
  color: var(--chrome);
}

.btn-light:hover {
  background: var(--primary-light);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.site-header.is-scrolled,
.site-header.nav-open {
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-1);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--text-3);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--text-1);
  background: var(--bg-alt);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-signin {
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.nav-signin:hover {
  color: var(--primary-text);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-1);
  cursor: pointer;
}

.nav-toggle:hover {
  background: var(--bg-alt);
}

.nav-toggle .icon-close,
.nav-open .nav-toggle .icon-open {
  display: none;
}

.nav-open .nav-toggle .icon-close {
  display: block;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 12px var(--gutter) 20px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.12);
  }

  .nav-open .nav {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
  }

  .nav-links a {
    padding: 10px 12px;
    font-size: 16px;
  }

  .nav-actions {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 8px;
  }

  .nav-actions .btn {
    height: 44px;
    font-size: 15px;
  }

  .nav-signin {
    text-align: center;
    padding: 10px;
  }
}

/* ---------- Hero ---------- */

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

.hero::before {
  content: '';
  position: absolute;
  inset: -200px 0 auto;
  height: 760px;
  background:
    radial-gradient(520px 320px at 30% 40%, rgba(156, 107, 255, 0.16), transparent 70%),
    radial-gradient(560px 340px at 72% 46%, rgba(43, 95, 199, 0.13), transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border: 1px solid #ddd0ff;
  border-radius: 999px;
  background: var(--brand-light);
  color: #5b2fc4;
  font-size: 14px;
  font-weight: 600;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(38px, 6.4vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero-lead {
  max-width: 640px;
  margin: 24px auto 0;
  color: var(--text-3);
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.6;
}

.hero-lead strong {
  color: var(--text-1);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-note {
  margin-top: 16px;
  color: var(--text-4);
  font-size: 14px;
}

/* ---------- Workbench mockup ---------- */

.mock-wrap {
  position: relative;
  max-width: 1040px;
  margin: 64px auto 0;
}

.mock {
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  user-select: none;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 40px;
  padding: 0 14px;
  background: var(--chrome);
  color: #fff;
}

.mock-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.mock-tabs {
  display: flex;
  align-self: stretch;
  align-items: flex-end;
  gap: 2px;
  min-width: 0;
}

.mock-tab {
  padding: 6px 14px;
  border-radius: 6px 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 500;
}

.mock-tab.is-active {
  background: #fff;
  color: var(--text-1);
  font-weight: 600;
}

.mock-avatar {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-left: auto;
  border-radius: 50%;
  background: #6b8fd6;
  font-size: 10px;
  font-weight: 700;
}

.mock-body {
  display: grid;
  grid-template-columns: 48px 1fr;
}

.mock-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: 16px;
  background: var(--bg-inset);
  border-right: 1px solid var(--border);
  color: var(--text-4);
}

.mock-rail .is-active {
  color: var(--primary);
}

.mock-main {
  min-width: 0;
  padding: 14px 18px 18px;
}

.mock-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.mock-title {
  margin-right: 6px;
  color: var(--text-1);
  font-size: 15px;
  font-weight: 700;
}

.mock-chip {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-muted);
  color: var(--text-3);
  font-size: 12px;
  white-space: nowrap;
}

.mock-search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 200px;
  padding: 3px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  color: var(--text-4);
  font-size: 12px;
}

.mock-sync {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: #166534;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.sync-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}

.mock-table {
  width: 100%;
  border-collapse: collapse;
}

.mock-table th {
  padding: 6px 10px;
  background: var(--bg-inset);
  border-bottom: 1px solid var(--border);
  color: var(--text-4);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.mock-table td {
  padding: 7px 10px;
  border-bottom: 1px solid #ececec;
  color: var(--text-2);
  vertical-align: middle;
}

.mock-table tr:last-child td {
  border-bottom: 0;
}

.mock-table b {
  display: block;
  color: var(--text-1);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-table small {
  display: block;
  color: var(--text-4);
  font-size: 11px;
}

.mock-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.mock-table .zero {
  color: #b91c1c;
  font-weight: 600;
}

.hl {
  display: inline-block;
  padding: 2px 9px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.hl-reorder { background: #fffbeb; border-color: #fcd34d; color: #92400e; }
.hl-ok      { background: #f0fdf4; border-color: #86efac; color: #166534; }
.hl-verify  { background: #f0f9ff; border-color: #7dd3fc; color: #075985; }
.hl-over    { background: #f4f4f4; border-color: var(--border-strong); color: var(--text-3); }
.hl-clear   { background: #fef2f2; border-color: #fca5a5; color: #991b1b; }
.hl-new     { background: var(--primary-light); border-color: var(--primary-border); color: var(--primary-text); }

.mock-toast {
  position: absolute;
  right: -28px;
  bottom: -44px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 300px;
  padding: 12px 14px;
  border: 1px solid #86efac;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.18);
  color: var(--success);
}

.mock-toast span {
  color: var(--text-3);
  font-size: 12px;
}

.mock-toast b {
  display: block;
  color: var(--text-1);
  font-size: 13px;
}

@media (max-width: 1140px) {
  .mock-toast {
    right: 16px;
  }
}

@media (max-width: 960px) {
  .mock-toast {
    display: none;
  }
}

@media (max-width: 760px) {
  .hide-md {
    display: none;
  }
}

@media (max-width: 560px) {
  .hide-sm {
    display: none;
  }

  .mock-wrap {
    margin-top: 48px;
  }

  .mock-body {
    grid-template-columns: 1fr;
  }

  .mock-rail {
    display: none;
  }

  .mock-main {
    padding: 12px;
  }

  .mock-table th,
  .mock-table td {
    padding-left: 6px;
    padding-right: 6px;
  }

  .mock-table b {
    white-space: normal;
  }

  .hl {
    padding: 2px 7px;
  }

  .mock-bar {
    gap: 12px;
  }

  .mock-tab {
    padding: 6px 10px;
  }

  .mock-brand {
    font-size: 0;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: 104px 0;
  scroll-margin-top: var(--header-h);
}

.section-alt {
  background: var(--bg-alt);
}

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

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

.eyebrow {
  color: var(--primary-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2 {
  margin-top: 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 750;
}

.section-lead {
  margin-top: 16px;
  color: var(--text-3);
  font-size: 18px;
}

/* Problems */

.problems {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.problem {
  padding-top: 20px;
  border-top: 2px solid var(--text-1);
}

.problem-num {
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.problem h3 {
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.problem p {
  margin-top: 8px;
  color: var(--text-3);
}

/* Cards */

.cards {
  display: grid;
  gap: 16px;
}

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

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

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

.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
}

.card h3 {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 650;
}

.card p {
  margin-top: 8px;
  color: var(--text-3);
  font-size: 15px;
  line-height: 1.55;
}

.badge {
  position: absolute;
  top: 24px;
  right: 20px;
  padding: 2px 10px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.badge-live {
  background: #f0fdf4;
  border-color: #86efac;
  color: #166534;
}

.badge-soon {
  background: var(--bg-alt);
  border-color: var(--border);
  color: var(--text-3);
}

@media (max-width: 1000px) {
  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .cards-3,
  .problems {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cards-3,
  .cards-4,
  .problems {
    grid-template-columns: 1fr;
  }
}

/* Network */

.net {
  display: grid;
  grid-template-columns: 1fr 120px 1.25fr 120px 1fr;
  align-items: center;
}

.net-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.net-col-title {
  color: var(--text-4);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.node {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--primary);
}

.node span {
  color: var(--text-4);
  font-size: 14px;
  line-height: 1.35;
}

.node b {
  display: block;
  color: var(--text-1);
  font-weight: 600;
}

.net-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

/* animated dashed connector */
.net-link::before {
  content: '';
  position: absolute;
  left: 6px;
  right: 6px;
  top: 50%;
  height: 2px;
  background-image: linear-gradient(90deg, var(--primary) 50%, transparent 50%);
  background-size: 10px 2px;
  animation: flow-x 0.8s linear infinite;
}

.net-link::after {
  content: '';
  position: absolute;
  right: 4px;
  top: calc(50% - 4px);
  border: 5px solid transparent;
  border-left: 7px solid var(--primary);
  border-right: 0;
}

.net-link span {
  position: relative;
  transform: translateY(-26px);
  padding: 0 6px;
  color: var(--primary-text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

@keyframes flow-x {
  to { background-position: 10px 0; }
}

@keyframes flow-y {
  to { background-position: 0 10px; }
}

.net-hub {
  padding: 24px;
  border: 1px solid var(--primary-border);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, var(--primary-wash) 100%);
  box-shadow: 0 0 0 6px rgba(156, 107, 255, 0.08), var(--shadow-lg);
}

.hub-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text-1);
}

.hub-layers {
  display: grid;
  gap: 6px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.hub-layers li {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
}

.hub-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.hub-apps span {
  flex: 1;
  padding: 7px 10px;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 960px) {
  .net {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .net-link {
    height: 72px;
  }

  .net-link::before {
    left: calc(50% - 1px);
    right: auto;
    top: 6px;
    bottom: 10px;
    width: 2px;
    height: auto;
    background-image: linear-gradient(180deg, var(--primary) 50%, transparent 50%);
    background-size: 2px 10px;
    animation-name: flow-y;
  }

  .net-link::after {
    right: auto;
    left: calc(50% - 5px);
    top: auto;
    bottom: 4px;
    border: 5px solid transparent;
    border-top: 7px solid var(--primary);
    border-bottom: 0;
  }

  .net-link span {
    transform: translateX(78px);
    text-align: left;
  }

  .net-link span br {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .net-link::before {
    animation: none;
  }
}

/* Liquor */

.section-liquor {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(156, 107, 255, 0.07), transparent 70%),
    linear-gradient(180deg, var(--primary-wash) 0%, #fff 60%);
}

.also {
  margin-top: 24px;
  color: var(--text-3);
  font-size: 15px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 64px 0 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 4px;
  padding: 28px 24px;
}

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

.stats dd {
  margin: 0;
  color: var(--text-1);
  font-size: clamp(34px, 4.4vw, 48px);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.stats dd span {
  margin-left: 6px;
  color: var(--text-4);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
}

.stats dt {
  color: var(--text-3);
  font-size: 15px;
}

@media (max-width: 760px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats > div:nth-child(3) {
    border-left: 0;
  }

  .stats > div:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }

  .stats > div {
    padding: 20px 16px;
  }
}

.day {
  margin-top: 64px;
}

.day-title {
  font-size: 22px;
  letter-spacing: -0.015em;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.timeline li {
  position: relative;
  padding-top: 28px;
}

/* dot + rail */
.timeline li::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
}

.timeline li::after {
  content: '';
  position: absolute;
  top: 9px;
  left: 18px;
  right: -14px;
  height: 2px;
  background: var(--primary-border);
}

.timeline li:last-child::after {
  display: none;
}

.timeline .time {
  display: block;
  color: var(--primary-text);
  font-size: 13px;
  font-weight: 700;
}

.timeline b {
  display: block;
  margin-top: 4px;
  color: var(--text-1);
  font-size: 16px;
  line-height: 1.35;
}

.timeline p {
  margin-top: 6px;
  color: var(--text-3);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .timeline li {
    padding: 0 0 24px 32px;
  }

  .timeline li::before {
    top: 4px;
  }

  .timeline li::after {
    top: 20px;
    bottom: 0;
    left: 5px;
    right: auto;
    width: 2px;
    height: auto;
  }
}

.fineprint {
  margin-top: 40px;
  max-width: 720px;
  color: var(--text-4);
  font-size: 14px;
}

/* Pricing */

.price-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price-amount {
  color: var(--text-1);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.price-unit {
  color: var(--text-4);
  font-size: 16px;
}

.price-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 32px;
  padding: 0;
  list-style: none;
}

.price-list li {
  display: flex;
  gap: 10px;
  color: var(--text-2);
  font-size: 15px;
}

.price-list .icon {
  margin-top: 3px;
  color: var(--success);
  stroke-width: 2.25;
}

/* FAQ */

.faq {
  max-width: 800px;
  border-top: 1px solid var(--border);
}

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

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  color: var(--text-1);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

/* plus sign that turns into a minus when open */
.faq summary::after {
  content: '';
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--text-3), var(--text-3)) center / 14px 2px no-repeat,
    linear-gradient(var(--text-3), var(--text-3)) center / 2px 14px no-repeat;
}

.faq details[open] summary::after {
  background: linear-gradient(var(--text-3), var(--text-3)) center / 14px 2px no-repeat;
}

.faq summary:hover {
  color: var(--primary-text);
}

.faq details p {
  max-width: 680px;
  padding-bottom: 20px;
  color: var(--text-3);
}

/* CTA */

.cta {
  position: relative;
  padding: 96px 0;
  background: var(--chrome);
  color: #fff;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(156, 107, 255, 0.35), transparent 70%),
    radial-gradient(600px 300px at 85% 100%, rgba(43, 95, 199, 0.45), transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  text-align: center;
}

.cta h2 {
  color: #fff;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.cta p {
  max-width: 560px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

/* Footer */

.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

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

.footer-brand p {
  margin-top: 8px;
  color: var(--text-4);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-links a {
  color: var(--text-3);
  font-size: 14px;
  text-decoration: none;
}

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

.copyright {
  grid-column: 1 / -1;
  color: var(--text-4);
  font-size: 13px;
}

/* ---------- Small screens ---------- */

@media (max-width: 600px) {
  :root {
    --gutter: 16px;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-lead {
    font-size: 17px;
  }

  .cta {
    padding: 72px 0;
  }

  .price-card {
    padding: 24px;
  }

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