:root {
  color-scheme: dark;
  --ink: #f2efe7;
  --muted: #a7ada7;
  --dim: #737a74;
  --surface: #151916;
  --surface-raised: #1b201c;
  --surface-soft: #222724;
  --line: rgba(242, 239, 231, 0.14);
  --line-strong: rgba(242, 239, 231, 0.24);
  --green: #42c982;
  --green-deep: #238f5b;
  --amber: #e7b45b;
  --red: #ff645d;
  --yellow: #f6bf4f;
  --radius: 22px;
  --font-display: "Avenir Next Condensed", "Helvetica Neue", sans-serif;
  --font-body: "Avenir Next", "Helvetica Neue", sans-serif;
  --font-mono: "SFMono-Regular", "Cascadia Mono", monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 9%, rgba(66, 201, 130, 0.09), transparent 26rem),
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px),
    #101310;
  background-size: auto, 48px 48px, 48px 48px, auto;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  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='.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #08130d;
  background: var(--green);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 18px;
  z-index: 20;
  width: min(1180px, calc(100% - 40px));
  min-height: 64px;
  margin: 18px auto 0;
  padding: 10px 12px 10px 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: rgba(20, 24, 21, 0.82);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.34), inset 0 1px rgba(255,255,255,0.04);
  backdrop-filter: blur(20px) saturate(130%);
}

.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-family: var(--font-display); font-size: 23px; font-weight: 700; letter-spacing: -0.02em; }
.brand img { border-radius: 10px; box-shadow: 0 5px 16px rgba(0,0,0,.35); }
.site-nav { display: flex; align-items: center; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); }
.site-nav a { padding: 7px 16px; color: var(--muted); border-radius: 8px; font-size: 13px; transition: color .2s ease, background .2s ease; }
.site-nav a:hover { color: var(--ink); background: rgba(255,255,255,.06); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.language-toggle, .icon-link { min-height: 38px; border: 0; background: transparent; }
.language-toggle { padding: 6px 8px; display: flex; align-items: center; gap: 5px; cursor: pointer; color: var(--dim); font-family: var(--font-mono); font-size: 12px; }
.language-current { color: var(--green); }
.icon-link { width: 38px; display: grid; place-items: center; border-radius: 10px; }
.icon-link:hover { background: rgba(255,255,255,.06); }
.icon-link svg { width: 20px; fill: currentColor; }

.hero {
  width: min(1240px, calc(100% - 48px));
  min-height: 720px;
  margin: 0 auto;
  padding: 104px 0 88px;
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(540px, 1.16fr);
  align-items: center;
  gap: 62px;
}

.release-line { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; font-family: var(--font-mono); font-size: 12px; }
.release-badge { padding: 5px 9px; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 7px; background: rgba(255,255,255,.03); }
.release-status { display: inline-flex; align-items: center; gap: 8px; color: var(--amber); }
.release-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 14px rgba(231,180,91,.65); }

h1, h2, h3 { margin: 0; font-family: var(--font-display); line-height: .98; letter-spacing: -0.045em; text-wrap: balance; }
h1 { max-width: 680px; font-size: clamp(64px, 6.2vw, 96px); font-weight: 650; }
h1 em, h2 em { color: var(--green); font-style: normal; }
.hero-lede { max-width: 630px; margin: 28px 0 0; color: #c3c7c2; font-size: clamp(17px, 1.7vw, 20px); line-height: 1.65; }
.hero-actions { margin-top: 38px; display: flex; align-items: center; gap: 24px; }
.download-button { min-height: 64px; padding: 10px 24px 10px 18px; display: inline-flex; align-items: center; gap: 13px; color: #07140d; border-radius: 12px; background: var(--green); box-shadow: 0 14px 32px rgba(25,156,92,.24), inset 0 1px rgba(255,255,255,.4); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.download-button:hover { transform: translateY(-2px); background: #55db91; box-shadow: 0 18px 38px rgba(25,156,92,.32), inset 0 1px rgba(255,255,255,.5); }
.download-button svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.download-button span { display: grid; gap: 1px; }
.download-button strong { font-size: 16px; font-weight: 700; line-height: 1.35; }
.download-button small { font-size: 10px; opacity: .7; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; border-bottom: 1px solid var(--line-strong); transition: color .2s ease, border-color .2s ease; }
.text-link:hover { color: var(--ink); border-color: var(--green); }
.requirements { margin: 17px 0 0 3px; color: var(--dim); font-family: var(--font-mono); font-size: 11px; }

.layout-lab { min-width: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 18px; background: rgba(19,23,20,.88); box-shadow: 0 34px 100px rgba(0,0,0,.46), inset 0 1px rgba(255,255,255,.06); transform: rotate(.35deg); }
.lab-header { min-height: 58px; padding: 0 18px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.045), transparent); }
.traffic-lights { display: flex; gap: 7px; }
.traffic-lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.traffic-lights i:nth-child(2) { background: var(--yellow); }
.traffic-lights i:nth-child(3) { background: var(--green); }
.lab-header p { margin: 0; display: grid; text-align: center; font-size: 13px; }
.lab-header p small { color: var(--dim); font-size: 10px; }
.lab-shortcut { justify-self: end; padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--green); font-family: var(--font-mono); font-size: 12px; }
.desktop { position: relative; height: 410px; overflow: hidden; background: radial-gradient(circle at 50% 110%, rgba(66,201,130,.13), transparent 45%), #0d100e; }
.desktop-grid { position: absolute; inset: 24px; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; background: linear-gradient(90deg, transparent 49.9%, rgba(255,255,255,.07) 50%, transparent 50.1%), linear-gradient(transparent 49.9%, rgba(255,255,255,.07) 50%, transparent 50.1%); }
.window { position: absolute; overflow: hidden; border: 1px solid rgba(255,255,255,.24); border-radius: 10px; background: linear-gradient(145deg, #272d29, #171b18); box-shadow: 0 18px 50px rgba(0,0,0,.48), inset 0 1px rgba(255,255,255,.06); transition: inset .55s cubic-bezier(.2,.86,.2,1), width .55s cubic-bezier(.2,.86,.2,1), height .55s cubic-bezier(.2,.86,.2,1), transform .55s cubic-bezier(.2,.86,.2,1), opacity .35s ease; }
.window-one { inset: 44px 50.5% 44px 42px; border-color: rgba(66,201,130,.8); z-index: 2; }
.window-two { inset: 78px 38px 72px 53%; opacity: .58; transform: scale(.93); }
.window-bar { height: 30px; padding-left: 11px; display: flex; align-items: center; gap: 5px; border-bottom: 1px solid rgba(255,255,255,.08); }
.window-bar i { width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.window-bar i:nth-child(2) { background: var(--yellow); }
.window-bar i:nth-child(3) { background: var(--green); }
.code-row { height: 7px; margin: 20px 18px -9px; display: block; border-radius: 4px; background: rgba(255,255,255,.14); }
.code-row.long { width: 72%; }
.code-row.medium { width: 54%; }
.code-row.short { width: 36%; background: rgba(66,201,130,.34); }
.note-line { height: 10px; margin: 24px 22px -10px; display: block; border-radius: 3px; background: rgba(255,255,255,.12); }
.note-line.short { width: 55%; }
.target-label { position: absolute; left: 50%; bottom: 17px; transform: translateX(-50%); padding: 7px 12px; color: var(--green); border: 1px solid rgba(66,201,130,.38); border-radius: 20px; background: rgba(11,20,15,.76); font-family: var(--font-mono); font-size: 10px; backdrop-filter: blur(10px); }

.desktop[data-layout="right"] .window-one { inset: 44px 42px 44px 50.5%; }
.desktop[data-layout="right"] .window-two { inset: 78px 53% 72px 38px; }
.desktop[data-layout="corner"] .window-one { inset: 44px 50.5% 50.5% 42px; }
.desktop[data-layout="corner"] .window-two { inset: 53% 38px 38px 53%; }
.desktop[data-layout="third"] .window-one { inset: 44px 66% 44px 42px; }
.desktop[data-layout="third"] .window-two { inset: 63px 42px 63px 38%; transform: scale(1); }
.desktop[data-layout="max"] .window-one { inset: 24px; }
.desktop[data-layout="max"] .window-two { opacity: 0; transform: scale(.84); }

.layout-controls { padding: 14px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; border-top: 1px solid var(--line); }
.layout-control { min-width: 0; padding: 11px 5px 9px; display: grid; justify-items: center; gap: 7px; border: 1px solid transparent; border-radius: 9px; color: var(--dim); background: transparent; cursor: pointer; font-family: var(--font-mono); font-size: 9px; transition: color .2s, border-color .2s, background .2s; }
.layout-control:hover { color: var(--ink); background: rgba(255,255,255,.04); }
.layout-control.is-active { color: var(--green); border-color: rgba(66,201,130,.28); background: rgba(66,201,130,.08); }
.layout-icon { position: relative; width: 30px; height: 20px; border: 1px solid currentColor; border-radius: 3px; opacity: .9; }
.layout-icon::after { content: ""; position: absolute; background: currentColor; opacity: .35; }
.icon-left::after { inset: 2px 50% 2px 2px; }
.icon-right::after { inset: 2px 2px 2px 50%; }
.icon-corner::after { inset: 2px 50% 50% 2px; }
.icon-third::after { inset: 2px 65% 2px 2px; }
.icon-max::after { inset: 2px; }

.trust-strip { width: min(1180px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.trust-strip div { padding: 24px 30px; display: grid; gap: 3px; border-left: 1px solid var(--line); }
.trust-strip div:first-child { border-left: 0; }
.trust-strip strong { font-family: var(--font-display); font-size: 22px; letter-spacing: -.02em; }
.trust-strip span { color: var(--dim); font-size: 11px; }

.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.features-section { padding: 150px 0 130px; }
.section-heading { max-width: 650px; display: grid; gap: 20px; }
.eyebrow { margin: 0; color: var(--green); font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.section-heading h2, .settings-copy h2, .install-heading h2 { font-size: clamp(52px, 6vw, 82px); }
.section-heading > p:last-child { max-width: 540px; margin: 0; color: var(--muted); font-size: 18px; }
.feature-grid { margin-top: 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 440px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); background: linear-gradient(150deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); box-shadow: inset 0 1px rgba(255,255,255,.035); }
.feature-card:first-child { border-radius: 26px 6px 6px 6px; }
.feature-card:last-child { border-radius: 6px 26px 6px 6px; }
.feature-number { color: var(--green); font-family: var(--font-mono); font-size: 12px; }
.feature-card h3 { max-width: 340px; margin-top: 38px; font-size: 36px; }
.feature-card p { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.feature-card small { margin-top: auto; color: var(--dim); font-family: var(--font-mono); font-size: 10px; }
.key-sequence { margin: 42px 0 20px; display: flex; justify-content: center; gap: 10px; }
kbd { min-width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-bottom-width: 4px; border-radius: 10px; color: var(--ink); background: linear-gradient(#2b302c, #1a1e1b); box-shadow: 0 12px 18px rgba(0,0,0,.25); font-family: var(--font-mono); font-size: 22px; }
.display-visual { position: relative; height: 142px; margin-top: 34px; }
.monitor { position: absolute; left: 0; top: 24px; width: 49%; height: 85px; padding: 7px; border: 2px solid #4a504b; border-radius: 8px; background: #111411; box-shadow: 0 14px 20px rgba(0,0,0,.24); }
.monitor::after { content: ""; position: absolute; left: 50%; bottom: -18px; width: 34px; height: 16px; border: solid #4a504b; border-width: 0 3px 3px; transform: translateX(-50%); }
.monitor i { width: 36%; height: 100%; display: block; border-radius: 4px; background: rgba(242,239,231,.75); }
.monitor.second { left: auto; right: 0; top: 39px; }
.monitor.second i { margin-left: auto; border: 1px dashed var(--green); background: transparent; }
.display-visual svg { position: absolute; z-index: 2; inset: 18px 12% auto; width: 76%; height: 80px; fill: none; stroke: var(--green); stroke-width: 2; filter: drop-shadow(0 0 6px rgba(66,201,130,.5)); }
.history-steps { margin: 52px 0 26px; display: flex; align-items: center; justify-content: space-between; }
.history-steps i { color: var(--dim); font-style: normal; }
.history-window { position: relative; width: 68px; height: 52px; border: 1px solid var(--line-strong); border-radius: 5px; }
.history-window::after { content: ""; position: absolute; border-radius: 2px; background: var(--green); opacity: .72; }
.state-one::after { inset: 4px 52% 4px 4px; }
.state-two::after { inset: 4px 4px 52% 4px; }
.state-three::after { inset: 4px 4px 4px 52%; }

.settings-section { padding: 80px 0 150px; display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 84px; }
.settings-copy { display: grid; gap: 20px; }
.settings-copy > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 17px; }
.settings-copy ul { margin: 16px 0 0; padding: 0; display: grid; gap: 14px; list-style: none; }
.settings-copy li { display: flex; align-items: center; gap: 12px; color: #c7cbc7; font-size: 14px; }
.settings-copy li i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(66,201,130,.5); }
.settings-frame { position: relative; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: #191d1a; box-shadow: 0 30px 80px rgba(0,0,0,.42); transform: rotate(1deg); }
.settings-frame img { position: relative; z-index: 1; width: 100%; border-radius: 11px; }
.settings-frame figcaption { padding: 15px 4px 2px; color: var(--dim); font-family: var(--font-mono); font-size: 10px; text-align: center; }
.settings-glow { position: absolute; inset: 20% 5%; z-index: 0; background: rgba(66,201,130,.18); filter: blur(70px); }

.privacy-section { min-height: 210px; padding: 42px; display: grid; grid-template-columns: auto .9fr 1.1fr; align-items: center; gap: 38px; border: 1px solid rgba(66,201,130,.3); background: linear-gradient(110deg, rgba(66,201,130,.12), rgba(66,201,130,.025) 55%, transparent); }
.privacy-mark { width: 84px; height: 84px; display: grid; place-items: center; border: 1px solid rgba(66,201,130,.3); border-radius: 50%; background: rgba(66,201,130,.07); }
.privacy-mark svg { width: 46px; fill: none; stroke: var(--green); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.privacy-section h2 { margin-top: 10px; font-size: clamp(34px, 4vw, 54px); }
.privacy-section > p { margin: 0; color: var(--muted); font-size: 16px; }

.install-section { padding: 150px 0 110px; }
.install-steps { margin: 70px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; border-top: 1px solid var(--line); }
.install-steps li { min-height: 210px; padding: 26px 30px; display: grid; grid-template-columns: auto 1fr; align-content: start; column-gap: 20px; border-right: 1px solid var(--line); }
.install-steps li:last-child { border-right: 0; }
.install-steps li > span { grid-row: 1 / 3; color: var(--green); font-family: var(--font-mono); font-size: 11px; }
.install-steps strong { font-family: var(--font-display); font-size: 27px; letter-spacing: -.025em; }
.install-steps p { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.final-cta { margin-top: 90px; padding: 36px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(125deg, #1e2420, #141815); }
.final-cta img { border-radius: 20px; box-shadow: 0 15px 32px rgba(0,0,0,.35); }
.final-cta h2 { font-size: clamp(30px, 4vw, 46px); }
.final-cta p { margin: 7px 0 0; color: var(--muted); }
.download-button.compact { min-height: 56px; }

.site-footer { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 36px 0 48px; display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); color: var(--dim); font-size: 11px; }
.site-footer p { margin: 0; display: grid; gap: 6px; }
.site-footer strong { color: var(--ink); font-family: var(--font-display); font-size: 17px; }
.site-footer div { display: flex; align-items: center; gap: 20px; }
.site-footer a:hover { color: var(--green); }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 84px; }
  .hero-copy { max-width: 760px; }
  .layout-lab { max-width: 760px; width: 100%; justify-self: center; transform: none; }
  .feature-card { min-height: 400px; }
  .settings-section { grid-template-columns: 1fr; gap: 54px; }
  .settings-copy { max-width: 660px; }
  .settings-frame { max-width: 760px; justify-self: center; transform: none; }
  .privacy-section { grid-template-columns: auto 1fr; }
  .privacy-section > p { grid-column: 2; }
}

@media (max-width: 760px) {
  body { background-size: auto, 32px 32px, 32px 32px, auto; }
  .site-header { top: 10px; width: calc(100% - 24px); margin-top: 10px; min-height: 58px; border-radius: 14px; }
  .brand { font-size: 20px; }
  .brand img { width: 36px; height: 36px; }
  .language-toggle { padding-inline: 3px; }
  .hero, .section-shell, .trust-strip, .site-footer { width: calc(100% - 28px); }
  .hero { min-height: auto; padding: 72px 0 64px; gap: 52px; }
  h1 { font-size: clamp(52px, 16vw, 74px); }
  .hero-lede { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .desktop { height: 320px; }
  .window-one { inset: 36px 50.5% 36px 28px; }
  .window-two { inset: 60px 24px 54px 53%; }
  .desktop[data-layout="right"] .window-one { inset: 36px 28px 36px 50.5%; }
  .desktop[data-layout="right"] .window-two { inset: 60px 53% 54px 24px; }
  .desktop[data-layout="corner"] .window-one { inset: 36px 50.5% 50.5% 28px; }
  .desktop[data-layout="third"] .window-one { inset: 36px 66% 36px 28px; }
  .layout-controls { overflow-x: auto; grid-template-columns: repeat(5, minmax(70px, 1fr)); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-strip div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .trust-strip div:nth-child(4) { border-top: 1px solid var(--line); }
  .features-section, .install-section { padding-block: 100px; }
  .section-heading h2, .settings-copy h2, .install-heading h2 { font-size: 52px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 400px; border-radius: 8px !important; }
  .feature-card:first-child { border-radius: 24px 24px 8px 8px !important; }
  .feature-card:last-child { border-radius: 8px 8px 24px 24px !important; }
  .settings-section { padding-bottom: 100px; }
  .privacy-section { padding: 30px 24px; grid-template-columns: 1fr; }
  .privacy-section > p { grid-column: auto; }
  .privacy-mark { width: 66px; height: 66px; }
  .install-steps { grid-template-columns: 1fr; }
  .install-steps li { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--line); }
  .final-cta { grid-template-columns: auto 1fr; padding: 24px; }
  .final-cta .download-button { grid-column: 1 / -1; justify-content: center; }
  .site-footer { flex-direction: column; }
  .site-footer div { flex-wrap: wrap; }
}

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