:root {
  color-scheme: light;
  --bg: #0d0e10;
  --bg-2: #171513;
  --panel: #ffffff;
  --panel-2: #f6f3ee;
  --ink: #171411;
  --ink-on-dark: #f8f3e9;
  --muted: #6f675d;
  --muted-on-dark: #c7bba8;
  --line: #ded6c9;
  --line-dark: #322b22;
  --brand: #c88a2e;
  --brand-hover: #a86f1f;
  --brand-ink: #1a1208;
  --ok: #4f6b4b;
  --warn: #a56520;
  --bad: #aa3b35;
  --soft: #f4eadb;
  --focus: #f0b35a;
  --shadow: 0 8px 18px rgba(23, 20, 17, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: 0;
}

a {
  color: inherit;
}

.mock-banner {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 8px clamp(16px, 4vw, 48px);
  color: #f7dfb7;
  background: #21180f;
  border-bottom: 1px solid #3a2a19;
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

.shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 4%, rgba(200, 138, 46, 0.16), transparent 26rem),
    linear-gradient(180deg, #0d0e10 0%, #14110f 42rem, #0d0e10 100%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
  border-bottom: 1px solid rgba(222, 214, 201, 0.16);
  background: rgba(13, 14, 16, 0.92);
  color: var(--ink-on-dark);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--brand-ink);
  background: var(--brand);
  font-size: 12px;
  font-weight: 850;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted-on-dark);
  font-size: 14px;
}

.nav a {
  border-radius: 6px;
  padding: 7px 9px;
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink-on-dark);
  background: rgba(255, 255, 255, 0.08);
}

.nav .nav-cta {
  color: var(--brand-ink);
  background: var(--brand);
  font-weight: 800;
}

.nav .nav-cta:hover {
  color: var(--brand-ink);
  background: #d59a44;
}

.main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 58px;
}

.workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 20px;
  align-items: stretch;
  color: var(--ink-on-dark);
}

.panel,
.product-card,
.metric,
.order-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.panel {
  padding: clamp(18px, 3vw, 30px);
}

.hero-panel,
.quote-panel {
  border-color: rgba(222, 214, 201, 0.16);
  background: rgba(247, 242, 233, 0.06);
  box-shadow: none;
}

.quote-panel {
  display: grid;
  gap: 16px;
  align-content: start;
}

.page-hero {
  border-color: rgba(222, 214, 201, 0.16);
  color: var(--ink-on-dark);
  background: rgba(247, 242, 233, 0.06);
  box-shadow: none;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  max-width: 780px;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 850;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 16px;
}

.lead {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  text-wrap: pretty;
}

.hero-panel .lead,
.page-hero .lead,
.quote-panel .muted {
  color: var(--muted-on-dark);
}

.section-lead {
  max-width: 860px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
  text-wrap: pretty;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.section-head p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.trust-item {
  border: 1px solid rgba(222, 214, 201, 0.18);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.trust-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink-on-dark);
}

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

.manual-flow span {
  border: 1px solid rgba(200, 138, 46, 0.42);
  border-radius: 8px;
  padding: 10px 12px;
  color: #f3d7a4;
  background: rgba(200, 138, 46, 0.1);
  font-size: 13px;
  font-weight: 750;
}

.panel:not(.hero-panel):not(.quote-panel):not(.page-hero) .manual-flow span {
  color: #6b4314;
  border-color: #dfbd83;
  background: #f7ead6;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.hero-panel label,
.quote-panel label,
.page-hero label {
  color: var(--muted-on-dark);
}

select,
input,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.hero-panel select,
.hero-panel input,
.hero-panel textarea,
.quote-panel select,
.quote-panel input,
.quote-panel textarea,
.page-hero input {
  color: var(--ink-on-dark);
  border-color: rgba(222, 214, 201, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

select:focus-visible,
input:focus-visible,
textarea:focus-visible,
button:focus-visible,
.button:focus-visible,
.nav a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  line-height: 1.55;
}

.check input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--brand-ink);
  background: var(--brand);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

button:hover,
.button:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
}

button.secondary,
.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

button.secondary:hover,
.button.secondary:hover {
  border-color: #b9aa98;
  background: #fbf8f2;
}

.hero-panel button.secondary,
.hero-panel .button.secondary,
.quote-panel button.secondary,
.quote-panel .button.secondary,
.page-hero .button.secondary {
  color: var(--ink-on-dark);
  border-color: rgba(222, 214, 201, 0.28);
  background: rgba(255, 255, 255, 0.07);
}

.hero-panel button.secondary:hover,
.hero-panel .button.secondary:hover,
.quote-panel button.secondary:hover,
.quote-panel .button.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.price {
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 850;
}

.quote-meta-grid,
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quote-meta-grid span,
.spec-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.quote-meta-grid strong,
.spec-grid strong {
  display: block;
  margin-top: 3px;
}

.quote-meta-grid > div {
  border: 1px solid rgba(222, 214, 201, 0.18);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.quote-meta-grid span {
  color: var(--muted-on-dark);
}

.muted {
  color: var(--muted);
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.filters {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(130px, 0.8fr));
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf8f2;
}

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

.product-card,
.metric,
.order-card {
  padding: 16px;
}

.product-card,
.order-card,
.metric {
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.product-card:hover,
.order-card:hover,
.metric:hover {
  border-color: #b9aa98;
  transform: translateY(-1px);
}

.product-card {
  display: grid;
  gap: 12px;
}

.product-card h3 {
  min-height: 38px;
}

.product-card .product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 24px;
  font-weight: 850;
}

.product-price span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

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

.status,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 3px 9px;
  color: #31452e;
  background: #edf2e8;
  font-size: 12px;
  font-weight: 800;
}

.tag {
  color: #6b4314;
  background: #f6e7cf;
}

.status.warn {
  color: var(--warn);
  background: #f8ead8;
}

.status.bad {
  color: var(--bad);
  background: #f7e2df;
}

.section-gap {
  margin-top: 20px;
}

.light-section {
  color: var(--ink);
  background: #f4f0e8;
}

.comparison-panel {
  padding: 0;
  overflow: hidden;
}

.comparison-intro {
  padding: 22px 24px 0;
}

.assurance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.assurance-item,
.support-card {
  min-height: 132px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbf8f2;
}

.assurance-item strong,
.support-card strong {
  display: block;
  margin-bottom: 7px;
}

.assurance-item p,
.support-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

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

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.faq-item summary {
  min-height: 48px;
  padding: 13px 14px;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.faq-item p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--muted);
  line-height: 1.6;
}

.status-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.status-step {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  background: #fbf8f2;
  color: var(--muted);
  font-size: 13px;
}

.status-step strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.status-step.done {
  border-color: #c7d6bf;
  background: #f1f5ed;
}

.status-step.active {
  border-color: #e2b86d;
  background: #fbf0dd;
}

.status-step.bad {
  border-color: #ddb2ad;
  background: #fae9e6;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

th {
  color: var(--muted);
  background: #fbf8f2;
  font-size: 12px;
  text-transform: uppercase;
}

.notice {
  margin-top: 14px;
  border: 1px solid #e1be7c;
  border-radius: 8px;
  padding: 12px;
  color: #67410f;
  background: var(--soft);
}

.notice.bad {
  color: var(--bad);
  border-color: #ddb2ad;
  background: #fae9e6;
}

.notice.warn {
  color: var(--warn);
  border-color: #e4c18a;
  background: #fbf1df;
}

.notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.notice-actions .button {
  min-width: 144px;
}

.timeline {
  display: grid;
  gap: 0;
  margin: 12px 0 0;
  padding-left: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 9px 0 9px 28px;
  border-left: 1px solid #d6cabb;
}

.timeline li::before {
  position: absolute;
  top: 16px;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--brand);
  content: "";
}

.timeline p {
  margin: 4px 0 0;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.legal-body {
  display: grid;
  gap: 14px;
  max-width: 860px;
  line-height: 1.65;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 36px;
  color: var(--muted-on-dark);
  border-top: 1px solid rgba(222, 214, 201, 0.16);
  font-size: 13px;
}

.footer a {
  text-decoration: none;
}

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

.node-dot {
  min-height: 34px;
  border-radius: 8px;
  background: #2b241c;
  border: 1px solid #4a3823;
}

.node-dot:nth-child(3n) {
  background: #3b2b18;
  border-color: #6e4c20;
}

.node-dot:nth-child(4n) {
  background: #201d19;
  border-color: #55483a;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 920px) {
  .filters,
  .workbench,
  .dashboard-layout,
  .form-grid,
  .trust-strip,
  .manual-flow,
  .assurance-grid,
  .support-grid,
  .product-grid,
  .metric-grid,
  .status-steps,
  .quote-meta-grid,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 840px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .main {
    width: min(100% - 24px, 1180px);
    padding-top: 20px;
  }

  h1 {
    font-size: 34px;
  }

  button,
  .button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .actions {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .mock-banner {
    font-size: 12px;
  }

  .panel {
    padding: 16px;
  }

  .brand {
    font-size: 14px;
  }
}
