/* Activity Recorder & Tracker — layout inspired by professional monitoring product sites */
:root {
  --bg: #0b1220;
  --bg-elevated: #111b2e;
  --surface: #ffffff;
  --surface-muted: #f4f7fb;
  --text: #0f172a;
  --text-muted: #475569;
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --accent-soft: rgba(13, 148, 136, 0.12);
  --border: #e2e8f0;
  --danger: #b91c1c;
  --radius: 12px;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--surface-muted);
  line-height: 1.6;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ——— Top promo bar (Clevguard-style thin strip) ——— */
.top-bar {
  background: var(--bg);
  color: #e2e8f0;
  font-size: 0.8125rem;
  text-align: center;
  padding: 0.5rem 1rem;
}
.top-bar strong {
  color: #5eead4;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
}
.logo:hover {
  text-decoration: none;
  color: var(--accent);
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* White AR-Tracker mark on dark footer — slightly larger so the circle reads clearly */
.site-footer .logo-mark--footer {
  width: 44px;
  height: 44px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  font-size: 1.1rem;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1.35rem;
}

.site-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
}
.site-nav a:hover {
  color: var(--accent);
}
.site-nav a[aria-current="page"] {
  color: var(--accent);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.btn:hover {
  text-decoration: none;
}
.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid transparent;
}
.btn-ghost:hover {
  border-color: var(--border);
}

/* ——— Hero: full-area photo as background + scrim; peaked bottom ——— */
.hero {
  position: relative;
  isolation: isolate;
  color: #f8fafc;
  padding: 3.5rem 1.25rem 5.25rem;
  min-height: min(88vh, 920px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  /* Fallback under the photo until it loads */
  background-color: #0f172a;
  /* Bottom “peak”: center sits slightly higher than corners */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 42px), 0 100%);
  margin-bottom: -42px;
  z-index: 1;
}

/* Tint + teal glow over the photo (keeps headline readable) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(45, 212, 191, 0.22), transparent 55%),
    linear-gradient(165deg, rgba(11, 18, 42, 0.78) 0%, rgba(19, 32, 66, 0.72) 45%, rgba(15, 23, 42, 0.88) 100%);
}

/* Full-bleed background image inside .hero (same clip-path as section) */
.hero-side-photo-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  /* Mask opacity: 0 at left edge → 100% at right (linear) */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.hero-side-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Phone mockups are tall; bias framing toward the device */
  object-position: 72% center;
  transform: translateX(30%);
  user-select: none;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

.hero-copy h1 {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero-copy .lead {
  font-size: 1.1rem;
  color: rgba(248, 250, 252, 0.92);
  margin: 0 0 1.75rem;
  max-width: 36rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.badge {
  font-size: 0.8125rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: #cbd5e1;
}

.hero-card {
  position: relative;
  z-index: 3;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.hero-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: #5eead4;
}
.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #e2e8f0;
  font-size: 0.9rem;
}

/* Scroll cue (reference: chevron above bottom peak) */
.hero-scroll {
  position: absolute;
  bottom: 3.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.hero-scroll:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  color: #fff;
}

@media (max-width: 899px) {
  .hero-scroll {
    bottom: 4.5rem;
  }
}

/* Pull next section under hero peak so white block meets the cut */
.hero + .section {
  position: relative;
  z-index: 2;
  padding-top: calc(3.5rem + 36px);
}

#how-panel {
  margin-top: 1rem;
  min-height: 0;
}

/* ——— Sections ——— */
.section {
  padding: 3.5rem 1.25rem;
}
.section.alt {
  background: var(--surface);
}
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.75rem;
}
.section-head h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  letter-spacing: -0.02em;
  color: var(--text);
}
.section-head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}
.section-head p {
  margin: 0;
  color: var(--text-muted);
}
.section-head .section-lead {
  margin: 0.75rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}
.section-head .section-sub {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.section-head .pricing-hero-price {
  margin: 1rem 0 0;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1.1;
}
.section-head .pricing-hero-currency {
  font-size: 0.45em;
  font-weight: 600;
  color: var(--text-muted);
  vertical-align: super;
  margin-left: 0.15em;
}
.cta-inline {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}
.pricing-includes {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pricing-includes li {
  position: relative;
  padding-left: 1.65rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.pricing-includes li:last-child {
  margin-bottom: 0;
}
.pricing-includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}
.pricing-page .pricing-terms-readmore {
  margin-top: 0.25rem;
  margin-bottom: 0;
}
.pricing-page .pricing-terms-readmore .faq-body h3 {
  margin-top: 1.25rem;
}
.pricing-page .pricing-terms-readmore .faq-body h3:first-child {
  margin-top: 0;
}

/* ——— Pillars / cards ——— */
.grid-3 {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}
.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.card .icon {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}

/* ——— Two column about ——— */
.split {
  display: grid;
  gap: 2rem;
}
@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* About section: copy | phone mockup | copy (text surrounds center image) */
.about-surround__grid {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

/* Same vertical inset as figure so copy lines up with the image, not above it */
.about-surround__copy--lead,
.about-surround__copy--steps {
  padding-block: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.about-surround__copy--lead h2 {
  margin-top: 0;
}

.about-surround__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding-block: 20px;
  box-sizing: border-box;
}

/* −25% scale via layout size (not transform) so column height matches the visible phone */
.about-surround__img {
  width: min(100%, 210px);
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 899px) {
  .about-surround__grid {
    grid-template-columns: 1fr;
  }
  .about-surround__copy--lead {
    order: 1;
  }
  .about-surround__figure {
    order: 2;
  }
  .about-surround__copy--steps {
    order: 3;
  }
}

@media (min-width: 900px) {
  .about-surround__grid {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 28%) minmax(0, 1fr);
    column-gap: clamp(1.5rem, 3.5vw, 2.75rem);
    row-gap: 0;
    /* Same row start; center column stays image height (no extra gap under the phone) */
    align-items: start;
  }

  .about-surround__figure {
    padding-inline: 0.35rem;
  }

  .about-surround__img {
    width: 100%;
    max-width: 195px; /* 75% of prior 260px cap */
  }

  .about-surround__copy--lead h2,
  .about-surround__copy--steps h3 {
    margin-top: 0;
  }
}

.prose h3 {
  margin-top: 1.75rem;
}
.prose h3:first-child {
  margin-top: 0;
}
.prose ol {
  padding-left: 1.2rem;
  color: var(--text-muted);
}
.prose li {
  margin-bottom: 0.5rem;
}

/* ——— Audience ——— */
.audience-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .audience-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.privacy-callout {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid rgba(13, 148, 136, 0.25);
  font-size: 0.95rem;
  color: var(--text);
}

/* ——— Features ——— */
.feature-list {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .feature-list {
    /* Same proportions as #about “Most Monitoring…” three-column row */
    grid-template-columns: minmax(0, 1fr) minmax(200px, 28%) minmax(0, 1fr);
    column-gap: clamp(1.5rem, 3.5vw, 2.75rem);
  }

  .feature-block--cloud {
    grid-column: 1 / -1;
  }
}

.feature-block h3 {
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.feature-block ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.feature-block--cloud {
  text-align: center;
}

.feature-block--cloud ul {
  list-style: none;
  padding-left: 0;
  max-width: 40rem;
  margin: 0 auto;
}

.feature-block--cloud h3 {
  justify-content: center;
}

/* Carousel: no card chrome — only the image; sizing matches about-section phone column */
.feature-carousel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.feature-carousel__viewport {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 14rem;
}

.feature-carousel__img {
  width: 100%;
  max-width: min(100%, 210px);
  height: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

@media (min-width: 900px) {
  .feature-carousel__viewport {
    min-height: 0;
  }

  .feature-carousel__img {
    max-width: 195px;
  }
}

/* ——— Table ——— */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}
table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 560px;
}
.compare th,
.compare td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare thead th {
  background: var(--bg);
  color: #f8fafc;
  font-weight: 600;
}
.compare thead th:first-child {
  border-radius: var(--radius) 0 0 0;
}
.compare tbody tr:hover {
  background: #f8fafc;
}
.compare .highlight {
  background: rgba(13, 148, 136, 0.08);
  font-weight: 600;
}

.quotes {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 900px) {
  .quotes {
    grid-template-columns: repeat(2, 1fr);
  }
}
blockquote {
  margin: 0;
  padding: 1.1rem 1.25rem;
  border-left: 4px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
  font-size: 0.92rem;
  color: var(--text-muted);
}
blockquote strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ——— FAQ ——— */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}
details.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.65rem;
  padding: 0 1rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
details.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
details.faq-item summary::-webkit-details-marker {
  display: none;
}
details.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 400;
}
details.faq-item[open] summary::after {
  content: "−";
}
details.faq-item .faq-body {
  padding: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* FAQ page: category <details> with nested question <details> */
.faq-page .faq-cascade {
  max-width: 720px;
  margin: 0 auto;
}
.faq-page details.faq-category {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  padding: 0 1.15rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.faq-page details.faq-category > summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 1.05rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text);
}
.faq-page details.faq-category > summary::-webkit-details-marker {
  display: none;
}
.faq-page details.faq-category > summary::after {
  content: "+";
  font-size: 1.35rem;
  color: var(--accent);
  font-weight: 400;
  flex-shrink: 0;
}
.faq-page details.faq-category[open] > summary::after {
  content: "−";
}
.faq-page .faq-category__content {
  padding: 0.35rem 0 1.15rem;
  border-top: 1px solid var(--border);
}
.faq-page details.faq-category details.faq-item {
  margin-bottom: 0.6rem;
  margin-left: 0.25rem;
  padding-left: 0.75rem;
  border-left: 3px solid rgba(13, 148, 136, 0.45);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.faq-page details.faq-category details.faq-item:last-child {
  margin-bottom: 0;
}

/* ——— Final CTA ——— */
.cta-final {
  background: linear-gradient(135deg, #0f766e, #0e7490);
  color: #f0fdfa;
  text-align: center;
  padding: 3.5rem 1.25rem;
}
.cta-final h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.cta-final p {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  opacity: 0.95;
}
.cta-final .checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.9rem;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--bg);
  color: #94a3b8;
  padding: 3rem 1.25rem 2rem;
  font-size: 0.875rem;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}
.site-footer h4 {
  color: #f1f5f9;
  margin: 0 0 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li {
  margin-bottom: 0.5rem;
}
.site-footer a {
  color: #cbd5e1;
}
.site-footer a:hover {
  color: #5eead4;
}
.site-footer a[aria-current="page"] {
  color: #5eead4;
  font-weight: 600;
}
.footer-bottom {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

.footer-col-company {
  min-width: 0;
}

.footer-map-wrap {
  margin-top: 0.65rem;
  position: relative;
}

.footer-map {
  width: 10.5rem;
  height: 10.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.65);
}

.footer-map .leaflet-container {
  font-family: inherit;
  background: #1e293b;
}

.footer-map .leaflet-control-zoom a {
  color: #0f172a;
}

.footer-map-expand {
  margin-top: 0.4rem;
  font: inherit;
  font-size: 0.75rem;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(30, 41, 59, 0.85);
  color: #e2e8f0;
  cursor: pointer;
}

.footer-map-expand:hover {
  color: #5eead4;
  border-color: rgba(94, 234, 212, 0.45);
}

.footer-map-wrap--expanded {
  position: fixed;
  z-index: 200;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.5rem;
  background: var(--bg);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: var(--radius);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.45);
}

.footer-map-wrap--expanded .footer-map {
  width: min(92vw, 26rem) !important;
  height: min(92vw, 26rem) !important;
}

@media (min-width: 768px) {
  .footer-map-wrap--expanded .footer-map {
    width: 22rem !important;
    height: 22rem !important;
  }
}

/* ——— Placeholder pages ——— */
.page-hero {
  background: var(--bg);
  color: #e2e8f0;
  padding: 3rem 1.25rem;
  text-align: center;
}
.page-hero h1 {
  margin: 0 0 0.5rem;
}
.page-hero p {
  margin: 0;
  color: #94a3b8;
}
.page-body {
  padding: 2.5rem 1.25rem 4rem;
  max-width: 42rem;
  margin: 0 auto;
}

/* ——— Legal documents (Privacy, Terms, Refund) ——— */
.legal-page {
  box-sizing: border-box;
  min-height: 100vh;
  padding: 40px;
  background: var(--surface-muted);
}
.legal-doc {
  box-sizing: border-box;
  max-width: 42rem;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  /* Base was 0.9375rem; 25% smaller → 75% */
  font-size: 0.703125rem;
  line-height: 1.72;
  color: var(--text);
}
.legal-doc__header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.0125rem;
  margin-bottom: 1.125rem;
}
.legal-doc__header h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.0875rem, 2.25vw, 1.3125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.legal-doc__subtitle {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}
.legal-doc__updated {
  margin: 0;
  font-size: 0.65625rem;
  color: var(--text-muted);
}
.legal-doc > p {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
}
.legal-doc .legal-notice {
  margin: 1.15rem 0 1.35rem;
  padding: 0.75rem 0.825rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--danger);
  background: rgba(185, 28, 28, 0.06);
  font-size: 0.69rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.legal-doc .legal-notice strong {
  color: var(--text);
}
.legal-doc .legal-notice--accent {
  border-left-color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(13, 148, 136, 0.22);
  border-left-width: 4px;
}
.legal-doc h2 {
  margin: 2.35rem 0 0.75rem;
  font-size: 0.765rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.35;
}
.legal-doc > h2:first-of-type {
  margin-top: 1.75rem;
}
.legal-doc h3 {
  margin: 1.35rem 0 0.45rem;
  font-size: 0.735rem;
  font-weight: 600;
  color: var(--text);
}
.legal-doc h4 {
  margin: 1.1rem 0 0.4rem;
  font-size: 0.7125rem;
  font-weight: 600;
  color: var(--text);
}
.legal-doc ul,
.legal-doc ol {
  margin: 0.35rem 0 0.9rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
}
.legal-doc li {
  margin-bottom: 0.45rem;
}
.legal-doc li:last-child {
  margin-bottom: 0;
}
.legal-doc address {
  margin: 0.75rem 0 1rem;
  font-style: normal;
  color: var(--text-muted);
  line-height: 1.65;
}
.legal-doc hr.legal-sep {
  margin: 2rem 0;
  border: none;
  border-top: 1px solid var(--border);
}
.legal-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-muted);
}
table.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.645rem;
  min-width: 320px;
}
.legal-table th,
.legal-table td {
  padding: 0.65rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.legal-table th {
  font-weight: 600;
  color: var(--text);
  background: rgba(15, 23, 42, 0.04);
}
.legal-table tbody tr:last-child td {
  border-bottom: none;
}
.legal-doc__footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.65625rem;
  color: var(--text-muted);
}

/* ——— About App (long-form) ——— */
/* ——— About App page (home-style sections + cards) ——— */
.about-page .about-page-stack,
.pricing-page .about-page-stack,
.download-page .about-page-stack,
.install-guide-page .about-page-stack {
  display: grid;
  gap: 1.25rem;
  max-width: 52rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .about-page .about-page-stack--2,
  .pricing-page .about-page-stack--2,
  .download-page .about-page-stack--2,
  .install-guide-page .about-page-stack--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.about-page .about-page-card,
.pricing-page .about-page-card,
.download-page .about-page-card,
.install-guide-page .about-page-card {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.about-page .about-page-card h3,
.pricing-page .about-page-card h3,
.download-page .about-page-card h3,
.install-guide-page .about-page-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.about-page .about-page-card h4,
.pricing-page .about-page-card h4,
.download-page .about-page-card h4,
.install-guide-page .about-page-card h4 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
}

.about-page .about-page-card h4:first-of-type,
.pricing-page .about-page-card h4:first-of-type,
.download-page .about-page-card h4:first-of-type,
.install-guide-page .about-page-card h4:first-of-type {
  margin-top: 0;
}

.about-page .about-page-card p,
.about-page .about-page-card li,
.pricing-page .about-page-card p,
.pricing-page .about-page-card li,
.download-page .about-page-card p,
.download-page .about-page-card li,
.install-guide-page .about-page-card p,
.install-guide-page .about-page-card li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.about-page .about-page-card p strong,
.about-page .about-page-card li strong,
.pricing-page .about-page-card p strong,
.pricing-page .about-page-card li strong,
.download-page .about-page-card p strong,
.download-page .about-page-card li strong,
.install-guide-page .about-page-card p strong,
.install-guide-page .about-page-card li strong {
  color: var(--text);
}

.about-page .about-page-card code,
.pricing-page .about-page-card code,
.download-page .about-page-card code,
.install-guide-page .about-page-card code {
  font-size: 0.88em;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.06);
}

.about-page .about-page-card ul,
.about-page .about-page-card ol,
.pricing-page .about-page-card ul,
.pricing-page .about-page-card ol,
.download-page .about-page-card ul,
.download-page .about-page-card ol,
.install-guide-page .about-page-card ul,
.install-guide-page .about-page-card ol {
  margin: 0.35rem 0 0;
  padding-left: 1.2rem;
}

.about-page .about-page-card ul:last-child,
.about-page .about-page-card ol:last-child,
.pricing-page .about-page-card ul:last-child,
.pricing-page .about-page-card ol:last-child,
.download-page .about-page-card ul:last-child,
.download-page .about-page-card ol:last-child,
.install-guide-page .about-page-card ul:last-child,
.install-guide-page .about-page-card ol:last-child {
  margin-bottom: 0;
}

/* “What Is…” — wide illustrative photo + copy */
.about-page .about-what-card {
  padding: 0;
  overflow: hidden;
}
.about-page .about-what-figure {
  margin: 0;
  line-height: 0;
  background: linear-gradient(180deg, #e8eef6 0%, #f4f7fb 100%);
}
.about-page .about-what-figure picture,
.about-page .about-what-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.about-page .about-what-body {
  padding: 1.35rem 1.35rem 1.5rem;
}
.about-page .about-what-body p + p {
  margin-top: 1rem;
}

/* How it works — Step 1 & 2 as a 2×2 grid (text | iso) / (phone | text) */
.about-page .about-steps-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 52rem;
  margin: 0 auto;
  grid-template-columns: 1fr;
}
/* Fill grid tracks so column 1 (Step 1 + pink quartz) shares one exact width */
.about-page .about-steps-grid > .about-page-card {
  width: 100%;
  min-width: 0;
  max-width: none;
  margin-inline: 0;
  justify-self: stretch;
}

/* About — Recording modes: title row, then image + body (image lines up with body start) */
.about-page .about-recording-row,
.install-guide-page .about-recording-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 28%);
  grid-template-areas:
    "lead lead"
    "text media";
  column-gap: 20px;
  row-gap: 0.4rem;
  align-items: start;
  margin-top: 1.35rem;
}
.about-page .about-recording-modes > h3 + .about-recording-row,
.install-guide-page .about-recording-modes > h3 + .about-recording-row {
  margin-top: 0.65rem;
}
.about-page .about-recording-row__lead,
.install-guide-page .about-recording-row__lead {
  grid-area: lead;
}
.about-page .about-recording-modes .about-recording-row__lead h4,
.install-guide-page .about-recording-modes .about-recording-row__lead h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}
.about-page .about-recording-row__lead > *:first-child,
.install-guide-page .about-recording-row__lead > *:first-child {
  margin-top: 0;
}
.about-page .about-recording-row__lead > *:last-child,
.install-guide-page .about-recording-row__lead > *:last-child {
  margin-bottom: 0;
}
.about-page .about-recording-row__text,
.install-guide-page .about-recording-row__text {
  grid-area: text;
  min-width: 0;
}
.about-page .about-recording-row__text > p:first-child,
.about-page .about-recording-row__text > *:first-child,
.install-guide-page .about-recording-row__text > p:first-child,
.install-guide-page .about-recording-row__text > *:first-child {
  margin-top: 0;
}
.about-page .about-recording-row__media,
.install-guide-page .about-recording-row__media {
  grid-area: media;
  margin: 0;
  line-height: 0;
  justify-self: stretch;
  display: flex;
  align-items: flex-start;
}
.about-page .about-recording-row--media-right .about-recording-row__media,
.install-guide-page .about-recording-row--media-right .about-recording-row__media {
  justify-content: flex-end;
}
.about-page .about-recording-row--media-left,
.install-guide-page .about-recording-row--media-left {
  grid-template-columns: minmax(0, 28%) minmax(0, 1fr);
  grid-template-areas:
    "lead lead"
    "media text";
}
.about-page .about-recording-row--no-lead,
.install-guide-page .about-recording-row--no-lead {
  grid-template-areas: "text media";
  align-items: start;
}
.about-page .about-recording-row--no-lead.about-recording-row--media-left,
.install-guide-page .about-recording-row--no-lead.about-recording-row--media-left {
  grid-template-areas: "media text";
}
.about-page .about-recording-row__inline-media,
.install-guide-page .about-recording-row__inline-media {
  margin: 1.25rem auto 0;
  display: flex;
  justify-content: center;
  line-height: 0;
}
/* Wider media column for landscape illustrations (e.g. install guide Steps 2 and 6) */
.install-guide-page #step-2 .about-recording-row--media-right,
.install-guide-page #step-6 .about-recording-row--media-right {
  grid-template-columns: minmax(0, 1fr) minmax(0, 46%);
}
.install-guide-page #step-2 .about-recording-row--media-left,
.install-guide-page #step-6 .about-recording-row--media-left {
  grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
}
.install-guide-page #step-2 .about-recording-row__media img,
.install-guide-page #step-6 .about-recording-row__media img {
  max-height: none;
  max-width: 100%;
  width: 100%;
  height: auto;
}
@media (min-width: 900px) {
  .install-guide-page #step-2 .about-recording-row--media-right,
  .install-guide-page #step-6 .about-recording-row--media-right {
    grid-template-columns: minmax(0, 1fr) minmax(0, 48%);
  }
  .install-guide-page #step-2 .about-recording-row--media-left,
  .install-guide-page #step-6 .about-recording-row--media-left {
    grid-template-columns: minmax(0, 48%) minmax(0, 1fr);
  }
}
/* Step 4: center the text vertically with the tall phone mockup */
.install-guide-page #step-4 .about-recording-row {
  align-items: center;
}
.install-guide-page #step-4 .about-recording-row__text {
  align-self: center;
}

/* Step 6 (Accessibility row) & Step 9: vertically center the image with the text */
.install-guide-page #step-6 .about-recording-row--media-left,
.install-guide-page #step-9 .about-recording-row {
  align-items: center;
}
.install-guide-page #step-6 .about-recording-row--media-left .about-recording-row__text,
.install-guide-page #step-6 .about-recording-row--media-left .about-recording-row__media,
.install-guide-page #step-9 .about-recording-row__text,
.install-guide-page #step-9 .about-recording-row__media {
  align-self: center;
}

/* Step 5: illustration fills the card length with 20px inset on top/right/bottom */
.install-guide-page #step-5 .about-recording-row {
  align-items: stretch;
}
.install-guide-page #step-5 .about-recording-row--media-right {
  grid-template-columns: minmax(0, 1fr) minmax(0, 40%);
}
.install-guide-page #step-5 .about-recording-row__media {
  align-self: stretch;
  align-items: stretch;
  padding: 20px 20px 20px 0;
  box-sizing: border-box;
}
.install-guide-page #step-5 .about-recording-row__media picture,
.install-guide-page #step-5 .about-recording-row__media img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  object-position: right center;
}
@media (min-width: 900px) {
  .install-guide-page #step-5 .about-recording-row--media-right {
    grid-template-columns: minmax(0, 1fr) minmax(0, 44%);
  }
}
.about-page .about-recording-row__inline-media img,
.install-guide-page .about-recording-row__inline-media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 20rem;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.about-page .about-recording-row--media-left .about-recording-row__media,
.install-guide-page .about-recording-row--media-left .about-recording-row__media {
  justify-content: flex-start;
}
.about-page .about-recording-row__media img,
.install-guide-page .about-recording-row__media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(52vh, 22rem);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.about-page .about-recording-row--media-right .about-recording-row__media img,
.install-guide-page .about-recording-row--media-right .about-recording-row__media img {
  object-position: right center;
}
.about-page .about-recording-row--media-left .about-recording-row__media img,
.install-guide-page .about-recording-row--media-left .about-recording-row__media img {
  object-position: left center;
}
.about-page .about-recording-row__media--illustration img,
.install-guide-page .about-recording-row__media--illustration img {
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
@media (min-width: 900px) {
  .about-page .about-recording-row--media-right,
  .install-guide-page .about-recording-row--media-right {
    grid-template-columns: minmax(0, 1fr) minmax(0, 30%);
  }
  .about-page .about-recording-row--media-left,
  .install-guide-page .about-recording-row--media-left {
    grid-template-columns: minmax(0, 30%) minmax(0, 1fr);
  }
  .about-page .about-recording-row__media img,
  .install-guide-page .about-recording-row__media img {
    max-height: 26rem;
  }
}
.about-page .about-recording-modes .about-recording-note,
.install-guide-page .about-recording-modes .about-recording-note {
  color: var(--danger);
}
.about-page .about-recording-modes .about-recording-note strong,
.install-guide-page .about-recording-modes .about-recording-note strong {
  color: var(--danger);
}
.about-page #about-step-4 .about-recording-modes + .about-recording-triggers {
  margin-top: 1.25rem;
}

@media (max-width: 767px) {
  .about-page .about-steps-grid__cell--1 {
    order: 1;
  }
  .about-page .about-steps-grid__cell--2 {
    order: 3;
  }
  .about-page .about-steps-grid__cell--3 {
    order: 2;
  }
  .about-page .about-steps-grid__cell--4 {
    order: 4;
  }
}
@media (min-width: 768px) {
  .about-page .about-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    align-items: stretch;
  }
  .about-page .about-steps-grid__cell--1,
  .about-page .about-steps-grid__cell--2,
  .about-page .about-steps-grid__cell--3,
  .about-page .about-steps-grid__cell--4 {
    order: 0;
  }
  .about-page .about-steps-grid__cell--1 {
    grid-column: 1;
    grid-row: 1;
  }
  .about-page .about-steps-grid__cell--2 {
    grid-column: 2;
    grid-row: 1;
  }
  .about-page .about-steps-grid__cell--3 {
    grid-column: 1;
    grid-row: 2;
  }
  .about-page .about-steps-grid__cell--4 {
    grid-column: 2;
    grid-row: 2;
  }
  .about-page .about-steps-grid__cell--2.about-steps-grid__cell--visual img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
  }
  .about-page .about-steps-grid__cell--3.about-steps-grid__cell--visual img {
    width: auto;
    height: auto;
    max-width: 80%;
    max-height: 80%;
  }
}
/* Same chrome as text steps: white surface, no inner padding; image scales to cell */
.about-page .about-steps-grid__cell--visual {
  display: flex;
  flex-direction: column;
  padding: 0;
  min-height: 0;
  background: var(--surface);
  overflow: hidden;
}
.about-page .about-steps-grid__cell--visual picture {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  width: 100%;
}
.about-page .about-steps-grid__cell--3.about-steps-grid__cell--visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-page .about-steps-grid__cell--3.about-steps-grid__cell--visual > img {
  flex: 0 1 auto;
  align-self: center;
  min-height: 0;
  width: auto;
  margin-block: auto;
}
.about-page .about-steps-grid__cell--3.about-steps-grid__cell--visual img {
  display: block;
  width: auto;
  height: auto;
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  object-position: center;
}
.about-page .about-steps-grid__cell--2.about-steps-grid__cell--visual img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 767px) {
  .about-page .about-steps-grid__cell--2.about-steps-grid__cell--visual {
    min-height: clamp(11rem, 52vw, 16rem);
  }
  .about-page .about-steps-grid__cell--2.about-steps-grid__cell--visual picture {
    min-height: 100%;
  }
  .about-page .about-steps-grid__cell--2.about-steps-grid__cell--visual img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }
  .about-page .about-steps-grid__cell--3.about-steps-grid__cell--visual {
    min-height: clamp(15rem, 72vw, 24rem);
  }
  .about-page .about-steps-grid__cell--3.about-steps-grid__cell--visual img {
    width: auto;
    height: auto;
    max-width: 80%;
    max-height: min(57.6vh, 22.4rem);
    object-fit: contain;
  }
}

/* ——— Real-world user stories — carousel ——— */
.about-page .stories-carousel,
.stories-carousel {
  position: relative;
  margin: 0 auto;
  max-width: 64rem;
  padding: 0;
}
.about-page .stories-carousel__stage,
.stories-carousel__stage {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.about-page .stories-carousel__viewport,
.stories-carousel__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.about-page .stories-carousel__track,
.stories-carousel__track {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: nowrap;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.about-page .stories-carousel__slide,
.stories-carousel__slide {
  flex: 0 0 100% !important;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-page .story-card,
.stories-carousel .story-card {
  display: grid !important;
  grid-template-columns: 200px minmax(0, 1fr);
  column-gap: 2rem;
  row-gap: 1rem;
  align-items: center;
  padding: 2.25rem 2.5rem;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.about-page .story-card__media,
.stories-carousel .story-card__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin: 0;
  min-width: 0;
}
.about-page .story-card__media picture,
.stories-carousel .story-card__media picture {
  display: block;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-muted);
  box-shadow: 0 10px 26px rgba(13, 148, 136, 0.2);
  outline: 4px solid var(--accent-soft);
  outline-offset: 4px;
}
.about-page .story-card__media img,
.stories-carousel .story-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.about-page .story-card__name,
.stories-carousel .story-card__name {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.15rem;
  margin: 0.35rem 0 0;
}
.about-page .story-card__name-line,
.stories-carousel .story-card__name-line {
  font-weight: 700;
  color: var(--text);
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}
.about-page .story-card__role,
.stories-carousel .story-card__role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.about-page .story-card__body,
.stories-carousel .story-card__body {
  position: relative;
  min-width: 0;
  padding-left: 2.4rem;
}
.about-page .story-card__quote,
.stories-carousel .story-card__quote {
  position: absolute;
  top: -0.9rem;
  left: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.9;
  pointer-events: none;
  user-select: none;
}
.about-page .story-card__quote-text,
.stories-carousel .story-card__quote-text {
  margin: 0 0 0.75rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}
.about-page .story-card__setup,
.stories-carousel .story-card__setup {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.about-page .story-card__setup strong,
.stories-carousel .story-card__setup strong {
  color: var(--text);
}

/* Prev / Next buttons — outside the card, teal accent, matching site colors */
.about-page .stories-carousel__nav,
.stories-carousel__nav {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border: 0;
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(13, 148, 136, 0.28);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 2;
}
.about-page .stories-carousel__nav:hover,
.stories-carousel__nav:hover,
.about-page .stories-carousel__nav:focus-visible,
.stories-carousel__nav:focus-visible {
  background: var(--accent-hover);
  outline: none;
  transform: translateY(-1px);
}
.about-page .stories-carousel__nav svg,
.stories-carousel__nav svg {
  display: block;
}

/* Dots */
.about-page .stories-carousel__dots,
.stories-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.25rem;
}
.about-page .stories-carousel__dot,
.stories-carousel__dot {
  width: 0.65rem;
  height: 0.65rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, width 0.2s ease;
}
.about-page .stories-carousel__dot:hover,
.stories-carousel__dot:hover,
.about-page .stories-carousel__dot:focus-visible,
.stories-carousel__dot:focus-visible {
  border-color: var(--accent);
  outline: none;
}
.about-page .stories-carousel__dot.is-active,
.stories-carousel__dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
  width: 1.5rem;
}

@media (max-width: 820px) {
  .about-page .stories-carousel__stage,
  .stories-carousel__stage {
    gap: 0.5rem;
  }
  .about-page .story-card,
  .stories-carousel .story-card {
    grid-template-columns: 1fr;
    padding: 1.75rem 1.4rem;
    text-align: center;
  }
  .about-page .story-card__body,
  .stories-carousel .story-card__body {
    padding-left: 0;
    padding-top: 2rem;
    text-align: left;
  }
  .about-page .story-card__quote,
  .stories-carousel .story-card__quote {
    top: -0.25rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3.25rem;
  }
  .about-page .story-card__media picture,
  .stories-carousel .story-card__media picture {
    width: 130px;
    height: 130px;
  }
  .about-page .stories-carousel__nav,
  .stories-carousel__nav {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-page .stories-carousel__track,
  .stories-carousel__track {
    transition: none;
  }
}

.install-guide-page .install-guide-placeholder {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
.install-guide-page .install-guide-placeholder + .install-guide-placeholder {
  margin-top: 1rem;
}
.install-guide-page .install-guide-placeholder__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
  border-radius: var(--radius);
  border: 2px dashed rgba(15, 118, 110, 0.35);
  background: rgba(15, 118, 110, 0.04);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  padding: 1.25rem;
}
.install-guide-page .install-guide-placeholder figcaption {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.45;
}

.install-guide-page .install-guide-cta-row {
  margin-top: 0.75rem;
}
.install-guide-page .install-guide-support-card {
  margin-top: 1.25rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.download-page .download-action-card {
  text-align: center;
}
.download-page .download-action-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  color: var(--text);
}
.download-page .download-action-card .btn {
  margin-top: 0.5rem;
}
.download-page .download-resource-card h3 a {
  color: var(--text);
  text-decoration: none;
}
.download-page .download-resource-card h3 a:hover {
  color: var(--accent);
}

.download-page .download-resource-icon {
  margin-right: 0.3rem;
}
.download-page .download-action-note {
  margin-top: 1rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.download-page .download-important-callout {
  margin-top: 1.25rem;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.btn-action-lg {
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
}

.btn-cta-on-teal {
  background: #fff;
  color: #0f766e;
}

/* ——— Mobile nav ——— */
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.25rem;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open {
    display: block;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .header-inner {
    flex-wrap: wrap;
  }
  .nav-cta {
    margin-left: auto;
  }
  .site-header {
    position: relative;
  }
}

.htmx-request .btn-htmx {
  opacity: 0.65;
  pointer-events: none;
}
