:root {
  --bg: #0c0e10;
  --bg-2: #14181c;
  --card: #1a1f24;
  --ink: #eef2f4;
  --muted: #9aa6b0;
  --line: #2a323a;
  --accent: #ff6b2c;
  --accent-2: #3dd6c6;
  --ok: #3dd68c;
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1100px;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(12, 14, 16, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 1rem;
}
.logo {
  display: inline-flex; align-items: center; gap: 0.65rem;
  color: inherit; text-decoration: none; font-weight: 600;
}
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #ff9a5c);
  color: #1a0a00; display: grid; place-items: center;
  font-family: var(--mono); font-size: 0.75rem; font-weight: 700;
}
.logo-text em { font-style: normal; color: var(--accent); }
.nav { display: flex; align-items: center; gap: 1.1rem; }
.nav a { color: var(--muted); font-size: 0.92rem; font-weight: 500; text-decoration: none; }
.nav a:hover { color: var(--ink); }
.nav-cta {
  background: var(--accent); color: #1a0a00 !important;
  padding: 0.5rem 0.9rem; border-radius: 999px; font-weight: 600;
}
.nav-cta:hover { filter: brightness(1.08); text-decoration: none; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 0; background: transparent;
  position: relative; cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink);
}
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 24px; }

/* Hero */
.hero { padding: 3.25rem 0 3.5rem; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.9fr; gap: 2.5rem; align-items: center;
}
.eyebrow {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1.08;
  letter-spacing: -0.03em; margin-bottom: 0.9rem; font-weight: 700;
}
.lead { color: var(--muted); font-size: 1.08rem; max-width: 34rem; margin-bottom: 1.35rem; }
.lead strong { color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.25rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; padding: 0.85rem 1.2rem;
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #1a0a00; }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-block { width: 100%; }
.pills {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem;
  font-family: var(--mono); font-size: 0.78rem; color: var(--muted);
}
.pills li {
  border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.7rem;
  background: var(--bg-2);
}

.hero-panel { display: flex; justify-content: center; }
.print-viz {
  width: min(100%, 340px); background: var(--card); border: 1px solid var(--line);
  border-radius: 24px; padding: 1.25rem; box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.bed {
  position: relative; height: 220px; border-radius: 16px;
  background: linear-gradient(180deg, #222830, #12161a);
  border: 1px solid var(--line); overflow: hidden;
}
.layer {
  position: absolute; left: 18%; right: 18%; height: 18px; border-radius: 4px;
  background: linear-gradient(90deg, #ff8f5a, var(--accent));
  opacity: 0.9; animation: build 2.8s ease-in-out infinite;
}
.l1 { bottom: 48px; animation-delay: 0s; }
.l2 { bottom: 72px; width: auto; left: 24%; right: 24%; opacity: 0.7; animation-delay: 0.35s; }
.l3 { bottom: 96px; left: 30%; right: 30%; opacity: 0.5; animation-delay: 0.7s; }
.nozzle {
  position: absolute; top: 28px; left: 50%; width: 14px; height: 28px;
  margin-left: -7px; background: #8b95a0; border-radius: 3px 3px 6px 6px;
  animation: head 2.8s ease-in-out infinite;
}
.nozzle::after {
  content: ""; position: absolute; bottom: -8px; left: 3px; right: 3px; height: 8px;
  background: var(--accent); border-radius: 0 0 4px 4px;
}
@keyframes build {
  0%, 100% { transform: scaleX(0.92); filter: brightness(0.9); }
  50% { transform: scaleX(1); filter: brightness(1.15); }
}
@keyframes head {
  0%, 100% { transform: translateX(-28px); }
  50% { transform: translateX(28px); }
}
.viz-meta {
  display: flex; justify-content: space-between; margin-top: 0.85rem;
  font-family: var(--mono); font-size: 0.72rem; color: var(--muted);
}

.strip {
  border-block: 1px solid var(--line); background: var(--bg-2); padding: 0.9rem 0;
}
.strip-row {
  display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; justify-content: center;
  color: var(--muted); font-size: 0.9rem;
}
.sep { opacity: 0.35; }

.section { padding: 4rem 0; }
.section-dark { background: #0a0c0e; }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 34rem; margin-bottom: 1.75rem; }
.section-head h2 {
  font-size: clamp(1.55rem, 3vw, 2.1rem); letter-spacing: -0.02em; margin-bottom: 0.4rem;
}
.section-head p { color: var(--muted); }
.section-head.light .eyebrow { color: var(--accent-2); }

.grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem;
}
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem;
}
.card h3 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.card p { color: var(--muted); font-size: 0.95rem; }

.mat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem;
}
.mat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem; position: relative; min-height: 150px;
}
.mat h3 { font-family: var(--mono); margin-bottom: 0.4rem; color: var(--accent-2); }
.mat p { color: var(--muted); font-size: 0.9rem; }
.mat .tag {
  position: absolute; top: 0.85rem; right: 0.85rem;
  font-family: var(--mono); font-size: 0.68rem; color: var(--accent);
  border: 1px solid rgba(255,107,44,0.35); padding: 0.15rem 0.4rem; border-radius: 999px;
}
.fineprint { margin-top: 1rem; color: var(--muted); font-size: 0.88rem; }

.timeline { list-style: none; display: grid; gap: 0.65rem; }
.timeline li {
  display: grid; gap: 0.2rem; padding: 1rem 1.15rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
}
.timeline strong { font-family: var(--mono); font-size: 0.92rem; color: var(--accent); }
.timeline span { color: var(--muted); font-size: 0.95rem; }

.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 0.9rem 1.1rem; margin-bottom: 0.55rem;
}
.faq summary {
  cursor: pointer; font-weight: 600; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--muted); margin-top: 0.55rem; font-size: 0.95rem; }

/* Order */
.order-grid {
  display: grid; grid-template-columns: 0.9fr 1.15fr; gap: 2rem; align-items: start;
}
.order-copy h2 {
  font-size: clamp(1.55rem, 3vw, 2.1rem); letter-spacing: -0.02em; margin-bottom: 0.65rem;
}
.order-copy > p { color: var(--muted); margin-bottom: 1rem; }
.checklist {
  list-style: none; display: grid; gap: 0.45rem; margin-bottom: 1.25rem;
  color: var(--ink); font-size: 0.95rem;
}
.checklist li { padding-left: 1.2rem; position: relative; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700;
}
.contact-fallback { font-size: 0.92rem; color: var(--muted); }
.contact-fallback .hint { display: block; font-size: 0.8rem; opacity: 0.7; margin-top: 0.2rem; }

.order-form {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  padding: 1.25rem; display: grid; gap: 0.7rem;
}
.order-form label {
  display: grid; gap: 0.3rem; font-size: 0.85rem; color: var(--muted);
}
.order-form .opt { opacity: 0.6; }
.order-form input,
.order-form select,
.order-form textarea {
  width: 100%; border: 1px solid var(--line); background: var(--bg);
  color: var(--ink); border-radius: 10px; padding: 0.7rem 0.8rem; font: inherit;
}
.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  outline: none; border-color: var(--accent);
}
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }

.drop {
  border: 1.5px dashed var(--line); border-radius: 16px; padding: 1.25rem;
  text-align: center; cursor: pointer; background: var(--bg); position: relative;
  transition: border-color 0.15s, background 0.15s;
}
.drop.dragover { border-color: var(--accent); background: #1a1410; }
.drop input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer;
}
.drop strong { display: block; color: var(--ink); margin-bottom: 0.25rem; }
.drop > p { color: var(--muted); font-size: 0.85rem; }
.file-list {
  list-style: none; margin-top: 0.75rem; text-align: left;
  font-family: var(--mono); font-size: 0.78rem; color: var(--accent-2);
}
.file-list li {
  padding: 0.35rem 0.5rem; border-radius: 8px; background: rgba(61, 214, 198, 0.08);
  margin-bottom: 0.3rem; word-break: break-all;
}
.form-note { font-size: 0.78rem; color: var(--muted); }
.form-status {
  font-size: 0.9rem; padding: 0.65rem 0.75rem; border-radius: 10px;
}
.form-status.ok { background: rgba(61, 214, 140, 0.12); color: var(--ok); }
.form-status.err { background: rgba(255, 80, 80, 0.12); color: #ff8a8a; }

.site-footer {
  border-top: 1px solid var(--line); padding: 1.75rem 0 2.25rem;
}
.footer-inner {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.site-footer p { color: var(--muted); font-size: 0.88rem; margin-top: 0.25rem; }
.footer-meta { text-align: right; }

@media (max-width: 900px) {
  .hero-grid, .order-grid, .grid-3 { grid-template-columns: 1fr; }
  .mat-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; background: rgba(12,14,16,0.98);
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch;
    padding: 0.5rem 1rem 1rem; gap: 0;
    transform: translateY(-130%); opacity: 0; pointer-events: none; transition: 0.25s;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 0.85rem 0.4rem; border-bottom: 1px solid var(--line); }
  .nav-cta { text-align: center; margin-top: 0.4rem; border: 0 !important; }
  .footer-meta { text-align: left; }
  .row-2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .mat-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .order-form input, .order-form select, .order-form textarea { font-size: 16px; }
}
