/* =========================================================================
   So Predictable — Marketing site styles
   Palette extends the original cream/navy aesthetic and adds layout
   primitives for header, hero, features, screenshots, coming-soon, footer.
   ========================================================================= */

:root {
  --bg: #f3efe6;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --ink: #171512;
  --muted: #5a554d;
  --border: #d7d0c4;
  --accent: #104f8c;
  --accent-strong: #0b3a66;
  --accent-soft: rgba(16, 79, 140, 0.08);
  --warning: #7d1f1f;
  --shadow-sm: 0 6px 16px rgba(28, 24, 18, 0.06);
  --shadow: 0 18px 40px rgba(28, 24, 18, 0.08);
  --shadow-lg: 0 30px 60px rgba(28, 24, 18, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max-width: 1140px;
  --max-width-prose: 980px;
  --header-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), transparent 40%),
    linear-gradient(180deg, #efe7d8 0%, var(--bg) 45%, #ece5d8 100%);
  color: var(--ink);
  font-family: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.eyebrow,
.hero__bottomline,
.btn,
.site-header__brand,
.site-nav a,
.store-badge,
.cs-feature__eyebrow {
  font-family: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

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

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

h1, h2, h3 {
  letter-spacing: -0.02em;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =====================
   Layout helpers
   ===================== */

.page-shell {
  width: min(calc(100% - 32px), var(--max-width-prose));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

/* =====================
   Buttons
   ===================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 140ms ease, background-color 140ms ease, color 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: #76bbb7;
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: #5fa6a2;
  color: #fff;
  box-shadow: var(--shadow);
}

.btn--ghost {
  background: transparent;
  color: #000;
  border-color: #000;
}

.btn--ghost:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #000;
}

.btn--lg {
  padding: 14px 30px;
  font-size: 1.05rem;
}

/* =====================
   Site header
   ===================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 239, 230, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
}

.site-header__mark {
  width: 43px;
  height: 43px;
  border-radius: 9px;
}

.site-header__title {
  white-space: nowrap;
}

.site-nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.96rem;
  padding: 8px 4px;
}

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

.site-header__cta {
  flex-shrink: 0;
}

/* Floating mobile menu button */
.floating-menu-btn {
  display: none;
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 90;
  width: 44px;
  height: 44px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  color: var(--ink);
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(28, 24, 18, 0.12);
}

.floating-menu-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}

.floating-menu-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Mobile menu drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  visibility: hidden;
}

.mobile-menu[data-open="true"] {
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 8, 0.5);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-menu[data-open="true"] .mobile-menu__backdrop {
  opacity: 1;
}

.mobile-menu__panel {
  position: relative;
  width: min(320px, 86vw);
  height: 100%;
  background: var(--surface-strong);
  padding: 18px 22px 28px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  box-shadow: 0 0 40px rgba(15, 12, 8, 0.25);
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  overflow: hidden;
}

.mobile-menu[data-open="true"] .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-menu__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}

.mobile-menu__brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: block;
}

.mobile-menu__close {
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu__close svg {
  width: 22px;
  height: 22px;
  display: block;
}

.mobile-menu__close:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  font-family: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  overflow-y: auto;
  min-height: 0;
}

.mobile-menu__group {
  margin: 14px 0 4px;
  padding: 0 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.mobile-menu__group:first-child {
  margin-top: 4px;
}

.mobile-menu__nav a {
  display: block;
  padding: 11px 8px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 500;
}

.mobile-menu__nav a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.mobile-menu__cta {
  text-align: center;
  margin: 0;
}

body.has-mobile-menu-open {
  overflow: hidden;
}

/* =====================
   Hero (homepage)
   ===================== */

.hero {
  padding: 32px 0 72px;
}

.hero__topline,
.hero__bottomline {
  margin: 0 auto;
  width: min(calc(100% - 40px), var(--max-width));
  text-align: center;
  font-size: clamp(1.8rem, 4.4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--ink);
}

.hero__topline {
  margin-bottom: 4px;
}

.hero__bottomline {
  margin-top: 0;
  margin-bottom: 20px;
}

.hero__banner {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  background: transparent;
}

.hero__banner img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
}

.hero__inner {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding-top: 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__lead {
  margin: 0 0 32px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--muted);
  max-width: 56ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.hero .store-badges {
  justify-content: center;
}

/* =====================
   App store badge placeholders
   ===================== */

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.store-badge {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 18px;
  min-width: 168px;
  border-radius: 12px;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  border: 1px solid #2a2a2a;
  cursor: not-allowed;
  opacity: 0.85;
}

.store-badge__small {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.store-badge__big {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 2px;
}

/* =====================
   Features grid
   ===================== */

.features {
  padding: 80px 0;
}

.features__header {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto 40px;
  max-width: 720px;
  text-align: center;
}

.features__header h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
}

.features__header p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.features__grid {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-align: center;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.feature-card__icon {
  display: block;
  margin: -28px -22px 20px;
  background: transparent;
  border-radius: 0;
}

.feature-card__icon img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* =====================
   Screenshots carousel
   ===================== */

.carousel-section {
  padding: 64px 0 80px;
}

.carousel-section__header {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto 36px;
  text-align: center;
}

.carousel-section__header h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
}

.carousel-section__header p {
  margin: 0;
  color: var(--muted);
}

.carousel {
  position: relative;
  --carousel-slide-width: 336px;
  --carousel-gap: 32px;
  --carousel-image-height: 696px;
}

.carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  outline: none;
}

.carousel__viewport::-webkit-scrollbar {
  display: none;
}

.carousel__track {
  display: flex;
  align-items: stretch;
  gap: var(--carousel-gap);
  padding: 24px max(24px, calc(50% - var(--carousel-slide-width) / 2)) 32px;
  width: max-content;
}

.carousel__slide {
  flex: 0 0 var(--carousel-slide-width);
  scroll-snap-align: center;
  display: flex;
  justify-content: center;
  cursor: pointer;
  opacity: 0.32;
  transform: scale(0.86);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.carousel__slide.is-active {
  opacity: 1;
  transform: scale(1);
  cursor: default;
}

.carousel__slide img {
  display: block;
  width: 100%;
  max-width: var(--carousel-slide-width);
  height: auto;
  border-radius: 28px;
  border: 1px solid #000;
  box-shadow: 0 6px 14px rgba(28, 24, 18, 0.18);
  background: var(--surface-strong);
}

.carousel__nav {
  position: absolute;
  top: calc(24px + var(--carousel-image-height) / 2);
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
  z-index: 2;
  padding: 0;
}

.carousel__nav:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.06);
  box-shadow: var(--shadow-lg);
}

.carousel__nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.carousel__nav svg {
  width: 22px;
  height: 22px;
}

.carousel__nav--prev {
  left: 16px;
}

.carousel__nav--next {
  right: 16px;
}

.carousel__captions {
  position: relative;
  width: min(calc(100% - 40px), 480px);
  margin: 12px auto 0;
  min-height: 160px;
}

.carousel__caption {
  position: absolute;
  inset: 0;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
  pointer-events: none;
}

.carousel__caption.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease 0.05s, visibility 0s linear;
  pointer-events: auto;
}

.carousel__caption .eyebrow {
  margin-bottom: 6px;
}

.carousel__caption h3 {
  margin: 4px 0 12px;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

/* Coming-soon page still uses the placeholder boxes for now */
.screenshot-placeholder {
  aspect-ratio: 9 / 16;
  background:
    linear-gradient(160deg, rgba(16, 79, 140, 0.85), rgba(11, 58, 102, 0.85));
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}

/* =====================
   Coming Soon teaser (homepage)
   ===================== */

.cs-teaser {
  padding: 72px 0;
}

.cs-teaser__inner {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-areas:
    "eyebrow visual"
    "body    visual"
    "cta     visual";
  column-gap: 48px;
  row-gap: 0;
  align-items: start;
  box-shadow: var(--shadow);
}

.cs-teaser__eyebrow { grid-area: eyebrow; margin: 0 0 12px; }
.cs-teaser__visual  { grid-area: visual; align-self: center; }
.cs-teaser__body    { grid-area: body; }
.cs-teaser__cta     { grid-area: cta; justify-self: start; margin-top: 22px; }

.cs-teaser__body h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  line-height: 1.1;
}

.cs-teaser__body p {
  margin: 0;
  color: var(--muted);
}

.cs-teaser__visual {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, #efe2c4, #d9c69b);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: rgba(35, 28, 16, 0.55);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cs-teaser__visual::after {
  content: "Coming-soon preview";
}

.cs-teaser__visual:has(img)::after {
  content: none;
}

.cs-teaser__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =====================
   Coming Soon page
   ===================== */

.cs-hero {
  padding: 80px 0 32px;
}

.cs-hero__inner {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  max-width: 780px;
  text-align: center;
}

.cs-hero h1 {
  margin: 16px 0 16px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.cs-hero .lead {
  margin: 0 auto;
  max-width: 60ch;
  font-size: 1.1rem;
  color: var(--muted);
}

.cs-feature {
  padding: 56px 0;
}

.cs-feature__inner {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.cs-feature--reverse .cs-feature__inner {
  direction: rtl;
}

.cs-feature--reverse .cs-feature__inner > * {
  direction: ltr;
}

.cs-feature__copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.15;
}

.cs-feature__copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.cs-feature__visual .screenshot-placeholder {
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  max-width: 320px;
}

.cs-feature__visual img {
  display: block;
  margin: 0 auto;
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid #000;
  box-shadow: 0 6px 14px rgba(28, 24, 18, 0.18);
}

/* =====================
   Final CTA
   ===================== */

.cta-final {
  padding: 80px 0 96px;
  text-align: center;
}

.cta-final__inner {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  background: #76bbb7;
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 28px;
  box-shadow: var(--shadow-lg);
}

.cta-final h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.1;
}

.cta-final p {
  margin: 0 auto 28px;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

.cta-final .btn--primary {
  background: #fff;
  color: #000;
  border: 1px solid transparent;
}

.cta-final .btn--primary:hover {
  background: #f4f4f4;
  color: #000;
}

/* =====================
   Site footer
   ===================== */

.site-footer {
  background: #efe7d8;
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  margin-top: 48px;
}

.site-footer__inner {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 48px;
}

.site-footer__brand p {
  margin: 0 0 12px;
}

.site-footer__tagline {
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 500;
}

.site-footer__cta {
  margin-top: 14px;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 28px;
}

.site-footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__nav-col h2 {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer__nav-col a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.96rem;
}

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

.site-footer__copy {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 36px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: left;
}

/* =====================
   Legal pages (preserved)
   ===================== */

.body--legal .page-shell {
  padding-top: 24px;
}

.hero-card,
.legal-card {
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 48px 28px;
}

.hero-card h1,
.legal-card h1 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.lead {
  max-width: 60ch;
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
}

.legal-card {
  padding: 28px 22px 36px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.96rem;
}

.intro {
  padding: 18px 20px;
  margin: 22px 0 24px;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
}

.intro p {
  margin: 0;
}

.legal-card section + section {
  margin-top: 28px;
}

.legal-card h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.legal-card p,
.legal-card li {
  color: #2f2a24;
}

.legal-card ul {
  padding-left: 22px;
  margin: 10px 0 0;
}

.legal-card li + li {
  margin-top: 8px;
}

.inline-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.warning-box,
.contact-box,
.cta-box {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-strong);
}

.warning-box {
  border-color: rgba(125, 31, 31, 0.22);
  background: rgba(125, 31, 31, 0.06);
}

.warning-box h2,
.warning-box p,
.warning-box li {
  color: var(--warning);
}

/* =====================
   Responsive
   ===================== */

@media (max-width: 980px) {
  .hero__inner {
    padding-top: 40px;
  }

  .carousel {
    --carousel-slide-width: 260px;
    --carousel-gap: 24px;
    --carousel-image-height: 540px;
  }

  .showcase-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .cs-teaser__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "visual"
      "body"
      "cta";
    column-gap: 0;
    row-gap: 20px;
    padding: 36px;
  }

  .cs-teaser__eyebrow { margin: 0; }
  .cs-teaser__cta { margin-top: 8px; }

  .cs-teaser__visual {
    aspect-ratio: 1 / 1;
  }

  .cs-feature__inner,
  .cs-feature--reverse .cs-feature__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    direction: ltr;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 720px) {
  .site-nav {
    display: none;
  }

  .floating-menu-btn {
    display: inline-flex;
  }

  .site-header__inner {
    padding-left: 56px;
  }

  .hero {
    padding: 16px 0 48px;
  }

  .hero__inner {
    padding-top: 32px;
  }

  .features,
  .showcase,
  .cs-teaser,
  .cta-final {
    padding: 56px 0;
  }

  .carousel {
    --carousel-slide-width: 220px;
    --carousel-gap: 16px;
    --carousel-image-height: 460px;
  }

  .carousel__nav {
    width: 40px;
    height: 40px;
  }

  .carousel__nav svg {
    width: 18px;
    height: 18px;
  }

  .carousel__nav--prev {
    left: 8px;
  }

  .carousel__nav--next {
    right: 8px;
  }

  .carousel__captions {
    min-height: 180px;
  }

  .cs-teaser__inner {
    padding: 28px;
  }

  .cta-final__inner {
    padding: 40px 22px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width-prose));
    padding-top: 20px;
    padding-bottom: 36px;
  }

  .hero-card,
  .legal-card {
    border-radius: 18px;
  }

  .hero-card {
    padding: 30px 20px;
  }

  .legal-card {
    padding: 24px 18px 28px;
  }

  .site-header__cta {
    padding: 10px 16px;
    font-size: 0.92rem;
  }

  .site-header__inner {
    gap: 12px;
  }
}

