:root {
  color-scheme: dark;
  --bg: #050607;
  --bg-soft: #080a0d;
  --panel: rgba(14, 17, 21, 0.78);
  --panel-strong: rgba(8, 10, 13, 0.94);
  --line: rgba(99, 110, 122, 0.28);
  --line-strong: rgba(127, 139, 151, 0.46);
  --text: #e9edf4;
  --muted: #929ca9;
  --soft: #626c78;
  --green: #43e37f;
  --blue: #35baf6;
  --violet: #6e35f2;
  --orange: #ff7417;
  --yellow: #ffc529;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.mono, .eyebrow, .kicker, .tiny, .button, .nav-links, .metric-label, .plan-label, .popular, .footer-bottom {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

::selection { background: var(--yellow); color: #090909; }
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2b3038; border-radius: 999px; }

.wrap { width: min(1420px, calc(100vw - 48px)); margin: 0 auto; }
.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.orb { position: fixed; border-radius: 50%; pointer-events: none; filter: blur(130px); z-index: -1; }
.orb-one { width: 680px; height: 680px; top: -330px; right: -240px; background: rgba(93, 46, 230, 0.17); }
.orb-two { width: 560px; height: 560px; bottom: -300px; left: -260px; background: rgba(0, 174, 255, 0.1); }

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(69, 77, 88, 0.35);
  background: rgba(5, 6, 7, 0.8);
  backdrop-filter: blur(16px);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.nav.scrolled { border-color: rgba(101, 113, 128, 0.52); background: rgba(5, 6, 7, 0.93); }
.nav-inner { min-height: 74px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 0; }
.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #08090a;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 1.04rem; letter-spacing: -0.03em; }
.brand-copy span { margin-top: 5px; color: #7d8793; font: 0.64rem/1 ui-monospace, monospace; letter-spacing: 0.13em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 28px; margin-left: auto; }
.nav-links a { color: #8c96a2; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; transition: color 0.2s ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: white; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 23px;
  border: 1px solid rgba(103, 115, 128, 0.55);
  border-radius: 999px;
  background: rgba(15, 18, 22, 0.85);
  color: #dce2e9;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); border-color: #909aa6; background: #13171c; }
.button.primary { color: #070707; border-color: transparent; background: linear-gradient(100deg, var(--yellow), var(--orange)); box-shadow: 0 10px 34px rgba(255, 116, 23, 0.2); }
.button.primary:hover, .button.primary:focus-visible { box-shadow: 0 13px 44px rgba(255, 116, 23, 0.32); }
.button.small { min-height: 40px; padding: 0 18px; }
.kofi-button {
  gap: 9px;
  border-color: rgba(255, 90, 22, 0.62);
  background: rgba(255, 90, 22, 0.09);
  box-shadow: 0 8px 28px rgba(255, 90, 22, 0.1);
}
.kofi-button:hover, .kofi-button:focus-visible { border-color: #ff7540; background: rgba(255, 90, 22, 0.16); box-shadow: 0 10px 34px rgba(255, 90, 22, 0.2); }
.kofi-button img { width: 66px; height: auto; }
.kofi-prefix { color: #f2f4f7; }
.button.pending { cursor: not-allowed; color: #777f89; border-color: #303842; background: #0c0f12; box-shadow: none; }
.button.pending:hover { transform: none; }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 122px 0 72px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.46;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 45%, transparent 94%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .74fr); align-items: center; gap: clamp(40px, 6vw, 94px); }
.status-line { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.status-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 15px rgba(67, 227, 127, 0.9); }
.status-dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--green); animation: ping 2s ease-out infinite; }
.eyebrow, .kicker { color: var(--green); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; }
.hero h1 { max-width: 900px; margin: 0; color: white; font-size: clamp(4rem, 7.1vw, 7.8rem); line-height: 0.91; letter-spacing: -0.065em; }
.hero h1 span { color: #737c87; }
.hero-lead { max-width: 750px; margin: 30px 0 0; color: #abb4bf; font-size: clamp(1.06rem, 1.5vw, 1.34rem); font-weight: 300; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 9px 23px; margin-top: 28px; color: #6f7984; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; }
.hero-meta span::before { content: "+"; margin-right: 8px; color: var(--blue); }

.hero-visual { position: relative; min-height: 680px; margin: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 28px; background: #08090b; box-shadow: var(--shadow); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,5,6,.91), transparent 43%, rgba(4,5,6,.08)); pointer-events: none; }
.hero-visual img { width: 100%; height: 100%; min-height: 680px; object-fit: cover; object-position: 50% 48%; }
.hero-visual figcaption { position: absolute; z-index: 2; inset: auto 0 0; padding: 28px; }
.hero-visual figcaption .tiny { color: #89939e; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; }
.hero-visual figcaption strong { display: block; max-width: 430px; margin-top: 8px; font-size: 1.08rem; line-height: 1.45; }
.corner { position: absolute; z-index: 3; width: 21px; height: 21px; border-color: rgba(255, 197, 41, 0.8); border-style: solid; }
.corner.tl { top: 12px; left: 12px; border-width: 1px 0 0 1px; }
.corner.tr { top: 12px; right: 12px; border-width: 1px 1px 0 0; }
.corner.bl { bottom: 12px; left: 12px; border-width: 0 0 1px 1px; }
.corner.br { right: 12px; bottom: 12px; border-width: 0 1px 1px 0; }
.stream { position: absolute; top: -80px; width: 1px; height: 70px; background: linear-gradient(transparent, rgba(53,186,246,.6), transparent); animation: stream 5s linear infinite; }
.stream-one { left: 14%; }.stream-two { left: 51%; animation-delay: 1.8s; }.stream-three { left: 84%; animation-delay: .7s; }

.language-band { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-soft); padding: 17px 24px; }
.aha-line { margin-bottom: 15px; color: #dce3eb; text-align: center; font-size: .72rem; letter-spacing: .09em; }
.language-track { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px 16px; color: #79838e; font-size: 0.66rem; letter-spacing: 0.13em; text-transform: uppercase; }
.language-track i { color: #3f4852; font-style: normal; }

.code-journey {
  position: relative;
  padding: 110px 0;
  overflow: clip;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 50% 40%, rgba(63,35,138,.18), transparent 38%), #040506;
}
.journey-sticky { position: relative; width: 100%; }
.journey-origin, .journey-space, .journey-intro, .journey-stages, .journey-progress { display: none; }
.journey-header { width: min(1420px, calc(100vw - 48px)); margin: 0 auto 46px; }
.journey-header h2 { margin: 13px 0 0; color: white; font-size: clamp(3rem, 5.2vw, 6.2rem); line-height: .92; letter-spacing: -.058em; }
.journey-card-stack { width: min(1180px, calc(100vw - 48px)); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0 auto; }
.journey-card {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: rgba(7, 9, 12, .96);
  box-shadow: 0 34px 110px rgba(0,0,0,.72);
}
.journey-card > header { min-height: 55px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; border-bottom: 1px solid var(--line); color: #87919d; font: .65rem/1 ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; }
.journey-card > header span { display: flex; align-items: center; gap: 10px; }
.journey-card > header em { color: #dbe2ea; font-style: normal; }
.stage-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 13px rgba(255,116,23,.8); }
.journey-card pre { min-height: 300px; margin: 0; padding: 28px 30px; overflow: auto; color: #cbd3dc; font: .86rem/1.85 ui-monospace, monospace; }
.journey-card > footer { min-height: 53px; display: flex; align-items: center; padding: 0 22px; border-top: 1px solid var(--line); color: #68727e; font: .66rem/1.45 ui-monospace, monospace; }
.target-card { border-color: rgba(53,186,246,.62); }
.target-card .stage-dot { background: var(--blue); box-shadow: 0 0 13px rgba(53,186,246,.8); }
.python-card { border-color: rgba(255,197,41,.55); }
.python-card .stage-dot { background: var(--yellow); box-shadow: 0 0 13px rgba(255,197,41,.75); }
.human-card { border-color: rgba(67,227,127,.58); }
.human-card .stage-dot { background: var(--green); box-shadow: 0 0 13px rgba(67,227,127,.8); }
.human-copy { position: relative; min-height: 300px; display: flex; align-items: center; padding: 42px 48px; }
.human-copy p { position: relative; z-index: 1; margin: 0; color: #d2dae3; font-size: clamp(1.18rem, 2vw, 1.55rem); font-weight: 300; line-height: 1.75; }
.journey-card pre.human-output { color: #d2dae3; font-size: .78rem; line-height: 1.7; white-space: pre-wrap; }
.quote-mark { position: absolute; top: 12px; left: 25px; color: rgba(67,227,127,.11); font: 9rem/1 Georgia, serif; }
.journey-finale { margin-top: 62px; text-align: center; }
.journey-finale strong { display: block; margin-top: 14px; color: white; font-size: clamp(2.5rem, 5vw, 5.5rem); letter-spacing: -.055em; }

.has-js .code-journey { height: 500vh; padding: 0; }
.has-js .journey-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; perspective: 1100px; background: #030405; }
.has-js .journey-origin { position: absolute; z-index: 4; inset: 0; display: block; overflow: hidden; pointer-events: none; }
.has-js .journey-origin img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 25%; transform-origin: 50% 50%; will-change: transform; }
.journey-origin-shade { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, transparent 0 12%, rgba(1,2,3,.18) 27%, rgba(1,2,3,.78) 100%); }
.journey-gateway { position: absolute; top: 50%; left: 50%; width: clamp(160px, 18vw, 250px); aspect-ratio: 1; transform: translate(-50%,-50%); border: 1px solid rgba(255,155,39,.68); border-radius: 50%; box-shadow: 0 0 24px rgba(255,116,23,.28), inset 0 0 30px rgba(255,116,23,.12); opacity: .6; will-change: transform, opacity; }
.journey-gateway::before, .journey-gateway::after { content: ""; position: absolute; border: 1px solid rgba(255,116,23,.25); border-radius: 50%; }
.journey-gateway::before { inset: 14%; }.journey-gateway::after { inset: -24%; border-color: rgba(53,186,246,.16); }
.has-js .journey-space { position: absolute; z-index: 1; inset: 0; display: block; overflow: hidden; opacity: 0; background: radial-gradient(circle at 50% 52%, rgba(55,37,112,.34), transparent 25%), linear-gradient(rgba(53,186,246,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(53,186,246,.025) 1px, transparent 1px), #030405; background-size: auto, 54px 54px, 54px 54px, auto; will-change: opacity, transform; }
.journey-space::before { content: ""; position: absolute; inset: -20%; background: repeating-radial-gradient(circle at center, transparent 0 70px, rgba(129,102,215,.065) 71px 72px); }
.tunnel-ring { position: absolute; top: 52%; left: 50%; width: min(72vw, 980px); aspect-ratio: 1; border: 1px solid rgba(110,53,242,.21); border-radius: 38%; transform: translate(-50%,-50%) rotate(45deg); box-shadow: inset 0 0 80px rgba(53,186,246,.025); }
.ring-two { width: min(50vw, 680px); border-color: rgba(53,186,246,.18); transform: translate(-50%,-50%) rotate(68deg); }
.ring-three { width: min(29vw, 390px); border-color: rgba(255,116,23,.21); transform: translate(-50%,-50%) rotate(28deg); }
.data-line { position: absolute; top: 52%; left: 50%; width: 68vw; height: 1px; transform-origin: left center; background: linear-gradient(90deg, rgba(53,186,246,.38), transparent 72%); }
.line-one { transform: rotate(18deg); }.line-two { transform: rotate(142deg); }.line-three { transform: rotate(222deg); }.line-four { transform: rotate(318deg); }
.has-js .journey-intro { position: absolute; z-index: 5; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 54px; text-align: center; pointer-events: none; will-change: opacity, transform; }
.journey-intro strong { margin-top: 11px; color: white; font-size: clamp(2rem, 4vw, 4.7rem); line-height: .98; letter-spacing: -.055em; text-shadow: 0 3px 24px black; }
.scroll-cue { position: relative; width: 27px; height: 44px; margin-top: 24px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; }
.scroll-cue i { position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; transform: translateX(-50%); border-radius: 99px; background: var(--orange); animation: scroll-cue 1.8s ease-in-out infinite; }
.has-js .journey-header { position: absolute; z-index: 3; top: 104px; left: max(24px, calc((100vw - 1420px) / 2)); width: auto; margin: 0; opacity: 0; pointer-events: none; will-change: opacity, transform; }
.has-js .journey-header h2 { font-size: clamp(2.7rem, 4.4vw, 5.5rem); }
.has-js .journey-card-stack { position: absolute; z-index: 3; inset: 0; width: 100%; display: block; margin: 0; pointer-events: none; transform-style: preserve-3d; }
.has-js .journey-card { position: absolute; top: 55%; left: 50%; width: min(720px, calc(100vw - 48px)); opacity: 0; transform: translate(-50%,-50%) scale(.65); filter: blur(6px); will-change: opacity, transform, filter; }
.has-js .journey-stages { position: absolute; z-index: 4; right: max(24px, calc((100vw - 1420px) / 2)); bottom: 45px; display: flex; align-items: center; gap: 10px; color: #55606c; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; opacity: 0; }
.journey-stages span { transition: color .2s ease, text-shadow .2s ease; }.journey-stages span.active { color: white; text-shadow: 0 0 14px rgba(53,186,246,.65); }.journey-stages i { width: 30px; height: 1px; background: #343c45; }
.has-js .journey-progress { position: absolute; z-index: 5; inset: auto 0 0; display: block; height: 3px; background: rgba(255,255,255,.08); }
.journey-progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--orange), var(--violet), var(--blue), var(--green)); box-shadow: 0 0 12px rgba(53,186,246,.5); will-change: width; }
.has-js .journey-finale { position: absolute; z-index: 4; top: 50%; left: 50%; width: min(960px, calc(100vw - 40px)); margin: 0; transform: translate(-50%,-42%) scale(.9); opacity: 0; pointer-events: none; will-change: opacity, transform; }
.has-js .journey-finale strong { font-size: clamp(3rem, 7vw, 8rem); line-height: .9; }

.section { padding: 118px 0; border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(320px, .74fr); gap: 70px; align-items: end; margin-bottom: 54px; }
.section h2, .cta h2 { margin: 14px 0 0; color: white; font-size: clamp(3rem, 5.2vw, 6.2rem); line-height: .94; letter-spacing: -.058em; }
.section-heading > p, .section-intro > p, .pricing-heading > p { margin: 0; color: var(--muted); font-size: 1.03rem; line-height: 1.78; }

.code-stage { display: grid; grid-template-columns: minmax(0, .92fr) 80px minmax(0, 1.08fr); gap: 22px; align-items: center; }
.code-window, .explanation-card { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--panel-strong); box-shadow: var(--shadow); }
.code-window header { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 17px; border-bottom: 1px solid var(--line); color: #9ca6b2; font: .7rem/1 ui-monospace, monospace; }
.code-window header em { margin-left: auto; color: #59636f; font-style: normal; text-transform: uppercase; }
.lights { display: flex; gap: 6px; }
.lights i { width: 8px; height: 8px; border-radius: 50%; background: #4a515b; }.lights i:first-child { background: var(--orange); }.lights i:nth-child(2) { background: var(--yellow); }.lights i:last-child { background: var(--green); }
.code-window pre { min-height: 330px; margin: 0; padding: 28px; overflow: auto; color: #cbd3dc; font: .88rem/1.8 ui-monospace, monospace; }
.purple { color: #be8cff; }.blue { color: #65c9ff; }.green { color: #58e38b; }.orange { color: #ff9d56; }
.conversion-rail { display: flex; align-items: center; justify-content: center; gap: 3px; color: var(--orange); font: 700 1.5rem/1 ui-monospace, monospace; text-shadow: 0 0 20px rgba(255,116,23,.65); }
.target-stack { display: grid; gap: 16px; }
.target-stack .code-window pre { min-height: 254px; }
.explanation-card { padding: 22px 25px; box-shadow: none; border-color: rgba(67,227,127,.28); }
.explanation-card p { margin: 10px 0 0; color: #aeb8c2; line-height: 1.65; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 54px; }
.workflow-grid article { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.workflow-grid article > span { color: var(--orange); font: .7rem/1 ui-monospace, monospace; }
.workflow-grid h3 { margin: 19px 0 8px; font-size: 1rem; }
.workflow-grid p { margin: 0; color: var(--muted); line-height: 1.65; font-size: .9rem; }
.expertise-bridge { margin-top: 20px; padding: clamp(28px, 4vw, 48px); border: 1px solid rgba(67,227,127,.3); border-radius: 22px; background: linear-gradient(115deg, rgba(67,227,127,.07), rgba(53,186,246,.03)); }
.expertise-bridge h3 { max-width: 980px; margin: 14px 0 0; color: white; font-size: clamp(1.65rem, 3vw, 3.2rem); line-height: 1.08; letter-spacing: -.04em; }
.expertise-bridge p { max-width: 1060px; margin: 20px 0 0; color: #9da8b4; font-size: 1rem; line-height: 1.75; }

.demo-section { background: linear-gradient(to bottom, transparent, rgba(20, 72, 95, .12), transparent); }
.demo-shell { margin-top: 52px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 26px; background: rgba(6, 8, 11, .96); box-shadow: var(--shadow); }
.demo-status { min-height: 48px; display: flex; align-items: center; gap: 11px; padding: 0 20px; border-bottom: 1px solid var(--line); color: #8994a0; font: .68rem/1.4 ui-monospace, monospace; letter-spacing: .04em; }
.demo-status-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 12px rgba(255, 197, 41, .7); }
.demo-status.ready .demo-status-dot { background: var(--green); box-shadow: 0 0 12px rgba(67, 227, 127, .7); }
.demo-status.error { color: #ff9c73; }.demo-status.error .demo-status-dot { background: var(--orange); box-shadow: 0 0 12px rgba(255, 116, 23, .7); }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); align-items: stretch; }
.demo-pane { min-width: 0; background: #080a0d; }
.demo-toolbar { min-height: 62px; display: grid; grid-template-columns: auto minmax(150px, 1fr) auto; align-items: center; gap: 13px; padding: 10px 14px 10px 18px; border-bottom: 1px solid var(--line); }
.demo-toolbar label { color: #77828e; font: .62rem/1 ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
.demo-toolbar select, .demo-toolbar button { min-height: 36px; border: 1px solid #333b45; border-radius: 9px; background: #10141a; color: #d5dbe2; font: .7rem/1 ui-monospace, monospace; }
.demo-toolbar select { width: 100%; padding: 0 31px 0 11px; }
.demo-toolbar button { padding: 0 12px; color: #929da9; cursor: pointer; }
.demo-toolbar button:hover:not(:disabled), .demo-toolbar button:focus-visible { border-color: #687584; color: white; }
.demo-toolbar :disabled { cursor: wait; opacity: .5; }
.demo-pane textarea, .demo-pane pre { width: 100%; height: 480px; margin: 0; padding: 26px; overflow: auto; border: 0; outline: 0; background: #080a0d; color: #cdd5de; font: .82rem/1.72 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; tab-size: 4; }
.demo-pane textarea { display: block; resize: vertical; }
.demo-pane textarea:focus, .demo-pane pre:focus { box-shadow: inset 0 0 0 1px rgba(53, 186, 246, .55); }
.demo-pane pre { white-space: pre; }.demo-pane pre code { font: inherit; }
.demo-arrow { display: grid; place-items: center; border-inline: 1px solid var(--line); color: var(--orange); background: #06080a; font: 700 1rem/1 ui-monospace, monospace; letter-spacing: -.12em; text-shadow: 0 0 18px rgba(255, 116, 23, .7); }
.demo-footer { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 18px 14px 22px; border-top: 1px solid var(--line); }
.demo-footer p { max-width: 900px; margin: 0; color: #77818d; font-size: .76rem; line-height: 1.6; }.demo-footer strong { color: var(--green); }

.split-grid { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: clamp(46px, 7vw, 104px); }
.section-intro { align-self: start; position: sticky; top: 116px; }
.section-intro h2 { font-size: clamp(2.8rem, 4.4vw, 5rem); }
.section-intro > p { margin-top: 25px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.stat-card { position: relative; overflow: hidden; min-height: 260px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); }
.stat-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent); }
.stat-card.wide { grid-column: 1 / -1; }
.metric-label, .plan-label { color: #7b8590; font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; }
.metric-value { display: block; margin-top: 22px; color: white; font-size: clamp(3.3rem, 6vw, 7rem); line-height: .85; letter-spacing: -.07em; }
.metric-value.accent-green { color: var(--green); }.metric-value.accent-violet { color: #9c70ff; font-size: clamp(2.6rem, 4.5vw, 5rem); }
.stat-card p { max-width: 620px; margin: 24px 0 0; color: var(--muted); line-height: 1.67; }
.language-cloud { min-height: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.language-cloud span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: #9ca6b0; font-size: .72rem; }

.boundary-grid { display: grid; grid-template-columns: minmax(360px, .82fr) minmax(0, 1fr); gap: clamp(50px, 8vw, 120px); align-items: center; }
.boundary-visual { position: relative; min-height: 590px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 26px; background: radial-gradient(circle at center, rgba(77,48,163,.25), transparent 42%), repeating-linear-gradient(0deg, transparent 0 42px, rgba(255,255,255,.025) 43px), #07090c; box-shadow: var(--shadow); }
.boundary-visual::before, .boundary-visual::after { content: ""; position: absolute; border: 1px solid rgba(84,98,114,.28); border-radius: 50%; }
.boundary-visual::before { width: 430px; height: 430px; }.boundary-visual::after { width: 300px; height: 300px; }
.boundary-visual img { position: relative; z-index: 2; width: 230px; filter: drop-shadow(0 0 45px rgba(53,186,246,.25)); }
.scanner-line { position: absolute; z-index: 3; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--green), transparent); box-shadow: 0 0 20px var(--green); animation: scanner 4.4s ease-in-out infinite; }
.badge { position: absolute; z-index: 4; min-width: 160px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(7,9,12,.88); backdrop-filter: blur(10px); }
.badge.top { top: 40px; right: 30px; }.badge.bottom { bottom: 40px; left: 30px; }
.badge small { display: block; color: #717c88; font: .58rem/1 ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
.badge strong { display: block; margin-top: 7px; color: var(--green); font: .85rem/1 ui-monospace, monospace; }
.large-copy { max-width: 720px; color: #adb6c0; font-size: 1.15rem; line-height: 1.75; }
.surface-list { display: grid; gap: 12px; margin-top: 32px; }
.surface-list article { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.surface-list b { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(53,186,246,.3); border-radius: 13px; color: var(--blue); font-family: ui-monospace, monospace; }
.surface-list h3 { margin: 1px 0 5px; font-size: .96rem; }.surface-list p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }

.local-card { position: relative; display: grid; grid-template-columns: 1fr .85fr; gap: 70px; padding: clamp(38px, 6vw, 78px); overflow: hidden; border: 1px solid var(--line-strong); border-radius: 28px; background: linear-gradient(130deg, rgba(20,24,29,.92), rgba(6,8,10,.92)); }
.local-card::after { content: "LOCAL"; position: absolute; right: -25px; bottom: -65px; color: rgba(255,255,255,.025); font-size: clamp(8rem, 17vw, 17rem); font-weight: 900; letter-spacing: -.08em; pointer-events: none; }
.local-copy { position: relative; z-index: 1; align-self: end; }.local-copy p { margin: 0; color: #aeb7c1; line-height: 1.75; }
.local-copy ul { display: grid; gap: 13px; margin: 28px 0 0; padding: 0; list-style: none; color: #87919d; font-size: .72rem; text-transform: uppercase; }
.local-copy li { display: flex; align-items: center; gap: 11px; }.local-copy li span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

.pricing-section { background: linear-gradient(to bottom, transparent, rgba(34,19,73,.14), transparent); }
.pricing-heading { text-align: center; }.pricing-heading > p { max-width: 680px; margin: 24px auto 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 510px)); justify-content: center; gap: 20px; margin-top: 52px; }
.price-card { position: relative; display: flex; flex-direction: column; min-height: 570px; padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: var(--panel-strong); }
.price-card.featured { border-color: rgba(255,116,23,.65); box-shadow: 0 24px 70px rgba(255,116,23,.08); }
.popular { position: absolute; top: 0; right: 30px; transform: translateY(-50%); padding: 8px 13px; border-radius: 999px; color: #090909; background: linear-gradient(90deg, var(--yellow), var(--orange)); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }
.price { display: flex; align-items: end; gap: 12px; margin-top: 32px; }.price strong { color: white; font-size: clamp(3.6rem, 6vw, 5.8rem); line-height: .82; letter-spacing: -.07em; }.price span { color: #77818d; font: .7rem/1.2 ui-monospace, monospace; text-transform: uppercase; }
.price-card > p { min-height: 76px; margin: 30px 0 0; color: var(--muted); line-height: 1.68; }
.price-card ul { display: grid; gap: 13px; margin: 27px 0 32px; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; color: #a8b1bc; font-size: .88rem; }
.price-card li::before { content: "✓"; margin-right: 10px; color: var(--green); }
.price-button { width: 100%; margin-top: auto; }
.pricing-note { max-width: 780px; margin-top: 25px; color: #68727e; text-align: center; font-size: .78rem; line-height: 1.65; }

.cta { padding: 120px 0; }.cta-card { display: flex; flex-direction: column; align-items: center; padding: 82px 32px; border: 1px solid var(--line-strong); border-radius: 28px; background: radial-gradient(circle at 50% 0, rgba(73,43,152,.3), transparent 45%), #080a0d; text-align: center; }
.cta-card > img { width: 108px; margin-bottom: 28px; border: 1px solid var(--line-strong); border-radius: 22px; }.cta-card h2 { max-width: 1000px; font-size: clamp(3rem, 5.3vw, 6rem); }
.footer { padding: 72px 0 30px; border-top: 1px solid var(--line); background: #040506; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 46px; }.footer-brand { margin-bottom: 18px; }.footer-grid p { max-width: 370px; color: #727c87; line-height: 1.65; }
.footer-grid h3 { margin: 0 0 17px; color: #8f99a5; font: .65rem/1 ui-monospace, monospace; letter-spacing: .13em; text-transform: uppercase; }.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: start; gap: 11px; }.footer-grid > div:not(:first-child) h3 { margin-bottom: 6px; }.footer-grid > div:not(:first-child) a { color: #777f8a; font-size: .86rem; }.footer-grid a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 55px; padding-top: 22px; border-top: 1px solid var(--line); color: #515a65; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }.reveal.visible { opacity: 1; transform: none; }
.fade-up { opacity: 0; transform: translateY(24px); animation: fade-up .85s ease forwards; }.delay-one { animation-delay: .14s; }
@keyframes fade-up { to { opacity: 1; transform: none; } }
@keyframes ping { 70%, 100% { transform: scale(2.5); opacity: 0; } }
@keyframes stream { to { transform: translateY(110vh); } }
@keyframes scanner { 0%, 100% { transform: translateY(30px); opacity: .2; } 50% { transform: translateY(530px); opacity: 1; } }
@keyframes scroll-cue { 0% { transform: translate(-50%,0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(-50%,15px); opacity: 0; } }

@media (max-width: 1050px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .hero-grid, .boundary-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 140px; }
  .hero-visual { min-height: 620px; max-height: 760px; }
  .hero-visual img { min-height: 620px; }
  .code-stage { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }.demo-arrow { min-height: 48px; border-inline: 0; border-block: 1px solid var(--line); transform: none; }
  .conversion-rail { transform: rotate(90deg); min-height: 35px; }
  .split-grid { grid-template-columns: 1fr; }.section-intro { position: static; }
  .boundary-visual { min-height: 530px; }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 28px, 1420px); }
  .nav-inner { min-height: 66px; gap: 10px; }.brand-copy span { display: none; }.nav-actions { gap: 8px; }.nav-actions .button { min-height: 40px; padding-inline: 13px; }.nav-github { display: none; }.kofi-prefix { display: none; }.kofi-button img { width: 70px; }
  .hero { min-height: auto; padding: 122px 0 62px; }.hero h1 { font-size: clamp(3.4rem, 17vw, 5.4rem); }.hero-grid { gap: 44px; }
  .hero-visual, .hero-visual img { min-height: 560px; }.hero-visual { border-radius: 20px; }
  .language-track { justify-content: flex-start; }
  .journey-header, .journey-card-stack { width: min(100% - 28px, 1420px); }.journey-card-stack { grid-template-columns: 1fr; }.human-card { grid-column: auto; }
  .has-js .code-journey { height: 440vh; }
  .has-js .journey-origin img { object-position: 50% 50%; transform-origin: 50% 37%; }
  .journey-origin-shade { background: radial-gradient(circle at 50% 37%, transparent 0 10%, rgba(1,2,3,.2) 25%, rgba(1,2,3,.82) 100%); }
  .journey-gateway { top: 37%; width: min(46vw, 190px); }
  .has-js .journey-header { top: 86px; left: 14px; }.has-js .journey-header h2 { font-size: 2.45rem; }
  .has-js .journey-card { top: 55%; width: calc(100vw - 28px); border-radius: 17px; }
  .journey-card > header { min-height: 48px; padding-inline: 16px; font-size: .56rem; }
  .journey-card pre { min-height: 270px; padding: 21px 18px; font-size: .68rem; line-height: 1.75; }
  .journey-card > footer { min-height: 49px; padding-inline: 16px; font-size: .58rem; }
  .human-copy { min-height: 270px; padding: 30px 25px; }.human-copy p { font-size: 1.03rem; line-height: 1.65; }
  .has-js .journey-stages { right: 14px; bottom: 29px; gap: 6px; font-size: .52rem; }.journey-stages i { width: 12px; }
  .section { padding: 84px 0; }.section-heading { grid-template-columns: 1fr; gap: 25px; }.section h2, .cta h2 { font-size: clamp(2.8rem, 13vw, 4.6rem); }
  .code-window pre { padding: 20px; font-size: .74rem; }.workflow-grid, .stats-grid, .pricing-grid, .local-card { grid-template-columns: 1fr; }
  .demo-toolbar { grid-template-columns: 1fr minmax(130px, 1.2fr); }.demo-toolbar button { grid-column: 1 / -1; }.demo-pane textarea, .demo-pane pre { height: 390px; padding: 20px 16px; font-size: .7rem; }.demo-footer { align-items: stretch; flex-direction: column; padding: 20px; }.demo-footer .button { width: 100%; }
  .stat-card.wide { grid-column: auto; }.boundary-visual { min-height: 450px; }.boundary-visual img { width: 170px; }.boundary-visual::before { width: 330px; height: 330px; }.boundary-visual::after { width: 230px; height: 230px; }
  .local-card { gap: 30px; padding: 34px 24px; }.price-card { min-height: 540px; padding: 28px 24px; }.price-card > p { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }.footer-grid > div:first-child { grid-column: 1 / -1; }.footer-bottom { gap: 22px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .fade-up { opacity: 1; transform: none; }
  .has-js .code-journey { height: auto; padding: 84px 0; }
  .has-js .journey-sticky { position: relative; height: auto; overflow: visible; perspective: none; background: transparent; }
  .has-js .journey-origin, .has-js .journey-space, .has-js .journey-intro, .has-js .journey-stages, .has-js .journey-progress { display: none; }
  .has-js .journey-header { position: relative; top: auto; left: auto; width: min(1420px, calc(100vw - 48px)); margin: 0 auto 46px; opacity: 1 !important; transform: none !important; }
  .has-js .journey-card-stack { position: relative; inset: auto; width: min(1180px, calc(100vw - 48px)); display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin: 0 auto; }
  .has-js .journey-card { position: relative; top: auto; left: auto; width: auto; opacity: 1 !important; transform: none !important; filter: none !important; }
  .has-js .journey-finale { position: relative; top: auto; left: auto; width: min(960px, calc(100vw - 40px)); margin: 62px auto 0; opacity: 1 !important; transform: none !important; }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .has-js .journey-header, .has-js .journey-card-stack { width: calc(100vw - 28px); }
  .has-js .journey-card-stack { grid-template-columns: 1fr; }
}
