/* ============================================================
   GitHub Smart Downloader — Graphite Workbench
   ============================================================ */

/* ----------------------------------------------------------
   1. Custom Properties
   ---------------------------------------------------------- */
:root {
  /* Thaleris graphite shell */
  --gsd-graphite:      oklch(22% 0.009 100);
  --gsd-graphite-2:    oklch(26% 0.009 100);
  --gsd-graphite-3:    oklch(18% 0.009 100);
  --gsd-line-dark:     oklch(34% 0.009 100);
  --gsd-line-dark-2:   oklch(30% 0.009 100);

  /* On-dark text */
  --gsd-paper-on-dark: oklch(95% 0.006 95);
  --gsd-muted-on-dark: oklch(62% 0.010 100);
  --gsd-muted-2-on-dark: oklch(48% 0.010 100);

  /* Light surfaces — matte silver-white, calibrated, not domestic cream.
     H=255 (blue-grey) creates intentional warm/cool tension against graphite.
     L=89% drops from 97% → no strobe effect, clear section rhythm preserved. */
  --gsd-paper:         oklch(89% 0.007 255);
  --gsd-paper-warm:    oklch(85% 0.008 255);
  --gsd-paper-alt:     oklch(92% 0.005 255);
  --gsd-ink:           oklch(24% 0.018 92);
  --gsd-muted:         oklch(38% 0.016 100);  /* bumped from 42% → 38% for AA on new paper */
  --gsd-line:          oklch(76% 0.006 255);  /* blue-grey hairline, matches new paper hue */
  --gsd-line-2:        oklch(83% 0.004 255);

  /* Brand accent — PREVIEW: Dark Purple */
  --gsd-sage:          oklch(65% 0.04 280);
  --gsd-sage-deep:     oklch(55% 0.04 280);
  --gsd-sage-soft:     oklch(78% 0.035 280);  /* purple surface tint on paper sections */
  --gsd-sage-dim:      oklch(60% 0.038 280);

  /* Install blue — sparingly on CTAs only */
  --gsd-blue:          oklch(58% 0.15 252);
  --gsd-blue-deep:     oklch(46% 0.14 252);
  --gsd-blue-hover:    oklch(54% 0.15 252);

  /* Shadows */
  --gsd-shadow-paper:  color-mix(in oklch, var(--gsd-graphite) 16%, transparent);
  --gsd-shadow-screen: color-mix(in oklch, var(--gsd-graphite-3) 32%, transparent);

  /* Typography */
  --font-display: "Space Grotesk", "Inter Tight", system-ui, sans-serif;
  --font-body:    "Inter Tight", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Type scale */
  --text-hero:    clamp(52px, 7vw, 88px);
  --text-display: clamp(44px, 6.5vw, 104px);
  --text-section: clamp(32px, 4.4vw, 64px);
  --text-title:   clamp(22px, 2.4vw, 36px);
  --text-body-lg: 19px;
  --text-body:    16px;
  --text-small:   13.5px;
  --text-mono:    11px;

  /* Layout */
  --page-x:       clamp(20px, 5vw, 64px);
  --content-max:  1220px;
  --reading-max:  700px;
  /* Section rhythm audited 2026-06-03: Thaleris-style spacing (88–152px) scales gracefully
     across content densities. Hero uses custom padding (64–112px) for first-viewport presence.
     Feature rows and architecture sections use --section-y for consistency. */
  --section-y:    clamp(88px, 11vw, 152px);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom scrollbar — matches scroll progress bar aesthetic.
   Chromium: slim sage thumb on graphite track. Firefox: text-friendly colors. */
html {
  /* Custom scrollbar — matches scroll progress bar aesthetic.
     Chromium: slim sage thumb on graphite track. Firefox: text-friendly colors. */
  scrollbar-width: thin;
  scrollbar-color: var(--gsd-sage) var(--gsd-graphite-3);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gsd-graphite-3);
}

::-webkit-scrollbar-thumb {
  background: var(--gsd-sage);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gsd-sage-soft);
}

::-webkit-scrollbar-thumb:active {
  background: var(--gsd-sage-deep);
}


/* ----------------------------------------------------------
   2. Reset & Base
   ---------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  background: var(--gsd-graphite);
  color: var(--gsd-paper-on-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

ol, ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Emphasis text weight in paragraphs */
p strong, p b {
  font-weight: 600;
}

:focus-visible {
  outline: 3px solid color-mix(in oklch, var(--gsd-sage) 60%, transparent);
  outline-offset: 3px;
  border-radius: 2px;
}

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

/* ----------------------------------------------------------
   4. Header
   ---------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: 64px;
  background: color-mix(in oklch, var(--gsd-graphite) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: border-color 0.3s var(--ease-in-out),
              background 0.3s var(--ease-in-out),
              opacity 0.28s var(--ease-out-quart),
              transform 0.28s var(--ease-out-quart);
}

.site-header.scrolled {
  border-color: var(--gsd-line-dark);
  background: color-mix(in oklch, var(--gsd-graphite) 96%, transparent);
}

.site-header.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--page-x);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.header-brand:hover { opacity: 1; }

.header-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}

.header-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--gsd-paper-on-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.nav-link {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--gsd-muted-on-dark);
  letter-spacing: 0.01em;
  transition: color 0.2s;
  padding: 4px 0;
}

.nav-link:hover { color: var(--gsd-paper-on-dark); }

.nav-link.is-active,
.nav-link[aria-current="true"] {
  color: var(--gsd-sage);
  font-weight: 600;
}

.nav-link.is-active:hover,
.nav-link[aria-current="true"]:hover {
  color: color-mix(in oklch, var(--gsd-sage) 80%, var(--gsd-paper-on-dark));
}

.back-to-top {
  position: fixed;
  right: clamp(18px, 3vw, 32px);
  bottom: clamp(18px, 3vw, 32px);
  z-index: 880;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in oklch, var(--gsd-paper-on-dark) 16%, var(--gsd-line-dark));
  border-radius: 50%;
  background: var(--gsd-paper-on-dark);
  color: var(--gsd-graphite);
  box-shadow: 0 14px 34px color-mix(in oklch, var(--gsd-graphite-3) 44%, transparent);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.86);
  transition:
    opacity 0.3s var(--ease-out-quart),
    transform 0.3s var(--ease-out-quart),
    background 0.2s var(--ease-in-out),
    color 0.2s var(--ease-in-out),
    border-color 0.2s var(--ease-in-out);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  border-color: color-mix(in oklch, var(--gsd-sage) 52%, var(--gsd-line-dark));
  background: var(--gsd-sage);
  color: var(--gsd-paper-on-dark);
}

.back-to-top:active {
  transform: translateY(1px) scale(0.98);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}


/* ----------------------------------------------------------
   5. Buttons
   ---------------------------------------------------------- */

/* Install blue — Chrome Store only */
.btn-install {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gsd-blue);
  color: var(--gsd-paper-on-dark);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s var(--ease-out),
              transform 0.15s var(--ease-out),
              box-shadow 0.2s var(--ease-out);
  white-space: nowrap;
}

.btn-install:hover {
  background: var(--gsd-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px color-mix(in oklch, var(--gsd-blue) 25%, transparent);
}

.btn-install:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-install svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.25;
  transition: transform 0.2s var(--ease-out);
}

.btn-install:hover svg { transform: translateX(3px); }

.btn-install.btn-sm {
  font-size: 13px;
  padding: 7px 14px;
}

.btn-install.btn-lg {
  font-size: 15px;
  padding: 12px 24px;
}

/* Outline on dark backgrounds */
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gsd-paper-on-dark);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 4px;
  border: 1px solid var(--gsd-line-dark);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.15s var(--ease-out);
  white-space: nowrap;
}

.btn-outline-light:hover {
  border-color: var(--gsd-muted-on-dark);
  color: var(--gsd-paper-on-dark);
  transform: translateY(-1px);
}

.btn-outline-light:active {
  transform: translateY(0);
  color: var(--gsd-sage);
  border-color: var(--gsd-sage);
}

.btn-outline-light.btn-lg {
  font-size: 15px;
  padding: 12px 24px;
}

.btn-outline-light svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
  opacity: 0.7;
  transition: transform 0.2s var(--ease-out);
}

.btn-outline-light:hover svg {
  transform: translateX(2px);
}

/* Ghost icon button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--gsd-muted-on-dark);
  font-size: var(--text-small);
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, transform 0.15s var(--ease-out);
}

.btn-ghost:hover {
  color: var(--gsd-paper-on-dark);
  background: color-mix(in oklch, var(--gsd-paper-on-dark) 6%, transparent);
  transform: translateY(-1px);
}

.btn-ghost:active {
  transform: translateY(0);
  color: var(--gsd-sage);
}

.btn-ghost svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
}


/* ----------------------------------------------------------
   6. Section layout helpers
   ---------------------------------------------------------- */
.section-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: var(--section-y) var(--page-x);
}

.section-tag {
  font-family: var(--font-mono);
  font-size: var(--text-mono);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gsd-sage);
  margin-bottom: 36px;
}

.section-tag--ink {
  color: var(--gsd-sage-deep);
}

.section-h2--ink {
  font-family: var(--font-display);
  font-size: var(--text-section);
  font-weight: 700;
  color: var(--gsd-ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.mono-badge {
  font-family: var(--font-mono);
  font-size: var(--text-mono);
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gsd-sage);
  margin-bottom: 28px;
}

.mono-label-sm {
  font-family: var(--font-mono);
  font-size: var(--text-mono);
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--gsd-sage);
  margin-bottom: 16px;
}


/* ----------------------------------------------------------
   7. Hero Section
   ---------------------------------------------------------- */
.s-hero {
  min-height: 92svh;
  background: var(--gsd-graphite);
  display: flex;
  align-items: center;
  padding-top: 10px;
  border-bottom: 1px solid var(--gsd-line-dark);
}

.s-hero__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px) var(--page-x) clamp(48px, 6vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
  width: 100%;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  border-bottom: 2px solid var(--gsd-sage);
  padding-bottom: 12px;
  color: var(--gsd-paper-on-dark);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: var(--text-body-lg);
  font-weight: 500;
  line-height: 1.6;
  color: var(--gsd-muted-on-dark);
  max-width: 52ch;
  margin-bottom: 14px;
}

.hero-tagline {
  font-size: var(--text-small);
  font-family: var(--font-mono);
  color: var(--gsd-sage-dim);
  letter-spacing: 0.02em;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.trust-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-small);
  color: var(--gsd-muted-2-on-dark);
}

/* Trust strip icon backgrounds — sage-tinted boxes for consistency with security badges */
.trust-item i {
  width: 20px;
  height: 20px;
  background: color-mix(in oklch, var(--gsd-sage-soft) 15%, transparent);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  flex-shrink: 0;
}

.trust-item svg {
  width: 13px !important;
  height: 13px !important;
  stroke-width: 2 !important;
  color: var(--gsd-sage-dim) !important;
}

.trust-sep {
  width: 1px;
  height: 12px;
  background: var(--gsd-line-dark-2);
}

/* Hero visual */
.s-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-icon-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-icon-bg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.10;
  filter: blur(1px);
}

.screen-frame {
  position: relative;
  z-index: 1;
  background: transparent;
  border-radius: 18px;
  padding: 0;
  filter: drop-shadow(0 28px 62px color-mix(in oklch, var(--gsd-graphite-3) 48%, transparent));
  width: 100%;
  max-width: 420px;
}

/* Iframe-based UI mockup wrapper */
.ui-iframe-wrap {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 18px;
  background: #0d1117;
}

.screen-frame .ui-iframe-wrap {
  border: 1px solid color-mix(in oklch, var(--gsd-paper-on-dark) 16%, var(--gsd-line-dark));
  box-shadow:
    0 1px 0 color-mix(in oklch, var(--gsd-paper-on-dark) 10%, transparent) inset;
}

.ui-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  border: none;
  pointer-events: none;
  display: block;
  transform-origin: top left;
}


/* ----------------------------------------------------------
   8. Problem Section
   ---------------------------------------------------------- */
.s-problem {
  background: var(--gsd-graphite-2);
  border-bottom: 1px solid var(--gsd-line-dark);
}

/* Section heading emphasis on scroll — removed full-width underline for cleaner look */
h2 {
  /* Border-bottom removed — was extending full width regardless of text length */
}

.problem-h2 {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--gsd-paper-on-dark);
  margin-bottom: clamp(48px, 6vw, 80px);
}

/* Sage emphasis in headings — dark sections */
.sage-em {
  font-style: normal;
  color: var(--gsd-sage);
}

/* Sage emphasis in headings — light/paper sections */
.sage-em-ink {
  font-style: normal;
  color: var(--gsd-sage-deep);
}

.problem-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--gsd-line-dark);
}

.problem-row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gsd-line-dark);
}

.problem-row p {
  font-size: var(--text-body-lg);
  color: var(--gsd-muted-on-dark);
  max-width: 64ch;
}

.problem-dash {
  display: inline-block;
  width: 18px;
  height: 1px;
  transform: translateY(-5px);
  background: var(--gsd-sage);
  flex-shrink: 0;
}


/* ----------------------------------------------------------
   9. Paper sections — warm cream (Caret-web clarity)
   ---------------------------------------------------------- */
.s-paper {
  background: var(--gsd-paper);
  color: var(--gsd-ink);
}


/* ----------------------------------------------------------
   10. How It Works — Steps Ledger
   ---------------------------------------------------------- */
.steps-ledger {
  border-top: 1px solid var(--gsd-line);
}

.step-row {
  display: grid;
  grid-template-columns: 48px 48px 1fr;
  gap: 20px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--gsd-line);
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  cursor: default;
}

.step-row:hover {
  background: color-mix(in oklch, var(--gsd-sage-soft) 30%, transparent);
  transform: translateX(4px);
}

.step-n {
  font-family: var(--font-mono);
  font-size: var(--text-mono);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gsd-sage-deep);
  padding-top: 4px;
}

.step-icon {
  color: var(--gsd-sage);
  padding-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step-icon i,
.step-icon svg {
  width: 24px !important;
  height: 24px !important;
  stroke-width: 1.75 !important;
  color: var(--gsd-sage-deep) !important;
  min-width: 24px;
  min-height: 24px;
}

.step-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--gsd-ink);
  margin-bottom: 6px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--gsd-ink);
  margin-bottom: 6px;
}

.step-body p {
  font-size: var(--text-body);
  color: var(--gsd-muted);
  max-width: 60ch;
}


/* ----------------------------------------------------------
   11. Showcase
   ---------------------------------------------------------- */
.s-showcase {
  background: var(--gsd-graphite-3);
  border-top: 1px solid var(--gsd-line-dark);
  border-bottom: 1px solid var(--gsd-line-dark);
}

.showcase-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.showcase-h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 700;
  color: var(--gsd-paper-on-dark);
  line-height: 1.12;
  letter-spacing: -0.022em;
  margin: 0;
}

.showcase-head p {
  margin: 0;
  color: var(--gsd-muted-on-dark);
  font-size: clamp(16px, 1.65vw, 18px);
  line-height: 1.55;
  max-width: 36ch;
}

.product-walkthrough {
  border-top: 1px solid var(--gsd-line-dark);
}

.product-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(280px, 1fr);
  gap: clamp(30px, 6vw, 88px);
  align-items: center;
  padding-block: clamp(38px, 6vw, 72px);
  border-bottom: 1px solid var(--gsd-line-dark);
}

.product-row--reverse {
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.88fr);
}

.product-copy {
  max-width: 470px;
}

.product-kicker {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gsd-sage);
}

.product-copy h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
  font-weight: 650;
  color: var(--gsd-paper-on-dark);
}

.product-copy > p:not(.product-kicker) {
  margin: 0;
  color: var(--gsd-muted-on-dark);
  font-size: 16px;
  line-height: 1.62;
  max-width: 58ch;
}

.product-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.product-points li {
  border: 1px solid color-mix(in oklch, var(--gsd-paper-on-dark) 10%, var(--gsd-line-dark));
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--gsd-paper-on-dark);
  background: color-mix(in oklch, var(--gsd-paper-on-dark) 4%, transparent);
  font-size: 13px;
  line-height: 1;
}

.product-visual {
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.product-visual--right {
  justify-self: end;
  align-items: flex-end;
}

.product-visual--left {
  justify-self: start;
  align-items: flex-start;
}

.product-frame {
  overflow: hidden;
  width: min(100%, 440px);
  background: transparent;
  border-radius: 14px;
  padding: 0;
  filter: drop-shadow(0 18px 38px color-mix(in oklch, var(--gsd-graphite-3) 32%, transparent));
}

.product-frame--wide {
  width: min(100%, 500px);
}

.product-frame--popup {
  width: min(100%, 292px);
}

.product-frame--settings {
  width: min(100%, 420px);
}

.product-frame .ui-iframe-wrap {
  width: 100%;
  border: 1px solid color-mix(in oklch, var(--gsd-paper-on-dark) 16%, var(--gsd-line-dark));
  border-radius: 14px;
  box-shadow:
    0 1px 0 color-mix(in oklch, var(--gsd-paper-on-dark) 14%, transparent) inset,
    0 16px 34px color-mix(in oklch, var(--gsd-graphite-3) 24%, transparent);
}

.product-visual figcaption {
  margin-top: 10px;
  color: var(--gsd-muted-on-dark);
  font-size: 13px;
  line-height: 1.45;
}

.product-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(30px, 4vw, 48px);
  padding: 18px 20px;
  border: 1px solid var(--gsd-line-dark);
  color: var(--gsd-muted-on-dark);
  background: color-mix(in oklch, var(--gsd-paper-on-dark) 3%, transparent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-strip i {
  width: 22px;
  height: 1px;
  background: var(--gsd-sage);
}


/* ----------------------------------------------------------
   12. Feature Ledger
   ---------------------------------------------------------- */
.feature-ledger {
  border-top: 1px solid var(--gsd-line);
}

.feature-row {
  display: grid;
  grid-template-columns: 48px 48px 1fr;
  gap: 20px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--gsd-line);
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  cursor: default;
}

/* Feature row alternating backgrounds — subtle tint improves scannability */
.feature-row--alt {
  background: color-mix(in oklch, var(--gsd-sage-soft) 8%, transparent);
}

.feature-row:hover {
  background: color-mix(in oklch, var(--gsd-sage-soft) 30%, transparent);
  transform: translateX(4px);
}

.feature-row--alt:hover {
  background: color-mix(in oklch, var(--gsd-sage-soft) 30%, transparent);
  transform: translateX(4px);
}

.feature-n {
  font-family: var(--font-mono);
  font-size: var(--text-mono);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gsd-sage-deep);
  padding-top: 4px;
}

.feature-icon {
  color: var(--gsd-sage-deep);
  padding-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.feature-icon i,
.feature-icon svg {
  width: 24px !important;
  height: 24px !important;
  stroke-width: 1.75 !important;
  color: var(--gsd-sage-deep) !important;
  min-width: 24px;
  min-height: 24px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--gsd-ink);
  margin-bottom: 6px;
}

.feature-body p {
  font-size: var(--text-body);
  color: var(--gsd-muted);
  max-width: 60ch;
}


/* ----------------------------------------------------------
   13. Security Section
   ---------------------------------------------------------- */
.s-security {
  background: var(--gsd-graphite-3);
  border-top: 1px solid var(--gsd-line-dark);
  border-bottom: 1px solid var(--gsd-line-dark);
}

.security-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.security-h2 {
  font-family: var(--font-display);
  font-size: var(--text-section);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--gsd-paper-on-dark);
  margin-bottom: 24px;
}

.security-copy {
  font-size: var(--text-body);
  color: var(--gsd-muted-on-dark);
  max-width: 48ch;
  line-height: 1.7;
}

.trust-ledger {
  border-top: 1px solid var(--gsd-line-dark);
  margin-bottom: 32px;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gsd-line-dark);
  font-size: var(--text-body);
  color: var(--gsd-muted-on-dark);
}

/* Trust icon upgrade — sage circle badge with white checkmark */
/* Security checkmark badges — smaller, transparent background with sage outline */
.trust-icon {
  color: var(--gsd-sage);
  background: color-mix(in oklch, var(--gsd-sage-soft) 12%, transparent);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 0.5px solid color-mix(in oklch, var(--gsd-sage) 25%, transparent);
}

.trust-icon svg {
  width: 11px !important;
  height: 11px !important;
  stroke-width: 2.75 !important;
  color: var(--gsd-sage) !important;
}

.endpoint-block {
  padding: 24px;
  background: oklch(25% 0.035 280);
  border: 1px solid color-mix(in oklch, var(--gsd-sage-deep) 28%, var(--gsd-graphite-2));
  border-radius: 6px;
}

.endpoint-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

.endpoint-list li code {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gsd-sage);
  letter-spacing: 0.01em;
}


/* ----------------------------------------------------------
   14. Architecture Section
   ---------------------------------------------------------- */
.s-arch {
  background: var(--gsd-paper);
  color: var(--gsd-ink);
}

/* Hub-and-spoke T-layout.
   Top row: Content Script — Service Worker (hub) — GitHub Endpoints
   Bottom row, centered: Offscreen ZIP Engine (delegated branch) */
.arch-flow {
  display: grid;
  grid-template-columns: 1fr 1.18fr 1fr;
  grid-template-rows: auto auto;
  column-gap: 56px;          /* room for connecting hairlines */
  row-gap: 36px;
  margin-bottom: 44px;
  position: relative;
  align-items: stretch;
}

.arch-node {
  position: relative;
  z-index: 1;
  padding: 24px 22px;
  border: 1px solid var(--gsd-line);
  border-radius: 10px;
  background: var(--gsd-paper);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}


.arch-node--content   { grid-column: 1; grid-row: 1; }
.arch-node--hub       { grid-column: 2; grid-row: 1; }
.arch-node--endpoints { grid-column: 3; grid-row: 1; }
.arch-node--worker    {
  grid-column: 2;
  grid-row: 2;
  max-width: 78%;
  justify-self: center;
  width: 100%;
}

/* Hub node: neutral at rest, sage only on interaction.
   The HUB badge marks it as special without a permanent highlight. */
.arch-node--accent {
  /* inherits .arch-node defaults — no special resting style */
}

.arch-node:hover,
.arch-node.arch-tapped {
  border-color: var(--gsd-sage);
  background: color-mix(in oklch, var(--gsd-sage-soft) 40%, var(--gsd-paper));
  box-shadow: 0 2px 10px color-mix(in oklch, var(--gsd-sage) 18%, transparent);
}

/* "Hub" role badge — sits inside the hub node, top-right */
.arch-node__role {
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gsd-sage-deep);
  padding: 3px 8px;
  background: color-mix(in oklch, var(--gsd-sage-soft) 60%, var(--gsd-paper));
  border: 1px solid color-mix(in oklch, var(--gsd-sage) 30%, var(--gsd-line));
  border-radius: 4px;
}

.arch-icon-wrap {
  color: var(--gsd-sage-deep);
  margin-bottom: 14px;
}

.arch-icon-wrap svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.5;
}

.arch-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--gsd-ink);
  margin-bottom: 8px;
}

.arch-desc {
  font-size: var(--text-small);
  color: var(--gsd-muted);
  line-height: 1.6;
}

/* Connecting hairlines — drawn as pseudo-elements on the hub node.
   No arrowheads (bidirectional message-passing; spatial layout conveys topology). */
.arch-node--hub::before,
.arch-node--hub::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 56px;          /* matches column-gap */
  height: 1px;
  background: var(--gsd-sage);
  z-index: 0;
}
.arch-node--hub::before { right: 100%; }
.arch-node--hub::after  { left:  100%; }

/* Vertical hairline from hub bottom to worker top */
.arch-node--worker::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 1px;
  height: 36px;         /* matches row-gap */
  background: var(--gsd-sage);
  transform: translateX(-50%);
  z-index: 0;
}

/* Terminus rings — engineered aesthetic with hollow sage rings */
.arch-node--content::after,
.arch-node--endpoints::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--gsd-sage);
  background: transparent;
  transform: translateY(-50%);
}
.arch-node--content::after   { right: -4px; }
.arch-node--endpoints::after { left:  -4px; }

.arch-footnote {
  text-align: center;
}

.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-small);
  color: var(--gsd-sage-deep);
  border-bottom: 1px solid color-mix(in oklch, var(--gsd-sage-deep) 40%, transparent);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.link-underline:hover {
  color: var(--gsd-sage-deep);
  border-color: var(--gsd-sage-deep);
}

.link-underline svg {
  width: 13px;
  height: 13px;
  stroke-width: 2;
}


/* ----------------------------------------------------------
   15. Closing CTA
   ---------------------------------------------------------- */
.s-cta {
  background: var(--gsd-graphite);
  border-top: 1px solid var(--gsd-line-dark);
}

.s-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.cta-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  margin-bottom: 32px;
  opacity: 0.85;
}

.cta-h2 {
  font-family: var(--font-display);
  font-size: var(--text-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--gsd-paper-on-dark);
  margin-bottom: 48px;
  min-height: 2.2em;
  border-bottom: none;
}

/* Sage second-line in typewriter */
.cta-sage-tw { color: var(--gsd-sage); }

/* Typewriter cursor — slim vertical bar */
.cta-cursor {
  display: inline-block;
  width: 0.06em;
  height: 0.82em;
  background: var(--gsd-sage);
  vertical-align: middle;
  margin-left: 0.06em;
  border-radius: 2px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.cta-cursor.hidden { opacity: 0; animation: none; }

/* Bouncing dots — inline in the heading, sized to match font */
.cta-dots {
  display: none;
  gap: 0.18em;
  vertical-align: middle;
  margin-left: 0.06em;
}

.cta-dots.visible { display: inline-flex; align-items: center; }

.cta-dots span {
  width: 0.22em;
  height: 0.22em;
  border-radius: 50%;
  background: var(--gsd-sage);
  display: inline-block;
  opacity: 0.5;
  animation: dot-bounce 1.0s ease-in-out infinite;
}

.cta-dots span:nth-child(2) { animation-delay: 0.18s; }
.cta-dots span:nth-child(3) { animation-delay: 0.36s; }

@keyframes dot-bounce {
  0%, 75%, 100% { transform: translateY(0);      opacity: 0.35; }
  38%           { transform: translateY(-0.28em); opacity: 1; }
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}


/* ----------------------------------------------------------
   16. Footer
   ---------------------------------------------------------- */
.site-footer {
  background: var(--gsd-graphite-3);
  border-top: 1px solid var(--gsd-line-dark);
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 40px var(--page-x);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--gsd-muted-on-dark);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: var(--text-small);
  color: var(--gsd-muted-2-on-dark);
  text-align: center;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-end;
}

.footer-link {
  font-size: var(--text-small);
  color: var(--gsd-muted-on-dark);
  transition: color 0.2s;
  white-space: nowrap;
}

.footer-link:hover { color: var(--gsd-paper-on-dark); }


/* ----------------------------------------------------------
   17. UI Mockup Lightbox
   ---------------------------------------------------------- */
.ui-lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.ui-lightbox[hidden] { display: none; }

.ui-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in oklch, var(--gsd-graphite-3) 88%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.ui-lightbox__panel {
  position: relative;
  z-index: 1;
  background: var(--gsd-graphite-2);
  border: 1px solid var(--gsd-line-dark);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 96px color-mix(in oklch, var(--gsd-graphite-3) 50%, transparent);
  animation: lightbox-in 0.2s var(--ease-out) both;
}

.ui-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--gsd-line-dark-2);
  background: var(--gsd-graphite-3);
  color: var(--gsd-muted-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.ui-lightbox__close:hover {
  background: var(--gsd-graphite);
  color: var(--gsd-paper-on-dark);
}

.ui-lightbox__stage {
  overflow: hidden;
  /* width + height set by JS based on iframe natural dimensions */
}
.ui-lightbox__stage iframe {
  display: block;
  border: none;
  transform-origin: top left;
}

/* Tap affordance — whole card is the tap target, not just the iframe wrap */
.s-showcase .sc-card {
  cursor: zoom-in;
  touch-action: manipulation; /* eliminates tap delay on mobile */
  user-select: none;
  -webkit-user-select: none;
}
/* Pass pointer events through the iframe so they reach the card element */
.s-showcase .ui-iframe-wrap iframe {
  pointer-events: none;
}
.s-showcase .sc-card__stage {
  position: relative;
}
.s-showcase .sc-card__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.18s;
  pointer-events: none;
  background: color-mix(in oklch, var(--gsd-sage-soft) 8%, transparent);
}
.s-showcase .sc-card__stage:hover::after {
  opacity: 1;
}

@keyframes lightbox-in {
  from { opacity: 0; transform: scale(0.93); }
  to   { opacity: 1; transform: scale(1); }
}

/* Lightbox entrance animation — enhanced opacity fade + scale for softer reveal */
.ui-lightbox:not([hidden]) {
  animation: lightbox-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ----------------------------------------------------------
   18. Reveal Animations
   ---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-image {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.reveal-image.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger siblings */
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.40s; }


/* ----------------------------------------------------------
   18. Responsive — impeccable adapt
   ---------------------------------------------------------- */

/* Tablet: architecture collapses to 2×2 stack — hide connecting lines */
@media (max-width: 1100px) {
  .arch-flow {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 12px;
  }

  .arch-node--content   { grid-column: 1; grid-row: 1; }
  .arch-node--hub       { grid-column: 2; grid-row: 1; }
  .arch-node--endpoints { grid-column: 1; grid-row: 2; }
  .arch-node--worker    {
    grid-column: 2;
    grid-row: 2;
    max-width: 100%;
    width: 100%;
  }

  .arch-node--hub::before,
  .arch-node--hub::after,
  .arch-node--worker::before,
  .arch-node--content::after,
  .arch-node--endpoints::after { display: none; }
}

/* Phablet: collapse hero + showcase grids */
@media (max-width: 860px) {
  .header-nav { display: none; }
  /* Full brand name fits without action buttons on tablet */

  /* Hero stacks with copy first so the first fold keeps the promise and CTA visible. */
  .s-hero__inner {
    grid-template-columns: 1fr;
    gap: clamp(22px, 5vw, 36px);
    padding-block: clamp(24px, 6vw, 56px);
  }

  .s-hero__visual {
    max-width: min(100%, 340px);
    margin: 0 auto;
    width: 100%;
  }

  .screen-frame { max-width: 100%; }
  .hero-sub { max-width: 100%; }
  .hero-h1 { margin-bottom: 20px; }

  .showcase-head,
  .product-row,
  .product-row--reverse {
    grid-template-columns: 1fr;
  }

  .product-copy {
    max-width: 620px;
  }

  .product-visual--right,
  .product-visual--left {
    justify-self: start;
  }

  .product-frame--wide,
  .product-frame--settings {
    width: min(100%, 520px);
  }

  /* Security stacks */
  .security-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Architecture: full single-column stack on phablet+ */
  .arch-flow {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: 10px;
  }

  .arch-node--content,
  .arch-node--hub,
  .arch-node--endpoints,
  .arch-node--worker {
    grid-column: 1;
    grid-row: auto;
    max-width: 100%;
    width: 100%;
  }

  .arch-node--hub::before,
  .arch-node--hub::after,
  .arch-node--worker::before,
  .arch-node--content::after,
  .arch-node--endpoints::after { display: none; }

  .arch-node__role {
    top: 10px;
    right: 12px;
  }

  /* Footer stacks */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
    padding-block: 32px;
  }

  .footer-brand { justify-content: center; }
  .footer-meta { justify-content: center; gap: 12px; }
  .footer-links { justify-content: center; }

  /* Section spacing tighter on tablet */
  --section-y: clamp(64px, 9vw, 100px);
}

/* Mobile: compact everything */
@media (max-width: 640px) {
  /* Ledger rows: drop number column to slim them */
  .step-row,
  .feature-row {
    grid-template-columns: 32px 1fr;
    gap: 12px;
    padding: 20px 0;
  }

  /* Hide step/feature number on smallest screens, keep icon */
  .step-n,
  .feature-n { display: none; }

  .step-icon svg,
  .feature-icon svg { width: 20px; height: 20px; }

  /* Trust strip: stack vertically */
  .trust-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .trust-sep { display: none; }

  /* Hero CTAs stack */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 20px;
  }

  .hero-actions .btn-install,
  .hero-actions .btn-outline-light {
    justify-content: center;
  }

  .trust-strip { display: none; }

  /* CTA stack */
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .cta-actions .btn-install,
  .cta-actions .btn-outline-light {
    justify-content: center;
  }

  /* Problem heading: allow natural wrap instead of explicit breaks */
  .problem-h2 { font-size: clamp(36px, 9vw, 56px); }

  /* Endpoint block: smaller padding */
  .endpoint-block { padding: 16px; }

  /* Footer meta: wrap more tightly */
  .footer-meta { flex-wrap: wrap; gap: 8px; }

  /* Section spacing */
  --section-y: clamp(56px, 8vw, 88px);
}

/* Tiny phones */
@media (max-width: 480px) {
  /* Full brand name on mobile — hide all action buttons */
  .header-actions { display: none; }

  .s-hero__inner {
    gap: 18px;
    padding-top: 22px;
  }

  /* Hero visual stays present without swallowing the first fold. */
  .s-hero__visual { max-width: min(100%, 280px); }

  /* Hero text sizing */
  .s-hero .mono-badge { margin-bottom: 12px; }
  .hero-h1 {
    font-size: clamp(46px, 14vw, 56px);
    letter-spacing: -0.025em;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }
  .hero-sub {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
  }
  .hero-tagline { display: none; }
  .hero-actions { margin-bottom: 0; }

  .showcase-h2 {
    font-size: clamp(32px, 9vw, 44px);
  }

  .product-row,
  .product-row--reverse {
    gap: 24px;
    padding-block: 34px;
  }

  .product-copy h3 { font-size: clamp(24px, 7vw, 32px); }
  .product-copy > p:not(.product-kicker) { font-size: 15px; }
  .product-frame--popup { width: min(100%, 280px); }
  .product-strip { justify-content: flex-start; }

  /* Security heading tighter */
  .security-h2 { font-size: clamp(28px, 8vw, 48px); }

  /* CTA heading tighter */
  .cta-h2 { font-size: clamp(36px, 10vw, 56px); margin-bottom: 36px; }

  /* Problem rows: tighter */
  .problem-row { gap: 14px; padding: 18px 0; }
  .problem-row p { font-size: var(--text-body); }

  /* Footer: stack everything at tiny sizes */
  .footer-inner { padding-inline: 20px; }
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .footer-meta { gap: 6px; }
}

/* Short landscape phones need a compact split hero instead of a long stacked fold. */
@media (max-width: 860px) and (orientation: landscape) {
  .s-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.72fr);
    gap: 20px;
    padding-block: 20px;
    align-items: center;
  }

  .s-hero .mono-badge {
    display: none;
  }

  .s-hero__visual {
    max-width: 230px;
  }

  .hero-h1 {
    font-size: clamp(38px, 7vw, 48px);
    margin-bottom: 12px;
    padding-bottom: 8px;
  }

  .hero-sub {
    font-size: 16px;
    line-height: 1.42;
    margin-bottom: 8px;
  }

  .hero-tagline,
  .trust-strip {
    display: none;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
    margin-bottom: 0;
  }
}
