:root {
  color-scheme: dark;
  --bg: #10110f;
  --text: #f1f1e9;
  --muted: #afb1a6;
  --line: #363931;
  --accent: #dcfb49;
  --font: "Golos Text", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
#main, #tariffs, #how, #faq { scroll-margin-block-start: 90px; }
main:focus { outline: none; }
p { line-height: 1.65; }
h1, h2, h3, p { margin-block: 0; }
.frame { width: min(1240px, calc(100% - 88px)); margin-inline: auto; }

.skip { position: fixed; z-index: 10; inset: 10px auto auto 10px; transform: translateY(-150%); padding: 12px; background: var(--accent); color: var(--bg); }
.skip:focus { transform: none; }
.header { position: sticky; z-index: 2; top: 0; background: #10110ff2; border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.header-inner { min-height: 74px; }
.brand { display: inline-flex; gap: 10px; align-items: center; font-weight: 850; letter-spacing: -.04em; white-space: nowrap; }
.brand b { color: var(--accent); }
nav { display: flex; gap: clamp(18px, 4vw, 44px); }
nav a, .footer { color: var(--muted); font-size: .875rem; }
nav a:hover, .footer a:hover, .text-link:hover { color: var(--accent); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 720;
  text-align: center;
  transition: background .18s ease, border-color .18s ease;
}
.button.primary { background: var(--accent); color: #171b06; }
.button.primary:hover { background: #edff97; }
.button.outline { background: transparent; border-color: #505349; color: var(--text); }
.button.outline:hover { background: #252820; border-color: var(--muted); }
.header-button { min-height: 40px; min-inline-size: 7rem; }

.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-art { position: absolute; z-index: -1; inset: 0 0 0 30%; }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 51%; }
.hero-storm {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg), #10110fcf 16%, #10110f40 36%, transparent 57%),
              linear-gradient(0deg, var(--bg), #10110f80 13%, transparent 32%),
              linear-gradient(180deg, #10110f6b, transparent 15%);
}
.hero-layout { min-height: clamp(570px, 53vw, 780px); display: flex; align-items: center; }
.hero-copy { padding-block: 80px; }
.eyebrow { display: block; color: var(--accent); font-size: .8125rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.demo-label { display: inline-block; padding: 7px 10px; border: 1px solid #666f36; border-radius: 5px; }
h1, h2, h3 { letter-spacing: -.045em; line-height: 1.02; }
.hero h1 { margin-block: 23px; font-size: clamp(3.25rem, 6.1vw, 6.9rem); font-weight: 850; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p { max-width: 345px; color: #d1d2c7; font-size: 1.06rem; }
.hero-actions, .action-row { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions { margin-top: 30px; }

.home-content {
  background: linear-gradient(180deg, var(--bg), #121510 160px, #0d100c 66%, var(--bg));
}
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.principles div { padding: 25px 22px; border-inline-start: 1px solid var(--line); }
.principles div:first-child { padding-inline-start: 0; border: 0; }
.principles strong, .principles span { display: block; }
.principles strong { font-size: clamp(.875rem, 1.6vw, 1.12rem); letter-spacing: -.02em; }
.principles span { color: var(--muted); margin-top: 6px; font-size: .875rem; }

.section { padding-block: clamp(58px, 8vw, 104px); }
.section h2, .account-screen h1 { margin-top: 10px; font-size: clamp(2.55rem, 5vw, 4.75rem); font-weight: 820; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.section-heading p { max-width: 355px; color: var(--muted); }
.panel, dialog {
  border: 0;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 13% 0%, var(--panel-reflection, #dceeb21c), transparent 68%),
    linear-gradient(145deg, var(--panel-tint, #272e2499), var(--panel-shade, #161a16d9) 78%);
  box-shadow: 0 14px 36px #080b0838, inset 0 5px 18px -12px #e8ffc65c;
  -webkit-backdrop-filter: blur(12px) saturate(125%);
  backdrop-filter: blur(12px) saturate(125%);
}
.matte-surface {
  --matte-rim-light:
    radial-gradient(ellipse 55% 40% at 4% 2%, #f0ffdab0, transparent),
    radial-gradient(ellipse 36% 33% at 6% 94%, #a7cbb36a, transparent),
    radial-gradient(ellipse 48% 45% at 97% 98%, #d8f4e3cd, transparent);
  position: relative;
  border-radius: var(--matte-radius, 23px);
  background:
    radial-gradient(ellipse 110% 110% at 86% 100%, var(--home-card-glow, transparent), transparent 72%),
    linear-gradient(145deg,
      rgb(48 53 45 / var(--matte-opacity, 62%)),
      rgb(25 29 25 / calc(var(--matte-opacity, 62%) + 10%)) 86%);
  box-shadow: 0 14px 22px -17px #000;
  -webkit-backdrop-filter: blur(var(--matte-blur, 36px));
  backdrop-filter: blur(var(--matte-blur, 36px));
}
#homeScreen .plan.highlighted { --home-card-glow: #9ac84134; }
#tariffs {
  --tariff-glow-y: 57%;
  --tariff-glow-height: 50%;
  background: radial-gradient(
    ellipse min(850px, 78vw) var(--tariff-glow-height) at min(75%, calc(50% + 400px)) var(--tariff-glow-y),
    #6a902737 0%, #45622328 50%, transparent 86%
  );
}
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.plan-slot { display: flex; position: relative; min-width: 0; }
.plan {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  min-height: 257px;
  padding: calc(clamp(18px, 3vw, 32px) - 1px);
  border: 1px solid transparent;
  /* Paint the rim with the card backgrounds so both move as a single surface. */
  background:
    radial-gradient(ellipse 110% 110% at 86% 100%, var(--home-card-glow, transparent), transparent 72%) padding-box,
    linear-gradient(145deg, #242820, #171b16 86%) padding-box,
    var(--matte-rim-light),
    linear-gradient(145deg, #b8caaa24, #a7cbb326) border-box;
  background-origin: padding-box, padding-box, border-box, border-box, border-box, border-box;
  /* The section already provides a soft gradient. Keep a live backdrop filter off moving cards. */
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.plan h3 { font-size: 1.3rem; }
.price { line-height: 1; margin-top: 24px; font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 830; letter-spacing: -.07em; }
.price span { font-size: .52em; vertical-align: .18em; color: var(--muted); }
.plan-note { color: var(--muted); margin: 10px 0 24px; font-size: .875rem; }
.plan .button { margin-top: auto; }

@media (any-hover: hover) and (prefers-reduced-motion: no-preference) {
  /* The stationary slot controls hover even when the card's edges extend outside it. */
  .plan-slot .plan {
    pointer-events: none;
    transition: transform 200ms cubic-bezier(.2, .72, .28, 1);
  }
  .plan-slot .plan::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 20px 30px -14px #000b;
    pointer-events: none;
    opacity: 0;
    transition: opacity 200ms ease-out;
  }
  .plan-slot .plan > * { pointer-events: auto; }
  .plan-slot:hover { z-index: 1; }
  .plan-slot:hover .plan { transform: scale(1.03); }
  .plan-slot:hover .plan::after { opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  :is(.tariff-motion-pending .plans, .plans[data-motion="desktop"]) .plan-slot:not([data-revealed]):not(:focus-within) {
    opacity: 0;
  }
  .plans[data-motion="desktop"] .plan-slot[data-revealed="animated"] {
    animation: tariff-enter 420ms cubic-bezier(.22, .7, .24, 1) var(--tariff-delay, 0ms) backwards;
  }
}

@keyframes tariff-enter {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 681px) {
  .plan-slot:nth-child(2) { --tariff-delay: 55ms; }
  .plan-slot:nth-child(3) { --tariff-delay: 110ms; }
}

.how {
  background: radial-gradient(
    ellipse min(760px, 72vw) 58% at min(78%, calc(50% + 430px)) 49%,
    #56763425, transparent 84%
  );
}
.how-layout, .faq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 7vw, 100px); }
.how-layout > div > p { color: var(--muted); margin-top: 18px; }
.steps, .questions { padding-inline: clamp(16px, 3vw, 30px); }
.steps { list-style: none; counter-reset: steps; margin: 0; }
.steps li { display: grid; grid-template-columns: 40px 1fr; align-items: start; gap: 14px; padding-block: 18px; border-bottom: 1px solid var(--line); counter-increment: steps; }
.steps li:last-child, .questions details:last-child { border-bottom: 0; }
.steps li::before { content: counter(steps); display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #676f39; border-radius: 50%; color: var(--accent); font-weight: 700; }
.steps h3 { font-size: 1.25rem; margin-top: 6px; }
.steps p, details p { margin-top: 8px; color: var(--muted); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; list-style: none; min-height: 62px; padding-block: 12px; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after, .device-toggle::after { content: ""; flex: none; width: 9px; height: 9px; margin-inline-end: 5px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
details[open] summary::after { transform: rotate(225deg); }
details p { margin: 0 16px 19px 0; }

.footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 89px; flex-wrap: wrap; padding-block: 18px; }
.footer .brand { color: var(--text); }

.account-screen { min-height: calc(100svh - 163px); padding-block: clamp(38px, 7vw, 90px); }
.panel, dialog { padding: clamp(20px, 3vw, 34px); }
.panel h2, dialog h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
.panel p, dialog p { margin-block: 12px 19px; color: var(--muted); }
.login-panel, dialog { --panel-reflection: #cfe99b26; --panel-tint: #293526d4; }
.login-panel { max-width: 470px; margin-inline: auto; }
.login-panel h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
:is(#loginForm, .purchase-form) { display: grid; gap: 9px; }
:is(#loginForm, .purchase-form) label { margin-top: 5px; font-weight: 680; }
:is(#loginForm, .purchase-form) input { width: 100%; border: 1px solid #505349; border-radius: 8px; background: #11130f; color: var(--text); padding: 12px; }
:is(#loginForm, .purchase-form) .button { margin-block: 10px 16px; }
:is(#loginForm, .purchase-form) .form-error { color: #ffaba3; margin: 0; }
.text-link { text-decoration: underline; text-underline-offset: 3px; }
#dashboard[data-cabinet-pending], .cabinet-loading #homeScreen { display: none; }
.cabinet-loading #dashboard[data-cabinet-pending] { display: block; }
#dashboard {
  --muted: #c7cebd;
  --matte-opacity: 40%;
  --matte-blur: 48px;
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(44px, 6vw, 110px);
  background:
    radial-gradient(ellipse 540px 360px at min(88%, calc(50% + 560px)) 255px, #29371a, transparent),
    radial-gradient(ellipse 480px 340px at max(12%, calc(50% - 550px)) 550px, #263416, transparent),
    #0c0e0b;
}
#dashboard::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  width: min(100%, 1600px);
  height: 980px;
  margin-inline: auto;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='86.6' viewBox='0 0 150 86.6'%3E%3Cpath d='M0 43.3H50L75 0H125L150 43.3L125 86.6H75L50 43.3' fill='none' stroke='%2394ad64' stroke-opacity='.19'/%3E%3C/svg%3E");
  mask-image: radial-gradient(ellipse at 50% 35%, #000 12%, transparent 76%);
}
#dashboard > .frame { position: relative; }
.dashboard-heading, .panel-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.dashboard-grid {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-rows: minmax(182px, 1fr) minmax(174px, 1fr);
  gap: 16px;
  margin-top: clamp(24px, 3vw, 36px);
}
@supports (mask-composite: exclude) {
  .matte-surface:not(.plan)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    padding: var(--matte-rim-width, 1px);
    opacity: var(--matte-rim-opacity, 1);
    border-radius: inherit;
    pointer-events: none;
    background: var(--matte-rim-light);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
  }
}
.dashboard-grid > .panel > :not(.cabinet-loading-status) { transition: opacity 150ms ease-out; }
.cabinet-loading .dashboard-grid > .panel > :not(.cabinet-loading-status),
.cabinet-loading #logout { visibility: hidden; opacity: 0; }
.subscription .cabinet-loading-status {
  display: none;
  position: absolute;
  inset-block-start: clamp(20px, 3vw, 34px);
  inset-inline-start: clamp(20px, 3vw, 34px);
  margin: 0;
}
.cabinet-loading .subscription .cabinet-loading-status { display: block; }
.cabinet-loading :is(#remainingDays, .facts dd, .connection-link .code) { min-block-size: 1lh; }
.dashboard-grid .subscription {
  display: flex;
  flex-direction: column;
  grid-row: span 2;
}
.subscription-period { margin-block: auto; padding-block: clamp(24px, 4vw, 44px); }
.subscription .remaining-time { margin: 0 0 10px; line-height: 1.15; }
.remaining-time span { display: block; color: #ced7b9; font-size: .925rem; }
.remaining-time strong {
  display: block;
  margin-top: 7px;
  color: var(--accent);
  font-size: clamp(2.15rem, 4.3vw, 4.35rem);
  font-weight: 820;
  letter-spacing: -.06em;
}
.subscription .expiry-date { margin: 0; color: #c7ccb9; }
.expiry-date time { color: var(--text); font-weight: 690; }
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 14px;
  margin: 0;
  padding-top: 17px;
  border-top: 1px solid #566044;
}
.facts dt { font-size: .875rem; color: var(--muted); }
.facts dd { margin: 5px 0 0; font-weight: 750; overflow-wrap: anywhere; }
.subscription-devices { margin-top: 20px; border-block: 1px solid #566044; border-bottom: 0; }
.subscription-devices summary, .device-toggle { justify-content: flex-start; min-height: 50px; padding-block: 9px; }
.subscription-devices summary::after, .device-toggle::after { margin-inline-start: auto; }
.device-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding-inline: 0;
  border: 0;
  background: none;
  color: inherit;
  font-weight: 700;
  text-align: start;
}
.device-toggle::after { transition: transform 220ms ease; }
.device-toggle[aria-expanded="true"]::after { transform: rotate(225deg); }
.device-reveal {
  height: 0;
  overflow: hidden;
  transition: height 280ms cubic-bezier(.22, .7, .24, 1);
}
.device-toggle[aria-expanded="true"] + .device-reveal { height: var(--device-content-height, 0px); }
.device-content { display: flow-root; padding-block-end: 4px; }
.device-count { padding: 2px 8px; border-radius: 999px; background: #383f22; color: var(--accent); font-size: .75rem; }
.subscription-devices p { margin: 0 0 6px; color: var(--muted); font-size: .875rem; }
.subscription-devices ul { margin: 0; padding: 0; list-style: none; }
.subscription-devices li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #3d4734; }
.subscription-devices li:last-child { padding-bottom: 0; }
.device-icon { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border-radius: 8px; background: #303b22; color: var(--accent); }
.device-icon::before { content: ""; width: 15px; height: 11px; border: 1px solid currentColor; border-top-width: 3px; border-radius: 3px; }
.device-icon[data-kind="mobile"]::before { width: 9px; height: 15px; border-width: 1px 1px 2px; }
.device-icon[data-kind="desktop"]::before { height: 13px; border-width: 1px 1px 3px; }
.device-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.device-label time, .device-label small { display: block; font-size: .8125rem; color: var(--muted); }
.button.device-remove { min-height: 44px; padding: 4px 8px; color: var(--muted); font-size: .8125rem; }
.button.device-remove:hover { color: #ffb9aa; background: #442a25; }
.button.danger { color: #ffddd5; background: #5a2d24; border-color: #885044; }
.button.danger:hover { background: #73372b; }
.button.danger:disabled { opacity: .65; cursor: wait; }
.device-remove-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.status { font-size: .875rem; color: var(--accent); background: #383f22; padding: 6px 10px; border-radius: 8px; }
.status.expired { color: #ffb9aa; background: #442a25; }
.code { font-family: ui-monospace, monospace; font-weight: 750; overflow-wrap: anywhere; user-select: all; }
.panel .code, dialog .code { color: var(--text); }
.connection-link { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.connection-link .code {
  flex: 1 1 12rem;
  min-width: 0;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #121510;
  font-size: .8125rem;
}
.credentials-panel { padding-block: clamp(20px, 2.2vw, 26px); }
.credentials-panel h2 { font-size: clamp(1.35rem, 2.5vw, 1.65rem); }
.credentials-panel > p { margin-block: 8px; }
.credentials-panel details { border: 0; }
.credentials-panel summary { min-height: 44px; padding: 10px 0 0; border-top: 1px solid var(--line); }
.credentials-panel .code { margin-block: 5px 10px; }
dialog { position: fixed; width: min(480px, calc(100% - 28px)); max-height: calc(100% - 28px); color: var(--text); }
dialog h2 { margin-right: 28px; }
dialog::backdrop { background: #050605ba; }
dialog .close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: transparent; font-size: 1.5rem; }
.credential { padding: 12px 0; border-top: 1px solid var(--line); }
.credential .code { margin-block: 4px 8px; }
dialog .button.primary { margin-top: 10px; }
.toast { position: fixed; z-index: 4; inset: auto 14px 16px auto; max-width: calc(100% - 28px); padding: 12px 16px; border-radius: 14px; background: linear-gradient(145deg, #303a1f, #1b2117); box-shadow: 0 8px 24px #080b0859; color: var(--text); }
.toast:empty { display: none; }
dialog .toast { position: static; margin-top: 14px; }

@media (min-width: 2200px) {
  .hero-art { left: auto; right: max(0px, calc((100% - 2300px) / 2)); width: 1280px; }
  .hero-art::after {
    background: linear-gradient(90deg, var(--bg), #10110fb0 18%, transparent 45%, transparent 83%, var(--bg)),
                linear-gradient(0deg, var(--bg), #10110f80 13%, transparent 32%);
  }
}

@media (max-width: 900px) {
  .frame { width: calc(100% - 48px); }
  .hero-art { left: 23%; }
  .hero-layout { min-height: 520px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .frame { width: calc(100% - 36px); }
  .header-inner { min-height: 62px; gap: 10px; }
  .header .brand img { width: 32px; height: 32px; }
  nav { display: none; }
  #main, #tariffs, #how, #faq { scroll-margin-block-start: 76px; }
  .hero-art { position: relative; inset: auto; height: clamp(236px, 66vw, 370px); }
  .hero-art img { object-position: center 53%; }
  .hero-art::after { background: linear-gradient(0deg, var(--bg), #10110f66 22%, transparent 43%, transparent 85%, #10110f75); }
  .hero-layout { display: block; min-height: auto; }
  .hero-copy { margin-top: -20px; padding: 0 0 36px; }
  .hero h1 { margin-block: 15px; font-size: clamp(2.55rem, 9vw, 4.25rem); }
  .hero p { font-size: 1rem; }
  .hero-actions { margin-top: 22px; }
  .principles div { padding: 15px 8px; }
  .principles span { display: none; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 12px; }
  #tariffs { --tariff-glow-y: 74%; --tariff-glow-height: 30%; }
  .plans { grid-template-columns: 1fr; gap: 10px; }
  .plan { min-height: auto; text-align: center; }
  .price { margin-top: 15px; }
  .purchase-summary { text-align: center; }
  .how-layout, .faq, .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-rows: auto; }
  .dashboard-grid .subscription { grid-row: auto; }
  #dashboard::before { height: 1240px; background-size: 114px auto; }
  .connection-link .button { flex-grow: 1; }
  .footer-inner { gap: 15px; }
}

@media (max-width: 680px) {
  /* Prepare the three card layers before their stationary slots reach the viewport. */
  .plans[data-motion="mobile"] .plan { will-change: transform; }
  .plans[data-motion="mobile"] .plan-slot:not([data-revealed]):not(:focus-within) .plan {
    transform: translateY(var(--tariff-entry-offset, 24px));
    transition: none;
  }
  .plans[data-motion="mobile"] .plan-slot[data-revealed="animated"] .plan {
    transition: transform var(--tariff-entry-duration, 440ms) cubic-bezier(.22, .7, .24, 1);
  }

  /* Attach the highlight to the card so it follows the upper edge during the slide. */
  .plans[data-motion="mobile"] .plan::after {
    content: "";
    position: absolute;
    inset: 0 12% auto;
    height: 3px;
    border-radius: 50%;
    background: linear-gradient(90deg, transparent, #dcff8f, transparent);
    box-shadow: none;
    pointer-events: none;
    opacity: 0;
    transition: none;
    will-change: opacity;
  }
  .plans[data-motion="mobile"] .plan-slot[data-revealed="animated"] .plan::after {
    animation: tariff-edge-glow 380ms ease-out var(--tariff-glow-delay, 60ms);
  }
}

@keyframes tariff-edge-glow {
  0%, 100% { opacity: 0; }
  28% { opacity: .8; }
}

@media (prefers-reduced-motion: reduce) {
  .plans[data-motion="mobile"] {
    --tariff-entry-offset: 20px;
    --tariff-entry-duration: 360ms;
    --tariff-glow-delay: 0ms;
  }
  html { scroll-behavior: auto; }
  .button, .device-reveal, .device-toggle::after,
  .dashboard-grid > .panel > :not(.cabinet-loading-status) { transition: none; }
}
