/* Teyo Player web interface v0.4.1 */
:root {
    color-scheme: dark;
    --background: #07111f;
    --background-soft: #0b1829;
    --panel: #10233a;
    --panel-strong: #142b47;
    --accent: #25d7a9;
    --accent-hover: #52e4be;
    --accent-ink: #041c18;
    --text: #f7f9fc;
    --muted: #a6b4c6;
    --border: #28435f;
    --danger: #ff7d8a;
    --warning: #ffd16d;
    --success: #52e1b8;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 5%, rgba(37, 215, 169, 0.12), transparent 28rem),
        radial-gradient(circle at 90% 25%, rgba(44, 104, 190, 0.12), transparent 30rem),
        var(--background);
}

a {
    color: inherit;
}

.site-header {
    width: min(1180px, calc(100% - 40px));
    min-height: 92px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-size: 17px;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-decoration: none;
    white-space: nowrap;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 13px;
    color: var(--accent-ink);
    background: var(--accent);
    box-shadow: 0 10px 30px rgba(37, 215, 169, 0.18);
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-header nav a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.site-header nav a:hover {
    color: var(--text);
}

.site-header nav .nav-cta {
    padding: 11px 18px;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 999px;
}

.site-header nav .nav-cta:hover {
    border-color: var(--accent);
    transform: translateY(-1px);
}

.landing-hero {
    width: min(1180px, calc(100% - 40px));
    min-height: 650px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
    align-items: center;
    gap: clamp(42px, 7vw, 96px);
    padding: 64px 0 96px;
}

.eyebrow,
.step {
    margin: 0 0 17px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.18em;
}

.hero-content h1,
.portal-copy h1,
.legal-shell h1 {
    margin: 0;
    font-size: clamp(46px, 6.2vw, 78px);
    line-height: 0.99;
    letter-spacing: -0.055em;
}

.hero-content h1 span {
    color: var(--muted);
}

.hero-lead,
.portal-copy > p:not(.eyebrow) {
    max-width: 620px;
    margin: 27px 0 0;
    color: var(--muted);
    font-size: clamp(17px, 1.8vw, 20px);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 34px;
}

.primary-button,
.secondary-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: 13px;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.primary-button {
    color: var(--accent-ink);
    background: var(--accent);
    box-shadow: 0 14px 35px rgba(37, 215, 169, 0.14);
}

.primary-button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.secondary-button {
    color: var(--text);
    background: rgba(16, 35, 58, 0.64);
    border-color: var(--border);
}

.secondary-button:hover {
    border-color: #3d668e;
    transform: translateY(-1px);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 19px;
    margin: 26px 0 0;
    padding: 0;
    color: var(--muted);
    font-size: 12px;
    list-style: none;
}

.trust-row li::before {
    margin-right: 7px;
    color: var(--accent);
    content: "✓";
}

.tv-demo {
    aspect-ratio: 1.45;
    padding: 22px;
    overflow: hidden;
    border: 1px solid #31506f;
    border-radius: 26px;
    background: linear-gradient(145deg, #112640, #091625);
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.36);
    transform: perspective(1100px) rotateY(-3deg) rotateX(1deg);
}

.tv-topbar {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px 14px;
    border-bottom: 1px solid rgba(166, 180, 198, 0.13);
}

.mini-brand {
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.08em;
}

.mini-brand span {
    color: var(--accent);
}

.live-pill {
    padding: 6px 9px;
    color: var(--accent);
    border: 1px solid rgba(37, 215, 169, 0.35);
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
}

.tv-layout {
    height: calc(100% - 48px);
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 19px;
    padding-top: 20px;
}

.tv-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 16px;
    border-right: 1px solid rgba(166, 180, 198, 0.13);
}

.tv-sidebar span {
    padding: 12px 11px;
    color: var(--muted);
    border-radius: 9px;
    font-size: 10px;
    font-weight: 750;
}

.tv-sidebar .active {
    color: var(--accent);
    background: rgba(37, 215, 169, 0.12);
}

.tv-content {
    min-width: 0;
}

.tv-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tv-heading strong {
    font-size: 19px;
}

.tv-heading span {
    min-width: 112px;
    padding: 9px 11px;
    color: #708096;
    border: 1px solid #29415d;
    border-radius: 8px;
    font-size: 8px;
}

.tv-categories {
    display: flex;
    gap: 7px;
    margin: 18px 0 14px;
}

.tv-categories span {
    padding: 6px 10px;
    color: var(--muted);
    border: 1px solid #294a68;
    border-radius: 7px;
    font-size: 8px;
}

.tv-categories span:first-child {
    color: var(--text);
    border-color: var(--accent);
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

.channel-grid div {
    min-height: 82px;
    display: grid;
    grid-template-columns: 39px 1fr;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #263f5d;
    border-radius: 11px;
    background: rgba(20, 43, 71, 0.74);
}

.channel-grid b {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    color: var(--accent);
    border-radius: 10px;
    background: #0b4a40;
}

.channel-grid small {
    color: var(--muted);
    font-size: 8px;
}

.benefits {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(166, 180, 198, 0.15);
    border-bottom: 1px solid rgba(166, 180, 198, 0.15);
}

.benefits article {
    padding: 46px clamp(20px, 3.4vw, 48px);
}

.benefits article + article {
    border-left: 1px solid rgba(166, 180, 198, 0.15);
}

.feature-icon {
    color: var(--accent);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.14em;
}

.benefits h2 {
    margin: 19px 0 10px;
    font-size: 20px;
}

.benefits p,
.steps p,
.price-card p,
footer p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.steps-section {
    width: min(1050px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 90px;
    padding: 130px 0;
}

.steps-section h2,
.price-card h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.steps {
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps li {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 18px;
    padding: 0 0 26px;
}

.steps li + li {
    padding-top: 26px;
    border-top: 1px solid rgba(166, 180, 198, 0.15);
}

.steps > li > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--accent);
    border: 1px solid rgba(37, 215, 169, 0.36);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 850;
}

.steps b {
    display: block;
    margin-bottom: 7px;
    font-size: 17px;
}

.price-card {
    width: min(1050px, calc(100% - 40px));
    margin: 0 auto 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
    padding: clamp(34px, 6vw, 66px);
    border: 1px solid rgba(37, 215, 169, 0.28);
    border-radius: 28px;
    background:
        radial-gradient(circle at 85% 25%, rgba(37, 215, 169, 0.17), transparent 23rem),
        var(--panel);
}

.price-card h2 {
    margin-bottom: 12px;
    color: var(--accent);
    font-size: clamp(48px, 7vw, 78px);
}

.price-card h2 small {
    color: var(--text);
    font-size: 18px;
    font-weight: 650;
    letter-spacing: 0;
}

.setup-notice {
    width: min(1050px, calc(100% - 40px));
    margin: -70px auto 70px;
    padding: 14px 18px;
    color: var(--warning);
    border: 1px solid rgba(255, 209, 109, 0.3);
    border-radius: 12px;
    background: rgba(255, 209, 109, 0.07);
    font-size: 13px;
    text-align: center;
}

footer {
    width: min(1180px, calc(100% - 40px));
    min-height: 130px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
    border-top: 1px solid rgba(166, 180, 198, 0.15);
}

footer > p {
    text-align: center;
}

footer > div {
    display: flex;
    gap: 18px;
}

footer > div a {
    color: var(--muted);
    font-size: 12px;
    text-decoration: none;
}

.compact-brand {
    font-size: 13px;
}

.compact-brand .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 19px;
}

.portal-header {
    border-bottom: 1px solid rgba(166, 180, 198, 0.13);
}

.portal-shell {
    width: min(1040px, calc(100% - 40px));
    min-height: calc(100vh - 205px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    align-items: center;
    gap: clamp(50px, 8vw, 100px);
    padding: 68px 0 86px;
}

.portal-copy h1 {
    font-size: clamp(42px, 5.2vw, 64px);
}

.price-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    padding: 16px 19px;
    border: 1px solid rgba(37, 215, 169, 0.25);
    border-radius: 14px;
    background: rgba(37, 215, 169, 0.07);
}

.price-badge strong {
    color: var(--accent);
    font-size: 31px;
}

.price-badge span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.mini-checks {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.mini-checks li {
    margin: 12px 0;
    color: var(--muted);
    font-size: 14px;
}

.mini-checks li::before {
    margin-right: 9px;
    color: var(--accent);
    content: "✓";
}

.form-card {
    width: 100%;
    padding: clamp(27px, 4.5vw, 44px);
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(16, 35, 58, 0.82);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(12px);
}

.form-card h1,
.form-card h2 {
    margin: 0;
    font-size: clamp(28px, 3.2vw, 38px);
    letter-spacing: -0.035em;
}

.description {
    margin: 12px 0 24px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

form {
    display: grid;
    gap: 17px;
}

label {
    display: grid;
    gap: 8px;
}

label > span,
.form-section-title {
    color: #dbe5f1;
    font-size: 12px;
    font-weight: 750;
}

input {
    width: 100%;
    min-height: 51px;
    padding: 0 15px;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 11px;
    outline: none;
    background: rgba(7, 17, 31, 0.78);
    font: inherit;
    font-size: 15px;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

select {
    width: 100%;
    min-height: 51px;
    padding: 0 38px 0 15px;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 11px;
    outline: none;
    background-color: rgba(7, 17, 31, 0.9);
    font: inherit;
    font-size: 14px;
}

select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 215, 169, 0.1);
}

input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 215, 169, 0.1);
}

input::placeholder {
    color: #687990;
}

.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

form .primary-button {
    width: 100%;
    margin-top: 5px;
}

.form-section-title {
    margin: 10px 0 -6px;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.alert {
    margin: 0 0 20px;
    padding: 13px 15px;
    border: 1px solid;
    border-radius: 11px;
    font-size: 13px;
    line-height: 1.55;
}

.alert.error {
    color: var(--danger);
    border-color: rgba(255, 125, 138, 0.35);
    background: rgba(255, 125, 138, 0.08);
}

.alert.success {
    color: var(--success);
    border-color: rgba(82, 225, 184, 0.35);
    background: rgba(82, 225, 184, 0.08);
}

.alert.warning {
    color: var(--warning);
    border-color: rgba(255, 209, 109, 0.35);
    background: rgba(255, 209, 109, 0.08);
}

.playlist-manager {
    max-width: 720px;
}

.device-summary,
.playlist-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(7, 17, 31, 0.62);
    padding: 18px;
}

.device-summary {
    flex-wrap: wrap;
    margin: 20px 0 24px;
}

.device-summary div,
.playlist-item > div:first-child {
    display: grid;
    gap: 4px;
}

.device-summary span,
.playlist-item span {
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.device-summary strong,
.playlist-item strong {
    overflow-wrap: anywhere;
}

.playlist-item small,
.empty-playlists {
    color: var(--muted);
}

.playlist-list {
    display: grid;
    gap: 12px;
}

.empty-playlists {
    border: 1px dashed var(--border);
    border-radius: 16px;
    padding: 22px;
    text-align: center;
}

.inline-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.inline-actions button {
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--panel);
    color: var(--text);
    cursor: pointer;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 750;
    padding: 9px 12px;
}

.inline-actions .danger-action {
    color: var(--danger);
}

.add-playlist-form {
    border-top: 1px solid var(--border);
    margin-top: 26px;
    padding-top: 26px;
}

.add-playlist-form h3 {
    margin: 0;
}

.secure-note,
.legal {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
    text-align: center;
}

.secure-note::before {
    margin-right: 6px;
    color: var(--accent);
    content: "◆";
}

.portal-footer {
    min-height: 90px;
    grid-template-columns: 1fr auto;
}

.portal-footer > p {
    text-align: left;
}

.setup-shell,
.status-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 36px 20px;
}

.setup-card {
    max-width: 650px;
}

.setup-card .brand,
.status-card .brand {
    margin-bottom: 34px;
}

.setup-card h1 {
    margin-bottom: 10px;
}

.code-note {
    overflow-wrap: anywhere;
    padding: 13px 15px;
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: 11px;
    background: rgba(7, 17, 31, 0.5);
    font-size: 12px;
    line-height: 1.65;
}

.code-note code {
    color: var(--accent);
}

.status-card {
    max-width: 540px;
    text-align: center;
}

.status-card .brand {
    justify-content: center;
}

.status-icon {
    width: 66px;
    height: 66px;
    margin: 0 auto 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 30px;
    font-weight: 850;
}

.success-icon {
    color: var(--accent-ink);
    background: var(--accent);
}

.pending-icon {
    color: var(--warning);
    border: 1px solid rgba(255, 209, 109, 0.35);
    background: rgba(255, 209, 109, 0.08);
}

.status-card .primary-button,
.full-button {
    width: 100%;
}

.legal-shell {
    width: min(760px, calc(100% - 40px));
    margin: 0 auto;
    padding: 78px 0 110px;
}

.legal-shell h1 {
    margin-bottom: 12px;
    font-size: clamp(42px, 6vw, 66px);
}

.legal-date {
    margin-bottom: 48px;
    color: var(--muted);
    font-size: 13px;
}

.legal-shell h2 {
    margin: 34px 0 9px;
    font-size: 20px;
}

.legal-shell > p:not(.eyebrow):not(.legal-date) {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.error-icon {
    color: #2b090e;
    background: var(--danger);
}

.panel-body {
    background: #07111f;
}

.panel-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 238px minmax(0, 1fr);
}

.panel-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 28px 20px 22px;
    border-right: 1px solid rgba(166, 180, 198, 0.14);
    background: #091523;
}

.panel-sidebar nav {
    display: grid;
    gap: 6px;
    margin-top: 44px;
}

.panel-sidebar nav a {
    padding: 12px 14px;
    color: var(--muted);
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.panel-sidebar nav a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.025);
}

.panel-sidebar nav a.active {
    color: var(--accent);
    border-color: rgba(37, 215, 169, 0.18);
    background: rgba(37, 215, 169, 0.08);
}

.panel-user {
    margin-top: auto;
    display: grid;
    gap: 5px;
    padding: 15px 14px 0;
    border-top: 1px solid rgba(166, 180, 198, 0.14);
}

.panel-user span {
    overflow: hidden;
    font-size: 13px;
    font-weight: 750;
    text-overflow: ellipsis;
}

.panel-user a {
    color: var(--muted);
    font-size: 11px;
    text-decoration: none;
}

.panel-main {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 34px clamp(22px, 4vw, 58px) 70px;
}

.panel-topbar {
    min-height: 88px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.panel-topbar .eyebrow {
    margin-bottom: 8px;
}

.panel-topbar h1 {
    margin: 0;
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -0.045em;
}

.small-button {
    min-height: 40px;
    padding: 9px 15px;
    border-radius: 10px;
    font-size: 12px;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.metric-card,
.panel-card {
    border: 1px solid rgba(166, 180, 198, 0.16);
    border-radius: 17px;
    background: rgba(16, 35, 58, 0.68);
}

.metric-card {
    min-height: 154px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
}

.metric-card > span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.metric-card strong {
    margin: 8px 0 6px;
    font-size: clamp(28px, 3vw, 40px);
    letter-spacing: -0.04em;
}

.metric-card small {
    color: var(--muted);
    font-size: 11px;
}

.compact-metrics .metric-card {
    min-height: 125px;
}

.panel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
    gap: 18px;
    margin-bottom: 18px;
}

.panel-card {
    padding: 24px;
}

.card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.card-heading span:not(.status-badge) {
    color: var(--accent);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.16em;
}

.card-heading h2 {
    margin: 5px 0 0;
    font-size: 20px;
}

.card-heading > a {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.bar-chart {
    height: 220px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    align-items: end;
    gap: clamp(7px, 2vw, 18px);
    padding-top: 14px;
}

.bar-column {
    height: 100%;
    display: grid;
    grid-template-rows: 1fr auto auto;
    justify-items: center;
    gap: 5px;
}

.bar-track {
    width: min(30px, 78%);
    height: 100%;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(166, 180, 198, 0.08);
}

.bar-track span {
    width: 100%;
    min-height: 4%;
    display: block;
    border-radius: 8px;
    background: linear-gradient(180deg, var(--accent), #0b7866);
}

.bar-level-1 { height: 10%; }
.bar-level-2 { height: 20%; }
.bar-level-3 { height: 30%; }
.bar-level-4 { height: 40%; }
.bar-level-5 { height: 50%; }
.bar-level-6 { height: 60%; }
.bar-level-7 { height: 70%; }
.bar-level-8 { height: 80%; }
.bar-level-9 { height: 90%; }
.bar-level-10 { height: 100%; }

.bar-column b {
    font-size: 11px;
}

.bar-column small {
    color: var(--muted);
    font-size: 9px;
}

.health-list {
    margin: 0 0 20px;
}

.health-list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(166, 180, 198, 0.11);
}

.health-list dt {
    color: var(--muted);
    font-size: 12px;
}

.health-list dd {
    margin: 0;
    font-size: 12px;
    font-weight: 750;
    text-align: right;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border: 1px solid;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.status-badge.success {
    color: var(--success);
    border-color: rgba(82, 225, 184, 0.3);
    background: rgba(82, 225, 184, 0.07);
}

.status-badge.warning {
    color: var(--warning);
    border-color: rgba(255, 209, 109, 0.3);
    background: rgba(255, 209, 109, 0.07);
}

.status-badge.danger {
    color: var(--danger);
    border-color: rgba(255, 125, 138, 0.3);
    background: rgba(255, 125, 138, 0.07);
}

.table-card {
    margin-bottom: 18px;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}

th {
    padding: 10px 12px;
    color: var(--muted);
    border-bottom: 1px solid rgba(166, 180, 198, 0.15);
    font-size: 10px;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

td {
    max-width: 260px;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(166, 180, 198, 0.09);
    font-size: 12px;
}

td code,
.code-note code {
    color: var(--accent);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.empty-cell {
    padding: 36px;
    color: var(--muted);
    text-align: center;
}

.truncate-cell {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-heading {
    align-items: flex-end;
}

.table-actions,
.filter-form {
    display: flex;
    align-items: center;
    gap: 9px;
}

.filter-form {
    min-width: min(100%, 430px);
}

.filter-form select,
.filter-form input {
    min-height: 40px;
}

.row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.row-actions form {
    display: block;
}

.row-actions button {
    padding: 6px 9px;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 7px;
    background: transparent;
    font: inherit;
    font-size: 10px;
    cursor: pointer;
}

.row-actions .danger-action {
    color: var(--danger);
    border-color: rgba(255, 125, 138, 0.28);
}

.row-actions .reset-key-form {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px;
    border: 1px solid rgba(37, 215, 169, 0.24);
    border-radius: 9px;
    background: rgba(37, 215, 169, 0.05);
}

.row-actions .reset-key-form input {
    width: 116px;
    min-height: 30px;
    padding: 5px 7px;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    background: var(--background);
    font: inherit;
    font-size: 10px;
}

.row-actions .reset-key-form input:focus {
    border-color: var(--accent);
    outline: 2px solid rgba(37, 215, 169, 0.14);
}

.settings-card {
    margin-bottom: 18px;
}

.settings-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 6px 0;
}

.credential-box {
    display: grid;
    gap: 14px;
    padding: 20px;
    border: 1px solid rgba(166, 180, 198, 0.14);
    border-radius: 14px;
    background: rgba(7, 17, 31, 0.42);
}

.credential-box h3 {
    margin: 0;
    font-size: 18px;
}

.credential-box > p {
    margin: -7px 0 2px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
}

.three-fields {
    grid-template-columns: repeat(3, 1fr);
}

.input-pair {
    display: grid;
    grid-template-columns: 1fr 74px;
    gap: 7px;
}

.panel-login-card {
    max-width: 480px;
}

.panel-login-card .brand {
    margin-bottom: 36px;
}

.panel-privacy-note {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 11px;
    text-align: center;
}

@media (max-width: 900px) {
    .landing-hero,
    .portal-shell,
    .steps-section {
        grid-template-columns: 1fr;
    }

    .landing-hero {
        padding-top: 54px;
    }

    .tv-demo {
        width: min(680px, 100%);
        transform: none;
    }

    .benefits {
        grid-template-columns: 1fr;
    }

    .benefits article + article {
        border-top: 1px solid rgba(166, 180, 198, 0.15);
        border-left: 0;
    }

    .steps-section {
        gap: 54px;
        padding: 100px 0;
    }

    .portal-shell {
        max-width: 680px;
        gap: 52px;
        padding-top: 52px;
    }

    .panel-layout {
        grid-template-columns: 1fr;
    }

    .panel-sidebar {
        position: static;
        width: 100%;
        height: auto;
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 24px;
        padding: 16px 20px;
        border-right: 0;
        border-bottom: 1px solid rgba(166, 180, 198, 0.14);
    }

    .panel-sidebar nav {
        display: flex;
        overflow-x: auto;
        margin: 0;
    }

    .panel-sidebar nav a {
        white-space: nowrap;
    }

    .panel-user {
        margin: 0;
        padding: 0 0 0 15px;
        border-top: 0;
        border-left: 1px solid rgba(166, 180, 198, 0.14);
    }

    .metric-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .panel-grid,
    .settings-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-header {
        min-height: 78px;
    }

    .site-header nav {
        gap: 12px;
    }

    .site-header nav a {
        display: none;
    }

    .site-header nav .nav-cta,
    .portal-header nav a:last-child {
        display: inline-flex;
    }

    .brand {
        font-size: 14px;
    }

    .brand-mark {
        width: 37px;
        height: 37px;
        border-radius: 11px;
    }

    .landing-hero {
        min-height: 0;
        padding: 55px 0 70px;
    }

    .hero-content h1 {
        font-size: clamp(43px, 13vw, 60px);
    }

    .hero-actions > a {
        width: 100%;
    }

    .tv-demo {
        padding: 14px;
        border-radius: 18px;
    }

    .tv-layout {
        grid-template-columns: 76px 1fr;
        gap: 10px;
    }

    .tv-sidebar {
        padding-right: 8px;
    }

    .tv-sidebar span {
        padding: 8px 6px;
        font-size: 7px;
    }

    .tv-heading span {
        display: none;
    }

    .tv-heading strong {
        font-size: 14px;
    }

    .tv-categories {
        margin: 10px 0;
    }

    .channel-grid div {
        min-height: 58px;
        grid-template-columns: 27px 1fr;
        gap: 7px;
        padding: 6px;
    }

    .channel-grid b {
        width: 27px;
        height: 27px;
        border-radius: 7px;
        font-size: 10px;
    }

    .price-card {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 75px;
    }

    .price-card .primary-button {
        width: 100%;
    }

    footer {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 18px;
        padding: 36px 0;
    }

    footer > p,
    .portal-footer > p {
        text-align: center;
    }

    .portal-footer {
        display: flex;
        flex-direction: column;
    }

    .field-grid {
        grid-template-columns: 1fr;
    }

    .portal-copy h1 {
        font-size: clamp(40px, 12vw, 55px);
    }

    .form-card {
        padding: 25px 20px;
        border-radius: 19px;
    }

    .panel-sidebar {
        grid-template-columns: 1fr auto;
    }

    .panel-sidebar nav {
        grid-column: 1 / -1;
        grid-row: 2;
        order: 3;
    }

    .panel-user {
        justify-self: end;
    }

    .panel-main {
        padding: 24px 14px 50px;
    }

    .panel-topbar .secondary-button {
        display: none;
    }

    .metric-grid,
    .three-fields {
        grid-template-columns: 1fr;
    }

    .metric-card {
        min-height: 120px;
    }

    .panel-card {
        padding: 18px 14px;
    }

    .filter-heading,
    .table-actions,
    .filter-form {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }
}

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

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}

/* Premium landing page v0.11.18 */
.landing-page {
    --landing-width: 1240px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 8%, rgba(37, 215, 169, 0.13), transparent 31rem),
        radial-gradient(circle at 88% 16%, rgba(51, 111, 197, 0.14), transparent 34rem),
        linear-gradient(180deg, #07111f 0%, #081321 42%, #06101d 100%);
}

.landing-page::before {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    left: 0;
    height: 830px;
    opacity: 0.12;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, black, transparent 92%);
    pointer-events: none;
    content: "";
}

.landing-page main {
    overflow: hidden;
}

.landing-header {
    width: min(var(--landing-width), calc(100% - 48px));
    min-height: 88px;
    border-bottom: 1px solid rgba(166, 180, 198, 0.12);
}

.landing-header .home-nav {
    gap: 24px;
}

.landing-header .home-nav a {
    font-size: 13px;
}

.landing-header .home-mylist {
    color: var(--text);
}

.home-hero {
    width: min(var(--landing-width), calc(100% - 48px));
    min-height: 720px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(540px, 1.06fr);
    align-items: center;
    gap: clamp(46px, 6vw, 84px);
    padding: 74px 0 104px;
}

.home-kicker {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 0 0 23px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.18em;
}

.home-kicker > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(37, 215, 169, 0.11);
}

.home-hero h1 {
    max-width: 700px;
    margin: 0;
    font-size: clamp(56px, 6vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.home-hero h1 span,
.home-section-heading h2 span,
.home-steps h2 span,
.home-faq h2 span {
    color: #8ea1b8;
}

.home-hero-lead {
    max-width: 650px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: clamp(17px, 1.45vw, 20px);
    line-height: 1.7;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 34px;
}

.home-primary {
    gap: 28px;
}

.home-primary span,
.home-final-actions .primary-button span,
.price-panel .primary-button span {
    font-size: 20px;
    line-height: 1;
}

.home-action-note {
    margin: 14px 0 0;
    color: #75879e;
    font-size: 12px;
    line-height: 1.55;
}

.home-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin: 25px 0 0;
    padding: 0;
    color: #aebdce;
    font-size: 12px;
    list-style: none;
}

.home-trust-list li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.home-trust-list li::before {
    width: 15px;
    height: 15px;
    display: inline-grid;
    place-items: center;
    color: var(--accent);
    border: 1px solid rgba(37, 215, 169, 0.42);
    border-radius: 50%;
    font-size: 8px;
    content: "✓";
}

.product-stage {
    position: relative;
    min-width: 0;
    padding: 30px 0 18px;
}

.product-glow {
    position: absolute;
    z-index: -1;
    inset: 3% 4% 11%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 215, 169, 0.18), rgba(40, 101, 183, 0.08) 42%, transparent 72%);
    filter: blur(23px);
}

.product-screen {
    position: relative;
    aspect-ratio: 1.42;
    overflow: hidden;
    border: 1px solid #325371;
    border-radius: 26px;
    background:
        radial-gradient(circle at 86% 0%, rgba(37, 215, 169, 0.1), transparent 22rem),
        linear-gradient(145deg, #10243b, #091522);
    box-shadow:
        0 44px 100px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: perspective(1200px) rotateY(-2.6deg) rotateX(1deg);
}

.product-screen::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0.04), transparent 32%);
    pointer-events: none;
    content: "";
}

.screen-toolbar {
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    border-bottom: 1px solid rgba(166, 180, 198, 0.12);
}

.screen-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.1em;
}

.screen-brand > span {
    width: 25px;
    height: 25px;
    display: inline-grid;
    place-items: center;
    color: var(--accent-ink);
    border-radius: 8px;
    background: var(--accent);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0;
}

.screen-time {
    color: #6f8299;
    font-size: 9px;
    font-weight: 750;
}

.screen-layout {
    height: calc(100% - 62px);
    display: grid;
    grid-template-columns: 82px 1fr;
}

.screen-sidebar {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 9px;
    padding: 18px 10px;
    border-right: 1px solid rgba(166, 180, 198, 0.1);
    background: rgba(5, 13, 23, 0.22);
}

.screen-side-logo {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    margin-bottom: 3px;
    color: var(--accent);
    border: 1px solid rgba(37, 215, 169, 0.28);
    border-radius: 8px;
    font-weight: 900;
}

.screen-side-item {
    width: 100%;
    padding: 9px 3px;
    color: #63768d;
    border-radius: 7px;
    font-size: 6px;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-align: center;
}

.screen-side-item.active {
    color: var(--accent);
    background: rgba(37, 215, 169, 0.11);
}

.screen-library {
    min-width: 0;
    padding: 23px 24px 62px;
}

.screen-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
}

.screen-heading-row > div {
    display: grid;
    gap: 4px;
}

.screen-heading-row small {
    color: var(--accent);
    font-size: 6px;
    font-weight: 850;
    letter-spacing: 0.15em;
}

.screen-heading-row strong {
    font-size: 19px;
}

.screen-search {
    min-width: 118px;
    padding: 9px 12px;
    color: #687b92;
    border: 1px solid #2b4561;
    border-radius: 8px;
    font-size: 7px;
}

.screen-groups {
    display: flex;
    gap: 7px;
    margin: 17px 0 13px;
}

.screen-groups span {
    padding: 6px 9px;
    color: #72849a;
    border: 1px solid #293f58;
    border-radius: 7px;
    font-size: 6px;
    font-weight: 750;
}

.screen-groups .active {
    color: #dffbf3;
    border-color: rgba(37, 215, 169, 0.48);
    background: rgba(37, 215, 169, 0.08);
}

.screen-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

.screen-card {
    position: relative;
    min-width: 0;
    min-height: 70px;
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: center;
    gap: 9px;
    padding: 9px;
    border: 1px solid #253e5b;
    border-radius: 11px;
    background: rgba(17, 37, 61, 0.76);
}

.screen-card.featured {
    border-color: rgba(37, 215, 169, 0.48);
    background: linear-gradient(135deg, rgba(37, 215, 169, 0.12), rgba(17, 37, 61, 0.84));
}

.screen-card > em {
    position: absolute;
    top: 7px;
    right: 7px;
    color: var(--accent);
    font-size: 5px;
    font-style: normal;
    font-weight: 900;
}

.screen-card > div {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.screen-card b {
    overflow: hidden;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.screen-card small {
    overflow: hidden;
    color: #708299;
    font-size: 6px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.channel-avatar {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #d9fff6;
    border-radius: 10px;
    background: linear-gradient(145deg, #0b6959, #174337);
    font-size: 8px;
    font-weight: 900;
}

.channel-avatar.alt {
    color: #e2e9ff;
    background: linear-gradient(145deg, #3f4a85, #252d57);
}

.channel-avatar.warm {
    color: #fff1dd;
    background: linear-gradient(145deg, #7b4b32, #452c21);
}

.channel-avatar.blue {
    color: #e0f3ff;
    background: linear-gradient(145deg, #2a5f87, #1e3c5c);
}

.screen-now-playing {
    position: absolute;
    z-index: 2;
    right: 23px;
    bottom: 18px;
    left: 104px;
    display: grid;
    grid-template-columns: 32px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    border: 1px solid rgba(37, 215, 169, 0.24);
    border-radius: 11px;
    background: rgba(5, 15, 25, 0.86);
    box-shadow: 0 13px 35px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(12px);
}

.playing-bars {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: 9px;
    background: rgba(37, 215, 169, 0.11);
}

.playing-bars i {
    width: 2px;
    height: 11px;
    border-radius: 2px;
    background: var(--accent);
}

.playing-bars i:nth-child(2) {
    height: 17px;
}

.playing-bars i:nth-child(3) {
    height: 8px;
}

.screen-now-playing > div {
    display: grid;
    gap: 2px;
}

.screen-now-playing small {
    color: #6e8198;
    font-size: 5px;
    font-weight: 850;
    letter-spacing: 0.13em;
}

.screen-now-playing strong {
    font-size: 8px;
}

.playing-status {
    color: var(--accent);
    font-size: 5px;
    font-weight: 850;
    letter-spacing: 0.08em;
}

.product-caption {
    margin: 17px 0 0;
    color: #65788f;
    font-size: 10px;
    letter-spacing: 0.03em;
    text-align: center;
}

.home-proof {
    width: min(var(--landing-width), calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(166, 180, 198, 0.14);
    border-bottom: 1px solid rgba(166, 180, 198, 0.14);
}

.home-proof article {
    min-height: 126px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 26px clamp(20px, 3.2vw, 45px);
}

.home-proof article + article {
    border-left: 1px solid rgba(166, 180, 198, 0.14);
}

.home-proof strong {
    color: var(--text);
    font-size: clamp(23px, 2.2vw, 31px);
    letter-spacing: -0.035em;
}

.home-proof span {
    margin-top: 6px;
    color: #71849a;
    font-size: 11px;
}

.home-section {
    width: min(var(--landing-width), calc(100% - 48px));
    margin: 0 auto;
    padding: 142px 0;
}

.home-section-heading {
    max-width: 710px;
    margin-bottom: 58px;
}

.home-section-heading.compact {
    max-width: 500px;
    margin: 0;
}

.home-section-heading h2,
.home-security h2,
.home-price h2,
.home-final-cta h2 {
    margin: 0;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.03;
    letter-spacing: -0.055em;
}

.home-section-heading > p:last-child,
.security-copy > p:not(.eyebrow),
.price-copy > p:not(.eyebrow),
.home-final-cta > div > p:not(.eyebrow) {
    max-width: 640px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.feature-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.bento-card {
    grid-column: span 3;
    min-height: 255px;
    padding: 29px;
    overflow: hidden;
    border: 1px solid rgba(74, 105, 137, 0.52);
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(17, 37, 61, 0.9), rgba(10, 24, 40, 0.84));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.bento-card:hover {
    border-color: rgba(79, 126, 169, 0.78);
    transform: translateY(-2px);
}

.bento-library {
    grid-column: span 7;
    min-height: 405px;
    background:
        radial-gradient(circle at 91% 8%, rgba(37, 215, 169, 0.15), transparent 23rem),
        linear-gradient(145deg, rgba(17, 42, 67, 0.96), rgba(9, 23, 39, 0.9));
}

.bento-remote {
    grid-column: span 5;
    min-height: 405px;
    background:
        radial-gradient(circle at 85% 80%, rgba(65, 117, 198, 0.18), transparent 22rem),
        linear-gradient(145deg, rgba(17, 37, 61, 0.94), rgba(9, 23, 39, 0.9));
}

.bento-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    margin-bottom: 25px;
    color: var(--accent);
    border: 1px solid rgba(37, 215, 169, 0.28);
    border-radius: 12px;
    background: rgba(37, 215, 169, 0.07);
    font-size: 19px;
}

.bento-label {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.17em;
}

.bento-card h3 {
    max-width: 550px;
    margin: 0;
    font-size: clamp(21px, 2.3vw, 33px);
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.bento-card:not(.bento-library):not(.bento-remote) h3 {
    font-size: 21px;
}

.bento-card > p:last-of-type {
    max-width: 590px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.library-tabs {
    display: flex;
    gap: 9px;
    margin-top: 42px;
}

.library-tabs span {
    min-width: 92px;
    padding: 13px 16px;
    color: #8092a7;
    border: 1px solid #294561;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 750;
    text-align: center;
}

.library-tabs .active {
    color: #e1fff7;
    border-color: rgba(37, 215, 169, 0.48);
    background: rgba(37, 215, 169, 0.1);
}

.remote-pad {
    width: 164px;
    height: 164px;
    margin: 22px 0 -79px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    place-items: center;
    padding: 14px;
    border: 1px solid #35536e;
    border-radius: 50%;
    background: linear-gradient(145deg, #162b43, #0b1929);
    box-shadow: 0 23px 50px rgba(0, 0, 0, 0.25);
    transform: rotate(-8deg);
}

.remote-pad span {
    color: #8294aa;
    font-size: 15px;
}

.remote-pad span:first-child {
    grid-column: 2;
}

.remote-pad span:nth-child(2) {
    grid-row: 2;
    grid-column: 1;
}

.remote-pad .ok {
    width: 48px;
    height: 48px;
    display: grid;
    grid-row: 2;
    grid-column: 2;
    place-items: center;
    color: var(--accent-ink);
    border-radius: 50%;
    background: var(--accent);
    font-size: 10px;
    font-weight: 900;
}

.remote-pad span:nth-child(4) {
    grid-row: 2;
    grid-column: 3;
}

.remote-pad span:last-child {
    grid-row: 3;
    grid-column: 2;
}

.home-steps {
    display: grid;
    grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(70px, 10vw, 140px);
    border-top: 1px solid rgba(166, 180, 198, 0.13);
}

.home-step-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-step-list li {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 22px;
    padding: 0 0 32px;
}

.home-step-list li + li {
    padding-top: 32px;
    border-top: 1px solid rgba(166, 180, 198, 0.13);
}

.home-step-number {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--accent);
    border: 1px solid rgba(37, 215, 169, 0.34);
    border-radius: 14px;
    background: rgba(37, 215, 169, 0.06);
    font-size: 11px;
    font-weight: 900;
}

.home-step-list h3 {
    margin: 1px 0 8px;
    font-size: 21px;
}

.home-step-list p {
    max-width: 580px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.72;
}

.home-security {
    width: min(var(--landing-width), calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
    align-items: center;
    gap: clamp(60px, 8vw, 110px);
    padding: clamp(52px, 7vw, 88px);
    border: 1px solid rgba(37, 215, 169, 0.2);
    border-radius: 30px;
    background:
        radial-gradient(circle at 94% 8%, rgba(37, 215, 169, 0.12), transparent 28rem),
        linear-gradient(145deg, rgba(16, 35, 58, 0.95), rgba(8, 22, 37, 0.96));
}

.security-list {
    display: grid;
    gap: 0;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.security-list li {
    display: grid;
    grid-template-columns: 35px 1fr;
    gap: 15px;
    padding: 20px 0;
    border-top: 1px solid rgba(166, 180, 198, 0.12);
}

.security-list li > span {
    color: var(--accent);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.08em;
}

.security-list b {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.security-list p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.security-visual {
    min-height: 450px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    padding: clamp(25px, 4vw, 46px);
    border: 1px solid rgba(75, 107, 139, 0.42);
    border-radius: 24px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        rgba(5, 16, 28, 0.5);
    background-size: 28px 28px;
}

.security-node {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 22px 24px;
    border: 1px solid #2e4a65;
    border-radius: 15px;
    background: rgba(15, 33, 54, 0.92);
}

.security-node span {
    color: #76899f;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.16em;
}

.security-node strong {
    font-size: 14px;
}

.security-node.accent-node {
    border-color: rgba(37, 215, 169, 0.42);
    background: rgba(19, 69, 60, 0.46);
}

.security-node.accent-node strong {
    color: #d9fff5;
}

.security-connector {
    height: 65px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 11px;
    padding: 0 28px;
}

.security-connector span {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(37, 215, 169, 0.48));
}

.security-connector span:last-child {
    background: linear-gradient(to right, rgba(37, 215, 169, 0.48), transparent);
}

.security-connector b {
    color: var(--accent);
    font-size: 8px;
    letter-spacing: 0.14em;
}

.home-price {
    width: min(1100px, calc(100% - 48px));
    margin: 140px auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: center;
    gap: clamp(55px, 10vw, 125px);
}

.price-copy > ul {
    display: grid;
    gap: 12px;
    margin: 30px 0 0;
    padding: 0;
    color: #bcc9d8;
    font-size: 13px;
    list-style: none;
}

.price-copy > ul li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-copy > ul li::before {
    color: var(--accent);
    content: "✓";
}

.price-panel {
    padding: 42px;
    border: 1px solid rgba(37, 215, 169, 0.3);
    border-radius: 27px;
    background:
        radial-gradient(circle at 80% 0%, rgba(37, 215, 169, 0.17), transparent 16rem),
        var(--panel);
    box-shadow: 0 30px 75px rgba(0, 0, 0, 0.24);
}

.price-panel > p {
    margin: 0;
    color: var(--accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.price-value {
    margin-top: 22px;
    font-size: clamp(50px, 6vw, 72px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.06em;
}

.price-panel > span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

.price-panel .primary-button {
    width: 100%;
    gap: 22px;
    margin-top: 32px;
}

.price-panel > small {
    display: block;
    margin-top: 14px;
    color: #74869d;
    font-size: 10px;
    text-align: center;
}

.home-faq {
    display: grid;
    grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
    align-items: start;
    gap: clamp(70px, 10vw, 140px);
    border-top: 1px solid rgba(166, 180, 198, 0.13);
}

.home-faq .home-section-heading {
    position: sticky;
    top: 45px;
}

.faq-list {
    border-top: 1px solid rgba(166, 180, 198, 0.16);
}

.faq-list details {
    border-bottom: 1px solid rgba(166, 180, 198, 0.16);
}

.faq-list summary {
    display: grid;
    grid-template-columns: 1fr 24px;
    align-items: center;
    gap: 20px;
    padding: 24px 2px;
    cursor: pointer;
    list-style: none;
}

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

.faq-list summary > span {
    font-size: 16px;
    font-weight: 750;
    line-height: 1.4;
}

.faq-list summary i {
    position: relative;
    width: 23px;
    height: 23px;
    border: 1px solid #35506c;
    border-radius: 50%;
}

.faq-list summary i::before,
.faq-list summary i::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 1px;
    background: var(--accent);
    transform: translate(-50%, -50%);
    content: "";
}

.faq-list summary i::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform 160ms ease;
}

.faq-list details[open] summary {
    color: #e6fff9;
}

.faq-list details[open] summary i {
    border-color: rgba(37, 215, 169, 0.46);
}

.faq-list details[open] summary i::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-list details > p {
    max-width: 720px;
    margin: -5px 44px 24px 2px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.home-final-cta {
    width: min(var(--landing-width), calc(100% - 48px));
    margin: 0 auto 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 55px;
    padding: clamp(42px, 7vw, 78px);
    border: 1px solid rgba(37, 215, 169, 0.25);
    border-radius: 30px;
    background:
        radial-gradient(circle at 92% 15%, rgba(37, 215, 169, 0.16), transparent 26rem),
        linear-gradient(145deg, #112842, #0a192a);
}

.home-final-cta h2 {
    max-width: 700px;
    font-size: clamp(36px, 4.5vw, 58px);
}

.home-final-actions {
    min-width: 235px;
    display: grid;
    gap: 11px;
}

.home-final-actions .primary-button {
    gap: 20px;
}

.landing-footer {
    width: min(var(--landing-width), calc(100% - 48px));
    min-height: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 80px;
    padding: 64px 0 32px;
    border-top: 1px solid rgba(166, 180, 198, 0.15);
}

.footer-brand-block {
    max-width: 430px;
}

.footer-brand-block > p {
    margin-top: 18px;
    color: #788ba1;
    font-size: 12px;
    line-height: 1.7;
    text-align: left;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: clamp(45px, 7vw, 90px);
}

.footer-links > div {
    display: grid;
    align-content: start;
    gap: 11px;
}

.footer-links b {
    margin-bottom: 5px;
    color: #71849a;
    font-size: 9px;
    letter-spacing: 0.17em;
}

.footer-links a {
    color: #b4c2d2;
    font-size: 12px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent);
}

.landing-footer .footer-bottom {
    grid-column: 1 / -1;
    margin: 28px 0 0;
    padding-top: 24px;
    color: #5f7289;
    border-top: 1px solid rgba(166, 180, 198, 0.1);
    font-size: 10px;
    text-align: left;
}

@media (max-width: 1050px) {
    .home-hero {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 54px;
        padding-top: 82px;
    }

    .home-hero-copy {
        max-width: 760px;
    }

    .product-stage {
        width: min(790px, 100%);
        margin: 0 auto;
    }

    .bento-card {
        grid-column: span 6;
    }

    .bento-library,
    .bento-remote {
        grid-column: span 6;
    }

    .home-security {
        grid-template-columns: 1fr;
    }

    .security-copy {
        max-width: 720px;
    }

    .home-price {
        grid-template-columns: minmax(0, 1fr) 350px;
        gap: 58px;
    }
}

@media (max-width: 820px) {
    .landing-header,
    .home-hero,
    .home-proof,
    .home-section,
    .home-security,
    .home-final-cta,
    .landing-footer {
        width: min(100% - 34px, var(--landing-width));
    }

    .landing-header .home-nav-link {
        display: none;
    }

    .home-hero {
        padding: 62px 0 82px;
    }

    .product-screen {
        transform: none;
    }

    .home-proof {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-proof article:nth-child(3) {
        border-top: 1px solid rgba(166, 180, 198, 0.14);
        border-left: 0;
    }

    .home-proof article:nth-child(4) {
        border-top: 1px solid rgba(166, 180, 198, 0.14);
    }

    .home-section {
        padding: 105px 0;
    }

    .home-steps,
    .home-faq {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .home-faq .home-section-heading {
        position: static;
    }

    .home-price {
        width: min(100% - 34px, 720px);
        grid-template-columns: 1fr;
        gap: 48px;
        margin: 105px auto;
    }

    .price-panel {
        max-width: 470px;
    }

    .home-final-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-final-actions {
        width: 100%;
        grid-template-columns: 1fr 1fr;
    }

    .landing-footer {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .landing-footer .footer-bottom {
        grid-column: 1;
    }
}

@media (max-width: 640px) {
    .landing-header {
        min-height: 76px;
    }

    .landing-header .brand {
        font-size: 12px;
    }

    .landing-header .home-nav {
        gap: 8px;
    }

    .landing-header .home-mylist,
    .landing-header .nav-cta {
        display: inline-flex;
        padding: 9px 12px;
        font-size: 11px;
    }

    .landing-header .home-mylist {
        color: var(--muted);
    }

    .home-kicker {
        font-size: 9px;
        line-height: 1.5;
    }

    .home-hero h1 {
        font-size: clamp(44px, 13.5vw, 62px);
    }

    .home-hero-lead {
        font-size: 16px;
    }

    .home-hero-actions > a {
        width: 100%;
    }

    .home-trust-list {
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;
    }

    .product-stage {
        width: calc(100% + 10px);
        margin-left: -5px;
    }

    .product-screen {
        aspect-ratio: 1.13;
        border-radius: 18px;
    }

    .screen-toolbar {
        height: 52px;
        padding: 0 14px;
    }

    .screen-layout {
        height: calc(100% - 52px);
        grid-template-columns: 54px 1fr;
    }

    .screen-sidebar {
        padding: 12px 6px;
    }

    .screen-side-logo {
        width: 25px;
        height: 25px;
    }

    .screen-side-item {
        padding: 7px 1px;
        font-size: 5px;
    }

    .screen-library {
        padding: 16px 12px 58px;
    }

    .screen-search {
        display: none;
    }

    .screen-heading-row strong {
        font-size: 16px;
    }

    .screen-groups {
        overflow: hidden;
        margin: 12px 0 10px;
    }

    .screen-groups span {
        white-space: nowrap;
    }

    .screen-cards {
        gap: 7px;
    }

    .screen-card {
        min-height: 61px;
        grid-template-columns: 29px 1fr;
        gap: 7px;
        padding: 7px;
    }

    .channel-avatar {
        width: 29px;
        height: 29px;
        border-radius: 8px;
        font-size: 6px;
    }

    .screen-now-playing {
        right: 11px;
        bottom: 10px;
        left: 65px;
        grid-template-columns: 27px 1fr;
        padding: 8px;
    }

    .playing-bars {
        width: 27px;
        height: 27px;
    }

    .playing-status {
        display: none;
    }

    .product-caption {
        font-size: 9px;
    }

    .home-proof article {
        min-height: 105px;
        padding: 20px 17px;
    }

    .home-proof strong {
        font-size: 21px;
    }

    .home-proof span {
        font-size: 10px;
    }

    .home-section-heading {
        margin-bottom: 40px;
    }

    .home-section-heading h2,
    .home-security h2,
    .home-price h2,
    .home-final-cta h2 {
        font-size: clamp(37px, 11vw, 50px);
    }

    .feature-bento {
        grid-template-columns: 1fr;
    }

    .bento-card,
    .bento-library,
    .bento-remote {
        grid-column: 1;
        min-height: 0;
        padding: 25px 22px;
    }

    .bento-library,
    .bento-remote {
        min-height: 360px;
    }

    .bento-card h3,
    .bento-card:not(.bento-library):not(.bento-remote) h3 {
        font-size: 23px;
    }

    .library-tabs {
        gap: 6px;
        margin-top: 32px;
    }

    .library-tabs span {
        min-width: 0;
        flex: 1;
        padding: 11px 8px;
        font-size: 8px;
    }

    .remote-pad {
        margin-top: 28px;
    }

    .home-step-list li {
        grid-template-columns: 47px 1fr;
        gap: 15px;
    }

    .home-step-number {
        width: 41px;
        height: 41px;
        border-radius: 12px;
    }

    .home-security {
        gap: 42px;
        padding: 34px 22px;
        border-radius: 23px;
    }

    .security-visual {
        min-height: 380px;
        padding: 18px 14px;
    }

    .security-node {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
        padding: 18px;
    }

    .security-connector {
        padding: 0 10px;
    }

    .price-panel {
        padding: 34px 25px;
    }

    .faq-list summary {
        padding: 21px 0;
    }

    .faq-list summary > span {
        font-size: 15px;
    }

    .faq-list details > p {
        margin-right: 18px;
        margin-left: 0;
    }

    .home-final-cta {
        margin-bottom: 76px;
        padding: 38px 24px;
        border-radius: 23px;
    }

    .home-final-actions {
        grid-template-columns: 1fr;
    }

    .footer-links {
        width: 100%;
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (max-width: 430px) {
    .landing-header .home-mylist {
        display: none;
    }

    .home-proof {
        grid-template-columns: 1fr;
    }

    .home-proof article + article,
    .home-proof article:nth-child(3) {
        border-top: 1px solid rgba(166, 180, 198, 0.14);
        border-left: 0;
    }

    .screen-cards {
        grid-template-columns: 1fr;
    }

    .screen-card:nth-child(n + 3) {
        display: none;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}
