:root {
      --bg-primary: #08080a;
      --bg-secondary: #0f0f13;
      --bg-card: rgba(22, 22, 28, 0.7);
      --border-color: rgba(255, 255, 255, 0.08);
      --border-color-hover: rgba(255, 255, 255, 0.16);
      --text-primary: #ffffff;
      --text-secondary: #9da0a6;
      --text-dimmed: #5e6168;
      
      --color-emerald: #10b981;
      --color-teal: #0d9488;
      --color-amber: #f59e0b;
      --color-purple: #8b5cf6;
      --color-cyan: #06b6d4;
      
      --gradient-brand: linear-gradient(135deg, #10b981, #0b9488);
      --gradient-dark: radial-gradient(circle at 50% 50%, #161421 0%, #050507 100%);
      
      --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
      --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.15);

      --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
      --section-pad: clamp(48px, 7vh, 68px);
      --alu-dark: #1a1a1f;
      --alu-edge: #34343c;
    }

    @media (prefers-reduced-motion: no-preference) {
      html { scroll-behavior: smooth; }
    }

    /* Full-bleed section washes use 100vw; clip (not hidden) keeps the
       sticky header working while preventing a horizontal scrollbar. */
    html { overflow-x: clip; }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      background: var(--gradient-dark);
      color: var(--text-primary);
      font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
      line-height: 1.6;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    /* HEADER */
    header {
      width: 100%;
      position: sticky;
      top: 0;
      z-index: 50;
      border-bottom: 1px solid transparent;
      transition: background 0.3s ease, border-color 0.3s ease;
    }

    header.is-scrolled {
      background: rgba(8, 8, 10, 0.72);
      -webkit-backdrop-filter: blur(14px);
      backdrop-filter: blur(14px);
      border-bottom-color: var(--border-color);
    }

    .header-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px 32px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: padding 0.3s ease;
    }

    header.is-scrolled .header-inner {
      padding: 12px 32px;
    }

    #reclaim, #features, #showcase, #pricing, #faq, #share, #trust {
      scroll-margin-top: 84px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .brand-icon {
      width: 36px;
      height: 36px;
      border-radius: 10px;
      background: var(--gradient-brand);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: var(--shadow-glow);
    }

    .brand-icon svg {
      width: 20px;
      height: 20px;
      color: #fff;
    }

    .brand-name {
      font-size: 20px;
      font-weight: 700;
      letter-spacing: -0.5px;
    }

    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
    }

    .nav-link {
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 14px;
      font-weight: 500;
      transition: color 0.2s ease;
    }

    .nav-link:hover {
      color: var(--text-primary);
    }

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

    .nav-toggle {
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 4px;
      width: 36px;
      height: 36px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border-color);
      border-radius: 8px;
      cursor: pointer;
      padding: 0;
    }

    .nav-toggle span {
      width: 16px;
      height: 2px;
      background: var(--text-primary);
      border-radius: 2px;
      transition: transform 0.2s ease, opacity 0.2s ease;
    }

    header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    .btn-header {
      background: linear-gradient(135deg, #fbbf24, #f59e0b);
      border: 1px solid transparent;
      padding: 8px 18px;
      border-radius: 8px;
      font-size: 13px;
      font-weight: 600;
      text-decoration: none;
      color: #1a1206;
      transition: all 0.2s ease;
    }

    .btn-header:hover {
      background: linear-gradient(135deg, #fcd34d, #fbbf24);
      box-shadow: 0 0 20px rgba(245, 158, 11, 0.35);
    }

    .btn-header::after {
      content: '→';
      display: inline-block;
      margin-left: 6px;
      opacity: 0;
      transform: translateX(-6px);
      transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .btn-header:hover::after {
      opacity: 1;
      transform: translateX(0);
    }

    /* HERO SECTION */
    .hero {
      max-width: 1200px;
      margin: 80px auto 100px;
      padding: 0 32px;
      text-align: left;
      position: relative;
    }

    .hero.hero-split {
      margin: 64px auto 88px;
    }

    .hero-inner {
      display: grid;
      grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
      gap: clamp(48px, 5vw, 68px);
      align-items: center;
      position: relative;
      z-index: 2;
    }

    .hero-left, .hero-right { min-width: 0; }
    .hero-left {
      max-width: 500px;
      padding-right: 12px;
    }
    .hero-right { padding-top: 0; }

    .hero-glow {
      position: absolute;
      top: -180px;
      left: 50%;
      transform: translateX(-50%);
      width: min(900px, 96vw);
      height: 520px;
      background:
        radial-gradient(ellipse at 35% 40%, rgba(16, 185, 129, 0.10) 0%, transparent 60%),
        radial-gradient(ellipse at 72% 28%, rgba(139, 92, 246, 0.08) 0%, transparent 55%);
      filter: blur(40px);
      pointer-events: none;
      z-index: 1;
    }

    @keyframes heroRise {
      from { opacity: 0; transform: translateY(18px); }
    }

    .badge-v1 {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(16, 185, 129, 0.1);
      border: 1px solid rgba(16, 185, 129, 0.2);
      color: var(--color-emerald);
      padding: 4px 14px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 600;
      margin-bottom: 24px;
      position: relative;
      z-index: 2;
      animation: heroRise 0.7s var(--ease-out) both;
    }

    .badge-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--color-emerald);
      animation: badgePulse 2.4s ease-in-out infinite;
    }

    @keyframes badgePulse {
      0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
      50% { box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
    }

    .hero-title {
      font-size: 36px;
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.05;
      max-width: 18ch;
      margin: 0 0 18px;
      position: relative;
      z-index: 2;
      animation: heroRise 0.7s var(--ease-out) 0.1s both;
    }

    .hero-title span {
      background: linear-gradient(135deg, #10b981 30%, #34d399 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-subtitle {
      font-size: clamp(16px, 2vw, 19px);
      color: var(--text-secondary);
      max-width: 56ch;
      margin: 0 0 26px;
      position: relative;
      z-index: 2;
      animation: heroRise 0.7s var(--ease-out) 0.2s both;
    }

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

    .hero-downloads {
      display: flex;
      justify-content: center;
      gap: 12px;
      flex-wrap: wrap;
      margin: 0 auto 18px;
      position: relative;
      z-index: 2;
      animation: heroRise 0.7s var(--ease-out) 0.16s both;
    }

    .hero-downloads .btn-platform {
      min-height: 48px;
      padding: 12px 16px;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 700;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      transition: all 0.2s ease;
      white-space: nowrap;
    }

    .hero-downloads .btn-platform-primary {
      background: var(--gradient-brand);
      color: white;
      box-shadow: 0 4px 20px rgba(16, 185, 129, 0.25);
    }

    .hero-downloads .btn-platform-primary:hover {
      box-shadow: 0 6px 24px rgba(16, 185, 129, 0.35);
      transform: translateY(-1px);
    }

    .hero-downloads .btn-platform-secondary {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--border-color);
      color: var(--text-primary);
      box-shadow: none;
    }

    .hero-downloads .btn-platform-secondary:hover {
      background: rgba(255, 255, 255, 0.07);
      border-color: var(--border-color-hover);
    }

    .hero-downloads .btn-platform[aria-disabled="true"] {
      opacity: 0.55;
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
    }

    .hero-downloads .btn-platform[aria-disabled="true"]:hover {
      transform: none;
      box-shadow: none;
    }

    .hero-ctas { display: none; }

    .btn-primary {
      background: var(--gradient-brand);
      color: white;
      border: none;
      padding: 14px 28px;
      border-radius: 10px;
      font-size: 15px;
      font-weight: 600;
      text-decoration: none;
      box-shadow: 0 4px 20px rgba(16, 185, 129, 0.25);
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 10px;
    }

    .btn-primary:hover {
      box-shadow: 0 6px 24px rgba(16, 185, 129, 0.35);
      transform: translateY(-1px);
    }

    .hero-dual-cta > a.btn-primary {
      background: linear-gradient(135deg, #fbbf24, #f59e0b);
      color: #1a1206;
      box-shadow: 0 4px 20px rgba(245, 158, 11, 0.25);
    }

    .hero-dual-cta > a.btn-primary:hover {
      box-shadow: 0 6px 24px rgba(245, 158, 11, 0.35);
    }

    .btn-text-link {
      color: var(--text-secondary);
      font-size: 14px;
      font-weight: 500;
      text-decoration: none;
      border-bottom: 1px solid transparent;
      transition: color 0.2s ease, border-color 0.2s ease;
    }

    .btn-text-link:hover {
      color: var(--text-primary);
      border-bottom-color: var(--border-color-hover);
    }

    .js-download-alt {
      color: var(--text-primary);
      text-decoration: underline;
      text-underline-offset: 3px;
    }
    .js-download-alt:hover {
      color: var(--color-emerald);
    }
    .hero-trust {
      max-width: 640px;
      margin: 0 0 18px;
      padding: 0;
      position: relative;
      z-index: 2;
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      font-weight: 500;
      color: var(--text-secondary);
      line-height: 1.6;
      text-align: left;
      text-wrap: balance;
      animation: heroRise 0.7s var(--ease-out) 0.4s both;
    }

    .hero-trust a {
      color: var(--text-primary);
      text-decoration: none;
      border-bottom: 1px solid rgba(255, 255, 255, 0.18);
      text-underline-offset: 3px;
      transition: border-color 0.2s ease, color 0.2s ease;
    }

    .hero-trust a:hover {
      border-bottom-color: rgba(16, 185, 129, 0.55);
      color: var(--text-primary);
    }

    .hero-dual-cta {
      display: grid;
      grid-template-columns: 1fr;
      gap: 14px;
      margin: 0 0 18px;
      position: relative;
      z-index: 2;
      animation: heroRise 0.7s var(--ease-out) 0.26s both;
    }

    .hero-waitlist {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--border-color);
      border-radius: 14px;
      padding: 14px 14px 8px;
    }

    .hero-waitlist .signup-form {
      margin: 10px 0 6px;
      max-width: none;
      justify-content: flex-start;
    }

    .hero-waitlist .signup-status {
      text-align: left;
    }

    .hero-what {
      margin: 10px 0 2px;
      text-align: center;
      font-size: 12px;
      font-weight: 700;
      color: var(--text-primary);
      letter-spacing: -0.01em;
    }

    .hero-waitlist .hero-trust {
      max-width: none;
      margin: 10px 0 6px;
      padding: 0;
      text-align: center;
      color: var(--text-secondary);
      animation: none;
    }

    /* Hero slider (Showcase merged into hero right column) */
    .hero-slider {
      display: grid;
      grid-template-columns: 1fr;
      gap: 14px;
    }

    .hero-slide { display: none; }
    .hero-slide.is-active { display: block; }

    .hero-slide figcaption {
      margin-top: 14px;
      display: flex;
      gap: 14px;
      align-items: flex-start;
    }

    .hero-slide .showcase-step { flex: 0 0 auto; }

    .hero-dots {
      display: flex;
      gap: 10px;
      align-items: center;
      justify-content: center;
      margin-top: 12px;
    }

    .hero-dot {
      width: 10px;
      height: 10px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.18);
      background: rgba(255, 255, 255, 0.06);
      cursor: pointer;
      padding: 0;
    }

    .hero-dot[aria-current="true"] {
      background: rgba(16, 185, 129, 0.85);
      border-color: rgba(16, 185, 129, 0.85);
    }

    /* 3D MACBOOK HERO */
    .dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(255,255,255,0.15);
    }
    .dot.red { background: #ef4444; }
    .dot.yellow { background: #f59e0b; }
    .dot.green { background: #10b981; }

    .macbook-scene {
      position: relative;
      max-width: 860px;
      margin: 24px auto 0;
      aspect-ratio: 16 / 9;
      perspective: 1400px;
      z-index: 2;
      animation: sceneEnter 0.8s var(--ease-out) both;
    }

    @keyframes sceneEnter {
      from { opacity: 0; transform: translateY(28px); }
    }

    .macbook {
      position: absolute;
      left: 50%;
      top: 4%;
      width: min(600px, 78%);
      aspect-ratio: 16 / 10;
      transform: translateX(-50%) rotateX(-18deg);
      transform-style: preserve-3d;
      will-change: transform;
      animation: idleFloat 9s ease-in-out 3.2s infinite;
    }

    @keyframes idleFloat {
      0%, 100% { transform: translateX(-50%) rotateX(-18deg) translateY(0); }
      50% { transform: translateX(-50%) rotateX(-18deg) translateY(-6px); }
    }

    .mb-tilt {
      position: absolute;
      inset: 0;
      transform-style: preserve-3d;
      transform: rotateY(var(--ty, 0deg)) rotateX(var(--tx, 0deg));
      transition: transform 0.4s ease-out;
    }

    .mb-lid {
      position: absolute;
      inset: 0;
      transform-origin: bottom center;
      transform-style: preserve-3d;
      will-change: transform;
      animation: lidOpen 1.6s var(--ease-out) 0.4s both;
    }

    @keyframes lidOpen {
      from { transform: rotateX(-88deg); }
      to { transform: rotateX(0deg); }
    }

    .mb-screen {
      position: absolute;
      inset: 0;
      background: #0a0a0d;
      border: 1px solid var(--alu-edge);
      border-radius: 14px;
      padding: 2.4%;
      -webkit-backface-visibility: hidden;
      backface-visibility: hidden;
      box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), inset 0 0 24px rgba(0, 0, 0, 0.5);
      transform: translateZ(1px);
    }

    .mb-lid-back {
      position: absolute;
      inset: 0;
      background: linear-gradient(160deg, #2b2b32, var(--alu-dark) 60%);
      border: 1px solid var(--alu-edge);
      border-radius: 14px;
      transform: rotateY(180deg) translateZ(1px);
      -webkit-backface-visibility: hidden;
      backface-visibility: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .mb-lid-logo {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      background: var(--gradient-brand);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 0 24px rgba(16, 185, 129, 0.5);
    }

    .mb-lid-logo svg {
      width: 24px;
      height: 24px;
      color: #fff;
    }

    .mb-notch {
      position: absolute;
      top: 2.4%;
      left: 50%;
      transform: translateX(-50%);
      width: 14%;
      height: 2.8%;
      background: #000;
      border-radius: 0 0 6px 6px;
      z-index: 2;
    }

    .mb-glare {
      position: absolute;
      inset: 0;
      border-radius: 14px;
      background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.045) 45%, rgba(255, 255, 255, 0.015) 60%, transparent 65%);
      pointer-events: none;
      z-index: 3;
    }

    .mb-screen-ui {
      position: relative;
      width: 100%;
      height: 100%;
      background: linear-gradient(180deg, #0e0e14 0%, #0b100e 100%);
      border-radius: 8px;
      padding: 4% 5%;
      display: flex;
      flex-direction: column;
      gap: 4.5%;
      overflow: hidden;
      animation: screenUiIn 0.7s ease 1.35s both;
    }

    @keyframes screenUiIn {
      from { opacity: 0; }
    }

    .mb-ui-titlebar {
      display: flex;
      gap: 5px;
      align-items: center;
      flex-shrink: 0;
    }

    .mb-ui-titlebar .dot {
      width: 7px;
      height: 7px;
    }

    .mb-ui-total {
      font-size: clamp(16px, 3.2vw, 30px);
      font-weight: 800;
      letter-spacing: -0.02em;
      line-height: 1.2;
    }

    .mb-ui-total em {
      font-style: normal;
      font-size: 0.45em;
      font-weight: 600;
      color: var(--color-emerald);
      margin-left: 8px;
    }

    .mb-scan-row {
      display: grid;
      grid-template-columns: minmax(0, 1.15fr) 1.6fr auto;
      align-items: center;
      gap: 4%;
      font-family: 'JetBrains Mono', monospace;
      font-size: clamp(7px, 1.35vw, 12px);
    }

    .mb-scan-row > span {
      color: var(--text-secondary);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .mb-scan-row b {
      color: var(--color-emerald);
      font-weight: 500;
    }

    .mb-scan-track {
      display: block;
      height: 6px;
      background: rgba(255, 255, 255, 0.06);
      border-radius: 4px;
      overflow: hidden;
    }

    .mb-scan-bar {
      display: block;
      height: 100%;
      width: var(--w);
      border-radius: 4px;
      background: linear-gradient(90deg, var(--color-teal), var(--color-emerald));
      animation: scanBarFill 1s var(--ease-out) both;
      animation-delay: calc(1.5s + var(--d, 0) * 120ms);
    }

    @keyframes scanBarFill {
      from { width: 0; }
    }

    .mb-base {
      position: absolute;
      inset: 0;
      transform-origin: bottom center;
      transform: rotateX(-90deg);
      background: linear-gradient(180deg, #26262d 0%, var(--alu-dark) 55%, #101014 100%);
      border-radius: 14px;
      -webkit-backface-visibility: hidden;
      backface-visibility: hidden;
    }

    .mb-keyboard {
      position: absolute;
      top: 7%;
      left: 9%;
      right: 9%;
      height: 52%;
      border-radius: 6px;
      background:
        repeating-linear-gradient(90deg, transparent 0 6.2%, #0c0c10 6.2% 7.4%),
        repeating-linear-gradient(0deg, transparent 0 15%, #0c0c10 15% 19%),
        #2a2a31;
    }

    .mb-trackpad {
      position: absolute;
      bottom: 8%;
      left: 36%;
      right: 36%;
      height: 26%;
      border-radius: 6px;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.02);
    }

    .mb-shadow {
      position: absolute;
      left: 50%;
      bottom: 8%;
      width: 64%;
      height: 40px;
      transform: translateX(-50%);
      background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(16, 185, 129, 0.14) 0%, rgba(0, 0, 0, 0.45) 45%, transparent 72%);
      filter: blur(20px);
      animation: shadowIn 1s ease 1s both;
    }

    @keyframes shadowIn {
      from { opacity: 0; }
    }

    /* Mid-page and final CTA blocks */
    .cta-block {
      text-align: center;
      padding: 56px 32px;
    }

    .cta-block.section-alt {
      background: var(--bg-secondary);
    }

    .cta-block h2 {
      font-size: clamp(24px, 3.5vw, 36px);
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.2;
      margin-bottom: 12px;
      text-wrap: balance;
    }

    .cta-block p {
      font-size: 15px;
      color: var(--text-secondary);
      max-width: 480px;
      margin: 0 auto 24px;
      line-height: 1.55;
    }

    .cta-block .btn-primary {
      margin-bottom: 14px;
    }

    .cta-block .cta-micro {
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      color: var(--text-dimmed);
      margin: 0 auto;
      max-width: 640px;
      text-align: center;
      line-height: 1.6;
    }

    /* SECTION SYSTEM */
    .eyebrow {
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--color-emerald);
      text-align: center;
      margin-bottom: 14px;
    }

    .section-alt {
      position: relative;
    }

    .section-alt::before {
      content: '';
      position: absolute;
      inset: 0;
      left: 50%;
      width: 100vw;
      transform: translateX(-50%);
      z-index: -1;
      background:
        radial-gradient(60% 80% at 20% 0%, rgba(16, 185, 129, 0.05), transparent 60%),
        radial-gradient(50% 70% at 85% 100%, rgba(139, 92, 246, 0.05), transparent 60%),
        var(--bg-secondary);
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
    }

    /* Scroll reveals: hidden only when JS is present; animation-based so it
       never fights hover transforms after it completes. */
    .js .reveal { opacity: 0; }
    .js .reveal.is-revealed {
      opacity: 1;
      animation: revealIn 0.7s var(--ease-out) backwards;
      animation-delay: calc(var(--i, 0) * 70ms);
    }

    @keyframes revealIn {
      from { opacity: 0; transform: translateY(24px); }
    }

    /* Stagger by position among siblings (grids and section headers alike) */
    .reveal:nth-child(2) { --i: 1; }
    .reveal:nth-child(3) { --i: 2; }
    .reveal:nth-child(4) { --i: 3; }
    .reveal:nth-child(5) { --i: 4; }
    .reveal:nth-child(6) { --i: 5; }
    .reveal:nth-child(7) { --i: 6; }
    .reveal:nth-child(8) { --i: 7; }
    .reveal:nth-child(9) { --i: 8; }

    /* FEATURES GRID */
    .features {
      max-width: 1200px;
      margin: 0 auto;
      padding: var(--section-pad) 32px;
    }

    .section-title {
      font-size: clamp(30px, 4vw, 42px);
      font-weight: 700;
      letter-spacing: -0.02em;
      text-align: center;
      margin-bottom: 16px;
    }

    .section-desc {
      color: var(--text-secondary);
      text-align: center;
      max-width: 560px;
      margin: 0 auto 56px;
      font-size: 17px;
      line-height: 1.65;
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
    }

    .feature-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 32px;
      transition: all 0.2s ease;
    }

    .feature-card:hover {
      border-color: var(--border-color-hover);
      transform: translateY(-2px);
    }

    .feature-icon-container {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.05);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 24px;
      transition: border-color 0.25s ease, background 0.25s ease;
    }

    .feature-card:nth-child(1):hover .feature-icon-container { border-color: rgba(6, 182, 212, 0.4); }
    .feature-card:nth-child(2):hover .feature-icon-container { border-color: rgba(16, 185, 129, 0.4); }
    .feature-card:nth-child(3):hover .feature-icon-container { border-color: rgba(139, 92, 246, 0.4); }
    .feature-card:nth-child(4):hover .feature-icon-container { border-color: rgba(245, 158, 11, 0.4); }

    .card-arrow {
      display: inline-block;
      margin-left: 8px;
      color: var(--color-emerald);
      opacity: 0;
      transform: translateX(-6px);
      transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .feature-card:hover .card-arrow {
      opacity: 1;
      transform: translateX(0);
    }

    .feature-icon-container svg {
      width: 24px;
      height: 24px;
    }

    .feature-title {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 10px;
    }

    .feature-text {
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.5;
    }

    /* SHOWCASE (real app screenshots) */
    .showcase {
      max-width: 1200px;
      margin: 0 auto;
      padding: var(--section-pad) 32px;
    }

    .showcase-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .showcase-item {
      display: flex;
      flex-direction: column;
    }

    .showcase-frame {
      border-radius: 14px;
      border: 1px solid var(--border-color);
      background: var(--bg-card);
      overflow: hidden;
      box-shadow: var(--shadow-lg);
      transition: border-color 0.25s ease, transform 0.25s ease;
    }

    .showcase-item:hover .showcase-frame {
      border-color: var(--border-color-hover);
      transform: translateY(-3px);
    }

    .showcase-chrome {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 10px 14px;
      background: rgba(255, 255, 255, 0.02);
      border-bottom: 1px solid var(--border-color);
    }

    .showcase-chrome span {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--text-dimmed);
      opacity: 0.6;
    }

    .showcase-trigger {
      all: unset;
      display: block;
      width: 100%;
      position: relative;
      cursor: zoom-in;
    }

    .showcase-trigger:focus-visible {
      outline: 2px solid var(--color-emerald);
      outline-offset: -2px;
    }

    .showcase-frame img {
      display: block;
      width: 100%;
      height: auto;
    }

    .showcase-zoom-hint {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(8, 8, 10, 0.45);
      opacity: 0;
      transition: opacity 0.2s ease;
    }

    .showcase-trigger:hover .showcase-zoom-hint,
    .showcase-trigger:focus-visible .showcase-zoom-hint {
      opacity: 1;
    }

    .showcase-zoom-hint svg {
      width: 28px;
      height: 28px;
      color: var(--text-primary);
    }

    /* LIGHTBOX */
    .lightbox {
      position: fixed;
      inset: 0;
      z-index: 100;
      background: rgba(4, 4, 6, 0.92);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 76px 24px;
      opacity: 0;
      transition: opacity 0.25s ease;
    }

    .lightbox[hidden] { display: none; }
    .lightbox.is-open { opacity: 1; }

    .lightbox-content {
      max-width: min(1400px, 92vw);
      max-height: 88vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
    }

    .lightbox-content img {
      max-width: 100%;
      max-height: 76vh;
      width: auto;
      height: auto;
      border-radius: 12px;
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-lg);
      display: block;
    }

    .lightbox-content figcaption {
      color: var(--text-secondary);
      font-size: 14px;
      text-align: center;
      max-width: 640px;
    }

    .lightbox-close,
    .lightbox-nav {
      position: fixed;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid var(--border-color);
      color: var(--text-primary);
      border-radius: 50%;
      width: 44px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background 0.2s ease, border-color 0.2s ease;
    }

    .lightbox-close svg,
    .lightbox-nav svg {
      width: 20px;
      height: 20px;
    }

    .lightbox-close:hover,
    .lightbox-nav:hover {
      background: rgba(255, 255, 255, 0.12);
      border-color: var(--border-color-hover);
    }

    .lightbox-close:focus-visible,
    .lightbox-nav:focus-visible {
      outline: 2px solid var(--color-emerald);
      outline-offset: 2px;
    }

    .lightbox-close { top: 24px; right: 24px; }
    .lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
    .lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

    @media (max-width: 640px) {
      .lightbox { padding: 88px 16px 24px; }
      .lightbox-close { top: 16px; right: 16px; width: 40px; height: 40px; }
      .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
      .lightbox-prev { left: 8px; }
      .lightbox-next { right: 8px; }
    }

    .showcase-item figcaption {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      margin-top: 18px;
    }

    .showcase-step {
      flex-shrink: 0;
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background: rgba(16, 185, 129, 0.12);
      border: 1px solid rgba(16, 185, 129, 0.3);
      color: var(--color-emerald);
      font-family: 'JetBrains Mono', monospace;
      font-size: 13px;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .showcase-caption {
      font-size: 14px;
      line-height: 1.6;
      color: var(--text-secondary);
    }

    .showcase-caption strong {
      color: var(--text-primary);
      font-weight: 600;
    }

    /* PRICING */
    .pricing {
      max-width: 1200px;
      margin: 0 auto;
      padding: var(--section-pad) 32px;
    }

    .pricing-cards {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 32px;
      max-width: 800px;
      margin: 0 auto;
    }

    .pricing-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 20px;
      padding: 40px;
      position: relative;
      display: flex;
      flex-direction: column;
    }

    .pricing-card.premium {
      border-color: transparent;
      background:
        linear-gradient(#16161c, #16161c) padding-box,
        linear-gradient(135deg, rgba(16, 185, 129, 0.8), rgba(139, 92, 246, 0.6)) border-box;
      box-shadow: 0 0 40px rgba(16, 185, 129, 0.18);
      transform: scale(1.03);
    }

    .pricing-badge {
      position: absolute;
      top: -12px;
      right: 24px;
      background: var(--color-emerald);
      color: #000;
      font-size: 11px;
      font-weight: 700;
      padding: 4px 10px;
      border-radius: 20px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .pricing-header h3 {
      font-size: 24px;
      font-weight: 700;
      margin-bottom: 8px;
    }

    .pricing-price {
      font-size: 40px;
      font-weight: 800;
      margin: 20px 0;
      display: flex;
      align-items: baseline;
    }

    .pricing-price span {
      font-size: 14px;
      color: var(--text-secondary);
      font-weight: 500;
      margin-left: 6px;
    }

    .pricing-features-list {
      margin: 24px 0 40px;
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
      flex-grow: 1;
    }

    .pricing-feature-item {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 13px;
      color: var(--text-secondary);
    }

    .pricing-feature-item svg {
      width: 16px;
      height: 16px;
      color: var(--color-emerald);
      flex-shrink: 0;
    }

    .btn-pricing {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      width: 100%;
      text-align: center;
      padding: 12px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.2s ease;
    }

    .btn-pricing svg {
      flex: 0 0 auto;
    }

    .pricing-card.free .btn-pricing {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--border-color);
      color: var(--text-primary);
    }
    .pricing-card.free .btn-pricing:hover {
      background: rgba(255, 255, 255, 0.08);
    }

    .pricing-card.premium .btn-pricing {
      background: var(--gradient-brand);
      color: white;
      border: none;
    }
    .pricing-card.premium .btn-pricing:hover {
      box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25);
    }

    .btn-pricing::after {
      content: '→';
      display: inline-block;
      margin-left: 8px;
      opacity: 0;
      transform: translateX(-6px);
      transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .pricing-card:hover .btn-pricing::after {
      opacity: 1;
      transform: translateX(0);
    }

    /* PAIN / RECLAIM SECTION */
    .reclaim {
      max-width: 1200px;
      margin: 0 auto;
      padding: var(--section-pad) 32px;
    }

    .pain-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      max-width: 980px;
      margin: 0 auto;
    }

    .pain-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 14px;
      padding: 22px 24px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      position: relative;
      overflow: hidden;
      transition: border-color 0.25s ease, transform 0.25s ease;
    }

    .pain-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--color-emerald), var(--color-teal));
      opacity: 0;
      transition: opacity 0.25s ease;
    }

    .pain-card:hover {
      border-color: rgba(16, 185, 129, 0.3);
      transform: translateY(-3px);
    }

    .pain-card:hover::before {
      opacity: 1;
    }

    .pain-card:hover .pain-size {
      text-shadow: 0 0 24px rgba(16, 185, 129, 0.45);
    }

    .pain-size {
      font-family: 'JetBrains Mono', monospace;
      font-size: 22px;
      font-weight: 700;
      color: var(--color-emerald);
      letter-spacing: -0.5px;
      transition: text-shadow 0.25s ease;
    }

    .pain-name {
      font-size: 14px;
      font-weight: 600;
    }

    .pain-path {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      color: var(--text-dimmed);
      word-break: break-all;
    }

    .reclaim-note {
      text-align: center;
      color: var(--text-secondary);
      font-size: 14px;
      max-width: 560px;
      margin: 40px auto 0;
    }

    .reclaim-note strong {
      color: var(--text-primary);
    }

    /* 3-tier pricing */
    .pricing-cards.tiers {
      grid-template-columns: repeat(3, 1fr);
      max-width: 1000px;
    }

    .pricing-status {
      text-align: center;
      font-size: 13px;
      color: var(--color-amber);
      margin-top: 20px;
      min-height: 20px;
    }

    .pricing-subnote {
      text-align: center;
      color: var(--text-dimmed);
      font-size: 13px;
      margin-top: 24px;
    }

    .pricing-subnote a {
      color: var(--text-primary);
      text-decoration: underline;
      text-underline-offset: 3px;
      font-weight: 600;
    }
    .pricing-subnote a:hover {
      color: var(--color-emerald);
    }

    /* MARQUEE */
    .marquee {
      overflow: hidden;
      border-top: 1px solid var(--border-color);
      border-bottom: 1px solid var(--border-color);
      padding: 18px 0;
      -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
      mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    }

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

    .marquee:hover .marquee-track {
      animation-play-state: paused;
    }

    @keyframes marqueeScroll {
      to { transform: translateX(-50%); }
    }

    .marquee-group {
      display: flex;
      gap: 48px;
      padding-right: 48px;
      flex-shrink: 0;
    }

    .marquee-item {
      font-family: 'JetBrains Mono', monospace;
      font-size: 13px;
      font-weight: 500;
      white-space: nowrap;
      display: inline-flex;
      gap: 10px;
    }

    .marquee-item i {
      font-style: normal;
      color: var(--text-dimmed);
    }

    .marquee-item b {
      color: var(--color-emerald);
      font-weight: 500;
    }

    /* RESPONSIVE */
    @media (max-width: 860px) {
      .features-grid, .pain-grid, .pricing-cards, .pricing-cards.tiers, .showcase-grid {
        grid-template-columns: 1fr;
      }
      .hero-trust { font-size: 11px; }
      .header-inner { position: relative; padding: 16px 20px; }
      .brand-name { font-size: 17px; }
      .header-actions { gap: 8px; }
      .btn-header { padding: 8px 12px; font-size: 12px; white-space: nowrap; }
      .btn-header::after { display: none; }
      .nav-toggle { display: inline-flex; }
      .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        background: rgba(8, 8, 10, 0.96);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--border-color);
        padding: 8px 0;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        transition: max-height 0.25s ease, opacity 0.2s ease;
      }
      header.nav-open .nav-links {
        max-height: 320px;
        opacity: 1;
        pointer-events: auto;
      }
      .nav-links .nav-link {
        width: 100%;
        padding: 12px 0;
        text-align: center;
      }
      .pricing-card.premium { transform: none; }
      .marquee-item { font-size: 12px; }
      /* MacBook flattens to a plain app-window card */
      .macbook-scene { perspective: none; aspect-ratio: auto; animation: none; }
      .macbook { position: static; width: 100%; aspect-ratio: auto; transform: none; animation: none; }
      .mb-tilt { position: static; transform: none; }
      .mb-lid { position: static; transform: none; animation: none; }
      .mb-base, .mb-shadow, .mb-lid-back, .mb-notch { display: none; }
      .mb-screen { position: static; aspect-ratio: 16 / 10; transform: none; }
      .mb-screen-ui { padding: 16px; gap: 12px; }
      .mb-ui-total { font-size: 22px; }
      .mb-scan-row { font-size: 10px; }
    }

    @media (max-width: 980px) {
      .hero-inner { grid-template-columns: 1fr; gap: 28px; align-items: start; }
      .hero-left { max-width: none; padding-right: 0; }
      .hero-right { padding-top: 0; }
      .hero-title { max-width: none; }
    }

    /* FAQ */
    .faq {
      max-width: 1200px;
      margin: 0 auto;
      padding: var(--section-pad) 32px;
    }

    .share-section {
      max-width: 1200px;
      margin: 0 auto;
      padding: var(--section-pad) 32px;
    }

    .faq-list {
      max-width: 760px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .faq-item {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 14px;
      padding: 4px 24px;
      transition: border-color 0.2s ease;
    }

    .faq-item[open] {
      border-color: rgba(16, 185, 129, 0.25);
    }

    .faq-item summary {
      cursor: pointer;
      list-style: none;
      padding: 18px 0;
      font-size: 15px;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
    }

    .faq-item summary::-webkit-details-marker { display: none; }

    .faq-item summary::after {
      content: '+';
      font-size: 20px;
      font-weight: 400;
      color: var(--color-emerald);
      flex-shrink: 0;
      transition: transform 0.2s ease;
    }

    .faq-item[open] summary::after {
      transform: rotate(45deg);
    }

    .faq-answer {
      color: var(--text-secondary);
      font-size: 14px;
      line-height: 1.6;
      padding-bottom: 20px;
    }

    /* SOCIAL SHARE */
    .share-list {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 12px;
    }

    .share-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--border-color);
      color: var(--text-primary);
      padding: 10px 18px;
      border-radius: 10px;
      font-size: 13px;
      font-weight: 600;
      text-decoration: none;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .share-btn:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: var(--border-color-hover);
      transform: translateY(-2px);
    }

    .share-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

    /* FOOTER */
    footer {
      position: relative;
      border-top: 1px solid var(--border-color);
      background: var(--bg-secondary);
      padding: 72px 32px;
      text-align: center;
      font-size: 13px;
      color: var(--text-dimmed);
    }

    footer::before {
      content: '';
      position: absolute;
      top: -1px;
      left: 50%;
      transform: translateX(-50%);
      width: min(480px, 60%);
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.5), transparent);
    }

    footer p {
      margin-bottom: 8px;
    }

    footer a {
      color: var(--text-secondary);
      text-decoration: underline;
      text-underline-offset: 2px;
      cursor: pointer;
    }

    footer a:hover { color: var(--text-primary); }

    .footer-links {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 8px 16px;
      margin-top: 12px;
    }

    .footer-links a { text-decoration: none; }

    .footer-links a:hover { text-decoration: underline; }

    .footer-sep { color: var(--text-dimmed); user-select: none; }

    /* REDUCED MOTION: land everything on its settled state instantly */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
      .js .reveal { opacity: 1; }
      .marquee-track { animation: none; }
    }

    /* macOS Waitlist Form & Notice styling */
    .macos-dev-notice {
      font-family: 'Outfit', sans-serif;
      font-size: 14px;
      color: var(--text-primary);
      margin-bottom: 16px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(16, 185, 129, 0.06);
      border: 1px solid rgba(16, 185, 129, 0.15);
      padding: 6px 14px;
      border-radius: 20px;
      margin-inline: auto;
    }
    
    .pulse-dot {
      display: inline-block;
      width: 8px;
      height: 8px;
      background-color: var(--color-emerald);
      border-radius: 50%;
      box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
      animation: pulse 1.8s infinite;
    }

    @keyframes pulse {
      0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
      }
      70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
      }
      100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
      }
    }

    .signup-form {
      display: flex;
      gap: 10px;
      margin: 12px auto 16px;
      max-width: 480px;
      width: 100%;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
    }

    .signup-input {
      flex: 1 1 240px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--border-color);
      color: var(--text-primary);
      padding: 14px 18px;
      border-radius: 10px;
      font-family: inherit;
      font-size: 15px;
      transition: border-color 0.2s ease;
      height: 48px;
      box-sizing: border-box;
    }

    .signup-input::placeholder {
      color: var(--text-dimmed);
    }

    .signup-input:focus {
      outline: none;
      border-color: var(--color-emerald);
    }

    .signup-form .btn-primary {
      flex: 0 0 auto;
      height: 48px;
      padding: 0 24px;
      justify-content: center;
    }

    .signup-status {
      min-height: 20px;
      margin-top: 8px;
      margin-bottom: 12px;
      font-size: 14px;
      font-weight: 600;
      text-align: center;
    }

    .signup-status[data-state="ok"] {
      color: var(--color-emerald);
    }

    .signup-status[data-state="error"] {
      color: #f87171;
    }

/* ---- Shared content pages (guides / compare / windows) ---- */
.content-page {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(48px, 8vh, 80px) 32px 64px;
}
.content-page.wide { max-width: 960px; }
.content-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--color-emerald);
  margin-bottom: 12px;
}
.content-page h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
  margin-bottom: 16px;
}
.content-lede {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 65ch;
  margin-bottom: 32px;
  text-wrap: pretty;
}
.content-page h2 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 40px 0 12px;
  text-wrap: balance;
}
.content-page h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 28px 0 8px;
}
.content-page p, .content-page li {
  color: var(--text-secondary);
  max-width: 65ch;
}
.content-page p { margin-bottom: 14px; }
.content-page ul, .content-page ol {
  margin: 0 0 16px 1.25rem;
}
.content-page li { margin-bottom: 8px; }
.content-page code, .path-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85em;
  background: rgba(255,255,255,0.06);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  color: var(--text-primary);
}
.content-page pre {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 16px 18px;
  overflow-x: auto;
  margin: 12px 0 20px;
  color: var(--text-primary);
}
.cta-panel {
  margin: 36px 0;
  padding: 24px 28px;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: var(--bg-card);
}
.cta-panel h2 { margin-top: 0; }
.cta-panel .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.related-card {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.related-card:hover {
  border-color: var(--border-color-hover);
  background: rgba(255,255,255,0.03);
}
.related-card span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dimmed);
  margin-top: 4px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 0.95rem;
}
.compare-table th, .compare-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  vertical-align: top;
}
.compare-table th {
  color: var(--text-primary);
  font-weight: 600;
}
.compare-table td:first-child, .compare-table th:first-child {
  color: var(--text-primary);
  font-weight: 500;
}
.guide-faq details {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
  background: var(--bg-card);
}
.guide-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
}
.guide-faq summary::-webkit-details-marker { display: none; }
.guide-faq details[open] summary { margin-bottom: 8px; }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-dimmed);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-emerald); }
.breadcrumb span { margin: 0 6px; opacity: 0.5; }

/* Persona switcher */
.persona-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: rgba(0,0,0,0.25);
  margin: 16px 0 8px;
}
.persona-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.persona-switch button[aria-pressed="true"] {
  background: rgba(16, 185, 129, 0.18);
  color: var(--text-primary);
}
.persona-switch button:focus-visible {
  outline: 2px solid var(--color-emerald);
  outline-offset: 2px;
}
body[data-persona="plain"] .tech-only { display: none !important; }
body[data-persona="tech"] .plain-only { display: none !important; }
.path-details {
  margin-top: 8px;
  font-size: 0.85rem;
}
.path-details summary {
  cursor: pointer;
  color: var(--color-emerald);
  font-weight: 500;
}
.path-details code {
  display: block;
  margin-top: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Trust section */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.trust-item {
  padding: 20px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-card);
}
.trust-item strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.trust-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}
.trust-item a { color: var(--color-emerald); }

/* Size distribution bar */
.size-bar {
  display: flex;
  height: 28px;
  border-radius: 8px;
  overflow: hidden;
  margin: 20px 0 12px;
  border: 1px solid var(--border-color);
}
.size-bar span {
  display: block;
  height: 100%;
  min-width: 2px;
}
.size-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.size-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: middle;
}
@media (prefers-reduced-motion: no-preference) {
  .size-bar span {
    transform-origin: left center;
    animation: sizeGrow 0.8s var(--ease-out) both;
  }
}
@keyframes sizeGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.pain-desc { display:block; font-size:0.9rem; color:var(--text-secondary); margin-top:6px; }
#trust { scroll-margin-top: 84px; }
