/* ======================================================================
   STARSITEZ — Platform marketing pages (/, /services, /contact)
   Layered on top of staff.css. Uses the same design tokens
   (--accent #6fd6ff, --paper, --line, Roboto, hero-bg).
   ====================================================================== */

body { min-height: 100vh; }

/* Platform pages get the starfield background instead of the staff hero.
   Blur + darken it (like staff.css's hero) so foreground panels and text
   stand out. The negative inset hides the soft edges the blur would expose. */
.hero-bg::before {
  inset: -28px;
  background: url('static_images/platform_bg.png') center/cover no-repeat #000;
  filter: brightness(0.55) blur(10px);
}
.hero-bg::after {
  background:
    radial-gradient(120% 100% at 50% 0%, transparent 55%, rgba(0,0,0,0.55) 100%),
    linear-gradient(rgba(0,0,0,0.18), rgba(0,0,0,0.35));
}

.platform {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 24px 64px;
}

.hl { color: var(--accent); }

/* ---------- Stripe test-mode banner ---------- */
.p-test-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1200;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 8px 16px;
  background: linear-gradient(90deg, rgba(255,167,38,0.16), rgba(255,167,38,0.08));
  border-bottom: 1px solid rgba(255,167,38,0.4);
  color: #ffd9a3;
  font-size: 13px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  flex-wrap: wrap;
}
.p-test-banner strong { color: #ffa726; font-weight: 700; letter-spacing: 0.04em; }
.p-test-banner code {
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  background: rgba(255,167,38,0.14);
  border: 1px solid rgba(255,167,38,0.32);
  padding: 1px 6px; border-radius: 4px;
  font-size: 12.5px;
  color: #ffd9a3;
}
.p-test-sep { color: rgba(255,217,163,0.5); }
.p-test-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ffa726;
  box-shadow: 0 0 10px rgba(255,167,38,0.7);
  animation: p-test-pulse 1.8s ease-in-out infinite;
}
@keyframes p-test-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
body:has(.p-test-banner) .p-nav { top: 48px; }
body:has(.p-test-banner) .platform { padding-top: 150px; }
@media (max-width: 720px) {
  body:has(.p-test-banner) .platform { padding-top: 160px; }
}

/* ---------- Top nav ---------- */
.p-nav {
  position: fixed;
  top: 16px; left: 16px; right: 16px;
  z-index: 1100;
  background: rgba(10, 12, 16, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.42);
}
.p-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 60px;
  padding: 0 20px;
  display: flex; align-items: center; gap: 24px;
}
.p-nav-brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font-weight: 700; font-size: 14px; letter-spacing: 0.16em;
}
.p-nav-mark {
  color: var(--accent); font-size: 18px; line-height: 1;
}
.p-nav-name { font-weight: 700; }
.p-nav-links {
  display: flex; gap: 6px; margin-left: auto;
}
.p-nav-link {
  padding: 8px 14px;
  color: var(--text-dim); text-decoration: none;
  font-size: 14px; font-weight: 500;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.p-nav-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.p-nav-link.is-active { color: var(--accent); background: var(--accent-bg); }
.p-nav-cta {
  display: inline-flex; align-items: center;
  padding: 9px 16px;
  background: var(--accent); color: var(--on-accent);
  text-decoration: none; font-weight: 600; font-size: 13px;
  border-radius: 8px; letter-spacing: 0.02em;
  transition: background 0.15s, transform 0.15s;
}
.p-nav-cta:hover { background: var(--accent-strong); }

.p-nav-actions {
  display: inline-flex; align-items: center; gap: 10px;
}
.p-nav-signin {
  display: inline-flex; align-items: center;
  padding: 8px 14px;
  color: var(--text); text-decoration: none;
  font-size: 13px; font-weight: 600;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 0.15s, background 0.15s;
}
.p-nav-signin:hover { border-color: var(--line-strong); background: rgba(255,255,255,0.04); }

.p-nav-menu { position: relative; }
.p-nav-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text); font-weight: 600; font-size: 14px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 0;
  transition: border-color 0.15s, transform 0.15s;
}
.p-nav-avatar:hover { border-color: var(--accent); }
.p-nav-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-nav-panel {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 220px;
  background: rgba(14, 17, 22, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.5);
  padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.12s, transform 0.12s, visibility 0.12s;
  z-index: 1200;
}
.p-nav-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
.p-nav-panel-head {
  padding: 10px 12px 12px;
  font-size: 12px; color: var(--text-dim); line-height: 1.5;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.p-nav-panel-head b { color: var(--text); font-weight: 600; }
.p-nav-panel-sub { color: var(--text-faint, var(--text-dim)); font-size: 11px; }
.p-nav-panel-item {
  display: block;
  padding: 9px 12px;
  color: var(--text); text-decoration: none;
  font-size: 13px; font-weight: 500;
  border-radius: 7px;
  transition: background 0.12s, color 0.12s;
}
.p-nav-panel-item:hover { background: rgba(255,255,255,0.05); }
.p-nav-panel-item.danger { color: #ff7a8a; }
.p-nav-panel-item.danger:hover { background: rgba(255, 90, 110, 0.10); }
.p-nav-panel-sep { height: 1px; background: var(--line); margin: 6px 4px; }

@media (max-width: 720px) {
  .p-nav-inner { padding: 0 14px; gap: 12px; }
  .p-nav-links { display: none; }
  .platform { padding-top: 100px; }
}

/* ---------- Hero ---------- */
.p-tag {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  padding: 5px 12px;
  border: 1px solid var(--accent-soft);
  background: var(--accent-bg);
  border-radius: 100px;
  margin-bottom: 22px;
}

.p-hero { text-align: center; padding: 40px 0 80px; }
.p-hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.04; font-weight: 700;
  margin: 0 0 22px; letter-spacing: -0.01em;
}
.p-lede {
  font-size: 17px; color: var(--text-dim);
  line-height: 1.65; max-width: 620px;
  margin: 0 auto 36px;
}
.p-cta-row {
  display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}

.p-page-hero {
  text-align: center;
  padding: 30px 0 60px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 60px;
}
.p-page-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08; font-weight: 700;
  margin: 0 0 18px; letter-spacing: -0.01em;
}
.p-page-hero .p-lede { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.p-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px;
  border-radius: 10px;
  font-size: 15px; font-weight: 600;
  text-decoration: none; letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  cursor: pointer;
}
.p-btn-primary {
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 4px 18px rgba(111, 214, 255, 0.22);
}
.p-btn-primary:hover { background: var(--accent-strong); }
.p-btn-ghost {
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border-color: var(--line-strong);
}
.p-btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--accent-soft);
}
.p-btn-danger {
  background: #c73a4f; color: #fff;
  border-color: #c73a4f;
  box-shadow: 0 4px 18px rgba(199, 58, 79, 0.28);
}
.p-btn-danger:hover { background: #b02e42; border-color: #b02e42; }
.p-btn-small { padding: 6px 12px; font-size: 12px; }

/* ---------- Admin dashboard ---------- */
.admin-subnav {
  display: flex; gap: 4px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 4px;
  max-width: 980px; margin: 0 auto;
}
.admin-subnav-link {
  padding: 8px 14px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px; font-weight: 500;
  border-radius: 7px;
  transition: background 0.12s, color 0.12s;
}
.admin-subnav-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.admin-subnav-link.is-active { color: var(--text); background: var(--accent-bg); }
.admin-page-head {
  max-width: 980px; margin: 0 auto 18px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  flex-wrap: wrap;
}
.admin-h1 { font-size: 26px; font-weight: 700; margin: 6px 0 4px; color: var(--text); }
.admin-muted { color: var(--text-dim); font-size: 13px; margin: 0; }
.admin-flash {
  max-width: 980px; margin: 0 auto 12px;
  padding: 10px 14px; border-radius: 8px;
  font-size: 13px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  color: var(--text);
}
.admin-flash.error { border-color: #c73a4f; background: rgba(199, 58, 79, 0.10); }
.admin-flash.info { border-color: var(--accent-soft); background: var(--accent-bg); }
.admin-stats-grid {
  max-width: 980px; margin: 0 auto;
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.admin-stat-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}
.admin-stat-card.is-warn { border-color: #c79a3a; background: rgba(199, 154, 58, 0.06); }
.admin-stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-dim); }
.admin-stat-value { font-size: 26px; font-weight: 700; color: var(--text); margin-top: 6px; }
.admin-stat-sub { font-size: 12px; color: var(--text-dim); margin-top: 4px; }
.admin-card {
  max-width: 980px; margin: 0 auto;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}
.admin-card h2 { font-size: 16px; font-weight: 600; margin: 0 0 14px; letter-spacing: 0.02em; }
.admin-card p { margin: 0 0 12px; color: var(--text-dim); font-size: 13px; line-height: 1.5; }
.admin-card code { background: rgba(255,255,255,0.04); padding: 2px 6px; border-radius: 4px; font-size: 11px; }
.admin-shutdown {
  display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.admin-shutdown.is-on { border-color: #c73a4f; background: rgba(199, 58, 79, 0.06); }
.admin-shutdown h2 { margin-bottom: 6px; }
.admin-table {
  width: 100%; border-collapse: collapse;
  font-size: 13px;
}
.admin-table th, .admin-table td {
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
}
.admin-table th {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-dim); font-weight: 600;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table td code { font-size: 11px; }
.admin-pill {
  display: inline-block;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.10em;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--text-dim);
  border: 1px solid var(--line);
  margin-right: 4px;
}
.admin-pill.is-ok { color: #5ed4a3; border-color: #2f7f5e; background: rgba(94, 212, 163, 0.08); }
.admin-pill.is-warn { color: #ddbf6b; border-color: #7f6a2f; background: rgba(221, 191, 107, 0.08); }
.admin-pill.is-danger { color: #ff7a8a; border-color: #c73a4f; background: rgba(199, 58, 79, 0.10); }
.admin-pill.is-accent { color: var(--accent); border-color: var(--accent-soft); background: var(--accent-bg); }
.admin-pill.is-gold { color: #f0c761; border-color: #8a6c1c; background: rgba(240, 199, 97, 0.08); }
.admin-search {
  display: flex; gap: 6px;
}
.admin-search input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 12px; border-radius: 8px; font-size: 13px;
  min-width: 240px;
  font-family: inherit;
}
.admin-search input:focus { outline: none; border-color: var(--accent); }

/* ---------- Admin forms ---------- */
.admin-h2 { font-size: 16px; font-weight: 600; margin: 0 0 14px; letter-spacing: 0.02em; color: var(--text); }
.admin-form { max-width: 620px; }
.admin-form-row { margin-bottom: 14px; }
.admin-form-label { display: block; font-size: 12px; color: var(--text-dim); margin-bottom: 6px; letter-spacing: 0.02em; }
.admin-form input[type="text"],
.admin-form textarea,
.admin-form .admin-select {
  width: 100%; box-sizing: border-box;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 9px 12px; border-radius: 8px; font-size: 13px;
  font-family: inherit;
}
.admin-form .admin-select { appearance: auto; }
.admin-form .admin-select option { background: #14161f; color: var(--text); }
.admin-form textarea { resize: vertical; line-height: 1.5; }
.admin-form input[type="text"]:focus,
.admin-form textarea:focus,
.admin-form .admin-select:focus { outline: none; border-color: var(--accent); }

/* ---------- Services: custom orders panel (offset to the side) ---------- */
.p-custom-orders {
  max-width: 1080px;
  margin: 0 auto 14px;
  display: flex;
  justify-content: flex-end;   /* tuck it off to the side */
}
.p-custom-card {
  width: 100%;
  max-width: 380px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--accent-soft);
  border-radius: 14px;
  padding: 18px 20px;
}
/* A tenant's hero image behind the whole panel, blurred + darkened the same way
   .hero-bg blurs the page background. --custom-bg is set inline on the card. */
.p-custom-card.has-bg {
  position: relative; isolation: isolate; overflow: hidden;
  background: transparent;
}
.p-custom-card.has-bg::before {
  content: ''; position: absolute; inset: -28px; z-index: -2;
  background-image: var(--custom-bg);
  background-position: center; background-size: cover; background-repeat: no-repeat;
  filter: brightness(0.34) blur(14px);
}
.p-custom-card.has-bg::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(6,7,14,0.55), rgba(6,7,14,0.72));
}
.p-custom-card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.p-custom-card-head .p-tag { margin: 0; }
.p-custom-sub { font-size: 12.5px; color: var(--text-dim); margin: 0 0 14px; line-height: 1.5; }
.p-custom-order { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.p-custom-order:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.p-custom-order-title { font-size: 15px; font-weight: 600; color: var(--text); margin: 0 0 2px; }
.p-custom-order-desc { font-size: 12.5px; color: var(--text-dim); margin: 0 0 10px; line-height: 1.5; }
.p-custom-items { list-style: none; padding: 0; margin: 0 0 12px; }
.p-custom-items li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  font-size: 13px; color: var(--text); padding: 3px 0;
}
.p-custom-items .p-custom-amt { color: var(--accent); font-weight: 600; white-space: nowrap; }
.p-custom-recur { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-left: 6px; }
@media (max-width: 760px) {
  .p-custom-orders { justify-content: center; }
  .p-custom-card { max-width: 100%; }
}
/* Admin "Recipient preview" — one recipient panel per cell. */
.p-custom-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  align-items: start;
}

/* ---------- Section ---------- */
.p-section { padding: 60px 0; }

.p-section-head {
  text-align: center;
  margin-bottom: 48px;
}
.p-eyebrow {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.p-section-head h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  line-height: 1.15; font-weight: 700;
  margin: 0; letter-spacing: -0.01em;
}

/* ---------- Feature grid (home) ---------- */
.p-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.p-card {
  display: block;
  padding: 28px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: background 0.18s, border-color 0.18s, transform 0.18s;
  cursor: pointer;
}
.p-card:hover {
  background: rgba(28, 31, 39, 0.85);
  border-color: var(--accent-soft);
}
.p-card-ico {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-bg);
  border: 1px solid var(--accent-soft);
  border-radius: 10px;
  color: var(--accent);
  margin-bottom: 18px;
}
.p-card-ico svg { width: 22px; height: 22px; }
.p-card h3 {
  font-size: 17px; font-weight: 600;
  margin: 0 0 8px;
}
.p-card p {
  font-size: 14px; color: var(--text-dim);
  line-height: 1.6; margin: 0;
}

/* ---------- Tenant cards ---------- */
.p-tenants {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}
.p-tenant-card {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none; color: inherit;
  transition: background 0.18s, border-color 0.18s;
  cursor: pointer;
}
.p-tenant-card:hover {
  background: rgba(28, 31, 39, 0.85);
  border-color: var(--accent-soft);
}
.p-tenant-card.p-tenant-empty {
  cursor: default;
  border-style: dashed;
}
.p-tenant-card.p-tenant-empty:hover {
  background: var(--paper);
  border-color: var(--line);
}
.p-tenant-meta { flex: 1 1 auto; min-width: 0; }
.p-tenant-name {
  font-size: 17px; font-weight: 600; color: var(--text);
  margin-bottom: 4px;
}
.p-tenant-sub {
  font-size: 13px; color: var(--text-dim);
}
/* Live member counts on the Requiem card: green dot = online, hollow ring = offline. */
.p-tenant-counts {
  display: flex; align-items: center; gap: 14px;
  flex: 0 0 auto;
  font-size: 13px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.p-count { display: inline-flex; align-items: center; gap: 7px; }
.p-count-active { color: var(--text); }
.p-count-offline { color: var(--text-dim); }
.p-count-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #3ba55d; box-shadow: 0 0 6px rgba(59,165,93,0.6);
}
.p-count-ring {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid var(--text-faint); box-sizing: border-box;
}
.p-tenant-arrow {
  font-size: 22px; color: var(--accent);
  transition: transform 0.18s;
}
.p-tenant-card:hover .p-tenant-arrow { transform: translateX(4px); }
.p-tenant-cta {
  padding: 8px 14px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-soft);
  color: var(--accent);
  border-radius: 8px;
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.p-tenant-cta:hover { background: rgba(111,214,255,0.22); }

/* ---------- Pricing tiers (services page) ---------- */
.p-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 980px) {
  .p-pricing-grid { grid-template-columns: 1fr; }
}

.p-pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.18s, transform 0.18s, background 0.18s;
}
.p-pricing-card:hover {
  border-color: var(--line-strong);
  background: rgba(28, 31, 39, 0.85);
}
.p-pricing-card.is-highlight {
  border-color: var(--accent-soft);
  background: linear-gradient(180deg, rgba(111,214,255,0.07), rgba(111,214,255,0.015)), var(--paper);
  box-shadow: 0 8px 36px rgba(111, 214, 255, 0.10);
}
.p-pricing-card.is-highlight:hover {
  border-color: var(--accent);
}

.p-pricing-ribbon {
  position: absolute;
  top: -10px; left: 24px;
  padding: 4px 12px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(111,214,255,0.32);
}

.p-pricing-head { margin-bottom: 20px; }
.p-pricing-name {
  font-size: 22px; font-weight: 700;
  margin: 0 0 6px; letter-spacing: -0.01em;
}
.p-pricing-tagline {
  font-size: 14px; color: var(--text-dim);
  margin: 0; line-height: 1.5;
}

.p-pricing-price {
  display: flex; align-items: baseline; gap: 10px;
  padding: 18px 0 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.p-pricing-amount {
  font-size: 34px; font-weight: 700;
  color: var(--text); letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.p-pricing-sub {
  font-size: 13px; color: var(--text-dim);
}

.p-pricing-desc {
  font-size: 14.5px; color: var(--text-dim);
  line-height: 1.6; margin: 0 0 22px;
}

.p-pricing-features {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1 1 auto;
}
.p-pricing-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text);
  line-height: 1.5;
}
.p-pricing-check {
  flex: 0 0 auto;
  width: 16px; height: 16px;
  margin-top: 3px;
  color: var(--accent);
}

.p-btn-block { width: 100%; }

/* ---------- Settings page ---------- */
.p-settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}
.p-settings-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.p-settings-card-head h2 {
  font-size: 16px; font-weight: 600;
  margin: 0 0 4px;
  color: var(--text);
  letter-spacing: 0.02em;
}
.p-settings-card-head p {
  margin: 0;
  font-size: 13px; color: var(--text-dim); line-height: 1.5;
}
.p-settings-row {
  display: flex; align-items: center; gap: 14px;
}
.p-settings-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.p-settings-avatar-placeholder {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  color: var(--text); font-weight: 600; font-size: 22px;
}
.p-settings-identity { display: flex; flex-direction: column; gap: 2px; }
.p-settings-name { font-weight: 600; color: var(--text); font-size: 15px; }
.p-settings-sub { font-size: 12px; color: var(--text-dim); }
.p-settings-foot {
  font-size: 12px; color: var(--text-dim);
  margin: 0;
}

.p-pricing-section-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-faint);
  margin: 4px 0 12px;
}

/* ---------- Upkeep radio cards ---------- */
.p-upkeep-group {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 18px;
}
.p-upkeep-opt {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.p-upkeep-opt:hover {
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.04);
}
.p-upkeep-opt input[type="radio"] {
  margin: 3px 0 0;
  accent-color: var(--accent);
  flex: 0 0 auto;
  cursor: pointer;
}
.p-upkeep-opt:has(input:checked) {
  border-color: var(--accent-soft);
  background: var(--accent-bg);
}
.p-upkeep-body { flex: 1 1 auto; min-width: 0; }
.p-upkeep-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-bottom: 2px;
}
.p-upkeep-label {
  font-size: 14px; font-weight: 600; color: var(--text);
  display: inline-flex; align-items: center; gap: 6px;
}
.p-upkeep-badge {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--on-accent);
  background: var(--accent);
  padding: 2px 7px;
  border-radius: 100px;
}
.p-upkeep-price {
  font-size: 14px; font-weight: 600; color: var(--accent);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.p-upkeep-sub {
  font-size: 12.5px; color: var(--text-dim);
}
.p-upkeep-features {
  list-style: none; padding: 0; margin: 6px 0 0;
  font-size: 12.5px; color: var(--text-dim);
  line-height: 1.5;
}
.p-upkeep-features li {
  position: relative; padding-left: 12px;
}
.p-upkeep-features li::before {
  content: '•'; position: absolute; left: 2px;
  color: var(--accent); opacity: 0.7;
}

/* ---------- Launch-fee note ---------- */
.p-launch-fee-note {
  padding: 10px 12px;
  margin-bottom: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px; color: var(--text-dim);
  line-height: 1.5;
}
.p-launch-fee-amt { color: var(--accent); font-weight: 600; }

/* ---------- Disclaimers ---------- */
.p-pricing-disclaimers {
  margin-top: 32px;
  display: flex; flex-direction: column; gap: 8px;
  max-width: 720px; margin-left: auto; margin-right: auto;
}
.p-disclaimer {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px; color: var(--text-dim);
  line-height: 1.5;
}
.p-disclaimer svg {
  flex: 0 0 auto;
  width: 16px; height: 16px;
  margin-top: 1px;
  color: var(--warn);
}

.p-pricing-note {
  margin-top: 10px;
  font-size: 12px; color: var(--text-faint);
  text-align: center;
}

.p-pricing-foot {
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  margin-top: 32px;
  color: var(--text-dim);
  font-size: 13px;
}
.p-pricing-foot svg {
  width: 16px; height: 16px;
  color: var(--accent);
}

/* ---------- Services feature rows ---------- */
.p-feature {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.p-feature:last-child { border-bottom: 0; }
.p-feature-num {
  font-size: 32px; font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  opacity: 0.9;
}
.p-feature-body h2 {
  font-size: 26px; font-weight: 700;
  margin: 0 0 12px; letter-spacing: -0.01em;
}
.p-feature-lede {
  font-size: 16px; color: var(--text);
  line-height: 1.6; margin: 0 0 16px;
}
.p-feature-list {
  margin: 0; padding-left: 20px;
  color: var(--text-dim); font-size: 14.5px;
  line-height: 1.7;
}
.p-feature-list li { margin-bottom: 4px; }

@media (max-width: 640px) {
  .p-feature { grid-template-columns: 1fr; gap: 12px; }
  .p-feature-num { font-size: 24px; }
}

/* ---------- Contact ---------- */
.p-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}
.p-contact-card {
  display: flex; align-items: center; gap: 18px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none; color: inherit;
  transition: background 0.18s, border-color 0.18s;
  cursor: pointer;
}
.p-contact-card:hover {
  background: rgba(28, 31, 39, 0.85);
  border-color: var(--accent-soft);
}
.p-contact-ico {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-bg);
  border: 1px solid var(--accent-soft);
  border-radius: 12px;
  color: var(--accent);
}
.p-contact-ico svg { width: 24px; height: 24px; }
.p-contact-body { flex: 1 1 auto; min-width: 0; }
.p-contact-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.p-contact-value {
  font-size: 16px; font-weight: 600; color: var(--text);
  margin-bottom: 4px;
  word-break: break-all;
}
.p-contact-sub {
  font-size: 13px; color: var(--text-dim);
}
.p-contact-arrow {
  font-size: 18px; color: var(--accent);
  transition: transform 0.18s;
}
.p-contact-card:hover .p-contact-arrow { transform: translate(2px, -2px); }

.p-contact-note {
  padding: 26px 28px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.p-contact-note h3 {
  font-size: 15px; font-weight: 600;
  margin: 0 0 12px; color: var(--text);
}
.p-contact-note ul {
  margin: 0; padding-left: 20px;
  color: var(--text-dim); font-size: 14.5px;
  line-height: 1.75;
}
.p-contact-note a { color: var(--accent); text-decoration: none; }
.p-contact-note a:hover { text-decoration: underline; }

/* ---------- Final CTA ---------- */
.p-final {
  text-align: center;
  padding: 56px 28px;
  background: linear-gradient(180deg, rgba(111,214,255,0.06), rgba(111,214,255,0.01));
  border: 1px solid var(--accent-soft);
  border-radius: 16px;
}
.p-final h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700; margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.p-final-sub {
  font-size: 16px; color: var(--text-dim);
  line-height: 1.6; margin: 0 auto 28px;
  max-width: 520px;
}

/* ---------- Footer ---------- */
.p-footer {
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.p-footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.p-footer-brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em;
  color: var(--text-dim);
}
.p-footer-links {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px;
}
.p-footer-links a {
  color: var(--text-dim); text-decoration: none;
  transition: color 0.15s;
}
.p-footer-links a:hover { color: var(--accent); }
.p-footer-sep { color: var(--text-faint); }
