/* Clearthought marketing site — minimal, calm, teal-forward */

:root {
  --color-bg: #f4fbfb;
  --color-bg-elevated: #ffffff;
  --color-text: #0d3d3d;
  --color-text-muted: #3d5c5c;
  --color-accent: #1a9e9e;
  --color-accent-hover: #158080;
  --color-accent-soft: rgba(26, 158, 158, 0.12);
  --color-border: rgba(13, 61, 61, 0.1);
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --radius: 12px;
  --radius-lg: 20px;
  --content-max: 40rem;
  --wide-max: 72rem;
  --shadow-soft: 0 12px 40px rgba(13, 61, 61, 0.08);
  /* Phone screenshots: cap width so tiles don’t dominate the page */
  --phone-shot-max: 220px;
  --phone-shot-hero-max: 248px;
  /* Tighter pairs inside carousel slides */
  --phone-shot-tight-max: 200px;
  /* Cap carousel slide height so tall slides scroll inside the card, not the page */
  --tour-slide-height: min(72vh, 32rem);
}

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

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--color-accent-hover);
}

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 251, 251, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  max-width: var(--wide-max);
  margin: 0 auto;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-text);
  text-decoration: none;
}

.site-logo:hover {
  color: var(--color-text);
  opacity: 0.85;
}

.site-logo img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  font-size: 0.9375rem;
}

.site-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--color-accent);
}

.site-nav a[aria-current="page"] {
  color: var(--color-accent);
}

main {
  max-width: var(--wide-max);
  margin: 0 auto;
  padding: 0 var(--space-md) var(--space-xl);
}

/* —— Home: flowing line + hero mist (decorative only) —— */
.main--home {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}

.flow-connector {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

.flow-connector__svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.flow-connector__paths path.flow-line--curve {
  stroke-width: 3.15;
}

@keyframes flowPathReveal {
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-connector__paths path {
    stroke-dasharray: none !important;
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }
}

.page-home .hero,
.page-home .section {
  position: relative;
  z-index: 1;
}

.hero {
  padding: var(--space-xl) 0 var(--space-lg);
  text-align: center;
}

.page-home .hero {
  isolation: isolate;
}

.mist-layer {
  display: none;
}

.page-home .mist-layer {
  display: block;
  position: absolute;
  inset: -18% -45% -8% -45%;
  z-index: 0;
  pointer-events: none;
  /* Teal-forward clouds so the effect reads on #f4fbfb (white-only mist vanished) */
  background:
    radial-gradient(ellipse 68% 48% at 50% 18%, rgba(26, 158, 158, 0.28) 0%, transparent 58%),
    radial-gradient(ellipse 62% 55% at 50% 92%, rgba(26, 158, 158, 0.32) 0%, transparent 60%),
    radial-gradient(ellipse 52% 44% at 78% 42%, rgba(160, 220, 218, 0.45) 0%, transparent 52%),
    radial-gradient(ellipse 48% 40% at 18% 58%, rgba(255, 255, 255, 0.5) 0%, transparent 50%);
  filter: blur(24px);
  opacity: 0.95;
}

@media (prefers-reduced-motion: no-preference) {
  .page-home .mist-layer {
    animation:
      mistLift 5s ease-out forwards,
      mistBreathe 6s ease-in-out 5s infinite;
  }
}

@keyframes mistLift {
  from {
    opacity: 0.98;
    transform: scale(1.07) translateY(-2%);
    filter: blur(34px);
  }

  to {
    opacity: 0.44;
    transform: scale(1) translateY(0);
    filter: blur(17px);
  }
}

@keyframes mistBreathe {
  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.52;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .mist-layer {
    opacity: 0.38;
    transform: none;
    filter: blur(18px);
    animation: none;
  }
}

.hero__inner {
  max-width: 36rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0 0 var(--space-xs);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-kicker {
  margin: 0 0 var(--space-sm);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.01em;
}

.hero p.lead {
  margin: 0 0 var(--space-sm);
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.hero p.lead:last-of-type {
  margin-bottom: var(--space-md);
}

.value-scan {
  list-style: none;
  padding: 0;
  margin: 0 auto var(--space-md);
  max-width: 22rem;
}

.value-scan li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.4rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: left;
}

.value-scan li:last-child {
  margin-bottom: 0;
}

.value-scan li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.hero-ctas__secondary {
  margin: 0;
  font-size: 0.9375rem;
}

.hero-ctas__secondary a {
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration-thickness: 1px;
}

.hero-ctas__secondary a:hover {
  color: var(--color-accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: var(--color-accent);
  border: none;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(26, 158, 158, 0.35);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  color: #fff;
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 158, 158, 0.4);
}

.button:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .button:hover {
    transform: none;
  }
}

.section {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
}

.section:first-of-type {
  border-top: none;
}

.section__header {
  max-width: var(--content-max);
  margin: 0 auto var(--space-md);
  text-align: center;
}

.section__kicker {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

.section__header h2 {
  margin: 0 0 var(--space-xs);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
}

.section__header p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
}

.section__header p + p {
  margin-top: var(--space-sm);
}

.section__header .section__subnote {
  font-size: 0.9375rem;
  line-height: 1.55;
}

.section__bridge {
  max-width: var(--content-max);
  margin: var(--space-lg) auto var(--space-md);
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.section__bridge-note {
  display: block;
  margin-top: var(--space-sm);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.section--pro {
  padding: var(--space-lg) 0;
}

.section--pro .section__subnote {
  max-width: var(--content-max);
  margin: var(--space-md) auto 0;
  text-align: center;
}

.pro-split {
  display: grid;
  gap: var(--space-md);
  max-width: var(--wide-max);
  margin: 0 auto;
}

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

.pro-split__col {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.pro-split__title {
  margin: 0 0 var(--space-sm);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

.pro-split__list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.pro-split__list li + li {
  margin-top: 0.45rem;
}

.lanes-grid {
  display: grid;
  gap: var(--space-md);
  max-width: var(--wide-max);
  margin: 0 auto;
}

@media (min-width: 700px) {
  .lanes-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.lane-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-md);
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.lane-card__title {
  margin: 0 0 var(--space-sm);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

.lane-card__list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.lane-card__list li + li {
  margin-top: 0.45rem;
}

.section--trust {
  background: var(--color-accent-soft);
  border-radius: var(--radius-lg);
  border-top: none;
  padding: var(--space-lg) var(--space-md);
  margin-top: var(--space-md);
}

.section--cta .cta-band {
  max-width: 38rem;
  margin: 0 auto;
  text-align: center;
}

.cta-band__title {
  margin: 0 0 var(--space-xs);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
}

.cta-band__lede {
  margin: 0 0 var(--space-md);
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.cta-band__secondary {
  margin: var(--space-sm) 0 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.cta-band__secondary a {
  font-weight: 500;
}

.figure-grid {
  display: grid;
  gap: var(--space-md);
  margin: 0;
}

@media (min-width: 640px) {
  .figure-grid--two {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    justify-items: center;
  }
}

.figure-shot {
  margin: 0;
  max-width: var(--phone-shot-max);
  margin-inline: auto;
  width: 100%;
  background: var(--color-bg-elevated);
  border-radius: var(--radius-lg);
  padding: var(--space-sm);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}

.figure-shot img {
  display: block;
  width: 100%;
  border-radius: calc(var(--radius-lg) - 6px);
}

.figure-shot figcaption {
  margin-top: var(--space-sm);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.5;
}

.figure-shot--hero {
  max-width: var(--phone-shot-hero-max);
  margin: var(--space-md) auto 0;
  position: relative;
  z-index: 1;
}

.prose-page {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-top: var(--space-lg);
}

.prose-page h1 {
  margin: 0 0 var(--space-md);
  font-size: 2rem;
  line-height: 1.2;
}

.prose-page h2 {
  margin: var(--space-lg) 0 var(--space-sm);
  font-size: 1.25rem;
  line-height: 1.3;
}

.prose-page p,
.prose-page ul {
  margin: 0 0 var(--space-md);
  color: var(--color-text);
}

.prose-page ul {
  padding-left: 1.25rem;
}

.prose-page li {
  margin-bottom: var(--space-xs);
}

.prose-page .meta {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.contact-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.contact-card h2 {
  margin: 0 0 var(--space-sm);
  font-size: 1.125rem;
}

.contact-card p {
  margin: 0 0 var(--space-sm);
  font-size: 1rem;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.site-footer {
  margin-top: var(--space-xl);
  padding: var(--space-md);
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.site-footer p {
  margin: 0.25rem 0;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.site-footer a {
  font-weight: 500;
}

/* —— Overview / story-first page (minimal screenshots) —— */
.main--story {
  max-width: var(--wide-max);
  margin: 0 auto;
  padding: 0 var(--space-md) var(--space-xl);
}

.story-hero {
  position: relative;
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  margin-bottom: var(--space-md);
  text-align: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--color-accent-soft) 0%, transparent 72%);
}

.story-hero__inner {
  max-width: 34rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.story-hero__mark {
  display: block;
  margin: 0 auto var(--space-sm);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.story-hero h1 {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.75rem, 4.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.story-hero__lead {
  margin: 0 0 var(--space-md);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.story-hero__ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.story-hero__secondary {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.story-hero__secondary a {
  font-weight: 500;
}

.story-panel {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
}

.story-panel__header {
  max-width: var(--content-max);
  margin: 0 auto var(--space-md);
  text-align: center;
}

.story-panel__header h2 {
  margin: 0 0 var(--space-xs);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
}

.story-panel__header p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.story-steps {
  display: grid;
  gap: var(--space-md);
  max-width: var(--wide-max);
  margin: 0 auto;
}

@media (min-width: 700px) {
  .story-steps {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}

.story-step {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.story-step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: var(--space-sm);
  border-radius: var(--radius);
  color: var(--color-accent);
  background: var(--color-accent-soft);
}

.story-step__title {
  margin: 0 0 var(--space-xs);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

.story-step__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.story-panel--proof .story-panel__header {
  margin-bottom: var(--space-lg);
}

.story-proof-grid {
  display: grid;
  gap: var(--space-md);
  max-width: 36rem;
  margin: 0 auto;
  justify-items: center;
}

@media (min-width: 640px) {
  .story-proof-grid {
    max-width: none;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.story-panel--soft {
  background: var(--color-accent-soft);
  border-radius: var(--radius-lg);
  border-top: none;
  padding: var(--space-lg) var(--space-md);
  margin-top: var(--space-sm);
}

.story-panel--soft .story-panel__header {
  margin-bottom: 0;
}

.page-story .section--trust {
  margin-top: var(--space-md);
}

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

/* Tighter side-by-side screenshots */
.figure-grid--tight {
  gap: var(--space-sm);
  max-width: 28rem;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .figure-grid--tight.figure-grid--two {
    max-width: 26rem;
    gap: var(--space-sm);
  }

  .figure-grid--tight .figure-shot {
    max-width: var(--phone-shot-tight-max);
  }
}

.figure-shot--carousel-single {
  max-width: min(var(--phone-shot-hero-max), 92vw);
}

/* Carousel: keep screenshots modest inside the narrow column */
.tour-carousel .figure-shot--carousel-single {
  max-width: min(200px, 52vw);
}

.tour-carousel .figure-grid--tight {
  max-width: 100%;
}

@media (min-width: 640px) {
  .tour-carousel .figure-grid--tight.figure-grid--two {
    max-width: 22rem;
  }

  .tour-carousel .figure-grid--tight .figure-shot {
    max-width: min(168px, 42vw);
  }
}

.tour-carousel__bridge {
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
}

/* —— Home: screenshot tour carousel —— */
.section--tour {
  position: relative;
  z-index: 2;
  overflow-x: hidden;
  max-width: 100%;
}

.tour-carousel {
  position: relative;
  width: 100%;
  max-width: min(32rem, calc(100vw - 2 * var(--space-md)));
  margin: var(--space-md) auto 0;
  box-sizing: border-box;
}

.tour-carousel__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.tour-carousel__track {
  display: flex;
  align-items: stretch;
  width: calc(var(--n, 5) * 100%);
  height: var(--tour-slide-height);
  transform: translateX(calc(-100% * var(--i, 0) / var(--n, 5)));
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .tour-carousel__track {
    transition: none;
  }
}

.tour-carousel__slide {
  flex: 0 0 calc(100% / var(--n, 5));
  min-width: 0;
  height: var(--tour-slide-height);
  max-height: var(--tour-slide-height);
  box-sizing: border-box;
  padding: var(--space-sm) var(--space-sm);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.tour-carousel__slide-inner {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.tour-carousel__slide .section__kicker {
  margin-top: 0;
}

.tour-carousel__slide-title {
  margin: 0 0 var(--space-xs);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
}

.tour-carousel__slide-lede {
  margin: 0 0 var(--space-md);
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  text-align: left;
}

.tour-carousel__edge {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(26, 158, 158, 0.4);
  transition: background 0.2s ease, transform 0.2s ease;
}

.tour-carousel__edge:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.tour-carousel__edge:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 3px;
}

.tour-carousel__edge--prev {
  left: max(0.35rem, env(safe-area-inset-left, 0px));
}

.tour-carousel__edge--next {
  right: max(0.35rem, env(safe-area-inset-right, 0px));
}

.tour-carousel__chev {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  margin-top: -0.1em;
}

.tour-carousel__footer {
  text-align: center;
  margin-top: var(--space-md);
}

.tour-carousel__status {
  margin: 0 0 var(--space-sm);
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.tour-carousel__dots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.tour-carousel__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(26, 158, 158, 0.28);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.tour-carousel__dot:hover {
  background: rgba(26, 158, 158, 0.5);
}

.tour-carousel__dot[aria-current="true"] {
  background: var(--color-accent);
  transform: scale(1.25);
}

.tour-carousel__dot:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* —— Free vs Pro comparison table —— */
.pro-compare-wrap {
  overflow-x: auto;
  margin: 0 auto;
  max-width: 44rem;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
  box-shadow: var(--shadow-soft);
}

.pro-compare {
  width: 100%;
  min-width: 17rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.pro-compare thead th {
  padding: 0.75rem 0.65rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
  background: var(--color-accent);
}

.pro-compare thead th:first-child {
  text-align: left;
  border-radius: calc(var(--radius-lg) - 1px) 0 0 0;
}

.pro-compare thead th:last-child {
  border-radius: 0 calc(var(--radius-lg) - 1px) 0 0;
}

.pro-compare__feature-col {
  width: 58%;
}

.pro-compare tbody th,
.pro-compare tbody td {
  padding: 0.6rem 0.65rem;
  border-top: 1px solid var(--color-border);
  vertical-align: middle;
}

.pro-compare tbody th {
  font-weight: 600;
  text-align: left;
  color: var(--color-text);
  background: var(--color-bg-elevated);
}

@media (max-width: 520px) {
  .pro-compare tbody th {
    position: sticky;
    left: 0;
    z-index: 1;
    box-shadow: 4px 0 8px -4px rgba(13, 61, 61, 0.12);
  }
}

.pro-compare tbody td {
  text-align: center;
  color: var(--color-text-muted);
  background: var(--color-bg-elevated);
}

.pro-compare__yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0;
}

.pro-compare__yes::before {
  content: "✓";
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.pro-compare__no {
  font-weight: 600;
  color: var(--color-text-muted);
  opacity: 0.55;
}

.pro-compare__footnote {
  max-width: 40rem;
  margin: var(--space-md) auto 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  text-align: center;
}

/* Final CTA: app teal band, white type */
.section--cta {
  background: var(--color-accent);
  border-radius: var(--radius-lg);
  border-top: none;
  padding: var(--space-lg) var(--space-md);
  margin-top: var(--space-md);
}

.section--cta .cta-band__title {
  color: #fff;
}

.section--cta .cta-band__lede {
  color: rgba(255, 255, 255, 0.92);
}

.section--cta .cta-band__lede a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.section--cta .cta-band__lede a:hover {
  color: #fff;
  opacity: 0.9;
}

.section--cta .button {
  background: #fff;
  color: var(--color-accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.section--cta .button:hover {
  background: #f4fbfb;
  color: var(--color-accent-hover);
}

.section--cta .cta-band__secondary,
.section--cta .cta-band__secondary a {
  color: rgba(255, 255, 255, 0.88);
}

.section--cta .cta-band__secondary a:hover {
  color: #fff;
}

.story-panel__cbt-link {
  margin: var(--space-sm) 0 0;
  font-size: 0.9375rem;
}
