/* ==========================================================================
   EFS Lighting — design system
   Stage 1 HTML prototype · My Marketing Assistant / IT Aspects
   ========================================================================== */

:root {
  /* Brand */
  --amber: #F5C518;          /* EFS logo amber */
  --amber-deep: #C99A00;
  --amber-ink: #7A5C00;      /* amber text on light backgrounds (AA) */
  --ink: #0E1013;            /* near-black base */
  --ink-2: #16191E;          /* raised dark surface */
  --ink-3: #20242B;          /* card on dark */
  --line-dark: #2C313A;
  --paper: #FFFFFF;
  --mist: #F4F4F5;           /* EFS logo light */
  --mist-2: #E9EAEC;
  --line: #DCDEE2;
  --text: #15181C;
  --text-2: #4A5058;
  --text-inv: #ECEDEF;
  --text-inv-2: #A9AFB8;
  --ok: #1F7A4A;
  --warn: #B8352A;

  /* Type */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --fs-hero: clamp(2.6rem, 6.2vw, 5.4rem);
  --fs-h1: clamp(2.2rem, 4.6vw, 3.8rem);
  --fs-h2: clamp(1.8rem, 3.4vw, 2.75rem);
  --fs-h3: clamp(1.2rem, 1.8vw, 1.45rem);
  --fs-body: 1.0625rem;
  --fs-small: .9rem;

  /* Layout */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(14,16,19,.10);
  --shadow-lg: 0 30px 80px rgba(0,0,0,.35);
  --header-h: 76px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: 1.6;
  color: var(--text); background: var(--paper); text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1,h2,h3,h4 { line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.01em; font-weight: 700; }
p { margin: 0 0 1em; }
ul,ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.skip-link { position:absolute; left:16px; top:-60px; background:var(--amber); color:var(--ink); padding:10px 16px; border-radius:8px; z-index:100; font-weight:700; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.dark { background: var(--ink); color: var(--text-inv); }
.dark-2 { background: var(--ink-2); color: var(--text-inv); }
.mist { background: var(--mist); }
.dark p, .dark-2 p { color: var(--text-inv-2); }
.dark h1,.dark h2,.dark h3,.dark-2 h2,.dark-2 h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .78rem;
  font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--amber-ink); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--amber); }
.dark .eyebrow, .dark-2 .eyebrow { color: var(--amber); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text-2); max-width: 62ch; }
.dark .lead { color: var(--text-inv-2); }
.mono { font-family: var(--mono); }
.amber { color: var(--amber); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  --bg: var(--amber); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--bg);
  background: var(--bg); color: var(--fg); font: 700 1rem/1 var(--font); text-decoration: none;
  cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(245,197,24,.28); }
.btn--ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.btn--ghost:hover { box-shadow: none; background: rgba(127,127,127,.1); }
.btn--dark { --bg: var(--ink); --fg: #fff; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; border-bottom: 2px solid var(--amber); padding-bottom: 2px; }

/* Announcement + header */
.announce { background: var(--amber); color: var(--ink); font-size: .9rem; font-weight: 600; }
.announce .wrap { display: flex; justify-content: center; gap: 24px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; text-align: center; }
.announce a { font-weight: 800; }

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(14,16,19,.92); backdrop-filter: saturate(140%) blur(12px);
  color: #fff; border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: block; width: 168px; flex: none; }
.nav { display: flex; gap: 4px; align-items: center; margin-right: auto; }
.nav > a, .nav-drop > button {
  color: #E3E5E8; text-decoration: none; font-weight: 600; font-size: .96rem; padding: 10px 12px; border-radius: 8px;
  background: none; border: 0; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:hover, .nav-drop > button:hover, .nav a[aria-current="page"] { color: var(--amber); }
.nav-drop { position: relative; }
.nav-drop .menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; background: var(--ink-2); border: 1px solid var(--line-dark);
  border-radius: 12px; padding: 10px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: .2s var(--ease);
}
.nav-drop:hover .menu, .nav-drop:focus-within .menu, .nav-drop.open .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: #fff; }
.menu a small { display: block; color: var(--text-inv-2); font-size: .82rem; }
.menu a:hover { background: var(--ink-3); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { color: #fff; text-decoration: none; font-family: var(--mono); font-size: .9rem; font-weight: 700; }
.cart-btn { position: relative; color: #fff; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); text-decoration: none; }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; border-radius: 999px; background: var(--amber); color: var(--ink);
  font-size: .72rem; font-weight: 800; display: grid; place-items: center; padding: 0 5px;
}
.cart-count[data-count="0"] { display: none; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: #fff; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
  .header-phone { display: none; }
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink); flex-direction: column; align-items: stretch;
    padding: 20px var(--gutter) 40px; gap: 2px; overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease);
  }
  .nav { visibility: hidden; }
  .nav.open { transform: none; visibility: visible; }
  .site-header { backdrop-filter: none; background: var(--ink); }
  .nav > a, .nav-drop > button { font-size: 1.15rem; padding: 14px 6px; border-bottom: 1px solid var(--line-dark); border-radius: 0; width: 100%; justify-content: space-between; }
  .nav-drop .menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 10px 10px; min-width: 0; }
  .nav-drop.open .menu { display: block; }
  .header-actions .btn { display: none; }
  .brand { width: 140px; }
}
body.nav-open { overflow: hidden; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; min-height: min(86vh, 820px); padding-top: 56px; padding-bottom: 72px; }
.hero h1 { font-size: var(--fs-hero); line-height: .98; letter-spacing: -.035em; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lead { color: #C3C8CF; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); gap: 28px; justify-content: start; }
.hero-facts div { border-left: 2px solid var(--amber); padding-left: 14px; }
.hero-facts strong { display: block; font-size: 1.6rem; line-height: 1; letter-spacing: -.02em; }
.hero-facts span { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-inv-2); }
.beam {
  position: absolute; z-index: -1; right: -10%; top: -30%; width: 80%; height: 160%;
  background: radial-gradient(ellipse 50% 45% at 55% 42%, rgba(245,197,24,.28), rgba(245,197,24,.08) 45%, transparent 70%);
  transition: opacity .6s var(--ease);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: -2; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.hero-visual { position: relative; }
.hero-visual .product-shot {
  width: 100%; max-width: 560px; margin-left: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6));
  border-radius: 18px; transition: filter .6s var(--ease), transform .6s var(--ease);
}
.hero-badge {
  position: absolute; left: 0; bottom: 8%; background: rgba(22,25,30,.92); border: 1px solid var(--line-dark); border-radius: 14px;
  padding: 14px 18px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow-lg); backdrop-filter: blur(6px);
}
.hero-badge .dot { width: 12px; height: 12px; border-radius: 50%; background: #3BD27A; box-shadow: 0 0 0 6px rgba(59,210,122,.15); }
.hero-badge strong { display: block; font-size: .98rem; }
.hero-badge span { font-family: var(--mono); font-size: .74rem; color: var(--text-inv-2); }

/* Power-cut demo */
.powercut { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.demo {
  position: relative; border-radius: 20px; overflow: hidden; background: #050607; aspect-ratio: 4/3; border: 1px solid var(--line-dark);
}
.demo-scene { position: absolute; inset: 0; transition: background .7s var(--ease); }
.demo[data-mode="mains"] .demo-scene { background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(255,250,225,.85), rgba(255,236,160,.35) 40%, rgba(20,22,26,1) 85%); }
.demo[data-mode="emergency"] .demo-scene { background: radial-gradient(ellipse 45% 60% at 50% 0%, rgba(255,246,205,.55), rgba(255,226,130,.12) 45%, rgba(8,9,11,1) 80%); }
.demo[data-mode="off"] .demo-scene { background: #050607; }
.demo-fixture { position: absolute; top: 6%; left: 50%; transform: translateX(-50%); width: 34%; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
.demo-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.demo-hud {
  position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: space-between; align-items: end; gap: 12px;
  font-family: var(--mono); font-size: .78rem; color: #fff;
}
.demo-hud .state { background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.15); padding: 8px 12px; border-radius: 8px; }
.demo-hud .state b { color: var(--amber); }
.switch {
  display: inline-flex; align-items: center; gap: 14px; background: var(--ink-3); border: 1px solid var(--line-dark);
  border-radius: 999px; padding: 6px 18px 6px 6px; cursor: pointer; color: #fff; font: 700 1rem var(--font);
}
.switch .knob { width: 58px; height: 32px; border-radius: 999px; background: #3BD27A; position: relative; transition: background .3s; }
.switch .knob::after { content: ""; position: absolute; top: 4px; left: 30px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: left .3s var(--ease); }
.switch[aria-pressed="true"] .knob { background: var(--warn); }
.switch[aria-pressed="true"] .knob::after { left: 4px; }
.timeline-steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.timeline-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.timeline-steps .n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-3); border: 1px solid var(--line-dark); font-family: var(--mono); font-weight: 700; color: var(--amber); }
.timeline-steps strong { display: block; color: #fff; }

/* Cards & grids */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.dark .card, .dark-2 .card { background: var(--ink-3); border-color: var(--line-dark); }
.card .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(245,197,24,.14); color: var(--amber-ink); margin-bottom: 18px; }
.dark .card .icon, .dark-2 .card .icon { color: var(--amber); }
.card .icon svg { width: 26px; height: 26px; }
.card p:last-child { margin-bottom: 0; }

/* Application tiles */
.app-tile {
  position: relative; display: flex; flex-direction: column; justify-content: end; min-height: 320px; border-radius: var(--radius);
  overflow: hidden; color: #fff; text-decoration: none; padding: 26px; isolation: isolate; background: var(--ink-2);
}
.app-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tile-bg); transition: transform .6s var(--ease); }
.app-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(8,9,11,.92)); }
.app-tile:hover::before { transform: scale(1.06); }
.app-tile .tag { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 8px; }
.app-tile h3 { margin-bottom: 6px; }
.app-tile p { color: #C3C8CF; font-size: .95rem; margin: 0; }
.app-tile .go { position: absolute; top: 20px; right: 20px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; }
.app-tile .go svg { width: 18px; height: 18px; }
.tile-dc { --tile-bg: repeating-linear-gradient(90deg, #1b1f26 0 46px, #12151a 46px 50px), radial-gradient(circle at 70% 20%, rgba(80,160,255,.25), transparent 60%); }
.tile-cs { --tile-bg: linear-gradient(135deg, #2a2412, #14161a 60%), repeating-linear-gradient(-45deg, rgba(245,197,24,.14) 0 14px, transparent 14px 28px); }
.tile-in { --tile-bg: linear-gradient(160deg, #1d2128, #0f1115), repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 2px, transparent 2px 40px); }
.tile-cp { --tile-bg: linear-gradient(180deg, #171a20, #0d0f12), repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 4px, transparent 4px 120px); }
.tile-mn { --tile-bg: radial-gradient(circle at 30% 30%, rgba(196,120,48,.35), transparent 55%), linear-gradient(180deg, #1c1714, #0e0c0b); }

/* Product card */
.product-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 20px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.product-card .media { background: radial-gradient(circle at 50% 40%, #2a2e35, #0E1013 70%); display: grid; place-items: center; padding: 32px; min-height: 380px; position: relative; }
.product-card .media img { max-height: 360px; width: auto; }
.product-card .body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--mist); color: var(--text); }
.pill--ok { background: #E3F4EA; color: var(--ok); }
.pill--ok::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.pill--amber { background: var(--amber); color: var(--ink); }
.price { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.price small { font-size: .9rem; font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.spec-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; padding: 0; list-style: none; }
.spec-chips li { font-family: var(--mono); font-size: .8rem; padding: 7px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--mist); }
.dark .spec-chips li { background: var(--ink-3); border-color: var(--line-dark); }
.card-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.coming-soon { border: 2px dashed var(--line); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; justify-content: center; align-items: start; gap: 8px; min-height: 260px; background: var(--mist); }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.stats > div { padding: 32px 24px; border-right: 1px solid var(--line-dark); }
.stats > div:last-child { border-right: 0; }
.stats strong { display: block; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; color: #fff; line-height: 1; margin-bottom: 8px; }
.stats span { font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-inv-2); }

/* Trust */
.trust-strip { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: center; }
.trust-strip span { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text-2); font-size: .95rem; }
.trust-strip svg { width: 22px; height: 22px; color: var(--amber-ink); }
.review-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: stretch; }
.review-empty { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: var(--paper); display: flex; flex-direction: column; justify-content: center; }
.g-logo { font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; }
.g-logo span:nth-child(1){color:#4285F4}.g-logo span:nth-child(2){color:#EA4335}.g-logo span:nth-child(3){color:#FBBC05}.g-logo span:nth-child(4){color:#4285F4}.g-logo span:nth-child(5){color:#34A853}.g-logo span:nth-child(6){color:#EA4335}
.placeholder-note { font-family: var(--mono); font-size: .76rem; color: var(--amber-ink); background: #FFF6D6; border: 1px dashed var(--amber-deep); padding: 8px 10px; border-radius: 8px; display: inline-block; }
.dark .placeholder-note { background: rgba(245,197,24,.08); color: var(--amber); }

/* Compare table */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); }
.dark .table-wrap { border-color: var(--line-dark); background: var(--ink-2); }
table { width: 100%; border-collapse: collapse; font-size: .96rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dark th, .dark td { border-color: var(--line-dark); }
thead th { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; background: var(--mist); }
.dark thead th { background: var(--ink-3); color: #fff; }
tbody th { font-weight: 700; width: 38%; }
tr.hl td, tr.hl th { background: rgba(245,197,24,.12); }
.tick { color: var(--ok); font-weight: 800; }
.cross { color: var(--warn); font-weight: 800; }
.dark .tick { color: #5BD891; }
.dark .cross { color: #FF8A7A; }

/* Breadcrumbs + page hero */
.page-hero { background: var(--ink); color: #fff; padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero .beam { opacity: .7; }
.page-hero .lead { color: #C3C8CF; }
.crumbs { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-inv-2); margin-bottom: 22px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: #5c636d; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--amber); }

/* Product page */
.pdp { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.gallery-main { background: radial-gradient(circle at 50% 40%, #2a2e35, #0E1013 72%); border-radius: 20px; aspect-ratio: 1/1; display: grid; place-items: center; overflow: hidden; position: relative; }
.gallery-main img { width: 86%; height: 86%; object-fit: contain; transition: opacity .25s; }
.gallery-main.light { background: var(--mist); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.gallery-thumbs button { border: 2px solid transparent; border-radius: 12px; overflow: hidden; padding: 0; background: var(--mist); cursor: pointer; aspect-ratio: 1/1; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--amber); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.buybox { position: sticky; top: calc(var(--header-h) + 20px); }
.buybox h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; height: 52px; }
.qty button { width: 46px; height: 100%; border: 0; background: none; font-size: 1.3rem; cursor: pointer; color: var(--text); }
.qty input { width: 54px; border: 0; text-align: center; font: 700 1.05rem var(--font); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 14px; }
.buy-row .btn { flex: 1; min-width: 160px; }
.assure { list-style: none; padding: 0; margin: 20px 0 0; border-top: 1px solid var(--line); }
.assure li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.assure svg { width: 20px; height: 20px; flex: none; color: var(--amber-ink); margin-top: 3px; }
.notice { display: flex; gap: 12px; background: #FFF8DE; border: 1px solid #F0D98A; border-radius: 12px; padding: 14px 16px; font-size: .92rem; color: #4d3b00; }
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.tabs { border-bottom: 1px solid var(--line); display: flex; gap: 6px; overflow-x: auto; margin-bottom: 28px; }
.tabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 14px 16px; font: 700 1rem var(--font); color: var(--text-2); cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--text); border-color: var(--amber); }
.tab-panel[hidden] { display: none; }
.spec-table th { width: 42%; color: var(--text-2); font-weight: 600; }
.spec-table td { font-weight: 700; }
.downloads { display: grid; gap: 12px; }
.download {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none;
  transition: border-color .2s, background .2s;
}
.download:hover { border-color: var(--amber); background: #FFFBEA; }
.download svg { width: 28px; height: 28px; color: var(--amber-ink); flex: none; }
.download strong { display: block; }
.download span { font-size: .85rem; color: var(--text-2); }
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--ink); color: #fff; border-top: 1px solid var(--line-dark);
  padding: 10px var(--gutter); display: none; align-items: center; gap: 12px; transform: translateY(100%); transition: transform .3s var(--ease);
}
.sticky-buy.show { transform: none; }
.sticky-buy .meta { flex: 1; min-width: 0; }
.sticky-buy strong { display: block; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy span { font-family: var(--mono); font-size: .8rem; color: var(--amber); }

/* Forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: 400 1rem var(--font);
  color: var(--text); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber-deep); box-shadow: 0 0 0 4px rgba(245,197,24,.25); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--warn); }
.field .err { display: none; color: var(--warn); font-size: .85rem; margin-top: 6px; }
.field.invalid .err { display: block; }
.hp { position: absolute; left: -9999px; }
.check { display: flex; gap: 10px; align-items: start; font-size: .92rem; color: var(--text-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--amber-deep); }
.form-success { display: none; border: 1px solid #BFE3CD; background: #EAF7EF; color: #12432A; padding: 22px; border-radius: 12px; }
.form-success.show { display: block; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); color: var(--text); }
.dark .form-card p { color: var(--text-2); }
.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-group label { margin: 0; }
.choice-group label { position: relative; }
.choice-group input { position: absolute; opacity: 0; left: 0; top: 0; width: 1px; height: 1px; }
.choice-group span { display: inline-block; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .92rem; cursor: pointer; }
.choice-group input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.choice-group input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.dark .faq details { background: var(--ink-3); border-color: var(--line-dark); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--amber-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 22px 20px; color: var(--text-2); }
.dark .faq .answer { color: var(--text-inv-2); }

/* Shop */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.filters fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.filters legend { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin-bottom: 10px; }
.filters label { display: flex; gap: 10px; align-items: center; padding: 5px 0; font-size: .95rem; cursor: pointer; }
.filters input { accent-color: var(--amber-deep); width: 18px; height: 18px; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.shop-toolbar select { min-height: 44px; border-radius: 10px; border: 1.5px solid var(--line); padding: 0 12px; font: 600 .95rem var(--font); }
.search-box { position: relative; flex: 1; max-width: 360px; }
.search-box input { width: 100%; min-height: 44px; border-radius: 999px; border: 1.5px solid var(--line); padding: 0 16px 0 42px; font: 1rem var(--font); }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-2); }
.results-grid { display: grid; gap: 24px; }
.filter-toggle { display: none; }

/* Cart / checkout */
.cart-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 36px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 110px; height: 110px; object-fit: contain; background: radial-gradient(circle, #2a2e35, #0E1013 75%); border-radius: 12px; padding: 8px; }
.summary { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--mist); position: sticky; top: calc(var(--header-h) + 20px); }
.summary .row { display: flex; justify-content: space-between; padding: 8px 0; }
.summary .total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-weight: 800; font-size: 1.2rem; }
.empty-cart { text-align: center; padding: 60px 0; }
.steps-bar { display: flex; gap: 10px; font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 28px; flex-wrap: wrap; }
.steps-bar span { padding: 8px 12px; border-radius: 999px; background: var(--mist); }
.steps-bar span.on { background: var(--ink); color: #fff; }
.pay-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-badges span { font-family: var(--mono); font-size: .72rem; font-weight: 700; padding: 6px 9px; border-radius: 6px; border: 1px solid var(--line-dark); color: #E3E5E8; }
.summary .pay-badges span { border-color: var(--line); color: var(--text); background: #fff; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; background: var(--ink); color: #fff; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; isolation: isolate; }
.cta-band .beam { right: -30%; top: -60%; width: 100%; height: 220%; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #C3C8CF; }
.cta-band .actions { display: flex; flex-direction: column; gap: 12px; }

/* Prose */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--text-2); }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--amber-ink); font-weight: 600; }
.prose .callout { border-left: 0; background: var(--mist); border-radius: 12px; padding: 18px 20px; margin: 1.5em 0; }
.toc { border: 1px solid var(--line); border-radius: 12px; padding: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.toc ol { margin: 0; padding-left: 1.1em; }
.toc a { text-decoration: none; color: var(--text-2); }
.toc a:hover { color: var(--text); }
.article-layout { display: grid; grid-template-columns: 1fr 260px; gap: 56px; align-items: start; }

/* Newsletter */
.newsletter { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input { flex: 1; min-width: 200px; min-height: 50px; border-radius: 999px; border: 1px solid var(--line-dark); background: var(--ink-3); color: #fff; padding: 0 18px; font: 1rem var(--font); }
.newsletter input::placeholder { color: #8c939d; }

/* Footer */
.site-footer { background: #08090B; color: var(--text-inv-2); padding: 72px 0 28px; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.site-footer h4 { color: #fff; font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-brand img { width: 190px; margin-bottom: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; flex-wrap: wrap; font-size: .85rem; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; }
.socials svg { width: 18px; height: 18px; }

/* Cookie banner */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; background: var(--ink-2); color: #fff;
  border: 1px solid var(--line-dark); border-radius: 16px; padding: 20px; box-shadow: var(--shadow-lg); display: none;
}
.cookie.show { display: block; }
.cookie p { color: var(--text-inv-2); font-size: .92rem; }
.cookie .row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Toast */
.toast { position: fixed; right: 20px; top: calc(var(--header-h) + 16px); z-index: 70; background: var(--ink); color: #fff; border: 1px solid var(--line-dark); border-left: 4px solid var(--amber); border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow-lg); transform: translateX(130%); transition: transform .35s var(--ease); max-width: 340px; }
.toast.show { transform: none; }
.toast a { color: var(--amber); font-weight: 700; }

/* Prototype review ribbon */
.proto-flag { position: fixed; left: 12px; bottom: 12px; z-index: 55; font-family: var(--mono); font-size: .7rem; background: rgba(14,16,19,.85); color: var(--amber); border: 1px solid var(--line-dark); padding: 6px 10px; border-radius: 999px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; }
  .hero-visual { max-width: 420px; margin: 0 auto; width: 100%; }
  .hero-badge { position: relative; left: auto; bottom: auto; margin-top: -28px; margin-left: 12px; margin-right: 12px; }
  .powercut, .pdp, .review-panel, .cart-layout, .cta-band, .article-layout { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .product-card { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
  .buybox, .summary, .toc { position: static; }
  .sticky-buy { display: flex; }
  .toc { display: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .grid-2, .grid-3, .grid-4, .form-row { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hero-facts strong { font-size: 1.25rem; }
  .hero-facts span { font-size: .64rem; }
  .hero-ctas .btn { flex: 1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item img { width: 80px; height: 80px; }
  .cart-item .line-total { grid-column: 2; }
  .announce .wrap { font-size: .82rem; gap: 6px; }
  .announce .hide-sm { display: none; }
  .demo-hud { flex-direction: column; align-items: stretch; }
  .proto-flag { display: none; }
  .app-tile { min-height: 240px; }
}

/* Placeholder token (content EFS must confirm before launch) */
.ph { background: rgba(245,197,24,.18); border-bottom: 1px dashed var(--amber-deep); padding: 0 3px; border-radius: 3px; white-space: nowrap; }
.dark .ph, .site-header .ph, .site-footer .ph { background: rgba(245,197,24,.12); }
.link-arrow svg, .assure a svg, .download svg { flex: none; }
.link-arrow svg { width: 18px; height: 18px; }
.coming-soon .link-arrow, .card .link-arrow { margin-top: 8px; }
@media (max-width: 960px) { .lp-shot { display: none; } }
