:root {
  --ink: #18222b;
  --black: #080808;
  --muted: #66727d;
  --line: #d9e0e6;
  --panel: #ffffff;
  --soft: #f3f6f8;
  --blue: #111111;
  --blue-dark: #000000;
  --green: #2d8b57;
  --gold: #9d7a2f;
  --danger: #a73535;
  --shadow: 0 20px 60px rgba(24, 34, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f2f3f1;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 32px;
  border-bottom: 1px solid rgba(24, 34, 43, 0.1);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand,
.top-actions,
.main-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--black);
}

.brand small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-nav {
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--blue-dark);
}

.top-actions {
  gap: 12px;
}

.currency-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

select,
input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
}

select {
  padding: 0 32px 0 12px;
}

input {
  width: 100%;
  padding: 0 12px;
}

.ghost-button,
.secondary-button,
.primary-button,
.filter-button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: white;
  background: var(--black);
}

.primary-button:hover {
  background: var(--blue-dark);
}

.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--blue-dark);
  background: #ededeb;
}

.ghost-button.small {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.full {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 48px;
  min-height: calc(100vh - 72px);
  align-items: center;
  padding: 64px 32px 48px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(242, 243, 241, 0.96)),
    repeating-linear-gradient(0deg, rgba(8, 8, 8, 0.08) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(8, 8, 8, 0.08) 0 1px, transparent 1px 48px);
}

.hero-copy,
.section-heading,
.catalog-layout,
.workflow,
.appointment-section,
.compliance-section,
.ecsa-section,
.dashboard-section,
.footer {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.hero-copy {
  margin-left: auto;
}

.hero-logo {
  display: block;
  width: 112px;
  height: 112px;
  margin-bottom: 24px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--black);
  box-shadow: 0 18px 50px rgba(8, 8, 8, 0.18);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(40px, 7vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
}

.hero-text {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.secondary-hero-text {
  margin-top: -8px;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.blueprint-panel {
  width: min(540px, 100%);
  margin-right: auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  overflow: hidden;
  color: #f8f8f8;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 32px),
    #090909;
  box-shadow: var(--shadow);
}

.blueprint-header,
.blueprint-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 800;
}

.blueprint-footer {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 0;
}

.blueprint-footer strong {
  font-size: 26px;
}

.blueprint-grid {
  display: grid;
  gap: 24px;
  padding: 44px 32px;
}

.beam-diagram {
  position: relative;
  height: 180px;
}

.beam {
  position: absolute;
  top: 92px;
  left: 8%;
  width: 84%;
  height: 14px;
  border: 2px solid #f8f8f8;
}

.support {
  position: absolute;
  top: 112px;
  width: 0;
  height: 0;
  border-right: 24px solid transparent;
  border-bottom: 42px solid rgba(248, 248, 248, 0.84);
  border-left: 24px solid transparent;
}

.support.left {
  left: 12%;
}

.support.right {
  right: 12%;
}

.load {
  position: absolute;
  top: 28px;
  width: 2px;
  height: 58px;
  background: #d8b458;
}

.load::after {
  position: absolute;
  bottom: -2px;
  left: -6px;
  content: "";
  border-top: 12px solid #d8b458;
  border-right: 7px solid transparent;
  border-left: 7px solid transparent;
}

.l1 {
  left: 28%;
}

.l2 {
  left: 50%;
}

.l3 {
  left: 72%;
}

.calc-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(217, 246, 255, 0.45);
}

.calc-table span {
  height: 34px;
  border-right: 1px solid rgba(217, 246, 255, 0.28);
  border-bottom: 1px solid rgba(217, 246, 255, 0.28);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, calc(100% - 64px));
  margin: -22px auto 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.stats-band div {
  padding: 24px;
}

.stats-band div + div {
  border-left: 1px solid var(--line);
}

.stats-band strong,
.stats-band span {
  display: block;
}

.stats-band strong {
  margin-bottom: 6px;
  font-size: 28px;
}

.stats-band span {
  color: var(--muted);
}

.section-heading {
  padding: 0 32px;
}

.section-heading.compact {
  padding: 0;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 32px 88px;
}

.filter-panel {
  align-self: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.filter-buttons {
  display: grid;
  gap: 10px;
}

.filter-button {
  width: 100%;
  padding: 0 14px;
  color: var(--ink);
  text-align: left;
  background: var(--soft);
}

.filter-button.active,
.filter-button:hover {
  color: white;
  background: var(--blue);
}

.secure-note {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.secure-note strong {
  color: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.product-visual {
  display: grid;
  min-height: 150px;
  padding: 18px;
  color: white;
  background: #111111;
}

.visual-sheet {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  align-self: center;
}

.visual-sheet span {
  height: 20px;
  background: rgba(255, 255, 255, 0.68);
}

.visual-report {
  display: grid;
  align-self: center;
  gap: 8px;
}

.visual-report span {
  height: 10px;
  background: rgba(255, 255, 255, 0.7);
}

.visual-drawing {
  position: relative;
  min-height: 110px;
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.visual-drawing::before,
.visual-drawing::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.visual-drawing::before {
  inset: 18px 28px;
}

.visual-drawing::after {
  right: 16px;
  bottom: 16px;
  width: 64px;
  height: 28px;
}

.product-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--blue-dark);
  background: #e7f1f4;
  font-size: 12px;
  font-weight: 800;
}

.product-card p {
  color: var(--muted);
  line-height: 1.5;
}

.product-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.product-actions .primary-button,
.product-actions .secondary-button {
  min-height: 38px;
  padding: 0 12px;
  font-size: 13px;
}

.price {
  font-size: 24px;
  font-weight: 900;
}

.workflow {
  padding: 72px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.appointment-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  padding: 82px 32px;
  border-top: 1px solid var(--line);
}

.appointment-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.appointment-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.appointment-steps span {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  font-size: 13px;
  font-weight: 900;
}

.booking-steps,
.post-purchase-steps {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  background: var(--soft);
}

.booking-steps strong,
.post-purchase-steps strong {
  font-size: 13px;
  font-weight: 900;
}

.booking-steps ol,
.post-purchase-steps ol {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.post-purchase-steps {
  margin-top: 12px;
}

.appointment-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.appointment-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.compliance-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  padding: 82px 32px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(242, 243, 241, 0.94)),
    repeating-linear-gradient(0deg, rgba(8, 8, 8, 0.06) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, rgba(8, 8, 8, 0.06) 0 1px, transparent 1px 42px);
}

.ecsa-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  padding: 82px 32px;
  border-top: 1px solid var(--line);
}

.ecsa-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.ecsa-workspace {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 18px;
}

.ecsa-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.ecsa-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.locked-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.compliance-section > .capability-grid {
  grid-column: 1 / -1;
}

.compliance-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.regulator-panel {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(8, 8, 8, 0.18);
  border-radius: 8px;
  background: white;
}

.regulator-panel span {
  color: var(--muted);
  line-height: 1.55;
}

.compliance-workspace {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 18px;
}

.compliance-form,
.report-preview {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.compliance-form {
  display: grid;
  gap: 16px;
}

.compliance-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.review-selector {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.review-selector details {
  position: relative;
}

.review-selector summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
  cursor: pointer;
  list-style: none;
}

.review-selector summary::-webkit-details-marker {
  display: none;
}

.review-selector summary::after {
  content: "v";
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.capability-options {
  position: absolute;
  z-index: 15;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  display: grid;
  gap: 8px;
  max-height: 340px;
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.capability-option-tools {
  display: flex;
  gap: 8px;
}

.capability-option-tools button {
  min-height: 32px;
  border: 0;
  border-radius: 8px;
  color: var(--blue-dark);
  background: var(--soft);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.capability-options label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
}

.ruleset-options label {
  grid-template-columns: auto 1fr;
}

.link-entry-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.link-list-panel {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  background: var(--soft);
}

.link-list-panel > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.ruleset-links-list {
  display: grid;
  gap: 8px;
}

.ruleset-links-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.ruleset-link-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  background: white;
}

.ruleset-link-line a {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.ruleset-link-line button {
  border: 0;
  color: var(--danger);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.capability-options input {
  width: 18px;
  height: 18px;
  min-height: 18px;
}

.report-preview {
  align-self: start;
}

.report-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  font-weight: 900;
}

.report-top strong {
  padding: 6px 10px;
  border-radius: 8px;
  color: white;
  background: var(--black);
  font-size: 12px;
}

.report-preview ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.package-price,
.paid-review-note {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 8px;
  background: var(--soft);
}

.package-price span,
.paid-review-note span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.package-price strong {
  font-size: 24px;
}

.paid-review-note {
  margin-top: 18px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.capability-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.capability-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.capability-grid h3 {
  font-size: 16px;
  line-height: 1.2;
}

.capability-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.workflow-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.workflow-grid span {
  display: block;
  margin-bottom: 26px;
  color: var(--green);
  font-weight: 900;
}

.workflow-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.dashboard-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  padding: 84px 32px;
}

.seller-section {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 32px;
  width: min(1180px, 100%);
  margin-inline: auto;
  padding: 84px 32px;
}

.seller-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.commission-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.commission-panel div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.commission-panel strong,
.commission-panel span {
  display: block;
}

.commission-panel strong {
  margin-bottom: 6px;
  color: var(--green);
  font-size: 34px;
  font-weight: 900;
}

.commission-panel span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.seller-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.seller-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.seller-terms {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  background: var(--soft);
}

.removal-panel {
  display: grid;
  gap: 14px;
  margin-top: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.removal-panel h3,
.removal-panel p {
  margin: 0;
}

.removal-panel p {
  color: var(--muted);
  line-height: 1.5;
}

.terms-panel {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.terms-panel strong {
  display: block;
  margin-bottom: 10px;
}

.terms-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.seller-form .terms-accept {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  color: var(--ink);
}

.terms-accept input {
  width: 18px;
  height: 18px;
  min-height: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.payout-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.payout-preview strong {
  color: var(--ink);
}

.dashboard-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 18px;
}

.login-panel,
.dashboard-preview {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.login-panel {
  display: grid;
  gap: 16px;
}

.auth-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.login-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--danger);
  font-size: 14px;
  font-weight: 700;
}

.form-message.success {
  color: var(--green);
}

.preview-top,
.metric-grid,
.cart-header,
.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.preview-top {
  margin-bottom: 18px;
  font-weight: 900;
}

.metric-grid {
  align-items: stretch;
}

.metric-grid div {
  flex: 1;
  padding: 14px;
  border-radius: 8px;
  background: var(--soft);
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  margin-bottom: 6px;
  font-size: 22px;
}

.metric-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.dashboard-list {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.dashboard-list span {
  font-weight: 900;
}

.dashboard-list p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.role-panel {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.role-panel strong,
.role-panel p {
  display: block;
  margin: 0;
}

.role-panel p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.dashboard-records {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.dashboard-records span,
.dashboard-record {
  display: block;
  padding: 10px;
  border: 1px solid rgba(8, 8, 8, 0.1);
  border-radius: 8px;
  background: white;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.dashboard-record strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.dashboard-record small {
  display: block;
  margin-top: 4px;
}

.admin-panel {
  border-color: rgba(45, 139, 87, 0.38);
  background: #edf7f1;
}

[hidden] {
  display: none !important;
}

.cart-drawer {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  width: min(360px, calc(100vw - 40px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.cart-header {
  margin-bottom: 14px;
}

.cart-header span,
.checkout-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.cart-items {
  display: grid;
  max-height: 160px;
  overflow: auto;
  gap: 10px;
  margin-bottom: 16px;
}

.cart-items p {
  margin: 0;
  color: var(--muted);
}

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background: var(--soft);
  font-size: 13px;
}

.cart-line small {
  color: var(--muted);
  font-weight: 800;
}

.cart-line button {
  border: 0;
  color: var(--danger);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.cart-total {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 32px 140px;
  color: var(--muted);
  font-size: 14px;
}

.footer span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
}

.footer-logo {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
}

@media (max-width: 1040px) {
  .product-grid,
  .workflow-grid,
  .appointment-section,
  .compliance-section,
  .ecsa-section,
  .ecsa-workspace,
  .compliance-workspace,
  .capability-grid,
  .seller-section,
  .dashboard-section,
  .dashboard-shell {
    grid-template-columns: 1fr 1fr;
  }

  .hero,
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .blueprint-panel {
    margin-inline: auto;
  }

  .filter-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .topbar {
    position: static;
    align-items: stretch;
    flex-direction: column;
    padding: 14px 18px;
  }

  .main-nav,
  .top-actions {
    justify-content: space-between;
    width: 100%;
  }

  .main-nav {
    gap: 12px;
  }

  .currency-picker {
    flex: 1;
  }

  .currency-picker select {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding: 36px 18px;
  }

  h1 {
    font-size: 42px;
  }

  .stats-band,
  .product-grid,
  .workflow-grid,
  .appointment-section,
  .compliance-section,
  .ecsa-section,
  .ecsa-workspace,
  .compliance-workspace,
  .capability-grid,
  .seller-section,
  .dashboard-section,
  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .stats-band {
    width: calc(100% - 36px);
    margin-bottom: 52px;
  }

  .stats-band div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section-heading,
  .catalog-layout,
  .workflow,
  .appointment-section,
  .compliance-section,
  .ecsa-section,
  .seller-section,
  .dashboard-section,
  .footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .commission-panel,
  .form-grid,
  .link-entry-row,
  .payout-preview,
  .auth-buttons,
  .appointment-steps,
  .product-bottom {
    grid-template-columns: 1fr;
  }

  .product-actions {
    justify-content: stretch;
  }

  .product-actions .primary-button,
  .product-actions .secondary-button {
    width: 100%;
  }

  .cart-drawer {
    position: static;
    width: calc(100% - 36px);
    margin: 0 auto 28px;
  }

  .footer {
    display: grid;
    padding-bottom: 34px;
  }
}
