/* ============================================================
   Spirerise — styles.css
   Pure CSS. No frameworks. Sharp geometry only.
   Rules: no border-radius, no box-shadow, no decorative borders.
   ============================================================ */

/* ---------- Heading typeface: SangBleu Republic (self-hosted) ---------- */
@font-face {
  font-family: 'SangBleu Republic';
  src: url('assets/fonts/SangBleuRepublicTrial-Regular.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'SangBleu Republic';
  src: url('assets/fonts/SangBleuRepublicTrial-RegularItalic.otf') format('opentype');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'SangBleu Republic';
  src: url('assets/fonts/SangBleuRepublicTrial-Medium.otf') format('opentype');
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ---------- Tokens (Spirerise: cool off-white, logo purple, Verdana) ---------- */
:root {
  --bg: #f7f6fb;          /* cool off-white with a faint lavender cast */
  --surface: #ffffff;     /* white cards */
  --surface-2: #f0ecfa;   /* hover / alt surface (light lavender) */
  --primary: #9b25f9;     /* Spirerise logo purple */
  --secondary: #7d12d6;   /* darker purple for hover */
  --accent: #9b25f9;
  --text: #1a1622;        /* near-black ink with a faint purple cast */
  --muted: #6a6577;       /* cool grey */
  --hairline: #e6e1f2;    /* light lavender divider */

  --maxw: 1320px;
  --gutter: 24px;
  --section-y: 140px;

  --font: Verdana, Geneva, 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: Verdana, Geneva, 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: Verdana, Geneva, 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-radius: 0; /* enforce square geometry everywhere */
}

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

body {
  font-family: var(--font);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input { font-family: inherit; }

/* ---------- Headings: Verdana bold (classic, utilitarian) ---------- */
h1, h2, h3, h4, h5, h6,
.hero__title, .section__title, .page-hero__title, .page-hero__lead,
.cta__title, .pcard__name, .ai__title, .step__title, .plan__name,
  .contact-card__title, .contact-block h3,
  .stat__num, .plan__amt {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.01em;
}
/* Display headings */
.hero__title, .page-hero__title, .cta__title { font-weight: 700; letter-spacing: -0.02em; }
.section__title { font-weight: 700; }
.quote blockquote { font-family: var(--font-head); font-size: 1.1rem; }

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

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden, .skip-link {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  top: 12px; left: 12px;
  width: auto; height: auto;
  clip: auto;
  z-index: 999;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  font-weight: 600;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.section { padding: var(--section-y) 0; }

.section__head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.section__lead { margin-top: 18px; color: var(--muted); font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 24px;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.25s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: 18px 32px; font-size: 0.82rem; }

.btn--primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn--primary:hover { background: var(--secondary); border-color: var(--secondary); transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--hairline); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--muted); transform: translateY(-2px); }

.btn:active { transform: translateY(0) scale(0.98); }

/* Nav CTA uses the default purple primary button on the light bar */

/* ---------- Navbar (light bar, matches the page background) ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border-bottom: 1px solid var(--hairline);
}
.nav.is-scrolled { background: var(--bg); box-shadow: 0 1px 0 var(--hairline); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  height: 68px;
}

.brand { display: inline-flex; align-items: center; color: var(--text); }
.brand__logo {
  height: 28px;
  width: auto;
  display: block;
  transition: opacity 0.2s var(--ease);
}
.brand:hover .brand__logo { opacity: 0.85; }
.footer .brand__logo { height: 64px; }

.nav__links { display: flex; gap: 28px; margin-right: auto; }
.nav__links a {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--primary); }

.nav__actions { display: flex; align-items: center; gap: 14px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 9px;
  background: var(--surface-2);
}
.hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  overflow: hidden;
  max-height: 0;
  background: var(--surface);
  transition: max-height 0.4s var(--ease);
}
.mobile-menu.is-open { max-height: 460px; }
.mobile-menu__links { display: flex; flex-direction: column; padding: 16px var(--gutter) 28px; gap: 4px; }
.mobile-menu__links a {
  padding: 14px 4px;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.mobile-menu__links a:hover { color: var(--text); }
.mobile-menu__cta { margin-top: 14px; color: #fff !important; }

/* Dropdown menu */
.nav__link-wrapper {
  position: relative;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s var(--ease);
}

.nav__dropdown-toggle:hover {
  color: var(--primary);
}

.nav__dropdown-toggle.is-active {
  color: var(--primary);
}

.nav__dropdown-toggle::after {
  content: "▼";
  font-size: 0.5em;
  transition: transform 0.3s var(--ease);
}

.nav__dropdown-toggle.is-active::after {
  transform: rotate(180deg);
}

.nav__dropdown {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s var(--ease), opacity 0.3s var(--ease);
  z-index: 99;
  pointer-events: none;
}

.nav__dropdown.is-open {
  max-height: 400px;
  opacity: 1;
  pointer-events: auto;
}

.nav__dropdown-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  padding: 40px var(--gutter);
  max-width: 1200px;
  margin: 0 auto;
}

.nav__dropdown-item {
  text-decoration: none;
  color: var(--text);
  transition: opacity 0.2s var(--ease);
}

.nav__dropdown-item:hover {
  opacity: 0.7;
}

.nav__dropdown-item-number {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-bottom: 8px;
}

.nav__dropdown-item-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.nav__dropdown-item-desc {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 120px 0 100px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -10%; left: 50%;
  width: 900px; height: 600px;
  transform: translateX(-50%);
  background: none;
  pointer-events: none;
  z-index: 0;
  display: none;
}
.hero__inner { position: relative; z-index: 1; }

.hero__title {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.hero__sub {
  max-width: 620px;
  margin: 26px auto 0;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--muted);
}
.hero__actions {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__stats {
  margin-top: 88px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
}
.stat {
  background: var(--bg);
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat__num {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
}
.stat__label { font-size: 0.85rem; color: var(--muted); }

/* ---------- Trust ---------- */
.trust { padding: 56px 0; background: var(--bg); }
.trust__label { text-align: center; color: var(--muted); font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 26px; }
.trust__row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 48px;
}
.trust__row span {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--muted);
  opacity: 0.75;
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
}
.trust__row span:hover { opacity: 1; color: var(--text); }

/* ---------- Products / Slider ---------- */
.slider { overflow: hidden; }
.slider__track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s var(--ease);
  will-change: transform;
}
.pcard {
  flex: 0 0 calc((100% - 48px) / 3);
  background: var(--card-bg, var(--surface));
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  border: 1px solid var(--hairline);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
  outline: none;
}
.pcard:hover, .pcard:focus-visible { background: var(--card-bg-2, var(--surface-2)); border-color: var(--primary); transform: translateY(-4px); }

/* ---------- Uniform card (purple accents on white) ---------- */
.pcard {
  --accent: #9b25f9; --primary: #9b25f9; --secondary: #7d12d6;
  --card-bg: #ffffff; --card-bg-2: #faf7ff;
}
.pcard__index {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.pcard__name {
  margin-top: 14px;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.pcard__headline {
  margin-top: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--secondary);
}
.pcard__desc { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }
.pcard__features { margin-top: 20px; display: flex; flex-direction: column; gap: 9px; }
.pcard__features li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--text);
}
.pcard__features li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  background: var(--primary);
}

.slider__controls {
  margin-top: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}
.slider__btn {
  width: 46px; height: 46px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.slider__btn:hover { background: var(--primary); color: #fff; }
.slider__btn:disabled { opacity: 0.35; cursor: not-allowed; }
.slider__dots { display: flex; gap: 9px; }
.slider__dots button {
  width: 28px; height: 4px;
  background: var(--surface-2);
  transition: background 0.25s var(--ease);
}
.slider__dots button.is-active { background: var(--primary); }

/* ---------- How It Works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
}
.step { background: var(--bg); padding: 40px 28px; }
.step__num {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--surface-2);
  -webkit-text-stroke: 1px var(--primary);
  color: transparent;
}
.step__title { margin-top: 18px; font-size: 1.25rem; font-weight: 400; letter-spacing: -0.02em; }
.step__desc { margin-top: 12px; color: var(--muted); font-size: 0.95rem; }

/* ---------- AI Capabilities ---------- */
.ai__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
}
.ai__card {
  background: var(--surface);
  padding: 40px 32px;
  transition: background 0.3s var(--ease);
}
.ai__card:hover { background: var(--surface-2); }
.ai__title { font-size: 1.2rem; font-weight: 400; letter-spacing: -0.02em; }
.ai__desc { margin-top: 12px; color: var(--muted); font-size: 0.95rem; }

/* ---------- Pricing ---------- */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.plan {
  position: relative;
  background: var(--surface);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hairline);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.plan:hover { transform: translateY(-4px); border-color: var(--primary); }
.plan--featured { background: var(--surface); border-color: var(--primary); }
.plan--featured::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--primary);
}
.plan__badge {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.plan__name { font-size: 1.15rem; font-weight: 400; letter-spacing: -0.01em; }
.plan__price { margin-top: 18px; display: flex; align-items: baseline; gap: 4px; }
.plan__amt { font-size: 2.6rem; font-weight: 400; letter-spacing: -0.03em; }
.plan__per { color: var(--muted); font-weight: 500; }
.plan__desc { margin-top: 10px; color: var(--muted); font-size: 0.92rem; }
.plan__features { margin: 24px 0 28px; display: flex; flex-direction: column; gap: 11px; }
.plan__features li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
}
.plan__features li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 9px; height: 9px;
  background: var(--accent);
}
.plan__cta { margin-top: auto; width: 100%; }

/* ---------- Testimonials ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.quote { background: var(--surface); padding: 36px 32px; display: flex; flex-direction: column; gap: 24px; border: 1px solid var(--hairline); }
.quote blockquote { font-size: 1.05rem; line-height: 1.55; letter-spacing: -0.01em; }
.quote figcaption { display: flex; flex-direction: column; gap: 2px; }
.quote figcaption strong { font-weight: 600; }
.quote figcaption span { color: var(--muted); font-size: 0.88rem; }

/* ---------- FAQ ---------- */
.faq__inner { max-width: 820px; }
.accordion { display: flex; flex-direction: column; gap: 1px; background: var(--hairline); }
.acc { background: var(--bg); }
.acc__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 26px 4px;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.acc__icon { font-size: 1.5rem; font-weight: 400; color: var(--muted); transition: transform 0.3s var(--ease); }
.acc.is-open .acc__icon { transform: rotate(45deg); color: var(--primary); }
.acc__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease);
}
.acc__a p { padding: 0 4px 26px; color: var(--muted); font-size: 0.98rem; max-width: 680px; }

/* ---------- CTA ---------- */
.cta { background: var(--bg); }
.cta__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.cta__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.cta__sub { margin-top: 18px; color: var(--muted); font-size: 1.1rem; }
.cta__form {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.input {
  flex: 1 1 320px;
  max-width: 380px;
  background: var(--surface);
  color: var(--text);
  padding: 15px 18px;
  font-size: 1rem;
  border: 1px solid var(--hairline);
  outline: none;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.input::placeholder { color: var(--muted); }
.input:focus { background: var(--surface-2); border-color: var(--muted); }
.input.is-invalid { background: color-mix(in srgb, #ff4d4d 18%, var(--bg)); }
.cta__note { margin-top: 18px; color: var(--muted); font-size: 0.88rem; }

/* ---------- Footer ---------- */
.footer { padding: 80px 0 40px; background: #141019; color: #ece9f3; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__tagline { margin-top: 16px; color: #a39fad; font-size: 0.92rem; max-width: 240px; }
.footer__col h3 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #928fa0;
  margin-bottom: 18px;
}
.footer__col a {
  display: block;
  padding: 6px 0;
  color: #ece9f3;
  font-size: 0.92rem;
  transition: color 0.2s var(--ease);
}
.footer__col a:hover { color: var(--primary); }
.footer__bottom {
  margin-top: 56px;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: #928fa0;
  font-size: 0.85rem;
  border-top: 1px solid #2a2633;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Focus visibility ---------- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ==========================================================
   Multipage additions
   ========================================================== */

/* Active nav link */
.nav__links a.is-active { color: var(--primary); }

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  padding: 80px 0 56px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -40%; left: 50%;
  width: 720px; height: 480px;
  transform: translateX(-50%);
  background: none;
  pointer-events: none;
  z-index: 0;
  display: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero__title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.04;
}
.page-hero__lead {
  margin-top: 12px;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 600;
  color: var(--secondary);
}
.page-hero__sub {
  margin-top: 18px;
  max-width: 640px;
  font-size: 1.1rem;
  color: var(--muted);
}
.page-hero .hero__actions { margin-top: 32px; justify-content: flex-start; }

/* Breadcrumbs */
.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 0.85rem;
  color: var(--muted);
}
.crumbs a { color: var(--muted); transition: color 0.2s var(--ease); }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-hidden] { opacity: 0.5; }

/* Tighter section spacing where a page hero precedes */
.section--tight { padding-top: 56px; }

/* Section-level inline CTA */
.section__cta { margin-top: 48px; text-align: center; }

/* Product grid (non-slider) */
.prodgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.prodgrid--3 { grid-template-columns: repeat(3, 1fr); }
.prodgrid--2 { grid-template-columns: repeat(2, 1fr); }

/* Card-as-link variant */
.pcard--link { text-decoration: none; color: inherit; }
.pcard__more {
  margin-top: auto;
  padding-top: 22px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

/* Stacked / wide steps (How It Works page) */
.steps--stack { grid-template-columns: 1fr; gap: 1px; }
.step--wide {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: start;
  padding: 48px 32px;
}
.step--wide .step__num { font-size: 3.4rem; }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}
.contact-card { background: var(--surface); padding: 44px 36px; border: 1px solid var(--hairline); }
.contact-card__title { font-size: 1.6rem; font-weight: 400; letter-spacing: -0.02em; }
.contact-card__desc { margin-top: 12px; color: var(--muted); }
.contact-form {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-form .input { max-width: none; flex: none; width: 100%; }
.contact-form .btn { width: 100%; }
.contact-aside { display: flex; flex-direction: column; gap: 1px; background: var(--hairline); }
.contact-block { background: var(--bg); padding: 28px 32px; }
.contact-block h3 { font-size: 1.05rem; font-weight: 400; letter-spacing: -0.01em; }
.contact-block p { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }
.contact-block a { color: var(--accent); }
.contact-block .plan__features { margin-top: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  :root { --section-y: 100px; }
  .ai__grid, .pricing__grid, .quotes { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .prodgrid, .prodgrid--3 { grid-template-columns: repeat(2, 1fr); }
  .prodgrid--2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .pcard { flex-basis: calc((100% - 24px) / 2); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .ai__grid, .pricing__grid, .quotes, .steps { grid-template-columns: 1fr; }
  .prodgrid, .prodgrid--3 { grid-template-columns: 1fr; }
  .step--wide { grid-template-columns: 64px 1fr; padding: 36px 24px; gap: 16px; }
  .step--wide .step__num { font-size: 2.4rem; }
  .pcard { flex-basis: 100%; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 460px) {
  :root { --gutter: 18px; }
  .hero__actions .btn { width: 100%; }
  .footer__inner { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   Display overrides (placed last to win cascade).
   Classic YC = bold Verdana with tight tracking on large sizes.
   ========================================================== */
.hero__title,
.page-hero__title,
.cta__title { font-weight: 700; letter-spacing: -0.02em; line-height: 1.06; }
.section__title { font-weight: 700; letter-spacing: -0.015em; }
.stat__num,
.plan__amt,
.contact-card__title { font-weight: 700; letter-spacing: -0.01em; }

