/* Lumen Atelier — ScrewFast-inspired hardware landing layout */
:root {
  --bg: #e5e5e5;
  --bg-elev: #f5f5f5;
  --ink: #262626;
  --muted: #525252;
  --card: #fafafa;
  --line: #d4d4d4;
  --yellow: #eab308;
  --yellow-soft: rgba(254, 249, 195, 0.65);
  --nav-border: rgba(254, 243, 199, 0.45);
  --orange: #fb923c;
  --orange-hover: #f97316;
  --footer: #d4d4d4;
  --footer-ink: #404040;
  --dark-panel: #262626;
  --radius-pill: 36px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 85rem;
}

html.dark {
  --bg: #262626;
  --bg-elev: #171717;
  --ink: #e5e5e5;
  --muted: #a3a3a3;
  --card: #171717;
  --line: #404040;
  --yellow-soft: rgba(38, 38, 38, 0.85);
  --nav-border: rgba(64, 64, 64, 0.5);
  --footer: #171717;
  --footer-ink: #a3a3a3;
  --dark-panel: #0a0a0a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: #facc15; color: #404040; }

.shell {
  width: 100%;
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 1rem;
  flex: 1;
}
@media (min-width: 640px) { .shell { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .shell { padding: 0 2rem; } }

/* Sticky yellow pill navbar (ScrewFast) */
.site-header {
  position: sticky;
  top: 1rem;
  z-index: 50;
  margin-bottom: 0.5rem;
}
.nav-pill {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--nav-border);
  background: var(--yellow-soft);
  backdrop-filter: blur(12px);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}
.logo svg { color: var(--orange); flex-shrink: 0; }
.logo small {
  display: none;
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--muted);
}
@media (min-width: 900px) {
  .logo { flex-direction: column; align-items: flex-start; gap: 0; }
  .logo span { display: inline-flex; align-items: center; gap: 0.5rem; }
  .logo small { display: block; margin-left: 2rem; }
}
.nav-links {
  display: none;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--orange-hover); }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-toggle, .theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.nav-toggle:hover, .theme-btn:hover { background: rgba(0,0,0,0.06); }
html.dark .nav-toggle:hover, html.dark .theme-btn:hover { background: rgba(255,255,255,0.08); }
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}
.nav-links.open {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.75rem 0 0.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  border: 1px solid transparent;
  background: var(--orange);
  color: #fafafa;
  transition: background 0.2s;
  cursor: pointer;
}
.btn:hover { background: var(--orange-hover); }
.btn.ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
html.dark .btn.ghost { background: #404040; color: #e5e5e5; border-color: #525252; }
.btn.ghost:hover { background: #f5f5f5; }
html.dark .btn.ghost:hover { background: #525252; }
.btn.block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* Hero — 2-col ScrewFast */
.hero {
  display: grid;
  gap: 1.5rem;
  padding: 3rem 0 2.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.hero h1 {
  font-size: clamp(1.85rem, 4vw, 3.5rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--yellow); }
.hero .lead {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 36rem;
}
.hero-meta {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.hero-media {
  overflow: hidden;
  border-radius: 0.75rem;
}
.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 480px;
  object-fit: cover;
  transform: scale(1.05);
}

/* Sections */
.section { padding: 2.5rem 0; }
.section h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.section h2 .accent { color: var(--yellow); }
.section .sub {
  margin-top: 0.5rem;
  color: var(--muted);
  max-width: 40rem;
}
.banner-img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .banner-img { height: 22rem; } }

.feat-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .feat-grid { grid-template-columns: 1fr 2fr; gap: 3rem; margin-top: 1rem; }
}
.icon-grid {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 640px) { .icon-grid { grid-template-columns: 1fr 1fr; } }
.icon-block h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.35rem; }
.icon-block p { color: var(--muted); font-size: 0.95rem; }
.icon-badge {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(251, 146, 60, 0.2);
  color: var(--orange-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) { .split { grid-template-columns: 1fr 1fr; } }
.split img { width: 100%; border-radius: 0.75rem; object-fit: cover; max-height: 480px; }
.stack-cards { display: flex; flex-direction: column; gap: 1rem; }
.stack-card {
  padding: 1.15rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: var(--bg-elev);
}
.stack-card h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.stack-card p { color: var(--muted); font-size: 0.95rem; }

/* Stats panel */
.stats {
  background: var(--dark-panel);
  color: #f5f5f5;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
}
.stats h2 { color: #f5f5f5; }
.stats .sub { color: #a3a3a3; }
.stats-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.75rem;
}
@media (min-width: 640px) { .stats-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-num { font-size: 1.85rem; font-weight: 700; color: var(--orange); }
.stat-desc { margin-top: 0.35rem; font-size: 0.85rem; color: #a3a3a3; }

/* Pricing — ScrewFast dual cards */
.pricing-head { text-align: center; max-width: 36rem; margin: 0 auto 2.5rem; }
.pricing-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0;
}
.price-card {
  width: 100%;
  max-width: 22rem;
  padding: 1.75rem;
  border-radius: 0.75rem;
  color: #f5f5f5;
}
.price-card.dark { background: #1f2937; }
@media (min-width: 640px) {
  .price-card.dark { border-radius: 0.75rem 0 0 0.75rem; }
  .price-card.hot { border-radius: 0.75rem; }
}
.price-card.hot {
  background: linear-gradient(135deg, #FF512F, #F09819);
  box-shadow: 0 12px 30px rgba(255, 81, 47, 0.25);
  max-width: 26rem;
}
.price-card h3 { font-size: 1.5rem; font-weight: 700; }
.price-card .desc { opacity: 0.85; margin: 0.25rem 0 1rem; font-size: 0.95rem; }
.price-card .amount { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.price-card.hot .amount { font-size: 2.5rem; }
.price-card ul { list-style: none; margin-bottom: 1.25rem; }
.price-card li { margin: 0.4rem 0; font-size: 0.95rem; }
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(254, 215, 170, 0.7);
  color: #c2410c;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.price-card .btn.ghost {
  background: #6b7280;
  color: #f9fafb;
  border: none;
}
.price-card .btn.ghost:hover { background: #4b5563; }
.price-card.hot .btn {
  background: #f5f5f5;
  color: #262626;
}
.price-card.hot .btn:hover { background: #fff; }
.pricing-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.pricing-note a { color: var(--orange-hover); text-decoration: underline; }

/* FAQ */
.faq-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 1fr 1fr; } }
details {
  border: 1px solid var(--line);
  background: var(--bg-elev);
  border-radius: 0.75rem;
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
}
details summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
details summary::-webkit-details-marker { display: none; }
details p { margin-top: 0.6rem; color: var(--muted); font-size: 0.95rem; }

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: #171717;
  text-align: center;
  padding: 3.5rem 1.5rem;
  color: #f5f5f5;
}
.cta-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.cta-band .inner { position: relative; max-width: 36rem; margin: 0 auto; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.cta-band p { margin: 0.75rem 0 1.5rem; color: #d4d4d4; }

/* Product collection grid */
.page-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
}
.page-head p { color: var(--muted); max-width: 36rem; margin-top: 0.5rem; }
.collect-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .collect-grid { grid-template-columns: repeat(3, 1fr); }
}
.collect-card {
  background: var(--card);
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid transparent;
  transition: transform 0.2s;
}
.collect-card:hover { transform: translateY(-2px); }
.collect-card.wide { grid-column: span 1; }
@media (min-width: 640px) {
  .collect-card.wide { grid-column: span 2; }
}
.collect-card img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  transition: transform 0.4s;
}
.collect-card:hover img { transform: scale(1.04); }
.collect-card .body { padding: 1.15rem; }
.collect-card h3 { font-size: 1.15rem; }
.collect-card p { color: var(--muted); font-size: 0.9rem; margin-top: 0.25rem; }
.price { margin-top: 0.65rem; font-weight: 700; color: var(--orange-hover); }

/* Process steps */
.steps {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  border: 1px solid var(--line);
  background: var(--bg-elev);
  border-radius: 0.75rem;
  padding: 1.35rem;
}
.step .n { font-size: 0.8rem; font-weight: 700; color: var(--orange); }
.step h3 { margin: 0.4rem 0; font-size: 1.05rem; }
.step p { color: var(--muted); font-size: 0.9rem; }

.chips {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
@media (min-width: 480px) { .chips { grid-template-columns: 1fr 1fr; } }
.chip {
  background: var(--bg-elev);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.panel {
  background: var(--bg-elev);
  border-radius: 1rem;
  padding: 1.75rem;
}
@media (min-width: 768px) { .panel { padding: 2.5rem; } }
.dl-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}
@media (min-width: 640px) { .dl-grid { grid-template-columns: 1fr 1fr; } }
.dl-grid dt { font-size: 0.8rem; color: var(--muted); }
.dl-grid dd { font-weight: 600; }
.dl-grid a { color: var(--orange-hover); }

.photo-row {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) { .photo-row { grid-template-columns: repeat(3, 1fr); } }
.photo-row img {
  height: 12rem;
  width: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
}

/* Contact form */
.contact-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.form-card {
  border: 1px solid var(--line);
  background: var(--bg-elev);
  border-radius: 1rem;
  padding: 1.5rem;
}
.form { display: grid; gap: 0.85rem; }
.form label { font-size: 0.85rem; font-weight: 600; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  color: var(--ink);
}
html.dark .form input,
html.dark .form select,
html.dark .form textarea {
  background: #262626;
  color: #e5e5e5;
  border-color: #525252;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--orange);
  border-color: transparent;
}
.contact-aside p { margin-bottom: 1rem; color: var(--muted); }
.contact-aside strong { color: var(--ink); }
.contact-aside a { color: var(--orange-hover); }

/* Legal */
.legal { padding: 2.5rem 0 3.5rem; max-width: 48rem; }
.legal h1 { font-size: 1.85rem; margin-bottom: 0.5rem; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.25rem; }
.legal h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.6rem;
  color: var(--orange-hover);
}
.legal h3 { font-size: 1rem; margin: 1.1rem 0 0.4rem; }
.legal p, .legal li { color: var(--muted); margin-bottom: 0.65rem; }
.legal ul { padding-left: 1.25rem; margin-bottom: 0.75rem; }
.legal a { color: var(--orange-hover); text-decoration: underline; }
.legal code {
  font-size: 0.85em;
  background: var(--bg-elev);
  padding: 0.1rem 0.35rem;
  border-radius: 0.25rem;
}

/* Footer */
.site-footer {
  background: var(--footer);
  margin-top: 2rem;
  padding: 2.5rem 0 1.25rem;
  color: var(--footer-ink);
  font-size: 0.9rem;
}
.f-inner {
  width: 100%;
  max-width: 85rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.fgrid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 768px) { .fgrid { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; } }
.fgrid strong { display: block; color: var(--ink); margin-bottom: 0.65rem; }
.fgrid a { display: block; margin: 0.35rem 0; color: var(--footer-ink); }
.fgrid a:hover { color: var(--orange-hover); }
.copy {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 0.8rem;
}
html.dark .copy { border-color: rgba(255,255,255,0.08); }
.copy a { text-decoration: underline; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  background: rgba(23, 23, 23, 0.97);
  color: #e5e5e5;
  padding: 1rem 1.25rem;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
}
.cookie-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-inner p { flex: 1 1 16rem; font-size: 0.875rem; color: #d4d4d4; margin: 0; }
.cookie-inner a { color: #fdba74; text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.65rem; }
.cookie-actions button {
  border-radius: 0.5rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid #525252;
  background: transparent;
  color: #a3a3a3;
}
.cookie-actions .accept {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.cookie-actions .accept:hover { background: var(--orange-hover); }

.center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mb-6 { margin-bottom: 1.5rem; }
