/* ==========================================================================
   RxChange — Mockup styles (hero + section UI mockups)
   ========================================================================== */

/* ============== HERO MOCKUP ============== */
.hero-mock {
  position: relative;
  border-radius: var(--r-4);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--sh-4), var(--sh-glow);
  overflow: hidden;
  font-size: 13px;
  isolation: isolate;
}

.hero-mock__chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
}
.hero-mock__chrome .dots { display: flex; gap: 5px; }
.hero-mock__chrome .dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--line-strong); display: inline-block;
}
.hero-mock__chrome .dots i:nth-child(1) { background: #ff5f57; }
.hero-mock__chrome .dots i:nth-child(2) { background: #febc2e; }
.hero-mock__chrome .dots i:nth-child(3) { background: #28c840; }
.hero-mock__chrome .urlbar {
  flex: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 6px;
  max-width: 380px;
  margin: 0 auto;
}
.hero-mock__chrome .urlbar .lock {
  color: var(--ok);
  display: inline-flex;
}
.hero-mock__chrome .who {
  width: 28px; height: 28px;
}
.hero-mock__chrome .avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-300), var(--teal-700));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-mock__body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 460px;
}

/* sidebar */
.hm-side {
  background: var(--panel-2);
  border-right: 1px solid var(--line);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
}
.hm-side__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  padding-left: 4px;
}
.hm-side__brand b { color: var(--accent); }
.hm-side nav { display: flex; flex-direction: column; gap: 2px; }
.hm-side nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 6px;
  color: var(--ink-3);
  font-size: 12.5px;
  font-weight: 500;
  cursor: default;
}
.hm-side nav a.is-active {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.hm-side nav a .badge {
  margin-left: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 6px;
  font-size: 10px;
  color: var(--ink-3);
  font-weight: 600;
}
.hm-side nav a.is-active .badge {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.hm-side__foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* main */
.hm-main {
  padding: 22px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hm-main__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.hm-step-track {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hm-step {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  font-size: 11px;
  color: var(--ink-3);
  transition: all .25s var(--ease);
}
.hm-step .d {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}
.hm-step.is-on {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.hm-step.is-on .d { color: rgba(255,255,255,0.7); }

.hm-form {
  display: flex; flex-direction: column;
  gap: 11px;
  margin-top: 4px;
}
.hm-field { display: flex; flex-direction: column; gap: 5px; position: relative; }
.hm-field label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.hm-field .input {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  font-size: 13px;
  color: var(--ink);
  min-height: 38px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.hm-field .input.is-filled {
  border-color: var(--teal-300);
  background: var(--accent-tint);
}
.hm-field .input .val { display: inline-flex; align-items: center; gap: 9px; }
.hm-field .input .placeholder { color: var(--muted-2); }
.pill-mono {
  font-size: 10px;
  background: var(--panel-2);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--ink-3);
}
.caret {
  display: inline-block;
  width: 1px;
  background: var(--accent);
  color: var(--accent);
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hm-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }

.hm-autocomplete {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  margin-top: 4px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--sh-3);
  padding: 4px;
  z-index: 4;
}
.hm-autocomplete .row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 9px;
  font-size: 12px;
  border-radius: 6px;
}
.hm-autocomplete .row .d { flex: 1; }
.hm-autocomplete .row .mono { font-family: var(--font-mono); font-size: 10px; color: var(--muted); }
.hm-autocomplete .row .man { font-size: 10px; color: var(--muted); }
.hm-autocomplete .row.is-active {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.hm-autocomplete .row.is-active .mono { color: var(--accent); }

.hm-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}
.hm-submit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent);
  color: #fff;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s var(--ease);
}
.hm-submit.is-loading { background: var(--teal-700); }
.spinner {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* confirm */
.hm-confirm {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 20px 8px;
  background: linear-gradient(180deg, var(--accent-tint) 0%, transparent 100%);
  border: 1px solid var(--teal-200);
  border-radius: 12px;
  margin-top: 4px;
}
[data-theme="dark"] .hm-confirm { border-color: rgba(45,212,191,0.18); }
.hm-confirm__hd {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ok-check {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 0 0 4px rgba(16,185,129,0.18);
}
.hm-pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding-top: 6px;
}
.hm-pipeline .hp-rail {
  position: absolute;
  top: 16px;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  z-index: 0;
}
.hm-pipeline .hp-rail-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width .35s var(--ease);
}
.hp-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hp-step .hp-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--line);
  color: #fff;
  display: grid; place-items: center;
}
.hp-step.is-done .hp-dot { background: var(--accent); border-color: var(--accent); }
.hp-step.is-current .hp-dot { box-shadow: 0 0 0 4px var(--accent-ring); }
.hp-step .hp-l { font-size: 10.5px; color: var(--muted); font-weight: 500; }
.hp-step.is-done .hp-l { color: var(--ink-2); font-weight: 600; }

.hm-confirm__notes {
  display: flex; flex-direction: column; gap: 6px;
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
}
.hm-confirm__notes .row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  color: var(--ink-2);
}
.hm-confirm__notes .row > div { display: inline-flex; align-items: center; gap: 8px; }
.hm-confirm__notes .mono { font-family: var(--font-mono); font-size: 10px; color: var(--muted); }

/* floating chips */
.hm-float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: var(--sh-3);
  z-index: 3;
}
.hm-float--phipa {
  top: 18%;
  right: -18px;
  color: var(--accent);
}
.hm-float--phipa svg { color: var(--accent); }
.hm-float--stat {
  bottom: 12%;
  left: -22px;
}
.hm-float--stat .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
}

@media (max-width: 960px) {
  .hero-mock { font-size: 12px; }
  .hero-mock__body { grid-template-columns: 1fr; min-height: 0; }
  .hm-side { display: none; }
  .hm-main { padding: 18px; }
  .hm-step-track { display: none; }
  .hm-float--phipa, .hm-float--stat { display: none; }
}

/* ==========================================================================
   Generic mini "frame" used across feature sections
   ========================================================================== */
.mini-frame {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  box-shadow: var(--sh-3);
  overflow: hidden;
  position: relative;
  font-size: 12.5px;
}
.mini-frame__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
}
.mini-frame__bar .dots { display: flex; gap: 4px; }
.mini-frame__bar .dots i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line-strong);
}
.mini-frame__bar .dots i:nth-child(1) { background: #ff5f57; }
.mini-frame__bar .dots i:nth-child(2) { background: #febc2e; }
.mini-frame__bar .dots i:nth-child(3) { background: #28c840; }
.mini-frame__bar .ttl {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mini-frame__body { padding: 16px 18px; }

/* ============== MARKETPLACE LISTING CARD ============== */
.mkt-list {
  display: flex; flex-direction: column; gap: 10px;
}
.mkt-card {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  transition: border-color .2s var(--ease);
}
.mkt-card:hover { border-color: var(--teal-300); }
.mkt-card .pic {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--accent-tint);
  display: grid; place-items: center;
  color: var(--accent);
}
.mkt-card .d {
  display: flex; flex-direction: column; gap: 3px;
}
.mkt-card .d .n {
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
}
.mkt-card .d .meta {
  display: flex; gap: 10px;
  font-size: 11px;
  color: var(--muted);
}
.mkt-card .d .meta span { display: inline-flex; gap: 4px; align-items: center; }
.mkt-card .d .meta .mono { font-family: var(--font-mono); }
.mkt-card .price {
  text-align: right;
  display: flex; flex-direction: column; gap: 2px;
}
.mkt-card .price .p {
  font-size: 15px; font-weight: 700; color: var(--ink);
}
.mkt-card .price .dist {
  font-size: 10px; color: var(--muted);
  font-family: var(--font-mono);
}

/* ============== DRUG INFO REFERENCE CARD ============== */
.drug-ref {
  display: flex; flex-direction: column;
  gap: 14px;
}
.drug-ref__hd {
  display: flex; align-items: flex-start; justify-content: space-between;
}
.drug-ref__hd h4 {
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}
.drug-ref__hd .mono { color: var(--muted); font-size: 11px; font-family: var(--font-mono); }
.drug-ref__shortage {
  background: rgba(245,158,11,0.10);
  border: 1px solid rgba(245,158,11,0.25);
  color: #92400e;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  display: flex; align-items: center; gap: 10px;
}
[data-theme="dark"] .drug-ref__shortage { color: #fbbf24; }
.drug-ref__shortage strong { color: inherit; }
.drug-ref__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  font-size: 12px;
}
.drug-ref__grid .row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line-soft); }
.drug-ref__grid .row .k { color: var(--muted); }
.drug-ref__grid .row .v { color: var(--ink-2); font-weight: 500; }
.drug-ref__tags {
  display: flex; gap: 6px; flex-wrap: wrap;
}

/* ============== MESSAGES INBOX ============== */
.inbox {
  display: flex; flex-direction: column;
}
.inbox__item {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line-soft);
}
.inbox__item:last-child { border-bottom: 0; }
.inbox__item .av {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--accent-tint);
  color: var(--accent);
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.inbox__item .from {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.inbox__item .from .tr {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.inbox__item > div { min-width: 0; }
.inbox__item .prev { font-size: 11.5px; color: var(--muted); margin-top: 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.inbox__item .time { font-family: var(--font-mono); font-size: 10px; color: var(--muted); }
.inbox__item.unread { background: var(--accent-tint); }
.inbox__item.unread .from .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

/* ============== NETWORK MAP ============== */
.netmap {
  position: relative;
  height: 340px;
  background:
    radial-gradient(ellipse at 50% 50%, var(--accent-tint), transparent 70%),
    var(--panel-2);
  border-radius: 10px;
  overflow: hidden;
}
.netmap__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--line) 70%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--line) 70%, transparent) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.6;
}
.netmap__pin {
  position: absolute;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  transform: translate(-50%, -100%);
}
.netmap__pin .marker {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
  border: 2px solid #fff;
  box-shadow: var(--sh-2), 0 0 0 5px var(--accent-ring);
}
.netmap__pin .label {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  white-space: nowrap;
  box-shadow: var(--sh-1);
}
.netmap__pulse {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  animation: pulse-ring 2.4s var(--ease) infinite;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 var(--accent-ring); }
  100% { box-shadow: 0 0 0 28px transparent; }
}
.netmap__hud {
  position: absolute;
  left: 14px; bottom: 14px;
  display: flex; gap: 8px;
  font-size: 11px;
}
.netmap__hud .chip {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--ink-3);
}

/* ============== ADMIN STATS ============== */
.admin {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.admin .stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
}
.admin .stat .mono { font-family: var(--font-mono); font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.admin .stat .v {
  display: flex; align-items: baseline; gap: 6px;
  font-size: 28px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 4px;
}
.admin .stat .delta { font-size: 11px; font-weight: 600; color: var(--ok); }
.admin .stat .spark { margin-top: 6px; }
.admin__row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
}
.admin__chart {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}
.admin__chart .hd {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;
  font-size: 12px;
  color: var(--ink-2);
}

/* ============== INTEGRATIONS STRIP ============== */
.integ {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--panel);
  overflow: hidden;
}
.integ .cell {
  padding: 26px 18px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 8px;
  transition: background .2s var(--ease);
}
.integ .cell:hover { background: var(--panel-2); }
.integ .cell .icn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--accent-tint);
  color: var(--accent);
  border-radius: 8px;
}
.integ .cell .nm { font-size: 13.5px; font-weight: 600; }
.integ .cell .ds { font-size: 11.5px; color: var(--muted); }
.integ .cell:nth-child(5n) { border-right: 0; }
@media (max-width: 900px) {
  .integ { grid-template-columns: repeat(2, 1fr); }
  .integ .cell:nth-child(5n) { border-right: 1px solid var(--line-soft); }
  .integ .cell:nth-child(2n) { border-right: 0; }
}

/* ============== Pharma Intelligence (Enterprise dark card) ============== */
.enterprise {
  background:
    radial-gradient(ellipse at top right, rgba(20,184,166,0.20), transparent 60%),
    linear-gradient(180deg, #0a1218 0%, #0a0f14 100%);
  color: #e6eef2;
  border-radius: var(--r-4);
  padding: clamp(36px, 5vw, 64px);
  position: relative;
  overflow: hidden;
  border: 1px solid #1c2a33;
}
.enterprise__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 100% 0%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 30%, transparent 70%);
  pointer-events: none;
}
.enterprise__body {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.enterprise h2 {
  color: #fff;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 12px 0 18px;
  font-weight: 700;
}
.enterprise p { color: #a8b6c0; max-width: 52ch; }
.enterprise .eyebrow {
  background: rgba(45,212,191,0.10);
  border-color: rgba(45,212,191,0.25);
  color: var(--teal-300);
}
.enterprise .eyebrow .dot { background: var(--teal-300); box-shadow: 0 0 0 4px rgba(45,212,191,0.12); }
.enterprise__points {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 22px;
  margin: 22px 0 28px;
}
.enterprise__points li {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px;
  color: #d1dde2;
}
.enterprise__points li .c {
  color: var(--teal-300);
  width: 18px; height: 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(45,212,191,0.14);
}
.enterprise__actions { display: flex; gap: 12px; }
.enterprise__actions .btn--primary {
  background: var(--teal-400);
  color: #0a0f14;
}
.enterprise__actions .btn--primary:hover { background: var(--teal-300); }
.enterprise__actions .btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.18);
}
.enterprise__actions .btn--ghost:hover { border-color: var(--teal-300); color: var(--teal-300); }

/* Right panel — endpoint mock */
.api-mock {
  background: #0e1820;
  border: 1px solid #1c2a33;
  border-radius: 14px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px;
}
.api-mock__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: #0a1218;
  border-bottom: 1px solid #1c2a33;
}
.api-mock__bar .verb {
  background: rgba(45,212,191,0.18);
  color: var(--teal-300);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.api-mock__bar .path { color: #c8d3da; }
.api-mock__bar .status {
  margin-left: auto;
  color: var(--ok);
  font-size: 11px;
}
.api-mock__body {
  padding: 16px 18px;
  color: #c8d3da;
  line-height: 1.7;
}
.api-mock .key { color: #93c5fd; }
.api-mock .str { color: var(--teal-300); }
.api-mock .num { color: #fde68a; }
.api-mock .com { color: #6b7c87; }

@media (max-width: 900px) {
  .enterprise__body { grid-template-columns: 1fr; gap: 32px; }
  .enterprise__points { grid-template-columns: 1fr; }
}

/* ============== FAQ ============== */
.faq {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: transform .25s var(--ease), background .2s var(--ease);
  flex-shrink: 0;
}
.faq details[open] summary .ic {
  transform: rotate(45deg);
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--teal-300);
}
.faq .body {
  margin-top: 14px;
  color: var(--ink-3);
  max-width: 70ch;
  font-size: 15px;
  line-height: 1.6;
}

/* ============== PRICING ============== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
.price-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.price-card.is-popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--sh-3);
  background: linear-gradient(180deg, var(--accent-tint) 0%, var(--panel) 50%);
}
.price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.price-card__name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.price-card__amt {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--accent);
  line-height: 1;
  display: flex; align-items: baseline; gap: 6px;
}
.price-card__amt small {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0;
}
.price-card__note {
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
}
[data-theme="dark"] .price-card__note { color: var(--teal-300); }
[data-theme="dark"] .price-card.is-popular {
  background: linear-gradient(180deg, rgba(20,184,166,0.08) 0%, var(--panel) 50%);
}
.price-card ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.price-card ul li {
  display: flex; align-items: center; gap: 11px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.price-card ul li .c {
  color: var(--accent);
  width: 18px; height: 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
}
.price-card .btn { width: 100%; margin-top: auto; }

@media (max-width: 700px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ============== FOOTER ============== */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  font-size: 13px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.footer__brand {
  display: flex; flex-direction: column; gap: 16px;
}
.footer__brand p {
  color: var(--muted);
  font-size: 13px;
  max-width: 32ch;
  margin: 0;
}
.footer__col h5 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.footer__col a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-size: 13px;
  transition: color .2s var(--ease);
}
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.footer__bottom .made {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.footer__bottom .made .maple {
  color: var(--maple);
  width: 14px; height: 14px;
}

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}
