:root {
  color-scheme: dark;
  --night: #090a14;
  --ink: #f7f7ff;
  --muted: #c4c2d4;
  --line: rgba(230, 229, 255, .15);
  --violet: #8b6cff;
  --blue: #5156fe;
  --pink: #ff4895;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 10; padding: .75rem 1rem; border-radius: .5rem; background: #fff; color: #111; }
.skip-link:focus { top: 1rem; }

.site-header, main, .site-footer { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; flex: 0 0 auto; }
.brand img { display: block; width: 160px; height: auto; max-height: 44px; object-fit: contain; }
nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 1.15rem; }
nav a { color: var(--muted); font-size: .92rem; font-weight: 650; text-decoration: none; }
nav a:hover { color: #fff; }
.nav-action { padding: .6rem .9rem; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; color: #fff; }

h1, h2, h3, p { margin-top: 0; }
h1, h2 { text-wrap: balance; }
h1 { max-width: 11ch; margin-bottom: 1.2rem; font-size: clamp(3.15rem, 6vw, 5.5rem); line-height: .93; letter-spacing: -.045em; }
h2 { max-width: 15ch; margin-bottom: 1.1rem; font-size: clamp(2.2rem, 4.2vw, 4.1rem); line-height: .98; letter-spacing: -.04em; }
.kicker { margin-bottom: .9rem; color: var(--pink); font-size: .76rem; font-weight: 830; letter-spacing: .11em; text-transform: uppercase; }
.lede { max-width: 57ch; margin-bottom: 2rem; color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.28rem); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 8rem);
  min-height: min(740px, calc(100vh - 88px));
  padding-block: 4.7rem 4.5rem;
  overflow: clip;
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0 -22vw;
  background:
    radial-gradient(circle at 78% 48%, rgba(81, 86, 254, .23), transparent 27rem),
    radial-gradient(circle at 94% 8%, rgba(255, 72, 149, .15), transparent 20rem);
  content: "";
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.2rem; padding: .85rem 1.1rem; border-radius: .8rem; font-weight: 800; text-decoration: none; transition: transform .2s ease, border-color .2s ease, background-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(112deg, var(--violet), var(--blue) 57%, var(--pink)); box-shadow: 0 15px 30px rgba(81, 86, 254, .27); }
.button-quiet { border: 1px solid var(--line); color: var(--ink); background: rgba(255, 255, 255, .025); }

.device-scene { position: relative; min-height: 480px; isolation: isolate; }
.scene-halo { position: absolute; inset: 12% 0 8% 2%; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(139, 108, 255, .34), rgba(81, 86, 254, .09) 45%, transparent 70%); filter: blur(4px); }
.screen { position: absolute; border: 1px solid rgba(241, 240, 255, .21); background: linear-gradient(145deg, rgba(38, 37, 67, .94), rgba(16, 17, 32, .96)); box-shadow: 22px 28px 60px rgba(0, 0, 0, .3); }
.screen-main { top: 4%; right: 3%; width: min(100%, 430px); height: 330px; overflow: hidden; border-radius: 1.2rem; }
.screen-main::after { position: absolute; right: -25%; bottom: -40%; width: 92%; height: 100%; border-radius: 50%; background: radial-gradient(circle at center, rgba(255, 72, 149, .52), transparent 63%); content: ""; }
.screen-topline { position: absolute; top: 1.25rem; right: 1.4rem; left: 1.4rem; height: 1px; background: rgba(255, 255, 255, .22); }
.screen-copy { position: absolute; z-index: 2; top: 35%; left: 1.8rem; max-width: 10rem; }
.screen-copy span { display: block; margin-bottom: .55rem; color: #d7d3ff; font-size: .67rem; font-weight: 850; letter-spacing: .11em; }
.screen-copy strong { display: block; font-size: clamp(1.65rem, 4vw, 2.5rem); line-height: 1.02; letter-spacing: -.035em; }
.screen-orbit { position: absolute; z-index: 1; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; }
.orbit-one { right: 2rem; bottom: 1.8rem; width: 185px; height: 185px; }
.orbit-two { right: 5rem; bottom: 4.7rem; width: 105px; height: 105px; border-color: rgba(255, 72, 149, .55); }
.screen-side { right: 41%; bottom: 1.5rem; display: grid; gap: .75rem; width: 205px; height: 140px; padding: 1.35rem; border-radius: 1rem; transform: rotate(-8deg); }
.screen-side span { height: 11px; border-radius: 99px; background: linear-gradient(90deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .16)); }
.screen-side span:nth-child(2) { width: 72%; background: linear-gradient(90deg, var(--violet), rgba(139, 108, 255, .15)); }
.screen-side span:nth-child(3) { width: 48%; }
.screen-phone { right: -2%; bottom: -1%; display: grid; align-content: center; gap: .6rem; width: 120px; height: 230px; padding: 1.2rem; border-radius: 1.25rem; transform: rotate(10deg); }
.screen-phone i { height: 14px; border-radius: 99px; background: rgba(255, 255, 255, .22); }
.screen-phone i:first-child { background: linear-gradient(90deg, var(--pink), var(--violet)); }
.scene-label { position: absolute; padding: .5rem .75rem; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(12, 13, 26, .85); color: #e9e7ff; font-size: .78rem; font-weight: 750; backdrop-filter: blur(8px); }
.label-top { top: 9%; left: 0; }
.label-bottom { bottom: 17%; left: 7%; }

.device-rail { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr); align-items: center; gap: clamp(2rem, 5vw, 6rem); padding-block: 3.8rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.device-rail h2 { max-width: 11ch; margin-bottom: 0; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.device-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.5rem; padding: 0; margin: 0; list-style: none; }
.device-list li { display: flex; align-items: center; gap: .8rem; color: #e8e6f2; font-weight: 740; }
.device-mark { position: relative; display: inline-block; flex: 0 0 auto; width: 1.85rem; height: 1.85rem; border: 1px solid rgba(255, 255, 255, .58); }
.tv-mark { border-radius: .35rem; }
.tv-mark::after { position: absolute; bottom: -.32rem; left: .48rem; width: .8rem; height: 1px; background: var(--pink); content: ""; }
.box-mark { border-radius: .45rem; background: linear-gradient(135deg, rgba(139,108,255,.54), rgba(255,72,149,.18)); }
.display-mark { border-radius: 50%; }
.display-mark::before { position: absolute; inset: .45rem; border-radius: 50%; background: var(--violet); content: ""; }
.remote-mark { width: 1.25rem; margin-inline: .3rem; border-radius: .7rem; transform: rotate(24deg); }

.context-section { display: grid; grid-template-columns: minmax(310px, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(3rem, 8vw, 9rem); padding-block: clamp(5rem, 11vw, 9rem); }
.context-visual { position: relative; min-height: 360px; }
.window-frame { position: absolute; top: 1rem; right: 0; bottom: 1rem; left: 1rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: linear-gradient(145deg, #232044, #111220); box-shadow: 22px 30px 60px rgba(0, 0, 0, .25); }
.window-bar { display: flex; gap: .4rem; align-items: center; height: 3rem; padding-inline: 1.2rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.window-bar span { width: .52rem; height: .52rem; border-radius: 50%; background: rgba(255,255,255,.45); }
.window-bar span:nth-child(2) { background: var(--violet); }
.window-bar span:nth-child(3) { background: var(--pink); }
.window-body { display: grid; align-content: center; gap: 1.2rem; min-height: calc(100% - 3rem); padding: clamp(1.75rem, 6vw, 3.5rem); background: radial-gradient(circle at 78% 28%, rgba(81,86,254,.55), transparent 21%), linear-gradient(145deg, rgba(12,13,26,.62), rgba(30,29,60,.18)); }
.signal-line { height: .75rem; border-radius: 999px; background: rgba(255,255,255,.2); }
.signal-long { width: 72%; }
.signal-short { width: 42%; background: linear-gradient(90deg, var(--pink), var(--violet)); }
.signal-chart { display: flex; align-items: end; gap: .55rem; height: 110px; margin-top: .7rem; }
.signal-chart b { display: block; flex: 1; border-radius: .35rem .35rem 0 0; background: linear-gradient(180deg, var(--blue), rgba(81,86,254,.12)); }
.signal-chart b:nth-child(1) { height: 36%; }.signal-chart b:nth-child(2) { height: 68%; }.signal-chart b:nth-child(3) { height: 48%; }.signal-chart b:nth-child(4) { height: 87%; }.signal-chart b:nth-child(5) { height: 62%; }
.status-row { display: flex; gap: .6rem; }
.status-row span { width: 5.4rem; height: .65rem; border-radius: 999px; background: rgba(255,255,255,.19); }
.context-tag { position: absolute; right: -1rem; bottom: -1rem; max-width: 14rem; padding: 1rem 1.15rem; border: 1px solid rgba(255,255,255,.22); border-radius: .8rem; background: #fff; color: #171525; font-size: .9rem; font-weight: 820; box-shadow: 16px 21px 40px rgba(0,0,0,.28); }
.context-copy { max-width: 540px; }
.context-list { display: grid; gap: 1.1rem; padding: 0; margin: 2rem 0 0; list-style: none; }
.context-list li { display: grid; grid-template-columns: minmax(8.5rem, .48fr) minmax(0, 1fr); gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.context-list strong { color: #fff; font-size: 1.03rem; }
.context-list span { color: var(--muted); }

.support-guide { padding-block: clamp(5rem, 10vw, 8rem); border-top: 1px solid var(--line); }
.guide-heading { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem; align-items: end; }
.guide-heading .kicker { margin-bottom: 0; }
.guide-heading h2 { margin-bottom: 0; }
.guide-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 3.2rem; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: var(--line); }
.guide-column { min-height: 275px; padding: clamp(1.75rem, 4vw, 3rem); background: var(--night); }
.guide-column-muted { color: var(--muted); }
.guide-column-strong { background: linear-gradient(145deg, #2b2452, #16162a); }
.guide-label { margin-bottom: 2rem; color: #fff; font-size: 1.15rem; font-weight: 820; }
.guide-column ul { display: grid; gap: 1.1rem; padding: 0; margin: 0; list-style: none; }
.guide-column li { display: flex; gap: .75rem; }
.guide-column li::before { flex: 0 0 auto; width: .52rem; height: .52rem; margin-top: .52rem; border-radius: 50%; background: currentColor; content: ""; }
.guide-column-strong li::before { background: var(--pink); box-shadow: 0 0 0 .25rem rgba(255,72,149,.14); }

.contact-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; margin-block: clamp(4.5rem, 9vw, 7.5rem); padding: clamp(2rem, 6vw, 4.5rem); border-radius: 1rem; background: linear-gradient(120deg, #efeefd, #ffffff 57%, #d9d6ff); color: #171525; box-shadow: 22px 28px 60px rgba(0,0,0,.2); }
.contact-panel .kicker { color: #aa1457; }
.contact-panel h2 { margin-bottom: .75rem; }
.contact-panel p:last-child { max-width: 50ch; margin-bottom: 0; color: #4a4563; }
.contact-button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 3.4rem; padding: .95rem 1.1rem; border-radius: .75rem; background: #171525; color: #fff; font-weight: 800; text-decoration: none; transition: transform .2s ease, background-color .2s ease; }
.contact-button:hover { transform: translateY(-2px); background: #302759; }

.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-block: 2rem 3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.site-footer p { margin: 0; }
.site-footer a { text-underline-offset: .25em; }
.site-footer a:hover { color: #fff; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-block: 4.5rem; }
  .device-scene { width: min(100%, 580px); min-height: 425px; margin-inline: auto; }
  .device-rail, .context-section { grid-template-columns: 1fr; }
  .device-rail { gap: 2rem; }
  .context-section { gap: 3.7rem; }
  .context-copy { max-width: none; }
  .guide-heading { grid-template-columns: 1fr; gap: .75rem; }
  .contact-panel { grid-template-columns: 1fr; align-items: start; }
  .contact-button { justify-self: start; }
}

@media (max-width: 600px) {
  .site-header, main, .site-footer { width: min(calc(100% - 2rem), var(--max)); }
  .site-header { min-height: 76px; align-items: flex-start; padding-block: 1rem; }
  .brand img { width: 142px; }
  nav { max-width: 12rem; gap: .55rem .85rem; }
  nav a { font-size: .79rem; }
  .nav-action { padding: .42rem .65rem; }
  h1 { max-width: 10ch; font-size: clamp(3rem, 16vw, 4.4rem); }
  h2 { max-width: 12ch; }
  .hero { padding-block: 4rem 3.5rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .device-scene { min-height: 310px; }
  .screen-main { right: 0; width: 92%; height: 235px; }
  .screen-copy { top: 32%; left: 1.25rem; }
  .screen-side { right: 35%; bottom: 0; width: 145px; height: 96px; padding: .9rem; }
  .screen-phone { right: -3%; bottom: -2%; width: 82px; height: 156px; padding: .8rem; }
  .orbit-one { right: 1rem; bottom: 1rem; width: 120px; height: 120px; }
  .orbit-two { right: 3rem; bottom: 3.3rem; width: 68px; height: 68px; }
  .label-top { top: 3%; }.label-bottom { bottom: 23%; left: 1%; }
  .device-list { grid-template-columns: 1fr; }
  .context-section { padding-block: 4.5rem; }
  .context-visual { min-height: 275px; }
  .window-frame { top: 0; right: .35rem; bottom: 0; left: 0; }
  .window-body { padding: 1.5rem; }
  .context-tag { right: 0; bottom: -1.2rem; }
  .context-list li { grid-template-columns: 1fr; gap: .3rem; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-column { min-height: auto; }
  .contact-panel { margin-block: 4rem; padding: 1.6rem; }
  .contact-button { width: 100%; }
}

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