:root {
  --ink: #0a0a0a;
  --nav: #111111;
  --cream: #f5f2ed;
  --paper: #ffffff;
  --muted: #5c5c5c;
  --muted-2: #7a7670;
  --rule: #e6e2db;
  --violet: #7c6aef;
  --violet-soft: rgba(124, 106, 239, 0.12);
  --ok: #1a7f4b;
  --ok-bg: #eef8f2;
  --bad: #b42318;
  --bad-bg: #fdf2f1;
  --focus: #7c6aef;
  --shadow: 0 18px 50px rgba(10, 10, 10, 0.08);
}

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

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

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: #fff;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.wrap-narrow { width: min(760px, calc(100% - 40px)); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.brand {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}
.brand .dot { color: var(--violet); }
.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.nav-links a:hover { color: #fff; }
.nav-links a[aria-current="page"] {
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--violet);
  padding-bottom: 2px;
}
.nav-cta { flex-shrink: 0; }
.nav-cta-in-menu { display: none; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.06); }
.nav-toggle-bars {
  width: 16px;
  height: 10px;
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: #fff;
  transition: transform 0.2s ease;
}
.nav-toggle-bars::before { top: 1px; }
.nav-toggle-bars::after { bottom: 1px; }
.nav.is-open .nav-toggle-bars::before { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav-toggle-bars::after { transform: translateY(-3.5px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1c1c1c; }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.nav .btn { padding: 9px 18px; font-size: 13px; }

/* Type */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}
h1, .h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 8vw, 76px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.04em;
}
h1 .dot, .h1 .dot { color: var(--violet); }
h2, .h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
  max-width: 16ch;
}
h3, .h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
p { margin: 0 0 12px; }
.lede {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--muted);
  max-width: 40em;
  margin: 0 0 32px;
}
.fine {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.muted { color: var(--muted); }
.tight { max-width: 18ch; }

/* Layout */
.hero { padding: 72px 0 80px; background: var(--cream); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
section { padding: 88px 0; }
.bg-white { background: var(--paper); }
.bg-cream { background: var(--cream); }
.bg-dark {
  background: var(--ink);
  color: #fff;
}
.bg-dark .eyebrow,
.bg-dark .lede,
.bg-dark .fine,
.bg-dark .muted { color: rgba(255, 255, 255, 0.64); }
.bg-dark h2 { color: #fff; }

.grid { display: grid; gap: 16px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.section-head { margin-bottom: 36px; }

.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card.is-featured {
  border-color: var(--ink);
  box-shadow: var(--shadow);
}
.card.is-featured .kicker { color: var(--ink); }
.card .kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.card .price {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin: 10px 0 8px;
}
.card.dark {
  background: #171717;
  border-color: #2a2a2a;
  color: #fff;
}
.card.dark .kicker,
.card.dark .muted { color: rgba(255, 255, 255, 0.58); }

.icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--violet-soft);
  color: var(--violet);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.icon svg { width: 18px; height: 18px; }

.motif {
  position: absolute;
  right: -16px;
  bottom: -28px;
  width: 170px;
  height: 170px;
  opacity: 0.07;
  pointer-events: none;
  background: radial-gradient(circle at center, var(--ink) 1px, transparent 1.5px);
  background-size: 12px 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--violet-soft);
  color: var(--violet);
  font-size: 12px;
  font-weight: 600;
}

/* Appliance visual */
.appliance {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.appliance-face {
  background: #111;
  color: #fff;
  border-radius: 16px;
  padding: 22px 22px 18px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.appliance-face::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--violet);
  opacity: 0.95;
}
.appliance-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.appliance-brand {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.04em;
}
.appliance-brand .dot { color: var(--violet); }
.appliance-sku {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.appliance-stats {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}
.appliance-stat {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
}
.appliance-stat span:last-child { color: rgba(255, 255, 255, 0.7); }
.appliance-meta {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

/* Steps */
.steps { counter-reset: step; }
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}

/* Table */
.table-wrap {
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: auto;
  background: var(--paper);
  -webkit-overflow-scrolling: touch;
}
.table-hint {
  display: none;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 10px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 640px;
}
th, td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
th {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  background: #faf9f7;
}
tr:last-child td { border-bottom: 0; }
.yes { color: var(--ok); font-weight: 600; }
.no { color: var(--bad); font-weight: 600; }
.col-hold { background: #f3faf6; }
.col-other { background: #fff8f7; }

/* FAQ */
.faq {
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}
.faq + .faq { margin-top: 10px; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--violet);
  font-weight: 500;
  font-size: 22px;
  line-height: 1;
}
.faq[open] summary::after { content: "–"; }
.faq .faq-body {
  padding: 0 22px 20px;
  color: var(--muted);
  max-width: 58em;
}

/* Form */
form.inquiry {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 28px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 14px 0 6px;
}
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible, summary:focus-visible, .nav-toggle:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
textarea { min-height: 110px; resize: vertical; }
.form-ok {
  display: none;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 14px;
}
.form-ok.is-shown { display: block; }
.form-err {
  display: none;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 14px;
}
.form-err.is-shown { display: block; }

/* Footer */
footer {
  background: var(--nav);
  color: rgba(255, 255, 255, 0.65);
  padding: 48px 0 56px;
  font-size: 14px;
}
footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
}
.footer-links a { color: rgba(255, 255, 255, 0.78); }
footer .brand { display: inline-block; margin-bottom: 10px; }

/* Status mock */
.status {
  background: #111;
  color: #fff;
  border-radius: 16px;
  padding: 22px;
  font-size: 14px;
}
.status-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.status-row:last-child { border-bottom: 0; }
.status-ok { color: #7ddea8; }
.status-off { color: #f0c36d; }

/* Reveal — visible by default so a JS failure never blanks the page */
[data-reveal].will-reveal {
  opacity: 0;
  transform: translateY(18px);
}
[data-reveal].is-in,
[data-reveal].will-reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.page-hero { padding: 64px 0 24px; }
.page-hero h1 { max-width: 14ch; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.stat {
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.stat b {
  display: block;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.list-plain {
  margin: 0;
  padding: 0;
  list-style: none;
}
.list-plain li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}
.list-plain li:last-child { border-bottom: 0; }

.vs-grid { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 1100px) {
  .nav-links,
  .nav-cta { display: none; }
  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: var(--nav);
    padding: 16px 20px 28px;
    gap: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-cta { display: none; }
  .nav-cta-in-menu {
    display: inline-flex;
    margin-top: 8px;
  }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 900px) {
  .hero-grid,
  .g4, .g3, .g2,
  .vs-grid,
  .stat-row,
  .footer-top { grid-template-columns: 1fr; }
  .table-hint { display: block; }
  table { min-width: 560px; }
  .hero { padding: 48px 0 56px; }
  section { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, [data-reveal], [data-reveal].will-reveal { transition: none; }
  [data-reveal], [data-reveal].will-reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover { transform: none; }
}
