/* PyCharm authority site — design tokens & components */
:root {
  --bg-main: #000000;
  --bg-secondary: #000000;
  --bg-overview: #000000;
  --bg-graphite: #000000;
  --bg-reviews: #000000;
  --bg-faq: #000000;
  --surface-1: #0a0c0c;
  --surface-2: #0e1413;
  --surface-panel: rgba(12, 14, 14, 0.92);
  --text-main: #f5f7f7;
  --text-muted: #a4abaa;
  --text-dim: #6e7675;
  --py-cyan: #20d4d5;
  --py-teal: #00a99d;
  --py-green: #56d364;
  --py-lime: #d7f75b;
  --py-yellow: #eef75b;
  --border-soft: rgba(255, 255, 255, 0.12);
  --border-active: rgba(61, 220, 205, 0.55);
  --nav-h: 72px;
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --site-origin: https://YOUR-DOMAIN;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--py-cyan);
}

:focus-visible {
  outline: 2px solid var(--py-cyan);
  outline-offset: 3px;
}

.mono {
  font-family: var(--font-mono);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--py-lime);
  flex-shrink: 0;
}

/* ——— Nav ——— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}

.site-nav.is-scrolled {
  background: rgba(5, 5, 5, 0.92);
  border-bottom-color: var(--border-soft);
  backdrop-filter: blur(10px);
}

.nav-inner {
  width: min(1240px, 100% - 2.5rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.nav-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text-main);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--py-cyan);
  transition: width 0.25s var(--ease);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ——— Language switcher dropdown ——— */
.lang-switch {
  position: relative;
}

.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.lang-switch__btn:hover,
.lang-switch.is-open .lang-switch__btn {
  border-color: rgba(32, 212, 213, 0.55);
  background: rgba(32, 212, 213, 0.1);
}

.lang-switch__chev {
  font-size: 0.7rem;
  opacity: 0.8;
}

.lang-switch__menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 10.5rem;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0d1111;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  z-index: 100;
}

.lang-switch__menu a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.lang-switch__menu a:hover,
.lang-switch__menu a[aria-current="true"] {
  color: #fff;
  background: rgba(32, 212, 213, 0.12);
}

.lang-switch-mobile {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lang-switch-mobile a {
  padding: 0.4rem 0.75rem !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.85rem !important;
}

.lang-switch-mobile a[aria-current="true"] {
  border-color: var(--py-cyan);
  color: var(--py-cyan) !important;
}

/* Chinese: tighter nav letter-spacing + CJK font */
body.lang-cn {
  font-family: "Noto Sans SC", "Noto Sans", Outfit, system-ui, sans-serif;
}

body.lang-cn .nav-links a,
body.lang-cn .nav-brand,
body.lang-cn .mobile-panel a {
  letter-spacing: 0.06em;
}

body.lang-cn .btn {
  letter-spacing: 0.04em;
}

/* Russian: more button padding + Cyrillic-capable font */
body.lang-ru {
  font-family: "Noto Sans", Outfit, system-ui, sans-serif;
}

body.lang-ru .btn,
body.lang-ru .btn-primary,
body.lang-ru .btn-light-pill,
body.lang-ru .btn-ghost-pill {
  padding-inline: 1.35rem;
}

body.lang-ru .btn-sm {
  padding-inline: 1.1rem;
}

body.lang-ar {
  font-family: "Noto Sans Arabic", "Noto Sans", Outfit, system-ui, sans-serif;
  direction: rtl;
  text-align: right;
}

/* Arabic RTL */
html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

/* Don't double-flip flex — direction:rtl already mirrors */
html[dir="rtl"] .nav-inner,
html[dir="rtl"] .nav-actions {
  flex-direction: row;
}

html[dir="rtl"] .lang-switch__menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .btn .arrow {
  display: inline-block;
  transform: scaleX(-1);
}

/* Keep hero art on the visual right; center copy in the middle */
html[dir="rtl"] .hero-inner {
  direction: ltr;
  grid-template-columns: 1fr;
  justify-items: center;
}

html[dir="rtl"] .hero-content {
  direction: rtl;
  text-align: center;
  margin-inline: auto;
  max-width: 38rem;
  justify-self: center;
}

html[dir="rtl"] .hero-ctas,
html[dir="rtl"] .hero-actions {
  display: flex;
  justify-content: center;
  flex-direction: row;
}

html[dir="rtl"] .hero-spacer {
  display: none;
}

html[dir="rtl"] .hero-meta,
html[dir="rtl"] .hero-lead,
html[dir="rtl"] .hero-product,
html[dir="rtl"] .hero-content h1 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Section titles centered in Arabic */
html[dir="rtl"] .jb-ai-head {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
}

html[dir="rtl"] .jb-ai-head h2,
html[dir="rtl"] .jb-section-title,
html[dir="rtl"] .jb-focus-title,
html[dir="rtl"] .jb-usecase h2,
html[dir="rtl"] .jb-voices h2,
html[dir="rtl"] .jb-business-card h2,
html[dir="rtl"] .jb-journey-copy h2,
html[dir="rtl"] .title-accent,
html[dir="rtl"] .page-intro,
html[dir="rtl"] .page-intro.is-centered,
html[dir="rtl"] .feature-block-inner,
html[dir="rtl"] .feature-rail,
html[dir="rtl"] .faq-hero {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

html[dir="rtl"] .jb-journey-card {
  direction: ltr;
  grid-template-columns: 0.9fr 1.1fr;
}

html[dir="rtl"] .jb-journey-copy {
  direction: rtl;
  text-align: center;
  align-items: center;
}

html[dir="rtl"] .jb-journey-copy h2 {
  max-width: 18em;
  text-align: center;
  margin-inline: auto;
}

html[dir="rtl"] .jb-journey-actions {
  justify-content: center;
  width: 100%;
}

html[dir="rtl"] .jb-journey-meta {
  text-align: center;
  width: 100%;
}

html[dir="rtl"] .jb-focus .wrap > .jb-focus-title,
html[dir="rtl"] .jb-voices .wrap > h2 {
  text-align: center;
  width: 100%;
}

html[dir="rtl"] .jb-feature-list button {
  text-align: center;
}

html[dir="rtl"] .breadcrumbs {
  justify-content: center;
}

html[dir="rtl"] .page-intro.is-centered,
html[dir="rtl"] .feature-block-inner {
  align-items: center;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: currentColor;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.mobile-panel {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(5, 5, 5, 0.98);
  padding: 2rem;
  z-index: 99;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-panel.is-open {
  display: flex;
}

.mobile-panel a {
  font-size: 1.35rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border-soft);
  padding-bottom: 0.85rem;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.35rem;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s,
    color 0.2s;
}

.btn .arrow {
  transition: transform 0.2s var(--ease);
  display: inline-block;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--py-cyan);
  color: #061414;
}

.btn-primary:hover {
  background: #3de0e1;
  color: #061414;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border-color: var(--border-soft);
  color: var(--text-main);
}

.btn-secondary:hover {
  border-color: var(--border-active);
  color: var(--py-cyan);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

/* ——— Layout ——— */
.wrap {
  width: min(1240px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 5.5rem 0;
}

.section-tight {
  padding: 4rem 0;
}

/* ——— Section splitters (short, centered — not full-bleed lines) ——— */
.section-splitter,
.divider-fade,
.divider-notch,
.divider-syntax {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0;
  padding: 1.15rem 0;
  border: 0;
  height: auto;
  width: 100%;
  background: none;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.section-splitter::before,
.section-splitter::after,
.divider-fade::before,
.divider-fade::after,
.divider-notch::before,
.divider-notch::after,
.divider-syntax::before,
.divider-syntax::after {
  content: "";
  width: 1.75rem;
  height: 1px;
  flex-shrink: 0;
  max-width: none;
  position: static;
  left: auto;
  right: auto;
  top: auto;
  border: 0;
  transform: none;
  background: rgba(255, 255, 255, 0.22);
}

.section-splitter__mark {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border: 1px solid var(--py-cyan);
  transform: rotate(45deg);
  background: #000;
}

.divider-syntax {
  gap: 1rem;
}

/* ——— Panels ——— */
.panel {
  background: var(--surface-panel);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: transparent;
  transition: background 0.25s;
}

.panel:hover {
  transform: translateY(-3px);
  border-color: rgba(32, 212, 213, 0.35);
}

.panel:hover::before {
  background: linear-gradient(180deg, var(--py-cyan), var(--py-green));
}

.ide-frame {
  background: #0a0c0c;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.ide-chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  background: #0f1212;
  border-bottom: 1px solid var(--border-soft);
}

.ide-chrome i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a4242;
}

.ide-chrome i:nth-child(1) {
  background: #ff5f57;
}
.ide-chrome i:nth-child(2) {
  background: #febc2e;
}
.ide-chrome i:nth-child(3) {
  background: #28c840;
}

.ide-chrome .title {
  margin-left: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}

.ide-frame img {
  width: 100%;
  transition: transform 0.4s var(--ease);
  cursor: zoom-in;
}

.ide-frame:hover img {
  transform: scale(1.015);
}

/* ——— Hero (home) — JetBrains-style left copy / full-bleed art ——— */
.hero {
  position: relative;
  min-height: min(92vh, 920px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #000;
  padding: 4.5rem 0 5rem;
}

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

.hero-bg {
  position: absolute;
  /* Full-bleed layer — never crop mid-spiral with the element box */
  inset: -14% -10% -22% -4%;
  background-image: url("../media/legacy-aurora-green.png?v=soft5");
  background-size: auto 118%;
  background-position: 92% 22%;
  background-repeat: no-repeat;
  animation: heroBreath 24s ease-in-out infinite alternate;
  -webkit-mask-image: radial-gradient(
    ellipse 62% 68% at 78% 32%,
    #000 0%,
    #000 34%,
    rgba(0, 0, 0, 0.55) 58%,
    transparent 78%
  );
  mask-image: radial-gradient(
    ellipse 62% 68% at 78% 32%,
    #000 0%,
    #000 34%,
    rgba(0, 0, 0, 0.55) 58%,
    transparent 78%
  );
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    #000 0%,
    rgba(0, 0, 0, 0.97) 22%,
    rgba(0, 0, 0, 0.62) 40%,
    rgba(0, 0, 0, 0.2) 52%,
    transparent 64%
  );
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 18%),
    linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.5) 74%, #000 96%),
    linear-gradient(to left, rgba(0, 0, 0, 0.4) 0%, transparent 16%);
}

@keyframes heroBreath {
  from {
    transform: scale(1) translate(0, 0);
  }
  to {
    transform: scale(1.03) translate(-1%, 0.6%);
  }
}

.hero-art {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(56%, 780px);
  pointer-events: none;
}

.hero-mark {
  position: absolute;
  /* Centered on the bright spiral within the right art layer */
  top: 40%;
  left: 58%;
  transform: translate(-50%, -50%);
  width: clamp(86px, 6.5vw, 110px);
  height: clamp(86px, 6.5vw, 110px);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
}

@media (min-width: 1700px) {
  .hero-art {
    width: min(52%, 860px);
  }

  .hero-mark {
    top: 40%;
    left: 58%;
  }
}

@media (max-width: 1200px) and (min-width: 961px) {
  .hero-art {
    width: min(60%, 640px);
  }

  .hero-mark {
    top: 38%;
    left: 60%;
  }
}

.hero-mark svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1240px, 100% - 2.5rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(280px, 520px) 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: left;
  max-width: 34rem;
  padding: 1rem 0 2rem;
  animation: heroIn 0.9s var(--ease) both;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-product {
  font-size: 1.35rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: clamp(2.8rem, 6.2vw, 4.75rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: #fff;
  margin: 0 0 1.35rem;
  max-width: 11ch;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  max-width: 36ch;
  margin: 0 0 2rem;
  line-height: 1.5;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.btn-pill {
  border-radius: 999px;
  padding: 0.95rem 1.85rem;
  font-size: 1.05rem;
  font-weight: 600;
  background: #18c4c5;
  color: #fff;
  border: none;
}

.btn-pill:hover {
  background: #2fd5d6;
  color: #fff;
  transform: translateY(-2px);
}

.hero-meta {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-meta span {
  color: inherit;
}

.hero-spacer {
  min-height: 1px;
}

/* AI band — JetBrains-like */
.ai-band {
  background: #000;
  padding: 3.5rem 0 1rem;
}

.ai-band-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.ai-band-head h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.035em;
  margin: 0;
  font-weight: 700;
}

.ai-band-head h2 .grad {
  background: linear-gradient(90deg, #20d4d5, #56d364, #d7f75b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ai-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.ai-card {
  background: #0a0c0c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem 1.35rem;
  min-height: 160px;
}

.ai-card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.ai-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.jb-promise {
  background: #000;
  padding: 5rem 0 3rem;
  text-align: center;
}

.jb-promise h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0;
  font-weight: 700;
}

.jb-promise h2 .line2 {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.tag-row a,
.tag-row span {
  font-size: 0.9rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

.tag-row a:hover {
  border-color: var(--border-active);
  color: var(--py-cyan);
}

/* ——— Editorial blocks ——— */
.split-editorial {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.split-editorial .copy h2 {
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 1rem;
}

.split-editorial .shot {
  margin-right: -4vw;
}

.heading-left-right {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.heading-left-right h2 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0.4rem 0 0;
}

.heading-left-right p {
  color: var(--text-muted);
  margin: 0;
  max-width: 38ch;
}

/* ——— Feature mosaic ——— */
.mosaic {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.mosaic-large {
  grid-row: 1 / 3;
  padding: 1.5rem;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.mosaic-large h3 {
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  margin: 0.4rem 0 0.75rem;
}

.mosaic-side {
  padding: 1.25rem;
  min-height: 190px;
}

.mosaic-side h3 {
  font-size: 1.1rem;
  margin: 0.35rem 0 0.5rem;
}

.ide-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.ide-tabs span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.35);
}

.ide-tabs span.is-active {
  border-color: var(--border-active);
  color: var(--py-cyan);
}

.code-accent {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.code-accent .kw {
  color: #c9894a;
}

.code-accent .fn {
  color: var(--text-main);
}

.code-accent .paren {
  color: var(--py-cyan);
}

/* ——— Reviews ——— */
.reviews-track-wrap {
  overflow: hidden;
  margin-inline: calc(50% - 50vw);
  width: 100vw;
  padding-left: max(1.25rem, calc(50vw - 620px));
}

.reviews-track {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}

.reviews-track::-webkit-scrollbar {
  height: 4px;
}

.reviews-track::-webkit-scrollbar-thumb {
  background: rgba(32, 212, 213, 0.4);
  border-radius: 4px;
}

.review-card {
  flex: 0 0 auto;
  width: min(500px, 85vw);
  scroll-snap-align: start;
  padding: 1.75rem;
  background: var(--surface-1);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  position: relative;
}

.review-card:nth-child(3n) {
  width: min(440px, 85vw);
}

.review-card:nth-child(4n) {
  width: min(560px, 88vw);
}

.review-card::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 8px;
  height: 8px;
  background: var(--py-lime);
  border-radius: 1px;
}

.review-card blockquote {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-main);
}

.review-person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.review-person img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.review-person strong {
  display: block;
  font-size: 0.95rem;
}

.review-person span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-detail {
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--py-teal);
}

/* ——— Comparison table ——— */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.92rem;
}

.compare-table th,
.compare-table td {
  padding: 0.95rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
}

.compare-table thead th {
  background: var(--bg-graphite);
  font-weight: 600;
  font-size: 0.85rem;
}

.compare-table thead th:nth-child(2) {
  color: var(--py-cyan);
}

.compare-table tbody th {
  position: sticky;
  left: 0;
  background: var(--bg-secondary);
  font-weight: 500;
  z-index: 1;
}

.compare-table tbody tr:hover td,
.compare-table tbody tr:hover th {
  background: rgba(32, 212, 213, 0.04);
}

.compare-table .yes {
  color: var(--py-green);
}

.compare-table .partial {
  color: var(--py-yellow);
}

.compare-table .no {
  color: var(--text-dim);
}

/* ——— Final CTA ——— */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  background: var(--bg-main);
}

.final-cta::before,
.final-cta::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(32, 212, 213, 0.25);
  pointer-events: none;
}

.final-cta::before {
  width: 280px;
  height: 280px;
  border-radius: 28px;
  top: -40px;
  right: 8%;
  transform: rotate(18deg);
  border-color: rgba(86, 211, 100, 0.3);
}

.final-cta::after {
  width: 160px;
  height: 160px;
  border-radius: 18px;
  bottom: 10%;
  left: 6%;
  transform: rotate(-12deg);
  border-color: rgba(215, 247, 91, 0.28);
}

.final-cta .inner {
  position: relative;
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.final-cta h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0.5rem 0 1rem;
}

/* ——— Footer ——— */
.site-footer {
  background: #000;
  padding: 4rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.55rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text-main);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ——— Page intros ——— */
.page-intro {
  padding: 4.5rem 0 2.5rem;
}

.page-intro h1 {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0.5rem 0 1rem;
}

.page-intro.is-centered,
.faq-hero,
.page-404 {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-intro.is-centered .breadcrumbs,
.page-intro.is-centered .eyebrow,
.faq-hero .breadcrumbs,
.faq-hero .eyebrow {
  justify-content: center;
}

.page-intro.is-centered > p,
.faq-hero > p {
  margin-left: auto;
  margin-right: auto;
}

.page-intro.is-centered h1,
.page-intro.is-centered .title-accent,
.trust-hero.is-centered h1,
.trust-hero .title-accent,
.download-hero.is-centered h1,
.faq-hero .title-accent {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.title-accent {
  text-align: center;
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0.35rem auto 1rem;
  max-width: 22ch;
  background: linear-gradient(115deg, #ffffff 8%, var(--py-cyan) 42%, #7dffb0 72%, #f5e64b 100%);
  background-size: 180% 180%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleShimmer 8s var(--ease) infinite alternate;
  filter: drop-shadow(0 0 18px rgba(32, 212, 213, 0.28));
}

.page-intro .title-accent,
.faq-hero .title-accent,
.download-hero .title-accent,
.trust-hero .title-accent {
  font-size: clamp(2.5rem, 5.2vw, 4.6rem);
  max-width: 16ch;
}

@keyframes titleShimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.feature-block {
  padding: 3.25rem 0;
}

.feature-block-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.feature-block-inner .eyebrow {
  justify-content: center;
}

.feature-lead {
  color: var(--text-muted);
  max-width: 58ch;
  margin: 0 auto 0.5rem;
  font-size: 1.05rem;
}

.feature-block-inner ul {
  text-align: left;
  color: var(--text-muted);
  margin: 0 auto 0.75rem;
  max-width: 52ch;
  padding-left: 1.1rem;
}

.feature-shot {
  width: 100%;
  max-width: 920px;
  margin: 0.75rem auto 0;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0a0c0c;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 20px 50px rgba(0, 0, 0, 0.55),
    0 6px 16px rgba(0, 0, 0, 0.35);
}

.feature-shot .ide-chrome {
  height: 36px;
}

.feature-shot img {
  width: 100%;
  height: calc(100% - 36px);
  object-fit: cover;
  display: block;
}

.feature-panel {
  width: 100%;
  max-width: 920px;
  margin: 1rem auto 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.35rem;
  padding: 1.35rem 1.5rem;
  min-height: 0;
  aspect-ratio: auto;
  background:
    linear-gradient(165deg, rgba(32, 212, 213, 0.07), transparent 45%),
    #0c1414;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.feature-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(32, 212, 213, 0.35);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(32, 212, 213, 0.08);
}

.feature-panel__copy {
  color: var(--text-muted);
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
}

.feature-panel__action {
  margin: 1.1rem 0 0;
}

.features-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  justify-items: center;
  text-align: center;
}

.features-intro > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-rail {
  border-left: 0;
  padding-left: 0;
  position: static;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.1rem;
  max-width: 720px;
}

.feature-rail a {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.feature-rail a:hover {
  color: var(--py-cyan);
  border-color: rgba(32, 212, 213, 0.45);
  background: rgba(32, 212, 213, 0.08);
}

.feature-alt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0;
}

.feature-alt.reverse {
  direction: rtl;
}

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

.feature-band {
  background: #000;
  padding: 3rem 0;
}

.feature-band .ide-frame {
  max-width: 1100px;
  margin-inline: auto;
}

.article-block .title-accent {
  text-align: left;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.verify-row .title-accent {
  text-align: left;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  max-width: none;
  margin: 0 0 0.35rem;
  filter: drop-shadow(0 0 10px rgba(32, 212, 213, 0.2));
}

@media (prefers-reduced-motion: reduce) {
  .title-accent {
    animation: none;
    background-position: 50% 50%;
  }
}

/* ——— Download ——— */
.download-hero h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.release-module {
  width: 100%;
  max-width: 820px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: var(--surface-1);
  padding: 2rem;
  margin-top: 2.5rem;
  text-align: center;
}

.release-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--py-lime);
  margin-bottom: 1.25rem;
}

.release-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--py-lime);
  box-shadow: 0 0 0 3px rgba(215, 247, 91, 0.15);
}

.release-head {
  margin-bottom: 0.25rem;
}

.release-name {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.release-version {
  margin: 0.35rem 0 0;
  color: var(--py-cyan);
  font-size: 1.15rem;
}

.release-platform {
  margin: 0.65rem 0 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 1.75rem 0 2rem;
  text-align: left;
}

.release-grid dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}

.release-grid dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: #fff;
}

.release-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.release-actions .btn {
  min-width: min(100%, 280px);
}

.release-actions a:not(.btn) {
  color: var(--py-cyan);
  font-size: 0.95rem;
}
  font-size: 0.95rem;
}

.changelog {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--border-soft);
}

.changelog li {
  padding: 0 0 1.75rem 1.5rem;
  position: relative;
}

.changelog li::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 0.35rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--py-cyan);
}

.changelog time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--py-teal);
  display: block;
  margin-bottom: 0.35rem;
}

/* ——— Guides ——— */
.guides-layout {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 2rem 2.75rem;
  align-items: start;
}

.guides-rail {
  position: sticky;
  top: calc(var(--nav-h) + 1.25rem);
  padding: 1rem 1rem 1rem 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.guides-rail .eyebrow {
  margin-bottom: 0.85rem;
}

.guides-rail a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.45rem 0.75rem 0.45rem 0;
  border-left: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.guides-rail a:hover {
  color: var(--py-cyan);
  border-left-color: rgba(32, 212, 213, 0.55);
}

.article-block {
  margin-bottom: 3.5rem;
  text-align: left;
  max-width: 720px;
}

.article-block h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.article-block .feature-shot {
  max-width: 100%;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.steps li {
  counter-increment: step;
  padding: 1rem 0 1rem 3rem;
  position: relative;
  border-bottom: 1px solid var(--border-soft);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--py-cyan);
}

.callout {
  border-left: 3px solid;
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 8px 8px 0;
  transition:
    transform 0.3s var(--ease),
    background 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.callout:hover {
  transform: translateX(3px);
  background: rgba(32, 212, 213, 0.05);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.callout-info {
  border-color: var(--py-teal);
}

.callout-warning {
  border-color: #c4b24a;
}

.callout-tip {
  border-color: var(--py-green);
}

.callout strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

/* ——— FAQ ——— */
.faq-hero {
  text-align: center;
  padding: 4.5rem 0 2rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding-bottom: 5rem;
}

.faq-cats button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-left: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
}

.faq-cats button.is-active,
.faq-cats button:hover {
  color: var(--text-main);
  border-left-color: var(--py-cyan);
}

.accordion-item {
  border-bottom: 1px solid var(--border-soft);
  background: transparent;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: transparent;
  border: 0;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  text-align: left;
  padding: 1.25rem 0.25rem;
  cursor: pointer;
  transition: color 0.2s;
}

.accordion-trigger:hover {
  color: var(--py-cyan);
}

.accordion-icon {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: transform 0.25s var(--ease), color 0.2s;
  line-height: 1;
}

.accordion-item.is-open .accordion-icon {
  transform: rotate(45deg);
  color: var(--py-cyan);
}

.accordion-panel {
  display: none;
  padding: 0 0.25rem 1.35rem;
  color: var(--text-muted);
  max-width: 65ch;
}

.accordion-item.is-open .accordion-panel {
  display: block;
}

/* ——— Trust ——— */
.trust-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  max-width: 16ch;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.trust-hero.is-centered .eyebrow {
  display: inline-flex;
}

.verify-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--border-soft);
  align-items: start;
}

.verify-row svg {
  margin-top: 0.2rem;
  color: var(--py-green);
}

.verify-row h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.verify-row p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.meta-line {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.5rem;
}

/* ——— Breadcrumbs ——— */
.breadcrumbs {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs span {
  margin: 0 0.4rem;
  color: var(--text-dim);
}

/* ——— Lightbox ——— */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1.5rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 88vh;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.25rem;
}

/* ——— 404 ——— */
.page-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 4rem 1.25rem;
}

.page-404 h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
}

/* ——— Responsive ——— */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.grid-2-start {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
}

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

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

  .nav-toggle {
    display: inline-flex;
  }

  .split-editorial,
  .heading-left-right,
  .mosaic,
  .features-intro,
  .feature-alt,
  .feature-alt.reverse,
  .guides-layout,
  .faq-layout,
  .footer-top,
  .release-grid,
  .grid-2,
  .grid-2-start {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .mosaic-large {
    grid-row: auto;
    min-height: 280px;
  }

  .split-editorial .shot {
    margin-right: 0;
  }

  .feature-rail,
  .guides-rail {
    position: static;
    border-left: 0;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }

  .hero-visual {
    opacity: 1;
  }

  .hero-bg {
    inset: -8% -8% -10% -4%;
    animation: none;
    background-size: auto 95%;
    background-position: 88% 8%;
  }

  .hero-art {
    top: 0;
    right: 0;
    left: 0;
    bottom: auto;
    width: 100%;
    height: 46%;
  }

  .hero-mark {
    top: 42%;
    left: 66%;
    width: clamp(72px, 14vw, 92px);
    height: clamp(72px, 14vw, 92px);
  }

  .hero-visual::before {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.72) 62%,
      #000 100%
    );
  }

  .hero-visual::after {
    background: linear-gradient(180deg, transparent 40%, #000 100%);
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

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

  .ai-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: 3rem 0 3.5rem;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 11vw, 3.2rem);
    max-width: 12ch;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn,
  .hero-ctas .btn-pill {
    width: 100%;
  }

  .nav-actions .btn-primary {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-bg,
  .hero-content,
  .panel,
  .jb-card,
  .jb-panel,
  .jb-features-blurb,
  .callout,
  .btn,
  .ide-frame img,
  .accordion-icon {
    animation: none !important;
    transition: none !important;
  }
}

/* ——— Official-style homepage bands ——— */
.btn-ghost-pill,
.btn-light-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.btn-ghost-pill {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
}

.btn-ghost-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateY(-1px);
}

.btn-light-pill {
  border: 0;
  background: #fff;
  color: #0a0a0a;
}

.btn-light-pill:hover {
  background: #e8e8e8;
  color: #0a0a0a;
  transform: translateY(-1px);
}

.jb-ai,
.jb-focus,
.jb-usecase,
.jb-features,
.jb-voices,
.jb-business,
.jb-journey {
  padding: 4.5rem 0;
  background: #000;
}

.jb-ai-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.jb-ai-head h2,
.jb-section-title,
.jb-focus-title,
.jb-usecase h2,
.jb-voices h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  letter-spacing: -0.035em;
  font-weight: 700;
  line-height: 1.15;
}

.jb-ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.jb-card,
.jb-panel {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(165deg, rgba(32, 212, 213, 0.06), transparent 42%),
    #0c1414;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem 1.6rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.jb-card::before,
.jb-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.045) 42%,
    transparent 68%
  );
  opacity: 0;
  transform: translateX(-30%);
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
}

.jb-card::after,
.jb-panel::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(180deg, var(--py-cyan), #21d789);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.jb-card:hover,
.jb-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(32, 212, 213, 0.38);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(32, 212, 213, 0.12),
    0 0 28px rgba(32, 212, 213, 0.08);
}

.jb-card:hover::before,
.jb-panel:hover::before {
  opacity: 1;
  transform: translateX(20%);
}

.jb-card:hover::after,
.jb-panel:hover::after {
  opacity: 1;
}

.jb-card h3,
.jb-panel h3 {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  transition: color 0.25s var(--ease);
}

.jb-card:hover h3,
.jb-panel:hover h3 {
  color: #e8fffe;
}

.jb-card p,
.jb-panel p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.jb-ai-grid .jb-card,
.jb-duo .jb-panel {
  animation: panelRise 0.7s var(--ease) both;
}

.jb-ai-grid .jb-card:nth-child(1) { animation-delay: 0.05s; }
.jb-ai-grid .jb-card:nth-child(2) { animation-delay: 0.12s; }
.jb-ai-grid .jb-card:nth-child(3) { animation-delay: 0.18s; }
.jb-ai-grid .jb-card:nth-child(4) { animation-delay: 0.24s; }
.jb-duo .jb-panel:nth-child(1) { animation-delay: 0.08s; }
.jb-duo .jb-panel:nth-child(2) { animation-delay: 0.16s; }

@keyframes panelRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.jb-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.jb-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.jb-pill img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.jb-focus-title .accent {
  color: #21d789;
}

.jb-panel-tools {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  margin: 2.25rem 0 1rem;
  padding: 1.75rem;
}

.jb-tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.jb-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 0.5rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.jb-tool img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.jb-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.jb-icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  display: grid;
  place-items: center;
  color: #fff;
}

.jb-icon-rocket,
.jb-icon-check {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid #fff;
  border-radius: 2px;
}

.jb-icon-check {
  border-radius: 50%;
  position: relative;
}

.jb-icon-check::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 1px;
  width: 4px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.jb-icon-rocket {
  clip-path: polygon(50% 0, 100% 70%, 70% 70%, 70% 100%, 30% 100%, 30% 70%, 0 70%);
  background: #fff;
  border: 0;
}

.jb-seg {
  display: inline-flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.jb-seg button {
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: #fff;
  padding: 0.55rem 1.15rem;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.jb-seg button.is-active,
.jb-seg button[aria-selected="true"] {
  border-color: rgba(255, 255, 255, 0.75);
}

.jb-seg-lg {
  margin-bottom: 1.75rem;
}

.jb-usecase-panel[hidden] {
  display: none !important;
}

.jb-usecase-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 1.25rem;
  align-items: stretch;
  margin-top: 1.5rem;
}

.jb-features-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(420px, 1.55fr);
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.5rem;
}

.jb-media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0a0c0c;
  min-height: 280px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 20px 50px rgba(0, 0, 0, 0.55),
    0 6px 16px rgba(0, 0, 0, 0.35);
}

.jb-usecase-grid .jb-media {
  position: relative;
  width: 100%;
  min-height: 440px;
  aspect-ratio: 16 / 10;
  align-self: stretch;
}

.jb-media video,
.jb-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 280px;
  border-radius: inherit;
}

.jb-usecase-grid .jb-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  background: #0a0c0c;
}

.jb-features-media {
  min-height: 480px;
  align-self: stretch;
}

.jb-features-media video {
  min-height: 480px;
  object-fit: contain;
  background: #050808;
}

.jb-usecase-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
  height: 100%;
}

.jb-mini-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.jb-features-blurb {
  margin: 0 0 0.85rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.jb-features-blurb:hover {
  transform: translateY(-2px);
  border-color: rgba(32, 212, 213, 0.35);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(32, 212, 213, 0.08);
}

.jb-feature-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.jb-feature-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.jb-feature-list li.is-active {
  padding-bottom: 0.35rem;
}

.jb-feature-list button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--text-muted);
  font: inherit;
  font-weight: 600;
  padding: 0.95rem 0.2rem;
  cursor: pointer;
}

.jb-feature-list li.is-active button {
  color: #fff;
  padding-bottom: 0.55rem;
}

.jb-voices .wrap {
  margin-bottom: 1.75rem;
}

.jb-carousel {
  overflow: hidden;
}

.jb-carousel-track {
  display: flex;
  gap: 1rem;
  padding: 0 max(1.25rem, calc((100vw - 1240px) / 2));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}

.jb-carousel-track::-webkit-scrollbar {
  display: none;
}

.jb-voice-card {
  flex: 0 0 min(360px, 82vw);
  scroll-snap-align: center;
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
  background: var(--card-tint, #0c1e1e);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.jb-voice-card:hover {
  transform: translateY(-4px);
  border-color: rgba(32, 212, 213, 0.32);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(32, 212, 213, 0.08);
}

.jb-voice-person {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}

.jb-voice-person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.jb-voice-person strong {
  display: block;
  font-size: 0.98rem;
}

.jb-voice-person span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.jb-voice-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.jb-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.jb-carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  line-height: 1;
}

.jb-carousel-status {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.jb-business-card {
  position: relative;
  border: 1px solid #f5e64b;
  border-radius: 18px;
  padding: 3rem 1.75rem 1.75rem;
  text-align: center;
}

.jb-business-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #f5e64b;
  color: #111;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
}

.jb-business-card h2 {
  margin: 0 auto 1.75rem;
  max-width: 28ch;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
}

.jb-business-card h2 em {
  color: #f5e64b;
  font-style: normal;
}

.jb-biz-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.25rem;
  margin-bottom: 1.75rem;
  opacity: 0.88;
}

.jb-biz-logos img {
  width: auto;
  height: 36px;
  max-width: 130px;
  object-fit: contain;
  filter: none;
}

.jb-biz-logos img[alt="NASA"],
.jb-biz-logos img[alt="BMW"],
.jb-biz-logos img[alt="Tesla"] {
  height: 48px;
  max-width: 56px;
}

.jb-compliance {
  display: flex;
  gap: 1.25rem;
  text-align: left;
  align-items: center;
  background: rgba(12, 40, 40, 0.65);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
}

.jb-compliance h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.jb-compliance p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.jb-compliance a {
  color: var(--py-cyan);
}

.jb-journey-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 320px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #070b0b;
}

.jb-journey-copy {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
}

.jb-journey-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.jb-journey-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.jb-journey-meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.jb-journey-art {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.35)),
    url("../media/legacy-aurora-green.png?v=soft5") center / cover no-repeat;
  min-height: 240px;
}

@media (max-width: 960px) {
  .jb-ai-grid,
  .jb-panel-tools,
  .jb-duo,
  .jb-usecase-grid,
  .jb-features-grid,
  .jb-journey-card {
    grid-template-columns: 1fr;
  }

  .jb-features-media,
  .jb-features-media video {
    min-height: 320px;
  }

  .jb-usecase-grid .jb-media {
    min-height: 280px;
    aspect-ratio: 16 / 10;
  }

  .jb-tool-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .jb-compliance {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .jb-tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .jb-ai,
  .jb-focus,
  .jb-usecase,
  .jb-features,
  .jb-voices,
  .jb-business,
  .jb-journey {
    padding: 3.25rem 0;
  }
}
