:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: #09090b;
  color: #f5f5f6;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }
.shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow { margin: 0; color: #a475ff; font-size: 12px; font-weight: 800; letter-spacing: .15em; }

.header { border-bottom: 1px solid #28282d; background: #09090b; }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img, .header img { display: block; }
.header nav { display: flex; align-items: center; gap: 32px; }
.header nav a { color: #b9b9c1; font-size: 14px; font-weight: 700; text-decoration: none; }
.header nav a:hover, .header nav a:focus-visible { color: #fff; }
.header nav .nav-action { color: #fff; border: 1px solid #55505f; padding: 13px 17px; }
.header nav .nav-action span { margin-left: 9px; color: #ae83ff; }
.header nav .nav-action:hover { border-color: #8f56f6; background: #19121f; }

.hero { min-height: 620px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(460px, .95fr); align-items: center; gap: 5%; padding-block: 85px 100px; }
.hero h1 { max-width: 680px; margin: 24px 0; font-size: clamp(54px, 5.1vw, 78px); line-height: 1.04; letter-spacing: -.06em; }
.hero h1 span { display: block; color: #a575ff; }
.hero-lead { max-width: 510px; margin: 0; color: #b5b5bf; font-size: 19px; line-height: 1.6; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.button { min-height: 54px; border: 0; display: inline-flex; justify-content: space-between; align-items: center; gap: 28px; padding: 15px 22px; font-size: 15px; font-weight: 800; text-decoration: none; }
.button-primary { background: #7c3aed; color: #fff; }
.button-primary:hover { background: #914ff7; }
.button-text { color: #e0e0e4; font-size: 14px; font-weight: 700; text-decoration: none; }
.button-text:hover { color: #fff; }
.button-text span { margin-left: 5px; }
.hero-detail { margin: 31px 0 0; padding-left: 14px; border-left: 2px solid #7c3aed; color: #a6a6b0; font-size: 14px; line-height: 1.5; }

.app-preview { min-width: 0; padding: 10px; border: 1px solid #414047; background: #17171a; box-shadow: 0 0 0 10px #141417; }
.preview-top { display: flex; align-items: center; gap: 20px; height: 53px; padding: 0 16px; border-bottom: 1px solid #29292e; color: #a9a9b1; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.preview-top img { display: block; width: 102px; height: auto; }
.preview-top span:nth-child(2) { padding-left: 18px; border-left: 1px solid #3e3e45; }
.preview-clock { margin-left: auto; color: #eeeef0; }
.preview-content { padding: 25px 17px 18px; }
.preview-heading, .preview-bottom { display: flex; justify-content: space-between; gap: 16px; color: #96969f; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.preview-heading span:last-child { color: #8f68dc; }
.preview-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0 18px; }
.preview-option { position: relative; min-height: 178px; display: flex; flex-direction: column; align-items: flex-start; padding: 16px 12px; border: 1px solid #36363c; background: #202024; }
.preview-option-active { border-color: #8d4cf8; background: #241b2f; }
.preview-option small { color: #ad83fb; font-size: 9px; font-weight: 800; letter-spacing: .06em; white-space: nowrap; }
.preview-option strong { margin-top: 49px; color: #fff; font-size: 20px; letter-spacing: -.04em; }
.preview-option span { margin-top: 5px; color: #a9a9b3; font-size: 10px; line-height: 1.3; }
.preview-option b { position: absolute; top: 13px; right: 11px; color: #b6b6bd; font-size: 15px; font-weight: 400; }
.preview-bottom { padding-top: 13px; border-top: 1px solid #303036; }
.preview-bottom span:last-child { color: #8d4cf8; font-size: 8px; letter-spacing: .25em; }

.setup-section { padding: 110px 0 120px; border-top: 1px solid #29292e; background: #111113; }
.setup-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 8%; align-items: start; }
.setup-copy { padding-top: 20px; }
.setup-copy h2, .section-top h2, .player-note h2 { font-size: clamp(40px, 4.4vw, 62px); line-height: 1.08; letter-spacing: -.055em; margin: 16px 0 20px; }
.setup-copy > p:not(.eyebrow) { max-width: 480px; color: #b8b8c0; font-size: 18px; line-height: 1.65; }
.setup-guide { margin-top: 55px; border-top: 1px solid #333338; }
.setup-guide > div { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid #333338; }
.setup-guide > div > span { color: #a575ff; font-size: 13px; font-weight: 800; }
.setup-guide p { display: grid; gap: 6px; margin: 0; }
.setup-guide strong { font-size: 16px; }
.setup-guide small { color: #aaaab4; font-size: 14px; }

.form-card { padding: 32px; border: 1px solid #414147; background: #1b1b1f; }
.form-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 19px; border-bottom: 1px solid #38383e; color: #b48aff; font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.form-heading strong { color: #8e96a6; }
.form-card label { display: block; margin-top: 22px; font-size: 15px; font-weight: 700; }
.form-card input:not([type="radio"]) { display: block; width: 100%; height: 54px; margin-top: 9px; padding: 0 15px; border: 1px solid #505058; border-radius: 0; outline: 0; background: #111114; color: #fff; font-size: 16px; }
.form-card input::placeholder { color: #858e9c; opacity: 1; }
.form-card input:focus { border-color: #b399ff; box-shadow: 0 0 0 2px #a084ff35; }
.optional { color: #a6aebb; font-size: 13px; font-weight: 400; }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.connection-choice { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 27px 0 0; padding: 0; border: 0; }
.connection-choice legend { padding: 0 0 13px; font-size: 15px; font-weight: 700; }
.connection-choice label { display: flex; align-items: center; gap: 9px; min-height: 51px; margin: 0; padding: 11px 12px; border: 1px solid #4b4b53; color: #c7c7cf; font-size: 13px; font-weight: 600; cursor: pointer; }
.connection-choice label:has(input:checked) { border-color: #975bf5; background: #251c30; color: #fff; }
.connection-choice input { width: 17px; height: 17px; margin: 0; accent-color: #a486f8; flex: none; }
#url-fields > small { display: block; margin-top: 10px; color: #aab2bf; font-size: 13px; line-height: 1.5; }
.verification { margin-top: 28px; padding-top: 20px; border-top: 1px solid #383d4b; }
.verification > span { display: block; margin-bottom: 13px; color: #d9dce3; font-size: 14px; font-weight: 700; }
.cf-turnstile { min-height: 65px; }
.submit-button { width: 100%; margin-top: 24px; }
.submit-button:disabled { opacity: .6; cursor: wait; }
.feedback { min-height: 23px; margin: 13px 0 0; color: #bba6ff; font-size: 14px; line-height: 1.5; }
.feedback.error { color: #ff9898; }
.form-note { margin: 13px 0 0; color: #aeb5c1; font-size: 12px; line-height: 1.55; }

.how-section { padding-block: 110px 118px; }
.section-top { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 70px; align-items: end; }
.section-top .eyebrow { grid-column: 1 / -1; }
.section-top h2 { margin: 0; }
.section-top > p:last-child { max-width: 440px; margin: 0 0 6px; color: #aeb6c4; font-size: 17px; line-height: 1.65; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 45px; }
.feature-grid article { min-height: 230px; padding: 27px; border: 1px solid #34343a; background: #151518; }
.feature-grid article > span { color: #a78cf6; font-size: 12px; font-weight: 800; }
.feature-grid h3 { font-size: 22px; letter-spacing: -.025em; margin: 28px 0 12px; }
.feature-grid p { color: #adb5c3; font-size: 15px; line-height: 1.6; margin: 0; }
.feature-grid a { display: inline-block; margin-top: 15px; color: #c7b8ff; font-size: 13px; font-weight: 700; text-decoration: none; }

.player-note { padding-block: 72px 80px; border-top: 1px solid #303036; background: #151518; }
.player-note-inner { max-width: 1240px; }
.player-note h2 { font-size: clamp(32px, 3.8vw, 49px); }
.player-note p { max-width: 850px; color: #b5bdca; font-size: 16px; line-height: 1.7; }
footer { border-top: 1px solid #303036; background: #09090b; }
.footer-inner { min-height: 115px; display: flex; align-items: center; gap: 24px; color: #9199a7; font-size: 13px; }
.footer-inner img { display: block; }
.footer-inner nav { display: flex; gap: 24px; margin-left: auto; }
.footer-inner a { color: #c6cbd5; text-decoration: none; }
.footer-inner a:hover { color: #fff; }
a:focus-visible, button:focus-visible, .connection-choice label:focus-within { outline: 2px solid #c2adff; outline-offset: 3px; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; gap: 55px; padding-block: 75px; }
  .app-preview { max-width: 650px; }
  .setup-grid { gap: 5%; }
}

@media (max-width: 760px) {
  .header-inner { min-height: 72px; }
  .header nav { gap: 16px; }
  .header nav a:first-child { display: none; }
  .setup-grid, .feature-grid { grid-template-columns: 1fr; }
  .setup-section { padding-block: 75px; }
  .setup-guide { margin-block: 35px; }
  .section-top { grid-template-columns: 1fr; }
  .section-top .eyebrow { grid-column: 1; }
  .how-section { padding-block: 80px; }
  .feature-grid article { min-height: 0; }
}

@media (max-width: 480px) {
  .shell { width: min(1240px, calc(100% - 32px)); }
  .header-inner { flex-wrap: wrap; padding-block: 12px; }
  .header nav { width: 100%; justify-content: space-between; }
  .header nav a:not(.nav-action) { display: none; }
  .header nav .nav-action { padding: 11px 12px; font-size: 12px; }
  .header img { width: 123px; height: auto; }
  .hero { padding-block: 62px 75px; gap: 45px; }
  .hero h1 { font-size: clamp(49px, 13vw, 64px); }
  .hero-lead { font-size: 17px; }
  .app-preview { padding: 5px; box-shadow: 0 0 0 5px #141417; }
  .preview-top { gap: 10px; padding-inline: 9px; }
  .preview-top img { width: 83px; }
  .preview-top span:nth-child(2) { padding-left: 10px; }
  .preview-content { padding: 16px 8px 11px; }
  .preview-option { min-height: 137px; padding: 11px 7px; }
  .preview-option small { font-size: 7px; }
  .preview-option strong { margin-top: 38px; font-size: 16px; }
  .preview-option span { font-size: 8px; }
  .preview-option b { top: 7px; right: 7px; }
  .preview-heading, .preview-bottom { font-size: 8px; }
  .form-card { padding: 22px 18px; }
  .connection-choice, .two-columns { grid-template-columns: 1fr; }
  .two-columns { gap: 0; }
  .feature-grid { margin-top: 28px; }
  .footer-inner { padding-block: 25px; flex-wrap: wrap; }
  .footer-inner nav { width: 100%; margin-left: 0; }
}
.language-menu { min-height: 42px; max-width: 140px; padding: 6px 10px; border: 1px solid #42424b; background: #15151b; color: #fff; font: inherit; cursor: pointer; }
.language-menu:focus-visible { outline: 2px solid #a477ff; outline-offset: 2px; }
