/* =========================================================
   SolarPanelsLink — design system
   ========================================================= */
:root {
  --ink: #0a1a2f;
  --ink-2: #122a45;
  --ink-3: #1c3a5c;
  --paper: #ffffff;
  --bg: #f6f7f4;
  --bg-alt: #eef2ee;
  --line: #e1e7e3;
  --line-strong: #cfd8d2;
  --body: #2b3843;
  --muted: #5f6f7a;
  --amber: #ffb020;
  --amber-deep: #e89500;
  --amber-soft: #fff4dd;
  --mint: #25a97a;
  --mint-soft: #e6f6ef;
  --blue: #2f6bff;
  --blue-soft: #e8efff;
  --red: #cf3f3f;
  --red-soft: #fdecec;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -22px rgba(10, 26, 47, 0.35);
  --shadow-soft: 0 8px 24px -16px rgba(10, 26, 47, 0.3);
  --font-head: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.16;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 2.4vw, 2.15rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--amber-deep); }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  background: rgba(10, 26, 47, 0.06);
  padding: 0.14em 0.42em;
  border-radius: 5px;
  word-break: break-all;
}
::selection { background: var(--amber); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--amber-deep);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.muted { color: var(--muted); }
.small { font-size: 0.82rem; }
.center { text-align: center; }
.ico { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn .ico { width: 17px; height: 17px; }

.btn-primary { background: var(--amber); color: var(--ink); box-shadow: 0 10px 22px -14px rgba(255, 176, 32, 0.9); }
.btn-primary:hover { background: #ffc247; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); color: #fff; }
.btn-outline { background: #fff; border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--body); }
.btn-ghost:hover { background: rgba(10, 26, 47, 0.06); color: var(--ink); }
.btn-glass { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.28); color: #fff; backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
.btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #b73333; color: #fff; }
.btn-sm { height: 34px; padding: 0 13px; font-size: 0.8rem; border-radius: 8px; gap: 6px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 0.98rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--ink);
}
.link-arrow .ico { width: 15px; height: 15px; transition: transform 0.2s ease; }
.link-arrow:hover .ico { transform: translateX(3px); }
.link-arrow:hover { color: var(--amber-deep); }

/* ---------- Header ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.14rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  flex: 0 0 auto;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--amber);
  display: grid;
  place-items: center;
}
.brand-mark .ico { width: 18px; height: 18px; }
.brand-word span { color: var(--amber-deep); }
.brand-light { color: #fff; }
.brand-light:hover { color: #fff; }
.brand-light .brand-mark { background: rgba(255, 255, 255, 0.12); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-right: auto;
}
.nav-link {
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--body);
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.nav-link:hover { background: rgba(10, 26, 47, 0.05); color: var(--ink); }
.nav-link.is-active { color: var(--ink); font-weight: 600; background: rgba(255, 176, 32, 0.16); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-login { font-weight: 600; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--body);
  white-space: nowrap;
}
.lang-switch:hover { border-color: var(--ink); color: var(--ink); }
html[lang="zh-CN"] .brand-word,
html[lang="zh-CN"] body { font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3,
html[lang="zh-CN"] .section-title { font-family: "Sora", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }

.account-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 8px 4px 4px; border-radius: 30px; border: 1px solid var(--line); }
.account-chip:hover { border-color: var(--ink); color: var(--ink); }
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--amber);
  display: inline-grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-head);
  flex: 0 0 auto;
}
.account-meta { display: flex; align-items: center; gap: 6px; }
.account-name { font-size: 0.8rem; font-weight: 600; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar-sm { width: 28px; height: 28px; font-size: 0.66rem; }
.avatar-lg { width: 62px; height: 62px; font-size: 1.15rem; border-radius: 18px; }

.plan-badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--mint-soft);
  color: #107a55;
  border: 1px solid rgba(37, 169, 122, 0.25);
}
.plan-badge.plan-business { background: var(--amber-soft); color: #8a5a00; border-color: rgba(232, 149, 0, 0.3); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 9px; width: 38px; height: 38px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.nav-mobile { display: none; }

/* ---------- Flash ---------- */
.flash {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: var(--max);
  margin: 16px auto 0;
  padding: 13px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  width: calc(100% - 48px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.flash.is-hiding { opacity: 0; transform: translateY(-6px); }
.flash-success { background: var(--mint-soft); color: #106b4c; border: 1px solid rgba(37, 169, 122, 0.3); }
.flash-error { background: var(--red-soft); color: #8f2626; border: 1px solid rgba(207, 63, 63, 0.3); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; background-size: cover; background-position: center 40%; transform: scale(1.02); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(102deg, rgba(5, 14, 26, 0.96) 8%, rgba(5, 14, 26, 0.82) 44%, rgba(5, 14, 26, 0.38) 100%),
    linear-gradient(0deg, rgba(5, 14, 26, 0.9) 0%, transparent 45%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 56px;
  align-items: center;
  padding-top: 104px;
  padding-bottom: 44px;
}
.hero h1 { color: #fff; font-size: clamp(2.4rem, 4.6vw, 4.1rem); line-height: 1.04; margin-bottom: 22px; letter-spacing: -0.035em; }
.hero .accent { color: var(--amber); }
.hero-lead { color: rgba(255, 255, 255, 0.78); font-size: 1.06rem; max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; color: rgba(255, 255, 255, 0.66); font-size: 0.78rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .ico { width: 15px; height: 15px; color: var(--amber); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--amber); }

.hero-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.hero-card-head { display: flex; align-items: center; gap: 8px; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.09em; color: rgba(255, 255, 255, 0.68); margin-bottom: 16px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #4be0a8; box-shadow: 0 0 0 4px rgba(75, 224, 168, 0.18); }
.hero-card-list { display: flex; flex-direction: column; gap: 2px; }
.hero-card-item { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-direction: column; gap: 3px; }
.hero-card-item:hover .hero-card-title { color: var(--amber); }
.hero-card-title { color: #fff; font-weight: 600; font-size: 0.9rem; line-height: 1.3; transition: color 0.15s ease; }
.hero-card-meta { color: rgba(255, 255, 255, 0.55); font-size: 0.74rem; text-transform: capitalize; }
.hero-card-foot { display: flex; align-items: center; justify-content: space-between; color: var(--amber); font-size: 0.82rem; font-weight: 600; padding-top: 16px; }
.hero-card-foot:hover { color: #ffc85c; }

.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 26px 0 34px;
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-stats > div { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-family: var(--font-head); font-size: 1.9rem; font-weight: 600; color: #fff; letter-spacing: -0.03em; line-height: 1.1; }
.stat-num small { font-size: 0.95rem; color: var(--amber); margin-left: 3px; }
.stat-label { font-size: 0.76rem; color: rgba(255, 255, 255, 0.6); }
.hero-stats-inline { border-top: 0; padding: 0; margin: 0; gap: 34px; }
.hero-stats-inline .stat-num { color: var(--ink); }
.hero-stats-inline .stat-label { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 40px 0 72px; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.section-head > div { max-width: 720px; }
.section-title { margin-bottom: 10px; }
.section-sub { color: var(--muted); margin: 0; max-width: 620px; }
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 34px; flex-wrap: wrap; }
.split-head .section-title { margin-bottom: 0; }
.split-sub { max-width: 420px; margin: 0; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* ---------- Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card-link { display: flex; flex-direction: column; height: 100%; padding: 22px; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.country-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 0.79rem; font-weight: 500; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flag { font-size: 1rem; line-height: 1; }
.flag-lg { font-size: 1.9rem; }
.card-title { font-size: 1.06rem; margin: 0 0 8px; line-height: 1.32; }
.card-copy { font-size: 0.855rem; color: var(--muted); line-height: 1.55; margin: 0 0 18px; flex: 1; }
.card-foot { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); margin-top: auto; }
.capacity { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.capacity .ico { width: 15px; height: 15px; color: var(--amber-deep); }
.card-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.card-arrow { margin-left: auto; color: var(--muted); display: inline-flex; transition: transform 0.2s ease, color 0.2s ease; }
.card:hover .card-arrow { color: var(--ink); transform: translateX(3px); }

.pill {
  display: inline-flex;
  align-items: center;
  height: 23px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  background: #eef1ef;
  color: #4d5b63;
  border: 1px solid transparent;
}
.pill-planned { background: #eef1f5; color: #4c5a68; }
.pill-tender { background: var(--amber-soft); color: #8a5a00; }
.pill-construction { background: var(--blue-soft); color: #244fa8; }
.pill-operational { background: var(--mint-soft); color: #107a55; }
.pill-sub-active { background: var(--mint-soft); color: #107a55; }
.pill-sub-trialing { background: var(--blue-soft); color: #244fa8; }
.pill-sub-past_due { background: var(--red-soft); color: #8f2626; }
.pill-sub-canceling { background: var(--amber-soft); color: #8a5a00; }
.pill-sub-canceled, .pill-sub-expired { background: #eef1f5; color: #5a6673; }
.pill-inq-new { background: var(--amber-soft); color: #8a5a00; }
.pill-inq-contacted { background: var(--blue-soft); color: #244fa8; }
.pill-inq-approved { background: var(--mint-soft); color: #107a55; }
.pill-inq-archived { background: #eef1f5; color: #5a6673; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f1f4f2;
  border: 1px solid var(--line);
  color: #4c5a63;
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
}
.chip .ico { width: 13px; height: 13px; }
a.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-tag { background: var(--amber-soft); border-color: rgba(232, 149, 0, 0.22); color: #8a5a00; }
.chip-soft { background: rgba(10, 26, 47, 0.04); }
.chip-dark { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); color: #fff; height: 32px; padding: 0 14px; font-size: 0.8rem; }

.chips { display: flex; gap: 6px; flex-wrap: wrap; }

/* Market card */
.market-card .card-link { gap: 0; }
.market-metrics { display: flex; gap: 26px; margin: 6px 0 18px; }
.market-metrics > div { display: flex; flex-direction: column; gap: 1px; }
.metric-value { font-family: var(--font-head); font-size: 1.45rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.metric-value small { font-size: 0.72rem; color: var(--muted); margin-left: 3px; font-weight: 500; }
.metric-label { font-size: 0.72rem; color: var(--muted); }

/* Company card */
.company-card.is-featured { border-color: rgba(232, 149, 0, 0.45); background: linear-gradient(180deg, #fffdf7 0%, #fff 55%); }
.company-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.company-logo { width: 44px; height: 44px; border-radius: 11px; object-fit: contain; border: 1px solid var(--line); background: #fff; padding: 5px; }
.logo-tile {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--ink);
  color: var(--amber);
  display: inline-grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  flex: 0 0 auto;
}
.logo-tile-sm { width: 34px; height: 34px; border-radius: 9px; font-size: 0.72rem; }
.logo-tile-lg { width: 76px; height: 76px; border-radius: 20px; font-size: 1.4rem; }
.company-logo-lg { width: 76px; height: 76px; border-radius: 20px; }
.company-id { min-width: 0; flex: 1; }
.company-id .card-title { margin-bottom: 2px; }
.tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--amber);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tier-badge .ico { width: 11px; height: 11px; }

/* Feature cards */
.feature-grid { gap: 24px; }
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.feature-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--amber); display: grid; place-items: center; margin-bottom: 6px; }
.feature-ico .ico { width: 20px; height: 20px; }
.feature-card h3 { margin-bottom: 0; }
.feature-card p { color: var(--muted); font-size: 0.9rem; margin: 0 0 8px; flex: 1; }

/* ---------- Page hero ---------- */
.page-hero {
  background:
    radial-gradient(900px 320px at 85% -10%, rgba(255, 176, 32, 0.14), transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding: 34px 0 48px;
}
.page-hero .breadcrumbs { margin-bottom: 26px; }
.page-hero-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 48px; align-items: end; }
.page-hero h1 { font-size: clamp(1.9rem, 3.5vw, 3rem); margin-bottom: 14px; max-width: 780px; }
.page-lead { color: var(--muted); font-size: 1.02rem; max-width: 620px; margin: 0; }
.page-hero .hero-stats-inline { display: flex; justify-content: flex-end; gap: 30px; flex-wrap: wrap; }
.page-hero-partner .partner-steps { display: flex; flex-direction: column; gap: 10px; }
.partner-step { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.partner-step > span { font-family: var(--font-head); font-weight: 700; color: var(--amber-deep); font-size: 0.8rem; }
.partner-step strong { display: block; font-size: 0.86rem; color: var(--ink); }
.partner-step p { margin: 0; font-size: 0.78rem; color: var(--muted); }

/* Breadcrumbs */
.crumbs { display: flex; align-items: center; gap: 7px; font-size: 0.76rem; color: var(--muted); flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumb-sep { opacity: 0.5; }
.crumb-current { color: var(--ink); font-weight: 500; max-width: 460px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Filters ---------- */
.filter-panel {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 14px;
}
.filter-search { position: relative; flex: 1 1 260px; min-width: 220px; }
.filter-search .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 17px; height: 17px; }
.filter-search .input { padding-left: 38px; }
.filter-panel .select { flex: 0 1 158px; min-width: 130px; }
.filter-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.filter-spacer { flex: 1; }
.results-meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.82rem; color: var(--muted); margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.sort-form { display: flex; align-items: center; gap: 8px; }
.sort-form .select { width: auto; }

.input, .select, .textarea {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0 13px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
}
.textarea { height: auto; padding: 11px 13px; line-height: 1.55; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(10, 26, 47, 0.08);
}
.input::placeholder, .textarea::placeholder { color: #9aa7af; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235f6f7a' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.select-sm { height: 34px; font-size: 0.8rem; }
.input:disabled { background: #f4f6f4; color: var(--muted); }

.form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 0.78rem; font-weight: 600; color: var(--ink); }
.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.form-actions-between { justify-content: space-between; }
.check { display: flex; align-items: flex-start; gap: 8px; font-size: 0.82rem; color: var(--muted); }
.check input { margin-top: 3px; accent-color: var(--ink); }

/* ---------- Pagination ---------- */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 38px; flex-wrap: wrap; }
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 11px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--body);
}
.page-btn:hover { border-color: var(--ink); color: var(--ink); }
.page-btn.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-btn.is-disabled { opacity: 0.4; pointer-events: none; }
.page-gap { color: var(--muted); padding: 0 4px; }

/* ---------- Detail pages ---------- */
.detail-head { background: #fff; border-bottom: 1px solid var(--line); padding: 30px 0 34px; }
.detail-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; margin-top: 22px; }
.detail-badges { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.detail-head h1 { font-size: clamp(1.8rem, 3.2vw, 2.75rem); margin-bottom: 12px; }
.detail-sub { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 0.82rem; }
.detail-sub span, .detail-sub a { display: inline-flex; align-items: center; gap: 6px; }
.detail-sub .ico { width: 15px; height: 15px; color: var(--amber-deep); }
.detail-sub a { color: var(--ink); font-weight: 500; }
.detail-actions { display: flex; gap: 10px; flex: 0 0 auto; flex-wrap: wrap; }

.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; }
.detail-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.detail-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 84px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.panel-head h2, .panel-head h3 { margin: 0; font-size: 1.14rem; }
.panel h2 { font-size: 1.35rem; }
.panel h3 { font-size: 1rem; }
.lead-copy { font-size: 1.02rem; color: var(--body); line-height: 1.72; margin: 0; }

.prose { color: var(--body); font-size: 0.95rem; line-height: 1.72; }
.prose h4 { margin: 1.4em 0 0.4em; color: var(--ink); font-size: 0.95rem; }
.prose p { margin-bottom: 0.9em; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.2em; }
.prose li { margin-bottom: 0.35em; }
.prose > :last-child { margin-bottom: 0; }

.prose a { color: var(--amber-deep); text-decoration: underline; text-underline-offset: 2px; }
.article-figure { margin: 1.3em 0; }
.article-figure img { display: block; width: 100%; border-radius: 12px; border: 1px solid var(--line); }
.article-figure figcaption { margin-top: 8px; font-size: 0.78rem; color: var(--muted); line-height: 1.5; }

.pro-panel { border-color: rgba(232, 149, 0, 0.4); background: linear-gradient(180deg, #fffdf6, #fff 40%); }
.pro-foot { display: flex; align-items: center; gap: 7px; margin: 18px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 0.76rem; color: var(--muted); }
.pro-foot .ico { color: var(--mint); width: 15px; height: 15px; }

.facts-list { margin: 0; display: flex; flex-direction: column; }
.facts-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 0.83rem; }
.facts-list > div:last-child { border-bottom: 0; }
.facts-list dt { color: var(--muted); }
.facts-list dd { margin: 0; text-align: right; color: var(--ink); font-weight: 500; word-break: break-word; }
.facts-list dd .pill { vertical-align: middle; }
.facts .btn { margin-top: 14px; }

.mini-companies { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mini-companies a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 9px; }
.mini-companies a:hover { background: var(--bg); color: var(--ink); }
.mini-companies a > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.mini-companies strong { font-size: 0.84rem; }
.mini-companies small { font-size: 0.72rem; color: var(--muted); }
.mini-companies .ico { width: 15px; height: 15px; color: var(--muted); }

.cta-panel { background: var(--ink); color: #fff; border-color: var(--ink); }
.cta-panel h3 { color: #fff; }
.cta-panel p { color: rgba(255, 255, 255, 0.72); font-size: 0.86rem; }
.cta-panel .eyebrow { color: var(--amber); margin-bottom: 8px; }
.cta-panel .btn { margin-top: 6px; }
.cta-panel-soft { background: var(--amber-soft); border-color: rgba(232, 149, 0, 0.25); }
.cta-panel-soft h3 { color: var(--ink); }
.cta-panel-soft p { color: #6b5322; }
.cta-panel-soft .eyebrow { color: #8a5a00; }

.locked {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  background: linear-gradient(120deg, #0b1d33 0%, #122c47 100%);
  border-radius: var(--radius);
  padding: 30px;
  color: #fff;
  overflow: hidden;
}
.lock-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 176, 32, 0.16); border: 1px solid rgba(255, 176, 32, 0.35); color: var(--amber); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; margin-bottom: 14px; }
.lock-badge .ico { width: 13px; height: 13px; }
.locked h3 { color: #fff; font-size: 1.35rem; }
.locked p { color: rgba(255, 255, 255, 0.7); font-size: 0.88rem; }
.locked-list { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 7px; }
.locked-list li { display: flex; align-items: center; gap: 8px; font-size: 0.83rem; color: rgba(255, 255, 255, 0.82); }
.locked-list .ico { width: 15px; height: 15px; color: var(--mint); }
.locked-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.locked-actions .btn-ghost { color: rgba(255, 255, 255, 0.8); }
.locked-actions .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.locked-preview { display: flex; flex-direction: column; gap: 11px; justify-content: center; filter: blur(1.5px); opacity: 0.65; }
.fake-line { height: 9px; border-radius: 4px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08)); }
.w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w88 { width: 88%; } .w90 { width: 90%; } .w95 { width: 95%; } .w100 { width: 100%; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.metric-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.metric-k { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.metric-v { font-family: var(--font-head); font-size: 1.34rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.metric-v small { font-size: 0.7rem; color: var(--muted); margin-left: 3px; font-weight: 500; }
.metric-note { font-size: 0.72rem; color: var(--muted); }

.company-hero { display: flex; align-items: flex-start; gap: 20px; margin-top: 22px; flex-wrap: wrap; }
.company-hero-body { flex: 1; min-width: 240px; }
.company-hero h1 { margin-bottom: 10px; }
.company-hero .detail-actions { margin-left: auto; }

/* ---------- Pricing ---------- */
.pricing-hero { max-width: 760px; }
.pricing-hero h1 { margin-bottom: 14px; }
.current-plan-note { font-size: 0.84rem; color: var(--ink); background: var(--amber-soft); border: 1px solid rgba(232, 149, 0, 0.25); border-radius: 8px; padding: 9px 13px; display: inline-block; margin: 4px 0 16px; }
.billing-toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 3px; margin: 6px 0 12px; }
.toggle-opt { border: 0; background: transparent; padding: 8px 16px; border-radius: 8px; font-size: 0.82rem; font-weight: 600; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.toggle-opt.is-active { background: var(--ink); color: #fff; }
.toggle-opt .save { font-size: 0.64rem; font-weight: 700; background: var(--mint-soft); color: #107a55; padding: 2px 6px; border-radius: 999px; }
.toggle-opt.is-active .save { background: rgba(255, 255, 255, 0.16); color: #b8f2dd; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.price-card.is-highlight { background: linear-gradient(160deg, #10263f 0%, #0a1a2f 100%); border-color: var(--ink); color: rgba(255, 255, 255, 0.78); box-shadow: 0 30px 60px -34px rgba(10, 26, 47, 0.8); }
.price-card.is-focus:not(.is-highlight) { border-color: var(--amber); }
.price-flag { position: absolute; top: -12px; left: 28px; background: var(--amber); color: var(--ink); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 10px; border-radius: 999px; }
.price-head h3 { font-size: 1.25rem; margin-bottom: 6px; }
.price-head p { font-size: 0.82rem; color: var(--muted); min-height: 38px; margin-bottom: 18px; }
.is-highlight .price-head h3 { color: #fff; }
.is-highlight .price-head p { color: rgba(255, 255, 255, 0.62); }
.price-amount { display: flex; align-items: baseline; gap: 4px; }
.price-num { font-family: var(--font-head); font-size: 2.7rem; font-weight: 600; letter-spacing: -0.04em; color: var(--ink); line-height: 1; }
.is-highlight .price-num { color: #fff; }
.price-period { font-size: 0.84rem; color: var(--muted); }
.is-highlight .price-period { color: rgba(255, 255, 255, 0.6); }
.price-note { font-size: 0.74rem; color: var(--mint); margin: 6px 0 20px; display: block; min-height: 18px; }
.price-features { list-style: none; margin: 0 0 24px; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; flex: 1; }
.is-highlight .price-features { border-color: rgba(255, 255, 255, 0.13); }
.price-features li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.845rem; }
.price-features .ico { width: 15px; height: 15px; color: var(--mint); margin-top: 3px; flex: 0 0 auto; }
.is-highlight .price-features li { color: rgba(255, 255, 255, 0.8); }
.is-highlight .price-features .ico { color: var(--amber); }
.plan-form { margin-top: auto; }
.pricing-foot { text-align: center; margin-top: 26px; }
.pricing-grid-home { margin-top: 8px; }

.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.matrix { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.86rem; }
.matrix th, .matrix td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.matrix th { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); background: #fafbfa; font-weight: 600; }
.matrix th.matrix-pro { color: var(--amber-deep); }
.matrix td.matrix-pro { background: #fffdf6; }
.matrix tbody tr:last-child td { border-bottom: 0; }
.matrix tbody tr:hover td { background: #fdfefd; }
.matrix tbody tr:hover td.matrix-pro { background: #fffcf2; }
.tick { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--mint-soft); color: #12855c; }
.tick .ico { width: 13px; height: 13px; }
.dash { color: #b6c0c6; }
.matrix-text { font-size: 0.8rem; font-weight: 500; color: var(--ink); }

.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 0.9rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.1rem; color: var(--muted); }
.faq[open] summary::after { content: "–"; }
.faq p { margin: 0 0 16px; font-size: 0.855rem; color: var(--muted); }

/* ---------- Bands ---------- */
.band-band { background: var(--amber-soft); border-top: 1px solid rgba(232, 149, 0, 0.2); border-bottom: 1px solid rgba(232, 149, 0, 0.2); padding: 46px 0; }
.band-band-dark { background: var(--ink); border: 0; color: #fff; }
.band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.band-inner h2 { font-size: 1.55rem; margin-bottom: 8px; }
.band-inner p { margin: 0; color: #6b5322; max-width: 540px; font-size: 0.9rem; }
.band-band-dark h2 { color: #fff; }
.band-band-dark p { color: rgba(255, 255, 255, 0.68); }
.band-band-dark .eyebrow { color: var(--amber); }
.band-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: #071525; color: rgba(255, 255, 255, 0.62); padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 46px; }
.footer-brand p { font-size: 0.84rem; max-width: 340px; margin: 16px 0 0; line-height: 1.65; }
.footer-note { color: rgba(255, 255, 255, 0.34) !important; font-size: 0.76rem !important; }
.footer-col h4 { color: #fff; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 0.84rem; padding: 4px 0; color: rgba(255, 255, 255, 0.6); }
.footer-col a:hover { color: var(--amber); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.76rem; color: rgba(255, 255, 255, 0.4); flex-wrap: wrap; }
.footer-status { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: #4be0a8; }

/* ---------- Empty / 404 ---------- */
.empty-state { background: #fff; border: 1px dashed var(--line-strong); border-radius: 14px; padding: 56px 24px; text-align: center; }
.empty-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--bg-alt); color: var(--muted); display: grid; place-items: center; margin: 0 auto 14px; }
.empty-state h3 { margin-bottom: 6px; }
.empty-state p { color: var(--muted); font-size: 0.88rem; margin-bottom: 18px; }
.notfound { text-align: center; padding: 100px 24px 120px; max-width: 560px; margin: 0 auto; }
.notfound h1 { font-size: 3.2rem; margin-bottom: 10px; }
.notfound p { color: var(--muted); margin-bottom: 26px; }
.notfound-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Auth ---------- */
.auth-body { background: var(--ink); }
.auth-body .nav { background: #fff; }
.auth-shell { padding: 56px 0 80px; }
.auth-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; }
.auth-card { background: #fff; border-radius: 20px; padding: 38px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.9rem; margin-bottom: 8px; }
.auth-lead { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
.auth-switch { font-size: 0.84rem; color: var(--muted); margin: 18px 0 0; }
.auth-switch a { color: var(--ink); font-weight: 600; }
.auth-aside { background: linear-gradient(160deg, #122c47 0%, #0a1a2f 100%); border-radius: 20px; padding: 38px; color: #fff; }
.auth-aside h2 { color: #fff; font-size: 1.5rem; margin-bottom: 18px; }
.auth-list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.auth-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.78); }
.auth-list .ico { width: 16px; height: 16px; color: var(--amber); margin-top: 3px; }
.auth-quote { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 20px; }
.auth-quote p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.82); font-style: italic; }
.auth-quote span { font-size: 0.74rem; color: rgba(255, 255, 255, 0.5); }
.auth-note { color: rgba(255, 255, 255, 0.55); font-size: 0.78rem; }
.plan-pick { background: var(--amber-soft); border: 1px solid rgba(232, 149, 0, 0.25); border-radius: 9px; padding: 10px 13px; font-size: 0.82rem; color: #6b5322; margin-bottom: 18px; }
.demo-box { margin-top: 24px; padding-top: 18px; border-top: 1px dashed var(--line); }
.demo-title { display: flex; align-items: center; gap: 6px; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 10px; }
.demo-title .ico { width: 14px; height: 14px; color: var(--mint); }
.demo-row { display: flex; align-items: center; gap: 8px; font-size: 0.74rem; padding: 5px 0; color: var(--muted); flex-wrap: wrap; }
.demo-row > span { width: 82px; font-weight: 600; color: var(--ink); }
.demo-row code { font-size: 0.7rem; }

/* ---------- Account ---------- */
.account-head { background: #fff; }
.account-hero { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 18px; }
.account-hero h1 { font-size: 1.8rem; margin-bottom: 4px; }
.account-hero-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; }
.tab { padding: 11px 16px; font-size: 0.86rem; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); font-weight: 600; border-bottom-color: var(--amber); }
.account-overview { margin-bottom: 22px; }
.membership-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.membership-plan { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.membership-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.export-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.saved-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.saved-item { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.saved-item:last-child { border-bottom: 0; }
.saved-type { font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; color: var(--muted); background: var(--bg-alt); padding: 4px 8px; border-radius: 6px; flex: 0 0 auto; }
.saved-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.saved-body strong { font-size: 0.88rem; }
.saved-body a:hover strong { color: var(--amber-deep); }
.inquiry-list { display: flex; flex-direction: column; gap: 14px; }
.inquiry-item { border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.inquiry-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.inquiry-item p { margin: 0; font-size: 0.86rem; white-space: pre-line; }
.admin-response { margin-top: 12px; background: var(--bg); border-radius: 9px; padding: 11px 13px; display: flex; flex-direction: column; gap: 3px; }
.admin-response strong { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.admin-response span { font-size: 0.82rem; white-space: pre-line; }

/* ---------- Partner / technology / legal ---------- */
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.partner-grid .panel { height: 100%; }
.partner-grid .panel-head h2 { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; }
.partner-grid .panel-head .ico { width: 18px; height: 18px; color: var(--amber-deep); }
.partner-terms { margin-top: 26px; }
.tech-hero { position: relative; color: #fff; padding: 30px 0 70px; overflow: hidden; background: var(--ink); }
.tech-media { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.55; }
.tech-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(5, 14, 26, 0.95) 20%, rgba(5, 14, 26, 0.55) 100%); }
.tech-inner { position: relative; }
.tech-hero h1 { color: #fff; max-width: 760px; margin-top: 26px; }
.tech-hero .page-lead { color: rgba(255, 255, 255, 0.72); max-width: 640px; }
.tech-hero .crumbs a, .tech-hero .crumb-current, .tech-hero .crumb-sep { color: rgba(255, 255, 255, 0.6); }
.tech-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.two-col { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 22px; align-items: start; }
.about-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.about-list .ico { width: 19px; height: 19px; color: var(--amber-deep); flex: 0 0 auto; margin-top: 2px; }
.about-list strong { display: block; color: var(--ink); font-size: 0.9rem; margin-bottom: 2px; }
.legal { max-width: 780px; }
.legal h1 { font-size: 2.1rem; }
.legal h2 { font-size: 1.15rem; margin-top: 34px; }
.legal p { font-size: 0.93rem; color: var(--muted); }
.legal a { color: var(--ink); text-decoration: underline; }

/* ---------- Checkout ---------- */
.checkout-shell { padding-top: 40px; }
.checkout-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 24px; align-items: start; margin-top: 24px; }
.checkout-main h1 { font-size: 1.9rem; }
.test-banner { display: flex; gap: 11px; align-items: flex-start; background: var(--blue-soft); border: 1px solid rgba(47, 107, 255, 0.2); border-radius: 10px; padding: 13px 15px; margin-bottom: 22px; font-size: 0.82rem; color: #22478f; }
.test-banner .ico { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; }
.test-banner strong { display: block; font-size: 0.83rem; margin-bottom: 1px; }
.test-banner span { color: #3a5a9e; }
.summary-plan { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0 18px; border-bottom: 1px solid var(--line); }
.summary-plan > div { display: flex; flex-direction: column; }
.summary-price { font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; color: var(--ink); }
.checkout-summary .price-features { margin-bottom: 14px; }
.summary-line { display: flex; justify-content: space-between; font-size: 0.84rem; padding: 6px 0; color: var(--muted); }
.summary-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; color: var(--ink); font-weight: 600; font-size: 0.95rem; }

/* =========================================================
   Admin console
   ========================================================= */
.admin-body { background: #f3f5f4; }
.admin-shell { display: grid; grid-template-columns: 246px minmax(0, 1fr); min-height: 100vh; }
.admin-side { background: #081827; color: rgba(255, 255, 255, 0.66); display: flex; flex-direction: column; padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-brand { display: flex; align-items: center; gap: 9px; padding: 2px 8px 20px; font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1rem; letter-spacing: -0.02em; }
.admin-brand:hover { color: #fff; }
.admin-brand .brand-mark { background: rgba(255, 255, 255, 0.1); }
.brand-accent { color: var(--amber); }
.admin-brand small { display: block; font-family: var(--font-body); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.38); margin-top: 2px; }
.admin-nav { display: flex; flex-direction: column; gap: 2px; }
.admin-nav-link { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 8px; font-size: 0.845rem; font-weight: 500; color: rgba(255, 255, 255, 0.64); }
.admin-nav-link .ico { width: 17px; height: 17px; flex: 0 0 auto; opacity: 0.8; }
.admin-nav-link:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.admin-nav-link.is-active { background: rgba(255, 176, 32, 0.14); color: #fff; font-weight: 600; }
.admin-nav-link.is-active .ico { color: var(--amber); opacity: 1; }
.admin-badge { margin-left: auto; background: var(--amber); color: var(--ink); font-size: 0.66rem; font-weight: 700; min-width: 19px; height: 19px; border-radius: 999px; display: inline-grid; place-items: center; padding: 0 5px; }
.admin-badge-soft { background: rgba(255, 255, 255, 0.14); color: #fff; }
.admin-side-foot { margin-top: auto; padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.admin-user { display: flex; align-items: center; gap: 9px; padding: 11px; background: rgba(255, 255, 255, 0.05); border-radius: 10px; }
.admin-user .avatar { background: rgba(255, 255, 255, 0.14); color: var(--amber); }
.admin-user > div { min-width: 0; display: flex; flex-direction: column; }
.admin-user strong { font-size: 0.78rem; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-user small { font-size: 0.68rem; color: rgba(255, 255, 255, 0.42); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-logout { display: flex; align-items: center; gap: 8px; background: transparent; border: 0; color: rgba(255, 255, 255, 0.5); font-size: 0.78rem; cursor: pointer; padding: 6px 10px; border-radius: 7px; width: 100%; }
.admin-logout:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.admin-logout .ico { width: 15px; height: 15px; }

.admin-main { min-width: 0; display: flex; flex-direction: column; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 30px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.admin-topbar h1 { font-size: 1.2rem; margin: 0 0 2px; }
.admin-topbar-sub { font-size: 0.72rem; color: var(--muted); }
.admin-top-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-content { padding: 26px 30px 60px; display: flex; flex-direction: column; gap: 20px; }
.admin-content .flash { width: 100%; margin: 0; }

.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.admin-stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; transition: border-color 0.15s ease, transform 0.15s ease; }
.admin-stat:hover { border-color: var(--line-strong); transform: translateY(-1px); color: inherit; }
.admin-stat.is-hot { border-color: rgba(232, 149, 0, 0.4); background: #fffdf6; }
.admin-stat.is-warn { border-color: rgba(207, 63, 63, 0.35); background: #fffafa; }
.admin-stat-k { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.admin-stat-k .ico { width: 14px; height: 14px; color: var(--amber-deep); }
.admin-stat strong { font-family: var(--font-head); font-size: 1.7rem; color: var(--ink); font-weight: 600; letter-spacing: -0.02em; }
.admin-stat small { font-size: 0.72rem; color: var(--muted); }

.admin-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.admin-grid-2-equal { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.admin-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.admin-card-pro { border-color: rgba(232, 149, 0, 0.35); background: linear-gradient(180deg, #fffdf6, #fff 40%); }
.admin-card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.admin-card-head h2 { font-size: 1.02rem; margin: 0; }
.admin-sub { display: block; font-size: 0.74rem; color: var(--muted); font-weight: 400; margin-top: 2px; }
.admin-inline-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.table-wrap { overflow-x: auto; margin: 0 -20px; padding: 0 20px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.83rem; min-width: 560px; }
.admin-table th { text-align: left; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 600; padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table td { padding: 11px 10px; border-bottom: 1px solid #f0f3f1; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover { background: #fafbfa; }
.admin-table strong { font-weight: 600; color: var(--ink); }
.admin-table a:hover strong { color: var(--amber-deep); }
.admin-nowrap { white-space: nowrap; }
.admin-row-actions { display: flex; gap: 2px; justify-content: flex-end; }
.admin-code { font-size: 0.72rem; }
.admin-error { color: var(--red); }
.admin-empty { padding: 34px 10px; text-align: center; color: var(--muted); font-size: 0.85rem; }

.admin-status { display: inline-flex; align-items: center; height: 21px; padding: 0 8px; border-radius: 999px; font-size: 0.68rem; font-weight: 600; text-transform: capitalize; white-space: nowrap; background: #eef1f5; color: #5a6673; }
.admin-status-ok, .admin-status-active, .admin-status-published, .admin-status-approved, .admin-status-processed { background: var(--mint-soft); color: #107a55; }
.admin-status-warn, .admin-status-draft, .admin-status-new, .admin-status-received, .admin-status-trialing { background: var(--amber-soft); color: #8a5a00; }
.admin-status-danger, .admin-status-failed, .admin-status-disabled { background: var(--red-soft); color: #8f2626; }
.admin-status-muted, .admin-status-archived { background: #eef1f5; color: #5a6673; }

.admin-filterbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 11px; }
.admin-filterbar .filter-search { flex: 1 1 260px; }
.admin-filterbar .select { flex: 0 1 180px; }
.admin-filterbar .chip { height: 30px; }
.admin-filterbar .chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

.admin-form { display: flex; flex-direction: column; gap: 14px; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.admin-field:last-child { margin-bottom: 0; }
.admin-label { font-size: 0.74rem; font-weight: 600; color: var(--ink); text-transform: uppercase; letter-spacing: 0.03em; }
.admin-hint { font-size: 0.73rem; color: var(--muted); }
.admin-form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-form-actions.sticky { position: sticky; bottom: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; box-shadow: var(--shadow-soft); z-index: 10; }
.admin-action-row { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-import { background: #fafbfa; border: 1px dashed var(--line-strong); border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.8rem; }
.check-grid { display: grid; gap: 6px 18px; margin-top: 2px; }
.check-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.check-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.check-grid .check { font-size: 0.8rem; color: var(--body); }

.admin-inquiry { margin-bottom: 16px; }
.admin-inquiry-body { font-size: 0.85rem; white-space: pre-line; background: #fafbfa; border-radius: 9px; padding: 13px 15px; margin-bottom: 16px; }
.admin-inquiry-form { border-top: 1px solid var(--line); padding-top: 14px; }

.admin-member { border-bottom: 1px solid var(--line); }
.admin-member:last-child { border-bottom: 0; }
.admin-member > summary { display: flex; align-items: center; gap: 12px; padding: 12px 2px; cursor: pointer; list-style: none; }
.admin-member > summary::-webkit-details-marker { display: none; }
.admin-member > summary:hover { background: #fafbfa; }
.admin-member-id { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-member-id strong { font-size: 0.84rem; }
.admin-member-id small { font-size: 0.73rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.admin-member-plan { flex: 0 0 auto; }
.admin-member-end { font-size: 0.76rem; color: var(--muted); flex: 0 0 90px; text-align: right; }
.admin-member-body { padding: 6px 2px 20px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; }
.admin-member-forms { display: flex; flex-direction: column; gap: 14px; }
.admin-inline-fields { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.admin-inline-fields .input, .admin-inline-fields .select { width: auto; flex: 1 1 110px; height: 36px; font-size: 0.8rem; }
.admin-help-list { margin: 0; padding-left: 18px; font-size: 0.82rem; color: var(--muted); display: flex; flex-direction: column; gap: 7px; }

.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.media-item { margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fafbfa; }
.media-item img { width: 100%; height: 110px; object-fit: cover; background: #eef1ef; }
.media-item figcaption { padding: 9px 11px 4px; display: flex; flex-direction: column; }
.media-name { font-size: 0.72rem; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.media-actions { display: flex; justify-content: space-between; padding: 4px 8px 8px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; padding-top: 76px; }
  .hero-card { max-width: 520px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .page-hero .hero-stats-inline { justify-content: flex-start; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .price-card.is-highlight { transform: none; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; padding: 12px 16px; }
  .admin-brand { padding: 4px 6px 12px; }
  .admin-nav { flex-direction: row; overflow-x: auto; gap: 4px; padding-bottom: 6px; }
  .admin-nav-link { white-space: nowrap; }
  .admin-side-foot { display: none; }
  .admin-content { padding: 20px 20px 50px; }
  .admin-topbar { padding: 14px 20px; }
  .admin-stats { grid-template-columns: repeat(3, 1fr); }
  .admin-member-body { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .nav-mobile { display: none; padding: 8px 24px 18px; border-top: 1px solid var(--line); background: #fff; flex-direction: column; gap: 2px; }
  .nav-mobile.is-open { display: flex; }
  .nav-mobile-link { display: block; padding: 10px 10px; font-size: 0.92rem; font-weight: 500; color: var(--body); border-radius: 8px; background: none; border: 0; text-align: left; width: 100%; cursor: pointer; }
  .nav-mobile-link:hover { background: var(--bg); color: var(--ink); }
  .auth-grid { grid-template-columns: 1fr; }
  .auth-aside { order: -1; }
  .faq-grid, .partner-grid, .two-col, .checkout-grid, .admin-grid-2, .admin-grid-2-equal { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .locked { grid-template-columns: 1fr; }
  .locked-preview { display: none; }
  .section { padding: 62px 0; }
  .detail-title-row { flex-direction: column; gap: 18px; }
  .detail-actions { width: 100%; }
  .account-hero-actions { margin-left: 0; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .grid-3, .grid-4, .grid-2, .pricing-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.3rem; }
  .hero-inner { padding-top: 56px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .hero-trust { gap: 12px; }
  .hero-stats-inline { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .filter-panel { flex-direction: column; align-items: stretch; }
  .filter-panel .select, .filter-panel .btn { flex: 1 1 auto; width: 100%; }
  .results-meta { flex-direction: column; align-items: flex-start; }
  .detail-sub { gap: 10px; }
  .panel { padding: 20px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .band-inner { flex-direction: column; align-items: flex-start; }
  .split-head { flex-direction: column; align-items: flex-start; }
  .admin-stats { grid-template-columns: 1fr; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .check-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .admin-member-end { display: none; }
  .admin-topbar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .auth-card { padding: 24px; }
  .auth-aside { padding: 26px; }
  .company-hero .detail-actions { margin-left: 0; }
  .page-hero { padding-top: 22px; }
}
