:root {
  --bg: #0A0A0A;
  --bg-2: #2B2B2B;
  --surface: #333333;
  --surface-2: #4C4C4C;
  --line: #7A7A7A;
  --text: #FFFFFF;
  --muted: #BFBFBF;
  --cyan: #FFD633;
  --violet: #CCAA00;
  --orange: #CCAA00;
  --grad: linear-gradient(110deg, #FFD633, #FFE680);
  --display-font: "Bahnschrift", "Aptos Display", "Trebuchet MS", sans-serif;
  --radius: 16px;
  --shadow: 0 10px 40px -10px rgb(0 0 0 / .6);
  --header-h: 68px;
  --fs-h1: clamp(2rem, 1.2rem + 3.6vw, 3.6rem);
  --fs-h2: clamp(1.6rem, 1.1rem + 2vw, 2.5rem);
  --space: clamp(4rem, 3rem + 5vw, 7.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1rem, .95rem + .2vw, 1.075rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link-color, var(--cyan)); text-underline-offset: 3px; }
a:hover { color: var(--accent-ink, var(--cyan)); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 750; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--focus-color, var(--cyan)); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; padding: .6rem 1rem; background: var(--cyan); color: #000; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.5rem); }
.section { padding-block: var(--space); position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head p:last-child { color: var(--muted); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: .8rem; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.footnote { color: var(--muted); font-size: .85rem; margin-top: 1.2rem; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.5rem; border: 0; border-radius: 999px;
  font: inherit; font-weight: 700; color: #04121a; text-decoration: none; cursor: pointer;
  background: var(--grad); box-shadow: 0 8px 24px -8px rgb(0 224 255 / .5);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s;
}
.btn:hover { color: #04121a; transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgb(124 92 255 / .6); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 40px; padding: .5rem 1.1rem; font-size: .92rem; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { color: var(--text); border-color: var(--cyan); box-shadow: none; }
.btn-block { width: 100%; }
.btn-ig, .btn-yt { background: #FFD633; color: #0A0A0A; box-shadow: none; }
.btn-ig:hover, .btn-yt:hover { color: #0A0A0A; background: #FFE680; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgb(11 15 20 / .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgb(11 15 20 / .9); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; font-size: 1.2rem; letter-spacing: -.01em; }
.brand:hover { color: var(--text); }
.brand strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-logo { width: 36px; height: 36px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .3rem; }
.site-nav a:not(.btn) { display: block; padding: .5rem .8rem; color: var(--muted); text-decoration: none; border-radius: 8px; font-weight: 600; font-size: .95rem; transition: color .2s, background .2s; }
.site-nav a:not(.btn):hover, .site-nav a.active { color: var(--text); background: var(--surface); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; padding: 0;
    background: var(--surface); border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  }
  .nav-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; padding: 1rem 1.25rem 1.5rem;
    background: rgb(11 15 20 / .97); border-bottom: 1px solid var(--line);
    transform: translateY(-110%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s;
  }
  .site-nav.open { transform: none; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: .25rem; }
  .site-nav a:not(.btn) { padding: .85rem 1rem; font-size: 1.05rem; }
  .site-nav .btn { margin-top: .5rem; width: 100%; min-height: 48px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 2rem + 6vw, 7rem); }
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 400px at 80% 20%, rgb(124 92 255 / .22), transparent 70%),
    radial-gradient(500px 360px at 10% 80%, rgb(0 224 255 / .14), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  opacity: .9;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-block: 1.8rem 2.2rem; }
.hero-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 4vw, 2.5rem); }
.hero-stats li { display: grid; }
.hero-stats strong { font-size: 1.8rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { color: var(--muted); font-size: .88rem; }

.hero-visual { margin: 0; padding: 1.2rem; background: linear-gradient(160deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.hero-visual figcaption { margin-top: .6rem; text-align: center; color: var(--muted); font-size: .82rem; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.hero-visual .frame { fill: #2a3646; }
.hero-visual .bed { fill: #3a4859; }
.hero-visual .rail { fill: #334154; }
.hero-visual .layers rect { fill: url(#g2); opacity: 0; transform-box: fill-box; transform-origin: center; animation: layer 7s var(--ease) infinite; }
.hero-visual .layers rect:nth-child(2) { animation-delay: .9s; }
.hero-visual .layers rect:nth-child(3) { animation-delay: 1.8s; }
.hero-visual .layers rect:nth-child(4) { animation-delay: 2.7s; }
.hero-visual .layers rect:nth-child(5) { animation-delay: 3.6s; }
.hero-visual .layers rect:nth-child(6) { animation-delay: 4.5s; }
.hero-visual .gantry { animation: rise 7s linear infinite; }
.hero-visual .head { animation: sweep .9s ease-in-out infinite alternate; }
.hero-visual .hot { fill: var(--orange); filter: drop-shadow(0 0 6px var(--orange)); }
@keyframes sweep { from { transform: translateX(150px); } to { transform: translateX(250px); } }
@keyframes rise { 0% { transform: translateY(100px); } 75%, 100% { transform: translateY(40px); } }
@keyframes layer { 0% { opacity: 0; transform: scaleX(.2); } 8%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; }
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.2rem; }
.card {
  position: relative; padding: 2rem 1.6rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--grad); opacity: 0; transition: opacity .3s;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card p { color: var(--muted); }
.card p strong { color: var(--text); }
.card-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 1.2rem; border-radius: 14px; background: rgb(0 224 255 / .08); border: 1px solid rgb(0 224 255 / .25); }
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ticks { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .45rem; font-size: .95rem; }
.ticks li { padding-left: 1.6rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }

/* Pasos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1.2rem; counter-reset: s; }
.steps li { padding: 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps p { color: var(--muted); margin: 0; }
.step-n { display: inline-block; font-family: ui-monospace, Consolas, monospace; font-weight: 700; font-size: .9rem; color: var(--orange); margin-bottom: .6rem; }

/* Caso destacado */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature-media { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 2rem; border-radius: 24px; background: radial-gradient(circle at 30% 30%, rgb(124 92 255 / .25), transparent 60%), var(--surface); border: 1px solid var(--line); }
.feature-media .plane { animation: float 5s ease-in-out infinite; }
.feature-media .waves path { animation: pulse 1.6s ease-out infinite; }
.feature-media .waves path:nth-child(2) { animation-delay: .4s; }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes pulse { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 0; } }
.specs { display: grid; gap: .9rem; margin: 1.5rem 0 2rem; }
.specs div { padding: .9rem 1.1rem; border-left: 3px solid var(--violet); background: var(--surface); border-radius: 0 10px 10px 0; }
.specs dt { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--cyan); }
.specs dd { margin: .2rem 0 0; color: var(--muted); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* Tabs */
.tab-list { display: flex; gap: .4rem; padding: .35rem; margin-bottom: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tab-list button { flex: none; min-height: 44px; padding: .55rem 1.2rem; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-weight: 600; cursor: pointer; transition: background .25s, color .25s; }
.tab-list button[aria-selected="true"] { background: var(--grad); color: #04121a; }
.tab-panel { animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
caption { text-align: left; padding: 1rem 1.2rem 0; color: var(--muted); font-size: .85rem; }
th, td { text-align: left; padding: .95rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
tbody th { color: var(--cyan); white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:hover { background: var(--surface-2); }
.hw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.2rem; }
.hw-grid > div { padding: 1.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.hw-grid p { color: var(--muted); margin: 0; }

/* Videos */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 1.5rem; }
.video-card h3 { margin-top: 1rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.video-card p { color: var(--muted); }
.tag { font-size: .72rem; padding: .2rem .55rem; border-radius: 999px; background: rgb(255 138 61 / .15); color: var(--orange); font-weight: 700; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, #1a2330, #0f1620); border: 1px solid var(--line); background-size: cover; background-position: center; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play {
  position: absolute; inset: 0; width: 100%; display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 1rem 1.2rem; border: 0; cursor: pointer; text-align: left; color: #fff; font: inherit; font-weight: 700;
  background: linear-gradient(to top, rgb(0 0 0 / .75), transparent 60%);
}
.yt-play::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 72px; height: 50px; translate: -50% -50%;
  border-radius: 14px; background: #FFD633 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%230A0A0A'/%3E%3C/svg%3E") center / 28px no-repeat;
  transition: transform .2s var(--ease);
}
.yt-play:hover::before, .yt-play:focus-visible::before { transform: scale(1.1); }

.social-cta { margin-top: 3rem; padding: clamp(1.5rem, 4vw, 2.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; border-radius: 24px; background: linear-gradient(120deg, rgb(124 92 255 / .18), rgb(0 224 255 / .08)), var(--surface); border: 1px solid var(--line); }
.social-cta h3 { font-size: 1.4rem; }
.social-cta p { color: var(--muted); margin: 0; }
.handle { color: var(--cyan); }
.social-buttons { display: flex; flex-wrap: wrap; gap: .7rem; }

/* Nosotros */
.about { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; max-width: 900px; }
.about-copy p { color: var(--muted); }
.values { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem; }
.values li { padding: .8rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--muted); }
.values strong { color: var(--text); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: .8rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: border-color .25s; }
.faq details[open] { border-color: rgb(0 224 255 / .4); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.3rem; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; translate: 0 -50%; font-size: 1.5rem; line-height: 1; color: var(--cyan); transition: rotate .25s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--muted); }

/* Contacto */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-info > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .8rem; }
.contact-list li { display: flex; gap: .7rem; align-items: center; }
.contact-form { padding: clamp(1.4rem, 4vw, 2.2rem); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); display: grid; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-weight: 600; font-size: .92rem; }
.opt { color: var(--muted); font-weight: 400; }
input, select, textarea {
  width: 100%; min-height: 48px; padding: .75rem 1rem; font: inherit; font-size: 16px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 130px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgb(0 224 255 / .18); }
.was-validated :invalid { border-color: var(--focus-color, var(--cyan)); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; color: var(--muted); }
.check input { width: 20px; min-height: 20px; height: 20px; margin-top: .2rem; accent-color: var(--cyan); flex: none; }
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 520px) { .form-actions { grid-template-columns: 1fr; } }
.form-status { margin: 0; min-height: 1.5em; font-weight: 600; }
.form-status.ok { color: var(--accent-ink, var(--cyan)); }
.form-status.err { color: var(--status-error); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { padding-block: 3rem calc(3rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1.5rem; }
.site-footer p { color: var(--muted); font-size: .9rem; margin: .6rem 0 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.2rem; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: #FFD633; }
.copy { width: 100%; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; z-index: 60; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom));
  width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%;
  background: #25D366; box-shadow: 0 10px 30px -6px rgb(37 211 102 / .45); transition: transform .25s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; fill: #FFFFFF; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25D366; animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(1.6); } }

/* Animación de aparición */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Páginas simples (privacidad, 404) */
.page { padding-block: var(--space); }
.page h1 { font-size: var(--fs-h2); }
.page h2 { font-size: 1.3rem; margin-top: 2rem; }
.page p, .page li { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-visual .layers rect { opacity: 1; }
}

@media print {
  .site-header, .wa-float, .hero-visual, .contact-form { display: none; }
  body { background: #fff; color: #000; }
}

/* Dirección visual All Robotics: estudio editorial de ingeniería */
:root {
  --bg: #F5F5F5;
  --bg-2: #E6E6E6;
  --surface: #FFFFFF;
  --surface-2: #E6E6E6;
  --line: #BFBFBF;
  --text: #0A0A0A;
  --muted: #4C4C4C;
  --accent-ink: #2B2B2B;
  --link-color: #2B2B2B;
  --focus-color: #2B2B2B;
  --status-error: #9B1C1C;
  --header-bg: rgb(245 245 245 / .96);
  --header-border: #BFBFBF;
  --mobile-nav-bg: #F5F5F5;
  --blueprint-image: url("/assets/blueprint-texture.svg");
  --blueprint-blend: multiply;
  --cyan: #FFD633;
  --violet: #CCAA00;
  --orange: var(--accent-ink);
  --grad: linear-gradient(110deg, #FFD633, #FFE680);
  --radius: 4px;
  --shadow: 0 24px 60px -28px rgb(0 0 0 / .24);
  --header-h: 76px;
  --fs-h1: 5.5rem;
  --fs-h2: 3.4rem;
  --space: 7rem;
}

html[data-theme="dark"] {
  --bg: #0A0A0A;
  --bg-2: #2B2B2B;
  --surface: #333333;
  --surface-2: #4C4C4C;
  --line: #7A7A7A;
  --text: #FFFFFF;
  --muted: #BFBFBF;
  --accent-ink: #FFE680;
  --orange: #FFE680;
  --link-color: #FFE680;
  --focus-color: #FFD633;
  --status-error: #FFB4AB;
  --header-bg: rgb(10 10 10 / .96);
  --header-border: #4C4C4C;
  --mobile-nav-bg: #0A0A0A;
  --blueprint-blend: screen;
}

body { font-family: "Trebuchet MS", "Segoe UI", sans-serif; background-color: var(--bg); background-image: var(--blueprint-image); background-blend-mode: var(--blueprint-blend); background-size: 560px 560px; }
h1, h2, h3 { font-family: var(--display-font); letter-spacing: 0; font-weight: 700; }
h1 { font-size: var(--fs-h1); line-height: .98; }
h2 { font-size: var(--fs-h2); line-height: 1.02; }
h3 { letter-spacing: 0; }
.container { width: min(1360px, 100% - 5rem); }
.narrow { width: min(860px, 100% - 5rem); }
.section { padding-block: 6.5rem; }
.section-alt { background-color: var(--bg-2); background-image: var(--blueprint-image); background-blend-mode: var(--blueprint-blend); background-size: 560px 560px; border: 0; }
.eyebrow { letter-spacing: .09em; color: var(--accent-ink); }
.grad { color: var(--accent-ink); background: none; }
.lead { color: var(--muted); font-size: 1.16rem; max-width: 48ch; }

.btn { min-height: 52px; border-radius: 4px; color: #0A0A0A; background: var(--cyan); box-shadow: none; }
.btn:hover { color: #0A0A0A; background: #FFE680; box-shadow: none; transform: translateY(-3px); }
.btn-ghost { color: var(--text); background: transparent; border: 1px solid #7A7A7A; }
.btn-ghost:hover { color: var(--text); background: var(--surface); border-color: var(--text); }
.btn-sm { min-height: 42px; }

.site-header { height: var(--header-h); background: var(--header-bg); border-bottom-color: var(--header-border); backdrop-filter: blur(16px); }
.site-header.scrolled { background: var(--header-bg); border-bottom-color: var(--line); }
.brand { color: var(--text); font-family: var(--display-font); font-size: 1.35rem; }
.brand strong { color: var(--text); background: none; font-family: "Trebuchet MS", sans-serif; font-size: .9em; }
.brand-logo { width: 40px; height: 40px; }
.brand-logo { object-fit: contain; }
.hero-brand-banner { display: block; width: min(100%, 440px); height: auto; margin: 0 0 2rem; }
.site-nav a:not(.btn) { color: var(--muted); border-radius: 3px; }
.site-nav a:not(.btn):hover, .site-nav a.active { color: var(--text); background: var(--surface-2); }
.nav-toggle { background: transparent; border-color: var(--line); border-radius: 3px; }
.nav-toggle span { background: var(--text); }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 42px; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--text); font: 600 .85rem/1 var(--display-font); cursor: pointer; }
.theme-toggle:hover { background: var(--surface-2); }
.theme-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-icon-sun { display: none; }
html[data-theme="dark"] .theme-icon-moon { display: none; }
html[data-theme="dark"] .theme-icon-sun { display: block; }

.hero { min-height: min(790px, calc(100svh - var(--header-h))); padding: 0; overflow: hidden; color: #FFFFFF; background: #0A0A0A; }
.hero-grid-bg { z-index: 0; opacity: .2; background: linear-gradient(rgb(230 230 230 / .12) 1px, transparent 1px) 0 0 / 54px 54px, linear-gradient(90deg, rgb(230 230 230 / .12) 1px, transparent 1px) 0 0 / 54px 54px; mask-image: linear-gradient(90deg, #000, transparent 70%); }
.hero-inner { position: relative; z-index: 1; min-height: min(790px, calc(100svh - var(--header-h))); grid-template-columns: .92fr 1.08fr; gap: 2rem; }
.hero-copy { position: relative; z-index: 3; padding-block: 5rem; }
.hero-copy .eyebrow, .hero-copy .grad { color: var(--cyan); }
.hero .lead { color: #E6E6E6; }
.hero :focus-visible { outline-color: #FFD633; }
.hero-copy h1 { max-width: 700px; margin-bottom: 1.4rem; }
.hero .btn-ghost { color: #FFFFFF; border-color: #7A7A7A; }
.hero .btn-ghost:hover { color: #0A0A0A; border-color: #FFFFFF; background: #FFFFFF; }
.hero-cta { margin-block: 2rem 2.5rem; }
.hero-stats { gap: 2.2rem; }
.hero-stats strong { color: var(--cyan); background: none; font: 700 2rem/1 var(--display-font); }
.hero-stats span { color: #BFBFBF; }
.hero-scene { align-self: stretch; position: relative; min-height: 620px; height: 100%; margin: 0 calc((100vw - min(1360px, 100vw - 5rem)) / -2) 0 0; overflow: hidden; background: #2B2B2B; clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%, 0 15%); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; transform: scale(1.035); filter: saturate(.77) contrast(1.08); animation: scene-arrive 1.2s cubic-bezier(.2,.7,.2,1) both; }
.scene-wash { position: absolute; inset: 0; background: linear-gradient(90deg, #0A0A0A 0%, rgb(10 10 10 / .25) 30%, rgb(10 10 10 / .08) 100%), linear-gradient(0deg, rgb(10 10 10 / .7), transparent 35%, rgb(10 10 10 / .12)); }
.scene-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.scene-label { position: absolute; z-index: 2; display: flex; align-items: center; gap: .65rem; color: #FFFFFF; font: 700 .68rem/1.2 ui-monospace, Consolas, monospace; letter-spacing: .07em; text-shadow: 0 2px 14px #000000; }
.scene-label-top { top: 2rem; right: 2rem; }
.scene-label-top > span:last-child { padding-left: .65rem; border-left: 1px solid rgb(255 255 255 / .45); color: #E6E6E6; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); animation: beacon 1.8s ease-in-out infinite; }
.scene-label-bottom { bottom: 5.5rem; left: 13%; gap: .8rem; }
.scene-label-bottom span:nth-child(even) { color: var(--orange); }
.hero-scene figcaption { position: absolute; z-index: 2; bottom: 2rem; left: 13%; color: #FFFFFF; font: italic 1.15rem Georgia, serif; text-shadow: 0 2px 16px #000000; }
@keyframes beacon { 50% { opacity: .35; box-shadow: 0 0 3px var(--cyan); } }
@keyframes scene-arrive { from { opacity: .4; transform: scale(1.1); } to { opacity: 1; transform: scale(1.035); } }

.section-head { max-width: 830px; margin-bottom: 3.5rem; }
.section-head h2 { max-width: 17ch; }
.section-head p:last-child { max-width: 58ch; }
.cards { gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.card { min-height: 390px; padding: 2rem 2rem 2rem 0; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; }
.card + .card { padding-left: 2rem; }
.card:last-child { border-right: 0; }
.card::before { display: none; }
.card:hover { transform: translateY(-5px); box-shadow: none; }
.card-icon { width: 58px; height: 58px; margin-bottom: 2rem; border-radius: 50%; color: var(--text); background: var(--cyan); border: 0; }
.card-icon svg { stroke: #0A0A0A; }
.card p, .steps p, .hw-grid p { color: var(--muted); }
.ticks li::before { border-color: var(--accent-ink); }

.section-alt .steps li { position: relative; padding: 0 1.4rem 0 0; border: 0; border-radius: 0; border-top: 1px solid #BFBFBF; background: transparent; }
.steps li + li { padding-left: 1.4rem; }
.step-n { font: 700 3.7rem/1 var(--display-font); color: var(--accent-ink); margin-block: 1rem 1.3rem; }
.steps h3 { font: 700 1.6rem/1.15 var(--display-font); }

.feature { grid-template-columns: 1.05fr .95fr; gap: 5rem; }
.feature-media { aspect-ratio: 1.08; padding: 3rem; border: 0; border-radius: 0; background: var(--surface-2); }
.feature-media.yt { display: block; width: 100%; min-width: 0; aspect-ratio: 16 / 9; padding: 0; background-size: cover; }
.feature-media.yt .yt-play { padding: 0; }
.specs div { padding: .8rem 0; border-left: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.specs dt { color: var(--accent-ink); }
.specs dd { color: var(--muted); }

.tab-list { padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; gap: 1.3rem; }
.tab-list button { position: relative; padding: .75rem .2rem; border-radius: 0; color: var(--muted); }
.tab-list button[aria-selected="true"] { color: var(--text); background: transparent; }
.tab-list button[aria-selected="true"]::after { content: ""; position: absolute; inset: auto 0 -1px; height: 3px; background: var(--accent-ink); }
.table-wrap { border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.tbody th { color: var(--accent-ink); }
tbody th { color: var(--accent-ink); }
.hw-grid > div { padding: 1.3rem 1.4rem 1.3rem 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }

.yt { border: 0; border-radius: 0; background-color: #2B2B2B; }
.yt-play { padding: 1.4rem; }
.yt-play::before { border-radius: 4px; }
.video-card h3 { font: 700 1.55rem/1.15 var(--display-font); }
.tag { border-radius: 0; color: #0A0A0A; background: var(--cyan); }
.social-cta { padding: 2rem 0; border: 0; border-block: 1px solid var(--line); border-radius: 0; background: transparent; }
.social-cta h3 { font: 700 1.8rem/1.15 var(--display-font); }
.handle { color: var(--accent-ink); }
.btn-ig, .btn-yt { border-radius: 4px; }

.about { grid-template-columns: 1fr; gap: 0; }
.values { border-top: 1px solid #BFBFBF; }
.values li { padding: .8rem 0; border: 0; border-bottom: 1px solid #BFBFBF; border-radius: 0; background: transparent; }

.faq { gap: 0; border-top: 1px solid var(--line); }
.faq details { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.faq details[open] { border-color: var(--line); }
.faq summary { padding: 1.25rem 3rem 1.25rem 0; font: 700 1.3rem/1.3 var(--display-font); }
.faq summary::after { right: .5rem; color: var(--accent-ink); }
.faq details p { padding: 0 3rem 1.4rem 0; color: var(--muted); }

.contact-form { border: 0; border-top: 3px solid var(--text); border-radius: 0; background: transparent; box-shadow: none; padding: 2rem 0; }
input, select, textarea { color: var(--text); background: transparent; border-color: #7A7A7A; border-radius: 2px; }
input:focus, select:focus, textarea:focus { border-color: var(--focus-color); box-shadow: 0 0 0 3px rgb(255 214 51 / .3); }
.check input { accent-color: var(--focus-color); }
.contact-list a { color: var(--link-color); }
.site-footer { background: #0A0A0A; border: 0; color: #FFFFFF; }
.site-footer .brand { color: #FFFFFF; }
.site-footer .brand strong { color: var(--cyan); }
.site-footer p { color: #BFBFBF; }
.site-footer nav a { color: #BFBFBF; }
.wa-float { border-radius: 4px; box-shadow: 0 8px 24px rgb(0 0 0 / .2); }
.wa-float::after { border-radius: 4px; border-color: #25D366; }

@media (max-width: 1000px) {
  :root { --fs-h1: 4.3rem; --fs-h2: 2.9rem; --space: 5rem; }
  .container { width: min(100% - 3rem, 860px); }
  .narrow { width: min(100% - 3rem, 760px); }
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .hero-scene { min-height: 540px; margin-right: calc((100vw - min(100vw - 3rem, 860px)) / -2); }
  .hero-copy { padding-block: 3.5rem; }
  .card { padding-right: 1.2rem; }
  .card + .card { padding-left: 1.2rem; }
}

@media (max-width: 760px) {
  :root { --header-h: 68px; --fs-h1: 3.7rem; --fs-h2: 2.65rem; }
  .container, .narrow { width: calc(100% - 2rem); }
  .section { padding-block: 4.5rem; }
  .site-nav { background: var(--mobile-nav-bg); }
  .site-nav a:not(.btn) { color: var(--text); }
  .site-nav .theme-toggle { width: 100%; min-height: 48px; }
  .hero { min-height: auto; }
  .hero-inner { min-height: auto; grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 4.5rem 0 2.5rem; }
  .hero-copy h1 { max-width: 12ch; }
  .hero-brand-banner { margin-bottom: 1.5rem; }
  .hero-scene { min-height: 440px; height: 62vw; max-height: 560px; margin: 0 -1rem; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  .scene-label-top { top: 1.1rem; right: 1rem; }
  .scene-label-bottom, .hero-scene figcaption { left: 1.2rem; }
  .cards { grid-template-columns: 1fr; }
  .card, .card + .card { min-height: auto; padding: 1.8rem 0; border: 0; border-bottom: 1px solid var(--line); }
  .card-icon { margin-bottom: 1.2rem; }
  .steps { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .steps li, .steps li + li { padding-inline: 0; }
  .feature, .about { grid-template-columns: 1fr; gap: 2.5rem; }
  .feature-media { aspect-ratio: 4 / 3; }
  .social-cta { align-items: flex-start; }
}

@media (max-width: 480px) {
  :root { --fs-h1: 3.05rem; --fs-h2: 2.3rem; }
  .hero-copy { padding-top: 3.5rem; }
  .hero-stats { gap: 1.2rem; }
  .hero-stats strong { font-size: 1.7rem; }
  .hero-stats span { max-width: 10ch; font-size: .78rem; }
  .hero-scene { min-height: 360px; }
  .scene-label { font-size: .58rem; }
  .scene-label-top > span:last-child { display: none; }
  .scene-label-bottom { gap: .45rem; }
  .steps { grid-template-columns: 1fr; gap: 1.4rem; }
  .step-n { margin-bottom: .6rem; }
  .tab-list { width: 100%; gap: .6rem; }
  .tab-list button { padding-inline: .1rem; font-size: .9rem; }
  .social-buttons { width: 100%; }
  .social-buttons .btn { flex: 1; padding-inline: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo { animation: none; transform: none; }
}
