/* ===== RetailNode website =====
 * The platform's look: the same tokens, type and shapes as the Cockpit and the
 * store console (retailnode-cockpit app/globals.css, retailnode-store
 * globals.css). Brand #ff4500 on slate, Outfit with JetBrains Mono for figures,
 * 10px radii, white cards on a slate-50 ground, and the slate-950 panel with
 * brand glow that the platform's sign-in screens open on. Light only, like the
 * Cockpit. Change a value here only together with the platform's.
 */
:root {
  --brand: #ff4500;
  --brand-hover: #ff5722;
  --brand-deep: #e63e00;
  --brand-ink: #ffffff;
  --brand-tint: #fff0eb;
  --brand-glow: rgba(255, 69, 0, 0.25);
  --accent-orange: #ff8a4d;
  --accent-teal: #0d9488;

  --ink: #0f172a;
  --ink-muted: #64748b;
  --ink-faint: #94a3b8;
  --background: #f8fafc;
  --surface: #ffffff;
  --muted: #f1f5f9;
  --border: #e2e8f0;

  /* The dark panel (slate-950) and what sits on it. */
  --night: #020617;
  --night-raised: #0f172a;
  --night-ink: #ffffff;
  --night-muted: #cbd5e1;
  --night-faint: #64748b;
  --night-line: rgba(255, 255, 255, 0.1);

  --font-sans: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --radius: 0.625rem;
  --radius-lg: 0.875rem;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 30px 80px -24px rgba(2, 6, 23, 0.55);

  --header-h: 4rem;
  --max: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

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

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* The uppercase label the platform puts over headings (sign-in, lockup). */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
}

/* ===== Brand lockup (the platform's: mark + wordmark + eyebrow) ===== */
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.lockup__mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex-shrink: 0;
}

.lockup__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.lockup__word {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.lockup__eyebrow {
  margin-top: 4px;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ===== Buttons (the platform's .btn) ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding: 0 1.1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
  white-space: nowrap;
}

.btn svg {
  flex-shrink: 0;
}

.btn--lg {
  height: 3rem;
  padding: 0 1.4rem;
  font-size: 1rem;
}

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

.btn--primary {
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 8px 24px -10px var(--brand-glow);
}

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

.btn--outline {
  background: var(--surface);
  border-color: var(--border);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn--outline:hover {
  background: var(--muted);
  border-color: #cbd5e1;
}

.btn--ghost {
  color: var(--ink);
}

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

/* On the dark panel. */
.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--night-ink);
  background: rgba(255, 255, 255, 0.04);
}

.btn--outline-light:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  width: min(100% - 2.5rem, var(--max));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__menu {
  flex: 1;
}

.nav__list {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}

.nav__link {
  display: block;
  padding: 0.45rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-muted);
  border-radius: 8px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav__link:hover {
  color: var(--ink);
  background: var(--muted);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__toggle,
.nav__close {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: var(--ink);
}

.nav__toggle:hover,
.nav__close:hover {
  background: var(--muted);
}

.nav__menu-actions {
  display: none;
}

/* ===== Hero: the platform's sign-in panel ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--night-ink);
  padding: calc(var(--header-h) + 4.5rem) 0 0;
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
}

.hero__orb--1 {
  width: 26rem;
  height: 26rem;
  left: -8rem;
  top: 10%;
  background: var(--brand-glow);
}

.hero__orb--2 {
  width: 30rem;
  height: 30rem;
  right: -6rem;
  top: 30%;
  background: rgba(249, 115, 22, 0.15);
}

/* A faint grid, like graph paper under a sales chart. */
.hero__atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--night-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--night-line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%);
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__copy {
  max-width: 50rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__brand {
  margin-bottom: 1.25rem;
  color: #fb923c;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.hero__title-accent {
  color: var(--brand);
}

.hero__lead {
  margin-top: 1.5rem;
  max-width: 40rem;
  font-size: 1.1875rem;
  line-height: 1.7;
  color: var(--night-muted);
}

.hero__actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.hero__facts {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  font-size: 0.875rem;
  color: var(--night-faint);
}

.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__facts svg {
  color: var(--accent-orange);
}

/* The screenshot, framed as a browser window and cut off by the section's
   bottom edge so the page continues out of it. */
.hero__visual {
  position: relative;
  width: min(100%, 68rem);
  margin-top: 3.5rem;
}

.hero__visual-shell {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 0;
  background: var(--night-raised);
  padding: 0.5rem 0.5rem 0;
  box-shadow: var(--shadow-lg);
}

.hero__visual-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.5rem 0.6rem;
}

.hero__visual-bar span {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.hero__visual-url {
  margin-left: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--night-faint);
}

.hero__image {
  width: 100%;
  border-radius: 8px 8px 0 0;
}

/* Reveal motion: visible at rest, a short rise on load. */
.reveal {
  animation: rise 0.7s var(--ease) both;
}

.reveal-delay-1 { animation-delay: 0.08s; }
.reveal-delay-2 { animation-delay: 0.16s; }
.reveal-delay-3 { animation-delay: 0.26s; }

@keyframes rise {
  from {
    transform: translateY(14px);
  }
  to {
    transform: none;
  }
}

/* ===== Sections ===== */
.section {
  padding: 6rem 0;
}

.section--tinted {
  background: var(--background);
  border-block: 1px solid var(--border);
}

.section__header {
  max-width: 44rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section__header .eyebrow {
  margin-bottom: 0.9rem;
}

.section__title {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.section__lead {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--ink-muted);
}

/* A card: white, one hairline, the platform's radius. */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* The platform's icon tile (the Cockpit's active nav item). */
.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius);
  background: var(--brand-tint);
  color: var(--brand);
  flex-shrink: 0;
}

/* Why */
.why__list {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .why__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .why__list {
    grid-template-columns: repeat(5, 1fr);
  }
}

.why-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.why-card .icon-tile {
  margin-bottom: 0.9rem;
}

.why-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.why-card p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

/* Industries: the platform's segmented tabs and a module list. */
.industry-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 2rem;
  padding: 0.3rem;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 0.3rem);
}

.industry-tab {
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-muted);
  border-radius: var(--radius);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

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

.industry-tab.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--border);
}

.industry-panel {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2rem;
}

.industry-panel.is-active {
  animation: fade-in 0.35s var(--ease);
}

@keyframes fade-in {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

.industry-panel__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.industry-panel h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.industry-panel__sub {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.industry-panel ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem 1.5rem;
}

@media (min-width: 640px) {
  .industry-panel ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .industry-panel ul {
    grid-template-columns: repeat(3, 1fr);
  }
}

.industry-panel li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
}

.industry-panel li::before,
.check-list li::before,
.package li::before {
  content: "";
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: var(--brand-tint)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff4500' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / 0.7rem no-repeat;
}

/* Features */
.features__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.feature-card {
  padding: 1.5rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.feature-card:hover {
  border-color: #fdba9c;
  box-shadow: var(--shadow-md);
}

.feature-card .icon-tile {
  margin-bottom: 1.1rem;
}

.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

/* Screens: the store console at work. */
.screens {
  display: grid;
  gap: 1.25rem;
  margin-top: 3.5rem;
}

@media (min-width: 900px) {
  .screens {
    grid-template-columns: 1fr 1fr;
  }
}

.screen {
  overflow: hidden;
}

.screen img {
  width: 100%;
  border-bottom: 1px solid var(--border);
}

.screen figcaption {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.screen figcaption strong {
  font-weight: 600;
}

.screen figcaption span {
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

/* Mobile App */
.mobile-app__grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .mobile-app__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.mobile-app__copy .eyebrow {
  margin-bottom: 0.9rem;
}

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

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 500;
}

.mobile-app__actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mobile-app__device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  position: relative;
}

/* The brand glow behind the phone, as on the sign-in panel. */
.mobile-app__device::before {
  content: "";
  position: absolute;
  width: 22rem;
  height: 22rem;
  top: 12%;
  border-radius: 50%;
  background: rgba(255, 69, 0, 0.14);
  filter: blur(60px);
  pointer-events: none;
}

.phone {
  position: relative;
  width: min(100%, 17.5rem);
}

.phone__bezel {
  padding: 0.6rem;
  border-radius: 2.4rem;
  background: var(--night-raised);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone__screen {
  overflow: hidden;
  border-radius: 1.9rem;
  aspect-ratio: 460 / 1024;
  background: var(--surface);
}

.phone-carousel {
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: pan-y;
}

.phone-carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.55s var(--ease);
}

.phone-carousel__slide {
  flex: 0 0 100%;
  height: 100%;
}

.phone-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone-carousel__controls {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.phone-carousel__btn {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  transition: background-color 0.2s var(--ease);
}

.phone-carousel__btn:hover {
  background: var(--muted);
}

.phone-carousel__dots {
  display: flex;
  gap: 0.4rem;
}

.phone-carousel__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #cbd5e1;
  transition: width 0.3s var(--ease), background-color 0.3s var(--ease);
}

.phone-carousel__dot.is-active {
  width: 1.4rem;
  background: var(--brand);
}

/* Packages */
.packages__grid {
  display: grid;
  gap: 1.25rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .packages__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.package {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.package--featured {
  background: var(--night);
  color: var(--night-ink);
  border-color: var(--night);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.package--featured::before {
  content: "";
  position: absolute;
  width: 18rem;
  height: 18rem;
  right: -6rem;
  top: -6rem;
  border-radius: 50%;
  background: var(--brand-glow);
  filter: blur(60px);
  pointer-events: none;
}

.package > * {
  position: relative;
}

.package__top {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.package--featured .package__top {
  border-bottom-color: var(--night-line);
}

.package__badge {
  display: inline-flex;
  align-items: center;
  height: 1.5rem;
  padding: 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  background: var(--muted);
  color: var(--ink-muted);
}

.package__badge--pro {
  background: var(--brand);
  color: var(--brand-ink);
}

.package__tier {
  margin-top: 1rem;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.package__price {
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.package__price small {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-muted);
}

.package--featured .package__price small {
  color: var(--night-muted);
}

.package__pitch,
.package__note {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.package--featured .package__pitch,
.package--featured .package__note {
  color: var(--night-muted);
}

.package__includes {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.9rem;
}

.package--featured .package__includes {
  color: var(--night-muted);
}

.package ul {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.package li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9375rem;
}

.package--featured li::before {
  background-color: rgba(255, 69, 0, 0.2);
}

.package__note {
  margin: 0 0 1.25rem;
}

.package__btn {
  margin-top: auto;
}

/* Why choose */
.choose__list {
  display: grid;
  gap: 0.75rem;
  max-width: 60rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .choose__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.choose__list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.25rem;
  font-weight: 500;
}

.choose__list li::before {
  content: "";
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-tint);
}

/* Mission */
.mission__inner {
  max-width: 48rem;
  text-align: center;
}

.mission .eyebrow {
  margin-bottom: 1rem;
}

.mission__text {
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

/* CTA: the dark panel again, closing the page as it opened. */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--night);
  color: var(--night-ink);
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
}

.cta::before {
  width: 24rem;
  height: 24rem;
  left: -6rem;
  bottom: -10rem;
  background: var(--brand-glow);
}

.cta::after {
  width: 26rem;
  height: 26rem;
  right: -8rem;
  top: -10rem;
  background: rgba(249, 115, 22, 0.15);
}

.cta__inner {
  position: relative;
  max-width: 46rem;
  text-align: center;
}

.cta .section__lead {
  color: var(--night-muted);
}

.cta__actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}

.footer__brand p {
  margin-top: 1rem;
  max-width: 18rem;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.footer__contact h3,
.footer__legal h3,
.footer__social h3 {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.footer__contact p,
.footer__social p {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}

.footer__contact a {
  color: var(--ink);
  font-weight: 500;
}

.footer__legal-list,
.social-links {
  display: grid;
  gap: 0.45rem;
}

.social-links {
  margin-top: 0.75rem;
}

.footer__legal-list a,
.social-links a {
  font-size: 0.9375rem;
  color: var(--ink-muted);
  transition: color 0.2s var(--ease);
}

.footer__legal-list a:hover,
.social-links a:hover,
.footer__contact a:hover {
  color: var(--brand);
}

.footer__bottom {
  margin-top: 3.5rem;
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 0.875rem;
  color: var(--ink-faint);
}

.footer__bottom-legal {
  display: flex;
  gap: 1.25rem;
}

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

/* ===== Narrow screens ===== */
@media (max-width: 960px) {
  .nav {
    gap: 1rem;
  }

  .nav__toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav__actions {
    display: none;
  }

  .nav__menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(20rem, 86vw);
    height: 100dvh;
    padding: 4.5rem 1.25rem 1.5rem;
    background: var(--surface);
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s var(--ease), visibility 0s linear 0.3s;
    display: flex;
    flex-direction: column;
  }

  .nav__menu.is-open {
    transform: none;
    visibility: visible;
    transition: transform 0.3s var(--ease);
  }

  .nav__list {
    flex-direction: column;
    gap: 0.15rem;
  }

  .nav__link {
    padding: 0.7rem 0.85rem;
    font-size: 1rem;
    color: var(--ink);
  }

  .nav__close {
    display: inline-flex;
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
  }

  .nav__menu-actions {
    display: grid;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4.5rem 0;
  }

  .hero {
    padding-top: calc(var(--header-h) + 3rem);
  }

  .hero__lead {
    font-size: 1.0625rem;
  }

  .hero__actions .btn,
  .cta__actions .btn,
  .mobile-app__actions .btn {
    width: 100%;
  }

  .hero__visual {
    margin-top: 2.5rem;
  }

  .hero__visual-url {
    display: none;
  }

  .industry-tabs {
    width: 100%;
  }

  .industry-tab {
    flex: 1 1 auto;
  }

  .industry-panel,
  .package {
    padding: 1.5rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
