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

:root {
  --navy: #11296b;
  --blue: #00509d;
  --paper: #ededed;
  --white: #ffffff;
  --yellow: #ffcb05;
  --yellow-soft: #ffdb57;
  --gold: #d39b00;
  --blue-tint: #f3f7fc;
  --ink: #0d1838;
  --body: #314468;
  --muted: #687799;
  --line: rgba(17, 41, 107, 0.14);
  --line-strong: rgba(17, 41, 107, 0.24);
  --shadow: 0 24px 70px rgba(17, 41, 107, 0.13);
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

body {
  min-width: 320px;
  padding-top: var(--nav-height);
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  padding: 0 clamp(1rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.58));
  border-bottom: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 44px rgba(17, 41, 107, 0.1);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}

.nav-logo,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  font-family: "Outfit", Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0;
}

.nav-logo {
  transition: color 180ms ease, transform 180ms ease;
}

.nav-logo img,
.footer-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav-logo img {
  transition: transform 220ms ease, filter 220ms ease;
}

.nav-logo:hover {
  color: var(--blue);
  transform: translateY(-1px);
}

.nav-logo:hover img {
  transform: translateY(-1px) scale(1.08);
  filter:
    drop-shadow(0 0 10px rgba(255, 203, 5, 0.55))
    drop-shadow(0 8px 18px rgba(0, 80, 157, 0.18));
}

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  list-style: none;
}

.nav-links a,
.footer-links a {
  color: var(--body);
  font-size: 0.9rem;
  font-weight: 750;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--blue);
}

.nav-cta {
  color: var(--navy) !important;
  background: var(--yellow);
  padding: 0.62rem 0.9rem;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(255, 203, 5, 0.28);
}

.nav-link-strong {
  color: var(--navy) !important;
  padding: 0.56rem 0.78rem;
  border: 1px solid rgba(17, 41, 107, 0.18);
  border-radius: 6px;
  background: var(--white);
}

.nav-cta:hover,
.nav-link-strong:hover {
  transform: translateY(-1px);
}

.burger {
  display: none;
  width: 38px;
  height: 38px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 220ms ease, opacity 160ms ease;
}

.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: calc(100svh - 72px);
  padding: clamp(3rem, 6vw, 5.5rem) 0 2rem;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.88fr);
  gap: clamp(3.5rem, 8vw, 7rem);
  align-items: center;
}

.hero-content {
  min-width: 0;
  max-width: 660px;
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--blue);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  gap: 0.5rem;
  padding: 0.48rem 0.68rem;
  border: 1px solid rgba(0, 80, 157, 0.18);
  border-radius: 999px;
  background: var(--white);
}

.eyebrow.muted {
  color: var(--body);
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(211, 155, 0, 0.16);
}

.section-kicker {
  gap: 0.55rem;
}

.license-badge {
  color: var(--navy);
  border-color: rgba(211, 155, 0, 0.34);
  background: rgba(255, 203, 5, 0.2);
}

.hero h1 {
  max-width: 620px;
  color: var(--navy);
  font-family: "Outfit", Arial, sans-serif;
  font-size: clamp(3.35rem, 7.2vw, 6.7rem);
  font-weight: 900;
  line-height: 0.93;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 560px;
  margin-top: 1.35rem;
  color: var(--body);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

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

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.08rem;
  border-radius: 6px;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.btn-primary {
  color: var(--navy);
  background: linear-gradient(180deg, var(--yellow-soft), var(--yellow));
  box-shadow: 0 16px 32px rgba(211, 155, 0, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 20px 38px rgba(211, 155, 0, 0.34);
}

.btn-secondary {
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--navy);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}

.btn-secondary:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  width: min(560px, 100%);
  margin-top: 2rem;
}

.hero-proof div {
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.hero-proof dt {
  color: var(--navy);
  font-family: "Outfit", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
}

.hero-proof dd {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.35;
}

.hero-visual {
  position: relative;
  min-width: 0;
  width: min(640px, 100%);
  justify-self: end;
  display: grid;
}

.brand-poster,
.browser-frame,
.terminal-card,
.video-card,
.theme-grid article,
.features-grid article,
.proof-panel,
.audience-grid article,
.architecture-diagram,
.arch-node,
.steps div,
.path-card,
.surface-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.brand-poster {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  background: #070c1d;
  box-shadow: var(--shadow);
}

.brand-poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.mascot-poster {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.mascot-poster img {
  width: min(142%, 820px);
  max-width: none;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 48px rgba(17, 41, 107, 0.18));
}

.release-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem 1rem;
  align-items: center;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(17, 41, 107, 0.16);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 14px 36px rgba(17, 41, 107, 0.08);
}

.release-card span {
  color: var(--blue);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.release-card strong {
  display: block;
  font-family: "Outfit", Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.1;
}

.release-card p {
  grid-column: 1 / -1;
  color: var(--body);
  font-size: 0.86rem;
  line-height: 1.45;
}

.ticker {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--white);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 2.2rem;
  padding: 0.72rem 0;
  animation: ticker 46s linear infinite;
}

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

.ticker span {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  color: var(--body);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-transform: uppercase;
}

.ticker span::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--yellow);
}

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

main > section {
  position: relative;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5.2rem) 0;
}

.feature-section,
.architecture-section {
  isolation: isolate;
}

.feature-section::before,
.architecture-section::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: var(--blue-tint);
}

.section-copy {
  max-width: 680px;
}

.section-copy.centered {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.section-copy h2,
.cta-section h2 {
  margin-top: 0.85rem;
  color: var(--navy);
  font-family: "Outfit", Arial, sans-serif;
  font-size: clamp(2.1rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
}

.section-copy p,
.cta-section p {
  margin-top: 1rem;
  color: var(--body);
  font-size: 1.03rem;
  line-height: 1.75;
}

.product-section,
.architecture-section,
.split-section,
.comparison-band,
.migration-section,
.quickstart-section,
.developer-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.architecture-section {
  grid-template-columns: 1fr;
}

.architecture-section .section-copy {
  max-width: 780px;
}

.product-showcase,
.visual-stack {
  display: grid;
  gap: 1rem;
}

.browser-frame {
  box-shadow: var(--shadow);
}

.proof-panel {
  border-color: var(--line-strong);
  box-shadow: 0 18px 42px rgba(17, 41, 107, 0.1);
}

.browser-bar,
.terminal-head {
  min-height: 38px;
  padding: 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 1px solid var(--line);
  background: #f7f8fb;
}

.browser-bar span,
.terminal-head span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}

.browser-bar span:nth-child(1),
.terminal-head span:nth-child(1) { background: #e4625d; }
.browser-bar span:nth-child(2),
.terminal-head span:nth-child(2) { background: var(--yellow); }
.browser-bar span:nth-child(3),
.terminal-head span:nth-child(3) { background: #4ea866; }

.browser-bar p,
.terminal-head p {
  margin-left: 0.5rem;
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.68rem;
}

.browser-frame img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: top;
}

.split-section .browser-frame img {
  height: clamp(340px, 42vw, 530px);
  max-height: none;
  object-fit: cover;
  object-position: top left;
}

.proof-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.proof-panel div {
  padding: 1rem;
  border-right: 1px solid var(--line);
}

.proof-panel div:last-child {
  border-right: 0;
}

.proof-panel strong {
  display: block;
  color: var(--navy);
  font-family: "Outfit", Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
}

.proof-panel span {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.audience-section {
  padding-top: clamp(2rem, 5vw, 4rem);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.4rem;
}

.audience-grid article {
  padding: clamp(1.25rem, 3vw, 1.8rem);
  border-color: var(--line-strong);
  box-shadow: 0 18px 42px rgba(17, 41, 107, 0.09);
}

.audience-label {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.32rem 0.58rem;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 203, 5, 0.26);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.audience-grid h3,
.arch-node strong {
  display: block;
  color: var(--navy);
  font-family: "Outfit", Arial, sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1;
}

.audience-grid p,
.arch-node p {
  margin-top: 0.75rem;
  color: var(--body);
  font-size: 0.96rem;
  line-height: 1.65;
}

.audience-grid ul {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.2rem;
  padding-left: 0;
  list-style: none;
}

.audience-grid li {
  position: relative;
  padding-left: 1.05rem;
  color: var(--body);
  font-size: 0.92rem;
  font-weight: 700;
}

.audience-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
}

.architecture-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1fr) 98px minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.45rem);
  padding: clamp(1rem, 2vw, 1.35rem);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.architecture-diagram > :nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.architecture-diagram > :nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.architecture-diagram > :nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

.architecture-diagram > :nth-child(4) {
  grid-column: 4;
  grid-row: 1;
}

.architecture-diagram > :nth-child(5) {
  grid-column: 5;
  grid-row: 1;
}

.arch-node {
  min-height: 230px;
  padding: clamp(1.25rem, 2vw, 1.6rem);
  border-color: rgba(17, 41, 107, 0.16);
  background: var(--white);
}

.arch-node span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 1.55rem;
  margin-bottom: 1.1rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  color: var(--navy);
  background: var(--yellow);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 850;
}

.arch-connector {
  align-self: center;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  min-height: 34px;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(0, 80, 157, 0.2);
  border-radius: 999px;
  color: var(--blue);
  background: var(--blue-tint);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.mini-grid,
.features-grid,
.surface-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.mini-grid div,
.features-grid article,
.surface-card,
.path-card {
  padding: 1.2rem;
}

.mini-grid strong,
.features-grid h3,
.theme-grid strong,
.surface-card strong,
.path-card strong,
.steps span {
  display: block;
  color: var(--navy);
  font-family: "Outfit", Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: 900;
}

.mini-grid span,
.features-grid p,
.theme-grid span,
.surface-card span,
.path-card p {
  display: block;
  margin-top: 0.45rem;
  color: var(--body);
  font-size: 0.9rem;
  line-height: 1.6;
}

.features-grid,
.surface-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 3rem;
}

.features-grid article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  min-width: 2rem;
  min-height: 1.55rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  color: var(--navy);
  background: var(--yellow);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.surface-card > span:first-child {
  display: inline-flex;
  margin-bottom: 1.25rem;
  color: var(--blue);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.comparison-band {
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100% - 1180px) / 2));
  background: var(--white);
  border-block: 1px solid var(--line);
}

.compare-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
}

.compare-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--body);
  font-size: 0.94rem;
}

.compare-table th {
  color: var(--navy);
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 900;
  background: #f5f7fb;
}

.compare-table tr:last-child td {
  border-bottom: 0;
}

.compare-table td:nth-child(3) {
  color: var(--navy);
  font-weight: 800;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.steps div {
  padding: 1.25rem;
}

.steps strong {
  display: block;
  color: var(--blue);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.78rem;
  margin-bottom: 1.2rem;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.path-card {
  min-height: 210px;
}

.path-card ul {
  margin-top: 1rem;
  padding-left: 1.1rem;
  color: var(--body);
  font-size: 0.9rem;
}

.path-card li + li {
  margin-top: 0.35rem;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.theme-grid img {
  width: 100%;
  height: clamp(190px, 18vw, 235px);
  object-fit: cover;
  object-position: top;
  cursor: zoom-in;
}

.theme-grid img.theme-mascot {
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: #eef3fb;
}

.theme-grid article div {
  padding: 1rem;
  border-top: 1px solid var(--line);
}

.terminal-card {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.terminal-card .terminal-head {
  background: #0d2259;
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.terminal-card pre {
  padding: 1.25rem;
  overflow-x: auto;
  color: rgba(237, 237, 237, 0.92);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.9;
}

.terminal-card code span {
  color: var(--yellow-soft);
}

.video-section {
  text-align: center;
}

.video-card {
  position: relative;
  display: block;
  width: min(920px, 100%);
  margin: 3rem auto 0;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow);
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card span {
  position: absolute;
  inset: auto auto 1rem 1rem;
  padding: 0.65rem 0.8rem;
  border-radius: 6px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 900;
}

.cta-section {
  text-align: center;
  max-width: 860px;
}

.cta-section .section-kicker {
  margin-inline: auto;
}

.cta-note {
  color: var(--muted) !important;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.78rem !important;
}

footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
}

footer p {
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.72rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.toast {
  position: fixed;
  right: 1.25rem;
  bottom: clamp(2rem, 8vh, 4.5rem);
  z-index: 10001;
  width: min(380px, calc(100vw - 2.5rem));
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 203, 5, 0.24), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 28px 70px rgba(17, 41, 107, 0.18);
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.toast::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 8px 0 0 8px;
  background: linear-gradient(180deg, var(--yellow), var(--blue));
}

.toast.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.toast-x-close {
  position: absolute;
  top: 0.65rem;
  right: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.4rem;
}

.toast-title {
  padding-right: 1.8rem;
  color: var(--navy);
  font-family: "Outfit", Arial, sans-serif;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.05;
}

.toast-title span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(255, 203, 5, 0.18);
}

.toast-desc {
  margin-top: 0.65rem;
  color: var(--body);
  font-size: 0.9rem;
  line-height: 1.55;
}

.toast-actions {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.toast-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.6rem 0.82rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.toast-btn-primary {
  color: var(--navy);
  background: linear-gradient(180deg, var(--yellow-soft), var(--yellow));
  box-shadow: 0 10px 24px rgba(255, 203, 5, 0.28);
}

.toast-btn:hover {
  transform: translateY(-1px);
}

.toast-btn-primary:hover {
  box-shadow: 0 14px 30px rgba(255, 203, 5, 0.34);
}

.toast-btn-secondary {
  color: var(--navy);
  border: 1px solid var(--line);
  background: var(--white);
}

#lightbox {
  position: fixed;
  z-index: 20000;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(13, 24, 56, 0.88);
  cursor: zoom-out;
  backdrop-filter: blur(10px);
}

#lightbox.active {
  display: flex;
}

#lightbox img {
  max-width: 92%;
  max-height: 86%;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .hero,
  .product-section,
  .architecture-section,
  .split-section,
  .comparison-band,
  .migration-section,
  .quickstart-section,
  .developer-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 2.5rem;
    padding-bottom: 3rem;
  }

  .hero-visual {
    justify-self: center;
    width: min(520px, 100%);
    margin-bottom: 1rem;
  }

  .mascot-poster {
    overflow: hidden;
  }

  .mascot-poster img {
    width: min(116%, 590px);
    max-width: none;
  }

  .features-grid,
  .surface-grid,
  .audience-grid,
  .theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .architecture-diagram {
    grid-template-columns: 1fr;
  }

  .architecture-diagram > * {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .arch-connector {
    justify-self: center;
    min-width: 92px;
    margin-inline: 0;
  }
}

@media (max-width: 820px) {
  .burger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-links li:last-child a {
    border-bottom: 0;
    margin-top: 0.5rem;
    text-align: center;
  }

  .hero {
    width: min(100% - 1.5rem, 1220px);
    padding-top: 2.8rem;
    padding-bottom: 3.25rem;
    gap: 2rem;
  }

  .hero-visual {
    width: min(455px, 100%);
    margin-top: 0.25rem;
    margin-bottom: 1.4rem;
  }

  .mascot-poster img {
    width: 112%;
  }

  .hero-proof,
  .proof-panel,
  .mini-grid,
  .features-grid,
  .audience-grid,
  .surface-grid,
  .theme-grid,
  .steps,
  .path-grid {
    grid-template-columns: 1fr;
  }

  .proof-panel div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-panel div:last-child {
    border-bottom: 0;
  }

  .split-section .visual-stack {
    order: 2;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .ticker-track {
    gap: 1.9rem;
    padding: 0.68rem 0;
  }

  .ticker span {
    gap: 1.9rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 540px) {
  body {
    --nav-height: 66px;
  }

  .site-nav {
    height: var(--nav-height);
  }

  .nav-links {
    top: 66px;
  }

  .hero {
    width: min(100% - 1.25rem, 1220px);
    padding-top: 2.4rem;
    padding-bottom: 2.8rem;
    gap: 1.8rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .hero-visual {
    width: min(385px, 100%);
    margin-top: 0.4rem;
    margin-bottom: 1.25rem;
  }

  .mascot-poster img {
    width: 112%;
  }

  .ticker-track {
    gap: 1.55rem;
    padding: 0.58rem 0;
  }

  .ticker span {
    gap: 1.55rem;
    font-size: 0.75rem;
  }

  .hero-actions,
  .hero-actions.center {
    display: grid;
    grid-template-columns: 1fr;
  }

  .compare-table {
    min-width: 500px;
  }

  .toast {
    left: 0.75rem;
    right: auto;
    bottom: 1rem;
    width: calc(100dvw - 1.5rem);
    max-width: 360px;
    padding: 1.1rem;
  }

  .toast-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
