:root {
  --bg: #f5f7f4;
  --surface: #ffffff;
  --ink: #18211d;
  --muted: #66716b;
  --line: #dce3de;
  --green: #16785b;
  --green-dark: #0b503d;
  --green-soft: #dff3ea;
  --amber: #f0a33a;
  --night: #14231e;
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 16px/1.65 "Segoe UI Variable", "Segoe UI", system-ui, sans-serif; }
a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(245,247,244,.88); backdrop-filter: blur(14px); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); font-size: 1.1rem; font-weight: 750; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 10px; }
.languages { display: flex; gap: .35rem; align-items: center; font-size: .82rem; font-weight: 750; }
.languages a, .languages span { min-width: 34px; padding: .35rem .5rem; border-radius: 8px; text-align: center; }
.languages span { color: white; background: var(--green); }
.hero { position: relative; overflow: hidden; padding: 6.5rem 0 7rem; background: linear-gradient(rgba(22,120,91,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(22,120,91,.07) 1px, transparent 1px), radial-gradient(circle at 78% 42%, rgba(240,163,58,.2), transparent 24rem), var(--bg); background-size: 48px 48px, 48px 48px, auto, auto; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr); gap: 5rem; align-items: center; }
.eyebrow { margin: 0 0 .75rem; color: var(--green); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1 { max-width: 730px; margin: 0; font-size: clamp(3rem, 6vw, 5.5rem); line-height: .99; letter-spacing: -.055em; }
.lead { max-width: 650px; margin: 1.6rem 0 2rem; color: var(--muted); font-size: 1.24rem; line-height: 1.6; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: .9rem 1.35rem; border-radius: 12px; color: white; background: var(--green); font-weight: 750; box-shadow: 0 10px 28px rgba(11,80,61,.2); transition: transform .18s, background .18s; }
.button:hover { background: var(--green-dark); text-decoration: none; transform: translateY(-2px); }
.text-link { font-weight: 700; }
.release-meta { min-height: 1.6em; margin: 1rem 0 0; color: var(--muted); font-size: .9rem; }
.release-version { color: var(--green-dark); }
.requirements { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1.3rem 0 0; padding: 0; color: var(--muted); font-size: .85rem; list-style: none; }
.requirements li::before { content: "✓"; margin-right: .4rem; color: var(--green); font-weight: 800; }
.desk-demo { position: relative; min-height: 500px; padding: 1.5rem; border: 1px solid rgba(255,255,255,.15); border-radius: 30px; color: white; background: var(--night); box-shadow: 0 35px 80px rgba(20,35,30,.25); overflow: hidden; }
.desk-demo::before { content: ""; position: absolute; inset: auto -10% -35% 20%; height: 65%; border-radius: 50%; background: rgba(22,120,91,.32); filter: blur(65px); }
.connection { position: relative; display: flex; align-items: center; gap: .55rem; color: #b8c8c1; font-size: .82rem; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #50dfa8; box-shadow: 0 0 0 0 rgba(80,223,168,.6); animation: pulse 2s infinite; }
.readout { position: relative; display: grid; grid-template-columns: auto auto; width: fit-content; margin: 1.4rem auto 0; align-items: end; }
.readout span { grid-column: 1 / 3; color: #9eb0a8; font-size: .78rem; text-align: center; }
.readout strong { font: 760 4.1rem/1 "Segoe UI Variable", "Segoe UI", sans-serif; letter-spacing: -.06em; }
.readout small { padding: 0 0 .45rem .5rem; color: #9eb0a8; font-size: 1rem; }
.desk-scene { position: relative; height: 260px; margin-top: .3rem; }
.measure { position: absolute; left: 1rem; top: 14px; bottom: 16px; display: grid; grid-template-rows: auto 1fr auto; color: #789087; font: .65rem/1 Consolas, monospace; text-align: center; }
.measure i { width: 1px; margin: .4rem auto; background: repeating-linear-gradient(to bottom, #476158 0 1px, transparent 1px 9px); }
.desk { position: absolute; inset: 0; }
.desk-top { position: absolute; left: 18%; right: 8%; top: 88px; height: 18px; border-radius: 5px; background: linear-gradient(90deg, #e8c390, #f6deb9); box-shadow: 0 12px 22px rgba(0,0,0,.22); }
.desk-leg { position: absolute; top: 104px; width: 15px; height: 112px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, #8ea099, #d2ddd8 55%, #788d84); }
.desk-leg.left { left: 30%; }
.desk-leg.right { right: 20%; }
.desk-foot { position: absolute; top: 214px; width: 78px; height: 9px; border-radius: 5px; background: #9aaba4; }
.desk-foot.left { left: calc(30% - 31px); }
.desk-foot.right { right: calc(20% - 31px); }
.preset-row { position: relative; display: flex; justify-content: center; gap: .6rem; }
.preset-row span { padding: .55rem .8rem; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; color: #c5d1cc; background: rgba(255,255,255,.055); font-size: .75rem; }
.section { padding: 6.5rem 0; border-top: 1px solid var(--line); }
h2 { max-width: 760px; margin: 0 0 2.2rem; font-size: clamp(2.2rem, 4vw, 3.7rem); line-height: 1.08; letter-spacing: -.04em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.steps article { min-height: 270px; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step-number { color: var(--green); font: 800 .78rem/1 Consolas, monospace; }
.steps h3 { margin: 4rem 0 .55rem; font-size: 1.25rem; }
.steps p, .section-copy { margin: 0; color: var(--muted); }
.control-section { color: white; background: var(--night); }
.control-section .eyebrow { color: #61d4ab; }
.control-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5rem; }
.control-section .section-copy { color: #a8bab2; font-size: 1.1rem; }
.feature-list { display: grid; gap: .75rem; }
.feature-list article { display: grid; grid-template-columns: 50px 1fr; gap: 1rem; padding: 1.15rem; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.04); }
.feature-list article > span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 12px; color: #75e0b8; background: rgba(117,224,184,.1); font-size: 1.2rem; }
.feature-list h3 { margin: 0 0 .25rem; }
.feature-list p { margin: 0; color: #a8bab2; font-size: .92rem; }
.compatibility { background: #eaf0ec; }
.compatibility-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 5rem; align-items: start; }
.compatibility-grid > div > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.notice { padding: 1.6rem; border-left: 5px solid var(--amber); border-radius: 4px 16px 16px 4px; background: #fff8eb; }
.notice h3 { margin: 0 0 .75rem; }
.notice p { margin: .55rem 0; color: #655844; }
.credits { background: var(--surface); }
.credit-card { display: grid; grid-template-columns: 84px 1fr; gap: 2rem; align-items: start; }
.credit-mark { display: grid; width: 72px; height: 72px; place-items: center; border-radius: 22px; color: var(--green); background: var(--green-soft); font-size: 1.7rem; }
.credit-card h2 { margin-bottom: 1.2rem; }
.credit-card p:not(.eyebrow) { max-width: 820px; margin: .55rem 0; color: var(--muted); }
.credit-card a { font-weight: 700; text-decoration: underline; text-decoration-color: rgba(22,120,91,.3); text-underline-offset: .2em; }
.install-card { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; padding: 3rem; border-radius: 28px; background: var(--surface); box-shadow: 0 20px 55px rgba(32,58,48,.09); }
.install-card h2 { margin-bottom: .8rem; }
.install-card > div > p:last-child { color: var(--muted); }
.install-card ol { margin: .3rem 0 0; padding-left: 1.3rem; }
.install-card li { margin-bottom: .75rem; }
.install-card .button { justify-self: start; align-self: start; }
.fine-print { margin: 0; color: var(--muted); font-size: .82rem; }
.streamdeck-section { background: var(--surface); }
.streamdeck-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 430px); gap: 3rem 4rem; align-items: center; padding: 3rem; border-radius: 28px; background: linear-gradient(135deg, #fff 45%, #edf5f1); box-shadow: 0 20px 55px rgba(32,58,48,.09); }
.streamdeck-card h2 { margin-bottom: .8rem; }
.streamdeck-card .section-copy { color: var(--muted); max-width: 660px; margin: .55rem 0 0; }
.streamdeck-figure { min-width: 0; margin: 0; text-align: center; }
.streamdeck-device { position: relative; width: min(100%, 410px); margin-inline: auto; padding: 1.35rem 1.35rem .9rem; border: 1px solid #3a413f; border-radius: 25px 25px 34px 34px; background: linear-gradient(145deg, #252a29, #090b0b 72%); box-shadow: 0 26px 38px rgba(12,23,19,.25), inset 0 1px 0 rgba(255,255,255,.12); transform: perspective(800px) rotateX(4deg); }
.streamdeck-device::after { content: ""; position: absolute; inset: 8px 12% auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent); }
.deck-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: .72rem; }
.deck-key { position: relative; display: flex; aspect-ratio: 1; min-width: 0; flex-direction: column; align-items: center; justify-content: center; gap: .12rem; border: 3px solid #050606; border-radius: 13px; color: #dbe9e3; background: radial-gradient(circle at 50% 30%, #26332e, #111614 72%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09), 0 3px 5px rgba(0,0,0,.7); overflow: hidden; }
.deck-key::after { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, rgba(255,255,255,.1), transparent 38%); pointer-events: none; }
.deck-key-stand { color: #dffff3; background: radial-gradient(circle at 50% 30%, #15946f, #073d2e 78%); }
.deck-key-sit { color: #fff5e5; background: radial-gradient(circle at 50% 30%, #c87924, #5f2b0d 78%); }
.deck-key-empty { background: radial-gradient(circle at 50% 30%, #1b201e, #0b0e0d 78%); }
.deck-key-icon { font: 750 clamp(1.15rem, 3vw, 1.55rem)/.8 "Segoe UI Variable", "Segoe UI", sans-serif; }
.deck-key-value { font: 760 clamp(.95rem, 2.7vw, 1.35rem)/1 "Segoe UI Variable", "Segoe UI", sans-serif; letter-spacing: -.04em; }
.deck-key-value::after { content: " cm"; color: currentColor; font-size: .45em; font-weight: 600; opacity: .72; }
.deck-key-label { position: relative; max-width: 90%; color: currentColor; font-size: clamp(.48rem, 1.3vw, .64rem); font-weight: 750; line-height: 1.1; letter-spacing: .035em; text-transform: uppercase; }
.deck-brand { display: flex; align-items: baseline; justify-content: center; gap: .38rem; padding-top: .72rem; color: #88918e; font: 700 .56rem/1 "Segoe UI Variable", "Segoe UI", sans-serif; letter-spacing: .14em; }
.deck-brand small { font-size: .46rem; letter-spacing: .09em; }
.streamdeck-figure figcaption { margin-top: .8rem; color: var(--muted); font-size: .78rem; }
.support { background: var(--green-soft); }
.support-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.support-card h2 { margin-bottom: .8rem; }
.support-card > div > p:last-child { max-width: 520px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.support-options { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.support-options li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 1rem; align-items: center; padding: .9rem 1rem; border: 1px solid rgba(22,120,91,.14); border-radius: 12px; background: rgba(255,255,255,.62); }
.support-options span { color: var(--muted); font-size: .82rem; font-weight: 700; }
.support-options a { font-weight: 700; }
.support-options code { min-width: 0; font-size: .78rem; }
code { padding: .12rem .35rem; border-radius: 5px; background: #edf1ee; overflow-wrap: anywhere; }
footer { padding: 2.5rem 0; color: #9fb1aa; background: #0c1713; font-size: .86rem; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: .4rem 2rem; align-items: center; }
footer p { margin: 0; }
footer a { color: #d4e5de; }
.footer-legal { grid-column: 1 / -1; color: #71867d; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(80,223,168,0); } 100% { box-shadow: 0 0 0 0 rgba(80,223,168,0); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .pulse { animation: none; } }
@media (max-width: 900px) {
  .hero { padding: 4.5rem 0; }
  .hero-grid, .control-grid, .compatibility-grid, .support-card { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .cta, .requirements { justify-content: center; }
  .desk-demo { width: min(540px, 100%); margin-inline: auto; }
  .steps { grid-template-columns: 1fr; }
  .steps article { min-height: 0; }
  .steps h3 { margin-top: 2rem; }
  .streamdeck-card { grid-template-columns: 1fr; }
  .streamdeck-copy { text-align: center; }
  .streamdeck-card .section-copy { margin-inline: auto; }
}
@media (max-width: 650px) {
  .container { width: min(100% - 1.5rem, 1120px); }
  .hero { padding: 3.5rem 0; }
  h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .desk-demo { min-height: 455px; padding: 1.1rem; }
  .desk-scene { height: 225px; }
  .desk-top { top: 70px; }
  .desk-leg { top: 86px; height: 102px; }
  .desk-foot { top: 186px; }
  .preset-row { gap: .35rem; }
  .preset-row span { padding: .45rem .55rem; font-size: .67rem; }
  .section { padding: 4.5rem 0; }
  .install-card { grid-template-columns: 1fr; padding: 1.5rem; }
  .streamdeck-card { grid-template-columns: 1fr; padding: 1.5rem; }
  .streamdeck-device { padding: 1rem 1rem .75rem; border-radius: 20px 20px 27px 27px; }
  .deck-keys { gap: .48rem; }
  .deck-key { border-width: 2px; border-radius: 10px; }
  .support-options li { grid-template-columns: 1fr; gap: .25rem; }
  .credit-card { grid-template-columns: 1fr; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-legal { grid-column: auto; }
}
