:root {
  --ink: #15243a;
  --muted: #5e7088;
  --line: #dce8f3;
  --white: #ffffff;
  --soft: #f4f9fd;
  --sky: #e5f6ff;
  --blue: #1778c8;
  --blue-dark: #0d5fa7;
  --cyan: #36bfe6;
  --yellow: #f5b51b;
  --yellow-soft: #fff3c9;
  --green: #1c9a67;
  --shadow: 0 22px 60px rgba(29, 83, 126, .14);
  color-scheme: light;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fbfdff; line-height: 1.55; }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 99; padding: 12px 18px; border-radius: 10px; background: var(--ink); color: white; }
.skip-link:focus { top: 16px; }

.topbar { position: sticky; top: 0; z-index: 20; min-height: 78px; padding: 0 max(24px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; gap: 32px; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(210,226,240,.9); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 23px; font-weight: 900; letter-spacing: .04em; white-space: nowrap; }
.brand img { width: 42px; height: 42px; object-fit: cover; border-radius: 12px; }
.brand-on, .footer-brand span { color: var(--yellow); }
.topbar nav { margin-left: auto; display: flex; align-items: center; gap: 25px; }
.topbar nav a { color: #4c6078; font-weight: 700; text-decoration: none; font-size: 14px; }
.topbar nav a:hover, .topbar nav a:focus-visible { color: var(--blue); }
.language-switch { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.language-switch button { min-width: 42px; border: 0; padding: 7px 9px; border-radius: 9px; background: transparent; color: #61748b; cursor: pointer; font-size: 12px; font-weight: 800; }
.language-switch button.active { color: white; background: var(--blue); box-shadow: 0 5px 14px rgba(23,120,200,.22); }

.hero { min-height: 720px; max-width: 1240px; margin: 0 auto; padding: 88px 30px 80px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 58px; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; }
.availability { width: max-content; max-width: 100%; display: flex; align-items: center; gap: 9px; margin: 0 0 22px; padding: 9px 14px; border: 1px solid #bee5d3; border-radius: 999px; background: #eefbf5; color: #15774f; font-size: 13px; }
.availability span { width: 8px; height: 8px; border-radius: 50%; background: #27b876; box-shadow: 0 0 0 5px rgba(39,184,118,.12); }
.eyebrow { margin: 0 0 14px; color: var(--blue); font-weight: 900; letter-spacing: .16em; font-size: 12px; }
.hero h1 { max-width: 690px; margin: 0; font-size: clamp(43px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.045em; }
.hero-description { max-width: 650px; margin: 25px 0 0; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 21px; border-radius: 14px; font-weight: 800; text-decoration: none; }
.button.primary { color: white; background: linear-gradient(135deg, var(--blue), var(--cyan)); box-shadow: 0 14px 30px rgba(23,120,200,.24); }
.button.secondary { color: var(--blue-dark); background: white; border: 1px solid #c8dcec; }
.button:hover { transform: translateY(-1px); }
.free-note { display: flex; gap: 13px; align-items: flex-start; max-width: 550px; margin-top: 29px; padding: 17px 19px; border: 1px solid #f3d171; border-radius: 16px; background: #fffaf0; }
.free-note .free-icon { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #725000; background: var(--yellow); font-weight: 900; }
.free-note strong { display: block; font-size: 15px; }
.free-note p { margin: 3px 0 0; color: #75673e; font-size: 14px; }

.product-stage { position: relative; min-height: 510px; display: grid; place-items: center; }
.product-stage::before { content: ""; position: absolute; width: 470px; height: 470px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffffff 0 7%, #dff6ff 30%, #c7edfb 58%, #f5fbff 72%); box-shadow: inset 0 0 0 1px rgba(91,174,217,.2); }
.stage-orbit { position: absolute; border: 1px solid rgba(31,131,194,.18); border-radius: 50%; transform: rotate(-18deg); }
.orbit-one { width: 560px; height: 290px; }
.orbit-two { width: 380px; height: 570px; }
.tv-frame { position: relative; z-index: 2; width: min(100%, 480px); padding: 11px; border-radius: 22px; background: linear-gradient(145deg, #1e324c, #0c1727); box-shadow: 0 35px 70px rgba(23,61,91,.26); }
.tv-screen { aspect-ratio: 16/10; border-radius: 13px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 40%, #edfaff, #8edcf2 54%, #3b9bd0); }
.tv-screen > img { width: 42%; max-height: 62%; object-fit: contain; border-radius: 24px; filter: drop-shadow(0 14px 20px rgba(9,68,107,.2)); }
.screen-cards { display: flex; gap: 7px; margin-top: 14px; }
.screen-cards span { padding: 5px 9px; border-radius: 7px; color: #1d4d69; background: rgba(255,255,255,.74); font-size: 10px; font-weight: 900; }
.tv-stand { position: absolute; left: 50%; top: 100%; width: 32%; height: 45px; transform: translateX(-50%); border-bottom: 12px solid #1a2b41; border-left: 38px solid transparent; border-right: 38px solid transparent; }
.floating-card { position: absolute; z-index: 3; padding: 12px 15px; border: 1px solid rgba(184,213,231,.86); border-radius: 13px; background: rgba(255,255,255,.92); box-shadow: 0 16px 35px rgba(36,87,126,.16); color: #33536c; font-size: 12px; font-weight: 900; }
.floating-card b { color: var(--yellow); margin-right: 5px; }
.card-live { top: 88px; right: -8px; }
.card-secure { bottom: 88px; left: 0; }

.notice-band { max-width: 1120px; margin: 0 auto 30px; padding: 24px 28px; display: flex; gap: 17px; align-items: flex-start; border: 1px solid #bfe3f3; border-radius: 20px; background: linear-gradient(110deg, #eaf9ff, #f8fcff); }
.notice-symbol { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--blue); font-weight: 900; }
.notice-band strong { display: block; margin-bottom: 4px; }
.notice-band p { margin: 0; color: var(--muted); }

.section { max-width: 1180px; margin: 0 auto; padding: 100px 30px; }
.section-heading { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.section-heading.compact { margin-bottom: 34px; }
.section-heading h2, .privacy-copy h2 { margin: 0; font-size: clamp(34px, 4vw, 51px); line-height: 1.08; letter-spacing: -.035em; }
.section-heading > p:last-child { margin: 18px auto 0; color: var(--muted); font-size: 18px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.feature-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 10px 35px rgba(39,92,131,.06); }
.feature-icon { width: 45px; height: 45px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 13px; color: var(--blue-dark); background: var(--sky); font-size: 20px; font-weight: 900; }
.feature-card:nth-child(2n) .feature-icon { color: #785400; background: var(--yellow-soft); }
.feature-card h3 { margin: 0; font-size: 20px; }
.feature-card p { margin: 10px 0 0; color: var(--muted); }

.how { max-width: none; padding-left: max(30px, calc((100vw - 1180px) / 2)); padding-right: max(30px, calc((100vw - 1180px) / 2)); background: linear-gradient(180deg, #f2faff, #fbfdff); border-top: 1px solid #e0edf6; border-bottom: 1px solid #e0edf6; }
.steps-grid { max-width: 1120px; margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { min-height: 180px; padding: 25px; display: flex; gap: 16px; align-items: flex-start; border: 1px solid #d7e7f2; border-radius: 20px; background: white; }
.step > span { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: white; background: linear-gradient(135deg, var(--blue), var(--cyan)); font-weight: 900; }
.step h3 { margin: 5px 0 7px; }
.step p { margin: 0; color: var(--muted); }
.qr-warning { max-width: 720px; margin: 26px auto 0; padding: 13px 18px; border-radius: 12px; color: #756027; background: #fff7dc; text-align: center; font-size: 14px; }
.desktop-preview { position: relative; padding: 11px; border-radius: 22px; background: #0b2943; box-shadow: 0 34px 70px rgba(22,75,111,.27); transform: rotate(1.4deg); }
.desktop-titlebar { height: 35px; display: flex; align-items: center; gap: 7px; padding: 0 11px; color: #cdeaf6; font-size: 11px; }
.desktop-titlebar span { width: 9px; height: 9px; border-radius: 50%; background: #37c5df; }
.desktop-titlebar span:nth-child(2) { background: #f5b51b; }
.desktop-titlebar span:nth-child(3) { background: #32b878; }
.desktop-titlebar b { margin-left: 8px; }
.desktop-screen { min-height: 300px; display: grid; grid-template-columns: 70px 1fr; overflow: hidden; border-radius: 13px; background: linear-gradient(145deg, #0b6699, #15b8c1); }
.desktop-sidebar { padding: 30px 16px; display: grid; align-content: start; gap: 18px; background: rgba(3,46,75,.78); }
.desktop-sidebar i { height: 8px; border-radius: 8px; background: rgba(255,255,255,.55); }
.desktop-sidebar i:first-child { background: var(--yellow); }
.desktop-content { display: grid; place-items: center; align-content: center; gap: 15px; color: white; }
.desktop-content img { width: 112px; height: 112px; object-fit: contain; border-radius: 24px; filter: drop-shadow(0 16px 22px rgba(1,42,72,.26)); }
.desktop-content strong { font-size: 27px; letter-spacing: .09em; }
.desktop-content div { display: flex; gap: 8px; }
.desktop-content span { padding: 6px 10px; border-radius: 7px; color: #15435c; background: rgba(255,255,255,.82); font-size: 10px; font-weight: 900; }

/* Private Windows download */
.download-page { min-height: 100vh; padding: 0 22px 60px; background: radial-gradient(circle at 80% 8%, #dff7ff, transparent 36%), linear-gradient(150deg, #fafdff, #eef8ff); }
.download-topbar { max-width: 980px; min-height: 78px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.download-shell { max-width: 760px; margin: 58px auto 0; }
.download-heading { margin-bottom: 28px; text-align: center; }
.download-heading h1 { margin: 0; font-size: clamp(39px, 6vw, 58px); line-height: 1.04; letter-spacing: -.04em; }
.download-heading p:last-child { max-width: 650px; margin: 17px auto 0; color: var(--muted); font-size: 17px; }
.download-card { padding: clamp(24px, 5vw, 42px); border: 1px solid #d5e7f2; border-radius: 25px; background: white; box-shadow: var(--shadow); }
.download-product { display: flex; align-items: center; gap: 17px; margin-bottom: 27px; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.download-product img { width: 70px; height: 70px; object-fit: contain; border-radius: 18px; }
.download-product strong { display: block; font-size: 20px; }
.download-product span { color: var(--muted); font-size: 13px; }
.download-lock { display: grid; grid-template-columns: 44px 1fr; gap: 13px; align-items: center; margin-bottom: 23px; padding: 15px 17px; border-radius: 14px; color: #275d76; background: #eaf8ff; }
.download-lock > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: white; background: linear-gradient(135deg, var(--blue), var(--cyan)); font-size: 21px; }
.download-lock p { margin: 2px 0 0; font-size: 13px; }
.download-form { display: grid; gap: 12px; }
.download-form label { font-weight: 850; }
.download-password { display: grid; grid-template-columns: 1fr auto; gap: 9px; }
.download-password input { min-width: 0; height: 52px; padding: 0 15px; border: 1px solid #bcd3e3; border-radius: 12px; color: var(--ink); outline: none; }
.download-password input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23,120,200,.11); }
.download-password button { min-width: 92px; border: 0; border-radius: 12px; color: #0d5fa7; background: #e8f5fc; cursor: pointer; font-weight: 850; }
.download-submit { height: 54px; margin-top: 5px; border: 0; border-radius: 13px; color: white; background: linear-gradient(135deg, var(--blue), var(--cyan)); cursor: pointer; box-shadow: 0 13px 25px rgba(23,120,200,.22); font-weight: 900; }
.download-submit:disabled { cursor: wait; opacity: .65; }
.download-status { display: none; margin: 4px 0 0; padding: 13px 15px; border-radius: 11px; font-size: 14px; }
.download-status.show { display: block; }
.download-status.error { color: #8b2931; border: 1px solid #f3c6ca; background: #fff0f1; }
.download-status.success { color: #176a49; border: 1px solid #bfe7d5; background: #ecfaf4; }
.download-details { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 20px; margin-top: 20px; color: #71849a; font-size: 12px; font-weight: 750; }
.download-back { color: var(--blue-dark); font-weight: 800; }

.privacy-section { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 80px; }
.privacy-art { position: relative; min-height: 370px; display: grid; place-items: center; border-radius: 38% 62% 55% 45% / 47% 41% 59% 53%; background: linear-gradient(145deg, #e4f8ff, #beeaf8); }
.shield { position: relative; z-index: 2; width: 148px; height: 176px; display: grid; place-items: center; clip-path: polygon(50% 0, 92% 17%, 84% 73%, 50% 100%, 16% 73%, 8% 17%); color: white; background: linear-gradient(160deg, var(--cyan), var(--blue)); font-size: 53px; font-weight: 900; filter: drop-shadow(0 22px 25px rgba(17,109,170,.25)); }
.privacy-art span { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); }
.privacy-art span:nth-child(2) { top: 60px; right: 65px; }
.privacy-art span:nth-child(3) { bottom: 55px; left: 65px; }
.privacy-copy > p:not(.eyebrow) { margin: 20px 0; color: var(--muted); font-size: 17px; }
.privacy-points { margin: 23px 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.privacy-points li { position: relative; padding-left: 30px; }
.privacy-points li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 900; }
.text-link { color: var(--blue-dark); font-weight: 850; text-underline-offset: 4px; }

.questions { padding-top: 70px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.faq-grid details { border: 1px solid var(--line); border-radius: 16px; background: white; overflow: hidden; }
.faq-grid summary { padding: 20px 22px; cursor: pointer; font-weight: 800; }
.faq-grid details p { margin: 0; padding: 0 22px 21px; color: var(--muted); }

footer { max-width: 1180px; margin: 20px auto 0; padding: 40px 30px 45px; display: grid; grid-template-columns: 1fr auto; gap: 25px; border-top: 1px solid var(--line); }
.footer-brand strong { font-size: 24px; letter-spacing: .04em; }
.footer-brand p { margin: 5px 0 0; color: var(--muted); }
.footer-links { display: flex; gap: 20px; align-items: center; }
.footer-links a { color: #4f647c; font-weight: 700; }
.copyright { grid-column: 1 / -1; margin: 0; color: #8695a7; font-size: 13px; }

/* Secure QR connection */
.connect-page { min-height: 100vh; padding: 0 24px 70px; background: linear-gradient(160deg, #fafdff, #edf8ff); }
.connect-topbar { max-width: 980px; height: 78px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.connect-shell { max-width: 780px; margin: 55px auto 0; }
.connect-heading { max-width: 690px; margin: 0 auto 30px; text-align: center; }
.connect-heading h1 { margin: 0; font-size: clamp(39px, 6vw, 57px); line-height: 1.05; letter-spacing: -.04em; }
.connect-heading > p:last-child { color: var(--muted); font-size: 17px; }
.connect-card { padding: 30px; border: 1px solid #d6e7f2; border-radius: 24px; background: white; box-shadow: var(--shadow); }
.connect-security { display: flex; gap: 12px; margin-bottom: 23px; padding: 15px 17px; border-radius: 14px; color: #346355; background: #edf9f4; font-size: 14px; }
.connect-security span { flex: 0 0 25px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green); font-weight: 900; }
.connect-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 24px; padding: 5px; border-radius: 13px; background: var(--soft); }
.connect-tab { min-height: 43px; border: 0; border-radius: 10px; color: #61748b; background: transparent; cursor: pointer; font-weight: 800; }
.connect-tab.active { color: var(--blue-dark); background: white; box-shadow: 0 5px 14px rgba(42,91,125,.11); }
.connect-form, .connect-fields { display: grid; gap: 17px; }
.connect-fields.hidden,
.connect-fields[hidden],
.connect-fields[aria-hidden="true"] { display: none !important; }
.connect-field { display: grid; gap: 7px; }
.connect-field label { font-size: 14px; font-weight: 800; }
.connect-field input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid #bfd2e1; border-radius: 12px; color: var(--ink); background: white; outline: none; }
.connect-field input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23,120,200,.11); }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 78px; }
.password-toggle { position: absolute; right: 6px; top: 6px; height: 38px; padding: 0 11px; border: 0; border-radius: 9px; color: var(--blue-dark); background: var(--sky); cursor: pointer; font-size: 12px; font-weight: 800; }
.connect-submit { height: 52px; margin-top: 4px; border: 0; border-radius: 13px; color: white; background: linear-gradient(135deg, var(--blue), var(--cyan)); cursor: pointer; font-weight: 900; box-shadow: 0 13px 24px rgba(23,120,200,.21); }
.connect-submit:disabled { cursor: wait; opacity: .68; }
.connect-status { display: none; margin-top: 16px; padding: 13px 15px; border-radius: 11px; font-size: 14px; }
.connect-status.show { display: block; }
.connect-status.error { color: #8b2931; background: #fff0f1; border: 1px solid #f3c6ca; }
.connect-status.info { color: #235d85; background: #eaf7ff; border: 1px solid #bfdfef; }
.connect-footnote { margin: 20px 0 0; color: #7c8b9d; text-align: center; font-size: 13px; }
.connect-invalid, .connect-complete { display: none; padding: 28px 10px; text-align: center; }
.connect-invalid.show, .connect-complete.show { display: block; }
.invalid-icon, .connect-success-icon { width: 62px; height: 62px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; font-size: 30px; font-weight: 900; }
.invalid-icon { color: #9b3038; background: #ffebed; }
.connect-success-icon { color: white; background: var(--green); }
.connect-invalid h2, .connect-complete h2 { margin: 0; font-size: 29px; }
.connect-invalid p, .connect-complete p { max-width: 520px; margin: 12px auto 0; color: var(--muted); }
.hidden { display: none !important; }
[hidden] { display: none !important; }

/* Legal documents */
.legal-page { min-height: 100vh; padding: 0 24px 70px; background: #f7fbfe; }
.legal-nav { max-width: 900px; height: 78px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.legal-nav .back-link { color: var(--blue-dark); font-weight: 800; text-decoration: none; }
.legal-document { max-width: 900px; margin: 34px auto 0; padding: clamp(27px, 5vw, 58px); border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: 0 18px 50px rgba(41,82,113,.08); }
.legal-document h1 { margin: 0; font-size: clamp(36px, 5vw, 53px); line-height: 1.08; letter-spacing: -.035em; }
.legal-document .updated { margin: 13px 0 32px; color: #718198; }
.legal-document section + section { margin-top: 30px; padding-top: 25px; border-top: 1px solid #e4edf4; }
.legal-document h2 { margin: 0 0 9px; font-size: 21px; }
.legal-document p, .legal-document li { color: #4f6279; }
.legal-document ul { padding-left: 22px; }
.legal-language { margin: 0 0 32px; padding: 14px 16px; border-radius: 12px; color: #41647d; background: #edf7fc; }

@media (max-width: 900px) {
  .topbar nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 60px; text-align: center; }
  .hero-description, .free-note { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .availability { margin-left: auto; margin-right: auto; }
  .product-stage { min-height: 420px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .step { min-height: auto; }
  .privacy-section { grid-template-columns: 1fr; gap: 45px; }
  .privacy-art { max-width: 520px; width: 100%; margin: 0 auto; }
}

@media (max-width: 620px) {
  .topbar { min-height: 68px; padding: 0 16px; }
  .brand { font-size: 20px; }
  .brand img { width: 37px; height: 37px; }
  .hero { padding: 50px 20px 65px; gap: 35px; }
  .hero h1 { font-size: 43px; }
  .hero-description { font-size: 17px; }
  .product-stage { min-height: 330px; }
  .product-stage::before { width: 320px; height: 320px; }
  .orbit-one { width: 350px; height: 190px; }
  .orbit-two { width: 240px; height: 360px; }
  .card-live { top: 38px; right: -3px; }
  .card-secure { bottom: 42px; left: -3px; }
  .notice-band { margin: 0 16px; padding: 20px; }
  .section { padding: 75px 20px; }
  .feature-grid, .faq-grid { grid-template-columns: 1fr; }
  .privacy-art { min-height: 300px; }
  footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .copyright { grid-column: 1; }
  .connect-page, .legal-page { padding-left: 14px; padding-right: 14px; }
  .connect-shell { margin-top: 30px; }
  .connect-card { padding: 20px; }
  .desktop-screen { min-height: 240px; grid-template-columns: 54px 1fr; }
  .desktop-content img { width: 90px; height: 90px; }
  .download-page { padding-left: 14px; padding-right: 14px; }
  .download-shell { margin-top: 30px; }
  .download-password { grid-template-columns: 1fr; }
  .download-password button { height: 44px; }
  .connect-heading h1 { font-size: 40px; }
  .legal-nav { height: auto; min-height: 72px; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
