/* Promethyx website + members shell. Same identity as Promethyx Phone: deep navy, electric blue, cyan glow. */
@font-face { font-family: "Exo 2"; font-weight: 500; font-display: swap; src: url("fonts/exo-2-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Exo 2"; font-weight: 600; font-display: swap; src: url("fonts/exo-2-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Exo 2"; font-weight: 700; font-display: swap; src: url("fonts/exo-2-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --abyss: #050B1F; --deep: #081127; --navy: #0B1F4D; --panel: #0D1A3A; --panel-2: #112250;
  --flame: #2A7BFF; --flame-hi: #4D92FF; --ember: #7BEAFF;
  --text: #EAF0FF; --soft: #B4C2E3; --dim: #8394BD; --hair: rgba(155, 180, 255, .14); --hair-2: rgba(155, 180, 255, .24);
  --paper: #F4F6FB; --ink: #0B1428; --muted: #4A5670; --line: #E1E6F0;
  --s-ok: #34D399; --s-warn: #FBBF24; --s-bad: #F87171;
  --r: 14px; --r-lg: 22px; --wrap: 1160px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.site { margin: 0; background: var(--abyss); color: var(--text); font: 16px/1.6 Inter, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; }
.site a { color: var(--ember); }
.site h1, .site h2, .site h3 { font-family: "Exo 2", "Segoe UI", sans-serif; color: #fff; margin: 0; letter-spacing: -.01em; }
.site p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }

/* ---------------------------------------------------------------- header */
.s-top { position: sticky; top: 0; z-index: 20; background: rgba(5, 11, 31, .78); backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--hair); }
.s-top .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.s-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.site .s-brand, .members .s-brand { color: #fff; }
.s-brand img { width: 26px; height: 28px; }
.s-brand b { font: 700 18px/1 "Exo 2", sans-serif; letter-spacing: .14em; }
.s-nav { display: flex; gap: 4px; align-items: center; flex: 1; }
.s-nav a { color: var(--soft); text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 9px; }
.s-nav a:hover, .s-nav a.on { color: #fff; background: rgba(255, 255, 255, .05); }
.s-actions { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.s-menu { display: none; margin-left: auto; }
.s-menu summary { list-style: none; cursor: pointer; color: #fff; padding: 8px 12px; border: 1px solid var(--hair-2); border-radius: 10px; font-size: 14px; }
.s-menu summary::-webkit-details-marker { display: none; }
.s-menu[open] .s-menu-panel { display: flex; }
.s-menu-panel { display: none; position: absolute; right: 16px; left: 16px; top: 64px; flex-direction: column; gap: 4px; padding: 12px;
  background: var(--deep); border: 1px solid var(--hair-2); border-radius: var(--r); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.s-menu-panel a { color: #fff; text-decoration: none; padding: 12px; border-radius: 10px; }
.s-menu-panel a:hover { background: rgba(255, 255, 255, .06); }
@media (max-width: 820px) { .s-nav, .s-actions { display: none; } .s-menu { display: block; } }

/* ---------------------------------------------------------------- buttons */
.b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border-radius: 12px; border: 1px solid transparent; font: 600 15px/1 Inter, sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; }
.site .b, .members .b { color: #fff; }
.b-primary { background: linear-gradient(180deg, var(--flame-hi), var(--flame)); box-shadow: 0 8px 26px rgba(42, 123, 255, .38), inset 0 1px 0 rgba(255, 255, 255, .25); }
.b-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 34px rgba(42, 123, 255, .5), inset 0 1px 0 rgba(255, 255, 255, .25); }
.b-ghost { background: rgba(255, 255, 255, .04); border-color: var(--hair-2); }
.b-ghost:hover { background: rgba(255, 255, 255, .08); }
.b-lg { min-height: 52px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.b-sm { min-height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.b[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: 112px 0 96px; isolation: isolate; }
.aura { position: absolute; inset: -20% -10% auto -10%; height: 140%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 46% at 72% 30%, rgba(42, 123, 255, .42), transparent 70%),
    radial-gradient(30% 34% at 86% 62%, rgba(123, 234, 255, .22), transparent 70%),
    radial-gradient(40% 40% at 12% 8%, rgba(42, 123, 255, .16), transparent 70%); }
.grid-lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--hair) 1px, transparent 1px), linear-gradient(90deg, var(--hair) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(70% 60% at 60% 30%, #000, transparent 75%);
  mask-image: radial-gradient(70% 60% at 60% 30%, #000, transparent 75%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.eyebrow-s { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ember); font-weight: 600; }
.eyebrow-s::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); line-height: 1.04; font-weight: 700; margin: 18px 0 22px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #fff 10%, var(--ember)); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.hero .lede { font-size: 19px; color: var(--soft); max-width: 560px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; color: var(--dim); font-size: 14px; }
.hero .trust span::before { content: "✓"; color: var(--ember); margin-right: 8px; }
@media (max-width: 900px) { .hero { padding: 72px 0 64px; } .hero .wrap { grid-template-columns: 1fr; } }

/* the call card in the hero */
.device { position: relative; border-radius: 28px; padding: 26px; background: linear-gradient(160deg, rgba(17, 34, 80, .9), rgba(8, 17, 39, .92));
  border: 1px solid var(--hair-2); box-shadow: 0 40px 90px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .06); max-width: 420px; justify-self: end; width: 100%; }
.device .d-head { display: flex; justify-content: space-between; color: var(--dim); font-size: 13px; }
.device .d-live { color: var(--s-ok); }
.device .d-live::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--s-ok);
  margin-right: 8px; box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }
.device .d-orb { width: 120px; height: 120px; margin: 30px auto 18px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(123, 234, 255, .35), rgba(42, 123, 255, .25) 45%, transparent 70%);
  box-shadow: 0 0 0 1px var(--hair-2), 0 0 60px rgba(42, 123, 255, .35); }
.device .d-orb svg { width: 46px; height: 46px; color: #fff; }
.device .d-name { text-align: center; font: 600 22px/1.2 "Exo 2", sans-serif; color: #fff; }
.device .d-sub { text-align: center; color: var(--soft); font-size: 14px; margin-top: 4px; }
.device .d-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.device .d-keys span { display: grid; place-items: center; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .04);
  border: 1px solid var(--hair); color: var(--soft); font-size: 13px; }
.device .d-end { margin: 18px auto 0; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, #ff6b6b, #e5484d); box-shadow: 0 10px 30px rgba(229, 72, 77, .45); }
.device .d-end svg { width: 26px; height: 26px; color: #fff; transform: rotate(135deg); }
@media (max-width: 900px) { .device { justify-self: start; } }

/* ---------------------------------------------------------------- sections */
.sec { padding: 96px 0; position: relative; }
.sec-alt { background: linear-gradient(180deg, var(--deep), var(--abyss)); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.sec-head { max-width: 720px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; font-weight: 700; margin: 14px 0 14px; }
.sec-head p { color: var(--soft); font-size: 18px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.feature { position: relative; padding: 28px; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(17, 34, 80, .55), rgba(8, 17, 39, .55));
  border: 1px solid var(--hair); transition: border-color .2s ease, transform .2s ease; }
.feature:hover { border-color: var(--hair-2); transform: translateY(-2px); }
.feature .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(160deg, rgba(42, 123, 255, .35), rgba(123, 234, 255, .12)); border: 1px solid var(--hair-2); }
.feature .ic svg { width: 22px; height: 22px; color: #fff; }
.feature h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.feature p { color: var(--soft); font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: s; }
.step { padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--hair); background: rgba(255, 255, 255, .02); }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font: 700 14px/1 "Exo 2", sans-serif; color: var(--ember);
  letter-spacing: .1em; margin-bottom: 18px; }
.step h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--soft); font-size: 15px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: var(--soft); }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: rgba(123, 234, 255, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%237BEAFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.panel { padding: 32px; border-radius: var(--r-lg); border: 1px solid var(--hair-2);
  background: linear-gradient(160deg, rgba(17, 34, 80, .8), rgba(8, 17, 39, .8)); }
.stat-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.stat-row div { padding: 18px; border-radius: var(--r); border: 1px solid var(--hair); }
.stat-row b { display: block; font: 700 24px/1.2 "Exo 2", sans-serif; color: #fff; }
.stat-row span { color: var(--dim); font-size: 13px; }
.cta-band { margin: 0 auto; padding: 56px; border-radius: 28px; text-align: center; position: relative; overflow: hidden; isolation: isolate;
  border: 1px solid var(--hair-2); background: linear-gradient(135deg, rgba(42, 123, 255, .28), rgba(8, 17, 39, .9) 60%); }
.cta-band h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; margin-bottom: 12px; }
.cta-band p { color: var(--soft); margin-bottom: 28px; font-size: 18px; }
.cta-band .cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (max-width: 640px) { .sec { padding: 64px 0; } .cta-band { padding: 36px 22px; } }

/* ---------------------------------------------------------------- pricing */
.page-head { padding: 72px 0 36px; position: relative; overflow: hidden; isolation: isolate; }
.page-head h1 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 700; line-height: 1.08; margin: 14px 0 14px; }
.page-head p { color: var(--soft); font-size: 18px; max-width: 680px; }
.shop { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; padding-bottom: 96px; }
@media (max-width: 980px) { .shop { grid-template-columns: 1fr; } }
.group { margin-bottom: 36px; }
.group > h2 { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 600; margin-bottom: 14px; }
.offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 24px; padding: 24px; margin-bottom: 12px;
  border-radius: var(--r-lg); border: 1px solid var(--hair); background: linear-gradient(180deg, rgba(17, 34, 80, .5), rgba(8, 17, 39, .5));
  transition: border-color .2s ease, box-shadow .2s ease; }
.offer.picked { border-color: rgba(77, 146, 255, .7); box-shadow: 0 0 0 1px rgba(77, 146, 255, .4), 0 18px 40px rgba(42, 123, 255, .14); }
.offer.bundle { background: linear-gradient(160deg, rgba(42, 123, 255, .22), rgba(8, 17, 39, .6) 70%); border-color: var(--hair-2); }
.offer h3 { font-size: 20px; font-weight: 600; }
.offer .sum { color: var(--soft); font-size: 15px; margin-top: 6px; }
.offer .feats { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--soft); font-size: 14px; }
.offer .feats li::before { content: "✓"; color: var(--ember); margin-right: 7px; }
.offer .inc { margin-top: 10px; font-size: 14px; color: var(--ember); }
.price { text-align: right; }
.price b { font: 700 30px/1 "Exo 2", sans-serif; color: #fff; }
.price b sup { font-size: 16px; vertical-align: 12px; margin-right: 2px; color: var(--soft); }
.price span { display: block; color: var(--dim); font-size: 13px; margin-top: 6px; }
.qty { display: flex; align-items: center; gap: 0; border: 1px solid var(--hair-2); border-radius: 12px; overflow: hidden; margin-top: 14px;
  width: max-content; margin-left: auto; background: rgba(0, 0, 0, .2); }
.qty button { width: 40px; height: 40px; border: 0; background: transparent; color: #fff; font-size: 20px; cursor: pointer; }
.qty button:hover { background: rgba(255, 255, 255, .06); }
.qty input { width: 60px; height: 40px; border: 0; background: transparent; color: #fff; text-align: center; font: 600 16px Inter, sans-serif;
  -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty label { position: absolute; left: -9999px; }
@media (max-width: 560px) { .offer { grid-template-columns: 1fr; } .price { text-align: left; } .qty { margin-left: 0; } }
.usage { padding: 22px 24px; border-radius: var(--r-lg); border: 1px dashed var(--hair-2); color: var(--soft); font-size: 15px; }
.usage h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.usage + .usage { margin-top: 12px; }
.summary { position: sticky; top: 92px; padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--hair-2);
  background: linear-gradient(170deg, rgba(17, 34, 80, .95), rgba(8, 17, 39, .95)); box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.summary h2 { font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.summary ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; font-size: 14px; }
.summary li { display: flex; justify-content: space-between; gap: 12px; color: var(--soft); }
.summary li b { color: #fff; font-weight: 500; white-space: nowrap; }
.summary .empty-s { color: var(--dim); font-size: 14px; margin-bottom: 16px; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--hair-2); }
.summary .total b { font: 700 32px/1 "Exo 2", sans-serif; color: #fff; }
.summary .fine { color: var(--dim); font-size: 13px; margin: 10px 0 18px; }
.summary .b { width: 100%; }
.summary .b + .b { margin-top: 10px; }
.noscript-only { display: inline-flex; }
.js .noscript-only { display: none; }

/* ---------------------------------------------------------------- forms */
.form-card { padding: 32px; border-radius: var(--r-lg); border: 1px solid var(--hair-2); background: linear-gradient(180deg, rgba(17, 34, 80, .55), rgba(8, 17, 39, .55)); }
.form-card h2 { font-size: 20px; font-weight: 600; margin: 0 0 18px; }
.form-card h2:not(:first-child) { margin-top: 30px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } .form-card { padding: 22px; } }
.fl { display: flex; flex-direction: column; gap: 7px; font-size: 14px; color: var(--soft); font-weight: 500; }
.fl input, .fl select, .fl textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--hair-2);
  background: rgba(3, 8, 24, .6); color: #fff; font: 16px Inter, sans-serif; transition: border-color .15s ease, box-shadow .15s ease; }
.fl textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.fl select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%23B4C2E3' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.fl select option { background: var(--deep); }
.fl input:focus, .fl select:focus, .fl textarea:focus { outline: none; border-color: var(--flame-hi); box-shadow: 0 0 0 4px rgba(42, 123, 255, .22); }
.fl small { color: var(--dim); font-weight: 400; font-size: 13px; }
.check { display: flex; gap: 12px; align-items: flex-start; color: var(--soft); font-size: 14px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--flame); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: 12px; font-size: 15px; margin-bottom: 18px; }
.alert.error { background: rgba(248, 113, 113, .12); border: 1px solid rgba(248, 113, 113, .4); color: #fecaca; }
.alert.ok { background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .35); color: #bbf7d0; }
.code-input { font: 700 30px/1 "Exo 2", monospace !important; letter-spacing: .5em; text-align: center; }
.narrow { max-width: 520px; margin: 0 auto; }

/* ---------------------------------------------------------------- legal + prose */
.prose { max-width: 760px; padding-bottom: 96px; color: var(--soft); }
.prose h2 { font-size: 24px; margin: 36px 0 12px; }
.prose p, .prose li { margin: 0 0 12px; }
.prose ul { padding-left: 20px; }
.prose strong { color: #fff; }
.note-box { padding: 16px 18px; border-radius: 12px; border: 1px solid rgba(251, 191, 36, .35); background: rgba(251, 191, 36, .08); color: #fde68a; font-size: 14px; }

/* ---------------------------------------------------------------- footer */
.s-foot { border-top: 1px solid var(--hair); padding: 56px 0 40px; color: var(--dim); font-size: 14px; background: var(--abyss); }
.s-foot .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.s-foot h4 { color: #fff; font: 600 14px/1 "Exo 2", sans-serif; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.s-foot a { color: var(--dim); text-decoration: none; display: block; padding: 4px 0; }
.s-foot a:hover { color: #fff; }
.s-foot .legal { grid-column: 1 / -1; border-top: 1px solid var(--hair); padding-top: 22px; margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 760px) { .s-foot .wrap { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- members shell (content uses app.css cards) */
body.members { background: var(--paper); }
.members .s-top { position: static; background: var(--abyss); }
.m-nav { background: var(--deep); border-bottom: 1px solid var(--hair); }
.m-nav .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.m-nav .wrap::-webkit-scrollbar { display: none; }
.m-nav a { color: var(--soft); text-decoration: none; padding: 14px 14px 12px; font: 500 14px Inter, sans-serif; border-bottom: 2px solid transparent; white-space: nowrap; }
.m-nav a:hover { color: #fff; }
.m-nav a.on { color: #fff; border-bottom-color: var(--flame-hi); }
.m-who { display: flex; align-items: center; gap: 12px; color: var(--soft); font-size: 14px; margin-left: auto; }
.m-who form { margin: 0; }
@media (max-width: 640px) { .m-who span { display: none; } }
.m-main { max-width: var(--wrap); margin: 0 auto; padding: 32px 24px 64px; display: flex; flex-direction: column; gap: 22px; color: var(--ink); }
.m-main h1, .m-main h2, .m-main h3 { color: #050B1F; }
.m-test { background: #FFF1D6; color: #7A4D00; text-align: center; padding: 8px 16px; font-size: 13px; }
.m-foot { text-align: center; color: var(--muted); font-size: 13px; padding: 24px 16px 40px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
a.tile:hover { border-color: #9DB7FF; box-shadow: 0 10px 26px rgba(11, 31, 77, .08); }
.tile span { color: var(--muted); font-size: 13px; }
.tile b { font: 600 22px/1.2 "Exo 2", sans-serif; color: #050B1F; }
.tile small { color: #1E5BFF; font-size: 13px; font-weight: 500; }
.welcome { padding: 22px 24px; border-radius: 14px; background: linear-gradient(135deg, #0B1F4D, #1E5BFF); color: #fff; }
.welcome h2 { color: #fff !important; margin-bottom: 6px; }
.welcome p { color: #DCE6FF; margin: 0; }
.thread { display: flex; flex-direction: column; gap: 14px; }
.msg { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; max-width: 820px; }
.msg.staff { background: #EEF3FF; border-color: #CBD8FF; margin-left: auto; }
.msg .who-line { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.msg .body { white-space: pre-wrap; line-height: 1.55; }
.form-card h2:first-of-type { margin-top: 0; }
.fl > span small { margin-left: 4px; }
@media (max-width: 480px) { .stat-row { grid-template-columns: 1fr; } }

/* utilities (inline styles are blocked by the Content-Security-Policy) */
.mt-s { margin-top: 10px !important; } .mt { margin-top: 18px !important; } .mt-l { margin-top: 28px !important; }
.mb { margin-bottom: 20px !important; } .mb-xl { margin-bottom: 96px !important; } .pt { padding-top: 20px; }
.pb-l { padding-bottom: 96px; } .page-head.pb-xl { padding-bottom: 120px; }
.w-full { width: 100%; } .w-760 { max-width: 760px; } .center { text-align: center; }
.soft { color: var(--soft); } .dim { color: var(--dim); } .white { color: #fff; } .small-s { font-size: 14px; }
.h1-sm { font-size: 34px !important; margin: 12px 0 10px !important; }
.h2-lg { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; margin: 14px 0 0 !important; }
.usage .feats { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.usage .feats li::before { content: "✓"; color: var(--ember); margin-right: 7px; }
form.inline { display: inline; }
.s-foot .s-brand.mb { margin-bottom: 14px; }
body.members { margin: 0; font: 14px/1.5 Inter, "Segoe UI", system-ui, sans-serif; }
.members .s-brand b { font: 700 18px/1 "Exo 2", sans-serif; letter-spacing: .14em; }
.m-who a.m-email { color: var(--soft); text-decoration: none; }
.m-who a.m-email:hover { color: #fff; }

/* members dashboard */
.dash { display: flex; flex-direction: column; gap: 14px; }
.dash + .dash { margin-top: 18px; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.dash-head h2 { font: 600 22px/1.2 "Exo 2", sans-serif; color: #050B1F; margin: 0; }
.widgets { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.widget { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; min-width: 0; }
.widget:hover { border-color: #9DB7FF; box-shadow: 0 12px 28px rgba(11, 31, 77, .08); transform: translateY(-1px); }
.widget .w-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.widget b { font: 600 28px/1.15 "Exo 2", sans-serif; color: #050B1F; margin-top: 4px; }
.widget b.red { color: #A61F1B; }
.widget small { color: var(--muted); font-size: 13px; }
.widget .w-foot { margin-top: auto; padding-top: 10px; color: #1E5BFF; font-weight: 500; }
.w-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; font-size: 13px; }
.w-list li { display: flex; gap: 8px; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meter { display: block; height: 8px; border-radius: 99px; background: #E6ECFA; overflow: hidden; margin-top: 10px; }
.meter span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #1E5BFF, #3FA9F5); }
.meter .meter-0 { width: 2%; } .meter .meter-1 { width: 10%; } .meter .meter-2 { width: 20%; } .meter .meter-3 { width: 30%; }
.meter .meter-4 { width: 40%; } .meter .meter-5 { width: 50%; } .meter .meter-6 { width: 60%; } .meter .meter-7 { width: 70%; }
.meter .meter-8 { width: 80%; } .meter .meter-9 { width: 90%; } .meter .meter-10 { width: 100%; background: #E5484D; }
.progress { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.progress li { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 99px; background: rgba(255, 255, 255, .1);
  color: #DCE6FF; font-size: 13px; }
.progress li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); flex: none; }
.progress li.done { background: rgba(52, 211, 153, .18); color: #fff; }
.progress li.done::before { border-color: #34D399; background: #34D399 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23052e1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.welcome .mt { margin-top: 14px !important; }
@media (max-width: 640px) { .m-who a.m-email { display: none; } .members .s-top .wrap { gap: 12px; } }

/* members shell with sidebar */
.members .m-layout { display: flex; align-items: flex-start; min-height: calc(100vh - 69px); }
.members.has-side .m-main { max-width: 1180px; margin: 0; flex: 1; min-width: 0; padding: 32px 36px 48px; }
.members .m-nav { display: none; }
.m-side { position: sticky; top: 0; flex: none; width: 236px; min-height: calc(100vh - 69px); background: var(--deep);
  border-right: 1px solid var(--hair); padding: 18px 12px; display: flex; flex-direction: column; gap: 2px; }
.m-side a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--soft);
  text-decoration: none; font: 500 14px Inter, sans-serif; }
.m-side a svg { width: 18px; height: 18px; flex: none; opacity: .85; }
.m-side a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.m-side a.on { background: linear-gradient(90deg, rgba(42, 123, 255, .28), rgba(42, 123, 255, .08)); color: #fff;
  box-shadow: inset 2px 0 0 var(--flame-hi); }
.m-side-title { margin: 16px 12px 6px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.members .m-foot { padding: 32px 0 0; text-align: left; }
@media (max-width: 900px) {
  .members .m-layout { flex-direction: column; }
  .m-side { position: static; width: 100%; min-height: 0; flex-direction: row; overflow-x: auto; padding: 8px 12px; gap: 4px;
    border-right: 0; border-bottom: 1px solid var(--hair); scrollbar-width: none; }
  .m-side::-webkit-scrollbar { display: none; }
  .m-side-title { display: none; }
  .m-side a { white-space: nowrap; padding: 9px 12px; }
  .members.has-side .m-main { padding: 22px 16px 40px; width: 100%; }
}

/* insights */
.insights { display: grid; gap: 8px; }
.insight { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
  font-size: 14px; }
.insight::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; background: #1E5BFF; }
.insight.warn::before { background: #E8A20C; } .insight.bad::before { background: #E5484D; }
.insight span { flex: 1; }
.insight a { white-space: nowrap; font-weight: 600; text-decoration: none; }

/* store */
.store { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
@media (max-width: 1100px) { .store { grid-template-columns: 1fr; } }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 20px; align-items: center; padding: 18px 20px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s ease, box-shadow .15s ease; }
.svc + .svc { margin-top: 10px; }
.svc.changed { border-color: #6F95FF; box-shadow: 0 0 0 3px rgba(30, 91, 255, .1); }
.svc h3 { margin: 0; font-size: 16px; }
.svc p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.svc .now { font-size: 12px; color: var(--muted); margin-top: 6px; }
.svc .now b { color: #050B1F; }
.stepper { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; background: #fff; }
.stepper button { width: 38px; height: 38px; border: 0; background: #F4F6FB; font-size: 18px; cursor: pointer; color: #050B1F; }
.stepper button:hover { background: #E6ECFA; }
.stepper input { width: 56px; height: 38px; border: 0; text-align: center; font: 600 15px Inter, sans-serif; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.svc-price { text-align: right; font-size: 13px; color: var(--muted); }
.svc-price b { display: block; font: 600 18px "Exo 2", sans-serif; color: #050B1F; }
.cart { position: sticky; top: 20px; background: #0B1428; color: #DCE6FF; border-radius: 16px; padding: 22px; }
.cart h2 { color: #fff !important; font-size: 18px; margin: 0 0 14px; }
.cart ul { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; font-size: 14px; }
.cart li { display: flex; justify-content: space-between; gap: 10px; }
.cart .tot { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 14px; }
.cart .tot b { font: 700 26px "Exo 2", sans-serif; color: #fff; }
.cart .fine { font-size: 12px; color: #9FB0D6; margin: 10px 0 16px; }
.cart .btn { width: 100%; justify-content: center; }
.picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin-top: 12px; }
.picker label { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  cursor: pointer; font-size: 14px; }
.picker label:has(input:checked) { border-color: #1E5BFF; background: #EEF3FF; }
.picker small { display: block; color: var(--muted); font-size: 12px; }
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 14px; }
.feed li:first-child { border-top: 0; }
.feed time { color: var(--muted); font-size: 13px; }
@media (max-width: 640px) { .feed li { grid-template-columns: 1fr; gap: 2px; } }

.members .s-top .wrap { max-width: none; padding: 0 24px 0 20px; }
.feed li::before { display: none; }
@media (max-width: 640px) {
  .svc { grid-template-columns: 1fr; }
  .svc .actions { justify-content: space-between; flex-wrap: nowrap; }
  .svc-price { text-align: left; }
}

/* Members: build your plan */
.members .steps-s { list-style: none; counter-reset: s; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0 0 18px; font-size: 14px; color: #5B6785; }
.members .steps-s li { counter-increment: s; display: flex; align-items: center; gap: 8px; }
.members .steps-s li::before { content: counter(s); display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: #E4E9F5; color: #33405E; font-size: 12px; font-weight: 700; }
.members .steps-s li.on { color: #0B1A3A; font-weight: 600; }
.members .steps-s li.on::before { background: #1E5BFF; color: #fff; }
.members .feat-s { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: #4A5670; }
.members .feat-s li::before { content: "✓"; color: #1E5BFF; margin-right: 6px; font-weight: 700; }
.members .check { color: #33405E; }
.members .check a { color: #1E5BFF; }
.members .now-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 500; }
.members .now-line .small { opacity: .75; font-weight: 400; }
.members .pulse { width: 10px; height: 10px; border-radius: 50%; background: #7BEAFF; box-shadow: 0 0 0 0 rgba(123, 234, 255, .7); animation: pxpulse 1.6s infinite; flex: none; }
@keyframes pxpulse { 70% { box-shadow: 0 0 0 10px rgba(123, 234, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(123, 234, 255, 0); } }
@media (prefers-reduced-motion: reduce) { .members .pulse { animation: none; } }
.members .kind-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 0 0 18px; }
.members .kind-pick a { display: grid; gap: 4px; padding: 16px 18px; border-radius: 14px; border: 1px solid #DCE3F0; background: #fff;
  color: #33405E; text-decoration: none; }
.members .kind-pick a b { color: #0B1A3A; font-size: 16px; }
.members .kind-pick a span { font-size: 13px; }
.members .kind-pick a:hover { border-color: #9DB7FF; }
.members .kind-pick a.on { border-color: #1E5BFF; box-shadow: 0 0 0 1px #1E5BFF inset; background: #F3F7FF; }
.members .fixed-qty { font-size: 13px; font-weight: 600; color: #1E5BFF; padding: 8px 12px; border-radius: 10px; background: #EEF3FF; }
.kind-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 24px; max-width: 640px; }
.kind-tabs a { display: grid; gap: 2px; padding: 14px 18px; border-radius: var(--r-lg, 16px); border: 1px solid var(--hair-2, rgba(255,255,255,.14));
  text-decoration: none; color: var(--soft, #B9C6E4); background: rgba(8, 17, 39, .5); }
.kind-tabs a b { color: #fff; font-size: 16px; }
.kind-tabs a span { font-size: 13px; }
.kind-tabs a.on { border-color: rgba(77, 146, 255, .9); box-shadow: 0 0 0 1px rgba(77, 146, 255, .5); background: rgba(42, 123, 255, .16); }
.qty-fixed { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--ember, #7BEAFF); }
.members .secret { background: #FFF6DA; padding: 2px 6px; border-radius: 6px; user-select: all; }
