:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --brand: #1e6a46;
  --brand-deep: #164d35;
  --ink: #142019;
  --muted: #526159;
  --canvas: #f7f7f5;
  --surface: #ffffff;
  --surface-soft: #eef2ef;
  --line: #d8ddd9;
  --accent: var(--brand);
  --accent-soft: #e2eee8;
  --accent-deep: var(--brand-deep);
  --danger: #9a3026;
  --focus: #0b6bdc;
  --radius-sm: 8px;
  --radius-md: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { background: var(--canvas); color: var(--ink); scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--canvas); }
body.za { --accent: #a63f27; --accent-soft: #f7e8e3; --accent-deep: #7c2f1e; }
body.cart { --accent: #3658d4; --accent-soft: #edf0fc; --accent-deep: #263d97; }
body.panel { --accent: #087b63; --accent-soft: #e1f1ec; --accent-deep: #075440; }

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(760px, 100%); }
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.utility-bar {
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: .8125rem;
}
.utility-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.utility-links { display: flex; align-items: center; gap: 18px; }
.utility-links a { min-height: 34px; display: inline-flex; align-items: center; text-decoration: none; }
.utility-links a:hover { color: var(--ink); }
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.16rem;
  font-weight: 760;
  letter-spacing: -.025em;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: .8rem;
  letter-spacing: -.04em;
}
.brand-context {
  padding-left: 10px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: 0;
}
.primary-nav { display: flex; align-items: center; gap: 24px; }
.primary-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: .925rem;
  font-weight: 590;
  text-decoration: none;
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a[aria-current="page"] { border-color: var(--accent); color: var(--ink); }

main { padding-block: clamp(56px, 7vw, 96px); }
h1, h2, h3 { text-wrap: balance; }
h1 {
  max-width: 920px;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: clamp(3rem, 7vw, 5.75rem);
  font-weight: 720;
  letter-spacing: -.035em;
  line-height: .98;
}
h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 680;
  letter-spacing: -.025em;
  line-height: 1.05;
}
h3 { margin: 0; font-size: 1.35rem; line-height: 1.25; letter-spacing: -.015em; }
p { text-wrap: pretty; }
.lead, .lede {
  max-width: 68ch;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.6;
}
.context-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--accent-deep);
  font-size: .8125rem;
  font-weight: 700;
}
.context-label::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: clamp(40px, 7vw, 88px);
  align-items: center;
}
.hero-copy .lead { margin: 26px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button, button {
  min-height: 46px;
  padding: 11px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 660;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.button.primary, button.primary { border-color: var(--brand); background: var(--brand); color: #fff; }
.button.contextual { border-color: var(--accent); background: var(--accent); color: #fff; }
.button:hover, button:hover { border-color: var(--ink); background: var(--surface-soft); transform: translateY(-1px); }
.button.primary:hover, button.primary:hover { border-color: var(--brand-deep); background: var(--brand-deep); }
.button.contextual:hover { border-color: var(--accent-deep); background: var(--accent-deep); }
.text-link { color: var(--brand-deep); font-weight: 680; text-underline-offset: 4px; }
.text-link:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.infrastructure-visual {
  min-height: 390px;
  padding: clamp(24px, 4vw, 42px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: #fff;
}
.visual-topline, .visual-footer { display: flex; justify-content: space-between; gap: 20px; color: #c3cec8; font-size: .82rem; }
.rack { display: grid; gap: 10px; margin-block: 34px; }
.rack-row {
  min-height: 54px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid #405048;
  border-radius: var(--radius-sm);
  background: #1c2b23;
}
.rack-row strong { font-size: .92rem; }
.status-dot { display: inline-flex; align-items: center; gap: 8px; color: #b9d8c8; font-size: .8rem; }
.status-dot::before { width: 7px; height: 7px; border-radius: 50%; background: #6fd19f; content: ""; }

.trust-strip {
  margin-top: clamp(56px, 8vw, 96px);
  padding-block: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}
.trust-item { padding-inline: 18px; border-right: 1px solid var(--line); }
.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border: 0; }
.trust-item strong, .trust-item span { display: block; }
.trust-item span { margin-top: 4px; color: var(--muted); font-size: .86rem; }

.section { padding-top: clamp(72px, 10vw, 128px); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head p { color: var(--muted); line-height: 1.65; }
.offer-list { border-top: 1px solid var(--line); }
.offer-row {
  min-height: 138px;
  padding-block: 26px;
  display: grid;
  grid-template-columns: minmax(190px, .7fr) minmax(280px, 1.3fr) auto;
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.offer-row p { margin: 7px 0 0; max-width: 52ch; color: var(--muted); line-height: 1.55; }
.offer-meta { color: var(--muted); font-size: .86rem; }
.price { display: block; color: var(--ink); font-size: 1.2rem; font-weight: 720; }
.price small { color: var(--muted); font-size: .76rem; font-weight: 500; }

.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.fact { min-height: 170px; padding: 26px; background: var(--surface); }
.fact p { color: var(--muted); line-height: 1.55; }
.crosslink {
  margin-top: clamp(72px, 10vw, 120px);
  padding: clamp(28px, 5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: #fff;
}
.crosslink h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.crosslink p { max-width: 56ch; margin: 10px 0 0; color: #c3cec8; line-height: 1.55; }
.crosslink .button { flex: 0 0 auto; }

.notice {
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}
.notice { margin-top: 32px; }
.notice strong { display: block; margin-bottom: 6px; }
.notice p { max-width: 70ch; margin: 0; color: var(--muted); line-height: 1.55; }
.consent {
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.consent summary, .tester-tools summary {
  min-height: 52px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 650;
  cursor: pointer;
}
.consent[open] summary, .tester-tools[open] summary { border-bottom: 1px solid var(--line); color: var(--ink); }
.consent-body, .tester-tools-body { padding: 20px 22px 22px; }
.consent p, .tester-tools p { max-width: 70ch; margin: 0; color: var(--muted); line-height: 1.55; }
.consent form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.consent button[value="refuse"], .consent button[value="withdraw"] { background: transparent; }
.tester-tools {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tester-tools .actions { margin-top: 18px; }

.page-head { max-width: 880px; }
.page-head h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
.page-head .lede { margin-top: 22px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: clamp(36px, 7vw, 84px); align-items: start; }
.detail-list { border-top: 1px solid var(--line); }
.detail-row { padding-block: 22px; display: grid; grid-template-columns: 150px 1fr; gap: 24px; border-bottom: 1px solid var(--line); }
.detail-row dt { color: var(--muted); }
.detail-row dd { margin: 0; font-weight: 620; }
.summary-panel { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.summary-panel h2 { font-size: 1.45rem; }
.summary-line { padding-block: 16px; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.summary-line:last-child { border: 0; }
.summary-line span { color: var(--muted); }
.summary-total { font-size: 1.2rem; font-weight: 720; }

.commerce-main { padding-top: 42px; }
.commerce-header .utility-bar { background: var(--ink); color: #dce4df; }
.progress {
  margin-bottom: 46px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  counter-reset: journey;
}
.progress li {
  position: relative;
  padding: 38px 12px 0 0;
  border-top: 2px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
  counter-increment: journey;
}
.progress li::before {
  position: absolute;
  top: 10px;
  left: 0;
  content: counter(journey);
  font-weight: 720;
}
.progress li.is-complete { border-color: var(--brand); color: var(--brand-deep); }
.progress li[aria-current="step"] { border-color: var(--accent); color: var(--ink); font-weight: 680; }
.choice-group { margin: 0 0 32px; padding: 0; border: 0; }
.choice-group legend { margin-bottom: 14px; font-size: 1.1rem; font-weight: 680; }
.choice-list { display: grid; gap: 10px; }
.choice {
  min-height: 64px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.choice.is-selected { border-color: var(--accent); background: var(--accent-soft); }
.choice small { display: block; margin-top: 4px; color: var(--muted); }
.order-item { padding: 24px 0; display: grid; grid-template-columns: 1fr auto; gap: 24px; border-block: 1px solid var(--line); }
.order-item p { color: var(--muted); }
.tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}
.tags > span { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); overflow-wrap: anywhere; }
.tags > span strong { display: block; margin-top: 3px; color: var(--ink); font-size: .92rem; }
details.campaign-details { margin-top: 28px; border-top: 1px solid var(--line); }
details.campaign-details summary { min-height: 52px; display: flex; align-items: center; color: var(--muted); font-weight: 650; cursor: pointer; }
details.campaign-details[open] summary { color: var(--ink); }

.success-mark {
  width: 52px;
  height: 52px;
  margin-bottom: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dff2e8;
  color: var(--brand-deep);
  font-size: 1.5rem;
  font-weight: 800;
}

.panel { background: #f3f6f4; }
.panel .site-header { position: static; }
.panel-main { padding-block: 0; }
.panel-shell { min-height: calc(100vh - 107px); display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.side-nav { padding: 32px 24px; border-right: 1px solid var(--line); background: var(--surface); }
.side-nav nav { display: grid; gap: 6px; }
.side-nav a {
  min-height: 44px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-weight: 610;
  text-decoration: none;
}
.side-nav a:hover { background: var(--surface-soft); color: var(--ink); }
.side-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-deep); }
.account-meta { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; line-height: 1.6; }
.panel-content { min-width: 0; padding: clamp(32px, 6vw, 72px); }
.panel-content h1 { max-width: 820px; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.metric-strip { margin-top: 42px; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.metric { padding: 22px 24px; border-right: 1px solid var(--line); }
.metric:first-child { padding-left: 0; }
.metric:last-child { border: 0; }
.metric span { display: block; color: var(--muted); font-size: .84rem; }
.metric strong { display: block; margin-top: 8px; font-size: 1.3rem; }
.panel-section { margin-top: 54px; }
.panel-section-head { margin-bottom: 20px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.panel-section-head h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
.service-row {
  padding: 22px 0;
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) minmax(130px, .8fr) minmax(110px, .6fr) auto;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row p { margin: 4px 0 0; color: var(--muted); }
.status-chip {
  width: fit-content;
  min-height: 28px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: .8rem;
  font-weight: 700;
}
.empty-state { padding: 34px; border: 1px dashed #aeb9b2; border-radius: var(--radius-md); background: var(--surface); }
.empty-state p { color: var(--muted); }

footer { padding: 30px 0 46px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { text-underline-offset: 3px; }

@media (max-width: 900px) {
  .hero-grid, .detail-layout { grid-template-columns: 1fr; }
  .infrastructure-visual { min-height: 330px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
  .trust-item:nth-child(n+3) { padding-top: 16px; }
  .fact-grid { grid-template-columns: 1fr; }
  .offer-row { grid-template-columns: 1fr auto; }
  .offer-row > div:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .panel-shell { grid-template-columns: 1fr; }
  .side-nav { padding: 12px 20px; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
  .side-nav nav { display: flex; min-width: max-content; }
  .side-nav a { padding-inline: 14px; }
  .account-meta { display: none; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1160px); }
  .utility-inner { align-items: flex-start; padding-block: 8px; flex-direction: column; gap: 2px; }
  .utility-links { width: 100%; justify-content: space-between; }
  .nav { min-height: auto; padding-block: 16px 10px; align-items: flex-start; flex-direction: column; gap: 10px; }
  .primary-nav { width: 100%; gap: 18px; overflow-x: auto; }
  .primary-nav a { flex: 0 0 auto; }
  main { padding-block: 52px 72px; }
  h1 { font-size: clamp(2.65rem, 13vw, 4.25rem); }
  .hero-grid { gap: 36px; }
  .infrastructure-visual { min-height: 300px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-item { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:nth-child(-n+2), .trust-item:nth-child(n+3) { padding: 14px 0; }
  .trust-item:last-child { border: 0; }
  .offer-row { grid-template-columns: 1fr; }
  .offer-row > div:nth-child(2) { grid-column: auto; grid-row: auto; }
  .crosslink { align-items: flex-start; flex-direction: column; }
  .detail-row { grid-template-columns: 1fr; gap: 6px; }
  .progress li { padding-right: 6px; font-size: .78rem; }
  .tags { grid-template-columns: 1fr; }
  .panel-content { padding: 38px 20px 64px; }
  .metric-strip { grid-template-columns: 1fr; }
  .metric { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border: 0; }
  .panel-section-head { align-items: flex-start; flex-direction: column; }
  .service-row { grid-template-columns: 1fr 1fr; gap: 14px; }
  .service-row > :first-child, .service-row > :last-child { grid-column: 1 / -1; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
