/* ============================================================
   COFFEECUP SOFTWARE — HOMEPAGE CSS
   Aesthetic: Heritage Dark Precision
   ============================================================ */

/* Nohemi (variable) is declared only once, in components/base.css */

/* Tokens, reset and the typography layer live in components/base.css (single
   source of truth). Don't redeclare them here: this file used to carry an old
   copy of :root that overrode the accessible pairs (--text-muted-on-dark α 0.5,
   --text-secondary #6B6861) and reintroduced the contrast failures. */
body { background: var(--dark-bg); }

/* ── Utilities ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

.section {
  padding: var(--sp-8) 0;
}

.section--dark {
  background: var(--dark-bg);
  color: var(--text-on-dark);
}

.section--subtle {
  background: var(--surface-subtle);
}

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

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-glow::before,
  .hero-glow::after,
  .hero-trust-dot,
  .logos-track {
    animation: none;
  }
  /* P7: Accordion — instant open, no transition */
  
  
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--primary-solid);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 550;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-glow);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--primary-solid-hover);
    box-shadow: var(--shadow-glow-lg);
    transform: translateY(-1px);
  }
}

.btn-primary--large {
  padding: 15px 32px;
  font-size: 15px;
}

.btn-primary--full { width: 100%; justify-content: center; }

.btn-primary--glow {
  box-shadow: 0 0 60px rgba(255, 90, 31, 0.4), 0 4px 16px rgba(0, 0, 0, 0.3);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 22px;
  background: none;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
  cursor: pointer;
}

.btn-ghost:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-pill);
  transition: border-color var(--transition), background var(--transition);
  cursor: pointer;
  min-height: 44px;
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.btn-outline--full { width: 100%; justify-content: center; }

/* ── Section Headers ── */
.section-header { margin-bottom: var(--sp-6); }
.section-header--center { text-align: center; }

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: var(--sp-2);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.section-title--light {
  color: var(--text-on-dark);
}

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  margin-top: var(--sp-2);
  line-height: 1.65;
}

.section-sub--muted {
  color: var(--text-muted-on-dark);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--dark-bg);
  overflow: hidden;
}

/* Background elements */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.hero-glow--1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.12) 0%, transparent 70%);
  top: -200px;
  left: -100px;
}

.hero-glow--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 69, 19, 0.08) 0%, transparent 70%);
  bottom: -100px;
  right: 100px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
}

/* Hero layout */
.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: center;
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-6);
}

.hero-content {
  max-width: 580px;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--sp-4);
  letter-spacing: -0.01em;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 8px var(--accent-mint); }
  50% { box-shadow: 0 0 16px var(--accent-mint), 0 0 24px rgba(0, 212, 170, 0.3); }
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}

/* Trust logos */
.hero-logos {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: var(--sp-4);
}

.hero-logos-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: var(--sp-2);
  font-weight: 550;
}

.hero-logos-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}

.hero-logo-item {
  font-size: 13px;
  font-weight: 550;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.hero-logo-item:hover { color: rgba(255, 255, 255, 0.45); }

/* Hero visual — browser mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-ui-frame {
  width: 100%;
  max-width: 540px;
  background: #16120D;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 32px 80px rgba(0, 0, 0, 0.6),
    0 0 120px rgba(255, 90, 31, 0.08);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transform-style: preserve-3d;
  transition: transform var(--transition-smooth);
}

@media (hover: hover) and (pointer: fine) {
  .hero-visual:hover .hero-ui-frame {
    transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
  }
}

.hero-ui-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: #3D3224;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-ui-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-ui-dot--red { background: #FF5F57; }
.hero-ui-dot--yellow { background: #FFBD2E; }
.hero-ui-dot--green { background: #28C840; }

.hero-ui-addressbar {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-mono);
  text-align: center;
  margin: 0 8px;
}

.hero-ui-canvas {
  display: flex;
  height: 320px;
}

.hero-ui-sidebar {
  width: 48px;
  background: #3D3224;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-ui-tool {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
}

.hero-ui-tool--active {
  background: rgba(255, 90, 31, 0.25);
  box-shadow: 0 0 12px rgba(255, 90, 31, 0.2);
}

.hero-ui-main {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #3D3224;
}

.hero-ui-header-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-ui-line {
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-ui-line--h1 { height: 20px; width: 80%; }
.hero-ui-line--sub { height: 10px; width: 60%; background: rgba(255, 255, 255, 0.05); }

.hero-ui-btn-preview {
  width: 80px;
  height: 28px;
  background: rgba(255, 90, 31, 0.4);
  border-radius: 6px;
  margin-top: 4px;
}

.hero-ui-content-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.hero-ui-card {
  height: 72px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-ui-card--2 { background: rgba(255, 90, 31, 0.08); }
.hero-ui-card--3 { background: rgba(0, 212, 170, 0.06); }

.hero-ui-panel {
  width: 160px;
  background: #3D3224;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-ui-prop-row {
  height: 10px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 4px;
}

.hero-ui-prop-row--short { width: 60%; }

.hero-ui-color-swatch {
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(90deg, #FF5A1F 0%, #00D4AA 50%, #F59E0B 100%);
  margin: 4px 0;
}

/* ============================================================
   THE SUITE — BENTO GRID
   ============================================================ */

/* ── Section wrapper ── */
.suite-section {
  background: var(--dark-bg);
  padding: 112px 0 120px;
  overflow: hidden;
}

/* ── Header split ── */
.suite-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  align-items: end;
  margin-bottom: var(--sp-7);
}

.suite-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-on-dark);
  margin-top: var(--sp-2);
}

.suite-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-4);
  padding-bottom: 6px;
}

.suite-header-desc {
  font-size: 16px;
  color: var(--text-muted-on-dark);
  line-height: 1.7;
  max-width: 380px;
}

.suite-header-ctas {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.suite-header-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--text-on-dark);
  text-decoration: underline;
  text-decoration-color: rgba(242, 240, 237, 0.35);
  text-underline-offset: 4px;
  transition: text-decoration-color var(--transition);
}
.suite-header-link:hover { text-decoration-color: currentColor; }

/* ============================================================
   SC — SUITE CARDS
   Site Designer featured across the full width (with a real frame
   of the official video, large enough to read), then the other four
   apps in one quiet row. Each card says only: icon, name, platform,
   one line on what it does, the price. No category labels, dividers
   or per-card lists: one accent, one link per card (the name,
   stretched over the whole card).
   ============================================================ */
.suite-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-2);
}

.sc {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--sp-4) var(--sp-3) var(--sp-3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.025);
  transition: background-color var(--transition), border-color var(--transition), transform var(--transition);
}
@media (hover: hover) and (pointer: fine) {
  .sc:hover {
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 169, 138, 0.28);
    transform: translateY(-2px);
  }
}

.sc-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: var(--sp-3); }
.sc-icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; object-fit: contain; }

/* A quiet arrow that wakes up on hover/focus */
.sc-go {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted-on-dark);
  transition: color var(--transition), border-color var(--transition), background-color var(--transition), transform var(--transition);
}
.sc:focus-within .sc-go {
  color: var(--dark-bg);
  border-color: var(--primary-on-dark);
  background: var(--primary-on-dark);
  transform: rotate(-45deg);
}
@media (hover: hover) and (pointer: fine) {
  .sc:hover .sc-go {
    color: var(--dark-bg);
    border-color: var(--primary-on-dark);
    background: var(--primary-on-dark);
    transform: rotate(-45deg);
  }
}

.sc-name {
  font-size: 20px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-h3);
  line-height: 1.2;
  color: var(--text-on-dark);
}

/* Stretched link: the whole card is the hit area, the name is the label */
.sc-link { color: inherit; text-decoration: none; }
.sc-link::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius-xl); }
.sc-link:focus-visible { outline: none; }
.sc-link:focus-visible::after { outline: 2px solid var(--focus-ring); outline-offset: -2px; }

.sc-platform { margin-top: 4px; font-size: var(--fs-meta); color: var(--text-muted-on-dark); }
.sc-desc { margin-top: var(--sp-2); font-size: 15px; line-height: 1.6; color: var(--text-muted-on-dark); text-wrap: pretty; }

/* Price pinned to the bottom, so the row lines up */
.sc-price {
  margin-top: auto;
  padding-top: var(--sp-3);
  font-size: 18px;
  font-weight: var(--fw-bold);
  color: var(--text-on-dark);
}
.sc-note { font-size: var(--fs-meta); font-weight: var(--fw-regular); color: var(--text-muted-on-dark); }

/* ── Featured: Site Designer ── */
.sc--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  padding: 0;
  overflow: hidden;
  border-color: rgba(255, 169, 138, 0.16);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(255, 90, 31, 0.12), transparent 60%),
    rgba(255, 255, 255, 0.025);
}
@media (hover: hover) and (pointer: fine) { .sc--featured:hover { transform: none; } }
.sc--featured .sc-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--sp-5);
}
.sc--featured .sc-icon { width: 56px; height: 56px; margin-bottom: var(--sp-3); }
.sc--featured .sc-name { font-size: clamp(28px, 2.6vw, 34px); font-weight: var(--fw-strong); letter-spacing: var(--tr-h2); }
.sc--featured .sc-desc { max-width: 40ch; font-size: var(--fs-body); }

.sc-points { display: flex; flex-direction: column; gap: 10px; margin-top: var(--sp-3); }
.sc-points li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-on-dark); }
.sc-points svg { flex-shrink: 0; color: var(--primary-on-dark); }

.sc-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px var(--sp-4);
  margin-top: auto;
  padding-top: var(--sp-4);
}
.sc-foot .sc-price { margin: 0; padding: 0; font-size: 22px; }
.sc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  color: var(--primary-on-dark);
}
.sc-cta svg { transition: transform var(--transition); }
.sc--featured:focus-within .sc-cta svg { transform: translateX(3px); }
@media (hover: hover) and (pointer: fine) { .sc--featured:hover .sc-cta svg { transform: translateX(3px); } }

/* The editor window rises from the card's bottom-right corner */
.sc-shot {
  position: relative;
  min-height: 400px;
  padding: var(--sp-5) 0 0 var(--sp-2);
}
.sc-shot img {
  position: absolute;
  top: var(--sp-5);
  left: var(--sp-2);
  width: calc(100% + 40px);
  max-width: none;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px 0 0 0;
  box-shadow: -24px 30px 80px rgba(0, 0, 0, 0.55);
  transition: transform 0.6s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .sc--featured:hover .sc-shot img { transform: translate(-6px, -4px); } }

/* ── Also in the suite: a plain list, no boxes ── */
.suite-more {
  margin-top: var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.suite-more-title {
  margin-bottom: var(--sp-2);
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-caps);
  text-transform: uppercase;
  color: var(--text-muted-on-dark);
}
.suite-mini {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-1) var(--sp-3);
}
.sm {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px;
  margin: 0 -12px;
  border-radius: var(--radius-md);
  transition: background-color var(--transition);
}
.sm:hover { background: rgba(255, 255, 255, 0.04); }
.sm-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; object-fit: contain; }
.sm-name { font-size: var(--fs-body); font-weight: var(--fw-bold); line-height: 1.3; color: var(--text-on-dark); }
.sm-link { color: inherit; text-decoration: none; }
.sm-link::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius-md); }
.sm-link:focus-visible { outline: none; }
.sm-link:focus-visible::after { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
.sm-ext { margin-left: 6px; vertical-align: -1px; color: var(--text-muted-on-dark); }
.sm-desc { margin-top: 4px; font-size: var(--fs-small); line-height: 1.5; color: var(--text-muted-on-dark); }
.sm-meta { margin-top: 6px; font-size: var(--fs-meta); color: var(--text-muted-on-dark); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .suite-header { grid-template-columns: 1fr; gap: var(--sp-4); }
  .suite-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc--featured { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sc--featured .sc-body { padding: var(--sp-4); }
  .suite-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .suite-section { padding: 72px 0 80px; }
  .suite-grid { grid-template-columns: minmax(0, 1fr); }
  .sc--featured { grid-template-columns: minmax(0, 1fr); }
  .sc--featured .sc-body { padding: var(--sp-4) var(--sp-3) var(--sp-3); }
  .sc-shot { min-height: 0; padding: 0 0 0 var(--sp-3); }
  .sc-shot img { position: static; display: block; width: calc(100% + 12px); }
  .sc { padding: var(--sp-3); }
  /* Phones: icon and arrow on the name's row, to save height */
  .sc:not(.sc--featured) { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; column-gap: 14px; }
  .sc:not(.sc--featured) .sc-head { display: contents; }
  .sc:not(.sc--featured) .sc-icon { grid-row: 1 / span 2; grid-column: 1; }
  .sc:not(.sc--featured) .sc-go { grid-row: 1 / span 2; grid-column: 3; align-self: center; }
  .sc:not(.sc--featured) .sc-name { grid-column: 2; grid-row: 1; align-self: end; }
  .sc:not(.sc--featured) .sc-platform { grid-column: 2; grid-row: 2; align-self: start; }
  .sc:not(.sc--featured) .sc-desc,
  .sc:not(.sc--featured) .sc-price { grid-column: 1 / -1; }
  .sc:not(.sc--featured) .sc-price { padding-top: var(--sp-2); }
  .suite-mini { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .sc, .sc-go, .sc-cta svg, .sc-shot img { transition: none; }
  @media (hover: hover) and (pointer: fine) { .sc:hover, .sc--featured:hover .sc-shot img, .sc:hover .sc-go { transform: none; } }
}

/* ============================================================
   SPOTLIGHT
   ============================================================ */
.spotlight-section {
  background: var(--surface);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-7);
  align-items: center;
}

.spotlight-content .section-eyebrow { margin-bottom: var(--sp-2); }

.spotlight-content .section-title {
  margin-bottom: var(--sp-3);
}

.spotlight-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}

.spotlight-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--sp-5);
}

.spotlight-feature-pill {
  padding: 7px 14px;
  background: var(--surface-subtle);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.spotlight-feature-pill::before {
  content: '✓';
  color: var(--accent-mint);
  font-weight: 600;
  font-size: 11px;
}

.spotlight-ctas {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

.spotlight-ctas .btn-ghost {
  color: var(--text-secondary);
  border-color: rgba(0, 0, 0, 0.12);
}

.spotlight-ctas .btn-ghost:hover {
  color: var(--text-primary);
  border-color: rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.04);
}

/* Spotlight screen mockup */
.spotlight-visual {
  position: relative;
}

.spotlight-screen {
  background: #3D3224;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.spotlight-screen-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: #3D3224;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spotlight-url {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  font-family: var(--font-mono);
  text-align: center;
  margin: 0 8px;
}

.spotlight-canvas {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.spotlight-canvas-nav {
  height: 36px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}

.spotlight-canvas-hero {
  height: 100px;
  background: rgba(255, 90, 31, 0.08);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.spotlight-canvas-h1 {
  height: 16px;
  width: 70%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.spotlight-canvas-p {
  height: 9px;
  width: 50%;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 4px;
}

.spotlight-canvas-cta {
  width: 70px;
  height: 24px;
  background: rgba(255, 90, 31, 0.5);
  border-radius: 6px;
  margin-top: 4px;
}

.spotlight-canvas-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.spotlight-canvas-col {
  height: 60px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}

.spotlight-canvas-col--2 { background: rgba(0, 212, 170, 0.06); }
.spotlight-canvas-col--3 { background: rgba(245, 158, 11, 0.05); }

.spotlight-badge-live {
  position: absolute;
  top: 60px;
  right: -16px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(20, 18, 14, 0.95);
  border: 1px solid rgba(40, 200, 64, 0.25);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 550;
  color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.prs-section {
  position: relative;
  background: var(--dark-bg);
  overflow: hidden;
  padding: var(--sp-8) 0;
}

.prs-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 45% at 50% 38%, rgba(255, 90, 31, 0.1) 0%, transparent 70%);
}

/* ── Header ── */
.prs-section > .container { position: relative; }
.pl-header { max-width: 640px; margin: 0 auto var(--sp-6); text-align: center; }
.pl-eyebrow {
  display: inline-block;
  margin-bottom: var(--sp-2);
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-caps);
  text-transform: uppercase;
  color: var(--primary-on-dark);
}
.pl-title {
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tr-h1);
  line-height: 1.08;
  color: var(--text-on-dark);
  margin-bottom: var(--sp-2);
}
.pl-sub { font-size: var(--fs-lead); line-height: 1.6; color: var(--text-muted-on-dark); }

/* ── Plan cards: Super Pack in the centre ── */
.pl-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: stretch;
  gap: var(--sp-3);
}

/* Plan cards (.pl-card, .pl-price, .pl-list, .pl-btn…): components/plans.css */

/* ── Assurances ── */
.pl-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin: var(--sp-5) 0 var(--sp-7);
}
.pl-trust li { display: flex; align-items: center; gap: 8px; font-size: var(--fs-small); color: var(--text-muted-on-dark); }
.pl-trust svg { flex-shrink: 0; color: var(--primary-on-dark); }

/* ── Ownership over time ── */
.pl-own {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  align-items: center;
  gap: var(--sp-3) var(--sp-6);
  padding: var(--sp-5);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
}
.pl-own-title { font-size: clamp(24px, 2.4vw, 30px); font-weight: var(--fw-strong); letter-spacing: var(--tr-h2); line-height: 1.15; color: var(--text-on-dark); margin-bottom: 10px; }
.pl-own-sub { font-size: 15px; line-height: 1.6; color: var(--text-muted-on-dark); }
.pl-own-grid { display: grid; gap: var(--sp-2); }
.pl-own-note { grid-column: 1 / -1; font-size: var(--fs-meta); line-height: 1.5; color: var(--text-muted-on-dark); }

.pl-years {
  margin: 0;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  gap: var(--sp-2);
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}
.pl-years--super { background: rgba(255, 90, 31, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 169, 138, 0.18); }
.pl-years-title { font-size: 15px; font-weight: var(--fw-bold); color: var(--text-on-dark); }

/* Five nodes on a line: only the first is a payment.
   The line is drawn as one segment per year (li 2–5, from the previous
   node's centre to its own), so each year can be reached on its own. */
.pl-years-list { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pl-year { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.pl-year::before {
  content: '';
  position: relative;
  z-index: 1;                       /* node sits on top of the segments */
  width: 14px;
  height: 14px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--dark-bg);
  border: 2px solid rgba(255, 255, 255, 0.28);
}
.pl-year + .pl-year::after {
  content: '';
  position: absolute;
  top: 6px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.14);
}
/* The payment fades out over the first year */
.pl-year--paid + .pl-year::after { background: linear-gradient(90deg, var(--primary-solid), rgba(255, 255, 255, 0.14) 60%); }
.pl-year--paid::before { background: var(--primary-solid); border-color: var(--primary-solid); box-shadow: 0 0 0 5px rgba(255, 90, 31, 0.16); }
/* Ring for the one-time "payment" ping (invisible at rest) */
.pl-year--paid::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  opacity: 0;
  pointer-events: none;
}
.pl-year-label { font-size: var(--fs-meta); color: var(--text-muted-on-dark); }
.pl-year-val { font-size: 20px; font-weight: var(--fw-bold); letter-spacing: var(--tr-h3); color: var(--text-on-dark); }
.pl-year--paid .pl-year-val { color: var(--primary-on-dark); }

/* ============================================================
   OWNERSHIP TIMELINE — ANIMATION
   index.js arms each timeline (.is-armed) and plays it (.is-playing)
   once it scrolls into view. Without JS, or before arming, it is the
   static final state above.
   Story: year 1 is paid (node lands + one ping), then time runs
   year by year and every $0 lights up as the line reaches it.
   Total ≈ 2.4s per timeline: no pause button needed (< 5 s).
   ============================================================ */
.pl-years {
  --pl-b: 0ms;          /* start offset, set per timeline by index.js */
  --pl-seg: 300ms;      /* time the line takes to cross one year */
  --pl-run: 420ms;      /* line starts once the payment has landed */
}
.pl-year:nth-child(2) { --pl-k: 1; }
.pl-year:nth-child(3) { --pl-k: 2; }
.pl-year:nth-child(4) { --pl-k: 3; }
.pl-year:nth-child(5) { --pl-k: 4; }

/* Armed: hidden start state (no transition, so arming never animates) */
.pl-years.is-armed .pl-year::before { opacity: 0; transform: scale(0.5); }
.pl-years.is-armed .pl-year-label { opacity: 0; }
.pl-years.is-armed .pl-year-val { opacity: 0; transform: translateY(8px); }
.pl-years.is-armed .pl-year + .pl-year::after { clip-path: inset(0 100% 0 0); }

/* Playing: final state, each piece on its own delay */
.pl-years.is-playing .pl-year::before,
.pl-years.is-playing .pl-year-label,
.pl-years.is-playing .pl-year-val { opacity: 1; transform: none; }
.pl-years.is-playing .pl-year + .pl-year::after { clip-path: inset(0 0 0 0); }

/* Year 1 — the payment lands */
.pl-years.is-playing .pl-year--paid::before {
  transition: opacity 200ms var(--ease-out) var(--pl-b), transform 480ms var(--ease-bounce) var(--pl-b);
}
.pl-years.is-playing .pl-year--paid .pl-year-label,
.pl-years.is-playing .pl-year--paid .pl-year-val {
  transition: opacity 400ms var(--ease-out) calc(var(--pl-b) + 80ms), transform 500ms var(--ease-out) calc(var(--pl-b) + 80ms);
}
.pl-years.is-playing .pl-year--paid::after {
  /* no fill: the ring must stay invisible during its delay */
  animation: pl-ping 900ms var(--ease-out) calc(var(--pl-b) + 140ms);
}

/* Years 2–5 — the line crosses one year (constant speed: time passing),
   the node lands just as it arrives, then its $0 rises in */
.pl-years.is-playing .pl-year + .pl-year::after {
  transition: clip-path var(--pl-seg) linear calc(var(--pl-b) + var(--pl-run) + (var(--pl-k) - 1) * var(--pl-seg));
}
.pl-years.is-playing .pl-year + .pl-year::before {
  transition:
    opacity 200ms var(--ease-out) calc(var(--pl-b) + var(--pl-run) + var(--pl-k) * var(--pl-seg) - 40ms),
    transform 420ms var(--ease-bounce) calc(var(--pl-b) + var(--pl-run) + var(--pl-k) * var(--pl-seg) - 40ms);
}
.pl-years.is-playing .pl-year + .pl-year .pl-year-label,
.pl-years.is-playing .pl-year + .pl-year .pl-year-val {
  transition:
    opacity 400ms var(--ease-out) calc(var(--pl-b) + var(--pl-run) + var(--pl-k) * var(--pl-seg) + 20ms),
    transform 500ms var(--ease-out) calc(var(--pl-b) + var(--pl-run) + var(--pl-k) * var(--pl-seg) + 20ms);
}

@keyframes pl-ping {
  from { opacity: 0.6; transform: scale(1); }
  to   { opacity: 0;   transform: scale(2.6); }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .pl-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pl-card--featured { grid-column: 1 / -1; order: -1; }   /* best value first */
  .pl-own { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .pl-grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
  .pl-card { padding: var(--sp-3); }
  .pl-card--featured { padding-top: var(--sp-5); }
  .pl-card--featured .pl-amount { font-size: 46px; }
  .pl-trust { justify-content: flex-start; flex-direction: column; gap: 12px; margin: var(--sp-4) 0 var(--sp-5); }
  .pl-own { padding: var(--sp-3); }
  .pl-years { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 14px 12px; }
  .pl-year-val { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .pl-row, .pl-row-arrow, .pl-btn { transition: none; }
  /* Timeline: keep the year-by-year order as a gentle fade, drop the
     movement (no pop, no rise, no line wipe, no ping) */
  .pl-years.is-armed .pl-year::before,
  .pl-years.is-armed .pl-year-val { transform: none; }
  .pl-years.is-armed .pl-year + .pl-year::after { clip-path: none; }
  .pl-years.is-playing .pl-year--paid::after { animation: none; }
}

/* ============================================================
   PRICING FAQ
   ============================================================ */
.pfaq-section {
  background: var(--dark-bg);
  border-top: 1px solid var(--border-dark);
  padding: var(--sp-7) 0;
}

.pfaq-section .section-title {
  color: var(--text-on-dark);
}

.pfaq-section .eyebrow { color: var(--primary-on-dark); }
.pfaq-section .section-sub { color: var(--text-muted-on-dark); }

.pfaq-container { max-width: 760px; }

.pfaq-container .section-title,
.faq-container .section-title {
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: var(--fw-strong);
  letter-spacing: var(--tr-h2);
}
/* Same header rhythm in both FAQ blocks */
.pfaq-container .section-header,
.faq-container .section-header { margin-bottom: var(--sp-5); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  background: var(--surface);
}

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--surface-card);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-xl);
  padding: var(--sp-4) var(--sp-3);
  margin-bottom: var(--sp-7);
  text-align: center;
}

.stat-item {
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 550;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--primary);
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  background: rgba(0, 0, 0, 0.06);
  align-self: stretch;
  margin: var(--sp-2) 0;
}

/* Wall of Love: see the WALL OF LOVE section at the end of the file */

/* ============================================================
   FAQ
   ============================================================ */
.faq-container {
  max-width: 760px;
}

/* ── Tabs ── */
.faq-tabs {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-pill);
  padding: 4px;
  width: fit-content;
  margin: 0 auto var(--sp-5);
}

.faq-tab {
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  background: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  letter-spacing: -0.01em;
  font-family: inherit;
  min-height: 44px;
}

.faq-tab--active {
  background: var(--surface-card);
  color: var(--text-primary);
  font-weight: 550;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-tab:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.faq-panel { display: none; }
.faq-panel--active { display: block; }

/* ── Accordion list — unified for all FAQ sections ── */

/* pfaq-section — dark variant */

/* Left accent bar */

/* Question heading: keeps the button's own typography */

/* ── + / × icon (drawn in CSS, same in every FAQ) ── */

/* Link from the pricing FAQ to the full FAQ */

/* ── Answer — grid animation ── */

/* ── Footer ── */
.faq-footer {
  margin-top: var(--sp-6);
  text-align: center;
  padding: var(--sp-5);
  background: var(--surface-card);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-xl);
}

.faq-footer-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--sp-3);
}

.faq-footer-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative;
  background: var(--dark-bg);
  overflow: hidden;
  padding: var(--sp-8) 0;
}

/* ── Video background ── */
.cta-banner-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
  filter: blur(6px) saturate(0.85);
  transform: scale(1.06);
}

/* ── Dark gradient overlay — keeps text readable ── */
.cta-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(10,10,15,0.42) 0%, rgba(10,10,15,0.62) 100%),
    radial-gradient(ellipse at 50% 50%, rgba(10,10,15,0.12) 0%, rgba(10,10,15,0.5) 100%);
  pointer-events: none;
}

.cta-banner-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255, 90, 31, 0.18) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 2;
  pointer-events: none;
}

.cta-banner-inner {
  position: relative;
  z-index: 3;
}

.cta-banner-content {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.cta-banner-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500;
  color: var(--text-on-dark);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--sp-3);
}

.cta-banner-sub {
  font-size: 18px;
  color: rgba(242, 240, 237, 0.84);
  margin-bottom: var(--sp-5);
  line-height: 1.6;
}

.cta-banner-note {
  margin-top: var(--sp-3);
  font-size: var(--fs-small);
  color: rgba(242, 240, 237, 0.76);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ── Mobile spacing tokens ── */
@media (max-width: 768px) {
  :root { --sp-5: 32px; --sp-6: 48px; --sp-7: 64px; --sp-8: 96px; }
}
@media (max-width: 480px) {
  :root { --sp-4: 24px; --sp-5: 24px; --sp-6: 36px; --sp-7: 48px; --sp-8: 64px; }
}

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    padding-top: var(--sp-5);
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-sub { max-width: 100%; }

  .hero-ctas { justify-content: center; }

  .hero-logos { justify-content: center; }

  .hero-logos-list { justify-content: center; }

  .hero-visual { display: none; }

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


  .spotlight-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }

  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  .pricing-card--featured { transform: none; }
  @media (hover: hover) and (pointer: fine) { .pricing-card--featured:hover { transform: translateY(-2px); } }

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

  .stat-divider:nth-child(4),
  .stat-divider:nth-child(8) { display: none; }
}

@media (max-width: 768px) {
  .section { padding: var(--sp-7) 0; }

  .products-grid { grid-template-columns: 1fr; }

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

  /* Four tabs: a 2×2 grid instead of three and a lone one */
  .faq-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: var(--radius-lg);
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost { text-align: center; justify-content: center; }

  .pricing-grid { max-width: 100%; }

  .suite-section { padding: 56px 0 64px; }

  /* Spotlight canvas — reduce complexity */
  .spotlight-canvas-cols { grid-template-columns: 1fr 1fr; }

  .stats-bar { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   EYEBROW UTILITY
   ============================================================ */
.eyebrow {
  display: block;
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-ink);
  margin-bottom: var(--sp-2);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.68);
}

/* ============================================================
   BUTTONS — CTA VARIANTS
   ============================================================ */
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--primary-solid);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-glow);
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  touch-action: manipulation;
  min-height: 44px;
}

@media (hover: hover) and (pointer: fine) {
  .btn-cta-primary:hover {
    background: var(--primary-solid-hover);
    box-shadow: var(--shadow-glow-lg);
    transform: translateY(-1px);
  }
}

.btn-cta-primary:active { transform: scale(0.98); transition-duration: 0.08s; }

.btn-cta-primary--sm {
  padding: 12px 22px;
  font-size: var(--fs-small);
  min-height: 44px;
}

.btn-cta-primary--lg {
  padding: 18px 40px;
  font-size: 17px;
}

.btn-cta-primary--full { width: 100%; justify-content: center; }

.btn-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: none;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
  cursor: pointer;
  touch-action: manipulation;
  min-height: 44px;
}

.btn-cta-ghost:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 15px;
  font-weight: 500;
  color: var(--primary-on-light);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: gap var(--transition);
  min-height: 44px;
}

.btn-text-link:hover { gap: 8px; }

/* ============================================================
   HERO — LIVING 3D ORBITS
   The scene is flat here: index.js projects the orbits and moves
   the icons; the canvas carries the rings and the trails.
   ============================================================ */
@keyframes ring-pulse {
  0%, 100% { opacity: 0.9; }
  50%       { opacity: 0.6; }
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Warm core light behind the headline ── */
.hero-glow {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 1000px;
  height: 820px;
  margin: -410px 0 0 -500px;
  border-radius: 50%;
}
.hero-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(255, 90, 31, 0.26) 0%,
    rgba(255, 90, 31, 0.09) 34%,
    transparent 70%);
  filter: blur(40px);
  animation: ring-pulse 7s ease-in-out infinite;
}
.hero-glow::after {
  content: '';
  position: absolute;
  inset: 12% 20%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 60%, rgba(255, 183, 157, 0.12) 0%, transparent 60%);
  filter: blur(50px);
  animation: ring-pulse 9s ease-in-out infinite reverse;
}

.hero-orbit-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ── App icons ──
   Without JS they rest around the copy (--fx/--fy). With JS
   (.is-orbiting) they sit at 0,0 and the transform places them. */
.hero-orbit-icons { position: absolute; inset: 0; }

.hero-orb {
  position: absolute;
  left: var(--fx);
  top: var(--fy);
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  transform-origin: 50% 50%;
}
.is-orbiting .hero-orb {
  left: 0;
  top: 0;
  margin: 0;
  will-change: transform, opacity;
}

.hero-orb-tile {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  /* Opaque glass: no backdrop-filter on elements that move every frame */
  background: linear-gradient(160deg, #3A3129, #1F1A15);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55),
              inset 0 1px 0 rgba(255, 255, 255, 0.12),
              0 0 24px rgba(255, 90, 31, 0.12);
}
.hero-orb-tile img { width: 66%; height: 66%; object-fit: contain; }

/* Secondary apps: smaller when resting (without JS) */
.hero-orb--minor { transform: scale(0.72); }

/* Spotlight: the key app passing the front of the orbit glows */
.hero-orb-tile { transition: box-shadow 0.8s ease, border-color 0.8s ease; }
.hero-orb.is-front .hero-orb-tile {
  border-color: rgba(255, 169, 138, 0.45);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55),
              inset 0 1px 0 rgba(255, 255, 255, 0.16),
              0 0 0 6px rgba(255, 90, 31, 0.08),
              0 0 42px rgba(255, 90, 31, 0.42);
}

/* Depth of field steps set by JS (far orbit side) */
.hero-orb.is-far  { filter: blur(1px); }
.hero-orb.is-far2 { filter: blur(2.2px); }

/* Phones without JS: only the five key apps, kept out of the copy */
@media (max-width: 767px) {
  .hero-orb--minor { display: none; }
}

/* ── Gradient cover — strong bottom fade, light top fade ── */
.hero-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(22, 18, 13, 0.7) 0%, transparent 12%),
    linear-gradient(to top, var(--dark-bg) 0%, rgba(22, 18, 13, 0.6) 9%, transparent 22%);
}

/* ── Noise grain over hero ── */
.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

/* ============================================================
   HERO — CONTENT LAYOUT
   ============================================================ */

/* Hero content — bottom-aligned like the reference component.
   Rings form a corona/halo above and behind the content. */
.hero-inner {
  position: relative;
  z-index: 4;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;     /* content anchored at bottom */
  min-height: 100svh;
  padding-top: var(--nav-height);
  padding-bottom: clamp(56px, 8vh, 96px);
  gap: 0;
}

/* ── Announcement badge ── */
.hero-announce {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  font-size: var(--fs-meta);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  letter-spacing: 0em;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  min-height: 44px;
}
.hero-announce:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
}
.hero-announce-pill {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-solid);
  color: #fff;
  font-size: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(255, 90, 31, 0.5);
}

/* ── Headline ── */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 450;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #fff;
  margin: 0 0 20px;
  max-width: 700px;
  /* Subtle text shadow lifts headline off the rings */
  text-shadow: 0 2px 40px rgba(0,0,0,0.6);
}

.hero-headline-em {
  background: linear-gradient(118deg, #FFF3EC 0%, #FFB79D 50%, #FF8A5C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Sub ── */
.hero-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: -0.01em;
  margin: 0 0 36px;
  max-width: 520px;
}

/* ── Trust line ── */
.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.68);
  font-weight: 400;
  letter-spacing: 0em;
  margin-top: 24px;
}

.hero-trust strong { color: rgba(255, 255, 255, 0.94); font-weight: 550; }

.hero-trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  flex-shrink: 0;
  animation: pulse-dot 2.4s ease-in-out 2;   /* ends before 5 s */
}

/* ============================================================
   LOGO TICKER
   Label and ticker on one line. Logos are transparent
   PNGs in brand ink (#211A14), so their tone comes from opacity
   rather than grayscale filters or blend modes. Each one sets its own
   optical height (--h, inline) and the strip scales them together
   (--logo-scale). Hovering a logo darkens it to full ink without
   stopping the ticker; with reduced motion it becomes a static wrap.
   ============================================================ */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logos-section {
  --logo-scale: 1;
  --logo-gap: clamp(40px, 4.5vw, 64px);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-5) 0;
}

.logos-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.logos-label {
  flex-shrink: 0;
  margin: 0;
  padding-right: var(--sp-5);
  border-right: 1px solid var(--border-strong);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-strong);
  line-height: 1.4;
  color: var(--text-secondary);
}

.logos-track-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  /* Edge fade as a mask: works on any background and leaves no seams */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.logos-track {
  display: flex;
  width: max-content;
  animation: marquee 44s linear infinite;
}

.logos-set {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.logos-item {
  display: flex;
  align-items: center;
  /* Fixed row height: the tallest logo never moves the line */
  height: 48px;
  padding: 0 calc(var(--logo-gap) / 2);
}

.logos-item img {
  display: block;
  width: auto;
  height: calc(var(--h, 26px) * var(--logo-scale));
  opacity: 0.56;
  transition: opacity 0.25s ease;
  -webkit-user-drag: none;
  user-select: none;
}
.logos-item:hover img { opacity: 1; }

/* Reduced motion: no ticker, the seven logos sit still in a wrap */
@media (prefers-reduced-motion: reduce) {
  .logos-track-wrap { -webkit-mask-image: none !important; mask-image: none !important; }
  .logos-track { display: block; width: auto; }
  .logos-set { flex-wrap: wrap; justify-content: center; row-gap: var(--sp-2); }
  .logos-set--clone { display: none; }
}

@media (max-width: 900px) {
  .logos-section { --logo-scale: 0.88; }
  .logos-inner { gap: var(--sp-4); }
  .logos-label { padding-right: var(--sp-4); }
}

/* Mobile: label on top, the strip runs full width */
@media (max-width: 640px) {
  .logos-section {
    --logo-scale: 0.8;
    --logo-gap: 40px;
    padding: var(--sp-4) 0 var(--sp-3);
  }
  .logos-inner {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-2);
  }
  .logos-label {
    padding-right: 0;
    border-right: none;
  }
  .logos-label br { display: none; }
  .logos-track-wrap {
    /* Bleed to the screen edges so the fade starts outside the gutter */
    margin: 0 calc(var(--sp-3) * -1);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .logos-set { row-gap: 0; }
}

/* ============================================================
   WHY COFFEECUP — three things you keep
   01 tools (dark, tall, left) · 02 files · 03 sites (right).
   One accent; real Site Designer screenshot; no third-party prices.
   ============================================================ */
.why-section {
  background: var(--surface);
  padding: var(--sp-8) 0;
}

.why-header { max-width: 760px; margin: 0 auto var(--sp-6); text-align: center; }
.why-title {
  font-size: clamp(40px, 5.6vw, 76px);
  font-weight: var(--fw-book);
  letter-spacing: var(--tr-display);
  line-height: 1.02;
  color: var(--text-primary);
  margin: 16px 0 var(--sp-3);
}
.why-title-accent { color: var(--primary-on-light); }
.why-sub {
  max-width: 52ch;
  margin: 0 auto;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-secondary);
  text-wrap: pretty;
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: var(--sp-3);
}

.why-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: var(--sp-4);
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid rgba(33, 26, 20, 0.07);
  box-shadow: 0 1px 2px rgba(33, 26, 20, 0.04), 0 16px 48px rgba(33, 26, 20, 0.06);
}
.why-num {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--sp-3);
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-caps);
  text-transform: uppercase;
  color: var(--text-secondary);
}
.why-num span {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 90, 31, 0.1);
  color: var(--primary-on-light);
  letter-spacing: 0.04em;
}
.why-card-body { margin-top: auto; }
.why-card-title {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: var(--fw-strong);
  letter-spacing: var(--tr-h2);
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 10px;
  text-wrap: balance;
}
.why-card-desc { max-width: 48ch; font-size: var(--fs-body); line-height: 1.65; color: var(--text-secondary); text-wrap: pretty; }

/* ── 01 Your tools ── */
.why-card--tools {
  grid-row: span 2;
  padding: var(--sp-5);
  background: var(--dark-bg);
  border-color: transparent;
  color: var(--text-on-dark);
  box-shadow: 0 2px 4px rgba(33, 26, 20, 0.06), 0 40px 100px rgba(33, 26, 20, 0.25);
  isolation: isolate;
}
.why-card--tools::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 85% 20%, rgba(255, 90, 31, 0.24), transparent 70%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(255, 90, 31, 0.08), transparent 70%);
}
/* Blocks spread evenly down the tall card instead of one empty gap */
.why-card--tools { justify-content: space-between; gap: var(--sp-3); }
.why-card--tools .why-card-body { margin-top: 0; }
.why-card--tools .why-num, .why-card--tools .why-zero, .why-card--tools .why-years, .why-card--tools .why-apps { margin-top: 0; margin-bottom: 0; }
.why-card--tools .why-num { color: var(--text-muted-on-dark); }
.why-card--tools .why-num span { background: rgba(255, 90, 31, 0.18); color: var(--primary-on-dark); }
.why-card--tools .why-card-title { font-size: clamp(28px, 2.8vw, 38px); color: var(--text-on-dark); }
.why-card--tools .why-card-desc { color: var(--text-muted-on-dark); }

/* The whole argument in one figure */
.why-zero { display: flex; flex-direction: column; gap: 6px; margin: var(--sp-2) 0 var(--sp-4); }
.why-zero-fig {
  font-size: clamp(120px, 16vw, 232px);
  font-weight: var(--fw-book);
  letter-spacing: -0.06em;
  line-height: 0.82;
  background: linear-gradient(118deg, #FFF3EC 0%, #FFB79D 55%, #FF8A5C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.04em;
}
.why-zero-cap { font-size: var(--fs-lead); color: var(--text-on-dark); }
@media (forced-colors: active) {
  .why-zero-fig { background: none; -webkit-text-fill-color: CanvasText; color: CanvasText; }
}

/* The apps it applies to */
.why-apps { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px var(--sp-3); margin-bottom: var(--sp-5); }
.why-apps-label { font-size: var(--fs-small); color: var(--text-muted-on-dark); }
.why-apps-list { display: flex; gap: 8px; }
.why-apps-list li {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.why-apps-list img { width: 30px; height: 30px; object-fit: contain; }

/* Year ladder: one payment, then nothing */
.why-years {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  margin-bottom: var(--sp-4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.why-year { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; }
.why-year + .why-year { border-left: 1px solid rgba(255, 255, 255, 0.1); }
.why-year span { font-size: var(--fs-meta); color: var(--text-muted-on-dark); }
.why-year strong { font-size: 18px; font-weight: var(--fw-bold); color: var(--text-on-dark); white-space: nowrap; }
.why-year--paid { background: rgba(255, 90, 31, 0.12); }
.why-year--paid strong { color: var(--primary-on-dark); }

.why-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: var(--sp-2);
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--primary-on-dark);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color var(--transition);
}
.why-link svg { transition: transform var(--transition); }
.why-link:hover { text-decoration-color: currentColor; }
@media (hover: hover) and (pointer: fine) { .why-link:hover svg { transform: translateX(3px); } }

/* ── 02 Your files ── */
.why-shot {
  position: relative;
  margin: 0 0 var(--sp-3);
  border-radius: 14px;
  overflow: hidden;
  background: #2A2724;
  box-shadow: 0 0 0 5px rgba(33, 26, 20, 0.04), 0 18px 40px rgba(33, 26, 20, 0.14);
}
.why-shot img { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 620; object-fit: cover; }
.why-file {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  font-family: var(--font-mono);
  font-size: var(--fs-meta);
  color: var(--text-primary);
}
.why-file svg { color: var(--primary-on-light); }

/* ── 03 Your sites ── */
.why-dest { display: grid; gap: 8px; margin-bottom: var(--sp-3); }
.why-dest li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid rgba(33, 26, 20, 0.06);
  font-size: 15px;
  color: var(--text-secondary);
}
.why-dest li strong { font-weight: var(--fw-bold); color: var(--text-primary); }
.why-dest svg { flex-shrink: 0; color: var(--primary-on-light); }
.why-dest img { flex-shrink: 0; width: 18px; height: 18px; object-fit: contain; }

@media (max-width: 1023px) {
  .why-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .why-card--tools { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 720px) {
  .why-section { padding: var(--sp-7) 0; }
  .why-header { margin-bottom: var(--sp-5); }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-card, .why-card--tools { padding: var(--sp-4) var(--sp-3); }
  /* Year 1 on its own row, then the three $0 years */
  .why-years { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why-year--paid { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: baseline; }
  .why-year:nth-child(2) { border-left: 0; }
  .why-year:nth-child(n+2) { border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .why-year { padding: 12px 14px; }
}
@media (max-width: 400px) {
  .why-apps-list { gap: 6px; }
  .why-apps-list li { width: 40px; height: 40px; border-radius: 11px; }
  .why-apps-list img { width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .why-link, .why-link svg { transition: none; }
}

/* Stats row (legacy — kept for backward compatibility) */
.value-stats { display: none; }
.vstat-div { display: none; }

/* ============================================================
   STATS SHOWCASE — Standalone dark section
   ============================================================ */
.stats-section {
  position: relative;
  background: #16120D;
  padding: 88px 0 96px;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Grain texture */
.stats-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
}

/* Dot grid */
.stats-dotgrid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* Eyebrow */
.stats-eyebrow {
  font-size: var(--fs-label);
  font-weight: 550;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.68);
  text-align: center;
  margin: 0 0 40px;
  position: relative;
  z-index: 1;
}

/* Grid wrapper */
.stats-grid-wrap {
  position: relative;
  z-index: 1;
}

/* 4-column bento grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.01);
}

/* Individual stat card: one accent for all four (the site's orange) */
.stat-card {
  position: relative;
  padding: 48px 40px 44px;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: background-color 0.35s ease;
  overflow: hidden;
}
.stat-card:last-child { border-right: none; }
/* Accent line on the top edge, brighter on hover */
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent 85%);
  opacity: 0.6;
  transition: opacity 0.35s ease;
}
.stat-card:hover { background: rgba(255,255,255,0.025); }
.stat-card:hover::before { opacity: 1; }
/* Tag badge: accessible orange on dark (4.5:1 or more) */
.stat-tag {
  display: inline-block;
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--tr-caps);
  color: var(--primary-on-dark);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
/* Number + suffix row */
.stat-val {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

/* Giant number */
.stat-n {
  font-family: var(--font-display);
  font-size: clamp(52px, 4.2vw, 76px);
  font-weight: 450;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(165deg, #F5F5EC 20%, rgba(255,255,255,0.5) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  transition: filter 0.4s ease;
}
.stat-card:hover .stat-n { filter: drop-shadow(0 0 18px rgba(255, 90, 31, 0.35)); }

/* Suffix (k+, %, +) */
.stat-s {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.4vw, 42px);
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--primary-on-dark);
  -webkit-text-fill-color: var(--primary-on-dark);
}

/* Label */
.stat-lbl {
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.82);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}
.stat-card:hover .stat-lbl { color: #fff; }

/* Context description */
.stat-ctx {
  font-size: var(--fs-small);
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin: 0;
  position: relative;
  z-index: 1;
  transition: color 0.35s ease;
}
.stat-card:hover .stat-ctx { color: rgba(255,255,255,0.86); }

/* Animated reveal: stagger cards */
.stats-grid .stat-card:nth-child(1) { transition-delay: 0s; }
.stats-grid .stat-card:nth-child(2) { transition-delay: 0.05s; }
.stats-grid .stat-card:nth-child(3) { transition-delay: 0.1s; }
.stats-grid .stat-card:nth-child(4) { transition-delay: 0.15s; }

/* Responsive */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card:nth-child(2) { border-right: none; }
  .stat-card:nth-child(1),
  .stat-card:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .stat-card { padding: 36px 28px; }
  .stat-n { font-size: clamp(44px, 8vw, 64px); }
}

@media (max-width: 540px) {
  .stats-section { padding: 64px 0; }
  .stats-grid { grid-template-columns: 1fr; border-radius: 12px; }
  .stat-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); padding: 32px 24px; }
  .stat-card:last-child { border-bottom: none; }
  .stat-n { font-size: clamp(48px, 14vw, 68px); }
}

/* ============================================================
   IN ACTION — PRODUCT THEATER
   Real screens of the five key apps (Site Designer, Email Designer,
   S-Drive, HTML Editor, Web Form Builder) behind accessible tabs.
   Every screenshot sits in the same frame so they read as a family.
   ============================================================ */

/* Bridges used by index.js */
.feat-panel         { display: none; }
.feat-panel--active { display: block; }

.ia-section {
  position: relative;
  /* clip, not hidden: a hidden box can still be scrolled when a tab
     outside the visible strip gets focus, shifting the whole section */
  overflow: clip;
  padding: 120px 0;
  background: var(--dark-bg);
  color: var(--text-on-dark);
}

/* Warm light behind the stage (static) */
.ia-ambient {
  position: absolute;
  left: 50%;
  top: 58%;
  width: 1200px;
  height: 760px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 90, 31, 0.13) 0%, transparent 65%);
  pointer-events: none;
}
.ia-section > .container { position: relative; }

/* ── Header ── */
.ia-header { max-width: 640px; margin: 0 auto var(--sp-5); text-align: center; }
.ia-eyebrow {
  display: inline-block;
  margin-bottom: var(--sp-2);
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-caps);
  text-transform: uppercase;
  color: var(--primary-on-dark);
}
.ia-title {
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tr-h1);
  line-height: 1.08;
  color: var(--text-on-dark);
  margin-bottom: var(--sp-2);
}
.ia-sub { font-size: var(--fs-lead); line-height: 1.6; color: var(--text-muted-on-dark); }

/* ── Tab bar ── */
.ia-tabbar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-bottom: var(--sp-5);
}

.ia-tabs {
  position: relative;   /* offset parent for the tabs (index.js scrolls it on phones) */
  flex: 1 1 auto;
  max-width: 1080px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}

.ia-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 14px 12px;
  border: 0;
  border-radius: 14px;
  background: none;
  color: var(--text-muted-on-dark);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.ia-tab:hover { background: rgba(255, 255, 255, 0.04); color: var(--text-on-dark); }
.ia-tab--active {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-on-dark);
  box-shadow: inset 0 0 0 1px rgba(255, 169, 138, 0.28);
}

.ia-tab-icon { width: 32px; height: 32px; flex-shrink: 0; border-radius: 8px; object-fit: contain; opacity: 0.75; transition: opacity var(--transition), transform var(--transition); }
.ia-tab:hover .ia-tab-icon,
.ia-tab--active .ia-tab-icon { opacity: 1; }
.ia-tab--active .ia-tab-icon { transform: scale(1.06); }

.ia-tab-label { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ia-tab-label strong,
.ia-tab-label span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ia-tab-label strong { font-size: 15px; font-weight: var(--fw-bold); color: inherit; }
.ia-tab-label span { font-size: var(--fs-meta); color: var(--text-muted-on-dark); }

/* Autoplay progress: a hairline under the running tab */
.ia-tab-progress {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  overflow: hidden;
}
.ia-tab--running .ia-tab-progress { opacity: 1; }
.ia-tab-progress-fill { display: block; width: 0; height: 100%; background: var(--primary-on-dark); }
@keyframes ia-progress { from { width: 0; } to { width: 100%; } }

/* ── Stage ── */
/* Every panel shares one grid cell: the stage is as tall as the tallest
   panel, so switching apps (or autoplay) never moves the page.
   Inactive panels are invisible and inert (index.js). */
.ia-stage { display: grid; }
.ia-stage > .ia-panel { grid-area: 1 / 1; display: block; visibility: hidden; }
.ia-stage > .ia-panel--active { visibility: visible; animation: ia-panel-in 0.5s var(--ease-out); }
@keyframes ia-panel-in { from { opacity: 0; transform: translateY(10px); } }
/* After a swipe the new app slides in from the side it came from */
.ia-section[data-dir="next"] .ia-panel--active { animation-name: ia-in-next; }
.ia-section[data-dir="prev"] .ia-panel--active { animation-name: ia-in-prev; }
@keyframes ia-in-next { from { opacity: 0; transform: translateX(28px); } }
@keyframes ia-in-prev { from { opacity: 0; transform: translateX(-28px); } }

.ia-panel-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.5fr);
  align-items: center;
  gap: var(--sp-6);
}

.ia-panel-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: var(--fw-strong);
  letter-spacing: var(--tr-h2);
  line-height: 1.12;
  color: var(--text-on-dark);
  margin-bottom: var(--sp-2);
}
.ia-panel-desc { font-size: var(--fs-body); line-height: 1.65; color: var(--text-muted-on-dark); margin-bottom: var(--sp-3); text-wrap: pretty; }

.ia-checklist { display: flex; flex-direction: column; gap: 12px; margin-bottom: var(--sp-4); }
.ia-checklist li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-on-dark); }
.ia-checklist svg { color: var(--primary-on-dark); flex-shrink: 0; }

.ia-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--primary-on-dark);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color var(--transition);
}
.ia-cta svg { transition: transform var(--transition); }
.ia-cta:hover { text-decoration-color: currentColor; }
@media (hover: hover) and (pointer: fine) { .ia-cta:hover svg { transform: translateX(3px); } }

/* ── Screenshot frame: one look for every app ── */
.ia-shot { margin: 0; }
.ia-shot-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0E0B08;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55), 0 0 0 6px rgba(255, 255, 255, 0.025);
}
.ia-shot-frame > img,
.ia-shot-frame picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}
.ia-shot-frame .ia-shot-center { object-position: center; }
.ia-shot-cap { margin-top: 14px; font-size: var(--fs-meta); color: var(--text-muted-on-dark); text-align: center; }

/* S-Drive: two real windows, staggered */
.ia-shot-pair {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 80%, rgba(255, 90, 31, 0.14), transparent 60%), #1A1510;
}
.ia-shot-pair img {
  position: absolute;
  width: 52%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.ia-shot-back  { left: 6%; top: 7%; }
.ia-shot-front { right: 6%; bottom: 7%; }

/* ── Enlarge button (keyboard / screen readers; a tap on the shot works too) ── */
.ia-shot-frame { cursor: zoom-in; }
.ia-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(22, 18, 13, 0.72);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0.88;
  transition: opacity var(--transition), transform var(--transition), background-color var(--transition);
}
.ia-zoom:focus-visible { opacity: 1; transform: scale(1.06); background: rgba(22, 18, 13, 0.88); }
@media (hover: hover) and (pointer: fine) { .ia-shot-frame:hover .ia-zoom { opacity: 1; transform: scale(1.06); background: rgba(22, 18, 13, 0.88); } }
.ia-zoom:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }

/* ── Dots: position of the app, shown on phones (the tabs are the control) ── */
.ia-dots { display: none; justify-content: center; gap: 8px; margin-top: 14px; }
.ia-dots span { width: 6px; height: 6px; border-radius: 3px; background: rgba(242, 240, 237, 0.28); transition: width var(--transition), background-color var(--transition); }
.ia-dots .is-on { width: 20px; background: var(--primary-on-dark); }

/* ── Lightbox: the screenshot full screen, scrollable and pinch-zoomable ── */
.ia-lightbox {
  width: min(1240px, 100vw - 32px);
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: #0E0B08;
  color: var(--text-on-dark);
  overflow: hidden;
  --focus-ring: var(--primary-on-dark);
}
.ia-lightbox[open] { display: flex; flex-direction: column; animation: ia-lb-in 0.3s var(--ease-out); }
.ia-lightbox::backdrop { background: rgba(10, 8, 6, 0.86); backdrop-filter: blur(4px); }
@keyframes ia-lb-in { from { opacity: 0; transform: scale(0.97); } }

.ia-lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.ia-lightbox-title { font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--text-on-dark); }
.ia-lightbox-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-on-dark);
  cursor: pointer;
}
.ia-lightbox-close:hover { background: rgba(255, 255, 255, 0.12); }
.ia-lightbox-close:focus-visible, .ia-lightbox-body:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }

.ia-lightbox-body { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.ia-lightbox-body img { display: block; width: 100%; height: auto; }
/* S-Drive pair, one window under the other */
.ia-lightbox-body .ia-lb-stack { display: flex; flex-direction: column; gap: 16px; padding: 16px; align-items: center; }
.ia-lightbox-body .ia-lb-stack img { width: auto; max-width: 100%; border-radius: 8px; }
.ia-lightbox-hint { display: none; padding: 10px 16px; font-size: var(--fs-meta); color: var(--text-muted-on-dark); text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.08); }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .ia-tab-label span { display: none; }
  .ia-panel-inner { gap: var(--sp-4); }
  /* Tablets: icon above the name, which may wrap to two lines */
  .ia-tab { flex-direction: column; justify-content: center; gap: 8px; padding: 12px 8px 14px; text-align: center; }
  .ia-tab-label strong { white-space: normal; font-size: var(--fs-small); line-height: 1.25; }
}

@media (max-width: 900px) {
  .ia-section { padding: 88px 0; }
  .ia-panel-inner { grid-template-columns: minmax(0, 1fr); }
  .ia-shot { order: -1; }   /* the screen first, the copy under it */
}

/* Phones: the five apps in a two-column grid (the fifth spans both
   columns) with the autoplay button under it. A sideways strip cut the
   last apps mid-word at the screen edge ("Email Des…"). */
@media (max-width: 640px) {
  .ia-tabbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 8px; }
  .ia-tabs {
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 18px;
  }
  .ia-tab { flex-direction: row; justify-content: flex-start; gap: 10px; min-height: 56px; padding: 10px 12px 12px 10px; text-align: left; }
  .ia-tab:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ia-tab-label strong { font-size: 15px; line-height: 1.25; }
  .ia-shot-pair img { width: 62%; }

  .motion-toggle--ia { align-self: flex-end; flex-shrink: 0; width: 44px; padding: 0; justify-content: center; }
  .ia-toggle-text {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }

  /* Swipe between apps on the screenshot; vertical scrolling stays native */
  .ia-shot-frame { touch-action: pan-y; }
  .ia-dots { display: flex; }
  .ia-shot-cap { margin-top: 8px; }
  .ia-zoom { right: 10px; bottom: 10px; }
  .ia-section { padding: 72px 0 56px; }
  .ia-header { margin-bottom: var(--sp-4); }
  .ia-tabbar { margin-bottom: var(--sp-3); }
  .ia-panel-inner { gap: var(--sp-3); }

  /* Lightbox fills the phone; the shot opens at a readable size to pan */
  .ia-lightbox { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; border: 0; }
  .ia-lightbox-body img { width: auto; max-width: none; height: min(100%, 720px); }
  .ia-lightbox-body .ia-lb-stack img { height: auto; max-width: 100%; }
  .ia-lightbox-hint { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .ia-stage > .ia-panel--active, .ia-lightbox[open] { animation: none; }
  .ia-tab-icon, .ia-cta svg { transition: none; }
}

/* ============================================================
   PRICING SECTION WRAPPER
   ============================================================ */
.pricing-section {
  background: var(--surface);
  padding: 96px 0;
}

/* ============================================================
   SUPER PACK PROMO
   Calm dark block (no background video): copy and price on the
   left, a glass folder with the nine real app icons fanned out on
   the right. One accent: brand orange.
   ============================================================ */
.sp-promo {
  position: relative;
  overflow: hidden;
  background: var(--dark-bg);
  color: var(--text-on-dark);
  padding: 128px 0;
  isolation: isolate;
}

/* Warm light behind the folder — the only accent on the dark block */
.sp-promo-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 75% 50%, rgba(255, 90, 31, 0.16) 0%, transparent 70%);
}

.sp-promo-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--sp-6);
}

.sp-promo-badge {
  display: inline-flex;
  margin-bottom: var(--sp-3);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--primary-solid);
  color: #fff;
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-caps);
  text-transform: uppercase;
}

.sp-promo-title {
  font-size: clamp(44px, 5.6vw, 76px);
  font-weight: var(--fw-book);
  letter-spacing: var(--tr-display);
  line-height: 1.02;
  color: var(--text-on-dark);
  margin-bottom: var(--sp-3);
}
/* Warm-only gradient: every stop is ≥ 4.5:1 on --dark-bg */
.sp-promo-title-accent {
  display: block;
  background: linear-gradient(118deg, #FFF3EC 0%, #FFB79D 50%, #FF8A5C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (forced-colors: active) {
  .sp-promo-title-accent { background: none; -webkit-text-fill-color: CanvasText; color: CanvasText; }
}

.sp-promo-sub {
  max-width: 46ch;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-muted-on-dark);
  text-wrap: pretty;
  margin-bottom: var(--sp-4);
}

.sp-promo-price { margin-bottom: var(--sp-4); }
.sp-promo-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.sp-promo-amount { font-size: clamp(48px, 5vw, 64px); font-weight: var(--fw-book); letter-spacing: var(--tr-display); line-height: 1; color: var(--text-on-dark); }
.sp-promo-was { font-size: 22px; color: var(--text-muted-on-dark); }
.sp-promo-was s { text-decoration-thickness: 2px; text-decoration-color: rgba(255, 169, 138, 0.8); }
.sp-promo-period { font-size: var(--fs-small); color: var(--text-muted-on-dark); }
.sp-promo-save { margin-top: 10px; font-size: 15px; color: var(--text-muted-on-dark); }
.sp-promo-save strong { color: var(--primary-on-dark); font-weight: var(--fw-bold); }

.sp-promo-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }

.sp-promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  background: var(--primary-solid);
  color: #fff;
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(209, 64, 0, 0.35);
  transition: background-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.sp-promo-btn:hover { background: var(--primary-solid-hover); box-shadow: 0 14px 36px rgba(209, 64, 0, 0.42); }
.sp-promo-btn:active { transform: scale(0.98); }
.sp-promo-btn svg { transition: transform var(--transition); }
@media (hover: hover) and (pointer: fine) { .sp-promo-btn:hover svg { transform: translateX(3px); } }

.sp-promo-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--text-on-dark);
  text-decoration: underline;
  text-decoration-color: rgba(242, 240, 237, 0.4);
  text-underline-offset: 4px;
}
.sp-promo-link:hover { text-decoration-color: currentColor; }
.sp-promo-link:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }

/* ── Icon folder: the nine apps fanned out of a glass folder ──
   Without JS the fan sits open and the folder is a rounded card.
   index.js draws the tabbed outlines (.is-shaped), pops it in on
   scroll (.is-pending → .is-shown) and spreads it on hover / tap
   (.is-wide). --k on each icon is its step from the centre. */
.ifo {
  --tile: 80px;
  --tile-r: 22px;
  --fan-top: 44px;
  --half: 4;                                   /* (icons - 1) / 2 */
  --gap: min(56px, calc((100cqi - var(--tile) - 32px) / (var(--half) * 2) * 0.82));
  --gap-wide: min(64px, calc((100cqi - var(--tile) - 12px) / (var(--half) * 2)));
  --rs: calc(25deg / (var(--half) * 2));       /* tilt per step */
  --drop: 1.5px;                               /* arc depth: k² × drop */
  --gap-now: var(--gap);
  --rs-now: var(--rs);
  --rise: 0px;
  --ifo-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  width: 100%;
  max-width: 540px;
  justify-self: end;
  transition: transform 0.9s var(--ifo-ease), opacity 0.6s ease;
  -webkit-tap-highlight-color: transparent;
}
.ifo.is-pending { opacity: 0; transform: translateY(34px) scale(0.92); }
.ifo.is-wide {
  --gap-now: var(--gap-wide);
  --rs-now: calc(var(--rs) * 1.2);
  --rise: 4px;
  transform: translateY(-6px) scale(1.02);
}

.ifo-glow {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 40px;
  height: 200px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 90, 31, 0.22), transparent);
  filter: blur(18px);
  pointer-events: none;
}

/* Back plate (tab on the right) and front pocket (tab on the left) */
.ifo-back {
  position: absolute;
  inset: 14px 0 0;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008) 60%);
}
.ifo-edge {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.ifo-edge path { fill: none; stroke-width: 2; }
.ifo-back .ifo-edge path { stroke: rgba(255, 255, 255, 0.07); }

.ifo-front {
  position: relative;
  z-index: 2;                                  /* glass pocket over the fan */
  margin-top: calc(var(--fan-top) + var(--tile) * 0.8);
  padding: 34px 20px 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.015) 55%),
    rgba(22, 18, 13, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  transition: transform 0.6s var(--ifo-ease);
}
.ifo.is-wide .ifo-front { transform: translateY(6px); }
.ifo.is-shaped .ifo-back,
.ifo.is-shaped .ifo-front { border: 0; border-radius: 0; }

/* Fanned icons — centre on top, outer ones lower and tilted */
.ifo-fan {
  position: absolute;
  inset: 0;
  z-index: 1;                                  /* own stack: icon z-index stays inside */
  pointer-events: none;
  user-select: none;
}
.ifo-app {
  --rot: calc(var(--k) * var(--rs-now));
  position: absolute;
  left: 50%;
  top: var(--fan-top);
  width: var(--tile);
  height: var(--tile);
  margin-left: calc(var(--tile) / -2);
  z-index: calc(10 - max(var(--k), var(--k) * -1));
  transform:
    translate3d(calc(var(--k) * var(--gap-now)), calc(var(--k) * var(--k) * var(--drop) - var(--rise)), 0)
    rotate(var(--rot));
  transition: transform 0.6s var(--ifo-ease), opacity 0.5s ease;
  transition-delay: calc((var(--k) + var(--half)) * 0.03s);
  backface-visibility: hidden;
}
.ifo.is-pending .ifo-app {
  opacity: 0;
  transform: translate3d(calc(var(--k) * var(--gap) * 0.6), 80px, 0);
}
.ifo.is-entering .ifo-app {
  transition-duration: 0.9s, 0.5s;
  transition-delay: calc(0.35s + (var(--k) + var(--half)) * 0.08s);
}
.ifo-app.is-hi { z-index: 20; }

.ifo-hit {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  transition: transform 0.45s var(--ifo-ease), filter 0.3s ease;
}
.ifo-app.is-hi .ifo-hit { transform: translateY(-22px) rotate(calc(var(--rot) * -1)) scale(1.1); }
.ifo.has-hi .ifo-app:not(.is-hi) .ifo-hit { transform: scale(0.96); filter: saturate(0.75) brightness(0.85); }

/* Same opaque neutral tile as the nav, so the round icons stack cleanly */
.ifo-tile {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: var(--tile-r);
  background: linear-gradient(160deg, #F5F2EB, #DEDCD9);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.ifo-tile img { width: 74%; height: 74%; object-fit: contain; }

.ifo-tip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--text-on-dark);
  font-size: var(--fs-meta);
  font-weight: var(--fw-medium);
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity 0.25s ease, transform 0.35s var(--ifo-ease);
}
.ifo-app.is-hi .ifo-tip { opacity: 1; transform: translate(-50%, 0); }

/* Pocket content: the real list of apps */
.ifo-title {
  position: relative;
  font-size: 20px;
  font-weight: var(--fw-bold);
  letter-spacing: var(--tr-h3);
  line-height: 1.3;
  color: var(--text-on-dark);
}
.ifo-tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.ifo-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(36, 30, 24, 0.7);
  font-size: var(--fs-meta);
  line-height: 1.3;
  color: var(--text-muted-on-dark);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.ifo-tag.is-hi { border-color: rgba(255, 169, 138, 0.6); color: var(--text-on-dark); }
.ifo-foot {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--fs-small);
  color: var(--text-muted-on-dark);
}
.ifo-foot span::before { content: '+ '; color: var(--primary-on-dark); font-weight: var(--fw-bold); }

@media (max-width: 1023px) {
  .sp-promo-inner { grid-template-columns: minmax(0, 1fr); gap: var(--sp-5); }
  .ifo { max-width: 560px; justify-self: start; }
  .sp-promo-glow { background: radial-gradient(ellipse 80% 40% at 50% 75%, rgba(255, 90, 31, 0.14) 0%, transparent 70%); }
}

@media (max-width: 640px) {
  .sp-promo { padding: 80px 0 96px; }
  .sp-promo-actions { flex-direction: column; align-items: stretch; }
  .sp-promo-btn { width: 100%; }
  .sp-promo-link { justify-content: center; }
  .ifo {
    --tile: 60px;
    --tile-r: 17px;
    --fan-top: 38px;
    --gap: calc((100cqi - var(--tile) - 24px) / (var(--half) * 2) * 0.95);
  }
  .ifo-front { padding: 32px 16px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .sp-promo-btn, .sp-promo-btn svg { transition: none; }
  .ifo, .ifo-app, .ifo-hit, .ifo-front, .ifo-tip, .ifo-tag { transition: none; }
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
  background: var(--surface);
  padding: 96px 0;
}

/* ============================================================
   CTA BANNER EXTRAS
   ============================================================ */
.cta-banner-noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.3;
  pointer-events: none;
}

.cta-banner-eyebrow {
  display: inline-block;
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.72);
  margin-bottom: var(--sp-2);
}

/* ============================================================
   RESPONSIVE — NEW SECTIONS
   ============================================================ */
@media (max-width: 1024px) {
  .value-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
  .feat-panel-inner {
    grid-template-columns: 1fr;
    padding: var(--sp-5) var(--sp-4);
    gap: var(--sp-5);
  }
  .feat-panel-visual { order: -1; }
}

@media (max-width: 768px) {
  .hero-inner {
    /* At least a 128px band above the copy for the orbit (short phones);
       tall phones keep their larger natural band, content stays bottom */
    padding-top: calc(var(--nav-height) + 128px);
    padding-bottom: 96px;   /* the pause button sits below the trust line */
    min-height: 100svh;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
  }
  .btn-cta-primary,
  .btn-cta-ghost {
    justify-content: center;
  }
  .feat-tabs { flex-wrap: wrap; width: 100%; justify-content: center; border-radius: var(--radius-lg); }
}

@media (max-width: 480px) {
  .value-grid { grid-template-columns: 1fr; }
  .feat-panel-inner { padding: var(--sp-4) var(--sp-3); }
  .feat-panel-title { font-size: 22px; }
}

/* ============================================================
   READABILITY AND ACCESSIBILITY — homepage layer
   Context-aware focus ring, readability scrims over animated
   backgrounds, pause controls and pricing table semantics.
   ============================================================ */

/* ── Focus: in dark sections the ring switches to --primary-on-dark ── */
.hero, .stats-section, .suite-section, .ia-section, .prs-section,
.pfaq-section, .sp-promo, .cta-banner, .why-card--tools {
  --focus-ring: var(--primary-on-dark);
}
.ia-tab:focus-visible,
.ia-cta:focus-visible,
.why-link:focus-visible,
.sp-promo-btn:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}

/* ── Final CTA: the video carries its own template text that competed
   with the headline. Central scrim behind the copy: wide, with eased
   stops (no visible edge) so it reads as light falloff, not a shape. */
.cta-banner-content { position: relative; }
.cta-banner-content::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -160px -300px;
  background: radial-gradient(closest-side,
    rgba(22, 18, 13, 0.8) 0%,
    rgba(22, 18, 13, 0.76) 20%,
    rgba(22, 18, 13, 0.66) 38%,
    rgba(22, 18, 13, 0.5) 54%,
    rgba(22, 18, 13, 0.32) 68%,
    rgba(22, 18, 13, 0.17) 80%,
    rgba(22, 18, 13, 0.06) 91%,
    rgba(22, 18, 13, 0) 100%);
  pointer-events: none;
}

/* ── Motion controls (WCAG 2.2.2) ──
   Base, --hero/--video positions and the .is-paused state live in
   components/motion-toggle.css. Only the homepage variants are here. */

/* In Action: pill with visible text. Here aria-pressed="true" = autoplay on */
.motion-toggle--ia {
  width: auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px 0 14px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.04);
}
.motion-toggle--ia .motion-toggle-pause { display: none; }
.motion-toggle--ia .motion-toggle-play  { display: block; }
.motion-toggle--ia[aria-pressed="true"] .motion-toggle-pause { display: block; }
.motion-toggle--ia[aria-pressed="true"] .motion-toggle-play  { display: none; }

/* ── Mobile: readability and density ── */
@media (max-width: 640px) {
  /* The hero <br>s are meant for desktop; on mobile the text flows */
  .hero-sub br { display: none; }
}

/* Very narrow phones: the headline keeps to two lines per phrase */
@media (max-width: 380px) {
  .hero-headline { font-size: 11.6vw; }
}

/* ============================================================
   WALL OF LOVE
   A static masonry wall of real, verbatim quotes — nothing moves,
   so every quote can be read at its own pace (no pause control
   needed). Each card leads with a pull quote, a literal excerpt of
   the quote. index.js → WALL OF LOVE adds the topic filters, lays
   the cards out in masonry columns (row by row, so the strongest
   quotes stay on top) and folds the wall behind "Show all".
   Without JS: every quote in CSS columns, no filters, no fold.
   ============================================================ */
.testimonials-section { padding: var(--sp-8) 0; }
.testimonials-section .section-header { margin-bottom: var(--sp-4); }

/* ── Topic filters: toggle buttons (aria-pressed) ── */
.wl-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: var(--sp-5);
}
.wl-filters[hidden] { display: none; }
.wl-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px 0 18px;
  border: 1px solid rgba(33, 26, 20, 0.14);
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--text-primary);
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}
.wl-filter:hover { border-color: rgba(33, 26, 20, 0.32); }
.wl-count {
  min-width: 24px;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(33, 26, 20, 0.06);
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  line-height: 1.4;
  text-align: center;
  color: var(--text-secondary);
}
.wl-filter[aria-pressed="true"] {
  border-color: var(--text-primary);
  background: var(--text-primary);
  color: var(--text-on-dark);
}
.wl-filter[aria-pressed="true"] .wl-count {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text-on-dark);
}

/* ── Wall ──
   No JS: CSS columns. With JS (.is-masonry): one flex column per
   track, filled by index.js. */
.wl-wall {
  --wl-gap: 20px;
  column-count: 3;
  column-gap: var(--wl-gap);
}
.wl-wall > .wl-card { margin-bottom: var(--wl-gap); break-inside: avoid; }
.wl-wall.is-masonry {
  display: flex;
  align-items: flex-start;
  gap: var(--wl-gap);
  column-count: auto;
}
.wl-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--wl-gap);
}

/* Folded: a fixed window that fades out above "Show all" */
.wl-wall.is-folded {
  max-height: var(--wl-fold, 880px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
          mask-image: linear-gradient(to bottom, #000 72%, transparent);
}

/* ── Card ── */
.wl-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(33, 26, 20, 0.08);
  border-radius: 20px;
  background: #FCFCF7;
}
.wl-card[hidden] { display: none; }
.wl-pull {
  font-size: 19px;
  font-weight: var(--fw-bold);
  line-height: 1.3;
  color: var(--text-primary);
  text-wrap: balance;
}
.wl-quote { margin: 0; }
.wl-quote p {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: #57524B;                /* 7:1 on the card */
}
.wl-quote p + p { margin-top: 0.75em; }
/* The pull quote's phrase, marked in the full quote */
.wl-hl {
  padding: 0 1px;
  font-weight: var(--fw-medium);
  color: var(--text-primary);
  background: linear-gradient(transparent 60%, rgba(255, 90, 31, 0.2) 60%, rgba(255, 90, 31, 0.2) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}

.wl-author {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 10px 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(33, 26, 20, 0.08);
}
/* --av: a -solid token (white ≥ 4.5:1) */
.wl-avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--av, var(--primary-solid));
  color: #fff;
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
}
.wl-who { display: flex; flex-direction: column; min-width: 0; }
.wl-name {
  font-size: var(--fs-small);
  font-style: normal;           /* Nohemi has no italic */
  font-weight: var(--fw-bold);
  color: var(--text-primary);
}
.wl-role { font-size: var(--fs-meta); color: var(--text-secondary); }

/* Product named in the quote: real app icon + name, under the name */
.wl-app {
  grid-column: 2;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: var(--radius-pill);
  background: rgba(33, 26, 20, 0.05);
  font-size: var(--fs-meta);
  font-weight: var(--fw-medium);
  color: var(--text-primary);
  white-space: nowrap;
}
.wl-app img { width: 20px; height: 20px; border-radius: 50%; }

/* Featured card (first quote): dark, larger pull quote */
.wl-card--feature {
  gap: 20px;
  padding: 32px;
  border-color: rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(255, 90, 31, 0.2), rgba(255, 90, 31, 0.05) 50%, transparent 80%),
    var(--dark-bg);
}
.wl-card--feature .wl-pull {
  font-size: 30px;
  font-weight: var(--fw-strong);
  letter-spacing: var(--tr-h2);
  line-height: 1.1;
  color: var(--text-on-dark);
}
.wl-card--feature .wl-quote p { color: var(--text-muted-on-dark); }
.wl-card--feature .wl-hl {
  color: var(--text-on-dark);
  background: linear-gradient(transparent 62%, rgba(255, 90, 31, 0.4) 62%, rgba(255, 90, 31, 0.4) 92%, transparent 92%);
}
.wl-card--feature .wl-author { border-top-color: rgba(255, 255, 255, 0.1); }
.wl-card--feature .wl-name { color: var(--text-on-dark); }
.wl-card--feature .wl-role { color: var(--text-muted-on-dark); }
.wl-card--feature .wl-app { background: rgba(255, 255, 255, 0.08); color: var(--text-on-dark); }

/* ── Foot: fold toggle + source ── */
.wl-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
  margin-top: var(--sp-4);
}
.wl-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(33, 26, 20, 0.18);
  border-radius: var(--radius-pill);
  background: #FCFCF7;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--text-primary);
  transition: border-color var(--transition), background-color var(--transition);
}
.wl-more[hidden] { display: none; }
.wl-more:hover { border-color: rgba(33, 26, 20, 0.36); background: #fff; }
.wl-more svg { transition: transform 0.25s ease; }
.wl-more[aria-expanded="true"] svg { transform: rotate(180deg); }
.wl-source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--primary-on-light);
  text-decoration: underline;
  text-decoration-color: rgba(189, 50, 0, 0.35);
  text-underline-offset: 4px;
}
.wl-source:hover { text-decoration-color: currentColor; }

/* ── Entrance (index.js adds .wl-anim; never under reduced motion) ──
   Each card rises 24px and fades in once, as it enters the viewport,
   staggered by reading order (--wl-delay, capped at 400ms). Then its
   key phrase is drawn like a marker stroke. Only opacity, transform and
   background-size animate: no layout shift. Content without JS, or once
   the visitor filters, is simply there. */
.wl-wall { --wl-ease: var(--ease-out); }
.wl-anim .wl-card {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 0.6s var(--wl-ease) var(--wl-delay, 0ms),
    transform 0.9s var(--wl-ease) var(--wl-delay, 0ms);
}
.wl-anim .wl-card.is-in { opacity: 1; transform: none; }
.wl-hl { background-repeat: no-repeat; background-size: 100% 100%; }
.wl-anim .wl-card .wl-hl {
  background-size: 0% 100%;
  transition: background-size 0.8s cubic-bezier(0.65, 0, 0.35, 1) calc(var(--wl-delay, 0ms) + 380ms);
}
.wl-anim .wl-card.is-in .wl-hl { background-size: 100% 100%; }

/* Filter change: cards glide to their new place (View Transitions) */
::view-transition-group(*) { animation-duration: 0.35s; animation-timing-function: var(--ease-out); }

@media (max-width: 999px) {
  .wl-wall { column-count: 2; }
}
@media (max-width: 640px) {
  .wl-wall { column-count: 1; --wl-fold: 1040px; }
  /* Filters: a 2×2 grid, all four in view (a sideways strip cut the
     last one at the screen edge) */
  .wl-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wl-filters[hidden] { display: none; }
  .wl-filter { justify-content: space-between; }
  .wl-card { padding: 24px; }
  .wl-card--feature .wl-pull { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*) { animation: none; }
  .wl-anim .wl-card { opacity: 1; transform: none; transition: none; }
  .wl-anim .wl-card .wl-hl { background-size: 100% 100%; transition: none; }
}
@media (forced-colors: active) {
  .wl-filter[aria-pressed="true"] { outline: 2px solid CanvasText; }
  .wl-app { border: 1px solid CanvasText; }
}
