/*
 * Vigo Mobility marketing site.
 * Plain CSS, no build step. Recreated from the GoDaddy Airo draft (dark navy + amber "command centre" style).
 */

:root {
  --bg: hsl(216 60% 10%);
  --surface-deeper: hsl(216 67% 5%);
  --surface-footer: hsl(216 70% 4%);
  --card: hsl(218 51% 14%);
  --muted: hsl(216 52% 12%);
  --border: hsl(218 41% 20%);
  --fg: hsl(0 0% 96%);
  --fg-muted: hsl(215 20% 65%);
  --amber: hsl(38 92% 50%);
  --amber-hover: hsl(38 92% 56%);
  --amber-fg: hsl(216 60% 9%);
  --amber-soft: hsl(38 92% 50% / 0.12);
  --amber-line: hsl(38 92% 50% / 0.35);
  --success: hsl(160 84% 39%);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, monospace;

  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --content: 72rem;
  --gutter: 1.5rem;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

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

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 100;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  background: var(--amber);
  color: var(--amber-fg);
  font-weight: 600;
}

.skip-link:focus {
  left: 0.5rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--amber);
  color: var(--amber-fg);
}

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

.btn-outline {
  border-color: var(--border);
  background: transparent;
  color: var(--fg);
}

.btn-outline:hover {
  border-color: var(--amber-line);
}

.btn-sm {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
  box-shadow: 0 0 0 1px hsl(38 92% 50% / 0.4), 0 12px 32px -8px hsl(38 92% 50% / 0.55);
}

.btn-lg:hover {
  box-shadow: 0 0 0 1px hsl(38 92% 60% / 0.6), 0 16px 40px -8px hsl(38 92% 50% / 0.7);
}

.hero-note {
  margin-top: 1rem;
  color: var(--fg-muted);
  font-size: 0.875rem;
}

.btn-arrow::after {
  content: "→";
  font-weight: 500;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--amber);
  font-size: 0.875rem;
  font-weight: 600;
}

.link-arrow::after {
  content: "→";
  transition: transform 0.15s;
}

.link-arrow:hover::after {
  transform: translateX(3px);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: hsl(216 60% 10% / 0.92);
  backdrop-filter: blur(10px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.brand svg {
  width: 2rem;
  height: auto;
}

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

.nav > a,
.nav-dropdown > button {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--fg-muted);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s;
}

.nav > a:hover,
.nav-dropdown > button:hover,
.nav > a[aria-current="page"],
.nav-dropdown.is-current > button {
  color: var(--fg);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > button::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  margin-left: 0.125rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  min-width: 15rem;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: hsl(216 52% 12%);
  box-shadow: 0 20px 40px -12px rgb(0 0 0 / 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown-menu a {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius);
  color: var(--fg);
  font-size: 0.875rem;
  font-weight: 500;
}

.dropdown-menu a span {
  display: block;
  color: var(--fg-muted);
  font-size: 0.8125rem;
  font-weight: 400;
}

.dropdown-menu a:hover,
.dropdown-menu a[aria-current="page"] {
  background: hsl(218 41% 20% / 0.6);
}

.header-cta {
  display: inline-flex;
}

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: none;
  color: var(--fg);
  cursor: pointer;
}

.menu-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

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

.section {
  padding: 6rem 0;
}

.section-tight {
  padding: 4rem 0;
}

.section-alt {
  background: var(--muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.dot-grid {
  background-image: radial-gradient(hsl(218 41% 20% / 0.55) 1px, transparent 1px);
  background-size: 24px 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--amber-line);
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-dot::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--amber);
}

.section-head {
  max-width: 44rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-head h2 {
  margin-top: 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.section-head p {
  margin-top: 1rem;
  color: var(--fg-muted);
  font-size: 1.0625rem;
}

.lead {
  color: var(--fg-muted);
  font-size: 1.125rem;
  line-height: 1.7;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 6rem;
}

.hero::before {
  content: "";
  position: absolute;
  top: -10rem;
  right: -10rem;
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  background: radial-gradient(circle, hsl(38 92% 50% / 0.12), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  letter-spacing: -0.02em;
}

.hero .lead {
  max-width: 34rem;
  margin-top: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 4rem;
  text-align: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -12rem;
  left: 50%;
  width: 48rem;
  height: 32rem;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, hsl(38 92% 50% / 0.1), transparent 65%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  max-width: 50rem;
}

.page-hero h1 {
  margin-top: 1.25rem;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
}

.page-hero .lead {
  margin-top: 1.25rem;
}

.page-hero .hero-actions {
  justify-content: center;
}

/* ---------- Dispatch mock-up ---------- */

.mock {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: hsl(218 51% 14% / 0.85);
  box-shadow: 0 40px 80px -30px hsl(38 92% 50% / 0.25), 0 30px 60px -30px rgb(0 0 0 / 0.6);
  font-size: 0.8125rem;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  color: var(--fg-muted);
}

.mock-dots {
  display: flex;
  gap: 0.375rem;
}

.mock-dots i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--border);
}

.mock-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--success);
  font-family: var(--font-sans);
  font-size: 0.75rem;
}

.mock-live::before {
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: currentColor;
}

.mock-body {
  display: grid;
  gap: 0.75rem;
  padding: 0.75rem;
}

.mock-panel {
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--muted);
}

.mock-label {
  color: var(--fg-muted);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mock-map {
  height: 8.5rem;
  margin-top: 0.5rem;
  border-radius: 0.375rem;
  background-image:
    linear-gradient(hsl(218 41% 20% / 0.5) 1px, transparent 1px),
    linear-gradient(90deg, hsl(218 41% 20% / 0.5) 1px, transparent 1px);
  background-size: 20px 20px;
}

.mock-map svg {
  width: 100%;
  height: 100%;
}

.mock-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.mock-stat strong {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  line-height: 1.2;
}

.mock-stat small {
  color: var(--fg-muted);
  font-size: 0.75rem;
}

.mock-queue-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.mock-queue-head span:last-child,
.mock-row span.is-assigning {
  color: var(--amber);
  font-weight: 600;
}

.mock-row {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
  color: var(--fg);
}

.mock-row span:last-child {
  color: var(--fg-muted);
}

/* ---------- Cards ---------- */

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1rem;
}

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

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

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

.card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  transition: border-color 0.2s;
}

.card:hover {
  border-color: hsl(38 92% 50% / 0.3);
}

.card h3 {
  font-size: 1.125rem;
}

.card p {
  margin-top: 0.625rem;
  color: var(--fg-muted);
  font-size: 0.9375rem;
}

.card .link-arrow {
  margin-top: 1.25rem;
}

.card-icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--amber-line);
  border-radius: var(--radius);
  background: var(--amber-soft);
  color: var(--amber);
}

.card-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.tag {
  display: inline-block;
  margin-bottom: 0.875rem;
  padding: 0.125rem 0.5rem;
  border: 1px solid var(--amber-line);
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ---------- Split (text + list) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.split h2 {
  margin-top: 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.split .lead {
  margin-top: 1rem;
}

.split .btn {
  margin-top: 2rem;
}

.accent-band {
  border-left: 3px solid var(--amber);
}

.check-list {
  display: grid;
  gap: 0.75rem;
}

.check-item {
  display: flex;
  gap: 0.875rem;
  padding: 1.125rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.check-item::before,
.ticks li::before {
  content: "";
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.2rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59f0a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 0.75rem no-repeat,
    var(--amber-soft);
  box-shadow: inset 0 0 0 1px var(--amber-line);
}

.check-item h3 {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
}

.check-item p {
  margin-top: 0.25rem;
  color: var(--fg-muted);
  font-size: 0.875rem;
}

.ticks {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.ticks li {
  display: flex;
  gap: 0.75rem;
  color: var(--fg);
  font-size: 0.9375rem;
}

/* ---------- Big-number value props (For Fleets) ---------- */

.value-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.value-card strong {
  display: block;
  color: var(--amber);
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1;
}

.value-card h3 {
  margin-top: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.value-card p {
  margin-top: 1rem;
  color: var(--fg-muted);
  font-size: 0.9375rem;
}

/* ---------- Brand + tariff mock-ups (For Fleets) ---------- */

.brand-preview .mock-body {
  gap: 1rem;
  padding: 1.25rem;
}

.app-id {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.app-id .app-icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--amber);
  color: var(--amber-fg);
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
}

.app-id strong {
  display: block;
  font-size: 0.9375rem;
}

.app-id small {
  color: var(--fg-muted);
}

.app-id .mock-live {
  margin-left: auto;
}

.swatches {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.swatches i {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
}

.swatches i.add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-style: dashed;
  color: var(--fg-muted);
  font-style: normal;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.5rem;
}

.chips span {
  padding: 0.25rem 0.625rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--fg);
  font-size: 0.75rem;
}

.tariff-row {
  display: flex;
  justify-content: space-between;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border);
}

.tariff-row:last-of-type {
  border-bottom: 0;
}

.tariff-row span:last-child {
  font-family: var(--font-mono);
  font-weight: 600;
}

.tariff-zone {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--amber-line);
  border-radius: var(--radius);
  background: var(--amber-soft);
}

.tariff-zone span:last-child {
  color: var(--success);
  font-weight: 600;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step {
  padding: 1.5rem;
  border-top: 2px solid var(--amber);
  background: var(--card);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.step-num {
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
}

.step h3 {
  margin-top: 0.75rem;
  font-size: 1.0625rem;
}

.step p {
  margin-top: 0.5rem;
  color: var(--fg-muted);
  font-size: 0.875rem;
}

/* ---------- Pricing ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 1rem;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.plan.is-featured {
  border-color: var(--amber);
  box-shadow: 0 30px 60px -30px hsl(38 92% 50% / 0.35);
}

.plan-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--amber);
  color: var(--amber-fg);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.plan-name {
  color: var(--fg-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.plan-price {
  margin-top: 0.75rem;
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
}

.plan-price small {
  color: var(--fg-muted);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 400;
}

.plan-desc {
  margin-top: 1rem;
  color: var(--fg-muted);
  font-size: 0.9375rem;
}

.plan .ticks {
  flex: 1;
}

.plan .btn {
  width: 100%;
  margin-top: 2rem;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 48rem;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  color: var(--amber);
  font-size: 1.25rem;
  font-weight: 400;
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 1.25rem 1.25rem;
  color: var(--fg-muted);
}

/* ---------- About ---------- */

.prose {
  max-width: 46rem;
  margin: 0 auto;
}

.prose h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
}

.prose p {
  margin-top: 1.25rem;
  color: var(--fg-muted);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.mission {
  max-width: 48rem;
  margin: 0 auto 3rem;
  padding: 2rem 2.25rem;
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: var(--card);
}

.mission h2 {
  margin-top: 0.75rem;
  font-size: 1.5rem;
}

.mission p {
  margin-top: 0.75rem;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 500;
  line-height: 1.4;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.contact-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.contact-card h2 {
  font-size: 1.5rem;
}

.contact-card > p {
  margin-top: 0.75rem;
  color: var(--fg-muted);
}

.contact-card .btn {
  align-self: flex-start;
  margin-top: 1.75rem;
}

.contact-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.contact-list li {
  display: flex;
  gap: 1rem;
}

.contact-list .card-icon {
  flex: none;
  margin: 0;
}

.contact-list h3 {
  color: var(--fg-muted);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-list address,
.contact-list a,
.contact-list p {
  display: block;
  margin-top: 0.25rem;
  font-style: normal;
  line-height: 1.6;
}

.contact-list a {
  color: var(--amber);
  font-weight: 600;
  word-break: break-word;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* ---------- Feature pager + CTA ---------- */

.pager {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--muted);
}

.pager .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.pager a {
  color: var(--fg-muted);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.15s;
}

.pager a:hover {
  color: var(--fg);
}

.pager .next {
  margin-left: auto;
}

.pager .prev::before {
  content: "← ";
}

.pager .next::after {
  content: " →";
}

.cta {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  background: var(--surface-deeper);
  text-align: center;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, hsl(38 92% 50% / 0.1), transparent 60%);
  pointer-events: none;
}

.cta .container {
  position: relative;
  max-width: 40rem;
}

.cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.cta p {
  margin-top: 1rem;
  color: var(--fg-muted);
  font-size: 1.0625rem;
}

.cta .btn {
  margin-top: 2rem;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--surface-footer);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-about p {
  max-width: 26rem;
  margin-top: 1rem;
  color: var(--fg-muted);
  font-size: 0.9375rem;
}

.footer-about .btn {
  margin-top: 1.5rem;
}

.footer-col h2 {
  color: var(--amber);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 0.625rem;
  margin-top: 1rem;
}

.footer-col a {
  color: var(--fg-muted);
  font-size: 0.9375rem;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--fg);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--fg-muted);
  font-size: 0.8125rem;
}

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

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

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

  .plans {
    gap: 1.75rem 1rem;
  }
}

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

  .header-cta {
    display: none;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem var(--gutter) 1.25rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
  }

  .site-header.is-open .nav {
    display: flex;
  }

  .nav > a,
  .nav-dropdown > button {
    width: 100%;
    padding: 0.75rem 0;
    font-size: 1rem;
  }

  .nav-dropdown > button {
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    margin-bottom: 0.5rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    transform: none;
  }

  .nav-dropdown.is-open .dropdown-menu {
    display: block;
    transform: none;
  }

  .nav .mobile-cta {
    display: inline-flex;
    margin-top: 0.75rem;
  }
}

@media (min-width: 861px) {
  .nav .mobile-cta {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 1rem;
  }

  .section {
    padding: 4rem 0;
  }

  .hero {
    padding: 4rem 0;
  }

  .page-hero {
    padding: 4rem 0 3rem;
  }

  .cta {
    padding: 4rem 0;
  }

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

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

  .footer-about {
    grid-column: 1 / -1;
  }

  .card,
  .plan,
  .contact-card {
    padding: 1.5rem;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Book a demo form ---------- */

.form-wrap {
  max-width: 52rem;
}

.demo-form {
  display: grid;
  gap: 1.25rem;
}

.form-section {
  margin: 0;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.form-section > legend {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  float: left;
  width: 100%;
  margin-bottom: 1.25rem;
  padding: 0;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.form-section > legend + * {
  clear: both;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}

.field {
  display: grid;
  gap: 0.375rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field-wide {
  grid-column: 1 / -1;
}

.field-label {
  padding: 0;
  color: var(--fg);
  font-size: 0.875rem;
  font-weight: 600;
}

fieldset.field > .field-label {
  margin-bottom: 0.375rem;
}

.req {
  color: var(--amber);
}

.field-hint {
  color: var(--fg-muted);
  font-size: 0.8125rem;
}

.field input,
.field select,
.field textarea,
.form-done textarea {
  width: 100%;
  padding: 0.6875rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--muted);
  color: var(--fg);
  font: inherit;
  font-size: 0.9375rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field textarea,
.form-done textarea {
  resize: vertical;
  line-height: 1.5;
}

.field input::placeholder,
.field textarea::placeholder {
  color: hsl(215 20% 65% / 0.6);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px hsl(38 92% 50% / 0.2);
}

.was-validated .field :invalid {
  border-color: hsl(0 84% 60%);
}

.field select {
  appearance: none;
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3adbd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 0.75rem center;
  background-size: 1rem;
  background-repeat: no-repeat;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.check {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--muted);
  font-size: 0.875rem;
  cursor: pointer;
  transition: border-color 0.15s;
}

.check:hover {
  border-color: var(--amber-line);
}

.check input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--amber);
}

.check:has(input:checked) {
  border-color: var(--amber);
  background: var(--amber-soft);
}

.form-actions {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
}

.form-note {
  color: var(--fg-muted);
  font-size: 0.875rem;
}

.form-note a,
.form-done a {
  color: var(--amber);
  font-weight: 600;
}

.form-error {
  padding: 0.625rem 0.875rem;
  border: 1px solid hsl(0 84% 60% / 0.4);
  border-radius: var(--radius);
  background: hsl(0 84% 60% / 0.1);
  color: hsl(0 90% 75%);
  font-size: 0.875rem;
  font-weight: 600;
}

.form-done {
  padding: 2rem;
  border: 1px solid var(--amber-line);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.form-done:focus {
  outline: none;
}

.form-done h2 {
  font-size: 1.5rem;
}

.form-done p {
  margin-top: 0.75rem;
  color: var(--fg-muted);
}

.form-done textarea {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.form-done-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .form-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .form-section,
  .form-done {
    padding: 1.25rem;
  }

  .form-actions .btn {
    width: 100%;
  }
}
