:root,
html[data-theme="light"] {
  color-scheme: light;
  --ti-bg: #eeeae2;
  --ti-card: #f7f3eb;
  --ti-card-border: #cdd5e2;
  --ti-accent: #ff7910;
  --ti-accent-hover: #ff8a32;
  --ti-text: #202737;
  --ti-muted: #53647c;
  --ti-success: #238852;
  --ti-step-bg: #eeeae2;
  --ti-hero-bg: linear-gradient(145deg, #faf7f1, #eef2f9);
  --ti-body-bg: radial-gradient(ellipse at 85% 10%, rgba(255, 121, 16, 0.12), transparent 55%),
                radial-gradient(ellipse at 10% 80%, rgba(205, 213, 226, 0.55), transparent 60%),
                #eeeae2;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--ti-bg);
  color: var(--ti-text);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html,
body.tv-install-page {
  overflow-x: clip;
}

body.tv-install-page {
  margin: 0;
  min-height: 100vh;
  background: var(--ti-body-bg);
  color: var(--ti-text);
  line-height: 1.55;
}

.ti-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.ti-shell {
  max-width: 1120px;
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(18px, 2.5vh, 28px) clamp(20px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vh, 28px);
}

.ti-shell > main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vh, 28px);
  min-width: 0;
}

.ti-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.ti-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ti-text);
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.ti-brand img {
  border-radius: 8px;
  object-fit: contain;
}

.ti-header-controls {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ti-back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--ti-card);
  border: 1px solid var(--ti-card-border);
  color: var(--ti-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.ti-back-home:hover {
  border-color: var(--ti-accent-hover);
  color: var(--ti-accent);
}

.ti-language {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--ti-card);
  border: 1px solid var(--ti-card-border);
  color: var(--ti-text);
}

.ti-language select {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  color: var(--ti-text);
  border: 0;
  padding: 2px 4px;
  cursor: pointer;
}

.ti-language select option {
  background: var(--ti-bg);
  color: var(--ti-text);
}

.ti-brand:focus-visible,
.ti-back-home:focus-visible,
.ti-language select:focus-visible,
.ti-btn:focus-visible,
.ti-other-link:focus-visible,
.ti-copy-btn:focus-visible,
.ti-tab:focus-visible,
.ti-panel:focus-visible,
.ti-faq details summary:focus-visible,
.ti-footer a:focus-visible {
  outline: 2px solid #ff8a32;
  outline-offset: 3px;
}

.ti-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(20px, 2.8vw, 30px);
  border-radius: 22px;
  background: var(--ti-hero-bg);
  border: 1px solid var(--ti-card-border);
  box-shadow: 0 14px 32px rgba(32, 39, 55, 0.08);
  min-width: 0;
}

.ti-hero-copy {
  min-width: 0;
  overflow-wrap: anywhere;
}

.ti-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 10px;
}

.ti-eyebrow {
  margin: 0;
  color: #ff7910;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.ti-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.14;
  letter-spacing: -0.7px;
  font-weight: 900;
  color: var(--ti-text);
  overflow-wrap: anywhere;
}

.ti-lead {
  margin: 0 0 16px;
  color: var(--ti-muted);
  font-size: clamp(15px, 1.3vw, 16.5px);
  max-width: 58ch;
  overflow-wrap: anywhere;
}

.ti-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  min-width: 0;
}

.ti-download[hidden] {
  display: none;
}

.ti-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  min-height: 50px;
  max-width: 100%;
  padding: 11px 22px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.ti-btn small {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.92;
}

.ti-btn-primary {
  background: #ff7910;
  color: #edf2fa;
  border: 1px solid #ff8a32;
  box-shadow: 0 10px 24px rgba(255, 121, 16, 0.28);
}

.ti-btn-primary:hover {
  background: #ff8a32;
  transform: translateY(-1px);
}

.ti-btn-secondary {
  background: var(--ti-card);
  color: var(--ti-text);
  border: 1px solid var(--ti-card-border);
}

.ti-btn-secondary:hover {
  border-color: #ff8a32;
  color: #ff7910;
}

.ti-other {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 13px;
  color: var(--ti-muted);
  min-width: 0;
}

.ti-other[hidden] {
  display: none;
}

.ti-other-label {
  font-weight: 700;
  color: var(--ti-text);
}

.ti-other-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  min-width: 0;
}

.ti-other-link {
  color: var(--ti-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.ti-other-link:hover {
  color: #ff7910;
}

.ti-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.ti-hero-visual svg {
  width: 100%;
  max-width: 240px;
  height: auto;
}

/* Horizontal Compact PC Setup Strip (Linux or macOS) */
.ti-pc-strip {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(255, 121, 16, 0.08), var(--ti-card) 60%);
  border: 1.5px solid rgba(255, 121, 16, 0.65);
  box-shadow: 0 8px 22px rgba(32, 39, 55, 0.05);
  min-width: 0;
}

.ti-pc-strip[hidden] {
  display: none;
}

.ti-pc-strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.ti-pc-strip-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ti-pc-strip-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 121, 16, 0.15);
  border: 1px solid rgba(255, 121, 16, 0.35);
  color: #e56705;
  flex-shrink: 0;
}

.ti-pc-strip-title h2 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 850;
  color: var(--ti-text);
  overflow-wrap: anywhere;
}

.ti-pc-strip-title h2 > span:last-child {
  font-size: 13px;
  color: var(--ti-muted);
  font-weight: 500;
}

.ti-os-pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(255, 121, 16, 0.14);
  border: 1px solid rgba(255, 121, 16, 0.4);
  color: #c85400;
  white-space: nowrap;
}

.ti-pc-hgrid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ti-pc-hgrid-3 {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1.35fr;
  gap: 12px;
}

.ti-cmd-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 7px;
  padding: 11px 14px;
  border-radius: 12px;
  background: #eeeae2;
  border: 1px solid var(--ti-card-border);
  min-width: 0;
}

.ti-cmd-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.ti-cmd-label {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ti-text);
}

.ti-cmd-desc {
  font-size: 11.5px;
  color: var(--ti-muted);
  margin: 0;
}

.ti-cmd-tag {
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  background: rgba(35, 136, 82, 0.14);
  color: #1b6e41;
  border: 1px solid rgba(35, 136, 82, 0.32);
}

.ti-cmd-tag--alt {
  background: rgba(83, 100, 124, 0.12);
  color: #425269;
  border-color: rgba(83, 100, 124, 0.28);
}

.ti-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 7px;
  background: #ffffff;
  border: 1px solid rgba(255, 121, 16, 0.45);
  color: #d45a00;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.ti-copy-btn:hover {
  background: rgba(255, 121, 16, 0.08);
  border-color: #ff7910;
}

.ti-cmd-pre {
  margin: 0;
  padding: 8px 11px;
  border-radius: 8px;
  background: #202737;
  border: 1px solid #2c394f;
  color: #edf2fa;
  font-family: "JetBrains Mono", "Fira Code", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.8px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.ti-cmd-pre .cmd-comment {
  color: #9babc2;
}

.ti-cmd-pre .cmd-hl {
  color: #ff9d52;
  font-weight: 600;
}

.ti-mac-hstep {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 11px 14px;
  border-radius: 12px;
  background: #eeeae2;
  border: 1px solid var(--ti-card-border);
  min-width: 0;
}

.ti-mac-hstep-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ti-mac-step-num {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ff7910;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  flex-shrink: 0;
}

.ti-mac-step-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--ti-text);
}

.ti-mac-step-desc {
  margin: 0;
  font-size: 12.2px;
  color: var(--ti-muted);
  line-height: 1.45;
}

.ti-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

.ti-method-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--ti-card);
  border: 1.5px solid var(--ti-card-border);
  min-width: 0;
  overflow-wrap: anywhere;
}

.ti-method-card--highlight {
  border-color: rgba(255, 121, 16, 0.65);
  background: linear-gradient(145deg, rgba(255, 121, 16, 0.1), var(--ti-card));
}

.ti-method-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ti-method-icon {
  width: 24px;
  height: 24px;
  color: #ff8a32;
  flex-shrink: 0;
}

.ti-method-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--ti-text);
  overflow-wrap: anywhere;
}

.ti-method-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ti-muted);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.ti-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.ti-section h2 {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 850;
  letter-spacing: -0.4px;
  color: var(--ti-text);
  overflow-wrap: anywhere;
}

.ti-section[hidden],
.ti-section h2[hidden],
.ti-tabs[hidden],
.ti-tv-selected-bar[hidden],
.ti-hero-platform-pill[hidden],
.ti-faq-list details[hidden] {
  display: none;
}

.ti-tv-selected-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.ti-tv-selected-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ti-tv-selected-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 12px;
  background: var(--ti-card);
  border: 1.5px solid #ff7910;
  font-size: 14px;
  font-weight: 800;
  color: var(--ti-text);
}

.ti-tv-selected-pill img {
  height: 20px;
  width: auto;
  object-fit: contain;
}

.ti-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ti-tab {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  min-height: 56px;
  min-width: 0;
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--ti-card);
  border: 1.5px solid var(--ti-card-border);
  color: var(--ti-text);
  font: inherit;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
  text-align: start;
  overflow-wrap: anywhere;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.ti-tab img {
  width: 44px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.ti-tab[aria-selected="true"] {
  border-color: #ff7910;
  background: linear-gradient(145deg, rgba(255, 121, 16, 0.14), var(--ti-card));
  box-shadow: 0 6px 16px rgba(32, 39, 55, 0.08);
}

.ti-tab:hover {
  border-color: #ff8a32;
}

.ti-panel {
  padding: clamp(16px, 2.2vw, 22px);
  border-radius: 18px;
  background: var(--ti-card);
  border: 1px solid var(--ti-card-border);
  min-width: 0;
}

.ti-panel[hidden] {
  display: none;
}

.ti-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.ti-step {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  background: var(--ti-step-bg);
  border: 1px solid var(--ti-card-border);
  min-width: 0;
  overflow-wrap: anywhere;
}

.ti-step-num {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ff7910;
  color: #edf2fa;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.ti-step-icon {
  width: 24px;
  height: 24px;
  color: #ff8a32;
  flex-shrink: 0;
}

.ti-step p {
  flex: 1 1 100%;
  margin: 2px 0 0;
  font-size: 13.8px;
  line-height: 1.48;
  color: var(--ti-text);
  min-width: 0;
  overflow-wrap: anywhere;
}

.ti-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(20px, 3vw, 32px);
  min-width: 0;
}

.ti-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ti-timeline li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: var(--ti-card);
  border: 1px solid var(--ti-card-border);
  color: var(--ti-text);
  font-weight: 700;
  font-size: 14px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.ti-dot {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 121, 16, 0.16);
  border: 1px solid #ff7910;
  color: #ff7910;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.ti-faq-list {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.ti-faq details {
  border-radius: 14px;
  background: var(--ti-card);
  border: 1px solid var(--ti-card-border);
  padding: 13px 16px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.ti-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-weight: 750;
  font-size: 14.5px;
  color: var(--ti-text);
  list-style: none;
  min-width: 0;
  overflow-wrap: anywhere;
}

.ti-faq summary::-webkit-details-marker {
  display: none;
}

.ti-faq summary::after {
  content: "▾";
  color: var(--ti-muted);
  font-size: 16px;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.ti-faq details[open] summary::after {
  transform: rotate(180deg);
  color: #ff7910;
}

.ti-faq details p {
  margin: 10px 0 0;
  color: var(--ti-muted);
  font-size: 13.8px;
  overflow-wrap: anywhere;
}

.social-links {
  min-width: 0;
  margin-bottom: 20px;
  color: var(--ti-muted);
  font-size: 13px;
}

.social-links strong {
  display: block;
  margin-bottom: 8px;
}

.social-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-links-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  max-width: 100%;
  padding: 6px 12px;
  border: 1px solid var(--ti-card-border);
  border-radius: 999px;
  color: var(--ti-muted);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.social-links-list a:hover {
  color: #ff7910;
}

.social-links-list a:focus-visible {
  outline: 2px solid #ff7910;
  outline-offset: 3px;
}

.ti-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--ti-card-border);
  color: var(--ti-muted);
  font-size: 13px;
}

.ti-footer a {
  color: var(--ti-muted);
  text-decoration: none;
}

.ti-footer a:hover {
  color: #ff7910;
}

@media (max-width: 920px) {
  .ti-bottom-grid,
  .ti-pc-hgrid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .ti-hero,
  .ti-methods-grid,
  .ti-pc-hgrid-2,
  .ti-tabs {
    grid-template-columns: 1fr;
  }
  .ti-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .ti-timeline {
    grid-template-columns: 1fr;
  }
  .ti-btn {
    width: 100%;
    align-items: center;
    text-align: center;
  }
}
