/* ==========================================================================
   Square Space Webs Builder — Design tokens (see design-system/squarespacetech-landing/MASTER.md)
   ========================================================================== */
:root {
  /* Color */
  --color-bg: #ffffff;
  --color-bg-dark: #000000;
  --color-fg: #0a0a0a;
  --color-fg-on-dark: #fafafa;
  --color-muted: #f5f5f5;
  --color-muted-dark: #151515;
  --color-border: #e4e4e4;
  --color-border-dark: #2a2a2a;
  --color-accent: #000000;
  --color-link: #2563eb;
  --color-destructive: #dc2626;
  --color-text-soft: #4b4b4b;
  --color-text-soft-dark: #a3a3a3;

  /* Typography */
  --font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-hero: clamp(2.75rem, 6vw, 6rem);
  --font-h2: clamp(2rem, 4vw, 3.5rem);
  --font-h3: clamp(1.25rem, 2.2vw, 1.75rem);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 6rem;
  --space-4xl: 9rem;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 200ms;
  --dur-base: 300ms;

  --header-h: 96px;
  --ticker-h: 40px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, li, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; background: none; border: 0; color: inherit; }
svg { display: block; }

body {
  font-family: var(--font-body);
  color: var(--color-fg);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }

.container {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.icon { width: 22px; height: 22px; flex-shrink: 0; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 32px; height: 32px; }

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-link);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: #0a0a0a; color: #fff; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #000;
  color: #fff;
  padding: 14px 32px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid #000;
  transition: background var(--dur-fast) ease, transform var(--dur-fast) ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary:hover { background: #1a1a1a; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-primary--inverted { background: #fff; color: #000; border-color: #fff; }
.btn-primary--inverted:hover { background: #eee; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--color-fg);
  border: 1.5px solid var(--color-fg);
  padding: 13px 32px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-secondary:hover { background: var(--color-fg); color: #fff; }

.btn-secondary--light { border-color: #fff; color: #fff; }
.btn-secondary--light:hover { background: #fff; color: #000; }

.btn-lg { padding: 17px 40px; font-size: 1rem; }

/* ==========================================================================
   Section scaffolding
   ========================================================================== */
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-bottom: var(--space-md);
}
.eyebrow--light { color: var(--color-text-soft-dark); }

.section-title { font-size: var(--font-h2); margin-bottom: var(--space-xl); max-width: 20ch; }
.section-title--light { color: var(--color-fg-on-dark); }
.section-sub { max-width: 52ch; color: var(--color-text-soft); font-size: 1.0625rem; margin-bottom: var(--space-2xl); }

.reveal-heading {
  font-size: var(--font-h2);
  margin-bottom: var(--space-xl);
  max-width: 22ch;
}

.light-section, .dark-section { padding-block: var(--space-3xl); }
.dark-section { background: #000; color: var(--color-fg-on-dark); }
.dark-section--alt { background: #0a0a0a; }
.light-section--muted { background: var(--color-muted); }

.inspoHead {
  max-width: 56ch;
  font-size: 1.125rem;
  color: var(--color-text-soft);
  margin-top: 3rem; /* clears the heading even after the -50px scroll-driven parallax drift settles */
  margin-bottom: var(--space-2xl);
  opacity: 0;
}
.dark-section .inspoHead { color: var(--color-text-soft-dark); }

/* ==========================================================================
   Ticker
   ========================================================================== */
/* Pages without the ticker (everything but the homepage) collapse its height
   so the mobile nav offset below still lines up with the header. */
body.no-ticker { --ticker-h: 0px; }

.ticker {
  height: var(--ticker-h);
  background: #000;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 60;
}
.ticker__track {
  display: flex;
  white-space: nowrap;
  animation: marquee-move-text 26s linear infinite;
  will-change: transform;
}
.ticker__text {
  padding-inline: 2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
@keyframes marquee-move-text {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ==========================================================================
   Header — transparent over the hero, solid black once scrolled
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: background var(--dur-base) ease, border-color var(--dur-fast) ease;
}
.site-header.is-scrolled { background: #000; border-color: var(--color-border-dark); }

.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.logo { display: inline-flex; align-items: center; color: #fff; }
/* The logo lockup is a single white PNG (mark + wordmark); it only ever sits
   on the dark header, dark footer and dark modal aside. */
.logo__img { height: 60px; width: auto; display: block; }
.logo--footer .logo__img { height: 42px; }
.logo--modal .logo__img { height: 34px; }

.main-nav__list { display: flex; align-items: center; gap: var(--space-xl); }
.main-nav__link {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0;
  position: relative;
  color: #fff;
  opacity: 0.85;
  transition: opacity var(--dur-fast) ease;
}
.main-nav__link:hover { opacity: 1; }
.main-nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: currentColor;
  transition: right var(--dur-base) var(--ease-out);
}
.main-nav__link:hover::after { right: 0; }

.has-dropdown { position: relative; }
.main-nav__trigger .icon { transition: transform var(--dur-fast) ease; }
.has-dropdown:hover .main-nav__trigger .icon,
.has-dropdown.is-open .main-nav__trigger .icon { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #0a0a0a;
  border: 1px solid var(--color-border-dark);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) ease, transform var(--dur-base) ease, visibility var(--dur-base);
  z-index: 10;
}
.has-dropdown:hover .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown__item {
  padding: 0.65rem 0.85rem;
  border-radius: 9px;
  font-size: 0.875rem;
  color: #fff;
  transition: background var(--dur-fast) ease;
}
.dropdown__item:hover { background: var(--color-muted-dark); }

.site-header__actions { display: flex; align-items: center; gap: var(--space-lg); }
.header-phone {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  opacity: 0.85;
  transition: opacity var(--dur-fast) ease;
}
.header-phone:hover { opacity: 1; }

.nav-toggle { display: none; padding: 0.4rem; cursor: pointer; color: #fff; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

/* ==========================================================================
   Hero — full-bleed background video, centered, styled after squarespace.com
   ========================================================================== */
.hero {
  position: relative;
  color: #fff;
  padding-block: var(--space-3xl) var(--space-4xl);
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--space-3xl) + var(--header-h));
}

.hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.65) 40%, #000 100%);
}

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

.hero h1 { font-size: var(--font-hero); letter-spacing: -0.04em; line-height: 1.05; margin-bottom: var(--space-xl); }

.hero__sub--centered { max-width: 46ch; font-size: 1.125rem; color: var(--color-text-soft-dark); margin-bottom: var(--space-xl); }
.hero__actions--center { justify-content: center; margin-bottom: var(--space-md); }
.hero__microcopy { font-size: 0.8125rem; color: var(--color-text-soft-dark); margin-bottom: var(--space-3xl); }

.heroSlider { width: 100%; max-width: 1100px; margin-bottom: var(--space-3xl); overflow: visible; }
.hero-slide {
  width: min(52vw, 620px);
  display: flex;
  justify-content: center;
  opacity: 0.55;
  transform: scale(0.92);
  transition: opacity var(--dur-base) ease, transform var(--dur-base) ease;
}
.hero-slide.swiper-slide-active { opacity: 1; transform: scale(1); }

.hero-slide.swiper-slide-prev,
.hero-slide.swiper-slide-next { cursor: pointer; }

.hero-slide__card {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-muted);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--color-border-dark);
}
.hero-slide__card img { width: 100%; aspect-ratio: 900/620; object-fit: cover; display: block; }
.hero-slide__bar { display: flex; gap: 6px; padding: 12px 14px; background: var(--color-muted); }
.hero-slide__bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--color-border); }

.hero-slide__nav-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity var(--dur-fast) ease;
}
.hero-slide.swiper-slide-prev .hero-slide__nav-label::before { content: 'Previous'; }
.hero-slide.swiper-slide-next .hero-slide__nav-label::before { content: 'Next'; }
.hero-slide.swiper-slide-prev:hover .hero-slide__nav-label,
.hero-slide.swiper-slide-next:hover .hero-slide__nav-label { opacity: 1; }

.hero__proof { font-size: 0.9375rem; color: var(--color-text-soft-dark); margin-bottom: var(--space-2xl); }

.hero-stats { display: flex; gap: var(--space-3xl); flex-wrap: wrap; justify-content: center; }
.hero-stats__item { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; }
.hero-stats__item strong { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; }
.hero-stats__item span { font-size: 0.8125rem; color: var(--color-text-soft-dark); }

/* ==========================================================================
   Projects Marquee
   ========================================================================== */
.projects { padding-block: var(--space-3xl); }
.projects__head { margin-bottom: var(--space-2xl); }

.marquee { overflow: hidden; width: 100%; }
.marquee__track {
  display: flex;
  gap: var(--space-lg);
  width: max-content;
  will-change: transform;
}
.item { flex: 0 0 auto; }
.project-card {
  width: min(60vw, 320px);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: var(--color-muted);
}
.project-card img { aspect-ratio: 4/5; object-fit: cover; transition: transform 500ms var(--ease-out); }
.project-card:hover img { transform: scale(1.05); }

/* ==========================================================================
   3-Feature Dark Panel
   ========================================================================== */
.features-dark { background: #000; color: var(--color-fg-on-dark); padding-block: var(--space-3xl); }
.features-dark__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2xl); }

.feature-card {
  padding: var(--space-2xl) var(--space-xl);
  background: var(--color-muted);
  border-radius: 20px;
  transition: transform var(--dur-base) ease, border-color var(--dur-base) ease;
  border: 1px solid transparent;
}
.feature-card:hover { transform: translateY(-6px); }
.feature-card h3 { font-size: 1.25rem; margin-block: var(--space-lg) var(--space-sm); }
.feature-card p { color: var(--color-text-soft); font-size: 0.9375rem; }

.feature-card--dark { background: var(--color-muted-dark); color: var(--color-fg-on-dark); }
.feature-card--dark p { color: var(--color-text-soft-dark); }
.feature-card--dark:hover { border-color: var(--color-border-dark); }

.why-grid, .tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2xl); }
.tools-grid { grid-template-columns: repeat(4, 1fr); }
.tools-grid__item h3 { font-size: 1.0625rem; margin-block: var(--space-md) var(--space-xs); color: var(--color-fg-on-dark); }
.tools-grid__item p { color: var(--color-text-soft-dark); font-size: 0.9375rem; }

/* ==========================================================================
   Template Switcher
   ========================================================================== */
.switcher { padding-block: var(--space-3xl); }
.switcher__body {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--space-2xl);
  align-items: stretch;
  margin-top: var(--space-2xl);
}
.switcher__list { border-top: 1px solid var(--color-border); }
.switcher__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0.5rem;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  font-weight: 600;
  color: var(--color-text-soft);
  transition: color var(--dur-fast) ease, padding-left var(--dur-fast) ease;
}
.switcher__item .icon { color: var(--color-text-soft); transition: color var(--dur-fast) ease; }
.switcher__item span { flex: 1; }
.switcher__arrow { opacity: 0; transform: translateX(-6px); transition: opacity var(--dur-fast) ease, transform var(--dur-fast) ease; }
.switcher__item:hover,
.switcher__item.active { color: var(--color-fg); padding-left: 0.85rem; }
.switcher__item:hover .icon,
.switcher__item.active .icon { color: var(--color-fg); }
.switcher__item:hover .switcher__arrow,
.switcher__item.active .switcher__arrow { opacity: 1; transform: translateX(0); }

.switcher__stage {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-muted);
  /* Matches the template preview images (1184x864) so nothing is cropped. */
  aspect-ratio: 1184 / 864;
  align-self: start;
}
.page {
  position: absolute;
  inset: 0;
}
.page img { width: 100%; height: 100%; object-fit: contain; }

/* ==========================================================================
   Reveal images
   ========================================================================== */
.reveal-grid { display: grid; gap: var(--space-xl); }
.reveal-grid--2 { grid-template-columns: repeat(2, 1fr); }

.reveal { overflow: hidden; border-radius: 20px; visibility: hidden; }
.reveal__mask { overflow: hidden; width: 100%; height: 100%; }
.reveal img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.reveal--sm { border-radius: 16px; margin-bottom: var(--space-lg); }
.reveal--sm img { aspect-ratio: 16/10; }

.tools-grid__item { display: flex; flex-direction: column; }

/* ==========================================================================
   Why Choose (light)
   ========================================================================== */
.why-grid .feature-card { background: var(--color-muted); }
.why-grid .icon--lg { color: var(--color-fg); }
.features-dark .icon--lg { color: var(--color-fg-on-dark); }

/* ==========================================================================
   Everything you need on one platform
   ========================================================================== */
.platform__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}
.platform__head .reveal-heading { margin-bottom: 0; flex: 1 1 380px; }
.platform__desc { flex: 1 1 320px; margin-bottom: 0; max-width: 40ch; }

.platform__body { margin-top: var(--space-2xl); }
.platformSlider { overflow: visible; }

.platform-card {
  width: min(78vw, 340px);
  background: #101010;
  color: #fff;
  border-radius: 20px;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  min-height: 460px;
  position: relative;
  overflow: hidden;
}
.platform-card__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.platform-card__visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.platform-card h3, .platform-card p, .platform-card__arrow { position: relative; z-index: 1; }
.platform-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.platform-card p { font-size: 0.9375rem; color: #d4d4d4; max-width: 26ch; }
.platform-card__arrow { margin-top: auto; align-self: flex-end; color: #fff; }

.platform__nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: var(--space-2xl); }
.platform-pagination { grid-column: 2; display: flex; align-items: center; gap: 6px; position: static !important; width: auto !important; }
.platform-pagination .swiper-pagination-bullet {
  width: 6px; height: 6px; border-radius: 9999px;
  background: var(--color-border); opacity: 1;
  transition: width var(--dur-fast) ease, background var(--dur-fast) ease;
}
.platform-pagination .swiper-pagination-bullet-active { width: 22px; background: #0a0a0a; }

.platform-arrows { grid-column: 3; justify-self: end; display: flex; gap: 0.5rem; }
.platform-arrow {
  width: 44px; height: 44px;
  border-radius: 9999px;
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.platform-arrow:hover { background: #0a0a0a; border-color: #0a0a0a; color: #fff; }
.platform-arrow--prev .icon { transform: rotate(180deg); }
.platform-arrow.swiper-button-disabled { opacity: 0.35; cursor: default; }
.platform-arrow.swiper-button-disabled:hover { background: transparent; border-color: var(--color-border); color: inherit; }

/* ==========================================================================
   Accordions
   ========================================================================== */
.process { padding-block: var(--space-3xl); }
.process__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-2xl);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}
.process__head .reveal-heading { margin-bottom: 0; }
.process__desc { flex: 1 1 320px; max-width: 40ch; margin-bottom: 0; }

.process-card {
  background: var(--color-muted);
  border-radius: 24px;
  padding: var(--space-xl) var(--space-xl) 0;
  overflow: hidden;
}
.process-card__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: var(--space-lg); }
.process-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: #fff;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
}
.process-card__nav { display: flex; gap: 0.5rem; }
.process-arrow {
  width: 44px; height: 44px;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
}
.process-arrow:hover:not(:disabled) { background: #0a0a0a; color: #fff; }
.process-arrow:disabled { opacity: 0.35; cursor: default; }
.process-arrow--prev .icon { transform: rotate(180deg); }

.process-card__body { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--space-2xl); }
.process-card__content h3 { font-size: 1.75rem; margin-bottom: var(--space-lg); padding-bottom: var(--space-lg); border-bottom: 1px solid var(--color-border); }
.process-card__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem 1.5rem; }
.process-card__list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9375rem; color: var(--color-text-soft); }
.process-card__list .icon { color: #16a34a; flex-shrink: 0; margin-top: 2px; }

.process-card__visual { align-self: stretch; }
.process-card__visual img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: 20px 20px 0 0; display: block; }

/* ==========================================================================
   We Handle All Integrations
   ========================================================================== */
.integrations { padding-block: var(--space-3xl); overflow: hidden; }
.integrations__head { text-align: center; }
.integrations__head .reveal-heading { margin-inline: auto; }
.integrations__head .section-sub { margin-inline: auto; margin-bottom: 0; }

.integrations__diagram {
  max-width: 1000px;
  margin: var(--space-2xl) auto 0;
}
.integrations__diagram img { width: 100%; height: auto; display: block; }

.integrations__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: var(--space-xl);
}
.integrations__list span {
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  background: var(--color-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-soft);
}
.accordian { border-top: 1px solid var(--color-border); }
.accordian li { border-bottom: 1px solid var(--color-border); }
.accordian h4 {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.0625rem;
}
.accordian__num { font-family: var(--font-display); color: var(--color-text-soft); font-weight: 600; font-size: 0.875rem; width: 2rem; flex-shrink: 0; }
.accordian__label { flex: 1; }
.accordian__icon { color: var(--color-text-soft); transition: transform var(--dur-base) ease; flex-shrink: 0; }
.accordian li.active .accordian__icon { transform: rotate(180deg); }
.accordian li.active .accordian__label { color: var(--color-fg); }
.accordian .panel { display: none; padding: 0 0 1.75rem 3.25rem; color: var(--color-text-soft); max-width: 62ch; }
.accordian li.active .panel { display: block; }

.accordian--faq { border-top-color: var(--color-border-dark); }
.accordian--faq li { border-bottom-color: var(--color-border-dark); }
.accordian--faq .accordian__num { color: var(--color-text-soft-dark); }
.accordian--faq .accordian__icon { color: var(--color-text-soft-dark); }
.accordian--faq li.active .accordian__label { color: #fff; }
.accordian--faq .panel { color: var(--color-text-soft-dark); }

.faq { background: #000; color: var(--color-fg-on-dark); padding-block: var(--space-3xl); }

/* ==========================================================================
   Let's Collaborate
   ========================================================================== */
.collaborate { padding-block: var(--space-3xl); text-align: center; }
/* Both are max-width capped, so they need the auto margins to sit centred —
   text-align alone only centres the text inside their left-hugging boxes. */
.collaborate .reveal-heading,
.collaborate .section-sub { margin-inline: auto; }
.collaborate__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  max-width: 720px;
  margin: var(--space-2xl) auto;
  text-align: left;
}
.collaborate__card {
  background: var(--color-muted);
  border-radius: 20px;
  padding: var(--space-2xl);
  transition: transform var(--dur-base) ease;
}
.collaborate__card:hover { transform: translateY(-6px); }
.collaborate__card h3 { font-size: 1.125rem; margin-block: var(--space-md) var(--space-xs); }
.collaborate__card p { color: var(--color-text-soft); }
.collaborate__link { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; font-size: 0.875rem; margin-top: 1rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #000; color: var(--color-fg-on-dark); padding-top: var(--space-3xl); }
.site-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 1.3fr minmax(280px, 1.1fr);
  gap: var(--space-2xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid var(--color-border-dark);
}
.site-footer__brand p { margin-top: var(--space-md); color: var(--color-text-soft-dark); max-width: 34ch; font-size: 0.9375rem; }
.site-footer__col h4 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-md); color: var(--color-text-soft-dark); }
.site-footer__col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.site-footer__col a { font-size: 0.9375rem; color: var(--color-fg-on-dark); transition: opacity var(--dur-fast) ease; }
.site-footer__col a:hover { opacity: 0.6; }
.site-footer__col a svg { display: inline; color: var(--color-text-soft-dark); }

/* Contact rows: icon and value are flex items so a long email can never leave
   the icon stranded on its own line. */
.site-footer__contact li,
.site-footer__contact li > a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.site-footer__contact li > a { white-space: nowrap; }
.site-footer__contact .site-footer__meta { white-space: normal; }
.site-footer__contact svg { flex-shrink: 0; }

/* Below ~360px the full email would out-run the container, so ease it down a
   step rather than let it overflow or split away from its icon. */
@media (max-width: 360px) {
  .site-footer__contact li > a { font-size: 0.8125rem; }
}
.site-footer__services { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.site-footer__col .btn-secondary--light { margin-top: var(--space-lg); }

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding-block: var(--space-lg);
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--color-text-soft-dark);
}
.site-footer__legal { display: flex; gap: var(--space-lg); }
.site-footer__legal a:hover { color: #fff; }
.site-footer__disclaimer { max-width: 40ch; text-align: right; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .features-dark__grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .switcher__body { grid-template-columns: 1fr; }
  .switcher__stage { order: -1; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: calc(var(--header-h) + var(--ticker-h));
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(100vh - var(--header-h) - var(--ticker-h));
    align-self: stretch;
    background: #fff;
    padding: var(--space-xl) 1.25rem;
    transform: translateX(100%);
    transition: transform var(--dur-base) var(--ease-out);
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav__list > li { border-bottom: 1px solid var(--color-border); }
  .main-nav__link { padding: 1.1rem 0; width: 100%; justify-content: space-between; color: var(--color-fg); opacity: 1; }
  .main-nav__link::after { display: none; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; background: transparent; grid-template-columns: 1fr; display: none; padding: 0 0 0.5rem; }
  .has-dropdown.is-open .dropdown { display: grid; }
  .dropdown__item { color: var(--color-fg); }
  .dropdown__item:hover { background: var(--color-muted); }
  .header-phone { display: none; }
  .nav-toggle { display: block; }
  .btn-primary.js-get-started { padding: 10px 20px; font-size: 0.8125rem; }

  .hero-slide { width: min(70vw, 460px); }
  .hero-stats { gap: var(--space-2xl); }
  .process-card__body { grid-template-columns: 1fr; }
  .process-card__visual img { min-height: 240px; }
  .process-card__list { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .reveal-grid--2 { grid-template-columns: 1fr; }
  .features-dark__grid, .why-grid, .tools-grid { grid-template-columns: 1fr; }
  .collaborate__grid { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__services { grid-template-columns: 1fr 1fr; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .site-footer__disclaimer { text-align: left; }
  :root { --space-3xl: 4rem; --space-4xl: 5.5rem; }

  .hero-slide { width: 82vw; }
  .hero-stats { gap: var(--space-xl); }
}

@media (max-width: 480px) {
  .accordian .panel { padding-left: 0; }
  .accordian h4 { gap: 0.75rem; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation-duration: 60s; }
  * { scroll-behavior: auto !important; }
}
body.reduced-motion .reveal-heading,
body.reduced-motion .inspoHead,
body.reduced-motion .reveal { opacity: 1 !important; visibility: visible !important; transform: none !important; }

/* ==========================================================================
   Enquiry modal — opened by every CTA button (initCtaModal in js/script.js).
   Split dialog: dark pitch panel on the left, form on the right.
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
}
.modal[hidden] { display: none; }

.modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.62);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  cursor: pointer;
}

.modal__dialog {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  /* minmax(0,…) lets the panel scroll inside the dialog instead of the row
     growing to fit its content and pushing the aside past the rounded edge. */
  grid-template-rows: minmax(0, 1fr);
  width: min(1020px, 100%);
  max-height: min(880px, calc(100dvh - 3rem));
  background: var(--color-bg);
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.04),
    0 40px 80px -20px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.05);
  color: var(--color-text-soft);
  cursor: pointer;
  transition: background var(--dur-fast) ease, color var(--dur-fast) ease;
}
.modal__close:hover { background: var(--color-fg); color: #fff; }

/* --- Left: pitch ---------------------------------------------------- */
.modal__aside {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-height: 0;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  background: #000;
  color: var(--color-fg-on-dark);
  overflow: hidden;
}
/* Soft off-centre glow so the flat black reads as lit rather than printed. */
.modal__aside::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -35%;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 68%);
  pointer-events: none;
}
.modal__aside > * { position: relative; }

.logo--modal { font-size: 1rem; margin-bottom: var(--space-lg); }
.modal__aside .eyebrow { margin-bottom: 0; }
.modal__heading { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.modal__body { color: var(--color-text-soft-dark); font-size: 0.9375rem; }

.modal__points { display: grid; gap: 0.7rem; margin-top: var(--space-sm); }
.modal__points li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9375rem; }
.modal__points .icon { margin-top: 0.3rem; color: #fff; }

.modal__aside-foot {
  margin-top: auto;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border-dark);
  display: grid;
  gap: 0.2rem;
}
.modal__phone { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.modal__phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.modal__aside-foot span { font-size: 0.8125rem; color: var(--color-text-soft-dark); }

/* --- Right: form ---------------------------------------------------- */
.modal__panel {
  padding: clamp(1.75rem, 3vw, 2.75rem);
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.modal__form-title { font-size: 1.375rem; }
.modal__form-sub { color: var(--color-text-soft); font-size: 0.875rem; margin-bottom: var(--space-lg); }
.modal__form { gap: var(--space-md); }
.modal__form .form__row { gap: var(--space-md); }
.input--compact { min-height: 96px; }
.modal__submit { justify-self: stretch; justify-content: center; margin-top: var(--space-xs); }
.modal__submit[disabled] { opacity: 0.6; cursor: progress; }
.modal__form .form__note { max-width: none; }

.modal__success {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: var(--space-md);
  min-height: 100%;
}
/* The display rule above would otherwise beat the UA's [hidden] { display:none }. */
.modal__success[hidden] { display: none; }
.modal__success .icon--lg { color: #16a34a; }
.modal__success h3 { font-size: 1.5rem; }
.modal__success p { color: var(--color-text-soft); }

/* --- Responsive ----------------------------------------------------- */
@media (max-width: 900px) {
  .modal { padding: 0; place-items: end stretch; }
  .modal__dialog {
    grid-template-columns: 1fr;
    /* Stacked: two content-sized rows, with the dialog itself doing the
       scrolling rather than the panel. */
    grid-template-rows: auto auto;
    width: 100%;
    max-height: 92dvh;
    border-radius: 24px 24px 0 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  /* The pitch collapses to a header strip so the form stays above the fold. */
  .modal__aside { gap: var(--space-sm); padding-bottom: var(--space-xl); }
  .logo--modal, .modal__points, .modal__aside-foot { display: none; }
  .modal__panel { overflow: visible; }

  /* Close now sits on the dark strip, so it flips to a light treatment. */
  .modal__close { background: rgba(255, 255, 255, 0.14); color: #fff; }
  .modal__close:hover { background: #fff; color: #000; }
}

@media (max-width: 560px) {
  .modal__form .form__row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .modal__scrim { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
