/* ==========================================================================
   PREUX POWER — design system
   Palette pulled straight off the PRX mark: carbon black, electric blue,
   brushed chrome.
   ========================================================================== */

:root {
  /* surfaces */
  --bg:          #05070c;
  --bg-2:        #080c14;
  --surface:     #0d131f;
  --surface-2:   #111927;
  --surface-3:   #16202f;
  --line:        #1b2536;
  --line-bright: #26344a;

  /* brand */
  --blue:        #1f7bff;
  --blue-hi:     #4d9bff;
  --blue-lo:     #0b4fcc;
  --blue-glow:   rgba(31, 123, 255, .38);
  --blue-faint:  rgba(31, 123, 255, .10);

  /* chrome */
  --chrome-1:    #ffffff;
  --chrome-2:    #cfd6e0;
  --chrome-3:    #8b95a6;
  --chrome-4:    #5b6577;

  /* text */
  --text:        #e8ecf3;
  --text-2:      #aab3c4;
  --text-3:      #798399;
  --text-4:      #4e576a;

  /* status tones */
  --green:       #2ecc78;
  --amber:       #ff9d2e;
  --red:         #ff4356;
  --grey:        #7b8698;

  --radius:      14px;
  --radius-sm:   9px;
  --maxw:        1200px;

  --font-display: 'Chakra Petch', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Carbon weave + a cold blue wash from the top-right, like the logo art. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(31,123,255,.16), transparent 62%),
    radial-gradient(760px 520px at 6% 4%, rgba(31,123,255,.07), transparent 60%),
    var(--bg);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 78%);
}

a { color: var(--blue-hi); text-decoration: none; }
a:hover { color: #7db4ff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: #fff;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; color: var(--text-2); }

hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }

code, .mono { font-family: var(--font-mono); font-size: .88em; }

/* Brushed-metal headline treatment lifted from the wordmark. */
.chrome {
  background: linear-gradient(176deg, #fff 4%, var(--chrome-2) 34%, var(--chrome-4) 54%, var(--chrome-2) 74%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.accent { color: var(--blue-hi); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 780px; }

.eyebrow {
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--blue-hi);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 30px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue));
}

.lede { font-size: 1.08rem; color: var(--text-2); max-width: 62ch; }
.muted { color: var(--text-3); }
.small { font-size: .84rem; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }

/* ============================== navigation ============================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(5, 7, 12, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1;
}
.brand-sub {
  font-family: var(--font-display);
  font-size: .58rem;
  letter-spacing: .3em;
  color: var(--text-3);
  text-transform: uppercase;
  padding-left: 1px;
}
.brand-slash {
  width: 2px; height: 26px;
  background: linear-gradient(180deg, var(--blue-hi), var(--blue-lo));
  transform: skewX(-20deg);
  box-shadow: 0 0 12px var(--blue-glow);
}

.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-links a {
  padding: 8px 13px;
  border-radius: 8px;
  color: var(--text-2);
  font-size: .9rem;
  font-weight: 500;
  transition: background .16s, color .16s;
}
.nav-links a:hover { background: var(--surface-2); color: var(--text); }
.nav-links a.on { color: #fff; background: var(--blue-faint); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line-bright);
  color: var(--text);
  border-radius: 8px;
  padding: 7px 11px;
  font-size: 1.1rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 66px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 18px 18px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links .btn { width: 100%; justify-content: center; }
}

/* ================================ buttons ================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 21px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .14s, box-shadow .18s, background .18s, border-color .18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(180deg, var(--blue-hi), var(--blue));
  color: #fff;
  box-shadow: 0 4px 20px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-primary:hover {
  color: #fff;
  box-shadow: 0 6px 28px rgba(31,123,255,.55), inset 0 1px 0 rgba(255,255,255,.3);
}

.btn-ghost {
  background: rgba(255,255,255,.03);
  border-color: var(--line-bright);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface-2); border-color: #38496a; color: #fff; }

.btn-danger { background: rgba(255,67,86,.12); border-color: rgba(255,67,86,.4); color: #ff8b97; }
.btn-danger:hover { background: rgba(255,67,86,.2); color: #ffb3bb; }

.btn-sm { padding: 7px 14px; font-size: .82rem; border-radius: 8px; }
.btn-block { display: flex; width: 100%; }

/* ================================= hero ================================= */

.hero { position: relative; padding: 92px 0 84px; overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 940px) {
  .hero { padding: 60px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero h1 { margin-bottom: 20px; }
.hero .lede { font-size: 1.14rem; margin-bottom: 32px; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }

.hero-trust {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-trust div { min-width: 92px; }
.hero-trust b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
  line-height: 1.1;
}
.hero-trust span { font-size: .76rem; color: var(--text-3); letter-spacing: .04em; }

.hero-art { position: relative; }
.hero-art img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line-bright);
  box-shadow: 0 30px 90px rgba(0,0,0,.75), 0 0 70px rgba(31,123,255,.14);
  display: block;
}
.hero-art::after {
  content: '';
  position: absolute;
  inset: -18%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(31,123,255,.28), transparent 72%);
  filter: blur(24px);
}

/* ============================ layout helpers ============================ */

.section { padding: 78px 0; }
.section-alt {
  background: linear-gradient(180deg, transparent, rgba(13,19,31,.62) 12%, rgba(13,19,31,.62) 88%, transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { margin-bottom: 44px; }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.spacer { flex: 1; }

/* ================================= cards ================================= */

.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card-pad-sm { padding: 18px; }

.card-hover:hover {
  border-color: #2c4670;
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(0,0,0,.5), 0 0 32px rgba(31,123,255,.1);
}

/* Chevron accent echoing the X in the mark. */
.card-accent::before {
  content: '';
  position: absolute;
  top: 0; left: 26px;
  width: 42px; height: 2px;
  background: linear-gradient(90deg, var(--blue-hi), transparent);
  box-shadow: 0 0 12px var(--blue-glow);
}

.card h3 { margin-bottom: 8px; font-size: 1.06rem; }
.card p { font-size: .92rem; margin-bottom: 0; }

.card-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--blue-faint);
  border: 1px solid rgba(31,123,255,.28);
  margin-bottom: 16px;
  font-size: 1.15rem;
}

.svc-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.svc-price b { font-family: var(--font-display); font-size: 1.3rem; color: #fff; }
.svc-price span { font-size: .8rem; color: var(--text-3); }

/* ================================ badges ================================ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .02em;
  border: 1px solid;
  white-space: nowrap;
}
.badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge-blue  { color: var(--blue-hi); border-color: rgba(31,123,255,.34);  background: rgba(31,123,255,.1); }
.badge-green { color: var(--green);   border-color: rgba(46,204,120,.34);  background: rgba(46,204,120,.1); }
.badge-amber { color: var(--amber);   border-color: rgba(255,157,46,.34);  background: rgba(255,157,46,.1); }
.badge-red   { color: var(--red);     border-color: rgba(255,67,86,.34);   background: rgba(255,67,86,.1); }
.badge-grey  { color: var(--grey);    border-color: rgba(123,134,152,.32); background: rgba(123,134,152,.1); }
.badge-plain { color: var(--text-2);  border-color: var(--line-bright);    background: var(--surface-2); }
.badge-plain::before { display: none; }

.dot-new {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue-hi);
  box-shadow: 0 0 9px var(--blue-hi);
}

/* ================================= forms ================================= */

.field { margin-bottom: 18px; }
.field label,
.label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 7px;
  letter-spacing: .015em;
}
.field .hint { font-size: .78rem; color: var(--text-4); margin-top: 6px; }
.req { color: var(--blue-hi); }

input[type=text], input[type=email], input[type=password], input[type=tel],
input[type=number], input[type=search], input[type=date], select, textarea {
  width: 100%;
  padding: 11px 14px;
  background: #070b12;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: .93rem;
  transition: border-color .16s, box-shadow .16s, background .16s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #080d16;
  box-shadow: 0 0 0 3px rgba(31,123,255,.16);
}
input::placeholder, textarea::placeholder { color: var(--text-4); }
textarea { resize: vertical; min-height: 108px; line-height: 1.6; }
select { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%),
                    linear-gradient(135deg, var(--text-3) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .89rem;
  color: var(--text-2);
  cursor: pointer;
  margin-bottom: 9px;
}
.check input { margin-top: 3px; accent-color: var(--blue); width: 15px; height: 15px; flex-shrink: 0; cursor: pointer; }

/* Selectable service tiles on the submission form. */
.pick {
  display: block;
  position: relative;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-sm);
  padding: 13px 15px 13px 42px;
  cursor: pointer;
  transition: border-color .16s, background .16s;
  background: var(--surface);
}
.pick:hover { border-color: #38496a; }
.pick input { position: absolute; left: 15px; top: 15px; accent-color: var(--blue); width: 15px; height: 15px; cursor: pointer; }
.pick:has(input:checked) {
  border-color: var(--blue);
  background: rgba(31,123,255,.08);
  box-shadow: inset 0 0 0 1px rgba(31,123,255,.2);
}
.pick b { display: block; font-size: .9rem; color: var(--text); font-weight: 600; }
.pick span { font-size: .78rem; color: var(--text-3); }
.pick .cr {
  position: absolute;
  right: 14px; top: 13px;
  font-family: var(--font-display);
  font-size: .82rem;
  color: var(--blue-hi);
  font-weight: 600;
}

.drop {
  border: 1.5px dashed var(--line-bright);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  background: rgba(255,255,255,.015);
  transition: border-color .18s, background .18s;
  cursor: pointer;
}
.drop:hover, .drop.over { border-color: var(--blue); background: rgba(31,123,255,.06); }
.drop input { display: none; }
.drop-icon { font-size: 1.7rem; margin-bottom: 8px; opacity: .8; }
.drop b { color: var(--text); font-size: .95rem; }
.drop p { font-size: .82rem; color: var(--text-4); margin: 6px 0 0; }
.drop-list { margin-top: 14px; text-align: left; }
.drop-list div {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: .84rem; padding: 7px 12px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 7px; margin-bottom: 6px;
}
.drop-list span { color: var(--text-4); font-family: var(--font-mono); font-size: .78rem; }

/* ================================ alerts ================================ */

.alert {
  padding: 13px 17px;
  border-radius: var(--radius-sm);
  border: 1px solid;
  margin-bottom: 20px;
  font-size: .9rem;
}
.alert-ok    { background: rgba(46,204,120,.08); border-color: rgba(46,204,120,.32); color: #7fe0ab; }
.alert-error { background: rgba(255,67,86,.08);  border-color: rgba(255,67,86,.32);  color: #ff9aa5; }
.alert-warn  { background: rgba(255,157,46,.08); border-color: rgba(255,157,46,.32); color: #ffc07a; }
.alert-info  { background: rgba(31,123,255,.08); border-color: rgba(31,123,255,.32); color: #8fbcff; }
.alert ul { margin: 6px 0 0; padding-left: 18px; }

/* ================================ tables ================================ */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
table { width: 100%; border-collapse: collapse; font-size: .89rem; }
thead th {
  text-align: left;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}
tbody td { padding: 13px 16px; border-bottom: 1px solid rgba(27,37,54,.7); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .14s; }
tbody tr:hover { background: rgba(31,123,255,.045); }
td .ref { font-family: var(--font-mono); font-size: .84rem; color: var(--blue-hi); font-weight: 500; }
.nowrap { white-space: nowrap; }

.empty { padding: 52px 24px; text-align: center; color: var(--text-3); }
.empty-icon { font-size: 2rem; opacity: .35; margin-bottom: 10px; }

/* ============================== app shell ============================== */

.shell { display: grid; grid-template-columns: 244px 1fr; min-height: calc(100vh - 66px); }
@media (max-width: 900px) { .shell { grid-template-columns: 1fr; } }

.side {
  border-right: 1px solid var(--line);
  background: rgba(8,12,20,.6);
  padding: 24px 14px;
}
@media (max-width: 900px) {
  .side { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px; }
  .side-group { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
  .side-label { display: none; }
}

.side-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-4);
  padding: 0 12px;
  margin: 20px 0 8px;
}
.side-label:first-child { margin-top: 0; }

.side a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--text-2);
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 2px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.side a:hover { background: var(--surface-2); color: var(--text); }
.side a.on {
  background: var(--blue-faint);
  color: #fff;
  box-shadow: inset 2px 0 0 var(--blue-hi);
}
.side a .ic { width: 17px; text-align: center; opacity: .85; }
.side a .ct {
  margin-left: auto;
  font-size: .72rem;
  font-weight: 700;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  padding: 1px 7px;
  min-width: 20px;
  text-align: center;
}

.main { padding: 30px 30px 70px; min-width: 0; }
@media (max-width: 640px) { .main { padding: 22px 16px 60px; } }

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.page-head h1 { font-size: 1.75rem; margin-bottom: 4px; }
.page-head p { margin: 0; font-size: .9rem; }

/* ================================ stats ================================ */

.stat {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
}
.stat::after {
  content: '';
  position: absolute;
  right: -30px; top: -30px;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(31,123,255,.14), transparent);
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}
.stat span {
  font-size: .76rem;
  color: var(--text-3);
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 600;
}
.stat.hot b { color: var(--amber); }
.stat.good b { color: var(--green); }

/* ================================ thread ================================ */

.thread { display: flex; flex-direction: column; gap: 16px; margin-bottom: 26px; }

.msg {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px 18px;
  max-width: 88%;
}
.msg-staff {
  align-self: flex-start;
  border-color: rgba(31,123,255,.3);
  background: linear-gradient(180deg, rgba(31,123,255,.07), var(--surface));
}
.msg-customer { align-self: flex-end; }
.msg-internal {
  align-self: stretch;
  max-width: 100%;
  border-color: rgba(255,157,46,.34);
  background: rgba(255,157,46,.05);
  border-style: dashed;
}
.msg-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  font-size: .8rem;
}
.msg-head b { color: var(--text); font-size: .87rem; }
.msg-head time { color: var(--text-4); margin-left: auto; font-size: .76rem; }
.msg-body { font-size: .92rem; color: var(--text-2); white-space: pre-wrap; word-break: break-word; }
.msg-body strong { color: var(--text); }

.avatar {
  width: 26px; height: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, var(--surface-3), var(--surface-2));
  border: 1px solid var(--line-bright);
  flex-shrink: 0;
}
.avatar-staff { background: linear-gradient(180deg, var(--blue), var(--blue-lo)); border-color: var(--blue-hi); }

/* ============================== attachments ============================== */

.att {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  margin-bottom: 8px;
}
.att:last-child { margin-bottom: 0; }
.att .ic {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--blue-faint);
  border: 1px solid rgba(31,123,255,.24);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: .9rem;
}
.att .nm { min-width: 0; flex: 1; }
.att .nm b { display: block; font-size: .87rem; font-weight: 500; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.att .nm span { font-size: .74rem; color: var(--text-4); font-family: var(--font-mono); }
.att-mod { border-color: rgba(46,204,120,.32); background: rgba(46,204,120,.06); }
.att-mod .ic { background: rgba(46,204,120,.12); border-color: rgba(46,204,120,.3); }

/* ================================ spec list ================================ */

.spec { display: grid; grid-template-columns: auto 1fr; gap: 9px 18px; font-size: .89rem; }
.spec dt { color: var(--text-4); font-size: .8rem; letter-spacing: .04em; }
.spec dd { margin: 0; color: var(--text); }

/* ============================== timeline ============================== */

.steps { display: flex; gap: 0; margin: 4px 0 26px; flex-wrap: wrap; }
.step {
  flex: 1;
  min-width: 108px;
  padding: 11px 12px 11px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-right: 0;
  position: relative;
  font-size: .78rem;
  color: var(--text-4);
  font-weight: 600;
  letter-spacing: .04em;
}
.step:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); padding-left: 14px; }
.step:last-child { border-right: 1px solid var(--line); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.step::after {
  content: '';
  position: absolute;
  right: -9px; top: 50%;
  width: 16px; height: 16px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  z-index: 2;
}
.step:last-child::after { display: none; }
.step.done { background: rgba(31,123,255,.13); color: var(--blue-hi); border-color: rgba(31,123,255,.3); }
.step.done::after { background: #0f1c31; border-color: rgba(31,123,255,.3); }
.step.now { background: var(--blue); color: #fff; border-color: var(--blue-hi); }
.step.now::after { background: var(--blue); border-color: var(--blue-hi); }

/* ================================ tabs/filters ================================ */

.filters { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 20px; }
.filters a {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-bright);
  font-size: .82rem;
  color: var(--text-2);
  background: var(--surface);
  transition: all .15s;
}
.filters a:hover { border-color: #38496a; color: #fff; }
.filters a.on { background: var(--blue); border-color: var(--blue-hi); color: #fff; }

.searchbar { display: flex; gap: 9px; margin-bottom: 20px; max-width: 460px; }
.searchbar input { flex: 1; }

/* ================================ pricing ================================ */

.tier {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  position: relative;
}
.tier.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px rgba(31,123,255,.25), 0 20px 60px rgba(31,123,255,.13);
}
.tier-flag {
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--blue-hi), var(--blue));
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 16px var(--blue-glow);
}
.tier h3 { font-size: 1.25rem; margin-bottom: 4px; }
.tier .price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin: 14px 0 2px;
}
.tier .per { font-size: .82rem; color: var(--text-4); margin-bottom: 22px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 26px; }
.tier li {
  padding: 8px 0 8px 26px;
  position: relative;
  font-size: .89rem;
  color: var(--text-2);
  border-bottom: 1px solid rgba(27,37,54,.55);
}
.tier li:last-child { border-bottom: 0; }
.tier li::before {
  content: '';
  position: absolute;
  left: 4px; top: 15px;
  width: 5px; height: 9px;
  border: solid var(--blue-hi);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ================================= steps ================================= */

.how { counter-reset: how; }
.how-item { position: relative; padding-left: 62px; margin-bottom: 30px; }
.how-item::before {
  counter-increment: how;
  content: counter(how, decimal-leading-zero);
  position: absolute;
  left: 0; top: -4px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  opacity: .55;
}
.how-item::after {
  content: '';
  position: absolute;
  left: 17px; top: 30px; bottom: -22px;
  width: 1px;
  background: linear-gradient(180deg, var(--line-bright), transparent);
}
.how-item:last-child { margin-bottom: 0; }
.how-item:last-child::after { display: none; }
.how-item h3 { font-size: 1.02rem; margin-bottom: 5px; }
.how-item p { font-size: .91rem; margin: 0; }

/* ================================= cta ================================= */

.cta-band {
  border: 1px solid rgba(31,123,255,.3);
  border-radius: 18px;
  padding: 48px 40px;
  text-align: center;
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(31,123,255,.18), transparent 70%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  box-shadow: 0 24px 70px rgba(0,0,0,.5);
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { max-width: 54ch; margin: 0 auto 26px; }

/* ================================ footer ================================ */

.foot {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding: 52px 0 30px;
  background: rgba(8,12,20,.55);
}
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 38px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot h4 {
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.foot a { display: block; color: var(--text-2); font-size: .88rem; padding: 5px 0; }
.foot a:hover { color: var(--blue-hi); }
.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .8rem;
  color: var(--text-4);
}
.foot-note { font-size: .8rem; color: var(--text-4); max-width: 42ch; line-height: 1.7; }

/* ============================== auth pages ============================== */

.auth-wrap {
  min-height: calc(100vh - 66px);
  display: grid;
  place-items: center;
  padding: 44px 20px 70px;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-bright);
  border-radius: 18px;
  padding: 36px 34px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 60px rgba(31,123,255,.07);
}
.auth-card.wide { max-width: 620px; }
.auth-card h1 { font-size: 1.7rem; margin-bottom: 6px; }
.auth-foot {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: .88rem;
  color: var(--text-3);
}

/* ============================== utilities ============================== */

.mb0 { margin-bottom: 0; }
.mb8 { margin-bottom: 8px; }
.mb16 { margin-bottom: 16px; }
.mb24 { margin-bottom: 24px; }
.mt24 { margin-top: 24px; }
.mt32 { margin-top: 32px; }
.hide { display: none; }

.split { display: grid; grid-template-columns: 1fr 330px; gap: 24px; align-items: start; }
@media (max-width: 1020px) { .split { grid-template-columns: 1fr; } }

.sticky { position: sticky; top: 88px; }

@media print {
  .nav, .side, .foot, .btn { display: none; }
  body::before, body::after { display: none; }
}
