:root {
  --black: #05080c;
  --black-soft: #091019;
  --panel: #101923;
  --panel-raised: #162332;
  --panel-hover: #1b2c3c;
  --border: #2d4358;
  --border-soft: #203244;
  --text: #edf8ff;
  --muted: #9eb2c3;
  --blue: #64d7ff;
  --blue-bright: #a8ebff;
  --blue-deep: #12394b;
  --orange: #ff8a24;
  --orange-bright: #ffb45f;
  --gold: #ffd170;
  --green: #66e2a0;
  --shadow: 0 22px 70px rgba(0, 0, 0, .34);
  --max-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 8%, rgba(26, 126, 165, .18), transparent 29rem),
    radial-gradient(circle at 93% 36%, rgba(255, 120, 28, .11), transparent 35rem),
    linear-gradient(180deg, #07101a 0%, var(--black) 32%, #070a0e 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

.site-shell { min-height: 100vh; overflow: hidden; }
.section-frame { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }

.site-header {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 84px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(100, 215, 255, .16);
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 50px; height: 50px; object-fit: contain; filter: drop-shadow(0 0 16px rgba(100, 215, 255, .16)); }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 27px; letter-spacing: -.02em; color: var(--orange-bright); }
.brand-copy strong span { color: var(--blue); }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .18em; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: #b7c7d4; font-size: 14px; font-weight: 750; transition: .18s ease; }
.site-nav a:hover { color: var(--blue); }
.site-nav .nav-discord { padding: 10px 14px; border: 1px solid #2a6d88; border-radius: 9px; color: var(--text); background: rgba(18, 58, 76, .45); }
.site-nav .nav-discord:hover { border-color: var(--blue); background: rgba(18, 58, 76, .78); }
.mobile-nav-toggle { display: none; border: 1px solid var(--border); border-radius: 8px; padding: 8px 11px; color: var(--blue); background: var(--panel); cursor: pointer; }

.hero { min-height: 650px; padding: 64px 0 42px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 65px; }
.eyebrow, .kicker { color: var(--blue-bright); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 13px; border: 1px solid #245f79; border-radius: 999px; background: rgba(8, 33, 46, .62); }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 12px var(--orange); }
.hero h1 { margin: 28px 0 20px; max-width: 660px; font-size: clamp(58px, 7vw, 96px); line-height: .92; letter-spacing: -.055em; }
.hero h1 em { color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.hero-lead { max-width: 600px; color: #bed0dc; font-size: 18px; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 18px; border: 1px solid transparent; border-radius: 9px; font-weight: 850; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #160e07; background: linear-gradient(180deg, var(--orange-bright), var(--orange)); border-color: #ffc37d; box-shadow: 0 10px 30px rgba(255, 138, 36, .22); }
.button-primary:hover { background: linear-gradient(180deg, #b7efff, var(--blue)); border-color: var(--blue-bright); box-shadow: 0 10px 30px rgba(100, 215, 255, .22); }
.button-secondary { color: var(--text); border-color: #315870; background: rgba(11, 35, 49, .7); }
.button-secondary:hover { border-color: var(--blue); background: var(--blue-deep); }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; color: #9eb6c7; font-size: 13px; }
.trust-row span::first-letter { color: var(--blue); }

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; inset: 8% -10% -5% 3%; border-radius: 40%; background: radial-gradient(circle, rgba(35, 129, 170, .20), transparent 62%); filter: blur(20px); }
.app-shot { position: relative; width: 100%; max-width: 680px; aspect-ratio: 1.4; padding: 0; overflow: hidden; border: 1px solid #285069; border-radius: 30px; background: #091019; box-shadow: var(--shadow); cursor: zoom-in; transform: perspective(1100px) rotateY(-4deg); }
.app-shot img { width: 100%; height: 100%; object-fit: cover; object-position: left center; transition: transform .5s ease; }
.app-shot:hover img { transform: scale(1.02); }
.hero-logo-card, .privacy-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 11px; padding: 12px 15px; border: 1px solid #31566d; border-radius: 13px; background: rgba(10, 18, 27, .93); box-shadow: 0 15px 35px rgba(0,0,0,.35); backdrop-filter: blur(10px); }
.hero-logo-card { left: -4%; top: 16%; }
.hero-logo-card img { width: 34px; height: 34px; object-fit: contain; }
.hero-logo-card div, .privacy-chip div { display: grid; }
.hero-logo-card small, .privacy-chip small { color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.hero-logo-card strong, .privacy-chip strong { font-size: 12px; }
.privacy-chip { right: -2%; bottom: 12%; }
.privacy-chip > span { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 8px; color: #071116; background: var(--blue); }
.hero-orbit { position: absolute; border: 1px solid rgba(100, 215, 255, .13); border-radius: 50%; }
.hero-orbit-one { width: 460px; height: 460px; }
.hero-orbit-two { width: 580px; height: 580px; border-color: rgba(255, 138, 36, .09); }

.value-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--border-soft); background: rgba(13, 23, 32, .62); }
.value-strip > div { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px; color: #bcd0dc; font-size: 13px; font-weight: 750; }
.value-strip b { color: var(--orange); font-size: 11px; }

.section-block { padding: 110px 0; }
.section-heading { max-width: 780px; margin-bottom: 45px; }
.section-heading.compact { max-width: 720px; }
.section-heading h2 { margin: 12px 0 16px; font-size: clamp(40px, 5vw, 66px); line-height: 1.02; letter-spacing: -.045em; }
.section-heading h2 span { color: var(--blue); }
.section-heading p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.feature-card { min-height: 250px; padding: 28px; border: 1px solid var(--border); border-radius: 16px; background: linear-gradient(160deg, rgba(24, 37, 51, .96), rgba(10, 16, 23, .96)); box-shadow: 0 16px 45px rgba(0,0,0,.18); transition: .2s ease; }
.feature-card:hover { transform: translateY(-3px); border-color: #3f718d; background: linear-gradient(160deg, rgba(27, 48, 64, .98), rgba(10, 17, 24, .98)); }
.feature-card-wide { grid-column: span 2; min-height: 220px; background: linear-gradient(115deg, rgba(19, 54, 72, .94), rgba(19, 27, 38, .98) 58%, rgba(63, 35, 17, .64)); }
.feature-icon { display: grid; width: 44px; height: 44px; place-items: center; margin-bottom: 22px; border: 1px solid #38708d; border-radius: 11px; color: var(--blue); background: rgba(18, 58, 76, .65); font-size: 20px; }
.feature-card h3, .requirement-card h3, .download-card h3 { margin: 0 0 12px; font-size: 24px; }
.feature-card p, .download-card p { margin: 0; color: var(--muted); line-height: 1.7; }

.screenshot-section { padding-top: 60px; }
.screenshot-showcase { position: relative; width: 100%; padding: 0; overflow: hidden; border: 1px solid #315870; border-radius: 20px; background: #080d13; box-shadow: var(--shadow); cursor: zoom-in; }
.screenshot-showcase img { width: 100%; aspect-ratio: 1.82; object-fit: cover; object-position: top left; transition: transform .5s ease; }
.screenshot-showcase:hover img { transform: scale(1.012); }
.screenshot-showcase::after { content: ""; position: absolute; inset: auto 0 0; height: 32%; background: linear-gradient(transparent, rgba(3, 7, 11, .92)); }
.screenshot-caption { position: absolute; z-index: 2; left: 24px; bottom: 22px; display: grid; text-align: left; color: var(--text); }
.screenshot-caption b { font-size: 18px; }
.screenshot-caption small { color: var(--muted); }

.requirement-grid, .download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.requirement-card, .download-card { padding: 30px; border: 1px solid var(--border); border-radius: 16px; background: var(--panel); box-shadow: 0 16px 40px rgba(0,0,0,.19); }
.requirement-card.is-featured { border-color: #b56c2c; background: linear-gradient(150deg, rgba(50, 31, 18, .88), rgba(16, 25, 35, .98) 48%); }
.package-label { color: var(--blue); font-size: 10px; font-weight: 950; letter-spacing: .15em; }
.requirement-card.is-featured .package-label { color: var(--orange-bright); }
.requirement-card ul { margin: 22px 0 0; padding: 0; list-style: none; }
.requirement-card li { position: relative; padding: 10px 0 10px 25px; border-top: 1px solid var(--border-soft); color: #c8d8e2; }
.requirement-card li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); }
.requirement-card.is-featured li::before { color: var(--orange); }

.download-section { padding-top: 70px; }
.download-card { display: flex; min-height: 340px; flex-direction: column; }
.download-card-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 24px; }
.version-pill { padding: 6px 9px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 11px; }
.download-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 25px; }
.download-meta span { padding: 6px 9px; border-radius: 6px; color: #cbd9e3; background: #202d39; font-size: 11px; font-weight: 750; }
.download-card .button { margin-top: auto; }
.install-note { margin-top: 20px; padding: 20px 22px; border: 1px solid #5b4935; border-radius: 13px; background: rgba(65, 40, 19, .34); }
.install-note strong { color: var(--orange-bright); }
.install-note p { margin: 6px 0 0; color: #cfbdab; }

.community-section { margin-bottom: 90px; padding: 50px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 45px; border: 1px solid #31536b; border-radius: 22px; background: radial-gradient(circle at 90% 0%, rgba(63, 157, 199, .18), transparent 44%), linear-gradient(145deg, #111d28, #0a1018); box-shadow: var(--shadow); }
.community-copy h2 { margin: 12px 0; font-size: clamp(38px, 5vw, 60px); line-height: 1; }
.community-copy p { max-width: 650px; margin: 0 0 24px; color: var(--muted); font-size: 16px; }
.discord-card { display: grid; grid-template-columns: 108px 1fr; align-items: center; gap: 18px; padding: 18px; border: 1px solid #345b72; border-radius: 16px; background: rgba(6, 11, 17, .72); transition: .2s ease; }
.discord-card:hover { transform: translateY(-3px); border-color: var(--blue); background: rgba(12, 25, 36, .94); }
.discord-card img { width: 108px; aspect-ratio: 1; object-fit: cover; border-radius: 20px; }
.discord-card div { display: grid; gap: 4px; }
.discord-card small { color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.discord-card strong { font-size: 20px; }
.discord-card span { color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }

.site-footer { padding: 38px 0 50px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 25px; border-top: 1px solid var(--border-soft); color: var(--muted); }
.footer-brand .brand-mark { width: 40px; height: 40px; }
.footer-brand .brand-copy strong { font-size: 21px; }
.site-footer p { margin: 0; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; justify-content: end; }
.footer-links a { font-size: 12px; font-weight: 700; }
.footer-links a:hover { color: var(--blue); }
.site-footer > small { grid-column: 1 / -1; font-size: 11px; }

.lightbox { width: min(94vw, 1500px); padding: 0; border: 1px solid #3b6178; border-radius: 16px; background: #05080c; box-shadow: 0 40px 120px rgba(0,0,0,.7); }
.lightbox::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; max-height: 88vh; object-fit: contain; }
.lightbox-close { position: absolute; z-index: 2; top: 12px; right: 12px; width: 38px; height: 38px; border: 1px solid #547489; border-radius: 50%; color: #fff; background: rgba(5, 8, 12, .86); font-size: 24px; cursor: pointer; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: 24px; max-width: min(90vw, 520px); padding: 13px 16px; border: 1px solid #9b6b37; border-radius: 10px; color: #ffe2be; background: rgba(49, 30, 14, .97); box-shadow: 0 14px 40px rgba(0,0,0,.4); opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: .22s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .site-header { position: relative; }
  .mobile-nav-toggle { display: block; }
  .site-nav { position: absolute; z-index: 10; top: 72px; right: 0; width: min(290px, calc(100vw - 40px)); padding: 16px; display: none; align-items: stretch; flex-direction: column; gap: 7px; border: 1px solid var(--border); border-radius: 12px; background: rgba(9, 16, 24, .98); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px; }
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-visual { min-height: 480px; }
  .app-shot { transform: none; }
  .hero-logo-card { left: 1%; }
  .privacy-chip { right: 1%; }
  .community-section { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 720px) {
  .section-frame, .site-header { width: min(calc(100% - 26px), var(--max-width)); }
  .brand-mark { width: 42px; height: 42px; }
  .brand-copy strong { font-size: 23px; }
  .hero { min-height: auto; padding: 42px 0 25px; gap: 35px; }
  .hero h1 { font-size: clamp(50px, 16vw, 72px); }
  .hero-lead { font-size: 16px; }
  .hero-visual { min-height: 350px; }
  .hero-orbit { display: none; }
  .hero-logo-card, .privacy-chip { display: none; }
  .app-shot { border-radius: 18px; }
  .value-strip { grid-template-columns: 1fr; }
  .value-strip > div { justify-content: flex-start; padding-inline: 22px; border-bottom: 1px solid var(--border-soft); }
  .section-block { padding: 75px 0; }
  .feature-grid, .requirement-grid, .download-grid { grid-template-columns: 1fr; }
  .feature-card-wide { grid-column: auto; }
  .section-heading h2 { font-size: 42px; }
  .community-section { width: min(calc(100% - 26px), var(--max-width)); padding: 28px 20px; }
  .discord-card { grid-template-columns: 82px 1fr; }
  .discord-card img { width: 82px; }
}

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