:root {
  color-scheme: dark;
  --bg: #04060a;
  --panel: rgba(10, 15, 23, .96);
  --panel-solid: #0a0f17;
  --panel-soft: rgba(12, 18, 28, .92);
  --border: rgba(148, 173, 207, .14);
  --border-strong: rgba(73, 196, 255, .32);
  --text: #f4f7fb;
  --muted: #9aaac0;
  --dim: #718198;
  --cyan: #5bd4e6;
  --blue: #7799e8;
  --violet: #a797ee;
  --green: #52dfb1;
  --amber: #f4c56d;
  --danger: #ff768d;
  --shadow: 0 20px 54px rgba(0, 0, 0, .28);
  --radius: 20px;
  --content: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
/* Keep semantic visibility authoritative even when a component's layout rule
   sets an explicit display value. The affiliate page uses hidden sections as
   a compatibility fallback, so the browser must not paint them. */
[hidden] { display: none !important; }
html { min-width: 320px; background: var(--bg); scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body { position: relative; margin: 0; min-height: 100vh; color: var(--text); background: var(--bg); overflow-x: hidden; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle at 12% 30%, rgba(55, 202, 255, .018), transparent 28%), radial-gradient(circle at 88% 72%, rgba(168, 112, 255, .018), transparent 30%); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }

/* The ambient scene is decoration only. Keep it out of document flow so the
   first paint always starts with the header and hero, even when a cached shell
   or a low-power browser is still booting the canvas. */
body > .neural-ambient { position: fixed !important; inset: 0 !important; width: 100%; max-width: 100%; height: 100vh; height: 100dvh; z-index: 0; }
body > .site-noise { position: fixed !important; inset: 0 !important; z-index: 0; }
body > .site-header { z-index: 20; }
body > #app, body > .site-footer { position: relative; z-index: 1; }

.neural-ambient { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; contain: strict; isolation: isolate; transform: translateZ(0); backface-visibility: hidden; background: radial-gradient(circle at 50% 42%, rgba(67,199,255,.045), transparent min(38vw, 34rem)), radial-gradient(circle at 78% 72%, rgba(168,112,255,.04), transparent min(32vw, 30rem)), radial-gradient(circle at 18% 84%, rgba(36,106,151,.022), transparent min(28vw, 24rem)); }
.neural-ambient::before, .neural-ambient::after { content: ""; position: absolute; inset: -18%; pointer-events: none; }
.neural-ambient::before { background: radial-gradient(ellipse at 35% 30%, rgba(55,202,255,.055), transparent 26%), radial-gradient(ellipse at 72% 68%, rgba(168,112,255,.055), transparent 30%); filter: blur(28px); opacity: .78; will-change: transform; animation: neural-cloud-drift 42s ease-in-out infinite; }
.neural-ambient::after { background-image: linear-gradient(rgba(143,177,220,.016) 1px, transparent 1px), linear-gradient(90deg, rgba(143,177,220,.012) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse at center, black 0%, transparent 76%); opacity: .55; transform: perspective(900px) rotateX(58deg) translateY(15%) translateZ(0); transform-origin: center; will-change: background-position; animation: neural-grid-drift 56s linear infinite; }
.neural-ambient__stars { position: absolute; inset: -12%; z-index: 0; pointer-events: none; contain: strict; background-image: radial-gradient(circle at 8% 18%, rgba(177,230,255,.32) 0 1px, transparent 1.8px), radial-gradient(circle at 19% 74%, rgba(101,215,233,.22) 0 1px, transparent 1.7px), radial-gradient(circle at 31% 38%, rgba(176,164,255,.25) 0 1px, transparent 1.8px), radial-gradient(circle at 47% 12%, rgba(161,225,255,.2) 0 1px, transparent 1.8px), radial-gradient(circle at 57% 66%, rgba(114,228,235,.26) 0 1px, transparent 1.8px), radial-gradient(circle at 69% 28%, rgba(177,166,255,.2) 0 1px, transparent 1.7px), radial-gradient(circle at 82% 78%, rgba(131,216,244,.26) 0 1px, transparent 1.8px), radial-gradient(circle at 94% 46%, rgba(190,183,255,.18) 0 1px, transparent 1.8px); background-size: 31% 37%, 41% 53%, 47% 61%, 59% 43%, 67% 71%, 73% 49%, 83% 67%, 91% 57%; background-position: 0 0, 13% 19%, 47% 8%, 71% 36%, 22% 64%, 89% 11%, 56% 82%, 8% 48%; opacity: .42; transform: translate3d(0,0,0); will-change: transform; animation: neural-stars-drift 120s ease-in-out infinite alternate; }
.neural-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; display: block; opacity: .92; }
.neural-halo, .neural-orbit { position: absolute; left: 50%; top: 45%; z-index: 2; display: block; border-radius: 50%; pointer-events: none; }
.neural-halo { width: min(78vw, 66rem); height: min(78vw, 66rem); transform: translate(-50%, -50%); border: 1px solid rgba(109,206,230,.055); box-shadow: 0 0 90px rgba(38,184,212,.035), inset 0 0 90px rgba(124,110,214,.025); animation: neural-halo-breathe 24s ease-in-out infinite; }
.neural-halo-two { width: min(54vw, 46rem); height: min(54vw, 46rem); border-color: rgba(167,151,238,.07); animation-delay: -8s; animation-duration: 29s; }
.neural-orbit { width: min(48vw, 42rem); height: min(16vw, 13rem); transform: translate(-50%, -50%) rotate(-18deg); border: 1px solid rgba(98,217,232,.075); opacity: .72; animation: neural-orbit-drift 24s linear infinite; }
.neural-orbit-two { width: min(58vw, 50rem); height: min(18vw, 15rem); transform: translate(-50%, -50%) rotate(22deg); border-color: rgba(167,151,238,.06); animation-duration: 37s; }
.site-noise { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .11; background-image: linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.009) 1px, transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to bottom, black, transparent 80%); }
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; min-width: 0; min-height: 72px; padding: 12px clamp(18px, 4vw, 56px); background: #06090f; border-bottom: 1px solid rgba(148, 173, 207, .12); box-shadow: 0 10px 34px rgba(0, 0, 0, .28); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; flex: 0 1 auto; font-size: 16px; font-weight: 760; letter-spacing: -.02em; }
.brand img { width: 36px; height: 36px; object-fit: contain; border-radius: 11px; box-shadow: 0 0 18px rgba(67, 199, 255, .14); }
.site-nav { display: flex; align-items: center; gap: 4px; min-width: 0; margin: 0 auto; }
.site-nav a, .language-button { padding: 9px 13px; color: var(--muted); border: 1px solid transparent; border-radius: 11px; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"], .language-button:hover { color: var(--text); background: rgba(255,255,255,.055); border-color: var(--border); transform: translateY(-1px); }
.site-nav a:focus-visible, .language-button:focus-visible, .nav-group > summary:focus-visible, .mobile-menu-button:focus-visible, .button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 rgba(91, 212, 230, .35); }
.nav-group { position: relative; }
.nav-group > summary { display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; color: var(--muted); border: 1px solid transparent; border-radius: 10px; cursor: pointer; list-style: none; transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary:hover, .nav-group[open] > summary { color: var(--text); background: rgba(255,255,255,.055); border-color: var(--border); transform: translateY(-1px); }
.nav-chevron { display: inline-block; color: var(--dim); font-size: 13px; line-height: 1; transition: transform .18s ease; }
.nav-group[open] .nav-chevron { transform: rotate(180deg); }
.nav-submenu { position: absolute; top: calc(100% + 10px); left: 50%; display: grid; width: min(340px, calc(100vw - 32px)); min-width: 280px; gap: 6px; padding: 9px; transform: translateX(-50%); border: 1px solid rgba(146, 190, 231, .2); border-radius: 17px; background: #0a111b; box-shadow: 0 24px 60px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255,255,255,.06); }
.nav-group[open] .nav-submenu { animation: menu-enter .2s cubic-bezier(.2,.8,.2,1) both; }
.nav-submenu a { display: flex; align-items: center; justify-content: space-between; gap: 11px; padding: 9px; }
.nav-tool-link { color: var(--text) !important; border: 1px solid transparent !important; border-radius: 13px !important; background: rgba(255,255,255,.025); }
.nav-tool-link:hover, .nav-tool-link:focus-visible { border-color: rgba(91,212,230,.32) !important; background: linear-gradient(120deg, rgba(67,199,255,.1), rgba(167,151,238,.08)) !important; transform: translateY(-1px) !important; }
.nav-tool-link-muted { background: rgba(255,255,255,.015); }
.nav-tool-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: #070c16; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 5px 13px rgba(0,0,0,.2); }
.nav-tool-icon img { width: 27px; height: 27px; object-fit: contain; filter: none; transition: transform .22s ease; }
.nav-tool-link:hover .nav-tool-icon img, .nav-tool-link:focus-visible .nav-tool-icon img { transform: scale(1.06); }
.nav-tool-copy { display: grid; min-width: 0; flex: 1; gap: 3px; }
.nav-tool-copy strong { font-size: 13px; font-weight: 760; letter-spacing: -.01em; }
.nav-tool-copy small { color: var(--dim); font-size: 11px; line-height: 1.2; }
.nav-tool-arrow { color: var(--cyan); font-size: 16px; opacity: .45; transition: transform .2s ease, opacity .2s ease; }
.nav-tool-link:hover .nav-tool-arrow, .nav-tool-link:focus-visible .nav-tool-arrow { transform: translate(2px,-2px); opacity: 1; }
.nav-tool-link-muted .nav-tool-arrow { display: none; }
.nav-menu-divider { height: 1px; margin: 2px 6px; background: rgba(148,173,207,.12); }
.nav-utility-link { justify-content: flex-start !important; gap: 9px !important; color: var(--muted) !important; border-radius: 10px !important; }
.nav-utility-link:hover, .nav-utility-link:focus-visible { color: var(--text) !important; background: rgba(255,255,255,.055) !important; transform: none !important; }
.nav-utility-icon { display: grid; place-items: center; width: 22px; height: 22px; color: var(--cyan); border: 1px solid rgba(67,199,255,.22); border-radius: 7px; background: rgba(67,199,255,.08); font-size: 13px; }
.nav-utility-logo img { display: block; width: 17px; height: 17px; object-fit: contain; }
.nav-coming { color: var(--cyan); font-size: 10px; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 9px; min-width: max-content; flex: 0 0 auto; }
.language-button { cursor: pointer; background: transparent; }
.mobile-menu-button { display: none; margin-left: auto; padding: 8px 11px; border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,.04); cursor: pointer; }
.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 18px; overflow: hidden; color: #03111d; font-weight: 760; border: 1px solid transparent; border-radius: 13px; background: linear-gradient(135deg, #b5edf3, #8ca9ee); box-shadow: 0 9px 22px rgba(67, 199, 255, .13), inset 0 1px 0 rgba(255,255,255,.35); cursor: pointer; transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease, filter .2s ease, border-color .2s ease; }
.button::after { content: ""; position: absolute; inset: 0 auto 0 -25%; width: 18%; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent); transform: translateX(-120%) skewX(-18deg); opacity: 0; }
.button:hover::after, .button:focus-visible::after { opacity: .75; animation: sheen .7s ease both; }
.button > * { position: relative; z-index: 1; }
.button:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(67, 199, 255, .17); filter: brightness(1.03); }
.button:active { transform: translateY(0); }
.button-small { min-height: 38px; padding: 0 13px; font-size: 13px; }
.button-quiet { color: var(--text); background: rgba(255,255,255,.055); border-color: var(--border); box-shadow: none; }
.button-quiet:hover { background: rgba(255,255,255,.095); box-shadow: none; }
.button-outline { color: var(--text); background: transparent; border-color: var(--border-strong); box-shadow: none; }
.button-outline:hover { background: rgba(67,199,255,.09); box-shadow: none; }
.button-danger { color: #ffe7ec; background: rgba(255, 76, 110, .12); border-color: rgba(255, 118, 141, .4); box-shadow: none; }
.button[disabled] { cursor: wait; opacity: .6; transform: none; }
.header-account-link { gap: 8px; padding-inline: 8px 12px; }
.header-account-avatar { position: relative; display: grid; place-items: center; width: 28px; height: 28px; overflow: visible; flex: 0 0 auto; color: #e6fbff; border: 1px solid rgba(91,212,230,.38); border-radius: 9px; background: linear-gradient(145deg, #12334b, #15152b); font-size: 10px; font-weight: 800; letter-spacing: .02em; }
.header-account-avatar > img { width: 100%; height: 100%; border-radius: 8px; object-fit: cover; }
.header-account-google { position: absolute; right: -5px; bottom: -4px; display: grid; place-items: center; width: 13px; height: 13px; border: 2px solid #06090f; border-radius: 50%; background: #fff; }
.header-account-google img { width: 9px; height: 9px; object-fit: contain; }
.header-account-label { line-height: 1; }

.site-main { position: relative; z-index: 1; width: min(var(--content), calc(100% - 36px)); margin: 0 auto; padding: clamp(42px, 5.5vw, 76px) 0 80px; }
.initial-loader { display: grid; place-items: center; gap: 16px; min-height: 38vh; color: var(--muted); }
.loader-orb { width: 32px; height: 32px; border: 2px solid rgba(67,199,255,.24); border-top-color: var(--cyan); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes menu-enter { from { opacity: 0; transform: translate(-50%, -6px) scale(.98); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@keyframes menu-enter-mobile { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sheen { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(180%) skewX(-18deg); } }
@keyframes status-breathe { 0%, 100% { opacity: .68; transform: scale(.92); } 50% { opacity: 1; transform: scale(1); } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(67,199,255,.18); } 50% { box-shadow: 0 0 0 9px rgba(67,199,255,0); } }
@keyframes neural-cloud-drift { 0%, 100% { transform: translate3d(-2%, -1%, 0) scale(.99); } 50% { transform: translate3d(2%, 2%, 0) scale(1.02); } }
@keyframes neural-grid-drift { 0%, 100% { background-position: 0 0; } 50% { background-position: 36px 36px; } }
@keyframes neural-stars-drift { 0% { transform: translate3d(-.8%, -.4%, 0) scale(1.01); } 100% { transform: translate3d(.8%, .5%, 0) scale(1.025); } }
@keyframes neural-halo-breathe { 0%, 100% { opacity: .5; transform: translate(-50%, -50%) scale(.99); } 50% { opacity: .56; transform: translate(-50%, -50%) scale(1.01); } }
@keyframes neural-orbit-drift { 0%, 100% { transform: translate(-50%, -50%) rotate(-18deg) scaleX(.99); opacity: .52; } 50% { transform: translate(-50%, -50%) rotate(162deg) scaleX(1.01); opacity: .58; } }
@keyframes product-logo-drift { 0%, 100% { transform: translate3d(0, -3px, 0) rotate(-.6deg); } 50% { transform: translate3d(0, 5px, 0) rotate(.6deg); } }
@keyframes soft-ring { 0%, 100% { opacity: .34; transform: scale(.96); } 50% { opacity: .62; transform: scale(1.04); } }
@keyframes skeleton-sweep { 0%, 100% { background-position: 180% 0; opacity: .72; } 50% { background-position: -20% 0; opacity: 1; } }
.animate-in { animation: rise .45s cubic-bezier(.2,.8,.2,1) both; }
.animate-in > .hero > *, .animate-in > .product-hero > * { animation: rise .55s cubic-bezier(.2,.8,.2,1) both; }
.animate-in > .hero > *:nth-child(2), .animate-in > .product-hero > *:nth-child(2) { animation-delay: .08s; }

.eyebrow { display: block; width: fit-content; padding: 0; color: var(--cyan); border: 0; border-radius: 0; background: transparent; font-size: 11px; font-weight: 760; letter-spacing: .16em; line-height: 1.35; text-transform: uppercase; }
.eyebrow::before { display: none; }
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); align-items: center; gap: clamp(30px, 6vw, 90px); min-height: 61vh; }
.hero h1 { max-width: 760px; margin: 20px 0 18px; font-size: clamp(42px, 7vw, 78px); line-height: .98; letter-spacing: -.065em; }
.hero h1 em { color: var(--cyan); font-style: normal; background: linear-gradient(110deg, var(--cyan), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { max-width: 630px; margin: 0; color: var(--muted); font-size: clamp(16px, 2vw, 19px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 30px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; color: var(--dim); font-size: 12px; }
.hero-notes span { padding: 7px 10px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.025); }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 390px; }
.hero-visual::before, .hero-visual::after { display: none; }
.hero-brand-lockup { display: grid; justify-items: center; gap: 16px; width: min(100%, 300px); text-align: center; }
.hero-brand-lockup img { display: block; width: min(190px, 54vw); height: auto; object-fit: contain; filter: none; }
.hero-brand-lockup span { color: var(--muted); font-size: 13px; font-weight: 650; letter-spacing: .02em; line-height: 1.45; }
.hero-orb { position: relative; display: grid; place-items: center; width: 190px; height: 190px; border: 1px solid rgba(67,199,255,.36); border-radius: 50%; background: radial-gradient(circle at 35% 28%, rgba(98,220,255,.18), rgba(31,53,102,.22) 45%, rgba(6,10,20,.9) 76%); box-shadow: 0 0 42px rgba(67,199,255,.1), inset 0 0 34px rgba(184,144,255,.08); animation: pulse 2.8s ease-in-out infinite; }
.hero-orb img { width: 108px; height: 108px; object-fit: contain; filter: none; }
.hero-orb-label { position: absolute; bottom: -14px; padding: 6px 10px; color: var(--green); border: 1px solid rgba(82,223,177,.3); border-radius: 999px; background: #0b151e; font-size: 11px; font-weight: 750; }
.home-tools { margin-top: clamp(32px, 5vw, 64px); }
.tool-shortcut { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 148px; }
.tool-shortcut-icon { display: grid; place-items: center; width: 68px; height: 68px; flex: 0 0 auto; border: 1px solid rgba(91,212,230,.22); border-radius: 19px; background: rgba(67,199,255,.06); box-shadow: 0 10px 28px rgba(0,0,0,.22); }
.tool-shortcut-icon img { width: 54px; height: 54px; object-fit: contain; }
.tool-shortcut h3 { margin: 8px 0 0; font-size: 21px; letter-spacing: -.035em; }
.tool-shortcut p { margin: 7px 0 0; font-size: 13px; }
.tool-shortcut-primary { border-color: rgba(91,212,230,.23); background: linear-gradient(145deg, rgba(14,39,48,.86), rgba(8,13,23,.92)); }
.tool-shortcut-muted { border-color: rgba(148,173,207,.13); background: linear-gradient(145deg, rgba(17,23,35,.82), rgba(8,12,20,.9)); }
.coming-soon-page { display: grid; min-height: min(68vh, 640px); place-items: center; padding: 34px 0; }
.coming-soon-card { width: min(100%, 560px); padding: clamp(34px, 7vw, 64px) clamp(24px, 7vw, 64px); text-align: center; border: 1px solid rgba(73,196,255,.2); border-radius: 28px; background: linear-gradient(145deg, rgba(17,25,41,.9), rgba(8,12,21,.9)); box-shadow: 0 24px 70px rgba(0,0,0,.3), 0 0 50px rgba(67,199,255,.08); }
.coming-soon-icon { display: grid; place-items: center; width: 112px; height: 112px; margin: 0 auto 24px; border: 1px solid rgba(73,196,255,.22); border-radius: 30px; background: rgba(67,199,255,.06); box-shadow: 0 0 42px rgba(67,199,255,.14); }
.coming-soon-icon img { width: 82px; height: 82px; object-fit: contain; }
.coming-soon-card > .status-pill { justify-content: center; }
.coming-soon-card h1 { margin: 20px 0 10px; font-size: clamp(34px, 6vw, 52px); letter-spacing: -.06em; }
.coming-soon-card p { max-width: 420px; margin: 0 auto; color: var(--muted); line-height: 1.65; }
.coming-soon-card .button { margin-top: 28px; min-width: min(100%, 260px); }

.section { margin-top: clamp(54px, 8vw, 110px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 22px; }
.section-head h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.045em; }
.section-head p { max-width: 540px; margin: 6px 0 0; color: var(--muted); line-height: 1.55; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(145deg, rgba(17,25,41,.86), rgba(8,12,21,.84)); box-shadow: var(--shadow); transition: transform .24s cubic-bezier(.2,.8,.2,1), border-color .24s ease, box-shadow .24s ease; }
.card:hover { transform: translateY(-2px); border-color: rgba(109,206,230,.24); box-shadow: 0 24px 58px rgba(0,0,0,.32), 0 0 0 1px rgba(91,212,230,.035); }
.card-soft { background: rgba(12, 18, 31, .58); box-shadow: none; }
.card h3, .card h4 { margin: 0; letter-spacing: -.025em; }
.card p { color: var(--muted); line-height: 1.55; }
.feature-card { min-height: 178px; }
.feature-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 20px; color: var(--cyan); border: 1px solid rgba(67,199,255,.28); border-radius: 12px; background: rgba(67,199,255,.09); font-size: 19px; }
.feature-card p { margin-bottom: 0; font-size: 14px; }
.metric { padding: 18px; border: 1px solid var(--border); border-radius: 16px; background: rgba(255,255,255,.025); }
.metric-label { color: var(--dim); font-size: 11px; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.metric-value { margin-top: 10px; font-size: 29px; font-weight: 790; letter-spacing: -.04em; }
.metric-note { margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.verified { color: var(--green); }
.unavailable { color: var(--dim); }
.evidence-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 10px 13px; color: var(--dim); border: 1px solid rgba(148,173,207,.12); border-radius: 12px; background: rgba(255,255,255,.018); font-size: 12px; line-height: 1.4; }
.evidence-line strong { color: var(--muted); font-weight: 650; text-align: right; }

.level-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 22px; }
.level-ring { position: relative; --progress: 0%; display: grid; place-items: center; width: 132px; height: 132px; flex: 0 0 auto; border-radius: 50%; background: conic-gradient(var(--cyan) var(--progress), rgba(255,255,255,.08) 0); box-shadow: 0 0 32px rgba(67,199,255,.14); transition: background .7s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease; }
.level-ring::before { content: ""; position: absolute; width: 112px; height: 112px; border-radius: 50%; background: #0b111d; }
.level-ring > span { position: relative; z-index: 1; text-align: center; }
.level-number { display: block; font-size: 42px; font-weight: 820; line-height: 1; letter-spacing: -.06em; }
.level-caption { display: block; margin-top: 5px; color: var(--cyan); font-size: 10px; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.level-card h2 { margin: 0; font-size: 30px; letter-spacing: -.045em; }
.level-card p { margin: 7px 0 0; color: var(--muted); }
.progress-track { height: 7px; margin-top: 16px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.08); }
.progress-track span { display: block; width: var(--progress); height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--violet)); transition: width .45s ease; }
.xp-note { margin-top: 8px; color: var(--dim); font-size: 12px; }
.data-status { display: inline-flex; align-items: center; gap: 6px; color: var(--dim); font-size: 12px; }
.data-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.offer-card { position: relative; overflow: hidden; border-color: rgba(244,197,109,.26); background: linear-gradient(145deg, rgba(50, 39, 25, .56), rgba(14, 18, 27, .88)); }
.offer-card::after { content: ""; position: absolute; inset: auto -18% -65% 35%; height: 170px; background: radial-gradient(circle, rgba(244,197,109,.16), transparent 70%); pointer-events: none; }
.offer-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.offer-badge { display: inline-flex; padding: 6px 9px; color: var(--amber); border: 1px solid rgba(244,197,109,.32); border-radius: 999px; background: rgba(244,197,109,.08); font-size: 11px; font-weight: 760; }
.price { margin: 18px 0 3px; font-size: 44px; font-weight: 820; letter-spacing: -.07em; }
.price small { color: var(--muted); font-size: 15px; font-weight: 600; letter-spacing: 0; }
.offer-meta { color: var(--muted); font-size: 13px; }
.offer-progress { height: 8px; margin: 18px 0 8px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.09); }
.offer-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--amber), #f79371); transition: width .5s ease; }
.offer-foot { display: flex; justify-content: space-between; gap: 12px; color: var(--dim); font-size: 12px; }

.product-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .55fr); gap: 30px; align-items: center; }
.product-hero h1 { margin: 18px 0 12px; font-size: clamp(38px, 6vw, 66px); line-height: .98; letter-spacing: -.065em; }
.product-hero p { max-width: 640px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.product-art { position: relative; min-height: 290px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--border); border-radius: 28px; background: radial-gradient(circle at 50% 45%, rgba(67,199,255,.14), transparent 60%), rgba(12,18,31,.55); isolation: isolate; }
.product-art::before, .product-art::after { content: ""; position: absolute; width: 68%; aspect-ratio: 1; border: 1px solid rgba(91,212,230,.13); border-radius: 50%; pointer-events: none; animation: soft-ring 8s ease-in-out infinite; }
.product-art::after { width: 49%; border-color: rgba(167,151,238,.16); animation-delay: -4s; }
.product-art img { position: relative; z-index: 1; width: min(230px, 58%); height: auto; filter: none; animation: product-logo-drift 7s ease-in-out infinite; will-change: transform; }
.check-list { display: grid; gap: 11px; padding: 0; margin: 18px 0 0; list-style: none; color: var(--muted); }
.check-list li { display: flex; gap: 10px; line-height: 1.45; }
.check-list li::before { content: "✓"; color: var(--green); font-weight: 800; }

.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.platform-card { display: flex; flex-direction: column; min-height: 250px; }
.platform-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.platform-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(67,199,255,.25); border-radius: 12px; background: rgba(67,199,255,.08); color: var(--cyan); font-size: 21px; }
.platform-card h3 { margin: 20px 0 7px; font-size: 22px; }
.platform-card p { margin: 0; font-size: 13px; }
.platform-card .button { width: 100%; margin-top: auto; }
.platform-state { padding: 5px 8px; color: var(--green); border: 1px solid rgba(82,223,177,.28); border-radius: 999px; background: rgba(82,223,177,.07); font-size: 11px; font-weight: 760; }
.platform-state.planned { color: var(--dim); border-color: var(--border); background: rgba(255,255,255,.025); }
.download-notice { min-height: 22px; margin-top: 11px; color: var(--green); font-size: 12px; }
.steps { display: grid; gap: 10px; margin-top: 16px; }
.step { display: flex; gap: 12px; align-items: start; padding: 14px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.02); }
.step-index { display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 auto; border-radius: 50%; background: rgba(67,199,255,.13); color: var(--cyan); font-size: 12px; font-weight: 800; }
.step p { margin: 0; font-size: 13px; }

.form-card { max-width: 620px; margin: 0 auto; }
.form-head { margin-bottom: 23px; }
.form-head h1 { margin: 0; font-size: 32px; letter-spacing: -.05em; }
.form-head p { margin: 9px 0 0; color: var(--muted); }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-bottom: 20px; padding: 4px; border: 1px solid var(--border); border-radius: 13px; background: rgba(255,255,255,.025); }
.tab { min-height: 38px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; }
.tab[aria-selected="true"] { color: var(--text); background: rgba(255,255,255,.09); }
.form { display: grid; gap: 13px; }
.field { display: grid; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 0 13px; color: var(--text); border: 1px solid var(--border); border-radius: 11px; outline: none; background: rgba(4, 8, 16, .78); transition: border-color .18s ease, box-shadow .18s ease; }
.field textarea { min-height: 116px; padding-block: 12px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--border-strong); box-shadow: 0 0 0 3px rgba(67,199,255,.09); }
.field input::placeholder { color: #5f7088; }
.form-error { padding: 11px 13px; color: #ffdce2; border: 1px solid rgba(255,118,141,.35); border-radius: 11px; background: rgba(255,118,141,.09); font-size: 13px; }
.form-error:empty, .form-success:empty { display: none !important; }
.form-success { padding: 11px 13px; color: #c9ffeb; border: 1px solid rgba(82,223,177,.35); border-radius: 11px; background: rgba(82,223,177,.09); font-size: 13px; }
.form-foot { display: flex; justify-content: space-between; gap: 12px; color: var(--dim); font-size: 12px; }
.form-foot a { color: var(--cyan); }

.account-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.account-head h1 { margin: 0; font-size: clamp(30px, 5vw, 48px); letter-spacing: -.06em; }
.account-email { color: var(--muted); }
.account-page { display: grid; gap: 18px; }
.account-hero { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: clamp(22px, 4vw, 32px); background: linear-gradient(125deg, rgba(24,50,73,.78), rgba(14,19,31,.86) 58%, rgba(38,25,59,.7)); }
.account-identity { display: flex; align-items: center; gap: 16px; min-width: 0; }
.account-avatar { display: grid; place-items: center; width: 68px; height: 68px; flex: 0 0 auto; overflow: hidden; color: #dffbff; border: 1px solid rgba(91,212,230,.36); border-radius: 21px; background: radial-gradient(circle at 35% 20%, rgba(91,212,230,.22), rgba(6,14,25,.92)); box-shadow: 0 12px 26px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.1); font-size: 21px; font-weight: 800; }
.account-avatar.google { border-color: rgba(66,133,244,.45); background: rgba(255,255,255,.94); }
.account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-avatar.google img { width: 36px; height: 36px; object-fit: contain; }
.account-identity-copy { min-width: 0; }
.account-identity-copy h1 { margin: 7px 0 4px; overflow: hidden; font-size: clamp(27px, 5vw, 42px); letter-spacing: -.06em; text-overflow: ellipsis; white-space: nowrap; }
.account-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.account-provider { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.035); font-size: 11px; font-weight: 700; }
.account-provider .google-mark { width: 17px; height: 17px; }
.account-provider .google-mark img { width: 13px; height: 13px; }
.account-provider.admin { color: var(--amber); border-color: rgba(244,197,109,.22); background: rgba(244,197,109,.07); }
.account-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 16px; }
.account-workspace-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.account-actions-panel { grid-template-columns: 1fr; }
.account-card { min-height: 218px; }
.account-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.account-card h2 { margin: 9px 0 0; font-size: clamp(23px, 3vw, 30px); letter-spacing: -.05em; }
.account-access-card { background: linear-gradient(145deg, rgba(14,45,49,.85), rgba(11,19,29,.9)); }
.account-level-card { background: linear-gradient(145deg, rgba(19,27,52,.84), rgba(10,14,25,.9)); }
.account-level-card > .level-card { margin-top: 18px; padding: 0; border: 0; background: transparent; box-shadow: none; }
.account-level-card > .level-card:hover { transform: none; box-shadow: none; }
.account-mini-label { padding: 6px 9px; color: var(--cyan); border: 1px solid rgba(91,212,230,.25); border-radius: 999px; background: rgba(91,212,230,.08); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.account-status-dot { width: 11px; height: 11px; margin-top: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(82,223,177,.08), 0 0 18px rgba(82,223,177,.35); animation: status-breathe 2.4s ease-in-out infinite; }
.account-status-dot.locked { background: var(--amber); box-shadow: 0 0 0 6px rgba(244,197,109,.08), 0 0 18px rgba(244,197,109,.3); }
.account-status-dot.checking { background: var(--cyan); box-shadow: 0 0 0 6px rgba(91,212,230,.08), 0 0 18px rgba(91,212,230,.32); }
.status-pill.checking { color: var(--cyan); border: 1px solid rgba(91,212,230,.28); background: rgba(91,212,230,.08); }
.account-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.account-details { padding: clamp(20px, 3vw, 27px); }
.account-details .section-head { margin-bottom: 17px; }
.account-details .section-head h2 { margin-top: 8px; font-size: 24px; }
.account-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.account-detail { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 13px; border: 1px solid var(--border); border-radius: 13px; background: rgba(255,255,255,.025); }
.account-detail-icon { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto; color: var(--cyan); border: 1px solid rgba(91,212,230,.25); border-radius: 9px; background: rgba(91,212,230,.08); font-size: 13px; font-weight: 800; }
.account-detail div { display: grid; min-width: 0; gap: 4px; }
.account-detail strong { overflow: hidden; color: var(--text); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.account-command-list { display: grid; gap: 9px; }
.account-command-list a, .account-command-list button { display: grid; grid-template-columns: 32px minmax(0,1fr) auto; align-items: center; gap: 11px; width: 100%; min-height: 58px; padding: 10px 12px; color: var(--text); text-align: left; border: 1px solid var(--border); border-radius: 13px; background: rgba(255,255,255,.022); cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.account-command-list a:hover, .account-command-list button:hover { transform: translateX(2px); border-color: rgba(91,212,230,.3); background: rgba(91,212,230,.05); }
.account-command-list a > span, .account-command-list button > span { display: grid; place-items: center; width: 32px; height: 32px; color: var(--cyan); border: 1px solid rgba(91,212,230,.2); border-radius: 10px; background: rgba(91,212,230,.07); }
.account-command-list div { display: grid; gap: 3px; }
.account-command-list strong { font-size: 13px; }
.account-command-list small { color: var(--dim); font-size: 11px; }
.account-command-list b { color: var(--dim); font-weight: 500; }
.auth-card { width: min(100%, 620px); }
.auth-google-button { width: 100%; }
.google-mark { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; }
.google-mark img { width: 18px; height: 18px; object-fit: contain; }
.auth-divider { display: flex; align-items: center; gap: 10px; color: var(--dim); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; flex: 1; background: rgba(148,173,207,.14); }
.auth-assurance { margin: 2px 0 0; color: var(--dim); font-size: 11px; text-align: center; }
.checkout-card { background: linear-gradient(145deg, rgba(17,33,46,.86), rgba(9,14,24,.88)); }
.checkout-trust { display: inline-flex; align-items: center; gap: 8px; margin: -7px 0 18px; padding: 7px 10px; color: var(--green); border: 1px solid rgba(82,223,177,.2); border-radius: 999px; background: rgba(82,223,177,.06); font-size: 11px; font-weight: 730; }
.checkout-trust-icon { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: rgba(82,223,177,.2); font-size: 11px; }
.checkout-submit[aria-busy="true"] { cursor: wait; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 12px; font-weight: 760; line-height: 1.35; }
.status-pill.active { color: var(--green); border: 0; background: transparent; }
.status-pill.locked { color: var(--amber); border: 0; background: transparent; }
.status-pill.checking { color: var(--cyan); border: 0; background: transparent; }
.status-pill::before { content: ""; width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 12%, transparent); }

.affiliate-steps { counter-reset: affiliate; display: grid; gap: 12px; }
.affiliate-step { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.affiliate-step::before { counter-increment: affiliate; content: counter(affiliate); display: grid; place-items: center; width: 31px; height: 31px; border-radius: 10px; color: var(--cyan); border: 1px solid rgba(67,199,255,.3); background: rgba(67,199,255,.08); font-weight: 800; }
.affiliate-step h3 { margin: 1px 0 5px; font-size: 16px; }
.affiliate-step p { margin: 0; font-size: 13px; }
.affiliate-art { align-content: center; gap: 12px; }
.affiliate-art span { position: relative; z-index: 2; padding: 6px 10px; color: var(--green); border: 1px solid rgba(82,223,177,.24); border-radius: 999px; background: rgba(8,18,25,.86); font-size: 11px; font-weight: 760; }
.affiliate-kpis { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.affiliate-kpis .card { display: grid; min-height: 132px; align-content: center; gap: 8px; box-shadow: none; }
.affiliate-kpis strong { font-size: clamp(28px,4vw,42px); letter-spacing: -.055em; }
.affiliate-kpis span { color: var(--muted); font-size: 13px; }
.affiliate-process { display: grid; grid-template-columns: minmax(220px,.55fr) minmax(0,1fr); gap: clamp(24px,5vw,64px); align-items: start; }
.affiliate-process .section-head { margin: 0; }
.affiliate-process.ht-affiliate-provider-guide { display: block; min-width: 0; }
.ht-affiliate-provider-guide .section-head { max-width: 720px; }
.ht-affiliate-provider-guide .affiliate-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; min-width: 0; }
.ht-affiliate-provider-guide .affiliate-step { display: block; min-width: 0; padding: 18px; border: 1px solid var(--border); border-radius: 16px; background: rgba(255,255,255,.025); }
.ht-affiliate-provider-guide .affiliate-step::before { margin-bottom: 14px; }
.ht-affiliate-provider-guide .affiliate-step > div { min-width: 0; }
.ht-affiliate-provider-guide .affiliate-step h3 { overflow-wrap: anywhere; }
.ht-affiliate-provider-guide .affiliate-step p { overflow-wrap: anywhere; line-height: 1.55; }
.ht-affiliate-provider-guide .affiliate-provider-actions { margin-top: 16px; }
.affiliate-provider-guide { display: grid; grid-template-columns: minmax(260px,.62fr) minmax(0,1.38fr); gap: clamp(28px,5vw,64px); align-items: start; }
.affiliate-provider-guide .section-head { margin: 0; }
.affiliate-provider-guide .section-head h2 { max-width: 420px; margin: 7px 0 0; }
.affiliate-provider-guide .section-head > div > p:last-child { max-width: 430px; }
.affiliate-provider-steps { display: grid; min-width: 0; border-top: 1px solid rgba(148,173,207,.16); border-bottom: 1px solid rgba(148,173,207,.16); }
.affiliate-provider-steps article { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 14px; min-width: 0; padding: 20px 0; align-items: start; }
.affiliate-provider-steps article + article { border-top: 1px solid rgba(148,173,207,.12); }
.affiliate-provider-steps article > span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(91,212,230,.3); border-radius: 10px; color: var(--cyan); background: rgba(91,212,230,.07); font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.affiliate-provider-steps article > div { min-width: 0; }
.affiliate-provider-steps h3 { margin: 1px 0 6px; font-size: 17px; letter-spacing: -.025em; }
.affiliate-provider-steps p { max-width: 650px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.affiliate-provider-actions { display: flex; grid-column: 1 / -1; flex-wrap: wrap; gap: 10px; margin-top: -4px; }
.ht-affiliate-products { display: grid; grid-template-columns: minmax(260px,.8fr) minmax(360px,1.2fr); gap: clamp(28px,5vw,64px); align-items: end; }
.ht-affiliate-products > div:first-child { min-width: 0; }
.ht-affiliate-products h2 { margin: 7px 0 0; font-size: clamp(24px,3vw,34px); letter-spacing: -.045em; }
.ht-affiliate-products p { max-width: 560px; margin: 10px 0 0; }
.ht-affiliate-product-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; min-width: 0; }
.ht-affiliate-product { display: grid; min-width: 0; gap: 6px; padding: 16px; border: 1px solid var(--border); border-radius: 15px; background: rgba(255,255,255,.035); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.ht-affiliate-product.is-active { border-color: rgba(91,212,230,.3); background: linear-gradient(145deg, rgba(67,199,255,.1), rgba(255,255,255,.035)); }
.ht-affiliate-product.is-active:hover { border-color: rgba(91,212,230,.56); background: linear-gradient(145deg, rgba(67,199,255,.16), rgba(167,151,238,.08)); transform: translateY(-2px); }
.ht-affiliate-product.is-soon { opacity: .72; }
.ht-affiliate-product span { overflow-wrap: anywhere; font-weight: 760; }
.ht-affiliate-product small { color: var(--muted); font-size: 12px; }
.affiliate-cta { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: clamp(50px,7vw,86px); padding: clamp(22px,4vw,34px); }
.affiliate-cta h2 { margin: 0; font-size: clamp(24px,3vw,34px); letter-spacing: -.045em; }
.affiliate-cta p { margin: 7px 0 0; }
.affiliate-hub-panel { display: grid; gap: 18px; padding: clamp(20px,3vw,30px); border: 1px solid rgba(91,212,230,.2); border-radius: 22px; background: linear-gradient(145deg, rgba(10,26,37,.92), rgba(10,14,24,.94)); box-shadow: 0 18px 45px rgba(0,0,0,.16); }
.affiliate-hub-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.affiliate-hub-heading h2 { margin: 7px 0 0; font-size: clamp(22px,3vw,32px); letter-spacing: -.045em; }
.affiliate-hub-heading h3 { margin: 0; font-size: 16px; }
.affiliate-hub-heading p { margin: 8px 0 0; }
.affiliate-hub-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.affiliate-hub-actions .status-pill { white-space: nowrap; }
.affiliate-hub-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.affiliate-hub-stat { display: grid; gap: 6px; min-width: 0; padding: 14px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.03); }
.affiliate-hub-stat span { color: var(--muted); font-size: 11px; }
.affiliate-hub-stat strong { color: var(--text); font-size: clamp(22px,3vw,32px); letter-spacing: -.05em; }
.affiliate-hub-links { display: grid; gap: 9px; }
.affiliate-hub-official-guide { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; border: 1px solid rgba(91,212,230,.24); border-radius: 16px; background: linear-gradient(135deg, rgba(67,199,255,.08), rgba(167,151,238,.08)); }
.affiliate-hub-official-guide > div { display: grid; gap: 5px; min-width: 0; }
.affiliate-hub-official-guide strong { color: var(--text); font-size: 15px; }
.affiliate-hub-official-guide p { max-width: 720px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.affiliate-hub-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 0; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.02); }
.affiliate-hub-link > div { display: grid; gap: 4px; min-width: 0; }
.affiliate-hub-link strong { overflow: hidden; color: var(--text); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.affiliate-hub-link-note { color: var(--dim); font-size: 11px; line-height: 1.4; }
.affiliate-hub-activity { display: grid; gap: 12px; padding-top: 4px; }
.table-wrap { overflow: auto; border: 1px solid var(--border); border-radius: 14px; }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 280px; font-size: 13px; }
.table-wrap th, .table-wrap td { padding: 11px 13px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.06); }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap th { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.affiliate-result-pill { display: inline-flex; padding: 4px 8px; color: var(--green); border: 1px solid rgba(82,223,177,.2); border-radius: 999px; background: rgba(82,223,177,.07); font-size: 11px; font-weight: 700; text-transform: capitalize; }
.affiliate-hub-empty-row { color: var(--muted); text-align: center !important; }
.affiliate-hub-source { margin: 0; color: var(--dim); font-size: 12px; line-height: 1.6; }
.affiliate-hub-skeleton { display: grid; gap: 10px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.affiliate-hub-skeleton span { height: 58px; border-radius: 14px; background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(91,212,230,.12), rgba(255,255,255,.04)); background-size: 200% 100%; animation: skeleton-sweep 1.6s ease-in-out infinite; }
.affiliate-hub-skeleton span:nth-child(2) { animation-delay: .12s; }
.affiliate-hub-skeleton span:nth-child(3) { animation-delay: .24s; }
.affiliate-hub-error { border-color: rgba(240,141,141,.26); }

/* Secure administrator edit layer. It is hidden until the signed-in JWT is
   verified against the server-side admin flag. Public visitors never receive
   active controls or an editable state. */
.admin-quick-edit { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: grid; justify-items: end; gap: 10px; pointer-events: none; }
.admin-quick-edit[hidden] { display: none !important; }
.admin-edit-trigger, .admin-editor, .admin-pro-panel { pointer-events: auto; }
.admin-edit-trigger { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 15px; color: #101019; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: linear-gradient(135deg, #ffe6a6, #c8b2ff); box-shadow: 0 14px 34px rgba(0,0,0,.32); cursor: pointer; font-weight: 800; }
.admin-commerce-trigger { color: #dffcff; border-color: rgba(91,212,230,.35); background: #0d1d27; }
.admin-commerce-trigger:hover { border-color: rgba(91,212,230,.7); background: #112b37; }
.admin-edit-trigger[aria-pressed="true"] { color: var(--text); border-color: rgba(91,212,230,.42); background: #101a25; }
.admin-edit-mark { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(0,0,0,.14); }
.admin-editor { width: min(390px, calc(100vw - 32px)); max-height: min(680px, calc(100vh - 92px)); overflow: auto; padding: 18px; border: 1px solid rgba(167,151,238,.32); border-radius: 19px; background: rgba(9,14,24,.97); box-shadow: 0 26px 70px rgba(0,0,0,.5); backdrop-filter: blur(22px); }
.admin-commerce { width: min(520px, calc(100vw - 32px)); border-color: rgba(91,212,230,.28); }
.admin-editor[hidden], .admin-editor-form[hidden], [data-admin-element-fields][hidden], [data-admin-text-field][hidden] { display: none !important; }
.admin-editor-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.admin-editor-head h2 { margin: 9px 0 0; font-size: 21px; letter-spacing: -.035em; }
.icon-button { display: grid; place-items: center; width: 34px; height: 34px; color: var(--muted); border: 1px solid var(--border); border-radius: 10px; background: rgba(255,255,255,.035); cursor: pointer; }
.admin-editor-help { margin: 12px 0 16px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.admin-editor-form { display: grid; gap: 13px; }
.admin-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.025); }
.admin-toggle-row span { display: grid; gap: 3px; }
.admin-toggle-row small { color: var(--dim); font-size: 11px; }
.admin-toggle-row input { width: 19px; height: 19px; accent-color: var(--cyan); }
.admin-order-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.admin-gift-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.admin-gift-grid[hidden], [data-gift-custom-code-field][hidden], [data-gift-recipient-field][hidden] { display: none !important; }
.admin-gift-result { margin-top: 16px; padding: 12px; border: 1px solid rgba(82,223,177,.3); border-radius: 13px; background: rgba(82,223,177,.07); }
.admin-gift-result[hidden] { display: none !important; }
.admin-gift-result-head, .admin-gift-list-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.admin-gift-result pre { max-height: 160px; margin: 10px 0 0; overflow: auto; white-space: pre-wrap; word-break: break-word; color: #eafff9; font: 700 12px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.admin-gift-list-head { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.admin-gift-list { display: grid; gap: 8px; margin-top: 10px; }
.admin-gift-row { display: grid; gap: 6px; padding: 10px 11px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.025); }
.admin-gift-row-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.admin-gift-code { color: var(--text); font: 700 12px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.admin-gift-meta { color: var(--dim); font-size: 11px; line-height: 1.45; }
.admin-gift-disable { justify-self: start; min-height: 30px; padding: 0 9px; color: #ffd4db; border: 1px solid rgba(255,118,141,.35); border-radius: 8px; background: rgba(255,118,141,.08); cursor: pointer; font-size: 11px; font-weight: 700; }
.admin-gift-disable:hover { border-color: rgba(255,118,141,.65); background: rgba(255,118,141,.14); }
.cms-hidden-element { display: none !important; }
body.admin-editing .cms-hidden-element { display: revert !important; opacity: .38; }
body.admin-editing [data-cms-key], body.admin-editing [data-cms-element] { cursor: pointer; }
body.admin-editing [data-cms-key] { border-radius: 4px; outline: 1px dashed rgba(244,197,109,.6); outline-offset: 3px; }
body.admin-editing [data-cms-element] { position: relative; outline: 1px dashed rgba(91,212,230,.4); outline-offset: 7px; }
body.admin-editing [data-cms-element]::before { content: attr(data-cms-label); position: absolute; z-index: 10; top: -14px; left: 10px; padding: 4px 7px; color: #05121a; border-radius: 6px; background: var(--cyan); box-shadow: 0 5px 14px rgba(0,0,0,.25); font-size: 9px; font-weight: 800; letter-spacing: .04em; pointer-events: none; }

.legal-copy { max-width: 840px; }
.legal-copy h1 { margin-top: 0; font-size: clamp(34px, 5vw, 55px); letter-spacing: -.06em; }
.legal-copy h2 { margin-top: 34px; font-size: 23px; }
.legal-copy p, .legal-copy li { color: var(--muted); line-height: 1.7; }
.legal-copy ul { padding-left: 22px; }

.site-footer { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; width: min(var(--content), calc(100% - 36px)); margin: 0 auto; padding: 25px 0 34px; color: var(--dim); border-top: 1px solid rgba(148,173,207,.12); font-size: 12px; }
.site-footer > div:first-child { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 730; }
.footer-mark, .footer-logo { display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid rgba(67,199,255,.22); border-radius: 7px; color: var(--cyan); object-fit: contain; }
.footer-links { display: flex; gap: 15px; }
.footer-links a { display: inline-flex; align-items: center; gap: 5px; }
.footer-links a img { width: 18px; height: 18px; border: 1px solid rgba(91,212,230,.2); border-radius: 5px; object-fit: contain; }
.footer-links a small { color: var(--cyan); font-size: 9px; letter-spacing: .04em; text-transform: uppercase; }
.footer-links a:hover { color: var(--text); }
.site-footer small { justify-self: end; }
.toast-region { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: grid; gap: 9px; width: min(360px, calc(100% - 40px)); }
.toast { padding: 13px 15px; border: 1px solid var(--border-strong); border-radius: 13px; background: #0d1624; box-shadow: var(--shadow); animation: rise .25s ease both; font-size: 13px; }
.toast.success { border-color: rgba(82,223,177,.42); }
.toast.error { border-color: rgba(255,118,141,.44); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .site-header { gap: 13px; }
  .site-nav { max-width: 100%; }
  .mobile-menu-button { display: block; }
  .site-nav { position: absolute; top: calc(100% + 1px); left: 18px; right: 18px; display: none; flex-direction: column; align-items: stretch; padding: 9px; border: 1px solid var(--border); border-radius: 14px; background: rgba(8, 12, 21, .97); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
  .nav-group > summary { justify-content: space-between; padding: 12px; }
  .nav-submenu { position: static; min-width: 0; margin: 2px 0 0; transform: none; border: 0; border-top: 1px solid var(--border); border-radius: 0 0 10px 10px; background: rgba(255,255,255,.02); box-shadow: none; }
  .nav-group[open] .nav-submenu { animation-name: menu-enter-mobile; }
  .nav-submenu a { padding: 11px 12px; }
  .hero, .product-hero { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-visual { order: -1; min-height: 270px; }
  .hero-visual::before { width: 260px; height: 260px; }
  .hero-visual::after { width: 210px; height: 210px; }
  .hero-orb { width: 140px; height: 140px; }
  .hero-orb img { width: 84px; height: 84px; }
  .section-head { align-items: start; flex-direction: column; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .affiliate-process { grid-template-columns: 1fr; }
  .affiliate-provider-guide { grid-template-columns: 1fr; gap: 28px; }
  .affiliate-provider-actions { grid-column: auto; }
  .ht-affiliate-products { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .affiliate-hub-heading { align-items: stretch; flex-direction: column; }
  .affiliate-hub-actions { width: 100%; }
  .affiliate-hub-official-guide { align-items: stretch; flex-direction: column; }
  .affiliate-hub-heading .button { width: 100%; }
  .affiliate-hub-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .affiliate-hub-skeleton { grid-template-columns: 1fr; }
  .affiliate-hub-link { align-items: stretch; flex-direction: column; }
  .affiliate-hub-link .button { width: 100%; }
}
@media (max-width: 620px) {
  .site-header { padding-inline: 14px; }
  .brand span { display: none; }
  .header-actions { margin-left: 0; }
  .language-button { display: none; }
  .site-main { width: min(100% - 26px, var(--content)); padding-top: 40px; }
  .hero h1 { font-size: clamp(40px, 12vw, 60px); }
  .grid-2, .grid-3, .grid-4, .download-grid { grid-template-columns: 1fr; }
  .affiliate-provider-steps article { grid-template-columns: 38px minmax(0,1fr); gap: 12px; padding-block: 17px; }
  .affiliate-provider-steps article > span { width: 31px; height: 31px; }
  .affiliate-provider-actions .button { width: 100%; }
  .ht-affiliate-provider-guide .affiliate-steps { grid-template-columns: 1fr; }
  .ht-affiliate-product-list { grid-template-columns: 1fr; }
  .level-card { grid-template-columns: 1fr; text-align: center; }
  .level-ring { margin: 0 auto; }
  .level-card .progress-track { text-align: left; }
  .account-head { align-items: start; flex-direction: column; }
  .account-grid { grid-template-columns: 1fr; }
  .account-workspace-grid, .affiliate-kpis { grid-template-columns: 1fr; }
  .tool-shortcut { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .tool-shortcut .button { grid-column: 1 / -1; width: 100%; }
  .account-detail-grid { grid-template-columns: 1fr; }
  .affiliate-cta { align-items: stretch; flex-direction: column; }
  .affiliate-cta .button { width: 100%; }
  .admin-quick-edit { right: 12px; bottom: 12px; }
  .admin-gift-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; gap: 12px; }
  .site-footer small { justify-self: start; }
  .footer-links { flex-wrap: wrap; }
  .evidence-line { align-items: flex-start; flex-direction: column; }
  .evidence-line strong { text-align: left; }
}
@media (max-width: 767px) {
  .neural-ambient { background: radial-gradient(circle at 50% 38%, rgba(67,199,255,.045), transparent 70vw), radial-gradient(circle at 86% 76%, rgba(168,112,255,.04), transparent 58vw), radial-gradient(circle at 18% 84%, rgba(36,106,151,.02), transparent 70vw); }
  .neural-ambient::before { opacity: .36; filter: none; animation: none; }
  .neural-ambient::after { opacity: .26; background-size: 58px 58px; animation: none; }
  .neural-ambient__stars { opacity: .32; animation-duration: 180s; }
  .neural-halo { width: 132vw; height: 132vw; }
  .neural-halo-two { width: 94vw; height: 94vw; }
  .neural-orbit { width: 88vw; height: 26vw; }
  .neural-orbit-two { width: 104vw; height: 30vw; }
}

/* Keep touch layouts GPU-light.  The CSS ambient field is a complete
   fallback when the deferred canvas is skipped on small/slow devices. */
@media (pointer: coarse), (max-width: 767px) {
  .neural-ambient::before,
  .neural-ambient::after,
  .neural-ambient__stars,
  .neural-halo,
  .neural-orbit { animation: none; }

  .site-header,
  .admin-editor,
  .card { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .animate-in { animation: none; opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .neural-ambient::before, .neural-ambient::after, .neural-ambient__stars, .neural-halo, .neural-orbit { animation: none; }
}

/* Final visual refinement: quiet surfaces, deliberate contrast, and motion
   that reads as premium instead of neon.  These overrides intentionally sit
   after the responsive rules so the same visual language survives every
   viewport. */
:root {
  --shadow: 0 14px 34px rgba(0, 0, 0, .22);
  --radius: 18px;
}

body::before { opacity: .62; background: radial-gradient(circle at 18% 26%, rgba(55, 202, 255, .014), transparent 31%), radial-gradient(circle at 84% 74%, rgba(168, 112, 255, .014), transparent 34%); }
.site-header { background: rgba(4, 7, 13, .93); backdrop-filter: blur(16px) saturate(115%); box-shadow: 0 8px 24px rgba(0, 0, 0, .24); }
.brand img { box-shadow: 0 6px 16px rgba(0, 0, 0, .24); }
.eyebrow::before { box-shadow: none; }
.nav-tool-icon img { filter: none; }
.nav-tool-link:hover .nav-tool-icon img, .nav-tool-link:focus-visible .nav-tool-icon img { filter: none; }
.nav-tool-link:hover, .nav-tool-link:focus-visible { border-color: rgba(255,255,255,.16) !important; background: rgba(255,255,255,.055) !important; }
.button { box-shadow: 0 6px 16px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255,255,255,.28); }
.button:hover { box-shadow: 0 10px 22px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255,255,255,.32); }
.card { box-shadow: 0 12px 30px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255,255,255,.025); }
.card:hover { border-color: rgba(255,255,255,.16); box-shadow: 0 18px 38px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255,255,255,.04); }
.hero-visual::before { box-shadow: 0 0 54px rgba(67,199,255,.045), inset 0 0 54px rgba(168,112,255,.04); }
.hero-orb { box-shadow: 0 0 24px rgba(67,199,255,.07), inset 0 0 24px rgba(184,144,255,.055); }
.hero-orb img, .product-art img { filter: none; transform: translateZ(0); }
.product-art { min-height: 250px; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.product-art::before, .product-art::after { display: none; }
.product-art img { width: min(270px, 64%); animation: none; }
.product-art > span, .affiliate-art > span { display: none !important; }
.tool-shortcut-primary .tool-shortcut-icon { width: 68px; height: 68px; border: 0; background: transparent; box-shadow: none; }
.tool-shortcut-primary .tool-shortcut-icon img { width: 68px; height: 68px; }
.enterprise-hero-mark img { width: min(100%, 180px); border-radius: 0; animation: none; }
.enterprise-hero-mark > span { display: none; }

/* The plan renderer is shared by Neural Tuner and Device Master. Keep the
   decision surface in a real grid; the old shell had the markup but no
   layout rules, which collapsed every plan into a tall single column. */
.neural-plan-section-refined,
.ht-device-plan-section { scroll-margin-top: 92px; }
.neural-plan-heading { max-width: 760px; margin: 0 auto 28px; text-align: center; }
.neural-plan-overline { display: block; color: var(--cyan); font-size: 11px; font-weight: 760; letter-spacing: .17em; line-height: 1.35; text-transform: uppercase; }
.neural-plan-heading h2 { margin: 12px 0 10px; color: var(--text); font-size: clamp(31px, 5vw, 54px); line-height: 1.03; letter-spacing: -.065em; }
.neural-plan-heading p { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: 16px; line-height: 1.55; }
.neural-plan-switch { display: inline-flex; align-items: center; gap: 3px; margin: 22px auto 0; padding: 3px; border: 1px solid rgba(148,173,207,.18); border-radius: 999px; background: rgba(255,255,255,.04); }
.neural-plan-switch button { min-height: 37px; padding: 0 17px; color: var(--dim); border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-size: 13px; font-weight: 720; transition: color .18s ease, background .18s ease, box-shadow .18s ease; }
.neural-plan-switch button[aria-selected="true"] { color: var(--text); background: rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.09); }
.neural-plan-switch button:hover, .neural-plan-switch button:focus-visible { color: var(--text); }
.neural-plan-reassurance { margin-top: 14px !important; color: var(--dim) !important; font-size: 12px !important; }
.neural-plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 16px; width: 100%; }
.neural-plan-grid.is-single-plan { grid-template-columns: minmax(0, min(100%, 760px)); justify-content: center; }
.neural-plan-grid.is-single-plan > .neural-plan-card { width: 100%; justify-self: center; }
.neural-plan-section.is-owned { padding-top: clamp(34px, 5vw, 68px); }
.neural-plan-card.is-muted { border-color: rgba(148,173,207,.12); background: linear-gradient(145deg, rgba(13,20,30,.72), rgba(7,11,18,.82)); box-shadow: none; filter: saturate(.48); opacity: .72; }
.neural-plan-card.is-muted:hover { filter: saturate(.62); opacity: .86; }
.neural-plan-card.is-muted .neural-plan-cta { color: var(--muted); border-color: rgba(148,173,207,.24); background: rgba(255,255,255,.035); box-shadow: none; }
.neural-plan-card.is-muted .neural-plan-cta:hover, .neural-plan-card.is-muted .neural-plan-cta:focus-visible { color: var(--text); border-color: rgba(91,212,230,.42); background: rgba(67,199,255,.07); }
.neural-plan-card { display: flex; min-width: 0; min-height: 500px; flex-direction: column; padding: clamp(22px, 3vw, 30px); border: 1px solid rgba(148,173,207,.17); border-radius: 22px; background: linear-gradient(145deg, rgba(13,24,36,.88), rgba(7,12,21,.94)); box-shadow: 0 18px 42px rgba(0,0,0,.18); }
.neural-plan-card.is-featured { border-color: rgba(91,212,230,.48); background: linear-gradient(145deg, rgba(17,29,48,.96), rgba(14,13,37,.96)); box-shadow: 0 20px 48px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.045); }
.neural-plan-card[data-plan-card="enterprise"] { grid-column: 1 / -1; width: min(100%, 760px); justify-self: center; }
.neural-plan-mark { display: block; width: 68px; height: 68px; margin-bottom: 25px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.neural-plan-logo { display: block; width: 68px; height: 68px; object-fit: contain; border: 0; border-radius: 0; background: transparent; }
.neural-plan-logo-free { filter: grayscale(1) brightness(1.65) contrast(.88); }
.neural-plan-logo-enterprise { filter: hue-rotate(52deg) saturate(1.22) brightness(1.06); }
.neural-plan-top { display: flex; align-items: start; justify-content: space-between; gap: 15px; min-width: 0; }
.neural-plan-eyebrow { color: #a7b6cf; font-size: 11px; font-weight: 760; letter-spacing: .14em; line-height: 1.35; text-transform: uppercase; }
.neural-plan-card h3 { margin: 9px 0 0; color: var(--text); font-size: 25px; letter-spacing: -.045em; }
.neural-plan-badge { display: inline; flex: 0 0 auto; padding: 0; color: var(--cyan); border: 0; border-radius: 0; background: transparent; font-size: 10px; font-weight: 760; letter-spacing: .12em; line-height: 1.35; text-transform: uppercase; }
.neural-plan-summary { min-height: 52px; margin: 20px 0 0; color: var(--muted); line-height: 1.55; }
.neural-plan-price { display: flex; align-items: baseline; gap: 8px; margin: 23px 0 17px; }
.neural-plan-price strong { color: var(--text); font-size: clamp(31px, 4vw, 43px); letter-spacing: -.07em; }
.neural-plan-price span { color: var(--dim); font-size: 12px; }
.neural-plan-cta { width: 100%; }
.neural-plan-cta-note { margin: 10px 0 0; color: var(--dim); font-size: 12px; text-align: center; }
.neural-plan-divider { height: 1px; margin: 24px 0 19px; background: rgba(148,173,207,.14); }
.neural-plan-feature-label { margin: 0 0 11px; color: #c7d3e2; font-size: 12px; font-weight: 760; }
.neural-plan-card ul { display: grid; gap: 10px; margin: 0; padding: 0; color: var(--muted); list-style: none; font-size: 13px; line-height: 1.45; }
.neural-plan-card li { display: flex; gap: 9px; min-width: 0; }
.neural-plan-card li > span { color: var(--green); font-weight: 800; }
.neural-plan-seat-control { display: grid; gap: 11px; margin: 2px 0 0; padding: 16px; border: 1px solid rgba(148,173,207,.14); border-radius: 15px; background: rgba(2,7,13,.28); }
.neural-plan-seat-label, .neural-plan-seat-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.neural-plan-seat-label label { color: #c7d3e2; font-size: 12px; font-weight: 720; }
.neural-plan-seat-label output { color: var(--text); font-size: 14px; font-weight: 760; }
.neural-plan-seat-inputs { display: grid; grid-template-columns: minmax(0,1fr) 86px; gap: 10px; align-items: center; }
.neural-plan-seat-inputs input[type="range"] { width: 100%; accent-color: var(--cyan); }
.neural-plan-seat-inputs input[type="number"] { width: 100%; min-height: 34px; padding: 0 9px; color: var(--text); border: 1px solid rgba(148,173,207,.2); border-radius: 8px; background: rgba(255,255,255,.045); }
.neural-plan-seat-meta { color: var(--dim); font-size: 11px; }
.neural-plan-disclaimer { margin: 14px 0 0; color: var(--dim); font-size: 12px; line-height: 1.5; text-align: center; }
.neural-plan-grid { transition: min-height .24s ease; }
.neural-plan-section.is-switching .neural-plan-grid { overflow: hidden; }
.neural-plan-section.is-switching .neural-plan-card:not([hidden]) { animation: plan-card-enter .24s cubic-bezier(.2,.8,.2,1) both; }
@keyframes plan-card-enter { from { opacity: .25; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 620px) {
  .neural-plan-grid { grid-template-columns: 1fr; }
  .neural-plan-card[data-plan-card="enterprise"] { grid-column: auto; width: 100%; }
  .neural-plan-card { min-height: 0; }
  .neural-plan-switch { max-width: 100%; }
  .neural-plan-switch button { padding-inline: 12px; font-size: 12px; }
  .neural-plan-seat-inputs { grid-template-columns: minmax(0,1fr) 76px; }
}

/* Account stays focused on access and actions; progress belongs inside the
   product surface, not the identity page. */
.account-level-card { display: none !important; }
.account-grid:has(.account-level-card) { grid-template-columns: minmax(0, 1fr); }

/* Affiliate facts remain useful without the visual noise of three large
   marketing cards. */
.affiliate-kpis { align-items: stretch; padding: 14px 0; border-top: 1px solid rgba(148,173,207,.12); border-bottom: 1px solid rgba(148,173,207,.12); }
.affiliate-kpis .card { min-height: 0; padding: 10px 18px; border: 0; border-right: 1px solid rgba(148,173,207,.12); border-radius: 0; background: transparent; box-shadow: none; }
.affiliate-kpis .card:last-child { border-right: 0; }
.affiliate-kpis .card:hover { transform: none; box-shadow: none; }
.affiliate-kpis strong { font-size: clamp(22px, 3vw, 32px); }

/* Download cards use self-hosted platform marks so they render immediately,
   without a font/CDN flash or a hand-drawn glyph. */
.platform-icon { padding: 5px; border-color: rgba(148,173,207,.2); background: #0a1019; box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 8px 18px rgba(0,0,0,.2); }
.platform-logo { display: block; width: 30px; height: 30px; object-fit: contain; filter: none; }
.platform-card .platform-icon { flex: 0 0 auto; }

/* The checkout mode is deliberately explicit: changing the tab updates the
   hidden purchase value, the short explanation, and the CTA in one frame. */
.checkout-tabs { margin-bottom: 10px; }
.checkout-tabs .tab { min-height: 42px; font-weight: 720; transition: color .18s ease, background-color .18s ease, transform .18s ease; }
.checkout-tabs .tab:hover { color: var(--text); background: rgba(255,255,255,.055); }
.checkout-tabs .tab:active { transform: translateY(1px); }
.checkout-mode-copy { display: grid; gap: 3px; min-height: 46px; margin: 0 0 15px; padding: 11px 13px; border-left: 2px solid var(--cyan); border-radius: 0 11px 11px 0; background: rgba(67,199,255,.055); }
.checkout-mode-copy[hidden] { display: none !important; }
.checkout-mode-copy strong { color: var(--text); font-size: 13px; }
.checkout-mode-copy small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.latest-build { min-height: 52px; }
.latest-build > strong { color: var(--text); font-size: 14px; }
.latest-build-version { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 11px; border: 1px solid rgba(91,212,230,.22); border-radius: 999px; background: rgba(91,212,230,.07); color: #c3f4f6; font-size: 12px; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: .025em; }
#platforms { scroll-margin-top: 88px; }

/* Touch devices do not have a meaningful hover state. Removing hover-only
   transforms there prevents accidental jumps and keeps scrolling responsive. */
@media (pointer: coarse) {
  .button:hover, .card:hover, .site-nav a:hover, .nav-group > summary:hover { transform: none; }
  .button::after { display: none; }
  .nav-tool-link:hover .nav-tool-icon img, .nav-tool-link:focus-visible .nav-tool-icon img { transform: none; }
}

/* A compact focus treatment is visible on keyboard navigation without
   adding a permanent outline to every control. */
:where(.button, .icon-button, .mobile-menu-button, .language-button, .nav-submenu a, .site-nav > a):focus-visible {
  outline: 2px solid rgba(91,212,230,.82);
  outline-offset: 3px;
}

@media (max-width: 620px) {
  .affiliate-kpis { grid-template-columns: 1fr; gap: 0; }
  .affiliate-kpis .card { border-right: 0; border-bottom: 1px solid rgba(148,173,207,.12); }
  .affiliate-kpis .card:last-child { border-bottom: 0; }
}

/* Final control pass: a quiet, tactile surface with no decorative sheen or
   neon halo. The transition is limited to paint properties so scrolling and
   low-power devices stay predictable. */
.button {
  background: #b6e6ef;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .18);
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.button::after { display: none; }
.button:hover {
  background: #c4edf3;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .22);
}
.button:active { box-shadow: 0 1px 0 rgba(0, 0, 0, .18); }
.button-quiet { background: rgba(255,255,255,.055); box-shadow: none; }
.button-quiet:hover { background: rgba(255,255,255,.095); box-shadow: none; }
.button-outline { background: transparent; box-shadow: none; }
.button-outline:hover { background: rgba(67,199,255,.08); box-shadow: none; }
.button-danger { background: rgba(255, 76, 110, .12); box-shadow: none; }
.button-danger:hover { background: rgba(255, 76, 110, .18); box-shadow: none; }
.admin-edit-trigger { background: #d8c99e; box-shadow: 0 3px 0 rgba(0,0,0,.25); }
.admin-edit-trigger:hover { background: #e3d5ac; box-shadow: 0 5px 0 rgba(0,0,0,.28); }

/* Affiliate links are deliberately visible and selectable. A readonly field
   communicates that the URL is canonical while still making copy/paste easy
   on desktop and touch screens. */
.affiliate-hub-link-url { align-items: end; }
.affiliate-hub-link-value-wrap { display: grid; gap: 5px; min-width: 0; flex: 1 1 auto; }
.affiliate-hub-link-value {
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
  color: var(--text);
  border: 1px solid rgba(91,212,230,.22);
  border-radius: 9px;
  background: rgba(2, 7, 13, .72);
  font: 600 12px/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: -.01em;
  user-select: text;
  cursor: text;
}
.affiliate-hub-link-value:focus { outline: 2px solid rgba(91,212,230,.65); outline-offset: 2px; }

/* Guard every grid child against a long email, URL, or translated label
   widening the layout and creating a one-pixel horizontal scrollbar. */
.site-main, .site-main > *, .grid > *, .card, .field, .form { min-width: 0; }
img, svg, video { max-width: 100%; }
input, select, textarea { max-width: 100%; }

@media (max-width: 620px) {
  .affiliate-hub-link-url { align-items: stretch; }
  .affiliate-hub-link-value { font-size: 11px; }
}

/* Device Master landing: a restrained product surface that shares the
   Neural Tuner visual language without the old neon halo treatment. */
.device-master-page { padding-bottom: 8px; }
.device-master-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, .92fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  min-height: 470px;
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid rgba(91,212,230,.16);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(13, 30, 43, .78), rgba(8, 13, 24, .96) 68%);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .22);
}
.device-master-hero-copy { min-width: 0; }
.device-master-hero-copy .eyebrow { display: block; margin-top: 18px; }
.device-master-hero h1 { margin: 16px 0 20px; max-width: 680px; font-size: clamp(42px, 7vw, 78px); line-height: .98; letter-spacing: -.075em; }
.device-master-hero h1 em { color: #c7f0f5; font-style: normal; }
.device-master-hero p { max-width: 620px; margin: 0; color: var(--muted); font-size: clamp(16px, 2vw, 19px); line-height: 1.62; }
.device-master-hero .hero-actions { margin-top: 30px; }
.device-master-hero-art { display: grid; justify-items: center; gap: 16px; color: var(--dim); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.device-master-mark { display: grid; place-items: center; width: min(100%, 290px); aspect-ratio: 1; padding: 28px; border: 1px solid rgba(91,212,230,.22); border-radius: 40px; background: #080f1f; box-shadow: 0 22px 45px rgba(0,0,0,.32); }
.device-master-mark img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 23%; }
.device-master-features .section-head { max-width: 720px; }
.device-master-feature-grid { gap: 12px; }
.device-master-feature { min-height: 168px; padding: 22px; }
.device-master-feature-number { display: inline-grid; place-items: center; width: 31px; height: 31px; margin-bottom: 26px; color: #b6e6ef; border: 1px solid rgba(91,212,230,.28); border-radius: 9px; background: rgba(91,212,230,.08); font: 750 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.device-master-feature h3 { margin-bottom: 8px; }
.device-master-feature p { margin: 0; font-size: 13px; }
.device-master-preview-section { scroll-margin-top: 20px; }
.device-master-preview-shell { overflow: hidden; border: 1px solid rgba(91,212,230,.18); border-radius: 22px; background: #09111e; box-shadow: 0 22px 58px rgba(0,0,0,.24); }
.device-master-preview-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.device-master-preview-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.device-master-preview-brand img { width: 36px; height: 36px; border-radius: 10px; object-fit: contain; }
.device-master-preview-brand strong, .device-master-preview-brand small { display: block; }
.device-master-preview-brand strong { color: #fff; font-size: 11px; letter-spacing: .09em; }
.device-master-preview-brand small { margin-top: 4px; color: var(--dim); font-size: 11px; }
.device-master-preview-count { padding: 7px 10px; color: #b6e6ef; border: 1px solid rgba(91,212,230,.2); border-radius: 999px; background: rgba(91,212,230,.07); font-size: 11px; font-weight: 750; white-space: nowrap; }
.device-master-preview-layout { display: grid; grid-template-columns: minmax(170px, .72fr) minmax(0, 1.28fr); gap: 12px; padding: 14px; }
.device-master-preview-list { display: grid; align-content: start; gap: 7px; }
.device-master-preview-device { display: grid; grid-template-columns: 29px minmax(0, 1fr) auto; gap: 9px; align-items: center; min-height: 46px; padding: 7px 9px; color: #a8b4c4; border: 1px solid transparent; border-radius: 11px; font-size: 12px; }
.device-master-preview-device b { color: #5d6b7f; font-size: 17px; font-weight: 500; }
.device-master-preview-device.is-active { color: #fff; border-color: rgba(91,212,230,.2); background: rgba(91,212,230,.08); }
.device-master-device-glyph { display: grid; place-items: center; width: 29px; height: 29px; color: #b6e6ef; border: 1px solid rgba(91,212,230,.2); border-radius: 9px; background: rgba(91,212,230,.07); font-size: 11px; font-weight: 800; }
.device-master-preview-controls { padding: 18px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(2,7,13,.34); }
.device-master-preview-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
.device-master-preview-heading span { display: block; color: #6d8298; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.device-master-preview-heading strong { display: block; margin-top: 6px; color: #fff; font-size: 17px; letter-spacing: -.03em; }
.device-master-live-dot { width: 8px; height: 8px; margin-top: 3px; border-radius: 50%; background: #5fddb5; box-shadow: 0 0 0 4px rgba(95,221,181,.1); }
.device-master-control-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.055); color: #96a7ba; font-size: 12px; }
.device-master-control-row b { color: #dff9fc; font-size: 13px; }
.device-master-preview-save { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 11px 12px; color: #8291a4; border-radius: 10px; background: rgba(91,212,230,.06); font-size: 11px; }
.device-master-preview-save span { color: #b6e6ef; font-size: 15px; }
.device-master-pricing-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); gap: 28px; align-items: center; }
.device-master-pricing-card h2 { max-width: 600px; margin: 13px 0 0; color: #d9e2ec; font-size: clamp(20px, 3vw, 29px); line-height: 1.2; letter-spacing: -.045em; }
.device-master-price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.device-master-price-grid > div { padding: 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.025); }
.device-master-price-grid span, .device-master-price-grid small { display: block; color: var(--dim); font-size: 11px; }
.device-master-price-grid strong { display: block; margin: 9px 0 5px; color: #fff; font-size: 21px; letter-spacing: -.04em; }
.device-master-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(54px, 8vw, 110px); }
.device-master-cta h2 { margin: 10px 0 0; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.05em; }
.device-master-cta p { max-width: 580px; margin: 10px 0 0; }
.device-master-admin-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; border-color: rgba(244,197,109,.25); background: linear-gradient(145deg, rgba(38,31,17,.7), rgba(12,17,28,.92)); }
.device-master-admin-panel h2 { margin: 9px 0 0; color: #fff; font-size: clamp(20px, 3vw, 27px); letter-spacing: -.045em; }
.device-master-admin-panel p { max-width: 720px; margin: 9px 0 0; color: var(--muted); line-height: 1.55; }
.device-master-admin-panel .button:disabled { cursor: not-allowed; opacity: .62; }

/* Enterprise is a focused commercial surface: one calm calculator, explicit
   unit pricing, and no neon decoration competing with the decision. */
.enterprise-page { padding-bottom: 8px; }
.enterprise-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(220px, .9fr); align-items: center; gap: clamp(28px, 6vw, 82px); min-height: 390px; padding: clamp(30px, 5vw, 60px); border: 1px solid rgba(91,212,230,.17); border-radius: 28px; background: linear-gradient(135deg, rgba(13, 30, 43, .78), rgba(8, 13, 24, .96) 72%); box-shadow: 0 22px 62px rgba(0,0,0,.22); }
.enterprise-hero h1 { max-width: 690px; margin: 17px 0 16px; font-size: clamp(40px, 6.3vw, 72px); line-height: .99; letter-spacing: -.07em; }
.enterprise-hero p { max-width: 640px; margin: 0; color: var(--muted); font-size: clamp(16px, 2vw, 19px); line-height: 1.6; }
.enterprise-points { display: flex; flex-wrap: wrap; gap: 9px 16px; margin-top: 25px; color: #b8c8da; font-size: 12px; }
.enterprise-points span { display: inline-flex; align-items: center; gap: 6px; }
.enterprise-hero-mark { display: grid; justify-items: center; gap: 12px; color: var(--dim); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.enterprise-hero-mark img { width: min(100%, 170px); height: auto; object-fit: contain; border-radius: 28px; animation: product-logo-drift 8s ease-in-out infinite; }
.enterprise-calculator { margin-top: clamp(54px, 8vw, 100px); padding: clamp(22px, 4vw, 36px); background: linear-gradient(145deg, rgba(16,27,40,.92), rgba(8,13,23,.96)); }
.enterprise-calculator-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.enterprise-calculator-head h2 { margin: 11px 0 0; font-size: clamp(25px, 4vw, 38px); letter-spacing: -.055em; }
.enterprise-calculator-head p { max-width: 560px; margin: 8px 0 0; color: var(--muted); line-height: 1.5; }
.enterprise-price-highlight { display: grid; flex: 0 0 auto; justify-items: end; gap: 3px; }
.enterprise-price-highlight strong { color: var(--text); font-size: clamp(30px, 4vw, 44px); letter-spacing: -.06em; }
.enterprise-price-highlight span { color: var(--dim); font-size: 11px; }
.enterprise-calculator-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(250px, .9fr); gap: 16px; margin-top: 28px; }
.enterprise-seat-control, .enterprise-quote-summary { padding: 18px; border: 1px solid rgba(148,173,207,.13); border-radius: 16px; background: rgba(2,7,13,.28); }
.enterprise-seat-range { width: 100%; margin-top: 18px; accent-color: var(--cyan); }
.enterprise-range-labels { display: flex; justify-content: space-between; margin-top: 5px; color: var(--dim); font-size: 10px; }
.enterprise-tier-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 20px; }
.enterprise-tier-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; padding: 9px 10px; color: var(--dim); border: 1px solid rgba(148,173,207,.1); border-radius: 10px; background: rgba(255,255,255,.018); font-size: 11px; transition: border-color .18s ease, color .18s ease, background .18s ease; }
.enterprise-tier-row strong { color: #b9c7d9; font-size: 12px; }
.enterprise-tier-row[data-active] { color: #dff9fc; border-color: rgba(91,212,230,.35); background: rgba(91,212,230,.08); }
.enterprise-tier-row[data-active] strong { color: var(--cyan); }
.enterprise-quote-summary { display: grid; align-content: start; gap: 17px; }
.enterprise-quote-summary > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgba(148,173,207,.1); }
.enterprise-quote-summary > div > span { color: var(--muted); font-size: 12px; }
.enterprise-quote-summary > div > strong { color: var(--text); font-size: 23px; letter-spacing: -.04em; }
.enterprise-quote-summary .enterprise-saving { color: var(--green); }
.enterprise-quote-summary > p { margin: 0; color: #c4d4e5; font-size: 12px; }
.enterprise-locked-note { color: var(--dim) !important; line-height: 1.55; }
.enterprise-checkout-form { display: grid; gap: 14px; margin-top: 17px; padding-top: 21px; border-top: 1px solid rgba(148,173,207,.1); }
.enterprise-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.enterprise-checkout-submit { width: 100%; }
.enterprise-checkout-submit:disabled { cursor: not-allowed; opacity: .68; }
.enterprise-login-hint { justify-self: center; color: var(--cyan); font-size: 12px; }
.enterprise-login-hint:hover { text-decoration: underline; }
.enterprise-checkout-form .form-error { margin: 0; }
.enterprise-how { margin-top: clamp(54px, 8vw, 100px); }
.enterprise-step { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 24px; color: var(--cyan); border: 1px solid rgba(91,212,230,.26); border-radius: 9px; background: rgba(91,212,230,.07); font: 750 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.enterprise-how .card { min-height: 150px; }
.enterprise-how .card h3 { margin-bottom: 8px; }
.enterprise-how .card p { margin: 0; font-size: 13px; }

@media (max-width: 840px) {
  .device-master-hero { grid-template-columns: 1fr; min-height: 0; }
  .device-master-hero-art { justify-items: start; grid-template-columns: auto 1fr; align-items: center; }
  .device-master-mark { width: 132px; padding: 14px; border-radius: 23px; }
  .device-master-hero-art span { max-width: 180px; }
  .device-master-pricing-card { grid-template-columns: 1fr; }
  .enterprise-hero { grid-template-columns: 1fr; min-height: 0; }
  .enterprise-hero-mark { justify-items: start; grid-template-columns: auto 1fr; align-items: center; }
  .enterprise-hero-mark img { width: 110px; }
  .enterprise-calculator-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .device-master-hero { padding: 26px 20px; border-radius: 22px; }
  .device-master-hero h1 { font-size: clamp(38px, 13vw, 58px); }
  .device-master-hero .hero-actions { align-items: stretch; flex-direction: column; }
  .device-master-hero .hero-actions .button { width: 100%; }
  .device-master-preview-layout { grid-template-columns: 1fr; }
  .device-master-preview-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .device-master-preview-device { min-height: 42px; font-size: 11px; }
  .device-master-price-grid { grid-template-columns: 1fr; }
  .device-master-cta { align-items: stretch; flex-direction: column; }
  .device-master-cta .button { width: 100%; }
  .device-master-admin-panel { align-items: stretch; flex-direction: column; }
  .device-master-admin-panel .button { width: 100%; }
  .enterprise-calculator-head { align-items: flex-start; flex-direction: column; }
  .enterprise-price-highlight { justify-items: start; }
  .enterprise-tier-list, .enterprise-form-grid { grid-template-columns: 1fr; }
}

.account-device-master-card { background: linear-gradient(145deg, rgba(18,28,57,.86), rgba(10,15,28,.92)); }
.account-device-master-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.account-device-master-heading h2 { margin: 9px 0 0; font-size: clamp(23px, 3vw, 30px); letter-spacing: -.05em; }
.account-device-master-heading img { width: 56px; height: 56px; flex: 0 0 auto; border: 1px solid rgba(91,212,230,.2); border-radius: 15px; object-fit: contain; }
.account-device-master-card > p { max-width: 740px; color: var(--muted); line-height: 1.58; }
.account-device-master-card .account-actions { align-items: center; }

/* Neural Tuner account device controls: readable at a glance and responsive. */
.ht-account-device-content { min-width: 0; }
.ht-account-device-table {
  overflow: hidden;
  border: 1px solid rgba(142, 166, 197, .16);
  border-radius: 15px;
  background: rgba(7, 12, 23, .46);
}
.ht-account-device-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.45fr) minmax(100px, .65fr) minmax(160px, 1fr) minmax(100px, .55fr);
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 13px 17px;
  border-top: 1px solid rgba(142, 166, 197, .12);
}
.ht-account-device-row:first-child { border-top: 0; }
.ht-account-device-heading {
  min-height: 46px;
  color: var(--muted, #9aa9bc);
  background: rgba(128, 153, 184, .055);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .045em;
}
.ht-account-device-name { min-width: 0; }
.ht-account-device-name strong,
.ht-account-device-name small { display: block; overflow-wrap: anywhere; }
.ht-account-device-name strong { color: var(--text, #edf3fb); font-size: 14px; }
.ht-account-device-name small { margin-top: 5px; color: var(--muted, #9aa9bc); font-size: 12px; line-height: 1.4; }
.ht-account-device-status { display: inline-flex; width: fit-content; align-items: center; gap: 7px; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 700; }
.ht-account-device-status::before { width: 7px; height: 7px; border-radius: 50%; background: currentColor; content: ""; }
.ht-account-device-status.is-active { color: #55d9b2; background: rgba(50, 193, 151, .1); }
.ht-account-device-status.is-signed-out { color: #98a6b9; background: rgba(142, 166, 197, .09); }
.ht-account-device-date { color: var(--muted, #9aa9bc); font-size: 13px; line-height: 1.45; }
.ht-account-device-action { justify-self: start; }
.ht-account-device-current { color: var(--muted, #9aa9bc); font-size: 12px; }
.ht-account-device-empty { padding: 18px; color: var(--muted, #9aa9bc); font-size: 14px; line-height: 1.5; }
.ht-account-device-empty.is-error { color: #ffb3bc; }
.ht-account-device-empty .button { margin-left: 9px; }

@media (max-width: 700px) {
  .ht-account-device-heading { display: none; }
  .ht-account-device-row:not(.ht-account-device-heading) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 11px 14px;
    padding: 15px;
  }
  .ht-account-device-name { grid-column: 1 / -1; }
  .ht-account-device-cell:not(.ht-account-device-name)::before {
    display: block;
    margin-bottom: 5px;
    color: var(--muted, #9aa9bc);
    content: attr(data-label);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
  }
  .ht-account-device-action { justify-self: stretch; }
  .ht-account-device-action .button { min-height: 36px; }
}

/* Account access is one decision surface. The previous two-column rule stayed
   active after the progress card was removed, leaving a narrow license card
   and an empty desktop column. Keep the access card and redemption action
   aligned to the full content width. */
.account-grid { grid-template-columns: minmax(0, 1fr); }
.account-grid > .account-card,
.account-grid > .ht-gift-redeem-card { min-width: 0; }
.account-access-card.ht-account-license-card {
  display: grid;
  grid-template-columns: minmax(84px, 112px) minmax(0, 1fr);
  column-gap: clamp(20px, 3vw, 34px);
  align-items: start;
  min-height: 0;
  padding: clamp(22px, 4vw, 34px);
}
.ht-account-license-card [data-account-license-visual] {
  display: flex;
  grid-column: 1;
  grid-row: 1 / span 3;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  gap: 13px;
  width: 112px;
  min-height: 112px;
  padding-top: 1px;
}
.ht-account-license-logo {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.ht-account-license-logo img {
  display: block;
  width: 92px;
  height: 92px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.ht-account-license-key,
.ht-account-license-check {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #edf5fb;
  border: 1px solid rgba(237,245,251,.24);
  border-radius: 12px;
  background: rgba(237,245,251,.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
  font-size: 19px;
  font-weight: 800;
}
.ht-account-license-key svg { display: block; width: 24px; height: 24px; fill: currentColor; }
.ht-account-license-card .account-card-heading,
.ht-account-license-card > p,
.ht-account-license-card .account-actions { grid-column: 2; }
.ht-account-license-card .account-card-heading { min-width: 0; }
.ht-account-license-card > p { max-width: 760px; margin: 17px 0 0; color: var(--muted); line-height: 1.58; }
.ht-account-license-card .account-actions { margin-top: 22px; }
.ht-account-license-card.is-enterprise .ht-account-license-logo img { filter: hue-rotate(52deg) saturate(1.22) brightness(1.06); }
.ht-account-avatar-enhanced {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border-color: rgba(91,212,230,.34);
  background: rgba(7,14,24,.72);
  box-shadow: 0 10px 26px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.08);
}
.ht-account-avatar-enhanced img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; }
.ht-account-avatar-enhanced.google img { width: 92px; height: 92px; object-fit: cover; }
.ht-account-email-primary { margin: 0; color: #dce8f5; font-size: clamp(15px, 2vw, 18px); line-height: 1.45; }
.ht-account-identity-enhanced { align-items: center; }

/* Gift-code redemption is intentionally small and single-purpose. It uses
   the same authenticated API as the native app, so a web redemption updates
   the same entitlement ledger instead of creating a second license state. */
.ht-gift-redeem-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  gap: 24px;
  grid-column: 1 / -1;
  align-items: center;
  padding: clamp(20px, 3vw, 28px);
  border-color: rgba(91,212,230,.2);
  background: linear-gradient(135deg, rgba(11,31,43,.74), rgba(9,14,25,.94));
}
.ht-gift-redeem-copy h2 { margin: 9px 0 0; font-size: clamp(22px, 3vw, 30px); letter-spacing: -.05em; }
.ht-gift-redeem-copy p { max-width: 620px; margin: 10px 0 0; color: var(--muted); line-height: 1.55; }
.ht-gift-redeem-form { gap: 10px; }
.ht-gift-redeem-form .button { width: 100%; }
.ht-gift-redeem-form .metric-note { margin: 2px 0 0; line-height: 1.45; }
.ht-gift-redeem-form .form-error,
.ht-gift-redeem-form .form-success { margin: 0; }

/* Keep the two purchase choices legible when an unlicensed visitor arrives
   from a plan card, and keep the checkout card from inheriting a cramped
   desktop column. */
.ht-account-checkout { scroll-margin-top: 92px; }
.ht-account-checkout-card { width: 100%; background: linear-gradient(145deg, rgba(17,33,46,.9), rgba(9,14,24,.96)); }
.ht-account-checkout-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.ht-account-checkout-head h2 { margin: 10px 0 0; font-size: clamp(23px, 3vw, 32px); letter-spacing: -.055em; }
.ht-account-checkout-head p { max-width: 680px; margin: 9px 0 0; color: var(--muted); line-height: 1.55; }
.ht-checkout-trust { flex: 0 0 auto; color: var(--green); font-size: 11px; font-weight: 760; white-space: nowrap; }
.ht-checkout-mode-tabs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 4px; margin-top: 23px; padding: 4px; border: 1px solid rgba(148,173,207,.17); border-radius: 13px; background: rgba(255,255,255,.025); }
.ht-checkout-mode { min-height: 42px; padding: 0 12px; color: var(--muted); border: 0; border-radius: 9px; background: transparent; cursor: pointer; font-weight: 720; }
.ht-checkout-mode[aria-selected="true"], .ht-checkout-mode:hover { color: var(--text); background: rgba(255,255,255,.1); }
.ht-checkout-mode-single { margin-top: 23px; padding: 11px 13px; color: var(--text); border-left: 2px solid var(--cyan); border-radius: 0 11px 11px 0; background: rgba(67,199,255,.055); font-size: 13px; font-weight: 720; }
.ht-account-checkout-form { margin-top: 16px; }
.ht-account-checkout-form .button { width: 100%; }
.ht-plan-choice-actions { display: grid; gap: 9px; width: 100%; }
.ht-plan-choice-actions .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; }

@media (max-width: 700px) {
  .account-access-card.ht-account-license-card { grid-template-columns: 76px minmax(0,1fr); column-gap: 16px; }
  .ht-account-license-card [data-account-license-visual] { width: 76px; min-height: 76px; }
  .ht-account-license-logo, .ht-account-license-logo img { width: 72px; height: 72px; }
  .ht-gift-redeem-card { grid-template-columns: 1fr; gap: 17px; }
  .ht-account-checkout-head { flex-direction: column; }
  .ht-checkout-trust { white-space: normal; }
}

@media (max-width: 480px) {
  .account-access-card.ht-account-license-card { grid-template-columns: 1fr; }
  .ht-account-license-card [data-account-license-visual] { grid-column: 1; grid-row: auto; align-items: flex-start; flex-direction: row; width: auto; min-height: 72px; }
  .ht-account-license-card .account-card-heading,
  .ht-account-license-card > p,
  .ht-account-license-card .account-actions { grid-column: 1; }
  .ht-checkout-mode-tabs { grid-template-columns: 1fr; }
}

/* Embedded browsers may disable native confirm() dialogs. Keep administrator
   access changes usable and explicit with an in-page confirmation instead of
   leaving the action apparently inert. */
.ht-admin-confirm {
  position: fixed;
  z-index: 10050;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(1,5,12,.72);
  backdrop-filter: blur(10px);
}
.ht-admin-confirm-card {
  width: min(100%, 440px);
  padding: 26px;
  border: 1px solid rgba(91,212,230,.28);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(16,31,47,.98), rgba(10,14,27,.99));
  box-shadow: 0 24px 70px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.07);
}
.ht-admin-confirm-card h2 { margin: 9px 0 10px; color: var(--text); font-size: 24px; letter-spacing: -.045em; }
.ht-admin-confirm-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.ht-admin-confirm-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; }

/* Administrator control center: keep the editor usable at any viewport size.
   The panel contains several data-heavy panes, so only the active pane should
   scroll; the header, tabs, and contextual status must remain available. */
.admin-pro-panel {
  display: flex;
  width: min(760px, calc(100vw - 32px));
  height: min(780px, calc(100vh - 92px));
  min-width: min(420px, calc(100vw - 32px));
  min-height: 360px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 32px);
  flex-direction: column;
  overflow: hidden;
  resize: both;
  padding: 0;
  border: 1px solid rgba(91,212,230,.28);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(10,24,37,.985), rgba(8,12,23,.99));
  box-shadow: 0 28px 90px rgba(0,0,0,.56), inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter: blur(22px);
}
.admin-pro-panel[hidden] { display: none !important; }
.admin-pro-head { display: flex; flex: 0 0 auto; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 20px 22px 14px; }
.admin-pro-head .eyebrow { color: var(--cyan); }
.admin-pro-head h2 { margin: 7px 0 0; color: var(--text); font-size: clamp(22px, 3vw, 30px); letter-spacing: -.055em; }
.admin-pro-head p { max-width: 520px; margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.admin-context-bar { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 12px; margin: 0 22px 12px; padding: 8px 11px; color: var(--dim); border: 1px solid rgba(148,173,207,.14); border-radius: 10px; background: rgba(255,255,255,.03); font-size: 11px; }
.admin-context-bar strong { color: var(--text); font-weight: 720; }
.admin-pro-status { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 16px; margin: 0 22px 12px; padding: 11px 13px; border: 1px solid rgba(148,173,207,.15); border-radius: 13px; background: rgba(255,255,255,.035); }
.admin-pro-status > div { display: grid; min-width: 0; gap: 3px; }
.admin-pro-status strong { color: var(--text); font-size: 12px; }
.admin-pro-status small { overflow: hidden; color: var(--dim); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.admin-pro-status-dot { width: 8px; height: 8px; margin-right: 7px; display: inline-block; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px rgba(91,212,230,.7); }
.admin-switch { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; font-weight: 720; cursor: pointer; }
.admin-switch input { position: absolute; opacity: 0; pointer-events: none; }
.admin-switch i { position: relative; display: block; width: 38px; height: 22px; border: 1px solid rgba(148,173,207,.3); border-radius: 999px; background: rgba(255,255,255,.08); transition: background .18s ease, border-color .18s ease; }
.admin-switch i::after { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #a5b4c7; content: ""; transition: transform .18s ease, background .18s ease; }
.admin-switch input:checked + i { border-color: rgba(91,212,230,.65); background: rgba(91,212,230,.22); }
.admin-switch input:checked + i::after { transform: translateX(16px); background: var(--cyan); }
.admin-pro-tabs { display: flex; flex: 0 0 auto; gap: 4px; margin: 0 22px; padding: 4px; overflow-x: auto; border: 1px solid rgba(148,173,207,.16); border-radius: 12px; background: rgba(255,255,255,.03); scrollbar-width: thin; }
.admin-pro-tabs button { min-height: 35px; padding: 0 12px; color: var(--dim); border: 0; border-radius: 8px; background: transparent; cursor: pointer; font-size: 11px; font-weight: 760; white-space: nowrap; }
.admin-pro-tabs button[aria-selected="true"], .admin-pro-tabs button:hover, .admin-pro-tabs button:focus-visible { color: var(--text); background: rgba(91,212,230,.13); }
.admin-pro-pane { display: flex; min-height: 0; flex: 1 1 auto; flex-direction: column; gap: 16px; margin-top: 14px; padding: 0 22px 22px; overflow: auto; scrollbar-color: rgba(91,212,230,.4) transparent; }
.admin-pro-pane[hidden] { display: none !important; }
.admin-pro-pane-head { display: flex; flex: 0 0 auto; align-items: flex-start; justify-content: space-between; gap: 14px; }
.admin-pro-pane-head h3 { margin: 7px 0 0; color: var(--text); font-size: 20px; letter-spacing: -.04em; }
.admin-pro-pane-head p { max-width: 520px; margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.admin-pro-empty { display: grid; flex: 1 1 auto; place-items: center; min-height: 220px; padding: 28px; color: var(--muted); text-align: center; }
.admin-pro-empty-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 13px; color: var(--cyan); border: 1px solid rgba(91,212,230,.25); border-radius: 16px; background: rgba(91,212,230,.08); font-size: 20px; }
.admin-pro-empty strong { color: var(--text); font-size: 15px; }
.admin-pro-empty p { max-width: 400px; margin: 8px auto 0; font-size: 12px; line-height: 1.55; }
.admin-pro-form { display: grid; gap: 13px; }
.admin-pro-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.admin-pro-selection { display: grid; gap: 4px; padding: 12px; border: 1px solid rgba(91,212,230,.2); border-radius: 12px; background: rgba(91,212,230,.05); }
.admin-pro-selection strong { color: var(--text); font-size: 14px; }
.admin-pro-selection small { color: var(--dim); font-size: 11px; }
.admin-pro-live-note { display: flex; align-items: center; gap: 8px; color: var(--dim); font-size: 11px; }
.admin-pro-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(82,223,177,.7); }
.admin-pro-actions { display: flex; justify-content: flex-end; gap: 9px; }
.admin-pro-state-guide { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.admin-pro-state-guide > div { display: grid; gap: 3px; padding: 11px; border: 1px solid rgba(148,173,207,.14); border-radius: 11px; background: rgba(255,255,255,.025); }
.admin-pro-state-guide strong { color: var(--text); font-size: 12px; }
.admin-pro-state-guide span { color: var(--dim); font-size: 11px; }
.admin-pro-structure-list { display: grid; gap: 8px; }
.admin-pro-structure-item { display: grid; grid-template-columns: 9px minmax(0,1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 11px 12px; color: var(--text); border: 1px solid rgba(148,173,207,.14); border-radius: 11px; background: rgba(255,255,255,.025); cursor: pointer; text-align: left; }
.admin-pro-structure-item:hover { border-color: rgba(91,212,230,.38); background: rgba(91,212,230,.06); }
.admin-pro-structure-item > span:nth-child(2) { display: grid; gap: 3px; min-width: 0; }
.admin-pro-structure-item strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.admin-pro-structure-item small { color: var(--dim); font-size: 10px; }
.admin-pro-structure-status { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.admin-pro-structure-status.is-hidden { background: var(--amber); }
.admin-pro-commerce-slot { display: grid; min-height: 0; gap: 16px; }
.admin-access-toolbar { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.admin-access-search { flex: 1 1 auto; min-width: 0; }
.admin-access-summary { flex: 0 0 auto; color: var(--dim); font-size: 11px; }
.admin-access-table { display: grid; min-width: 760px; gap: 8px; }
.admin-access-row { display: grid; grid-template-columns: minmax(155px,1.35fr) minmax(82px,.7fr) minmax(195px,1.6fr) minmax(120px,1fr) auto; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid rgba(148,173,207,.14); border-radius: 11px; background: rgba(255,255,255,.025); }
.admin-access-heading-row { padding-block: 6px; color: var(--dim); border: 0; background: transparent; font-size: 10px; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.admin-access-row > [role="cell"], .admin-access-row > div { display: grid; min-width: 0; gap: 3px; }
.admin-access-row strong { overflow: hidden; color: var(--text); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.admin-access-row small { overflow: hidden; color: var(--dim); font-size: 10px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.admin-access-status.is-active strong { color: var(--green); }
.admin-access-status.is-disabled strong { color: var(--amber); }

@media (max-width: 620px) {
  .admin-pro-panel { width: calc(100vw - 24px); min-width: calc(100vw - 24px); height: min(720px, calc(100vh - 32px)); }
  .admin-pro-head, .admin-pro-pane { padding-inline: 16px; }
  .admin-context-bar, .admin-pro-status, .admin-pro-tabs { margin-inline: 16px; }
  .admin-pro-grid, .admin-pro-state-guide { grid-template-columns: 1fr; }
  .admin-pro-actions { flex-direction: column-reverse; }
  .admin-pro-actions .button { width: 100%; }
}

/* Lemon Squeezy fallback frame. The official Lemon.js overlay is preferred;
   this keeps checkout embedded when that small provider script is delayed or
   filtered by a browser extension. */
.ht-checkout-frame-open { overflow: hidden; }
.ht-checkout-preparing-panel { display: grid; min-width: min(90vw, 360px); place-items: center; gap: 12px; padding: 34px 38px; color: var(--text); border: 1px solid rgba(148,173,207,.26); border-radius: 18px; background: linear-gradient(145deg, rgba(17,33,46,.98), rgba(9,14,24,.98)); box-shadow: 0 28px 90px rgba(0,0,0,.55); text-align: center; }
.ht-checkout-preparing-panel strong { font-size: 16px; }
.ht-checkout-preparing-panel small { color: var(--muted); font-size: 12px; }
.ht-checkout-preparing-spinner { width: 28px; height: 28px; border: 3px solid rgba(91,212,230,.22); border-top-color: var(--cyan); border-radius: 50%; animation: ht-checkout-spin .72s linear infinite; }
@keyframes ht-checkout-spin { to { transform: rotate(360deg); } }
.ht-checkout-overlay { position: fixed; z-index: 2147483000; inset: 0; display: grid; place-items: center; padding: clamp(10px, 2.5vw, 28px); background: rgba(2, 5, 12, .78); backdrop-filter: blur(10px); }
.ht-checkout-frame-panel { position: relative; width: min(100%, 1080px); height: min(94vh, 860px); overflow: hidden; border: 1px solid rgba(148,173,207,.26); border-radius: 18px; background: #fff; box-shadow: 0 28px 90px rgba(0,0,0,.55); }
.ht-checkout-frame { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.ht-checkout-frame-close { position: absolute; z-index: 2; top: 9px; right: 9px; display: grid; width: 34px; height: 34px; place-items: center; padding: 0 0 3px; color: #152033; border: 1px solid rgba(15,23,42,.15); border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 4px 18px rgba(0,0,0,.18); cursor: pointer; font-size: 24px; line-height: 1; }
.ht-checkout-frame-close:hover, .ht-checkout-frame-close:focus-visible { color: #000; background: #fff; transform: translateY(-1px); }
@media (max-width: 620px) {
  .ht-checkout-overlay { padding: 0; }
  .ht-checkout-frame-panel { width: 100%; height: 100%; border: 0; border-radius: 0; }
  .ht-checkout-frame-close { top: 8px; right: 8px; }
}

/* Quiet administrator surface. The control stays available without covering
   the page, while the panel remains freely resizable for dense license lists. */
.admin-quick-edit {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 8px;
  right: 14px;
  bottom: 14px;
}
.admin-launch {
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  gap: 0;
  border-radius: 11px;
  color: #dffcff;
  border-color: rgba(91,212,230,.42);
  background: rgba(9,25,36,.96);
  box-shadow: 0 10px 24px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08);
}
.admin-launch > span:not(.admin-edit-mark),
.admin-launch-chevron { display: none; }
.admin-launch .admin-edit-mark { width: 100%; height: 100%; margin: 0; color: var(--cyan); background: transparent; font-size: 14px; }
.admin-launch:hover, .admin-launch:focus-visible { color: #fff; border-color: rgba(91,212,230,.8); background: #102c3a; transform: translateY(-1px); }
.admin-pro-panel {
  width: min(500px, calc(100vw - 24px));
  height: min(620px, calc(100vh - 72px));
  min-width: min(360px, calc(100vw - 24px));
  min-height: 300px;
  border-radius: 17px;
}
.admin-pro-head { gap: 10px; padding: 14px 16px 10px; }
.admin-pro-head h2 { margin-top: 4px; font-size: 21px; }
.admin-pro-head .eyebrow { font-size: 9px; }
.admin-context-bar { margin: 0 16px 8px; padding: 7px 9px; font-size: 10px; }
.admin-context-bar code { max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-pro-status { margin: 0 16px 8px; padding: 8px 10px; }
.admin-pro-status small { display: none; }
.admin-pro-tabs { margin: 0 16px; padding: 3px; }
.admin-pro-tabs button { min-height: 31px; padding-inline: 10px; font-size: 10px; }
.admin-pro-pane { gap: 11px; margin-top: 10px; padding: 0 16px 16px; }
.admin-pro-pane-head p,
.admin-pro-empty p,
.admin-pro-states > p,
.admin-pro-live-note { display: none; }
.admin-pro-pane-head h3 { margin-top: 3px; font-size: 17px; }
.admin-pro-empty { min-height: 150px; padding: 18px; }
.admin-pro-empty-icon { width: 38px; height: 38px; margin-bottom: 8px; border-radius: 12px; font-size: 16px; }
.admin-pro-selection { padding: 9px 10px; }
.admin-pro-selection small { display: none; }
.admin-pro-form { gap: 9px; }
.admin-pro-panel .admin-toggle-row { padding: 9px 10px; }
.admin-pro-panel .admin-toggle-row small { display: none; }
.admin-pro-order { gap: 7px; }
.admin-pro-order button { padding-inline: 8px; }
.admin-pro-structure-list { gap: 6px; }
.admin-pro-structure-item { padding: 8px 9px; }
.admin-pro-structure-item small { font-size: 9px; }
.admin-access-table { min-width: 650px; gap: 5px; }
.admin-access-row { gap: 7px; padding: 8px 9px; }
.admin-access-row small { font-size: 9px; }

/* Edit mode stays quiet: no generated label or dashed box on every nested
   node. The selected item receives the only persistent emphasis; hover gives
   a light affordance when the administrator is choosing the next item. */
body.admin-editing [data-cms-element]::before,
body.admin-editing [data-cms-key]::before { display: none !important; content: none !important; }
body.admin-editing [data-cms-element],
body.admin-editing [data-cms-key] { outline: none !important; outline-offset: 2px; }
body.admin-editing [data-cms-element]:hover,
body.admin-editing [data-cms-key]:hover { outline: 1px solid rgba(91,212,230,.42) !important; }
body.admin-editing .admin-pro-selected {
  outline: 2px solid var(--cyan) !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 0 4px rgba(91,212,230,.09);
}

/* CMS style controls now have a visible, bounded effect in preview and after
   publishing. These animations are opt-in per element and never run by
   default, so an idle page stays still. */
[data-cms-element] { border-radius: var(--cms-radius, inherit); }
[data-cms-element].button { border-color: var(--cms-accent, transparent); }
[data-cms-animation="lift"] { transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease; }
[data-cms-animation="lift"]:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.22); }
[data-cms-animation="pulse"] { animation: cms-soft-pulse 3.2s ease-in-out infinite; }
[data-cms-animation="shimmer"] { background-image: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.14) 48%, transparent 70%), var(--cms-surface, none); background-size: 220% 100%; animation: cms-shimmer 3.4s ease-in-out infinite; }
@keyframes cms-soft-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(91,212,230,0); } 50% { box-shadow: 0 0 0 5px rgba(91,212,230,.1); } }
@keyframes cms-shimmer { 0%, 100% { background-position: 180% 0; } 50% { background-position: -30% 0; } }

/* Stop autonomous ambient breathing and status blinking. Interaction
   transitions and explicitly configured CMS motion remain available. */
.neural-ambient::before,
.neural-ambient::after,
.neural-ambient__stars,
.neural-halo,
.neural-orbit,
.hero-visual::after,
.hero-orb,
.product-art::before,
.product-art::after,
.product-art img,
.enterprise-hero-mark img,
.account-status-dot { animation: none !important; }

/* The site keeps its depth through restrained colour and spacing, not orbit
   rings or a continuously repainting canvas behind the content. */
.neural-field,
.neural-halo,
.neural-orbit { display: none !important; }

.home-hero { grid-template-columns: minmax(0, 1.28fr) minmax(280px, .72fr); }
.home-hero h1 {
  max-width: 780px;
  font-size: clamp(43px, 6.1vw, 74px);
  line-height: 1;
  text-wrap: balance;
}
.home-hero .hero-brand-lockup { width: min(100%, 280px); }
.home-hero .hero-brand-lockup img { width: min(180px, 48vw); }

.about-page,
.policy-page { max-width: 960px; margin-inline: auto; }
.about-page,
.policy-page { padding: clamp(24px, 4.5vw, 48px); border: 1px solid rgba(148,173,207,.14); border-radius: 24px; background: linear-gradient(145deg, rgba(14,24,37,.82), rgba(7,11,20,.9)); box-shadow: var(--shadow); }
.about-page > .eyebrow,
.policy-page > .eyebrow { margin-bottom: 15px; }
.about-page h1,
.policy-page h1 { max-width: 760px; margin: 0 0 16px; font-size: clamp(36px, 6vw, 60px); line-height: 1.02; letter-spacing: -.065em; text-wrap: balance; }
.about-page > p:first-of-type,
.policy-page > p:first-of-type { max-width: 760px; margin: 0; color: #bdcadd; font-size: clamp(16px, 2vw, 19px); line-height: 1.65; }
.about-page h2,
.policy-page h2 { margin-top: 34px; font-size: clamp(21px, 3vw, 27px); letter-spacing: -.04em; }
.about-page p,
.policy-page p { max-width: 760px; color: var(--muted); line-height: 1.7; }
.policy-page > .button { margin-top: 18px; }

/* A loading placeholder should communicate progress without shimmering in
   the user's peripheral vision while a provider responds. */
.affiliate-hub-skeleton span,
.affiliate-hub-skeleton span:nth-child(2),
.affiliate-hub-skeleton span:nth-child(3) {
  background: linear-gradient(110deg, rgba(255,255,255,.035), rgba(91,212,230,.075));
  animation: none;
}

@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .about-page,
  .policy-page { padding: 24px 20px; border-radius: 19px; }
}

/* Stable SPA navigation: same-route refreshes are reconciled in place; a
   real route change gets one short, low-distance entrance instead of a flash. */
.animate-in { animation: ht-route-enter .2s ease-out both; }
.animate-in > .hero > *,
.animate-in > .product-hero > * { animation: none; }
@keyframes ht-route-enter {
  from { opacity: .86; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Product marks use the same clean, transparent treatment on both tool cards. */
.tool-shortcut-primary .tool-shortcut-icon,
.tool-shortcut-muted .tool-shortcut-icon {
  width: 70px;
  height: 70px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.tool-shortcut-primary .tool-shortcut-icon img,
.tool-shortcut-muted .tool-shortcut-icon img { width: 70px; height: 70px; }
.device-master-mark {
  width: min(100%, 245px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.device-master-mark img { border-radius: 0; }

/* The Device Master panel is a concept mock-up until real device data exists. */
.device-master-preview-note {
  margin: 0 0 12px;
  padding: 9px 12px;
  color: #c7d3e2;
  border: 1px solid rgba(148,173,207,.15);
  border-radius: 10px;
  background: rgba(148,173,207,.055);
  font-size: 12px;
  line-height: 1.45;
}
.device-master-preview-count,
.device-master-concept-label {
  color: #b8c7da;
  border: 1px solid rgba(148,173,207,.18);
  border-radius: 999px;
  background: rgba(148,173,207,.06);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
}
.device-master-concept-label { padding: 5px 8px; white-space: nowrap; }
.device-master-preview-save { color: #aebdd1; font-size: 11px; }

/* Enterprise communicates the rate first, with the full one-time quote in a
   calmer supporting size. A logarithmic slider makes 5–100,000 seats usable. */
.neural-plan-card[hidden] { display: none !important; }
.neural-plan-enterprise-price {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 2px;
  margin: 18px 0 15px;
}
.neural-plan-enterprise-price .neural-plan-unit-rate,
.neural-plan-enterprise-price [data-plan-enterprise-unit] {
  color: var(--cyan);
  font-size: clamp(18px, 2.5vw, 23px);
  font-weight: 760;
  letter-spacing: -.035em;
  line-height: 1.25;
}
.neural-plan-enterprise-price [data-plan-enterprise-total] {
  color: #d7e1ee;
  font-size: clamp(21px, 3vw, 29px);
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.neural-plan-enterprise-price [data-plan-enterprise-total-copy] { color: var(--dim); font-size: 11px; }
.neural-plan-seat-scale,
.enterprise-range-labels {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 4px;
  color: var(--dim);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.neural-plan-seat-scale { margin-top: -5px; }
.neural-plan-seat-scale span,
.enterprise-range-labels span { text-align: center; }
.neural-plan-seat-scale span:first-child,
.enterprise-range-labels span:first-child { text-align: left; }
.neural-plan-seat-scale span:last-child,
.enterprise-range-labels span:last-child { text-align: right; }
.neural-plan-seat-inputs input[type="range"],
.enterprise-seat-range { accent-color: #48c9dc; }

.neural-workflow-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(8px, 1.5vw, 18px);
  margin: 22px 0 18px;
  padding: clamp(14px, 2.4vw, 22px);
  border: 1px solid rgba(111,173,210,.14);
  border-radius: 18px;
  background: linear-gradient(110deg, rgba(11,31,45,.55), rgba(15,14,37,.52));
}
.neural-workflow-step {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 12px;
  transition: background .18s ease, transform .18s ease;
}
.neural-workflow-step:hover { transform: translateY(-2px); background: rgba(255,255,255,.035); }
.neural-workflow-step > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: #84e5ed;
  border: 1px solid rgba(91,212,230,.24);
  border-radius: 11px;
  background: rgba(67,199,255,.075);
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.neural-workflow-step div { display: grid; gap: 4px; min-width: 0; }
.neural-workflow-step strong { color: var(--text); font-size: 13px; }
.neural-workflow-step small { color: var(--muted); font-size: 11px; line-height: 1.45; }
.neural-workflow-connector { color: rgba(124,215,230,.65); font-size: 16px; }

@media (max-width: 680px) {
  .neural-workflow-visual { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .neural-workflow-connector { padding-left: 18px; transform: rotate(90deg); transform-origin: 0 50%; }
  .neural-plan-seat-scale { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .animate-in { animation: none !important; opacity: 1; transform: none; }
  .neural-workflow-step { transition: none; }
}

/* Compact, single-source affiliate onboarding and restrained route motion. */
.affiliate-page.ht-affiliate-page-final { display: grid; gap: clamp(22px, 3vw, 34px); }
.affiliate-page.ht-affiliate-page-final .affiliate-hero { margin-bottom: 0; }
.affiliate-page.ht-affiliate-page-final [data-live-region="affiliate-hub"] { width: 100%; scroll-margin-top: 96px; }
.ht-affiliate-hub-compact { gap: 14px; padding: clamp(20px, 3vw, 28px); }
.ht-affiliate-hub-compact .affiliate-hub-heading h2 { font-size: clamp(22px, 2.5vw, 29px); }
.ht-affiliate-hub-compact .affiliate-hub-onboarding { display: none; }
.ht-affiliate-hub-compact .affiliate-hub-actions .button { min-height: 42px; }
.affiliate-hub-official-links { display: grid; gap: 10px; }
.affiliate-hub-official-links .affiliate-hub-link { min-width: 0; }
.affiliate-hub-official-links .affiliate-hub-link-value { min-width: 0; }
.ht-device-plan-grid.is-single-plan { grid-template-columns: minmax(0, min(100%, 680px)); justify-content: center; }
.ht-device-plan-coming-soon { min-height: 0; }
.ht-device-plan-coming-soon .neural-plan-cta { cursor: not-allowed; opacity: .65; }
.account-auth-loading { position: relative; overflow: hidden; }
.account-auth-progress { display: block; width: 100%; height: 2px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.07); }
.account-auth-progress::after { display: block; width: 36%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, transparent, var(--cyan), transparent); content: ""; animation: ht-auth-progress 1.35s ease-in-out infinite; }
@keyframes ht-auth-progress { from { transform: translateX(-110%); } to { transform: translateX(300%); } }

/* A brief, low-distance entrance only runs on a real page change. */
.animate-in { animation: ht-route-enter .28s cubic-bezier(.22,.75,.25,1) both; }
@keyframes ht-route-enter {
  from { opacity: .94; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 680px) {
  .affiliate-page.ht-affiliate-page-final { gap: 18px; }
  .affiliate-page.ht-affiliate-page-final .affiliate-hub-heading { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .animate-in { animation: none !important; }
  .account-auth-progress::after { animation: none; }
}

/* Final layout pass: bring the first product choices into view sooner and
   use the affiliate layout's own gap instead of stacking section margins. */
.home-hero { min-height: clamp(30rem, 55svh, 43rem); }
.home-hero .hero-visual { min-height: clamp(17rem, 25vw, 21rem); }
.affiliate-page.ht-affiliate-page-final > .section { margin-top: 0; }
.affiliate-page.ht-affiliate-page-final .affiliate-hero .product-art { min-height: clamp(13rem, 22vw, 16rem); }

/* Product artwork stays unframed. Motion is an intentional hover response,
   not a perpetual animation that competes with reading. */
.product-art.ht-clean-product-art {
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: auto;
}
.product-art.ht-clean-product-art::before,
.product-art.ht-clean-product-art::after { display: none; }
.product-art.ht-clean-product-art img {
  width: min(250px, 58%);
  max-height: 250px;
  object-fit: contain;
  will-change: auto;
  transition: transform 220ms cubic-bezier(.22,.75,.25,1);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .product-art.ht-clean-product-art:hover img { transform: translateY(-3px) scale(1.025); }
}
@media (max-width: 900px) {
  .home-hero { min-height: auto; padding-block: clamp(34px, 7vw, 56px); }
  .home-hero .hero-visual { min-height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-art.ht-clean-product-art img { transition: none; }
}

/* Home hero without the decorative company mark. */
.home-hero--copy-only {
  grid-template-columns: minmax(0, 1fr);
  min-height: clamp(24rem, 42svh, 34rem);
}
.home-hero--copy-only > div:first-child {
  max-width: 860px;
}
@media (max-width: 900px) {
  .home-hero--copy-only {
    min-height: auto;
  }
}


/* Brand refresh: keep the parent-company symbol clean and untiled. */
.brand img { border-radius: 0; box-shadow: none; }
.footer-logo { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
