:root {
  color-scheme: dark;
  --bg: #0b0d0f;
  --panel: #121518;
  --panel-2: #171a1e;
  --line: #2b2d2f;
  --text: #f4efe3;
  --muted: #a7a49c;
  --gold: #d7a640;
  --amber: #ffad19;
  --cyan: #44d8f4;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.ambient { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; opacity: .13; }
.ambient-one { width: 420px; height: 420px; top: 110px; right: 3vw; background: var(--amber); }
.ambient-two { width: 320px; height: 320px; top: 480px; left: -150px; background: var(--cyan); opacity: .07; }

.site-header {
  width: min(calc(100% - 40px), var(--max));
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 1.05rem; font-weight: 760; letter-spacing: .015em; }
.brand img { object-fit: contain; filter: drop-shadow(0 0 12px rgba(255,173,25,.23)); }
.brand span span { color: var(--gold); }
nav { display: flex; gap: 24px; align-items: center; }
nav a { color: #c8c4bb; text-decoration: none; font-size: .92rem; transition: color .2s ease; }
nav a:hover, nav a:focus-visible { color: white; }
.language-picker { position: relative; display: inline-flex; align-items: center; }
.language-picker::before { content: "◈"; position: absolute; left: 10px; color: var(--gold); font-size: .72rem; pointer-events: none; }
.language-picker select { min-height: 36px; padding: 6px 28px 6px 27px; color: #d8d3c9; background: #131619; border: 1px solid #343638; border-radius: 2px; font: 650 .82rem/1 Inter, "Segoe UI", sans-serif; cursor: pointer; }
.language-picker select:hover { border-color: #625b4c; }
.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; }

main { position: relative; z-index: 1; }
.hero {
  width: min(calc(100% - 40px), var(--max));
  min-height: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 60px;
  padding: 80px 0 100px;
}
.eyebrow, .kicker { color: var(--gold); font-size: .78rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow b, .trust-row b { font: inherit; }
.eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 600; line-height: 1.05; }
h1 { margin-top: 24px; max-width: 720px; font-size: clamp(3.2rem, 6vw, 5.7rem); letter-spacing: -.045em; }
h1 em { color: var(--gold); font-style: normal; }
.hero-lead { max-width: 620px; margin: 28px 0 0; color: #b9b6ae; font-size: 1.08rem; }
.compatibility-badge { width: fit-content; max-width: 620px; margin-top: 22px; padding: 9px 12px; display: flex; align-items: center; gap: 10px; border: 1px solid #55452d; background: rgba(215,166,64,.065); }
.compatibility-badge span { flex: 0 0 auto; padding: 3px 7px; color: #15110a; background: var(--gold); font-size: .7rem; font-weight: 850; letter-spacing: .08em; }
.compatibility-badge p { margin: 0; color: #c7b994; font-size: .8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 50px; padding: 12px 22px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 3px; font: 700 .91rem/1 Inter, "Segoe UI", sans-serif; text-decoration: none; cursor: pointer; }
.button-primary { color: #16120a; background: linear-gradient(135deg, #f1c257, #b77d20); box-shadow: 0 12px 38px rgba(198,131,24,.18); }
.button-primary:hover { filter: brightness(1.08); }
.button-ghost { color: #ddd8ce; border-color: #3d3e40; background: rgba(255,255,255,.025); }
.button-ghost:hover { border-color: #68645b; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px 24px; margin: 30px 0 0; padding: 0; list-style: none; color: #918e87; font-size: .82rem; }
.trust-row span { color: var(--cyan); margin-right: 5px; }

.hero-mark { position: relative; min-height: 480px; display: grid; place-items: center; }
.hero-mark > img { position: relative; width: min(100%, 500px); height: auto; z-index: 2; filter: drop-shadow(0 32px 45px rgba(0,0,0,.55)); animation: settle 7s ease-in-out infinite; }
.mark-halo { position: absolute; width: 68%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,174,28,.22), rgba(68,216,244,.035) 48%, transparent 70%); filter: blur(10px); }
.version-chip { position: absolute; right: 0; bottom: 40px; z-index: 3; min-width: 168px; padding: 13px 16px; border: 1px solid #3a3936; border-left: 2px solid var(--gold); background: rgba(15,17,19,.9); backdrop-filter: blur(12px); }
.version-chip span { display: block; color: #8f8c85; font-size: .72rem; }
.version-chip strong { color: var(--text); font-size: 1.1rem; letter-spacing: .06em; }
@keyframes settle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.feature-section, .guide-section, .walkthrough-section, .security-section, .download-section { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.feature-section { padding: 100px 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.section-heading h2, .security-copy h2, .download-section h2 { max-width: 700px; font-size: clamp(2.25rem, 4vw, 3.8rem); letter-spacing: -.025em; }
.kicker { margin: 0 0 14px; }
.feature-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.feature-card { min-height: 310px; padding: 30px; border: 1px solid var(--line); background: linear-gradient(145deg, var(--panel-2), #101214); position: relative; overflow: hidden; }
.feature-card::after { content: ""; position: absolute; width: 160px; height: 160px; right: -80px; bottom: -80px; border: 1px solid rgba(215,166,64,.11); transform: rotate(45deg); }
.feature-card.featured { border-top-color: #795721; background: radial-gradient(circle at 20% 110%, rgba(255,171,24,.1), transparent 42%), linear-gradient(145deg, #191a1b, #111315); }
.card-index { color: #67645f; font: 700 .78rem/1 Inter, sans-serif; letter-spacing: .12em; }
.feature-card h3 { margin-top: 70px; font-size: 1.55rem; }
.feature-card p { color: #9f9c95; font-size: .94rem; }
.mini-flow { display: flex; align-items: center; gap: 8px; margin-top: 26px; color: #d7d2c8; font-size: .72rem; }
.mini-flow span { padding: 7px 8px; border: 1px solid #3a3935; background: #111315; }
.mini-flow i { width: 12px; height: 1px; background: var(--gold); opacity: .55; }

.guide-section { padding: 100px 0; display: grid; grid-template-columns: .82fr 1.18fr; gap: 72px; align-items: center; border-top: 1px solid var(--line); }
.guide-copy h2 { max-width: 540px; font-size: clamp(2.25rem, 4vw, 3.8rem); letter-spacing: -.025em; }
.guide-copy > p:not(.kicker) { max-width: 530px; color: #9f9c95; }
.guide-steps { margin: 28px 0 0; padding: 0; list-style: none; }
.guide-steps li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid #292c2e; }
.guide-steps span { color: var(--cyan); font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.guide-steps p { margin: -5px 0 0; color: #c4c0b7; font-size: .9rem; }
.video-shell { overflow: hidden; border: 1px solid #3b3934; background: #080a0c; box-shadow: 0 28px 70px rgba(0,0,0,.28); }
.video-topbar { height: 46px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #292c2e; color: #706d66; font-size: .69rem; letter-spacing: .12em; }
.video-topbar b { color: var(--gold); font-size: .65rem; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.video-placeholder { min-height: 362px; padding: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: radial-gradient(circle at 50% 50%, rgba(68,216,244,.07), transparent 31%), linear-gradient(145deg, rgba(255,255,255,.018), transparent); }
.play-ring { width: 74px; height: 74px; display: grid; place-items: center; padding-left: 4px; border: 1px solid #65512e; border-radius: 50%; color: var(--gold); background: rgba(215,166,64,.055); box-shadow: 0 0 32px rgba(215,166,64,.08); font-size: 1.15rem; }
.video-placeholder h3 { margin-top: 24px; font-size: 1.4rem; }
.video-placeholder p { max-width: 440px; margin: 10px 0 0; color: #85827b; font-size: .88rem; }

.walkthrough-section { padding: 112px 0 72px; border-top: 1px solid var(--line); }
.walkthrough-heading { max-width: 810px; margin-bottom: 78px; }
.walkthrough-heading h2 { font-size: clamp(2.4rem, 4.6vw, 4.3rem); letter-spacing: -.035em; }
.walkthrough-heading > p:last-child { max-width: 720px; margin: 24px 0 0; color: #9f9c95; }
.walkthrough-group { padding: 0 0 88px; }
.walkthrough-group + .walkthrough-group { padding-top: 82px; border-top: 1px solid #25282b; }
.group-heading { margin-bottom: 30px; display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; }
.group-heading > span { padding-top: 5px; color: var(--cyan); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.group-heading h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.group-heading p { max-width: 690px; margin: 9px 0 0; color: #8e8b84; }
.screenshot-grid { display: grid; gap: 18px; }
.screenshot-grid.two-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.screenshot-grid.guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.screenshot-card { min-width: 0; margin: 0; display: flex; flex-direction: column; border: 1px solid #303235; background: linear-gradient(145deg, #16191c, #101214); box-shadow: 0 18px 45px rgba(0,0,0,.16); }
.screenshot-card.wide { grid-column: 1 / -1; }
.screenshot-button { min-height: 330px; padding: 22px; display: grid; place-items: center; border: 0; border-bottom: 1px solid #292c2e; background: radial-gradient(circle at 50% 35%, rgba(215,166,64,.055), transparent 48%), #090b0d; cursor: zoom-in; overflow: hidden; }
.screenshot-card.wide .screenshot-button { min-height: 410px; }
.screenshot-card.compact .screenshot-button { min-height: 280px; }
.screenshot-button img { display: block; max-width: 100%; max-height: 500px; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 16px 26px rgba(0,0,0,.3)); transition: transform .25s ease, filter .25s ease; }
.screenshot-button:hover img, .screenshot-button:focus-visible img { transform: scale(1.018); filter: drop-shadow(0 18px 30px rgba(0,0,0,.4)) brightness(1.04); }
.screenshot-card figcaption { flex: 1; padding: 23px 25px 25px; }
.screenshot-card h4 { margin: 0; color: #e9d7ad; font: 650 1.15rem/1.25 Georgia, "Times New Roman", serif; }
.screenshot-card figcaption p { margin: 9px 0 0; color: #96938c; font-size: .9rem; line-height: 1.58; }
.notification-caption { padding-bottom: 30px !important; }
.notification-steps { margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; }
.notification-steps li { min-width: 0; padding: 14px 15px; display: grid; grid-template-columns: 26px 1fr; gap: 10px; border: 1px solid #2d3032; background: #0d0f11; }
.notification-steps li:last-child { grid-column: 1 / -1; }
.notification-steps span { width: 24px; height: 24px; display: grid; place-items: center; color: #181208; background: var(--gold); font-size: .72rem; font-weight: 850; }
.notification-steps p { margin: -2px 0 0 !important; color: #b0aca3 !important; font-size: .84rem !important; }
.inline-doc-link { display: inline-flex; margin-top: 18px; color: var(--cyan); font-size: .84rem; font-weight: 700; text-decoration: none; }
.inline-doc-link:hover { text-decoration: underline; }

.image-lightbox { width: min(94vw, 1500px); max-width: none; max-height: 92vh; padding: 46px 24px 24px; color: var(--text); border: 1px solid #4a4335; background: rgba(7,9,11,.97); box-shadow: 0 30px 120px rgba(0,0,0,.75); }
.image-lightbox::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(5px); }
.image-lightbox img { display: block; max-width: 100%; max-height: calc(92vh - 70px); margin: auto; object-fit: contain; }
.lightbox-close { position: absolute; top: 8px; right: 12px; width: 34px; height: 34px; display: grid; place-items: center; color: #d7d2c8; background: transparent; border: 1px solid #3c3d3f; font-size: 1.35rem; cursor: pointer; }
.lightbox-close:hover { color: white; border-color: var(--gold); }

.security-section { margin-top: 40px; padding: 100px 70px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; border: 1px solid #2a2d30; background: linear-gradient(115deg, #121518, #0d1012); }
.security-copy > p:last-child { margin-top: 28px; color: #a8a59d; }
.security-list { display: grid; }
.security-list div { display: grid; grid-template-columns: 50px 1fr; gap: 16px; align-items: start; padding: 22px 0; border-bottom: 1px solid #292c2e; }
.security-list div:last-child { border-bottom: 0; }
.security-list span { color: var(--cyan); font: 700 .75rem/1 Inter, sans-serif; letter-spacing: .12em; }
.security-list p { margin: -5px 0 0; color: #cbc7bd; }

.download-section { padding: 120px 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.download-note { max-width: 540px; color: #9f9c95; }
.download-card { padding: 28px; border: 1px solid #3a3730; background: radial-gradient(circle at 100% 0, rgba(255,171,24,.09), transparent 48%), var(--panel); box-shadow: 0 28px 70px rgba(0,0,0,.24); }
.file-line { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; }
.file-line strong, .file-line span { display: block; }
.file-line span { color: #85827c; font-size: .8rem; }
.windows-mark { width: 36px; height: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; transform: perspective(40px) rotateY(-7deg); }
.windows-mark i { background: var(--gold); }
.button-disabled { width: 100%; color: #8f8b82; background: #222426; border-color: #343638; cursor: not-allowed; }
.poe-warning { margin-bottom: 14px; padding: 10px 12px; display: flex; gap: 10px; align-items: center; color: #bcb5a6; border: 1px solid #4a3e2c; background: rgba(215,166,64,.045); font-size: .75rem; }
.poe-warning strong { flex: 0 0 auto; color: var(--gold); letter-spacing: .08em; }
.checksum { width: 100%; margin-top: 12px; padding: 12px; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; color: #85827b; background: transparent; border: 1px solid #2e3032; font-size: .72rem; cursor: pointer; }
.checksum code { color: #b8b4ab; overflow: hidden; text-overflow: ellipsis; }
.checksum b { color: var(--cyan); font-size: .68rem; }

footer { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 34px 0; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 36px; border-top: 1px solid var(--line); color: #77746e; font-size: .78rem; }
.footer-brand { font-size: .9rem; color: var(--text); }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 50; padding: 10px 15px; color: #101214; background: var(--cyan); font-size: .82rem; font-weight: 700; opacity: 0; transform: translate(-50%, 15px); pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-mark { min-height: 390px; order: -1; }
  .hero-mark > img { width: min(78vw, 430px); }
  .version-chip { right: 8%; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card.featured { grid-column: 1 / -1; }
  .security-section { padding: 70px 40px; grid-template-columns: 1fr; gap: 45px; }
  .guide-section { grid-template-columns: 1fr; gap: 42px; }
  .screenshot-button { min-height: 280px; }
  .screenshot-card.wide .screenshot-button { min-height: 340px; }
  .download-section { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .site-header { height: 74px; width: min(calc(100% - 28px), var(--max)); }
  nav a { display: none; }
  nav { gap: 0; }
  .language-picker select { max-width: 132px; }
  .hero, .feature-section, .guide-section, .walkthrough-section, .security-section, .download-section, footer { width: min(calc(100% - 28px), var(--max)); }
  .hero { min-height: auto; padding: 40px 0 80px; gap: 28px; }
  .hero-mark { min-height: 315px; }
  .version-chip { right: 0; bottom: 12px; }
  h1 { font-size: clamp(2.75rem, 15vw, 4.2rem); }
  .trust-row { display: grid; gap: 8px; }
  .feature-section { padding: 76px 0; }
  .guide-section { padding: 76px 0; }
  .walkthrough-section { padding: 82px 0 34px; }
  .walkthrough-heading { margin-bottom: 58px; }
  .walkthrough-group { padding-bottom: 64px; }
  .walkthrough-group + .walkthrough-group { padding-top: 60px; }
  .group-heading { grid-template-columns: 34px 1fr; gap: 10px; }
  .screenshot-grid.two-column, .screenshot-grid.guide-grid { grid-template-columns: 1fr; }
  .screenshot-card.wide { grid-column: auto; }
  .screenshot-button, .screenshot-card.wide .screenshot-button, .screenshot-card.compact .screenshot-button { min-height: 230px; padding: 14px; }
  .screenshot-card figcaption { padding: 19px 20px 22px; }
  .notification-steps { grid-template-columns: 1fr; }
  .notification-steps li:last-child { grid-column: auto; }
  .image-lightbox { width: 96vw; padding: 44px 10px 10px; }
  .video-placeholder { min-height: 292px; padding: 28px 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card.featured { grid-column: auto; }
  .feature-card { min-height: 270px; }
  .security-section { margin-top: 0; padding: 54px 24px; }
  .download-section { padding: 82px 0; }
  .download-card { padding: 20px; }
  .checksum { grid-template-columns: auto 1fr; }
  .checksum b { display: none; }
  footer { grid-template-columns: 1fr; gap: 6px; }
  footer p { margin: 0; }
}
