/* R11.si: GetLayers "Showcase" (dark) composition over the Studio Car scene.
   Measurements are the Showcase file's pixels at 1920x1080, restated per breakpoint.
   The lower row is rearranged for the domain sale: statement, extension card, offer card. */

@font-face { font-family: "General Sans"; src: url("/assets/fonts/general-sans-400.woff2?v=3ec2be771c") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/assets/fonts/general-sans-500.woff2?v=c30377df1d") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/assets/fonts/general-sans-600.woff2?v=94a2a0e1ef") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* ══ Reset ══ */
*, *::before, *::after { box-sizing: border-box; border: 0 solid; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
p, h1, h2, h3, h4, h5, h6, figure, blockquote, dl, dd, pre, hr { margin: 0; }
ul, ol, menu { margin: 0; padding: 0; list-style: none; }
img, svg, video, canvas { display: block; max-width: 100%; }
button, input, select, textarea { margin: 0; padding: 0; font: inherit; color: inherit; background: transparent; }
a { color: inherit; }

/* ══ Tokens ══ */
:root {
  --font-general: "General Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --sc-page: #0c0c0c;
  --sc-ink: #f2f2f2;
  --sc-ink-2: rgba(242, 242, 242, 0.62);
  --sc-ink-3: rgba(242, 242, 242, 0.42);
  --sc-surface: #171717;
  --sc-chip: #242424;
  --sc-line: rgba(255, 255, 255, 0.1);
  --sc-live: #3ddc84;

  --sc-pad: 30px;
  --sc-gap: 30px;
  --sc-radius: 32px;

  --sc-text: 24px;
  --sc-small: 20px;
  --sc-stat: 64px;
  --sc-h1: 64px;
  --sc-wm: 256px;

  --sc-pill-px: 40px;
  --sc-pill-py: 16px;
  --sc-pill-r: 47px;
  --sc-navpill-w: 160px;
  --sc-navpill-gap: 4px;

  --sc-btn-py: 26px;
  --sc-btn-r: 81px;
  --sc-btn-gap: 16px;

  --sc-lead-w: 780px;
  --sc-card-h: 267px;
  --sc-card-pad: 32px;
  --sc-card-gap: 20px;
  --sc-card1-w: 330px;
  --sc-card2-w: 640px;
  --sc-stat-gap: 12px;
  --sc-chip-px: 20px;
  --sc-chip-py: 11px;

  --sc-plate-min: 180px;

  /* configurator, inside the plate */
  --cfg-w: 384px;
  --cfg-inset: 16px;
  --cfg-chip-h: 62px;
  --cfg-pad: 26px;
  --cfg-title: 25px;
  --cfg-label: 15px;
  --cfg-small: 12.5px;
}

html { background: var(--sc-page); }
body {
  margin: 0;
  height: 100svh;
  overflow: hidden;
  background: var(--sc-page);
  font-family: var(--font-general);
  color: var(--sc-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.lk-stage { position: relative; width: 100%; height: 100svh; overflow: hidden; }

html.lk-js [data-rise] { opacity: 0; }

/* ══ Showcase composition ══ */
.sc {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sc-gap);
  padding: var(--sc-pad);
  font-size: var(--sc-text);
  line-height: 1;
}

/* ── Nav ── */
.sc-nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; flex: none; }
.sc-navlinks { display: flex; align-items: center; gap: var(--sc-navpill-gap); }
.sc-brand { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-weight: 500; letter-spacing: -0.01em; text-decoration: none; }

.sc-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--sc-pill-py) var(--sc-pill-px);
  border-radius: var(--sc-pill-r);
  white-space: nowrap;
}
.sc-navlinks .sc-pill { width: var(--sc-navpill-w); padding-left: 0; padding-right: 0; background: var(--sc-surface); color: var(--sc-ink-2); }
.sc-pill-dark { background: var(--sc-ink); color: var(--sc-page); text-decoration: none; font-weight: 500; transition: background-color .15s ease, transform .15s ease; }
.sc-pill-dark:hover { background: #ffffff; }
.sc-pill-dark:hover .sc-arrow { transform: translateX(3px); }
.sc-arrow { flex: none; width: 0.834em; height: 0.614em; transition: transform .2s cubic-bezier(.2, 0, 0, 1); }

/* ── The plate: the window the car lives in ── */
.sc-plate {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: var(--sc-plate-min);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: calc(var(--cfg-w) + var(--cfg-inset) * 2);
  border-radius: var(--sc-radius);
  overflow: hidden;
  isolation: isolate;
  /* the empty studio sweep, painted until the first WebGL frame lands */
  background: linear-gradient(0deg, #000 0%, #404040 42%, #000 100%);
}
.sc-plate::after { /* hairline rim so the window reads as glass-cut, not a hole */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.sc-scene {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; opacity: 0; transition: opacity 1.1s ease;
  cursor: grab; touch-action: none; outline: none;
}
.sc-scene:active { cursor: grabbing; }
.sc-plate.is-ready .sc-scene { opacity: 1; }
.sc-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; display: none; }
.sc-plate.no-webgl .sc-poster { display: block; }
.sc-plate.no-webgl .sc-scene, .sc-plate.no-webgl .cfg { display: none; }
.sc-plate.no-webgl { padding-right: 0; }

/* ── The wordmark: decorative, over the car ── */
.sc-wordmark {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  gap: calc(var(--sc-wm) * 0.72);
  font-size: var(--sc-wm);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.sc-wordmark span {
  display: block; text-align: center;
  background-image: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* All three fade downward: a 1 is read by its flag, so the tops have to stay lit. */

/* ── Configurator (the scene's own UI, docked inside the plate) ── */
.cfg {
  position: absolute; z-index: 2;
  top: var(--cfg-inset); right: var(--cfg-inset); bottom: var(--cfg-inset);
  width: var(--cfg-w);
  display: flex; flex-direction: column;
  border-radius: calc(var(--sc-radius) - var(--cfg-inset) + 6px);
  overflow: hidden;
  background: rgba(16, 17, 21, 0.55);
  -webkit-backdrop-filter: blur(30px) saturate(1.5);
  backdrop-filter: blur(30px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-size: var(--cfg-label);
  line-height: 1.2;
  opacity: 0; transform: translateX(16px);
  transition: opacity .7s ease, transform .7s ease;
}
.cfg.-ready { opacity: 1; transform: none; }
.cfg-head { padding: calc(var(--cfg-pad) - 2px) var(--cfg-pad) calc(var(--cfg-pad) - 6px); border-bottom: 1px solid var(--sc-line); }
.cfg-eyebrow { font-size: 12px; font-weight: 500; color: var(--sc-ink-2); letter-spacing: 0.02em; }
.cfg-title { margin-top: 7px; font-size: var(--cfg-title); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; }
.cfg-scroll { flex: 1 1 auto; overflow-y: auto; padding: 4px var(--cfg-pad) 22px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.14) transparent; }
.cfg-scroll::-webkit-scrollbar { width: 8px; }
.cfg-scroll::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); border-radius: 6px; border: 2px solid transparent; background-clip: padding-box; }
.cfg-section { padding: 22px 0; border-bottom: 1px solid var(--sc-line); }
.cfg-section:last-child { border-bottom: none; }
.cfg-shead { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 13px; }
.cfg-shead .lbl { font-size: var(--cfg-label); font-weight: 600; letter-spacing: -0.01em; }
.cfg-shead .cnt { font-size: 12px; font-weight: 500; color: var(--sc-ink-3); }
.cfg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.cfg-tile { position: relative; cursor: pointer; background: transparent; border: none; padding: 0; display: flex; flex-direction: column; gap: 7px; text-align: left; }
.cfg-chip {
  position: relative; height: var(--cfg-chip-h); border-radius: 13px; overflow: hidden;
  background: #0e1015 center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform .16s ease, box-shadow .16s ease;
}
.cfg-tile:hover .cfg-chip { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 8px 20px rgba(0, 0, 0, 0.45); }
.cfg-tile:focus-visible { outline: none; }
.cfg-tile:focus-visible .cfg-chip { box-shadow: inset 0 0 0 1.5px var(--sc-ink), 0 0 0 3px rgba(255, 255, 255, 0.25); }
.cfg-name { font-size: var(--cfg-small); font-weight: 500; color: var(--sc-ink-2); transition: color .15s; padding-left: 1px; }
.cfg-tile.-on .cfg-chip { box-shadow: inset 0 0 0 1.5px var(--sc-ink), 0 0 0 3px rgba(255, 255, 255, 0.16), 0 8px 22px rgba(0, 0, 0, 0.4); }
.cfg-tile.-on .cfg-name { color: var(--sc-ink); font-weight: 600; }
.cfg-check {
  position: absolute; top: 7px; right: 7px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--sc-ink); color: var(--sc-page); display: none; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); z-index: 2;
}
.cfg-check svg { width: 11px; height: 11px; }
.cfg-tile.-on .cfg-check { display: flex; }
.cfg-foot { border-top: 1px solid var(--sc-line); padding: 15px var(--cfg-pad) 16px; background: rgba(255, 255, 255, 0.03); }
.sum { display: flex; gap: 10px; }
.sum-item { flex: 1; min-width: 0; }
.sum-k { font-size: 12px; font-weight: 500; color: var(--sc-ink-3); }
.sum-v { margin-top: 3px; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ── Lower row: statement · extension · offer ── */
.sc-bottom { position: relative; z-index: 2; display: flex; align-items: stretch; gap: var(--sc-card-gap); flex: none; height: var(--sc-card-h); }

.sc-lead { display: flex; flex: 1 1 auto; flex-direction: column; justify-content: space-between; gap: 20px; min-width: 0; padding: 2px 0 2px 2px; }
.sc-status {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 12px;
  padding: var(--sc-chip-py) var(--sc-chip-px);
  border-radius: 999px;
  background: var(--sc-surface);
  box-shadow: inset 0 0 0 1px var(--sc-line);
  font-size: var(--sc-small); font-weight: 500; line-height: 1;
}
.sc-dot { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sc-live); }
.sc-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--sc-live); animation: sc-ping 2.4s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes sc-ping { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(2.8); opacity: 0; } }

.sc-h1 { font-size: var(--sc-h1); font-weight: 500; line-height: 1.04; letter-spacing: -0.025em; }
.sc-para { max-width: var(--sc-lead-w); margin-top: 14px; line-height: 1.3; color: var(--sc-ink-2); text-wrap: pretty; }

.sc-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: var(--sc-card-pad);
  border-radius: var(--sc-radius);
  background: var(--sc-surface);
}
.sc-card-stat { flex: none; width: var(--sc-card1-w); }
.sc-card-offer { flex: none; width: var(--sc-card2-w); }
.sc-cardtitle { font-weight: 500; line-height: 1.2; }
.sc-cardnote { margin-top: 10px; line-height: 1.3; color: var(--sc-ink-2); text-wrap: pretty; }
.sc-statblock { display: flex; flex-direction: column; gap: var(--sc-stat-gap); }
.sc-figure { font-size: var(--sc-stat); font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; }
.sc-statfoot { line-height: 1.2; color: var(--sc-ink-2); }

.sc-cta { display: flex; gap: var(--sc-btn-gap); }
.sc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  flex: 1 1 0; min-width: 0;
  padding: calc(var(--sc-btn-py) - 1px) 12px;
  border: 1px solid transparent;
  border-radius: var(--sc-btn-r);
  white-space: nowrap;
  text-decoration: none;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.sc-btn svg { flex: none; }
.sc-btn-solid { background: var(--sc-ink); color: var(--sc-page); }
.sc-btn-solid:hover { background: #ffffff; }
.sc-btn-ghost { border-color: rgba(242, 242, 242, 0.7); }
.sc-btn-ghost:hover { background: var(--sc-ink); color: var(--sc-page); border-color: var(--sc-ink); }
.sc-btn:hover .sc-arrow { transform: translateX(3px); }
.sc-wa { width: 1.05em; height: 1.05em; }
a:focus-visible, .sc-btn:focus-visible { outline: 2px solid var(--sc-ink); outline-offset: 3px; }

/* ══ RESPONSIVE ══ */
@media (max-width: 1680px) {
  :root {
    --sc-pad: 26px; --sc-gap: 26px; --sc-radius: 28px;
    --sc-text: 21px; --sc-small: 18px; --sc-stat: 56px; --sc-h1: 56px; --sc-wm: 224px;
    --sc-pill-px: 35px; --sc-pill-py: 14px; --sc-pill-r: 41px; --sc-navpill-w: 140px;
    --sc-btn-py: 23px; --sc-btn-r: 71px; --sc-btn-gap: 14px;
    --sc-lead-w: 630px; --sc-card-h: 234px; --sc-card-pad: 28px; --sc-card-gap: 18px;
    --sc-card1-w: 289px; --sc-card2-w: 560px; --sc-stat-gap: 10px;
    --sc-chip-px: 18px; --sc-chip-py: 10px;
    --cfg-w: 352px; --cfg-inset: 14px; --cfg-chip-h: 56px; --cfg-pad: 24px; --cfg-title: 23px;
  }
}
@media (max-width: 1440px) {
  :root {
    --sc-pad: 22px; --sc-gap: 22px; --sc-radius: 24px;
    --sc-text: 18px; --sc-small: 15px; --sc-stat: 48px; --sc-h1: 48px; --sc-wm: 192px;
    --sc-pill-px: 30px; --sc-pill-py: 12px; --sc-pill-r: 35px; --sc-navpill-w: 120px;
    --sc-btn-py: 20px; --sc-btn-r: 61px; --sc-btn-gap: 12px;
    --sc-lead-w: 540px; --sc-card-h: 200px; --sc-card-pad: 24px; --sc-card-gap: 15px;
    --sc-card1-w: 248px; --sc-card2-w: 480px; --sc-stat-gap: 9px;
    --sc-chip-px: 15px; --sc-chip-py: 8px;
    --cfg-w: 320px; --cfg-inset: 12px; --cfg-chip-h: 50px; --cfg-pad: 20px; --cfg-title: 21px; --cfg-label: 14px; --cfg-small: 12px;
  }
}
@media (max-width: 1200px) {
  :root {
    --sc-pad: 19px; --sc-gap: 19px; --sc-radius: 20px;
    --sc-text: 15px; --sc-small: 13px; --sc-stat: 40px; --sc-h1: 40px; --sc-wm: 160px;
    --sc-pill-px: 25px; --sc-pill-py: 10px; --sc-pill-r: 29px; --sc-navpill-w: 100px;
    --sc-btn-py: 16px; --sc-btn-r: 51px; --sc-btn-gap: 10px;
    --sc-lead-w: 450px; --sc-card-h: 167px; --sc-card-pad: 20px; --sc-card-gap: 13px;
    --sc-card1-w: 206px; --sc-card2-w: 400px; --sc-stat-gap: 8px;
    --sc-chip-px: 13px; --sc-chip-py: 7px;
    --cfg-w: 288px; --cfg-inset: 10px; --cfg-chip-h: 44px; --cfg-pad: 18px; --cfg-title: 19px; --cfg-label: 13px; --cfg-small: 11.5px;
  }
}

/* ── 1024px: the composition restacks, the page scrolls, the configurator stays home ── */
@media (max-width: 1024px) {
  :root {
    --sc-pad: 20px; --sc-gap: 20px; --sc-radius: 20px;
    --sc-text: 16px; --sc-small: 14px; --sc-stat: 44px; --sc-h1: 44px; --sc-wm: 150px;
    --sc-pill-px: 22px; --sc-pill-py: 10px; --sc-pill-r: 28px;
    --sc-btn-py: 17px; --sc-btn-r: 60px; --sc-btn-gap: 12px;
    --sc-card-pad: 24px; --sc-card-gap: 12px; --sc-stat-gap: 8px;
    --sc-chip-px: 14px; --sc-chip-py: 8px;
    --sc-plate-min: 420px;
  }
  body { height: auto; min-height: 100svh; overflow: visible; }
  .lk-stage { height: auto; min-height: 100svh; }
  .sc { position: relative; inset: auto; min-height: 100svh; }
  .sc-navlinks .sc-pill { width: auto; padding-left: var(--sc-pill-px); padding-right: var(--sc-pill-px); }
  .sc-plate { padding-right: 0; }
  .cfg { display: none; }
  .sc-scene { cursor: default; touch-action: pan-y; }
  .sc-bottom { flex-wrap: wrap; height: auto; }
  .sc-lead { flex: 1 0 100%; gap: 18px; padding-bottom: 6px; }
  .sc-para { max-width: 640px; }
  .sc-card-stat { flex: 1 1 220px; width: auto; }
  .sc-card-offer { flex: 2 1 360px; width: auto; }
}

@media (max-width: 768px) {
  :root {
    --sc-pad: 16px; --sc-gap: 16px; --sc-radius: 18px;
    --sc-text: 15px; --sc-small: 13px; --sc-stat: 40px; --sc-h1: 38px; --sc-wm: 112px;
    --sc-pill-px: 18px; --sc-pill-py: 10px; --sc-pill-r: 24px;
    --sc-btn-py: 16px; --sc-btn-gap: 10px;
    --sc-card-pad: 20px; --sc-card-gap: 12px;
    --sc-plate-min: 44svh;
  }
  .sc-navlinks { display: none; }
  .sc-brand { position: static; transform: none; font-size: 18px; }
  .sc-card-stat, .sc-card-offer { flex: 1 1 100%; }
  .sc-card { gap: 18px; }
  .sc-card-stat { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .sc-card-stat .sc-statblock { align-items: flex-end; text-align: right; }
}

@media (max-width: 480px) {
  :root {
    --sc-pad: 14px; --sc-gap: 14px; --sc-radius: 16px;
    --sc-text: 15px; --sc-stat: 36px; --sc-h1: 34px; --sc-wm: 84px;
    --sc-pill-px: 16px; --sc-pill-py: 9px;
    --sc-btn-py: 15px;
    --sc-card-pad: 18px;
    --sc-plate-min: 42svh;
  }
}
@media (max-width: 380px) {
  :root { --sc-text: 14px; --sc-h1: 30px; --sc-stat: 32px; --sc-wm: 70px; }
  .sc-btn { gap: 8px; }
}

/* ── Shallow desktop windows: the plate gives, the wordmark follows ── */
@media (min-width: 1025px) and (max-height: 820px) { :root { --sc-wm: 200px; } }
@media (min-width: 1025px) and (max-height: 820px) and (max-width: 1440px) { :root { --sc-wm: 176px; } }
@media (min-width: 1025px) and (max-height: 820px) and (max-width: 1200px) { :root { --sc-wm: 150px; } }
@media (min-width: 1025px) and (max-height: 680px) { :root { --sc-wm: 156px; --cfg-chip-h: 40px; } }
@media (min-width: 1025px) and (max-height: 680px) and (max-width: 1200px) { :root { --sc-wm: 128px; } }

@media (prefers-reduced-motion: reduce) {
  html.lk-js [data-rise] { opacity: 1; }
  .sc-dot::after { animation: none; }
  .cfg, .sc-scene { transition: none; }
}
