/* Khosla Lab visual polish layer
   Keeps brand colors and structure, improves hierarchy, clarity, and scanability. */

:root {
  --kl-accent-blue: #a8b4f0;
  --kl-accent-peach: #f0b088;
  --kl-accent-lilac: #c8b8e0;
  --kl-accent-rose: #e8b0c0;
  --kl-accent-gradient: linear-gradient(
    90deg,
    var(--kl-accent-blue) 0%,
    var(--kl-accent-peach) 52%,
    var(--kl-accent-lilac) 100%
  );
}

body {
  text-rendering: optimizeLegibility;
  font-size: clamp(1.02rem, 0.94rem + 0.4vw, 1.14rem);
  line-height: 1.7;
  color: #2a2723;
}

/* ── Global readability overrides ── */

/* Bump up the root type scale minimums */
body .wrapper {
  --text-sm: clamp(0.94rem, 0.88rem + 0.35vw, 1.06rem);
  --text-base: clamp(1.04rem, 0.96rem + 0.45vw, 1.18rem);
  --text-lg: clamp(1.18rem, 1.04rem + 0.7vw, 1.42rem);
}

/* Darken secondary and muted text globally */
body .wrapper {
  --ink-secondary: #302d29;
  --ink-muted: #635b54;
}

body .wrapper {
  isolation: isolate;
}

body .container {
  max-width: 1180px;
}

/* Navigation */
body nav {
  padding: 18px 0;
  border-bottom: 1px solid rgba(23, 21, 18, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
}

body nav .container {
  gap: 18px;
  align-items: center;
}

body nav .logo {
  letter-spacing: 0.12em;
}

body .nav-links a {
  padding-bottom: 2px;
}

body .nav-links a.active,
body .nav-links a:hover {
  color: var(--ink);
}

body .nav-links a::after {
  height: 2px;
  background: var(--kl-accent-gradient);
}

/* Buttons */
body .btn {
  border-radius: 999px;
}

body .btn-primary {
  position: relative;
  isolation: isolate;
  box-shadow: 0 6px 18px rgba(255, 180, 120, 0.25);
}

body .btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 74%);
  transform: translateX(-120%);
  transition: transform 0.45s ease;
  pointer-events: none;
}

body .btn-primary:hover::before {
  transform: translateX(120%);
}

body .btn-primary:hover {
  box-shadow: 0 10px 26px rgba(255, 180, 120, 0.32);
}

/* Type rhythm */
body .intro,
body .pillar p,
body .pain-point p,
body .service-item p,
body .belief p,
body .workflow-item p,
body .faq-answer p,
body .cta-sub,
body .team-member p {
  text-wrap: pretty;
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--ink-secondary);
}

body p {
  text-wrap: pretty;
  line-height: 1.7;
}

body .section {
  padding: clamp(104px, 13vh, 168px) 0;
}

body .section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--rule);
  background: #fbfaf7;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--ink-muted);
}

body .section h2 {
  line-height: 1.08;
  max-width: 22ch;
  margin-bottom: clamp(16px, 2.5vw, 32px);
}

body .section-key,
body .anchor-section {
  position: relative;
  margin: clamp(32px, 5vw, 56px) clamp(12px, 3vw, 28px);
  border-radius: 24px;
  background: #fefbf7;
  border: 1px solid rgba(23, 21, 18, 0.12);
  box-shadow: 0 24px 60px rgba(19, 16, 12, 0.08);
  overflow: hidden;
}

body .section-key::before,
body .anchor-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: #ffb478;
  opacity: 0.85;
}

body .section-key.section {
  padding: clamp(104px, 13vh, 160px) 0;
}

body .section-key .section-label,
body .anchor-section .section-label {
  background: #fff4ea;
  border-color: rgba(200, 104, 74, 0.28);
  color: #8a4c32;
}

body .section-key h2,
body .anchor-section h2 {
  font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.4rem);
  max-width: 18ch;
}

body .summary-block {
  margin: clamp(24px, 4vw, 40px) clamp(12px, 3vw, 28px);
  border-radius: 22px;
  background: #151413;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 50px rgba(8, 7, 6, 0.4);
  color: #f7f4ef;
}

body .summary-block .section-label {
  background: transparent;
  border: 1px solid rgba(247, 244, 239, 0.28);
  color: rgba(247, 244, 239, 0.7);
}

body .summary-block h2 {
  max-width: 20ch;
  color: #f7f4ef;
}

body .summary-block .intro {
  max-width: 60ch;
  color: rgba(247, 244, 239, 0.72);
}

body .summary-block p,
body .summary-block li,
body .summary-block h4 {
  color: rgba(247, 244, 239, 0.76);
}

body .summary-block .build-mini-label,
body .summary-block .build-stage-title,
body .summary-block .build-stage-desc,
body .summary-block .build-stage-note,
body .summary-block .build-stage-index,
body .summary-block .build-runtime-status,
body .summary-block .build-runtime-top,
body .summary-block .build-runtime-trust {
  color: rgba(247, 244, 239, 0.7);
}

body .summary-block .service-item,
body .summary-block .workflow-item,
body .summary-block .about-breaker-item,
body .summary-block .rd-commitment-item,
body .summary-block .build-request,
body .summary-block .build-result,
body .summary-block .build-aha,
body .summary-block .build-runtime {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

body .summary-block .build-runtime {
  border-color: rgba(255, 255, 255, 0.18);
}

body .hero-actions,
body .build-grid,
body .example-offers,
body .service-breaker-grid,
body .sovereignty-grid,
body .rd-commitment-grid,
body .about-breaker-grid,
body .pillars,
body .services-grid,
body .workflow-grid,
body .beliefs,
body .team-grid,
body .chat-snippets,
body .build-integration-row {
  gap: clamp(18px, 3.5vw, 28px);
}

@media (max-width: 480px) {
  body .container {
    padding: 0 16px;
  }

  body .hero {
    padding-top: clamp(62px, 8vh, 72px);
    padding-bottom: clamp(44px, 6vh, 60px);
  }

  body .hero h1 {
    font-size: clamp(2.25rem, 9.2vw, 3.1rem);
    max-width: 100%;
  }

  body .hero .intro {
    font-size: clamp(1rem, 4.2vw, 1.18rem);
  }

  body .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  body .hero-actions .btn {
    width: 100%;
  }

  body .section-key,
  body .anchor-section,
  body .summary-block {
    margin: 20px 0;
    border-radius: 18px;
  }

  body .section {
    padding: clamp(48px, 7vh, 64px) 0;
  }

  body .section-key h2,
  body .anchor-section h2,
  body .summary-block h2 {
    font-size: clamp(1.7rem, 7vw, 2.35rem);
  }

  body .build-grid {
    grid-template-columns: 1fr;
  }

  body .build-runtime {
    min-height: 0;
  }

  body .build-runtime-body {
    gap: 8px;
  }

  body .build-stage {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  body .build-stage-index {
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
  }

  body .build-stage-note {
    justify-self: flex-start;
  }

  body .chat-shell {
    margin-top: 18px;
  }

  /* Fix "COMMON QUESTIONS" topbar wrapping */
  body .chat-topbar {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  /* Industry CTA cards — single column on small screens */
  body .industry-cta-wrap {
    padding: 22px 18px;
  }
  body .industry-cta-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  body .industry-cta-card {
    padding: 20px 18px 16px;
  }
  body .industry-cta-name {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  body .industry-cta-detail {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  body .industry-cta-tools {
    gap: 5px;
    margin-bottom: 12px;
  }
  body .industry-cta-tool {
    font-size: 0.62rem;
    padding: 3px 7px;
  }
  body .industry-cta-link {
    font-size: 0.88rem;
  }

  /* section-key.section misses the body .section override due to specificity */
  body .section-key.section {
    padding: clamp(48px, 7vh, 64px) 0;
  }

  /* Hero label: allow graceful wrapping, don't force fit-content on narrow screens */
  body .hero-label {
    max-width: 26ch;
    white-space: normal;
    line-height: 1.4;
  }

  /* Container: give content a little more room */
  body .container {
    padding: 0 20px;
  }
}

body .section-alt {
  border-top: 0;
  border-bottom: 0;
  padding: clamp(104px, 13vh, 168px) 0;
}

/* Card heading and body typography */
body .pillar h3,
body .service-item h3,
body .service-item h4,
body .workflow-item h3,
body .workflow-item h4 {
  font-size: clamp(1.18rem, 1.06rem + 0.5vw, 1.36rem);
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--ink);
}

body .cta-sub {
  font-size: var(--text-lg);
  color: var(--ink-secondary);
  line-height: 1.6;
}

body .team-member p {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--ink-secondary);
}

body .team-member h3 {
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem);
  margin-bottom: 6px;
}

body .team-member .role {
  font-size: 0.76rem;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

/* Core cards */
body .pillar,
body .pain-point,
body .service-item,
body .belief,
body .workflow-item,
body .team-member,
body .belief-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(23, 21, 18, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #fcfaf7 100%);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.75) inset;
}

body .pillars .pillar::after,
body .services-grid .service-item::after,
body .workflow-grid .workflow-item::after,
body .beliefs .belief::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  opacity: 0.42;
  background: var(--kl-accent-gradient);
  transition: opacity 0.22s ease, height 0.22s ease;
}

body .pillars .pillar:nth-child(3n + 1)::after,
body .services-grid .service-item:nth-child(3n + 1)::after,
body .workflow-grid .workflow-item:nth-child(3n + 1)::after,
body .beliefs .belief:nth-child(3n + 1)::after {
  background: linear-gradient(90deg, var(--kl-accent-blue), var(--kl-accent-lilac));
}

body .pillars .pillar:nth-child(3n + 2)::after,
body .services-grid .service-item:nth-child(3n + 2)::after,
body .workflow-grid .workflow-item:nth-child(3n + 2)::after,
body .beliefs .belief:nth-child(3n + 2)::after {
  background: linear-gradient(90deg, var(--kl-accent-peach), #f6cbad);
}

body .pillars .pillar:nth-child(3n + 3)::after,
body .services-grid .service-item:nth-child(3n + 3)::after,
body .workflow-grid .workflow-item:nth-child(3n + 3)::after,
body .beliefs .belief:nth-child(3n + 3)::after {
  background: linear-gradient(90deg, var(--kl-accent-rose), var(--kl-accent-lilac));
}

body .pillar:hover,
body .pain-point:hover,
body .service-item:hover,
body .belief:hover,
body .workflow-item:hover,
body .team-member:hover,
body .belief-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 30px rgba(19, 16, 12, 0.1);
}

body .pillars,
body .pain-points,
body .services-grid,
body .beliefs,
body .workflow-grid,
body .team-grid {
  gap: 24px;
}

/* Hero */
body .hero {
  padding-top: clamp(140px, 17vh, 200px);
  padding-bottom: clamp(80px, 10vh, 120px);
  overflow: clip;
}

@supports not (overflow: clip) {
  body .hero {
    overflow: hidden;
  }
}

body .hero-inner {
  align-items: center;
  gap: clamp(38px, 5.2vw, 86px);
}

body .hero-content {
  max-width: 46rem;
  display: grid;
  gap: 14px;
}

body .hero h1 {
  font-size: clamp(3.4rem, 2.4rem + 3.4vw, 6rem);
  max-width: 10.5ch;
  margin: 0;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

body .hero .intro {
  font-size: clamp(1.1rem, 0.95rem + 0.9vw, 1.5rem);
  max-width: 34ch;
  margin: 0;
  line-height: 1.56;
}

body .hero-actions {
  margin-top: 6px;
}

body .hero-label {
  margin: 0;
  width: fit-content;
  border: 1px solid var(--rule);
  padding: 7px 13px;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  background: #fcfaf7;
  color: var(--ink-muted);
}

body .hero-visual {
  border-radius: 24px;
  border: 1px solid rgba(23, 21, 18, 0.1);
  background:
    radial-gradient(circle at 14% 18%, rgba(168, 180, 240, 0.26), transparent 46%),
    radial-gradient(circle at 82% 26%, rgba(240, 176, 136, 0.22), transparent 52%),
    radial-gradient(circle at 40% 82%, rgba(200, 184, 224, 0.2), transparent 50%),
    rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 22px 44px rgba(19, 16, 12, 0.08);
  transform: translateZ(0);
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body .hero-visual::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  z-index: 0;
  pointer-events: none;
}

body .hero-visual::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 6%;
  height: 24%;
  background: radial-gradient(ellipse at center, rgba(23, 21, 18, 0.16), transparent 72%);
  filter: blur(14px);
  opacity: 0.28;
  z-index: 0;
  pointer-events: none;
}

body .hero-visual:hover {
  transform: translateY(-2px);
}

body .hero-visual > * {
  z-index: 1;
}

body .hero-visual .orb,
body .hero-visual .ring,
body .hero-visual .stack-card,
body .hero-visual .stripe-ribbon {
  filter: saturate(1.08) brightness(1.02);
}

/* Feel Seen section */
body .feel-seen {
  background: #f5f1ea;
  padding: clamp(80px, 10vh, 128px) 0;
}

body .feel-seen-wrap {
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(23, 21, 18, 0.16);
  box-shadow: 0 18px 40px rgba(19, 16, 12, 0.08);
  padding: clamp(36px, 5vw, 56px);
}

body .feel-seen-head h2 {
  max-width: 18ch;
  margin-bottom: 14px;
}

body .feel-seen-intro {
  max-width: 52ch;
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--ink-secondary);
}

body .chat-shell {
  border-radius: 14px;
  background: #f6f2ec;
  border-color: rgba(23, 21, 18, 0.14);
  margin-top: 32px;
}

body .chat-topbar {
  border-bottom-color: rgba(23, 21, 18, 0.12);
}

body .chat-snippet {
  border-radius: 14px;
  border-color: rgba(23, 21, 18, 0.12);
  box-shadow: 0 10px 24px rgba(19, 16, 12, 0.06);
  padding: 16px;
  gap: 12px;
}

body .chat-row.bot {
  justify-content: flex-end;
}

body .chat-row.bot .chat-bubble {
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 6px;
}

body .chat-bubble {
  line-height: 1.6;
  text-wrap: pretty;
  font-size: 1rem;
}

body .chat-mini-top {
  font-size: 0.68rem;
}

/* Sovereignty section */
body .sovereignty {
  background: #141312;
}

body .sovereignty-headline {
  letter-spacing: -0.03em;
}

body .sovereignty-item h3,
body .sovereignty-item h4 {
  color: #f7f4ef;
}

body .sovereignty-item p {
  color: rgba(247, 244, 239, 0.68);
}

/* Homepage example build */
body .example-build {
  border-radius: 14px;
  border-color: rgba(23, 21, 18, 0.18);
  box-shadow: 0 18px 40px rgba(19, 16, 12, 0.08);
}

body .example-build h2 {
  max-width: 18ch;
}

body .example-build-intro {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--ink-secondary);
}

body .build-request p:last-child,
body .build-result li {
  font-size: 1.02rem;
  line-height: 1.6;
}

body .build-mini-label {
  font-size: 0.72rem;
}

body .build-runtime {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

body .build-stage,
body .build-request,
body .build-result,
body .build-aha {
  border-radius: 10px;
}

body .build-chip {
  border-radius: 999px;
  padding: 6px 11px;
}

/* Real examples sections */
body .real-examples-section {
  position: relative;
}

body .real-examples-frame {
  border-radius: 14px;
  overflow: hidden;
  border-color: rgba(23, 21, 18, 0.18);
  box-shadow: 0 20px 40px rgba(19, 16, 12, 0.08);
  position: relative;
}

body .real-examples-frame::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #a8b4f0 0%, #f0b088 50%, #c8b8e0 100%);
}

body .real-examples-kicker {
  margin-top: 10px;
  max-width: 64ch;
}

body .example-offer,
body .example-build {
  border-radius: 12px;
  border-color: rgba(23, 21, 18, 0.14);
}

body .example-offer-badge,
body .example-build-badge {
  border-radius: 999px;
  background: #f8f4ee;
}

body .example-scope {
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(23, 21, 18, 0.08);
}

/* Stats */
body .stat-item {
  background: linear-gradient(180deg, #fff 0%, #fcfaf7 100%);
}

body .stat-number {
  letter-spacing: -0.025em;
}

/* FAQ */
body .faq-list {
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: #fff;
  padding: 0 24px;
  margin-top: 56px;
}

body .faq-item {
  border-bottom-color: rgba(23, 21, 18, 0.1);
}

body .faq-item:last-child {
  border-bottom: 0;
}

body .faq-question {
  min-height: 74px;
  border-radius: 10px;
  padding-left: 8px;
  padding-right: 8px;
  font-size: 1.08rem;
  color: var(--ink);
  font-weight: 600;
}

body .faq-answer {
  padding-left: 8px;
  padding-right: 8px;
}

body .faq-question:focus-visible {
  outline: 2px solid #f0b088;
  outline-offset: 2px;
}

body .faq-item.active .faq-question {
  color: var(--ink);
}

body .faq-icon {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(23, 21, 18, 0.18);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.42rem;
  line-height: 1;
  background: #fff;
}

body .faq-item.active .faq-icon {
  background: #f7f2ec;
  border-color: rgba(23, 21, 18, 0.24);
}

/* CTA and footer */
body .cta {
  background: linear-gradient(180deg, #ece6d8 0%, #e6dece 100%);
  padding: clamp(92px, 12.5vh, 150px) 0;
  margin: clamp(24px, 4vw, 42px) clamp(10px, 2.6vw, 24px);
  border-radius: 22px;
  border: 1px solid rgba(23, 21, 18, 0.1);
  box-shadow: 0 18px 40px rgba(19, 16, 12, 0.08);
}

body .cta h2 {
  font-size: clamp(2.25rem, 4.8vw, 3.7rem);
  line-height: 1.03;
  max-width: 14ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(18px, 2.2vw, 28px);
}

@media (min-width: 1025px) {
  body .cta h2 {
    max-width: 26ch;
  }
}

body .cta .cta-sub {
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

body .cta .btn-primary {
  min-width: 220px;
}

body footer .container {
  border-top-color: rgba(23, 21, 18, 0.14);
}

/* Focus states */
body a:focus-visible,
body button:focus-visible {
  outline: 2px solid #f0b088;
  outline-offset: 2px;
}

/* Mobile polish */
@media (max-width: 860px) {
  body .mobile-menu {
    z-index: 95;
    inset: calc(82px + env(safe-area-inset-top)) 0 0 0;
    padding-top: 14px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
    padding-left: 18px;
    padding-right: 18px;
    gap: 14px;
    overflow-y: auto;
    overscroll-behavior: contain;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  body .mobile-menu a {
    border: 1px solid var(--rule);
    background: #fbfaf7;
    padding: 14px 16px;
    font-size: 1.08rem;
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  body .mobile-menu a:last-child {
    background: #ffb478;
    border-color: #ffb478;
  }

  body .mobile-menu a.active {
    background: #ffffff;
    border-color: rgba(23, 21, 18, 0.24);
  }

  body .section-label {
    margin-bottom: 14px;
  }

  body .section h2 {
    max-width: 100%;
  }

  body .hero-inner {
    gap: 22px;
  }
}

@media (max-width: 860px) {
  body .hero {
    padding-top: clamp(98px, 12vh, 124px);
  }

  body .hero-visual {
    display: none;
  }

  body .hero h1 {
    max-width: 12.8ch;
  }

  body .hero .intro {
    max-width: 100%;
  }
}

@media (max-width: 540px) {
  body .section {
    padding: clamp(52px, 8vh, 72px) 0;
  }

  body .section-label {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  body .hero {
    padding-top: clamp(72px, 10vh, 88px);
  }

  body .hero h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 8.6vw, 3.05rem);
    letter-spacing: -0.038em;
  }

  body .hero .intro {
    font-size: clamp(1rem, 3.9vw, 1.12rem);
    max-width: 100%;
  }

  body .hero-actions {
    width: 100%;
    gap: 10px;
  }

  body .hero-actions .btn {
    width: 100%;
  }

  body .pillar,
  body .pain-point,
  body .service-item,
  body .team-member,
  body .belief-item,
  body .workflow-item,
  body .belief {
    padding: 22px 18px;
  }

  body .faq-question {
    min-height: 62px;
  }
}

@media (min-width: 1800px) {
  body .container {
    max-width: 1360px;
  }

  body .hero {
    padding-top: clamp(144px, 14vh, 196px);
  }

  body .hero h1 {
    max-width: 10.5ch;
    font-size: clamp(4.1rem, 2.9rem + 2.4vw, 6rem);
  }

  body .hero .intro {
    font-size: clamp(1.2rem, 0.9rem + 0.6vw, 1.5rem);
    max-width: 32ch;
  }

  body .hero-visual {
    min-height: clamp(460px, 36vw, 620px);
  }
}

/* Homepage hero motion tuning */
body .hero-visual {
  contain: paint;
}

body .stripe-hero,
body .stripe-ribbon {
  will-change: transform;
  backface-visibility: hidden;
}

body .stripe-ribbon {
  transform: translate3d(0, 0, 0) rotate(-48deg);
}

body .stripe-ribbon-one {
  animation-duration: 9s;
}

body .stripe-ribbon-two {
  animation-duration: 8s;
}

body .stripe-ribbon-three {
  animation-duration: 10s;
}

body .stripe-ribbon-four {
  animation-duration: 11s;
}

@keyframes ribbonFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-48deg);
  }
  50% {
    transform: translate3d(0, -18px, 0) rotate(-48deg);
  }
}

body .hero-visual:hover .stripe-hero {
  transform: translate3d(0, 0, 0) scale(1.03) rotate(1deg);
}

/* Example build and runtime animation tuning */
body .example-build .build-runtime,
body .pa-showcase .pa-terminal {
  contain: paint;
}

body .example-build .build-stage {
  will-change: transform, opacity;
  backface-visibility: hidden;
  opacity: 0.36;
  transform: translateX(6px);
  transition: transform 0.18s ease;
}

body .example-build .build-stage.is-runtime-active {
  opacity: 1;
  transform: translateX(0);
  border-color: rgba(240, 176, 136, 0.78);
  background: rgba(240, 176, 136, 0.12);
}

body .pa-showcase .pa-line {
  will-change: transform, opacity;
  backface-visibility: hidden;
}

body .example-build .build-runtime-progress {
  will-change: background-position;
  transform: translateZ(0);
}

body .pa-showcase .pa-line {
  opacity: 0;
  transform: translate3d(0, 8px, 0);
}

body .pa-showcase.visible .pa-line {
  animation: paLineIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

body .pa-showcase.visible .pa-line:nth-child(1) {
  animation-delay: 0.05s;
}

body .pa-showcase.visible .pa-line:nth-child(2) {
  animation-delay: 0.14s;
}

body .pa-showcase.visible .pa-line:nth-child(3) {
  animation-delay: 0.23s;
}

body .pa-showcase.visible .pa-line:nth-child(4) {
  animation-delay: 0.32s;
}

body .pa-showcase.visible .pa-line:nth-child(5) {
  animation-delay: 0.41s;
}

body .pa-showcase.visible .pa-line:nth-child(6) {
  animation-delay: 0.5s;
}

body .pa-showcase.visible .pa-line.done {
  animation-name: paLineDoneIn;
}

@keyframes paLineIn {
  from {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes paLineDoneIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 8px, 0);
  }
  65% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (hover: none) and (pointer: coarse) {
  body .pillar:hover,
  body .pain-point:hover,
  body .service-item:hover,
  body .belief:hover,
  body .workflow-item:hover,
  body .team-member:hover,
  body .belief-item:hover,
  body .example-offer:hover,
  body .example-build:hover {
    transform: none;
    box-shadow: 0 2px 0 rgba(255, 255, 255, 0.75) inset;
  }
}

@media (prefers-reduced-motion: reduce) {
  body .pillar,
  body .pain-point,
  body .service-item,
  body .belief,
  body .workflow-item,
  body .team-member,
  body .belief-item,
  body .example-offer,
  body .example-build,
  body .build-stage,
  body .build-runtime-progress,
  body .pa-line,
  body .stripe-hero,
  body .stripe-ribbon,
  body .orb,
  body .ring,
  body .stack-card,
  body .hero-visual {
    transition: none !important;
    animation: none !important;
  }

  body .pillar:hover,
  body .pain-point:hover,
  body .service-item:hover,
  body .belief:hover,
  body .workflow-item:hover,
  body .team-member:hover,
  body .belief-item:hover,
  body .example-offer:hover,
  body .example-build:hover {
    transform: none;
  }
}

/* Interaction and layout polish */
body .nav-links a {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--ink-secondary);
}

body .faq-answer {
  transition: max-height 0.26s ease, padding 0.26s ease;
}

body .sovereignty-item {
  border: 1px solid rgba(247, 244, 239, 0.14);
  border-radius: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
}

/* Homepage "Example Build" should sit naturally in the page rhythm */
body #how-it-works.summary-block {
  margin: clamp(32px, 5vw, 56px) 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #f4efe6 0%, #f1ece3 100%);
  border: 1px solid rgba(23, 21, 18, 0.1);
  box-shadow: 0 18px 36px rgba(19, 16, 12, 0.08);
  color: var(--ink);
}

body #how-it-works.summary-block .section-label {
  background: #fff4ea;
  border: 1px solid rgba(200, 104, 74, 0.28);
  color: #8a4c32;
}

body #how-it-works.summary-block h2,
body #how-it-works.summary-block .example-build-intro,
body #how-it-works.summary-block .build-request p,
body #how-it-works.summary-block .build-result li,
body #how-it-works.summary-block .build-mini-label,
body #how-it-works.summary-block .build-works-with,
body #how-it-works.summary-block .build-works-label {
  color: var(--ink);
}

body #how-it-works {
  padding: clamp(52px, 7vh, 84px) 0;
}

body #how-it-works .example-build {
  background: #fffdf9;
  border: 1px solid rgba(23, 21, 18, 0.12);
  box-shadow: 0 12px 28px rgba(19, 16, 12, 0.08);
  padding: clamp(36px, 4.5vw, 60px);
}

body #how-it-works .build-grid {
  margin-top: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 28px;
}

body #how-it-works .build-aha,
body #how-it-works .build-request,
body #how-it-works .build-result {
  background: #ffffff;
  border-color: rgba(23, 21, 18, 0.12);
}

body #how-it-works .build-runtime {
  background: #12110f;
  border-color: #2f2b27;
  color: rgba(255, 255, 255, 0.88);
  min-height: 360px;
}

body #how-it-works .build-runtime-top,
body #how-it-works .build-runtime-trust {
  color: rgba(255, 255, 255, 0.72);
}

body #how-it-works .build-stage {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  opacity: 0.36;
  transform: translateX(6px);
  transition: transform 0.18s ease;
}

body #how-it-works .build-stage.is-runtime-active {
  opacity: 1;
  transform: translateX(0);
  border-color: rgba(240, 176, 136, 0.78);
  background: rgba(240, 176, 136, 0.12);
}

body #how-it-works .build-runtime p,
body #how-it-works .build-runtime span,
body #how-it-works .build-runtime div {
  color: rgba(255, 255, 255, 0.82) !important;
}

body #how-it-works .build-stage-title {
  color: rgba(255, 255, 255, 0.95) !important;
}

body #how-it-works .build-stage-desc,
body #how-it-works .build-stage-note,
body #how-it-works .build-stage-index,
body #how-it-works .build-runtime-status,
body #how-it-works .build-runtime-trust {
  color: rgba(255, 255, 255, 0.82) !important;
}

@media (max-width: 980px) {
  body #how-it-works .build-grid {
    grid-template-columns: 1fr;
  }

  body #how-it-works .build-runtime {
    min-height: 320px;
  }
}

@media (max-width: 540px) {
  body .hero-actions {
    gap: 14px;
  }

  body .hero-actions .btn {
    min-height: 46px;
  }

  body #how-it-works.summary-block {
    margin: 16px 0;
    border-radius: 14px;
    padding: 40px 0;
  }

  body #how-it-works .example-build {
    padding: 22px 18px;
  }

  body #how-it-works .build-runtime {
    min-height: 0;
  }
}

/* Layout and IA polish across pages */
body .hero-inner {
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 4.8vw, 72px);
}

body .hero-content {
  max-width: 42rem;
  gap: 18px;
}

body .hero h1 {
  max-width: 14ch;
  font-size: clamp(2.5rem, 1.8rem + 3vw, 4.2rem);
  line-height: 1.06;
}

body .hero .intro {
  max-width: 36ch;
  font-size: clamp(1.12rem, 1rem + 0.6vw, 1.36rem);
  line-height: 1.6;
  color: var(--ink-secondary);
}

body .hero-visual {
  min-height: clamp(360px, 34vw, 540px);
}

body .section h2 {
  max-width: 16ch;
}

body .section .intro {
  max-width: 56ch;
  margin-bottom: 12px;
  line-height: 1.65;
  font-size: var(--text-lg);
  color: var(--ink-secondary);
}

body section.section.summary-block:not(#how-it-works):not(.rd-commitment):not(.about-breaker) {
  margin: clamp(32px, 5vw, 56px) 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #f4efe6 0%, #f1ece3 100%);
  border: 1px solid rgba(23, 21, 18, 0.1);
  box-shadow: 0 18px 34px rgba(19, 16, 12, 0.08);
  color: var(--ink);
}

body section.section.summary-block:not(#how-it-works):not(.rd-commitment):not(.about-breaker) .section-label {
  background: #fff4ea;
  border: 1px solid rgba(200, 104, 74, 0.28);
  color: #8a4c32;
}

body section.section.summary-block:not(#how-it-works):not(.rd-commitment):not(.about-breaker) h2,
body section.section.summary-block:not(#how-it-works):not(.rd-commitment):not(.about-breaker) p,
body section.section.summary-block:not(#how-it-works):not(.rd-commitment):not(.about-breaker) li,
body section.section.summary-block:not(#how-it-works):not(.rd-commitment):not(.about-breaker) h4 {
  color: var(--ink);
}

body section.section.summary-block:not(#how-it-works):not(.rd-commitment):not(.about-breaker) .service-item,
body section.section.summary-block:not(#how-it-works):not(.rd-commitment):not(.about-breaker) .workflow-item,
body section.section.summary-block:not(#how-it-works):not(.rd-commitment):not(.about-breaker) .pain-point {
  background: #ffffff;
  border: 1px solid rgba(23, 21, 18, 0.12);
}

body .rd-commitment.summary-block,
body .about-breaker.summary-block {
  background: #171512;
  border-color: rgba(255, 255, 255, 0.12);
}

body .rd-commitment-item,
body .about-breaker-item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
}

body .rd-commitment-item h3,
body .rd-commitment-item h4,
body .about-breaker-item h3,
body .about-breaker-item h4 {
  color: rgba(247, 244, 239, 0.96);
}

body .rd-commitment-item p,
body .about-breaker-item p {
  color: rgba(247, 244, 239, 0.78);
}

/* Unified premium dark feature sections (home/services/rd/about) */
body section.sovereignty,
body section.service-breaker,
body section.rd-commitment.summary-block,
body section.about-breaker.summary-block {
  margin: clamp(32px, 5vw, 56px) clamp(12px, 3vw, 28px);
  padding: clamp(80px, 10vh, 128px) 0;
  border-radius: 22px;
  background: #10110f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 52px rgba(8, 7, 6, 0.44);
  color: #f7f4ef;
}

body section.sovereignty .section-label,
body section.service-breaker .section-label,
body section.rd-commitment .section-label,
body section.about-breaker .section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid rgba(247, 244, 239, 0.24);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(247, 244, 239, 0.82);
}

body section.sovereignty .sovereignty-headline,
body section.service-breaker .service-breaker-headline,
body section.rd-commitment .rd-commitment-headline,
body section.about-breaker .about-breaker-headline {
  margin-top: 16px;
  font-size: clamp(2.35rem, 1.6rem + 3.2vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #f7f4ef;
  max-width: 14ch;
}

body section.sovereignty .sovereignty-grid,
body section.service-breaker .service-breaker-grid,
body section.rd-commitment .rd-commitment-grid,
body section.about-breaker .about-breaker-grid {
  margin-top: clamp(36px, 5vw, 60px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

body section.sovereignty .sovereignty-item,
body section.service-breaker .service-breaker-item,
body section.rd-commitment .rd-commitment-item,
body section.about-breaker .about-breaker-item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 24px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

body section.sovereignty .sovereignty-item h3,
body section.sovereignty .sovereignty-item h4,
body section.service-breaker .service-breaker-item h3,
body section.service-breaker .service-breaker-item h4,
body section.rd-commitment .rd-commitment-item h3,
body section.rd-commitment .rd-commitment-item h4,
body section.about-breaker .about-breaker-item h3,
body section.about-breaker .about-breaker-item h4 {
  color: #f7f4ef;
  font-size: 1.12rem;
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

body section.sovereignty .sovereignty-item p,
body section.service-breaker .service-breaker-item p,
body section.rd-commitment .rd-commitment-item p,
body section.about-breaker .about-breaker-item p {
  color: rgba(247, 244, 239, 0.88);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* Unified footer system across pages */
body .footer-expanded {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 48px 60px;
  border-top: 1px solid var(--rule);
  padding-top: 48px;
}

body .footer-brand {
  grid-column: 1;
}

body .footer-tagline {
  margin-top: 12px;
  max-width: 30ch;
  color: var(--ink-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
}

body .footer-nav {
  grid-column: 2;
  display: flex;
  gap: 56px;
}

body .footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body .footer-col-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-muted);
  font-weight: 700;
  margin-bottom: 4px;
}

body .footer-col a {
  color: var(--ink-secondary);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
}

body .footer-col a:hover {
  color: var(--ink);
}

body .footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}

body .reveal {
  transition: opacity 0.42s ease, transform 0.42s ease;
  opacity: 1;
  transform: none;
}

body .reveal-stagger > * {
  transition: opacity 0.34s ease, transform 0.34s ease;
  opacity: 1;
  transform: none;
}

html.motion-ready body .reveal {
  opacity: 0;
  transform: translateY(18px);
}

html.motion-ready body .reveal.visible {
  opacity: 1;
  transform: none;
}

html.motion-ready body .reveal-stagger > * {
  opacity: 0;
  transform: translateY(14px);
}

html.motion-ready body .reveal-stagger.visible > * {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  body section.sovereignty .sovereignty-grid,
  body section.service-breaker .service-breaker-grid,
  body section.rd-commitment .rd-commitment-grid,
  body section.about-breaker .about-breaker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  body .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body .hero h1,
  body .hero .intro {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  body .footer-expanded {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: left;
  }

  body .footer-nav {
    grid-column: 1;
    gap: 40px;
  }

  body .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  body section.sovereignty .sovereignty-grid,
  body section.service-breaker .service-breaker-grid,
  body section.rd-commitment .rd-commitment-grid,
  body section.about-breaker .about-breaker-grid {
    grid-template-columns: 1fr;
  }

  body section.sovereignty .sovereignty-headline,
  body section.service-breaker .service-breaker-headline,
  body section.rd-commitment .rd-commitment-headline,
  body section.about-breaker .about-breaker-headline {
    max-width: 100%;
  }
}

@media (max-width: 540px) {
  body section.section.summary-block:not(#how-it-works):not(.rd-commitment):not(.about-breaker) {
    border-radius: 14px;
    margin: 16px 0;
  }

  body section.sovereignty,
  body section.service-breaker,
  body section.rd-commitment.summary-block,
  body section.about-breaker.summary-block {
    margin: 16px 0;
    border-radius: 16px;
    padding: 52px 0;
  }

  body .cta {
    margin: 16px 0;
    border-radius: 16px;
    padding: clamp(58px, 8.4vh, 82px) 0;
  }

  body .cta h2 {
    font-size: clamp(2.02rem, 9vw, 2.75rem);
    line-height: 1.04;
    max-width: 12ch;
  }

  /* feel-seen anchor-section on mobile */
  body .feel-seen-wrap {
    padding: 24px 20px;
  }

  /* The section-key/anchor-section panels: tighter margin */
  body .section-key,
  body .anchor-section {
    margin: 16px 0;
    border-radius: 16px;
  }

  /* Industry showcase video tabs: tighter */
  body .industry-tab {
    font-size: 12px;
    padding: 10px 8px;
  }

  /* Reference card on about-us */
  body .reference-wrap {
    padding: 24px 20px;
  }
}

/* ── Industry showcase (services page) – mobile first ── */

/* Mobile: single column, 2×2 tab grid */
.industry-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.industry-info {
  display: flex;
  flex-direction: column;
}
.industry-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 20px;
}
.industry-tab {
  padding: 12px 10px;
  border-radius: 10px;
  border: 1.5px solid rgba(23,21,18,0.12);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  text-align: center;
  line-height: 1.3;
  transition: all 0.18s;
}
.industry-tab:hover {
  border-color: rgba(23,21,18,0.22);
  color: var(--ink);
}
.industry-tab.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.industry-video-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: opacity 0.2s;
}
.industry-video-wrap.fading { opacity: 0; }
.industry-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Desktop: side-by-side, vertical tab list, restore natural square */
@media (min-width: 800px) {
  .industry-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
  }
  .industry-tabs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 36px;
  }
  .industry-tab {
    font-size: var(--text-sm);
    padding: 13px 20px;
    border-radius: 12px;
    text-align: left;
    line-height: 1.4;
  }
  .industry-tab:hover {
    background: rgba(23,21,18,0.03);
  }
  .industry-video-wrap {
    aspect-ratio: 1 / 1;
    border-radius: 20px;
  }
}

/* ── Industry CTA grid (homepage) ── */
.industry-cta-wrap {
  border: 1px solid var(--rule);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: clamp(28px, 4vw, 52px);
}
.industry-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 36px;
}
.industry-cta-card {
  display: flex;
  flex-direction: column;
  padding: 24px 20px 20px;
  border: 1px solid rgba(23,21,18,0.10);
  background: #f8f5f0;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.industry-cta-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.industry-cta-card[data-accent="lavender"]::before { background: #a8b4f0; }
.industry-cta-card[data-accent="peach"]::before    { background: #f0b088; }
.industry-cta-card[data-accent="purple"]::before   { background: #c8b8e0; }
.industry-cta-card[data-accent="pink"]::before     { background: #e8b0c0; }
.industry-cta-card:hover {
  border-color: rgba(23,21,18,0.18);
  box-shadow: 0 6px 24px rgba(23,21,18,0.09);
  transform: translateY(-3px);
}
.industry-cta-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.industry-cta-detail {
  font-size: var(--text-sm);
  color: var(--ink-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}
.industry-cta-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.industry-cta-tool {
  border: 1px solid rgba(23,21,18,0.12);
  background: #fff;
  padding: 3px 8px;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--ink-muted);
  font-weight: 700;
}
.industry-cta-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-secondary);
  transition: color 0.15s;
}
.industry-cta-card:hover .industry-cta-link {
  color: var(--ink);
}
@media (min-width: 640px) {
  .industry-cta-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 380px) {
  .industry-cta-card {
    padding: 20px 16px 18px;
  }
}

/* Conversion and interaction refinement */
body .mobile-toggle {
  border: 1px solid rgba(23, 21, 18, 0.16);
  border-radius: 999px;
  padding: 8px 12px;
  min-height: 44px;
  min-width: 84px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-direction: row;
}

body .mobile-toggle .mobile-toggle-label {
  width: auto;
  height: auto;
  background: transparent;
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

body .mobile-toggle .mobile-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: auto;
  height: auto;
  background: transparent;
}

body .mobile-toggle .mobile-toggle-icon span {
  width: 16px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease;
}

body .mobile-toggle.is-open {
  background: #fff;
  border-color: rgba(23, 21, 18, 0.24);
}

body .mobile-toggle.is-open .mobile-toggle-icon span:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}

body .mobile-toggle.is-open .mobile-toggle-icon span:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

body.menu-open nav {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body .hero-inline-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.96rem;
  color: var(--ink-secondary);
  text-decoration: none;
  font-weight: 600;
  min-height: 44px;
}

body .hero-inline-link:hover {
  color: var(--ink);
}

body .proof-strip-section {
  padding: clamp(38px, 6vh, 64px) 0;
}

body .proof-strip {
  border: 1px solid rgba(23, 21, 18, 0.14);
  border-radius: 16px;
  background: #fffdf9;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 14px 30px rgba(19, 16, 12, 0.07);
}

body .proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

body .proof-item {
  border: 1px solid rgba(23, 21, 18, 0.12);
  border-radius: 12px;
  padding: 18px 16px;
  background: #ffffff;
}

body .proof-metric {
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

body .proof-copy {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 0.98rem;
  line-height: 1.55;
}

body .proof-quote .proof-copy {
  font-style: italic;
}

body .proof-source {
  margin-top: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

body .proof-cta {
  margin-top: 18px;
}

body .checklist-section {
  padding-top: clamp(44px, 7vh, 72px);
  padding-bottom: clamp(30px, 5vh, 56px);
}

body .checklist-card {
  border: 1px solid rgba(23, 21, 18, 0.14);
  border-radius: 16px;
  background: linear-gradient(180deg, #fffefc 0%, #f8f3ea 100%);
  padding: clamp(28px, 4vw, 44px);
}

body .checklist-card h2 {
  max-width: 15ch;
}

body .checklist-copy {
  max-width: 56ch;
  color: var(--ink-secondary);
}

body .readiness-form {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  max-width: 620px;
}

body .readiness-input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(23, 21, 18, 0.16);
  border-radius: 999px;
  min-height: 46px;
  padding: 10px 16px;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
}

body .readiness-input:focus {
  border-color: var(--ink);
  outline: none;
  box-shadow: 0 0 0 3px rgba(23, 21, 18, 0.08);
}

body .readiness-status {
  min-height: 22px;
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--ink-secondary);
}

body .faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

body .founder-highlights {
  margin-top: 14px;
  padding-left: 18px;
  color: var(--ink-secondary);
  display: grid;
  gap: 8px;
}

body .founder-highlights li {
  font-size: 0.97rem;
  line-height: 1.55;
}

body .industry-video-wrap {
  position: relative;
}

body .industry-video-play {
  display: none;
  position: absolute;
  right: 12px;
  bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(23, 21, 18, 0.82);
  color: #fff;
  border-radius: 999px;
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 799px) {
  body .industry-video-play {
    display: inline-flex;
    align-items: center;
  }

  body .industry-video-wrap.is-playing .industry-video-play {
    display: none;
  }
}

@media (max-width: 860px) {
  body .mobile-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  body .proof-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  body .hero-actions {
    gap: 16px;
  }

  body .hero-inline-link {
    justify-content: center;
    width: 100%;
    border: 1px solid var(--rule);
    border-radius: 999px;
    background: #fbfaf7;
  }

  body .readiness-form {
    flex-direction: column;
  }

  body .readiness-form .btn {
    width: 100%;
  }

  body .pillars,
  body .services-grid,
  body .service-breaker-grid,
  body .about-breaker-grid,
  body .rd-commitment-grid,
  body .team-grid {
    gap: 16px;
  }
}

/* Final tightening pass: premium rhythm + less copy fatigue */
body .hero h1 {
  max-width: 15.8ch;
}

body .section-subtext {
  max-width: 50ch;
  font-size: 1rem;
  line-height: 1.55;
}

body .proof-copy,
body .industry-cta-detail,
body .founder-bio,
body .checklist-copy {
  line-height: 1.52;
}

body .proof-copy,
body .industry-cta-detail {
  font-size: 0.95rem;
}

body .industry-cta-wrap .section-subtext {
  max-width: 46ch;
}

body .industry-cta-grid {
  gap: 12px;
}

body .industry-cta-card {
  padding: 20px 18px 18px;
}

body .industry-cta-detail {
  margin-bottom: 12px;
}

body .industry-cta-tools {
  margin-bottom: 12px;
}

body .checklist-card h2 {
  max-width: 13.5ch;
  font-size: clamp(2rem, 1.6rem + 2.2vw, 3rem);
  line-height: 1.06;
}

body .checklist-copy {
  max-width: 44ch;
}

body .cta h2 {
  max-width: 24ch;
}

body .reveal {
  transition: opacity 0.42s ease, transform 0.42s ease;
}

body .reveal-stagger > * {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

body .reveal-stagger.visible > *:nth-child(2) {
  transition-delay: 0.07s;
}

body .reveal-stagger.visible > *:nth-child(3) {
  transition-delay: 0.14s;
}

body .reveal-stagger.visible > *:nth-child(4) {
  transition-delay: 0.21s;
}

body .reveal-stagger.visible > *:nth-child(5) {
  transition-delay: 0.28s;
}

@media (min-width: 1025px) {
  body .hero h1 {
    max-width: 17ch;
  }
}

/* Stability fixes: prevent white flash + smoother FAQ behavior + reliable mobile video */
body .reveal,
body .reveal-stagger > * {
  opacity: 1 !important;
  transform: none !important;
}

body .faq-question {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

body .faq-question:hover {
  margin: 0;
  padding-left: 8px;
  padding-right: 8px;
}

body .faq-icon {
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body .faq-item.active .faq-icon {
  transform: none;
}

body .faq-answer p {
  max-width: none;
}

body .industry-video-wrap {
  background: linear-gradient(180deg, #f3eee6 0%, #eae4da 100%);
}

@media (hover: none) and (pointer: coarse) {
  body .faq-question:hover {
    background: transparent;
  }
}
