/* ── Product Launch Landing — Swiss engineering spec sheet ──────────
   Bone-white crop-mark grid, giant grotesque product name with one
   outlined word, cobalt callout leader lines, exploded line diagram,
   monospace spec table, sideways margin quotes. */

:root {
  --bone: #f7f6f2;
  --ink: #22242a;
  --ink-soft: #7c7e86;
  --cobalt: #2a4df5;
  --cobalt-deep: #1d38c2;
  --rule: #dcdad2;
  --err: #d64533;
  --sans: 'Archivo', sans-serif;
  --mono: 'Space Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

.hidden { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background:
    linear-gradient(90deg, var(--rule) 1px, transparent 1px) 0 0 / 25% 100% no-repeat border-box,
    var(--bone);
}

.sheet {
  min-height: 100vh;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 28px;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 100% 200px, 200px 100%;
  background-position: 0 -1px, -1px 0;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}

/* ── Masthead ─────────────────────────────────────────────────────── */
.masthead {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

.doc-status { color: var(--cobalt); font-weight: 700; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero { padding: 64px 0 40px; }

.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 10px;
}

.product-name {
  font-weight: 900;
  font-size: clamp(3rem, 14vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.outline {
  color: transparent;
  -webkit-text-stroke: 2.5px var(--ink);
}

.promise {
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  font-weight: 600;
  color: var(--ink);
  max-width: 480px;
  margin-top: 22px;
}

.hero-cta {
  display: inline-block;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--cobalt);
  text-decoration: none;
  border-bottom: 2px solid var(--cobalt);
  margin-top: 26px;
  padding-bottom: 2px;
}

.hero-cta:hover { color: var(--cobalt-deep); border-color: var(--cobalt-deep); }

/* ── Section rules ────────────────────────────────────────────────── */
.section-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  margin-bottom: 26px;
}

.section-rule::before,
.section-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ink);
}

/* ── Diagram ──────────────────────────────────────────────────────── */
.diagram-block { padding: 34px 0; }

.diagram {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
}

.lamp-svg { width: 100%; height: auto; }

.callouts { list-style: none; display: flex; flex-direction: column; gap: 18px; }

.callouts li { display: flex; gap: 12px; align-items: flex-start; }

.idx {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--cobalt);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  margin-top: 2px;
}

.callouts strong { font-weight: 800; font-size: 0.95rem; display: block; }

.callouts p { color: var(--ink-soft); font-size: 0.86rem; line-height: 1.5; }

/* ── Spec strip ───────────────────────────────────────────────────── */
.spec-strip { padding: 34px 0; }

.specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1.5px solid var(--ink);
  background: #fff;
}

.specs > div {
  padding: 14px 16px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.specs > div:nth-child(3n) { border-right: none; }
.specs > div:nth-last-child(-n+3) { border-bottom: none; }

.specs dt {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--cobalt);
}

.specs dd { font-weight: 700; font-size: 0.95rem; margin-top: 2px; }

/* ── Quotes ───────────────────────────────────────────────────────── */
.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 30px 0;
}

.quote {
  border-left: 3px solid var(--cobalt);
  padding: 6px 0 6px 18px;
}

.quote blockquote { font-weight: 600; font-size: 1rem; line-height: 1.5; }

.quote figcaption {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--ink-soft);
  margin-top: 8px;
  letter-spacing: 0.08em;
}

/* ── Notify ───────────────────────────────────────────────────────── */
.notify { padding: 40px 0 30px; }

.notify-card {
  background: var(--ink);
  color: var(--bone);
  padding: 38px 34px;
}

.notify-card h2 { font-weight: 900; font-size: clamp(1.5rem, 5vw, 2.1rem); letter-spacing: -0.02em; }

.notify-sub { color: #b9bbc2; font-size: 0.92rem; max-width: 440px; margin-top: 8px; }

.notify-row { display: flex; gap: 10px; margin-top: 22px; }

input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  font-family: var(--mono);
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--bone);
  border: 2px solid transparent;
  border-radius: 0;
}

input:focus { outline: none; border-color: var(--cobalt); }
input.error { border-color: var(--err); }
input::placeholder { color: #a7a49a; }

.btn {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--cobalt);
  border: none;
  border-radius: 0;
  padding: 14px 28px;
  cursor: pointer;
  transition: background 0.14s ease;
  white-space: nowrap;
}

.btn:hover:not(:disabled) { background: var(--cobalt-deep); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn:focus-visible { outline: 3px solid var(--bone); outline-offset: 2px; }

.form-error { color: #ff9d8f; font-weight: 700; font-size: 0.85rem; margin-top: 12px; }

.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: -2px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Confirmation ─────────────────────────────────────────────────── */
.confirmation {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--ink);
  padding: 44px 34px 38px;
  text-align: center;
}

.conf-stamp {
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  color: var(--cobalt);
  border: 2px solid var(--cobalt);
  padding: 4px 10px;
  transform: rotate(6deg);
}

.confirmation h2 { font-weight: 900; font-size: 1.6rem; }

.confirmation p { color: var(--ink-soft); max-width: 400px; margin: 10px auto 0; }

/* ── Footer ───────────────────────────────────────────────────────── */
.foot {
  margin-top: auto;
  border-top: 2px solid var(--ink);
  padding: 22px 0 30px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-align: center;
}

#wbx-powered-by-slot { margin-top: 12px; }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .diagram { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr 1fr; }
  .specs > div:nth-child(3n) { border-right: 1px solid var(--rule); }
  .specs > div:nth-child(2n) { border-right: none; }
  .specs > div:nth-last-child(-n+3) { border-bottom: 1px solid var(--rule); }
  .specs > div:nth-last-child(-n+2) { border-bottom: none; }
  .notify-row { flex-direction: column; }
}
