:root {
  --ink: #071112;
  --ink-soft: #0d1a1c;
  --paper: #f2f5f3;
  --white: #ffffff;
  --accent: #08c8d0;
  --accent-bright: #2ee0e6;
  --accent-deep: #0b8483;
  --whatsapp: #25d366;
  --whatsapp-deep: #1dae52;
  --muted: #93a3a3;
  --line-dark: rgba(255,255,255,.13);
  --line-light: rgba(7,17,18,.14);
  --shell: min(1180px, calc(100vw - 48px));
  --radius: 8px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--accent); color: var(--ink); }
.shell { width: var(--shell); margin-inline: auto; }
.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; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 200; transform: translateY(-150%); padding: 10px 16px; background: var(--accent); color: var(--ink); font-weight: 800; text-decoration: none; border-radius: 3px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--white); border-bottom: 1px solid transparent; transition: background .35s ease, border-color .35s ease; }
.site-header.scrolled { background: rgba(7,17,18,.88); border-color: var(--line-dark); backdrop-filter: blur(18px); }
.header-inner { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; text-decoration: none; position: relative; z-index: 2; }
.brand-logo { display: block; height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: .95rem; font-weight: 700; letter-spacing: .02em; }
.site-nav a { text-decoration: none; color: rgba(255,255,255,.74); transition: color .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--white); }
.language-switcher { display: inline-flex; align-items: stretch; padding: 5px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; background: rgba(255,255,255,.08); font-size: 1rem; font-weight: 800; letter-spacing: .08em; }
.language-switcher span, .language-switcher a { min-width: 52px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 7px 16px; border-radius: 999px; }
.language-switcher span[aria-current="page"] { color: var(--ink); background: var(--accent-bright); }
.language-switcher a { color: rgba(255,255,255,.72); }
.language-switcher a:hover, .language-switcher a:focus-visible { color: var(--white); background: rgba(255,255,255,.1); }
.site-nav .nav-cta { padding: 11px 16px; border: 1px solid rgba(69,224,223,.45); color: var(--accent-bright); border-radius: 3px; }
.menu-toggle { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 10px; }
.menu-toggle > span:not(.sr-only) { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px auto; transition: transform .25s ease; }

.hero { position: relative; min-height: 100vh; padding: 164px 0 44px; color: var(--white); background: var(--ink); overflow: hidden; }
.hero-grid, .cta-grid { position: absolute; inset: 0; opacity: .32; background-image: linear-gradient(rgba(47,191,196,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(47,191,196,.1) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, #000, transparent 86%); }
.hero-glow { position: absolute; width: 640px; height: 640px; right: -240px; top: -220px; border-radius: 50%; background: var(--accent); filter: blur(180px); opacity: .16; }
.hero::after { content: ""; position: absolute; width: 1px; height: 180px; left: calc(50% - 590px); bottom: -30px; background: linear-gradient(var(--accent), transparent); }
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(420px,.92fr); align-items: center; gap: 80px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--accent-bright); font-size: .8rem; line-height: 1.3; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow > span { width: 28px; height: 1px; background: currentColor; }
.eyebrow.dark { color: var(--accent-deep); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 780; line-height: 1.02; letter-spacing: -.045em; }
h1 { margin-bottom: 28px; font-size: clamp(3.15rem, 6.2vw, 5.75rem); }
h1 em, h2 em { color: var(--accent-bright); font-style: normal; font-weight: 420; }
.hero-lead { max-width: 660px; margin-bottom: 36px; color: rgba(255,255,255,.7); font-size: clamp(1.12rem,1.4vw,1.28rem); line-height: 1.62; }
.hero-actions, .cta-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 12px; padding: 13px 20px; border: 1px solid transparent; border-radius: 3px; font-size: .95rem; font-weight: 800; text-decoration: none; transition: transform .25s var(--ease), background .25s ease, border-color .25s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .site-nav a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 4px; }
.button-primary { color: var(--ink); background: var(--accent-bright); }
.button-primary:hover { background: var(--white); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.22); }
.button-ghost:hover { border-color: var(--white); }
.hero-note { margin: 22px 0 0; color: rgba(255,255,255,.42); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .73rem; letter-spacing: .06em; }

.build-window { position: relative; border: 1px solid rgba(69,224,223,.28); border-radius: var(--radius); background: rgba(13,26,28,.88); box-shadow: 0 38px 90px rgba(0,0,0,.34); transform: perspective(1200px) rotateY(-4deg) rotateX(2deg); }
.build-window::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1; border: 1px solid rgba(47,191,196,.12); border-radius: var(--radius); }
.window-bar { height: 47px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 0 16px; border-bottom: 1px solid var(--line-dark); }
.window-dots { display: flex; gap: 5px; }
.window-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.28); }
.window-address { justify-self: center; color: rgba(255,255,255,.52); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .68rem; }
.secure-label { color: var(--accent-bright); font-size: .56rem; font-weight: 900; letter-spacing: .12em; }
.window-body { padding: 18px; }
.code-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line-dark); }
.code-tabs span { padding: 8px 10px; color: rgba(255,255,255,.34); font-size: .62rem; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.code-tabs .active { color: var(--accent-bright); border-bottom: 1px solid var(--accent-bright); }
.code-lines { min-height: 230px; padding: 25px 8px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .78rem; line-height: 1.9; }
.code-lines p { display: flex; margin: 0; }
.code-lines b { width: 34px; color: rgba(255,255,255,.19); font-weight: 400; }
.code-lines i { color: #64d9d6; font-style: normal; }
.code-lines strong { color: #c3f47a; font-weight: 500; }
.code-muted { color: rgba(255,255,255,.42); }
.build-status { display: flex; align-items: center; gap: 12px; padding: 14px; background: rgba(69,224,223,.07); border: 1px solid rgba(69,224,223,.13); border-radius: 4px; }
.status-pulse, .console-live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 0 5px rgba(69,224,223,.1); }
.status-pulse::after { content: ""; position: absolute; inset: -6px; border: 1px solid var(--accent-bright); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.45); opacity: 0; } }
.build-status div { display: flex; flex-direction: column; flex: 1; }
.build-status small { color: rgba(255,255,255,.36); font-size: .54rem; letter-spacing: .15em; }
.build-status strong { color: rgba(255,255,255,.85); font-size: .72rem; }
.status-time { color: var(--accent-bright); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .66rem; }
.hero-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4,1fr); margin-top: 88px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.hero-stats > div { display: flex; align-items: baseline; gap: 11px; padding: 22px 20px; border-right: 1px solid var(--line-dark); }
.hero-stats > div:first-child { padding-left: 0; }
.hero-stats > div:last-child { border-right: 0; }
.hero-stats strong { color: var(--accent-bright); font-size: 1.5rem; }
.hero-stats span { color: rgba(255,255,255,.48); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }

.section { padding: 130px 0; }
.section-heading h2, .sticky-copy h2, .readable-copy h2, .human-copy h2, .faq-intro h2 { margin-bottom: 0; font-size: clamp(2.45rem,4.4vw,4.15rem); }
.split-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 90px; margin-bottom: 64px; }
.split-heading > p { max-width: 490px; margin-bottom: 8px; color: #516062; font-size: 1.1rem; }
.split-heading > p a { color: var(--accent-deep); text-underline-offset: 4px; }
.environment-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.environment-card { position: relative; min-height: 460px; display: flex; flex-direction: column; padding: 25px; border-radius: var(--radius); overflow: hidden; }
.card-dark { color: var(--white); background: var(--ink); }
.card-accent { color: var(--ink); background: var(--accent); }
.card-light { color: var(--ink); background: var(--white); border: 1px solid var(--line-light); }
.card-top { display: flex; align-items: center; justify-content: space-between; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .65rem; letter-spacing: .1em; }
.card-top > span:first-child { font-size: .82rem; }
.state { padding: 5px 8px; border: 1px solid currentColor; border-radius: 2px; font-weight: 800; }
.state-private { color: var(--accent-bright); }
.state-live { color: var(--accent-deep); }
.environment-card h3 { margin: auto 0 10px; font-size: 1.45rem; letter-spacing: -.035em; }
.environment-card > p { margin-bottom: 0; opacity: .67; font-size: 1rem; }
.mini-browser { margin: 74px 3px 30px; border: 1px solid rgba(255,255,255,.18); background: #0c1719; box-shadow: 18px 20px 0 rgba(47,191,196,.09); }
.mini-browser > div { display: flex; align-items: center; gap: 4px; height: 30px; padding: 0 8px; border-bottom: 1px solid rgba(255,255,255,.12); }
.mini-browser i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.32); }
.mini-browser span { margin-left: 8px; color: rgba(255,255,255,.42); font: .5rem ui-monospace, monospace; }
.mini-browser p { height: 66px; display: grid; place-items: center; margin: 0; color: rgba(255,255,255,.5); font: .63rem ui-monospace, monospace; }
.experiment-orbit { position: relative; width: 180px; height: 180px; margin: 42px auto 0; display: grid; place-items: center; }
.experiment-orbit::before, .experiment-orbit::after, .experiment-orbit span { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(7,17,18,.38); border-radius: 50%; }
.experiment-orbit::after { inset: 34px; }
.experiment-orbit span { inset: 62px; background: rgba(255,255,255,.13); }
.experiment-orbit b { z-index: 2; font: 800 1.15rem ui-monospace, monospace; }
.experiment-orbit span::after { content: ""; position: absolute; width: 9px; height: 9px; top: 5px; left: 9px; border-radius: 50%; background: var(--ink); box-shadow: 94px 88px 0 var(--ink); }
.project-stack { position: relative; height: 190px; margin-top: 40px; }
.project-stack span { position: absolute; inset: 20px 30px; border: 1px solid var(--line-light); background: var(--paper); transform: translate(24px,-14px); }
.project-stack span:nth-child(2) { transform: translate(12px,-7px); background: #e3ebea; }
.project-stack span:nth-child(3) { display: grid; place-items: center; transform: none; background: var(--white); }
.project-stack span:nth-child(3)::before { content: "SIBEOS.DEV"; color: var(--accent-deep); font: 800 .72rem ui-monospace, monospace; letter-spacing: .14em; }

.approach-section { color: var(--white); background: var(--ink); }
.approach-layout { display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: 100px; }
.sticky-copy { position: sticky; top: 130px; }
.sticky-copy h2 { margin-bottom: 30px; }
.sticky-copy > p:not(.eyebrow) { max-width: 470px; color: rgba(255,255,255,.58); }
.text-link { display: inline-block; margin-top: 24px; color: var(--accent-bright); font-weight: 750; font-size: .84rem; text-underline-offset: 5px; }
.principle { display: grid; grid-template-columns: 60px 1fr; gap: 24px; padding: 36px 0; border-top: 1px solid var(--line-dark); }
.principle:last-child { border-bottom: 1px solid var(--line-dark); }
.principle-number { color: var(--accent-bright); font: .88rem ui-monospace, monospace; }
.principle h3 { margin: -7px 0 12px; font-size: 1.4rem; letter-spacing: -.03em; }
.principle p { max-width: 550px; margin-bottom: 0; color: rgba(255,255,255,.52); }

.readable-section { background: var(--white); }
.readable-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 100px; }
.semantic-panel { min-height: 530px; padding: 22px; color: var(--white); background: var(--ink); border-radius: var(--radius); box-shadow: 0 34px 70px rgba(7,17,18,.14); }
.panel-label { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line-dark); color: rgba(255,255,255,.46); font: .6rem ui-monospace, monospace; letter-spacing: .1em; }
.panel-label span:last-child { color: var(--accent-bright); }
.dom-tree { padding: 46px 28px; }
.node { padding: 12px 14px; border: 1px solid rgba(69,224,223,.25); background: rgba(69,224,223,.04); }
.node span { display: block; color: var(--accent-bright); font: 800 .72rem ui-monospace, monospace; }
.node small { color: rgba(255,255,255,.42); font: .58rem ui-monospace, monospace; }
.node-root { width: 170px; margin: 0 auto 42px; position: relative; text-align: center; }
.node-root::after { content: ""; position: absolute; width: 1px; height: 43px; top: 100%; left: 50%; background: rgba(69,224,223,.28); }
.branch { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 40px; }
.branch::before { content: ""; position: absolute; height: 1px; width: calc(50% + 28px); top: -1px; left: calc(25% - 14px); background: rgba(69,224,223,.28); }
.branch.last { margin-left: 50%; margin-bottom: 0; }
.branch.last::before { width: 50%; left: -25%; }
.panel-footer { display: flex; align-items: center; justify-content: center; gap: 12px; color: rgba(255,255,255,.35); font: .55rem ui-monospace, monospace; letter-spacing: .08em; }
.panel-footer i { width: 18px; height: 1px; background: var(--accent-deep); }
.readable-copy h2 { margin-bottom: 28px; }
.readable-copy .lead { margin-bottom: 32px; color: #536062; font-size: 1.15rem; }
.check-list { list-style: none; margin: 0 0 30px; padding: 0; border-top: 1px solid var(--line-light); }
.check-list li { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line-light); font-weight: 680; }
.check-list span { color: var(--accent-deep); font: .82rem ui-monospace, monospace; }
.fine-print { padding-left: 16px; border-left: 2px solid var(--accent); color: #6a7778; font-size: .78rem; }

.process-section { color: var(--white); background: var(--ink-soft); }
.process-heading { display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 100px; margin-bottom: 70px; }
.process-heading > p { color: rgba(255,255,255,.53); }
.process-grid { list-style: none; display: grid; grid-template-columns: repeat(4,1fr); margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.process-grid li { position: relative; min-height: 260px; padding: 28px 28px 0 0; border-right: 1px solid var(--line-dark); }
.process-grid li + li { padding-left: 28px; }
.process-grid li:last-child { border-right: 0; }
.process-grid li > span { color: var(--accent-bright); font: .86rem ui-monospace, monospace; }
.process-grid h3 { margin: 75px 0 12px; font-size: 1.28rem; }
.process-grid p { margin-bottom: 0; color: rgba(255,255,255,.47); font-size: .95rem; }

.human-section { background: var(--accent); }
.human-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 110px; }
.human-copy h2 { margin-bottom: 30px; }
.human-copy h2 em { color: rgba(7,17,18,.45); }
.human-copy > p:not(.eyebrow) { max-width: 510px; color: rgba(7,17,18,.68); }
.tool-console { padding: 22px; color: var(--white); background: var(--ink); border-radius: var(--radius); box-shadow: 25px 25px 0 rgba(7,17,18,.11); }
.console-head { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line-dark); color: rgba(255,255,255,.42); font: .6rem ui-monospace, monospace; letter-spacing: .1em; }
.console-live { display: flex; align-items: center; gap: 8px; color: var(--accent-bright); }
.console-live i { width: 5px; height: 5px; }
.tool-list > div { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 16px 2px; border-bottom: 1px solid var(--line-dark); }
.tool-list span { color: rgba(255,255,255,.25); font: .75rem ui-monospace, monospace; }
.tool-list strong { font-size: .9rem; }
.tool-list small { color: rgba(255,255,255,.42); font-size: .69rem; }
.console-output { margin-top: 22px; padding: 15px; color: rgba(255,255,255,.6); background: rgba(255,255,255,.04); font: .7rem ui-monospace, monospace; }
.console-output > span:first-child, .cursor { color: var(--accent-bright); }
.cursor { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.faq-section { background: var(--paper); }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 100px; }
.faq-intro h2 { font-size: clamp(2.35rem,3.8vw,3.7rem); }
.faq-list { border-top: 1px solid var(--line-light); }
.faq-list details { border-bottom: 1px solid var(--line-light); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 25px 0; cursor: pointer; font-size: 1.08rem; font-weight: 750; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--accent-deep); font-size: 1.4rem; font-weight: 400; transition: transform .25s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 690px; padding: 0 40px 24px 0; color: #566365; }

.final-cta { position: relative; padding: 140px 0; color: var(--white); background: var(--accent-deep); overflow: hidden; }
.final-cta::after { content: "DEV"; position: absolute; right: -18px; bottom: -126px; color: rgba(255,255,255,.055); font-size: 22rem; line-height: 1; font-weight: 900; letter-spacing: -.09em; }
.cta-grid { opacity: .45; mask-image: linear-gradient(to right, #000, transparent 76%); }
.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 { margin: 0 0 28px; font-size: clamp(3.1rem,6.4vw,5.8rem); }
.cta-inner h2 em { color: var(--accent-bright); }
.cta-inner > p:not(.eyebrow) { max-width: 620px; color: rgba(255,255,255,.68); font-size: 1.12rem; }
.cta-actions { margin-top: 38px; }
.button-light { color: var(--ink); background: var(--white); }
.button-light:hover { background: var(--accent-bright); }
.button-whatsapp { color: var(--white); background: var(--whatsapp); gap: 10px; }
.button-whatsapp:hover { background: var(--whatsapp-deep); }
.button-whatsapp svg { width: 1.2em; height: 1.2em; flex-shrink: 0; }

.site-footer { padding: 50px 0 24px; color: var(--white); background: var(--ink); }
.footer-main { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 40px; padding-bottom: 46px; }
.footer-main p { max-width: 390px; margin: 0; color: rgba(255,255,255,.45); font-size: .9rem; }
.footer-main > a:last-child { color: var(--accent-bright); font-weight: 750; font-size: .9rem; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid var(--line-dark); color: rgba(255,255,255,.32); font: .72rem ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .06em; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay,0ms); }
[data-reveal].revealed { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .hero-layout { grid-template-columns: 1fr; gap: 64px; }
  .hero-copy { max-width: 810px; }
  .build-window { max-width: 660px; margin-left: auto; transform: none; }
  .hero-stats { margin-top: 70px; }
  .split-heading, .readable-layout, .human-layout { gap: 55px; }
  .approach-layout { gap: 60px; }
  .faq-layout { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 36px, 680px); }
  .section { padding: 94px 0; }
  .header-inner { height: 72px; }
  .brand-logo { height: 34px; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .site-nav { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; padding: 72px max(24px, calc((100vw - 680px)/2)); background: rgba(7,17,18,.98); visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility .25s ease; }
  .site-nav.open { visibility: visible; opacity: 1; }
  .site-nav a { font-size: 1.6rem; }
  .site-nav .nav-cta { margin-top: 14px; font-size: 1rem; }
  .language-switcher { order: -1; margin-bottom: 8px; font-size: 1.05rem; }
  .language-switcher span, .language-switcher a { min-width: 56px; min-height: 42px; font-size: 1.05rem; }
  .menu-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { padding-top: 130px; }
  .hero-layout { gap: 50px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats > div:nth-child(2) { border-right: 0; }
  .hero-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .hero-stats > div:nth-child(3) { padding-left: 0; }
  .split-heading, .process-heading, .readable-layout, .human-layout, .approach-layout { grid-template-columns: 1fr; }
  .split-heading { align-items: start; gap: 35px; }
  .environment-grid { grid-template-columns: 1fr; }
  .environment-card { min-height: 390px; }
  .environment-card h3 { margin-top: auto; }
  .mini-browser { max-width: 360px; }
  .experiment-orbit { margin-top: 24px; }
  .project-stack { max-width: 380px; width: 100%; }
  .sticky-copy { position: static; margin-bottom: 24px; }
  .process-heading { gap: 30px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid li:nth-child(2) { border-right: 0; }
  .process-grid li:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .process-grid li:nth-child(3) { padding-left: 0; }
  .footer-main { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 540px) {
  :root { --shell: calc(100% - 28px); }
  .hero { min-height: auto; padding: 118px 0 34px; }
  h1 { font-size: clamp(2.85rem,14vw,4.4rem); }
  .hero-actions, .cta-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; justify-content: space-between; }
  .hero-note { font-size: .65rem; }
  .build-window::before { display: none; }
  .window-body { padding: 12px; }
  .code-lines { min-height: 190px; padding: 20px 2px; font-size: .64rem; }
  .window-address { font-size: .58rem; }
  .hero-stats > div { flex-direction: column; gap: 0; padding: 18px 10px; }
  .hero-stats span { font-size: .58rem; }
  .section-heading h2, .sticky-copy h2, .readable-copy h2, .human-copy h2 { font-size: clamp(2.35rem,12vw,3.5rem); }
  .environment-card { min-height: 410px; }
  .principle { grid-template-columns: 42px 1fr; gap: 12px; }
  .semantic-panel { min-height: auto; padding: 14px; }
  .dom-tree { padding: 38px 5px; }
  .branch { gap: 10px; }
  .branch.last { margin-left: 30%; }
  .node { padding: 9px 7px; }
  .node small { font-size: .49rem; }
  .panel-footer { gap: 5px; font-size: .43rem; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li, .process-grid li + li, .process-grid li:nth-child(3) { min-height: 0; padding: 26px 0 28px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .process-grid h3 { margin: 34px 0 8px; }
  .tool-list > div { grid-template-columns: 28px 1fr; }
  .tool-list small { grid-column: 2; }
  .final-cta { padding: 100px 0; }
  .cta-inner h2 { font-size: clamp(2.9rem,14vw,4.6rem); }
  .final-cta::after { font-size: 12rem; bottom: -55px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
