:root {
    color-scheme: dark;
    --bg: #090b0b;
    --bg-raised: #0f1212;
    --iron: #171a19;
    --iron-light: #222725;
    --stone: #191b1a;
    --wood: #241913;
    --leather: #2a1c14;
    --ink: #f1ede2;
    --ink-soft: #c7c0b0;
    --muted: #99978e;
    --bronze: #a77a3d;
    --gold: #d2a65d;
    --ember: #f47b2a;
    --ember-light: #ff9a53;
    --teal: #62c8bf;
    --green: #68b77b;
    --amber: #d79a46;
    --danger: #d96b5f;
    --line: rgba(201, 158, 88, .22);
    --line-strong: rgba(215, 170, 92, .42);
    --shadow: 0 22px 54px rgba(0, 0, 0, .38);
    --display: "Copperplate Gothic", "Palatino Linotype", Georgia, serif;
    --body: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-family: var(--body);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 80% 5%, rgba(98, 200, 191, .06), transparent 24rem),
        radial-gradient(circle at 15% 18%, rgba(244, 123, 42, .055), transparent 28rem),
        linear-gradient(180deg, #0a0c0c, var(--bg));
    color: var(--ink);
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: url("/images/viking/iron-knotwork-texture.webp") center / 560px repeat;
    opacity: .035;
    filter: grayscale(.4) contrast(1.1);
    pointer-events: none;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
button, input { font: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 40px)); }
.muted { color: var(--muted); }

h1, h2, h3, .brand__wordmark, .section-label, .subscription-status, .membership-shield figcaption {
    font-family: var(--display);
}
h1, h2, h3 { color: var(--ink); }
h1 { margin: 0; font-size: clamp(2.45rem, 6vw, 4.8rem); line-height: .98; letter-spacing: -.045em; }
h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.1; letter-spacing: -.025em; }
p { line-height: 1.65; }
.section-label {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .18em;
}
.lede { max-width: 680px; margin: 18px 0 22px; color: var(--ink-soft); font-size: 1.06rem; }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(9, 11, 11, .92); backdrop-filter: blur(14px); }
.site-header__bar { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand__emblem { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(244, 123, 42, .22)); }
.brand__wordmark { font-size: 1.13rem; font-weight: 800; letter-spacing: .025em; }
.site-header nav { display: flex; align-items: center; gap: 8px; }
.site-header nav a { position: relative; padding: 10px 12px; color: var(--ink-soft); font-size: .86rem; font-weight: 680; text-decoration: none; }
.site-header nav a:hover, .site-header nav a.is-active { color: white; }
.site-header nav a.is-active::after {
    content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--ember), transparent);
    box-shadow: 0 0 9px rgba(244, 123, 42, .6);
}
.site-header .nav-account { display: inline-flex; align-items: center; gap: 8px; margin-left: 5px; border: 1px solid var(--line-strong); background: rgba(167, 122, 61, .08); }
.nav-status { width: 7px; height: 7px; border-radius: 50%; background: #696b66; box-shadow: 0 0 0 3px rgba(105, 107, 102, .12); }
.nav-status--online { background: var(--green); box-shadow: 0 0 0 3px rgba(104, 183, 123, .12), 0 0 10px rgba(104, 183, 123, .45); }
.header-ornament { position: absolute; left: 50%; bottom: -9px; width: min(620px, 65vw); height: 32px; object-fit: cover; object-position: center 49%; opacity: .22; transform: translateX(-50%); pointer-events: none; }

.actions, .account-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button {
    position: relative;
    isolation: isolate;
    appearance: none;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    overflow: hidden;
    padding: 0 19px;
    border: 1px solid var(--line-strong);
    background: linear-gradient(180deg, #202422, #151817);
    color: var(--ink);
    font-weight: 760;
    font-size: .87rem;
    text-decoration: none;
    cursor: pointer;
    box-shadow: inset 0 1px rgba(255,255,255,.045);
}
.button::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(105deg, transparent 28%, rgba(255,255,255,.15) 46%, transparent 62%); transform: translateX(-125%); }
.button:hover::after { transform: translateX(125%); }
.button--primary { border-color: #c56b2f; background: linear-gradient(180deg, #ff8d42, var(--ember)); color: #1a0e07; box-shadow: inset 0 1px rgba(255,255,255,.35), 0 9px 25px rgba(244,123,42,.16); }
.button--secondary { border-color: rgba(98, 200, 191, .42); background: linear-gradient(180deg, rgba(98,200,191,.14), rgba(26,42,40,.55)); }
.button--ghost { background: rgba(17, 20, 19, .64); color: var(--ink-soft); }
.button--full { width: 100%; }
.button--with-image img { width: 30px; height: 30px; object-fit: contain; margin: -6px 0; }
.button:disabled { opacity: .48; cursor: not-allowed; }
.button:focus-visible, .text-danger:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* Compatibility for operational and legal pages that predate the Viking component modifiers. */
.eyebrow { margin: 0 0 12px; color: var(--gold); font-family: var(--display); font-size: .72rem; font-weight: 800; letter-spacing: .18em; }
.button.primary { border-color: #c56b2f; background: linear-gradient(180deg, #ff8d42, var(--ember)); color: #1a0e07; box-shadow: inset 0 1px rgba(255,255,255,.35), 0 9px 25px rgba(244,123,42,.16); }
.button.secondary { border-color: rgba(98, 200, 191, .42); background: linear-gradient(180deg, rgba(98,200,191,.14), rgba(26,42,40,.55)); }
.button.ghost { background: rgba(17, 20, 19, .64); color: var(--ink-soft); }

.home-intro { display: grid; grid-template-columns: 116px 1fr; align-items: center; gap: 24px; padding-block: 52px 34px; border-bottom: 1px solid var(--line); }
.home-intro__emblem { width: 110px; height: 110px; object-fit: contain; filter: drop-shadow(0 0 24px rgba(244,123,42,.2)); }
.home-intro h1 { font-size: clamp(2.7rem, 6vw, 4.45rem); }
.platform-note { margin: 15px 0 0; color: var(--muted); font-size: .78rem; }
.product-proof { padding-block: 40px 58px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 24px; }
.section-heading > div { max-width: 730px; }
.section-heading > p { max-width: 350px; margin: 0; color: var(--muted); font-size: .86rem; text-align: right; }
.section-heading--compact { align-items: start; }

.screenshot-frame { position: relative; aspect-ratio: 16 / 9; margin: 0; filter: drop-shadow(var(--shadow)); }
.screenshot-frame__capture { position: absolute; inset: 3.5% 3.2%; width: 93.6%; height: 93%; object-fit: cover; background: #111; }
.screenshot-frame__metal { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; }
.screenshot-frame::after { content: ""; position: absolute; inset: 3.5%; border: 1px solid rgba(244,123,42,.12); pointer-events: none; }

.rune-divider { width: min(760px, calc(100% - 56px)); height: 46px; margin: 0 auto; overflow: hidden; opacity: .42; }
.rune-divider img { width: 100%; height: 160px; object-fit: cover; object-position: center 50%; transform: translateY(-57px); }
.feature-section { padding-block: 58px 76px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.forged-card {
    position: relative;
    border: 1px solid var(--line);
    background:
        linear-gradient(135deg, rgba(255,255,255,.025), transparent 30%),
        linear-gradient(160deg, rgba(31,35,33,.96), rgba(17,20,19,.98));
    box-shadow: inset 0 1px rgba(255,255,255,.035), var(--shadow);
}
.forged-card::before, .forged-card::after { content: ""; position: absolute; width: 13px; height: 13px; border-color: rgba(210,166,93,.42); pointer-events: none; }
.forged-card::before { left: 7px; top: 7px; border-left: 1px solid; border-top: 1px solid; }
.forged-card::after { right: 7px; bottom: 7px; border-right: 1px solid; border-bottom: 1px solid; }
.feature-grid .forged-card { min-height: 190px; padding: 25px; }
.feature-grid .forged-card h2 { font-size: 1.18rem; }
.feature-grid .forged-card p:last-child { margin: 16px 0 0; color: var(--muted); font-size: .9rem; }
.compact-cta { margin-bottom: 76px; padding: 28px 32px; display: flex; justify-content: space-between; align-items: center; gap: 28px; border: 1px solid var(--line); background: linear-gradient(90deg, rgba(42,28,20,.72), rgba(19,23,22,.9)); }
.compact-cta h2 { font-size: 1.5rem; }

.page-header { padding-block: 68px 30px; }
.page-header h1 { font-size: clamp(2.45rem, 6vw, 4.3rem); }
.pricing-layout, .download-layout { padding-bottom: 86px; }
.price-card { padding: 32px; }
.price-card__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.price-card__image { width: 150px; height: 150px; object-fit: contain; filter: drop-shadow(0 0 20px rgba(210,166,93,.14)); }
.price { margin: 7px 0 0; font-size: clamp(3.2rem, 9vw, 5.6rem); font-weight: 850; line-height: 1; letter-spacing: -.07em; }
.price > span { margin-right: 5px; font-size: 1.45rem; vertical-align: top; color: var(--gold); }
.price small { margin-left: 8px; color: var(--muted); font-size: .9rem; letter-spacing: 0; }
.benefit-list { list-style: none; margin: 25px 0; padding: 0; border-top: 1px solid var(--line); }
.benefit-list li { position: relative; display: grid; grid-template-columns: 180px 1fr; gap: 14px; padding: 14px 0 14px 24px; border-bottom: 1px solid var(--line); }
.benefit-list li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 7px; height: 7px; transform: rotate(45deg); background: var(--teal); box-shadow: 0 0 8px rgba(98,200,191,.4); }
.benefit-list span { color: var(--muted); font-size: .88rem; }
.price-card > small { display: block; margin-top: 13px; color: var(--muted); text-align: center; }
.download-card { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 26px; padding: 32px; }
.download-card__image { width: 170px; height: 170px; object-fit: contain; filter: drop-shadow(0 0 24px rgba(244,123,42,.18)); }
.download-card p:not(.section-label) { color: var(--muted); }
.requirements { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; padding: 18px 4px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }

.account-dashboard { padding-block: 42px 18px; }
.account-heading { display: flex; align-items: start; justify-content: space-between; gap: 26px; margin-bottom: 22px; }
.account-heading h1 { font-size: clamp(2.25rem, 5vw, 3.85rem); }
.account-subtitle { margin: 10px 0 0; color: var(--muted); }
.activation-panel { position: relative; display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 18px; min-height: 92px; margin-bottom: 16px; padding: 10px 24px 10px 12px; overflow: hidden; border: 1px solid rgba(104,183,123,.55); background: linear-gradient(90deg, rgba(48,83,56,.3), rgba(30,39,32,.82)); }
.activation-panel strong, .activation-panel span { display: block; }
.activation-panel strong { color: #d9f0db; font-family: var(--display); font-size: 1.08rem; }
.activation-panel span { margin-top: 4px; color: #a8c8ad; font-size: .86rem; }
.activation-panel--pending { border-color: rgba(98,200,191,.46); background: linear-gradient(90deg, rgba(34,72,69,.28), rgba(21,34,33,.82)); }
.activation-sparks { position: absolute; right: 8%; top: 50%; width: 3px; height: 3px; border-radius: 50%; color: var(--ember); }
.account-notice { margin-bottom: 16px; padding: 13px 17px; border: 1px solid rgba(98,200,191,.42); background: rgba(98,200,191,.08); color: #bde8e3; }
.language-settings { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 24px 28px; }
.language-settings > p:not(.section-label) { margin: 8px 0 16px; color: var(--muted); }
.language-form { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; }
.language-form label { display: grid; gap: 6px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.language-form select { min-width: 190px; min-height: 46px; border: 1px solid var(--line-strong); background: #101313; color: var(--ink); padding: 0 12px; }
.membership-panel { display: grid; grid-template-columns: 270px minmax(0, 1fr); min-height: 430px; overflow: hidden; }
.membership-panel__shield { display: grid; place-items: center; padding: 22px; border-right: 1px solid var(--line); background: radial-gradient(circle, rgba(167,122,61,.14), transparent 64%), linear-gradient(180deg, rgba(42,28,20,.36), transparent); }
.membership-shield { position: relative; width: 225px; aspect-ratio: 1; margin: 0; display: grid; place-items: center; }
.membership-shield img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.membership-shield figcaption { position: relative; z-index: 1; max-width: 126px; color: var(--ink); font-size: .83rem; font-weight: 900; letter-spacing: .1em; text-align: center; text-shadow: 0 2px 8px #000; }
.membership-shield--active img { filter: drop-shadow(0 0 16px rgba(104,183,123,.3)) drop-shadow(0 0 20px rgba(210,166,93,.18)); }
.membership-shield--trial img { filter: drop-shadow(0 0 16px rgba(98,200,191,.3)); }
.membership-shield--payment img { filter: grayscale(.14) sepia(.12) drop-shadow(0 0 14px rgba(215,154,70,.2)); }
.membership-shield--inactive img { filter: grayscale(.84) brightness(.68); }
.membership-shield--compact { width: 68px; }
.membership-shield--compact figcaption { font-size: .58rem; }
.membership-panel__content { min-width: 0; padding: 28px; }
.membership-panel__status { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 21px; }
.membership-panel__status > p { max-width: 330px; margin: 0; color: var(--muted); font-size: .84rem; text-align: right; }
.subscription-status { display: block; color: var(--gold); font-size: 1.33rem; font-weight: 900; letter-spacing: .06em; }
.subscription-status--active { color: #8fd09b; text-shadow: 0 0 16px rgba(104,183,123,.22); }
.subscription-status--trial { color: #86d8d1; }
.subscription-status--payment { color: #e1a45b; }
.subscription-status--inactive { color: #8f918c; }
.membership-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border: 1px solid var(--line); }
.membership-facts > div { min-width: 0; padding: 13px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.membership-facts dt, .device-facts dt { margin-bottom: 5px; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.membership-facts dd, .device-facts dd { margin: 0; overflow-wrap: anywhere; color: var(--ink); font-size: .88rem; font-weight: 680; }
.membership-billing { display: flex; align-items: center; gap: 13px; margin-top: 14px; padding: 11px 14px; border: 1px solid rgba(167,122,61,.22); background: rgba(42,28,20,.28); }
.membership-billing__icon { width: 48px; height: 48px; object-fit: contain; opacity: .72; }
.membership-billing strong, .membership-billing span { display: block; }
.membership-billing strong { font-size: .84rem; }
.membership-billing span { margin-top: 3px; color: var(--muted); font-size: .76rem; }
.account-actions { margin-top: 16px; }
.account-actions form { display: contents; }
.account-sections { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: 16px; padding-block: 22px 90px; }
.lease-card, .devices-panel { padding: 25px; }
.lease-card { overflow: hidden; }
.lease-card h2 { position: relative; max-width: 250px; font-size: 1.45rem; }
.lease-card__rune { float: right; width: 100px; height: 100px; margin: -48px -5px 5px 12px; object-fit: contain; opacity: .62; filter: grayscale(.45); }
.lease-card--active .lease-card__rune { opacity: .95; filter: drop-shadow(0 0 13px rgba(98,200,191,.34)); }
.lease-card__state { display: flex; align-items: center; gap: 10px; margin: 18px 0 10px; color: var(--muted); font-size: .8rem; }
.lease-card p { color: var(--ink-soft); font-size: .88rem; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border: 1px solid var(--line); background: rgba(255,255,255,.025); color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.status-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-badge--active { border-color: rgba(104,183,123,.35); color: #83cb91; }
.status-badge--idle { color: #a9a9a2; }
.status-badge--inactive { color: #8a8d89; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.panel-heading__title { display: flex; align-items: center; gap: 13px; }
.panel-heading__icon { width: 55px; height: 55px; object-fit: contain; }
.panel-heading h2 { font-size: 1.42rem; }
.count-pill { display: grid; place-items: center; min-width: 36px; height: 30px; border: 1px solid var(--line-strong); color: var(--gold); font-family: var(--display); font-weight: 900; }
.device-cards { display: grid; gap: 10px; }
.device-card { position: relative; padding: 17px; border: 1px solid rgba(255,255,255,.07); background: rgba(10,12,12,.36); }
.device-card::before { content: ""; position: absolute; inset: 5px auto auto 5px; width: 9px; height: 9px; border-left: 1px solid var(--bronze); border-top: 1px solid var(--bronze); opacity: .65; }
.device-card--current { border-color: rgba(104,183,123,.35); box-shadow: inset 3px 0 rgba(104,183,123,.48); }
.device-card__heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.device-card__heading strong { margin-right: 8px; }
.device-card__heading form { flex: none; }
.device-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 15px 0 0; }
.text-danger { appearance: none; border: 0; background: transparent; color: #e48178; font-weight: 760; cursor: pointer; padding: 5px; }
.text-danger:hover { color: #ffaaa2; text-decoration: underline; }
.empty-device-state { min-height: 210px; display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 20px; padding: 12px; border: 1px dashed var(--line); }
.empty-device-state img { width: 180px; height: 135px; object-fit: contain; opacity: .66; }
.empty-device-state strong { font-family: var(--display); font-size: 1.05rem; }
.empty-device-state p { margin: 7px 0 0; color: var(--muted); font-size: .86rem; }

.support-grid { display: grid; gap: 12px; margin-top: 34px; }
.support-grid article { padding: 24px; border: 1px solid var(--line); background: var(--iron); }
.support-grid h2 { font-size: 1.18rem; }
.support-grid p, .legal p { color: var(--muted); }
.support-grid a, .legal a { color: var(--teal); }
.legal { min-height: 680px; padding-block: 76px; }
.legal h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); }
.legal h2 { margin-top: 36px; font-size: 1.35rem; }
.page-hero { padding-block: 68px; }
.account-hero { padding-bottom: 42px; }
.account-grid { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: 18px; }
.account-panel { padding: 26px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(31,35,33,.96), rgba(17,20,19,.98)); box-shadow: inset 0 1px rgba(255,255,255,.035), var(--shadow); }
.account-panel h2 { margin: 0 0 12px; font-size: 1.4rem; }
.account-panel p { color: var(--muted); }

.admin-search { margin-top: 30px; max-width: 720px; }
.admin-search label, .temporary-access-form label { display: block; margin-bottom: 8px; color: var(--muted); font-size: .8rem; }
.admin-search > div { display: flex; gap: 10px; }
.admin-search input, .temporary-access-form input { width: 100%; min-height: 46px; border: 1px solid var(--line); background: #101313; color: var(--ink); padding: 10px 13px; }
.admin-results, .admin-events { margin-bottom: 30px; padding: 24px; }
.admin-account { padding-bottom: 18px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.temporary-access-form { display: grid; gap: 12px; margin-top: 20px; }
.admin-events { overflow: auto; }
.admin-events table { width: 100%; border-collapse: collapse; }
.admin-events th, .admin-events td { padding: 11px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-events th { color: var(--muted); font-size: .72rem; }
.admin-events code { color: #b9fff4; white-space: pre-wrap; overflow-wrap: anywhere; }
.device-list { list-style: none; margin: 0; padding: 0; }
.device-list li { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 0; border-top: 1px solid var(--line); }
.device-list span { display: block; margin-top: 5px; color: var(--muted); font-size: .78rem; }

.site-footer { position: relative; min-height: 150px; overflow: hidden; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(10,12,12,.75), #080909); }
.footer-longship { position: absolute; left: 50%; bottom: -92px; width: min(920px, 90vw); height: 205px; object-fit: cover; object-position: center 62%; opacity: .085; filter: grayscale(.5); transform: translateX(-50%); pointer-events: none; }
.site-footer__content { position: relative; z-index: 1; min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 25px; color: #8d8b84; font-size: .8rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.site-footer a { color: #b6b1a6; text-decoration: none; }
.site-footer a:hover { color: white; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .button, .forged-card, .screenshot-frame { transition: transform 180ms cubic-bezier(.2,0,0,1), border-color 180ms ease, box-shadow 180ms ease; }
    .button::after { transition: transform 420ms cubic-bezier(.2,0,0,1); }
    .button:hover { transform: translateY(-1px); }
    .feature-grid .forged-card:hover { transform: translateY(-2px); border-color: var(--line-strong); }
    .screenshot-frame:hover { transform: translateY(-2px); filter: drop-shadow(0 24px 58px rgba(0,0,0,.46)) drop-shadow(0 0 14px rgba(244,123,42,.08)); }
    .membership-shield--active img { animation: shield-glow 3.2s ease-in-out infinite; }
    .lease-card--active .lease-card__rune { animation: rune-illuminate 2.8s ease-in-out infinite; }
    .axe-impact { animation: axe-impact 420ms cubic-bezier(.05,.7,.1,1) both; }
    .activation-sparks { animation: sparks 700ms ease-out 120ms both; }
}
@keyframes shield-glow { 0%,100% { filter: drop-shadow(0 0 12px rgba(104,183,123,.24)) drop-shadow(0 0 18px rgba(210,166,93,.13)); } 50% { filter: drop-shadow(0 0 18px rgba(104,183,123,.4)) drop-shadow(0 0 24px rgba(210,166,93,.22)); } }
@keyframes rune-illuminate { 0%,100% { filter: drop-shadow(0 0 9px rgba(98,200,191,.24)); } 50% { filter: drop-shadow(0 0 16px rgba(98,200,191,.42)); } }
@keyframes axe-impact { 0% { transform: scale(.985); opacity: .65; } 55% { transform: scale(1.006); opacity: 1; } 100% { transform: scale(1); } }
@keyframes sparks { 0% { opacity: 0; box-shadow: 0 0 var(--ember); } 35% { opacity: .9; box-shadow: -22px -16px var(--ember), 18px -20px var(--gold), 31px 6px var(--ember), -34px 8px var(--gold), 5px 21px var(--ember); } 100% { opacity: 0; box-shadow: -34px -27px transparent, 29px -31px transparent, 48px 11px transparent, -48px 15px transparent, 9px 36px transparent; } }

@media (max-width: 960px) {
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .membership-panel { grid-template-columns: 220px minmax(0, 1fr); }
    .membership-shield { width: 188px; }
    .membership-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .account-sections { grid-template-columns: 1fr; }
    .account-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .site-header__bar { padding-block: 12px; align-items: flex-start; }
    .site-header nav { justify-content: flex-end; flex-wrap: wrap; gap: 2px; }
    .site-header nav a { padding: 8px; font-size: .76rem; }
    .brand__wordmark { display: none; }
    .brand__emblem { width: 38px; height: 38px; }
    .home-intro { grid-template-columns: 74px 1fr; padding-block: 38px 28px; }
    .home-intro__emblem { width: 70px; height: 70px; }
    .home-intro .actions { grid-column: 1 / -1; }
    .section-heading { display: block; }
    .section-heading > p { margin-top: 13px; text-align: left; }
    .compact-cta, .site-footer__content { align-items: flex-start; flex-direction: column; }
    .membership-panel { grid-template-columns: 1fr; }
    .membership-panel__shield { min-height: 205px; border-right: 0; border-bottom: 1px solid var(--line); }
    .membership-shield { width: 190px; }
    .membership-panel__status { display: block; }
    .membership-panel__status > p { margin-top: 10px; text-align: left; }
    .site-footer__content { justify-content: center; }
    .site-footer nav { justify-content: flex-start; }
}
@media (max-width: 560px) {
    .shell, .narrow { width: min(100% - 24px, 1180px); }
    .site-header__bar { display: grid; grid-template-columns: auto 1fr; }
    .site-header nav { gap: 0; }
    .site-header .nav-account { margin-left: 0; }
    .home-intro { grid-template-columns: 58px 1fr; gap: 14px; }
    .home-intro__emblem { width: 56px; height: 56px; }
    .home-intro h1 { font-size: 2.65rem; }
    .home-intro .lede { grid-column: 1 / -1; }
    .actions, .account-actions { display: grid; }
    .button { width: 100%; }
    .feature-grid { grid-template-columns: 1fr; }
    .product-proof { padding-top: 30px; }
    .screenshot-frame { width: calc(100% + 12px); margin-left: -6px; }
    .price-card, .download-card, .membership-panel__content, .lease-card, .devices-panel { padding: 20px; }
    .price-card__image { width: 100px; height: 100px; }
    .benefit-list li { grid-template-columns: 1fr; gap: 4px; }
    .download-card { grid-template-columns: 1fr; text-align: center; }
    .download-card__image { margin: auto; }
    .requirements { display: grid; }
    .account-heading { display: block; }
    .account-heading form { margin-top: 14px; }
    .language-settings { width: min(100% - 24px, 1180px); }
    .activation-panel { grid-template-columns: 58px 1fr; padding-right: 14px; }
    .membership-facts, .device-facts { grid-template-columns: 1fr; }
    .membership-billing { align-items: flex-start; }
    .panel-heading__icon { width: 44px; height: 44px; }
    .device-card__heading { display: block; }
    .device-card__heading form { margin-top: 8px; }
    .empty-device-state { grid-template-columns: 1fr; text-align: center; }
    .empty-device-state img { margin: auto; }
    .admin-search > div { display: grid; }
    .language-form { display: grid; align-items: stretch; }
    .language-form select, .language-form .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

.auth-shell { display: grid; place-items: start center; padding-block: clamp(42px, 8vw, 96px); }
.auth-card { width: min(100%, 520px); padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); background: linear-gradient(145deg, rgba(24, 31, 30, .96), rgba(10, 15, 15, .98)); box-shadow: 0 22px 70px rgba(0, 0, 0, .28); }
.auth-card h1 { margin: 8px 0 12px; }
.auth-card > p:not(.section-label) { color: var(--muted); line-height: 1.65; }
.auth-form { display: grid; gap: 8px; margin-top: 26px; }
.auth-form label { margin-top: 8px; color: var(--text); font-size: .85rem; font-weight: 700; }
.auth-form input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 3px; color: var(--text); background: rgba(4, 8, 8, .72); }
.auth-form input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.auth-form .button { margin-top: 12px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.auth-links { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; font-size: .9rem; }
.validation-summary, .validation-message { color: #ffb2a9; font-size: .84rem; }
.validation-summary ul { margin: 0; padding-left: 18px; }
