/* ============================================================
   LOGSPACE — marketing site design system
   Shared across all pages. Crimson + Playfair Display / DM Sans.
   ============================================================ */

:root {
  --white: #FFFFFF;
  --off-white: #FAF9F6;
  --near-black: #1A1A1A;
  --grey: #666666;
  --grey-light: #8C8C8C;
  --line: #E0DEDA;
  --line-soft: #ECEAE4;
  --placeholder: #F2F0EB;
  --crimson: #802323;
  --crimson-dark: #6a1c1c;
  --crimson-tint: #F7EFEF;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --nav-h: 72px;
  --maxw: 1320px;
  --shadow-sm: 0 2px 10px rgba(26, 26, 26, 0.05);
  --shadow-md: 0 18px 50px rgba(26, 26, 26, 0.10);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--near-black);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--near-black);
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow { max-width: 920px; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--crimson);
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--crimson);
  outline-offset: 2px;
}

/* ---------- Legal pages (privacy / terms) ---------- */
.legal { padding: 30px 0 90px; }
.legal h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin: 48px 0 14px;
}
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--grey); margin: 0 0 14px; }
.legal ul { padding-left: 22px; list-style: disc; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--crimson); }
.legal .legal__updated {
  font-size: 13px;
  color: var(--grey-light);
  margin-bottom: 40px;
}

/* ---------- Shared bits ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--crimson);
  margin: 0 0 22px;
}
.eyebrow--center { text-align: center; }

.lead {
  color: var(--grey);
  font-size: 18px;
  max-width: 560px;
}

/* Crimson pill CTA */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  background: var(--crimson);
  border: 1px solid var(--crimson);
  border-radius: 999px;
  padding: 13px 26px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--crimson-dark); border-color: var(--crimson-dark); }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 16px 32px; font-size: 16px; }

/* Outline / ghost variant */
.btn--ghost {
  color: var(--near-black);
  background: transparent;
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--off-white); border-color: var(--near-black); color: var(--near-black); }

/* On crimson backgrounds */
.btn--invert {
  color: var(--crimson);
  background: var(--white);
  border-color: var(--white);
}
.btn--invert:hover { background: var(--off-white); border-color: var(--off-white); color: var(--crimson-dark); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand { display: flex; align-items: center; }
.nav__logo { height: 30px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__link {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--grey);
  transition: color 0.2s ease;
  position: relative;
}
.nav__link:hover { color: var(--near-black); }
.nav__link.is-active { color: var(--crimson); }

.nav__cta-mobile { display: none; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0;
  margin: -8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--near-black);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 90;
}
.nav__overlay.is-open { opacity: 1; pointer-events: auto; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--alt { background: var(--off-white); }

.section-head { max-width: 620px; }
.section-head--center { max-width: 680px; margin: 0 auto; text-align: center; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 52px); }
.section-head .lead { margin-top: 22px; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* Fade-in on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Image placeholders */
.placeholder {
  background: var(--placeholder);
  border-radius: 16px;
  width: 100%;
  overflow: hidden;
}

/* ---------- Sub-page hero (inner pages) ---------- */
.page-hero {
  padding-top: calc(var(--nav-h) + 84px);
  padding-bottom: 64px;
  background: var(--off-white);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero__inner { max-width: 760px; }
.page-hero h1 { font-size: clamp(40px, 5.2vw, 68px); letter-spacing: -0.02em; }
.page-hero .lead { margin-top: 24px; max-width: 620px; font-size: 19px; }
.breadcrumb {
  font-size: 13px;
  color: var(--grey-light);
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}
.breadcrumb a:hover { color: var(--crimson); }
.breadcrumb span { color: var(--near-black); }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  background: var(--placeholder);
  border-bottom: 1px solid var(--line-soft);
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 80px;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 56px;
  align-items: center;
}
.hero__copy { max-width: 560px; }
.hero h1 {
  font-size: clamp(42px, 5.6vw, 82px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.hero h1 .line-1 { white-space: nowrap; }
.hero h1 .line-2 { color: var(--grey); font-style: italic; font-weight: 600; }
.hero .lead { margin-top: 32px; max-width: 560px; }
.hero__cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__note { margin-top: 20px; font-size: 13.5px; color: var(--grey-light); }

/* Right-side 2×2 interlocking bento — wide photo squares + narrow stat pills.
   Each row alternates [wide, narrow] / [narrow, wide] so the wide squares sit
   on the top-left↔bottom-right diagonal and the tall pills on the other. */
.hero__bento {
  display: flex;
  flex-direction: column;
  gap: 0px;
  height: min(86vh, 660px);
}
.hero__row { display: flex; gap: 0px; flex: 1 1 0; min-height: 0; }
.bento { position: relative; overflow: hidden; min-height: 0; }
.bento--wide { flex: 2.0 1 0; }
.bento--narrow { flex: 1 1 0; }
.bento--sq {
  border-radius: 34px;
  background: var(--crimson-tint);
  box-shadow: 0 18px 50px rgba(26, 26, 26, 0.10);
}
.bento--sq img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bento--cap {
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(16px, 1.8vw, 28px);
}
.bento--cream { background: #ECE7D9; color: var(--near-black); }
.bento--crimson { background: var(--crimson); color: #fff; }
.bento__badge {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.bento__badge svg {
  width: 19px; height: 19px;
  stroke: var(--crimson);
  fill: none; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
}
.bento__title { font-family: var(--serif); font-weight: 700; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.25; }
.bento__date { margin-top: 8px; font-size: 12.5px; font-style: italic; color: var(--grey); }
.bento__big { font-family: var(--serif); font-weight: 700; font-size: clamp(22px, 2vw, 28px); line-height: 1.1; }
.bento__sub { margin-top: 6px; font-size: 13px; opacity: 0.85; }
.bento__avatar {
  position: absolute;
  bottom: clamp(16px, 2vw, 26px);
  left: 50%;
  transform: translateX(-50%);
  width: 42px; height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
  overflow: hidden;
}
.bento__avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }

/* Hero page-load sequence (staggered) */
@keyframes heroDrop { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }
@keyframes heroRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes heroRiseSm { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes heroPop { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }

.home .nav { animation: heroDrop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: 0.1s; }
.hero .eyebrow { animation: heroRiseSm 0.4s ease-out both; animation-delay: 0.2s; }
.hero h1 { animation: heroRise 0.55s ease-out both; animation-delay: 0.3s; }
.hero .lead { animation: heroRiseSm 0.45s ease-out both; animation-delay: 0.46s; }
.hero__cta { animation: heroRiseSm 0.4s ease-out both; animation-delay: 0.6s; }
.hero__note { animation: heroRiseSm 0.4s ease-out both; animation-delay: 0.72s; }
.bento { animation: heroPop 0.5s ease-out both; }
.hero__row:nth-child(1) .bento:nth-child(1) { animation-delay: 0.4s; }
.hero__row:nth-child(1) .bento:nth-child(2) { animation-delay: 0.52s; }
.hero__row:nth-child(2) .bento:nth-child(1) { animation-delay: 0.64s; }
.hero__row:nth-child(2) .bento:nth-child(2) { animation-delay: 0.76s; }

/* Mobile hero carousel dots — hidden on desktop, shown via media query */
.hero__dots { display: none; }
.hero__dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--line);
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.25s ease, width 0.25s ease;
}
.hero__dot:hover { background: var(--grey-light); }
.hero__dot.is-active { background: var(--crimson); width: 22px; }

/* ---------- Trust / logos strip ---------- */
.trust { padding: 40px 0; border-bottom: 1px solid var(--line-soft); }
.trust__label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey-light);
  margin-bottom: 22px;
}
.trust__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 48px;
}
.trust__item {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  color: #B8B2A8;
  letter-spacing: 0.01em;
}

/* ---------- Stats band ---------- */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(38px, 4vw, 54px);
  color: var(--crimson);
  line-height: 1;
}
.stat__label { margin-top: 12px; font-size: 14.5px; color: var(--grey); }

/* ---------- Benefits / card grid ---------- */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 64px;
}
.benefit__icon { color: var(--crimson); line-height: 0; margin-bottom: 18px; }
.benefit__icon svg {
  width: 24px; height: 24px;
  stroke: var(--crimson);
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit h3 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  margin-bottom: 10px;
}
.benefit p { color: var(--grey); font-size: 14px; line-height: 1.55; }
.benefits__banner { height: 260px; margin-top: 72px; }

/* Bordered card variant (used on Features / About) */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--crimson-tint);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card__icon svg {
  width: 22px; height: 22px;
  stroke: var(--crimson);
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 10px;
}
.card p { color: var(--grey); font-size: 14.5px; line-height: 1.55; }

/* ---------- Alternating feature rows ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-row + .feature-row { margin-top: 112px; }
.feature-row--flip .feature-row__media { order: -1; }
.feature-row__media {
  border-radius: 16px;
  overflow: hidden;
  background: var(--placeholder);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}
.feature-row__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-row h3 { font-size: clamp(28px, 3.2vw, 40px); }
.feature-row .lead { margin-top: 18px; }
.feature-list { margin-top: 26px; display: grid; gap: 14px; }
.feature-list li {
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--near-black);
}
.feature-list svg {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  margin-top: 1px;
  stroke: var(--crimson);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Specifications (numbered) ---------- */
.specs__grid {
  display: grid;
  grid-template-columns: 45% 50%;
  justify-content: space-between;
  gap: 64px;
  align-items: start;
}
.specs__list { margin-top: 40px; }
.spec-item { display: flex; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); }
.spec-item:last-child { border-bottom: 1px solid var(--line); }
.spec-item__num {
  font-family: var(--sans);
  font-size: 15px; font-weight: 500;
  color: #BBB6AE;
  flex: 0 0 auto;
  padding-top: 2px;
}
.spec-item h3 { font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: 0; margin-bottom: 5px; }
.spec-item p { color: var(--grey); font-size: 14.5px; }
.specs__cta { margin-top: 36px; }
.specs__media {
  position: relative;
  height: 480px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  overflow: hidden;
}
.specs__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-md); }

/* ---------- How-to steps ---------- */
.howto__flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-top: 72px;
}
.howto__flow::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 8%;
  right: 8%;
  border-top: 1px dashed #C9C4BB;
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step__num {
  width: 46px; height: 46px;
  border-radius: 999px;
  background: var(--crimson);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.step h3 { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 0; margin-bottom: 8px; }
.step p { color: var(--grey); font-size: 13.5px; line-height: 1.5; max-width: 170px; margin: 0 auto; }

/* ---------- Testimonial / quote ---------- */
.quote { text-align: center; max-width: 880px; margin: 0 auto; }
.quote__mark {
  font-family: var(--serif);
  font-size: 80px;
  line-height: 0.6;
  color: var(--crimson);
  height: 40px;
}
.quote blockquote {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.32;
  letter-spacing: -0.01em;
  margin: 0;
}
.quote__cite { margin-top: 28px; font-size: 14.5px; color: var(--grey); }
.quote__cite strong { color: var(--near-black); font-weight: 700; }

/* ---------- Pricing ---------- */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  align-items: start;
}
.price-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 30px;
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.price-card--featured {
  border-color: var(--crimson);
  box-shadow: 0 24px 60px rgba(128, 35, 35, 0.14);
  position: relative;
}
.price-card__tag {
  position: absolute;
  top: -13px; left: 30px;
  background: var(--crimson);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.price-card__name { font-family: var(--sans); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--crimson); }
.price-card__price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.price-card__amount { font-family: var(--serif); font-weight: 700; font-size: 52px; line-height: 1; }
.price-card__period { font-size: 14px; color: var(--grey); }
.price-card__desc { margin-top: 14px; color: var(--grey); font-size: 14.5px; min-height: 44px; }
.price-card .btn { margin-top: 26px; justify-content: center; }
.price-card__features { margin-top: 28px; display: grid; gap: 13px; }
.price-card__features li {
  list-style: none;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--near-black);
}
.price-card__features svg {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin-top: 2px;
  stroke: var(--crimson);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.price-card__features li.muted { color: var(--grey-light); }
.price-card__features li.muted svg { stroke: var(--grey-light); }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  color: var(--near-black);
}
.faq__icon {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  position: relative;
  transition: transform 0.3s ease;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--crimson);
  border-radius: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after { width: 2px; height: 14px; transition: transform 0.3s ease; }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq__a-inner { padding: 0 0 26px; color: var(--grey); font-size: 16px; max-width: 720px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--crimson); color: var(--white); text-align: center; padding: 100px 0; }
.cta-band h2 { color: var(--white); font-size: clamp(34px, 5vw, 56px); max-width: 760px; margin: 0 auto; }
.cta-band .lead { color: rgba(255, 255, 255, 0.85); margin: 26px auto 38px; max-width: 520px; }
.cta-band__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-center { text-align: center; padding: 120px 0; }
.contact-center h2 { font-size: clamp(34px, 5vw, 56px); max-width: 760px; margin: 0 auto; }
.contact-center .lead { margin: 26px auto 38px; max-width: 520px; }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact__info .lead { margin-top: 20px; }
.contact__details { margin-top: 40px; display: grid; gap: 26px; }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; }
.contact-detail__icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--crimson-tint);
  display: flex; align-items: center; justify-content: center;
}
.contact-detail__icon svg { width: 20px; height: 20px; stroke: var(--crimson); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.contact-detail__label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--grey-light); }
.contact-detail__value { font-size: 16px; font-weight: 500; margin-top: 3px; }
.contact-detail__value a:hover { color: var(--crimson); }

.form { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 36px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__group { margin-bottom: 20px; }
.form__group label { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 8px; }
.form__group input, .form__group select, .form__group textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--near-black);
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.form__group input:focus, .form__group select:focus, .form__group textarea:focus {
  outline: none;
  border-color: var(--crimson);
  background: var(--white);
}
.form__group textarea { resize: vertical; min-height: 130px; }
.form .btn { width: 100%; justify-content: center; margin-top: 4px; }
.form__note { margin-top: 16px; font-size: 13px; color: var(--grey-light); text-align: center; }

/* ---------- Values list (About) ---------- */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 64px; margin-top: 56px; }
.value h3 { font-family: var(--sans); font-size: 19px; font-weight: 700; letter-spacing: 0; margin-bottom: 10px; }
.value h3 span { color: var(--crimson); margin-right: 10px; }
.value p { color: var(--grey); font-size: 15px; }

/* ---------- Split intro (About) ---------- */
.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.split h2 { font-size: clamp(30px, 3.6vw, 44px); }
.split__body { color: var(--grey); font-size: 17px; display: grid; gap: 18px; }
.split__body strong { color: var(--near-black); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 72px 0 32px; background: var(--off-white); }
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer__brand-col { max-width: 300px; }
.footer__logo { height: 26px; width: auto; display: block; margin-bottom: 18px; }
.footer__tagline { color: var(--grey); font-size: 14.5px; }
.footer__col h4 { font-family: var(--sans); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--near-black); margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 12px; }
.footer__col li { list-style: none; }
.footer__col a { font-size: 14.5px; color: var(--grey); transition: color 0.2s ease; }
.footer__col a:hover { color: var(--crimson); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
}
.footer__copy { font-size: 13.5px; color: var(--grey-light); }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { font-size: 13.5px; color: var(--grey-light); }
.footer__legal a:hover { color: var(--near-black); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  section { padding: 84px 0; }
  .hero__inner { gap: 40px; }
  .benefits__grid { gap: 32px; }
  .specs__grid { gap: 40px; }
  .feature-row { gap: 44px; }
  .feature-row + .feature-row { margin-top: 88px; }
}

@media (max-width: 900px) {
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  .nav__links {
    position: fixed;
    top: var(--nav-h);
    right: 0;
    bottom: 0;
    /* Explicit height overrides the iOS "fixed-in-fixed" bug where bottom:0
       is resolved relative to the 72px parent nav instead of the viewport,
       collapsing the sidebar to 0px height. */
    height: calc(100vh - var(--nav-h));
    height: calc(100dvh - var(--nav-h));
    width: min(320px, 82vw);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 24px 24px calc(24px + env(safe-area-inset-bottom, 0px));
    background: var(--white);
    border-left: 1px solid var(--line);
    box-shadow: -12px 0 40px rgba(26, 26, 26, 0.08);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 95;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__link { font-size: 17px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav__cta-mobile { display: inline-flex; justify-content: center; margin-top: 18px; }

  /* Kill the nav transform animation on mobile — transform on a position:fixed
     ancestor turns it into a containing block, breaking child fixed elements. */
  .home .nav { animation: none; }

  .hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 64px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__copy { max-width: none; }
  /* ---- Hero bento → single-slide carousel on mobile ---- */
  .hero__bento {
    position: relative;
    overflow: hidden;
    height: 380px;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    border-radius: 28px;
  }
  .hero__row { display: contents; }
  .hero__bento .bento {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    animation: none;
  }
  .hero__bento .bento.is-active { opacity: 1; pointer-events: auto; }
  .hero__bento .bento--sq { border-radius: 28px; }
  .hero__bento .bento--cap {
    border-radius: 28px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 36px;
  }
  .hero__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: -26px; /* pull dots flush to carousel despite grid gap */
  }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }

  .benefits__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 32px; }
  .benefits__banner { height: 220px; }

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

  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row--flip .feature-row__media { order: 0; }
  .feature-row__media { max-width: 560px; }

  .specs__grid { grid-template-columns: 1fr; gap: 40px; }
  .specs__media { position: relative; top: 0; height: 380px; }

  .howto__flow { grid-template-columns: repeat(3, 1fr); gap: 44px 24px; }
  .howto__flow::before { display: none; }

  .pricing__grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .price-card--featured { order: -1; }

  .contact__grid { grid-template-columns: 1fr; gap: 44px; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .values { gap: 36px 48px; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand-col { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  section { padding: 64px 0; }

  .hero { padding-bottom: 52px; }
  .hero h1 .line-1 { white-space: normal; }
  .hero .lead { margin-top: 24px; }
  .hero__cta { margin-top: 28px; }
  .hero__bento { height: 300px; max-width: 100%; }
  .hero__bento .bento--cap { padding: 36px 28px; }
  .bento__title { font-size: 15px; }
  .bento__big { font-size: 20px; }
  .bento__avatar { width: 34px; height: 34px; bottom: 12px; }

  .lead { font-size: 16.5px; }

  .page-hero { padding-top: calc(var(--nav-h) + 52px); padding-bottom: 48px; }

  .stats__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }

  .benefits__grid { grid-template-columns: 1fr; gap: 32px; margin-top: 48px; }
  .benefits__banner { height: 180px; margin-top: 48px; }
  .values { grid-template-columns: 1fr; gap: 32px; }
  .cards { grid-template-columns: 1fr; }

  .specs__list { margin-top: 28px; }
  .specs__media { height: 300px; }

  .howto__flow { grid-template-columns: 1fr; gap: 32px; margin-top: 48px; }
  .step { text-align: left; display: grid; grid-template-columns: 46px 1fr; gap: 0 18px; align-items: center; }
  .step__num { margin: 0; }
  .step h3 { margin-bottom: 0; }
  .step p { grid-column: 2; max-width: none; margin: 6px 0 0; }

  .feature-list { margin-top: 22px; }

  .form { padding: 26px 22px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }

  .contact-center { padding: 72px 0; }
  .cta-band { padding: 72px 0; }

  .footer { padding: 56px 0 28px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 430px) {
  .hero__bento { height: 260px; }
  .bento__badge { width: 32px; height: 32px; margin-bottom: 10px; }
  .bento__badge svg { width: 15px; height: 15px; }
  .bento__title { font-size: 13px; }
  .bento__big { font-size: 18px; }
  .bento__sub { font-size: 11px; }
  .bento__avatar { width: 30px; height: 30px; bottom: 10px; }
}

@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .btn { padding: 12px 22px; }
  .hero__bento { height: 240px; }
  .hero__bento .bento--cap { padding: 28px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .home .nav,
  .hero .eyebrow, .hero h1, .hero .lead, .hero__cta, .hero__note,
  .bento {
    animation: none !important;
  }
  .hero__bento .bento { transition: none; }
  .hero__dot { transition: none; }
}
