:root {
  color-scheme: light dark;
  --bg: #080b12;
  --surface: rgba(25, 29, 40, 0.88);
  --surface-strong: #1c202b;
  --text: #f7f4ec;
  --muted: #b6b8c1;
  --line: rgba(255, 255, 255, 0.11);
  --accent: #f2b649;
  --accent-strong: #ffd375;
  --accent-ink: #241701;
  --danger: #ff8d87;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --content: 1080px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f1e9;
    --surface: rgba(255, 255, 255, 0.84);
    --surface-strong: #ffffff;
    --text: #1c1a17;
    --muted: #67635c;
    --line: rgba(35, 27, 17, 0.12);
    --accent: #b56b00;
    --accent-strong: #d7880a;
    --accent-ink: #ffffff;
    --shadow: 0 24px 70px rgba(75, 52, 18, 0.14);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 14% 8%, rgba(242, 182, 73, 0.17), transparent 29rem),
    radial-gradient(circle at 88% 20%, rgba(107, 126, 160, 0.16), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 4px;
}

.site-header,
.site-footer,
.hero,
.section,
.legal {
  width: min(100%, var(--content));
  margin-inline: auto;
  padding-inline: 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.site-nav a:hover,
.text-link {
  color: var(--accent-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - 78px);
  padding-block: 64px 96px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.18;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
  letter-spacing: -0.045em;
}

h2 {
  margin-top: 2.1em;
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: -0.025em;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.hero-copy > p:not(.eyebrow),
.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
}

.hero-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 21px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 820;
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: var(--accent-ink);
  box-shadow: 0 16px 38px rgba(190, 121, 17, 0.26);
}

.button.secondary {
  background: var(--surface);
}

.remote-visual {
  position: relative;
  width: min(100%, 330px);
  aspect-ratio: 0.63;
  margin-inline: auto;
  padding: 34px 30px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 54px;
  background: linear-gradient(155deg, #3b3f49, #15171e 70%);
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.22);
}

.remote-top {
  width: 44%;
  height: 9px;
  margin: 2px auto 48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}

.remote-ring {
  display: grid;
  place-items: center;
  width: 205px;
  height: 205px;
  margin: 0 auto 42px;
  border: 38px solid #292c34;
  border-radius: 50%;
  box-shadow: inset 0 3px 5px rgba(255, 255, 255, 0.12), 0 11px 20px rgba(0, 0, 0, 0.44);
}

.remote-ring span {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(145deg, #474b55, #20232b);
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.42), inset 0 1px rgba(255, 255, 255, 0.15);
}

.remote-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.remote-buttons i {
  height: 49px;
  border-radius: 18px;
  background: linear-gradient(145deg, #424650, #22252d);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.36), inset 0 1px rgba(255, 255, 255, 0.14);
}

.remote-buttons i:first-child {
  background: linear-gradient(145deg, #d85951, #872824);
}

.section {
  padding-block: 76px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin: 0 0 10px;
}

.section-heading p,
.muted,
.note {
  color: var(--muted);
}

.card-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card,
.support-card,
.notice {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07);
}

.card,
.support-card {
  padding: 24px;
}

.card p,
.support-card p {
  margin: 0;
  color: var(--muted);
}

.notice {
  margin: 28px 0;
  padding: 18px 20px;
}

.notice strong {
  color: var(--accent-strong);
}

.legal {
  max-width: 880px;
  padding-block: 70px 100px;
}

.legal h1 {
  font-size: clamp(38px, 6vw, 62px);
}

.legal p,
.legal li,
.legal dd {
  font-size: 16px;
}

.legal li + li {
  margin-top: 8px;
}

.legal code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--surface-strong);
}

.legal a:not(.button),
.support-card a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.info-list,
.faq {
  margin: 0;
}

.info-list div,
.faq div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.info-list div:last-child,
.faq div:last-child {
  border-bottom: 0;
}

dt {
  font-weight: 820;
}

dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 32px 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
    gap: 16px;
  }

  .site-nav {
    gap: 12px;
    font-size: 13px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .remote-visual {
    width: 300px;
  }

  .card-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer {
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .section,
  .legal {
    padding-inline: 18px;
  }

  .remote-visual {
    width: 270px;
    border-radius: 44px;
  }

  .remote-ring {
    width: 175px;
    height: 175px;
    border-width: 33px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
