:root {
  --ink: #0b1820;
  --ink-soft: #263740;
  --night: #0b171f;
  --night-2: #12242d;
  --paper: #f5f1e9;
  --paper-2: #fffdf8;
  --line: #d9d1c4;
  --line-dark: rgba(232, 239, 239, .19);
  --amber: #f6b84e;
  --amber-soft: #ffedbd;
  --clay: #aa513e;
  --green: #567d64;
  --blue: #21718a;
  --muted: #68757c;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(18, 27, 30, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(28, 44, 48, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 44, 48, .045) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

svg {
  width: 1.4em;
  height: 1.4em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.skip-link {
  position: fixed;
  z-index: 50;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 12px clamp(20px, 4vw, 64px);
  color: white;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(10, 23, 31, .94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark i {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.brand-mark::before {
  inset: 7px;
  background: var(--amber);
}

.brand-mark::after {
  inset: -1px 17px;
  background: white;
}

.brand-mark i {
  inset: 17px -1px;
  background: white;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: .92rem;
  letter-spacing: .01em;
}

.brand small {
  color: #aab8bd;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.variant-nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

.variant-nav a {
  display: flex;
  gap: 7px;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  color: #cbd4d7;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}

.variant-nav a[aria-current="page"] {
  color: var(--night);
  border-color: var(--amber);
  background: var(--amber);
}

body[data-variant="c"] .variant-nav a:not([data-variant-link="c"]) {
  display: none;
}

.prototype-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  min-height: 440px;
  color: white;
  background: var(--night);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 7vw, 108px) clamp(28px, 7vw, 110px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--clay);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.prototype-hero .eyebrow {
  color: var(--amber);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
strong,
button {
  letter-spacing: -.025em;
}

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 5.5vw, 6.6rem);
  line-height: .94;
}

h1 em {
  color: var(--amber);
  font-family: Georgia, serif;
  font-weight: 500;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: #bdc7cb;
  font-size: clamp(1.05rem, 1.4vw, 1.34rem);
}

.hero-light {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}

.hero-light::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, var(--night), transparent 28%, rgba(8, 18, 24, .18));
}

.hero-light img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.66) saturate(.84);
}

.hero-glow {
  position: absolute;
  z-index: 1;
  inset: -10%;
  background: var(--light-temperature);
  mix-blend-mode: screen;
  pointer-events: none;
  transition: background .35s ease;
}

.hero-light p {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 26px;
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  background: rgba(8, 19, 25, .72);
  font-size: .78rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.hero-light p span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 16px var(--amber);
}

.prototype-hero-c .hero-light {
  isolation: isolate;
}

.prototype-hero-c .hero-light > img {
  position: absolute;
  z-index: 0;
  inset: 0;
}

.prototype-hero-c .hero-light::after {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(8, 18, 24, .14), transparent 38%, rgba(8, 18, 24, .82)),
    linear-gradient(90deg, var(--night), transparent 24%);
}

.prototype-hero-c .hero-motion-layer {
  opacity: 0;
  pointer-events: none;
}

.prototype-hero-c .hero-motion-mid {
  z-index: 1;
  animation: heroWarmToNeutral 8s cubic-bezier(.42, 0, .2, 1) infinite alternate;
}

.prototype-hero-c .hero-motion-cool {
  z-index: 1;
  animation: heroNeutralToCool 8s cubic-bezier(.42, 0, .2, 1) infinite alternate;
}

.hero-light-active.is-paused .hero-motion-layer {
  animation-play-state: paused;
}

@keyframes heroWarmToNeutral {
  0% { opacity: 0; }
  48% { opacity: 1; }
  100% { opacity: .18; }
}

@keyframes heroNeutralToCool {
  0%, 38% { opacity: 0; }
  100% { opacity: 1; }
}

.hero-motion-status {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 22px;
  display: grid;
  grid-template-columns: auto auto 28px;
  gap: 8px;
  align-items: center;
  padding: 8px 9px 8px 11px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 13px;
  color: white;
  background: rgba(8, 19, 25, .76);
  backdrop-filter: blur(14px);
}

.hero-motion-status > span {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: .59rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero-motion-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 14px var(--amber);
}

.hero-motion-status strong {
  color: #d7e0e2;
  font-size: .66rem;
}

.hero-motion-status button {
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  color: white;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  font-size: .68rem;
  font-weight: 800;
  cursor: pointer;
}

.hero-preset-overlay {
  position: absolute;
  z-index: 4;
  left: 22px;
  bottom: 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  width: min(430px, calc(100% - 44px));
}

.hero-preset-overlay > button {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px 12px;
  text-align: left;
  color: white;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 14px;
  background: rgba(8, 19, 25, .76);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.hero-preset-overlay > button:hover,
.hero-preset-overlay > button:focus-visible,
.hero-preset-overlay > button.is-active {
  color: var(--night);
  border-color: var(--amber);
  background: var(--amber);
}

.hero-preset-overlay > button:hover,
.hero-preset-overlay > button:focus-visible {
  transform: translateY(-1px);
}

.hero-preset-overlay svg {
  width: 22px;
  height: 22px;
}

.hero-preset-overlay strong,
.hero-preset-overlay small {
  display: block;
}

.hero-preset-overlay strong {
  font-size: .82rem;
}

.hero-preset-overlay small {
  margin-top: 2px;
  color: currentColor;
  font-size: .62rem;
  opacity: .72;
}

.preset-stage,
.finder-shell,
.compact-finder,
.socket-help-section {
  width: min(1500px, calc(100% - 48px));
  margin-inline: auto;
}

.preset-stage {
  padding: 66px 0 42px;
}

.section-title,
.form-heading {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}

.section-title > span,
.form-heading > span {
  display: grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--clay);
  font-size: .78rem;
  font-weight: 900;
}

.section-title h2,
.form-heading h2,
.compact-form-title h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 3.2rem);
  line-height: 1.05;
}

.section-title .eyebrow,
.form-heading .eyebrow,
.compact-form-title .eyebrow {
  margin-bottom: 4px;
}

.preset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.preset {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 104px;
  padding: 20px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 248, .82);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.preset:hover,
.preset:focus-visible {
  border-color: var(--amber);
  box-shadow: 0 12px 28px rgba(23, 34, 38, .09);
  transform: translateY(-2px);
}

.preset.is-active {
  border-color: #dba23d;
  background: var(--amber-soft);
}

.preset-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 15px;
  color: var(--night);
  background: var(--amber);
}

.preset-icon svg {
  width: 27px;
  height: 27px;
}

.preset > span:nth-child(2) strong,
.preset > span:nth-child(2) small {
  display: block;
}

.preset strong {
  font-size: 1.04rem;
}

.preset small {
  margin-top: 3px;
  color: var(--muted);
  font-size: .78rem;
}

.preset > svg {
  color: #8d969a;
}

.finder-shell,
.compact-finder {
  display: grid;
  grid-template-columns: minmax(390px, .82fr) minmax(620px, 1.18fr);
  padding: 42px 0 88px;
  scroll-margin-top: 88px;
}

.finder-form,
.compact-form {
  padding: clamp(28px, 4vw, 54px);
  color: white;
  border-radius: var(--radius) 0 0 var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    var(--night);
  background-size: 32px 32px;
}

.finder-form .eyebrow,
.compact-form .eyebrow {
  color: var(--amber);
}

.field-grid {
  display: grid;
  gap: 16px;
}

.fields-a {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fields-a .field:first-child,
.fields-a .field:nth-child(2),
.fields-a .field-socket {
  grid-column: span 1;
}

.field {
  display: grid;
  gap: 7px;
}

.field > span:first-child {
  color: #bfc9cd;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.field > span:first-child b {
  margin-left: 5px;
  color: var(--amber);
  font-size: .6rem;
  letter-spacing: .04em;
}

.field input,
.field select {
  width: 100%;
  height: 58px;
  padding: 0 17px;
  color: white;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 13px;
  outline: none;
  background: rgba(255, 255, 255, .08);
}

.field select {
  appearance: auto;
}

.field input:focus,
.field select:focus,
.field.attention select {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(246, 184, 78, .18);
}

.input-unit {
  position: relative;
  display: block;
}

.input-unit input {
  padding-right: 58px;
}

.input-unit > b {
  position: absolute;
  top: 50%;
  right: 16px;
  color: #aab5ba;
  font-size: .8rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.number-stepper {
  position: relative;
  display: block;
}

.number-stepper input {
  padding-right: 84px;
  appearance: textfield;
}

.number-stepper input::-webkit-inner-spin-button,
.number-stepper input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.number-stepper > b {
  position: absolute;
  top: 50%;
  right: 50px;
  color: #8d999e;
  font-size: .76rem;
  transform: translateY(-50%);
  pointer-events: none;
}

.number-step-actions {
  position: absolute;
  top: 2px;
  right: 2px;
  bottom: 2px;
  display: grid;
  width: 40px;
  overflow: hidden;
  border: 1px solid rgba(13, 29, 37, .14);
  border-radius: 9px;
  background: rgba(13, 29, 37, .06);
}

.number-step-actions button {
  display: grid;
  min-width: 0;
  min-height: 26px;
  padding: 0;
  place-items: center;
  color: var(--night);
  border: 0;
  background: transparent;
  font-size: .58rem;
  line-height: 1;
  cursor: pointer;
}

.number-step-actions button + button {
  border-top: 1px solid rgba(13, 29, 37, .13);
}

.number-step-actions button:hover,
.number-step-actions button:focus-visible {
  color: var(--night);
  background: var(--amber);
  outline: none;
}

.field-hint {
  display: block;
  margin-top: 1px;
  color: #9eacb1;
  font-size: .66rem;
  line-height: 1.35;
}

.field-area .number-stepper input {
  color: var(--night);
  border-color: rgba(246, 184, 78, .65);
  background: #fffaf0;
  caret-color: var(--night);
  box-shadow: 0 0 0 3px rgba(246, 184, 78, .07);
}

.field-points .number-stepper input {
  color: var(--night);
  background: #fff;
  caret-color: var(--night);
  -webkit-text-fill-color: var(--night);
}

.field-ceiling .number-stepper input {
  color: var(--night);
  background: #fff;
  caret-color: var(--night);
  -webkit-text-fill-color: var(--night);
}

.toggle-field {
  display: flex;
  grid-column: 1 / -1;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
}

.toggle-field input {
  position: absolute;
  opacity: 0;
}

.toggle-field > span {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #43525a;
  transition: background .2s ease;
}

.toggle-field > span::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  content: "";
  border-radius: 50%;
  background: white;
  transition: transform .2s ease;
}

.toggle-field input:checked + span {
  background: var(--amber);
}

.toggle-field input:checked + span::after {
  transform: translateX(18px);
}

.toggle-field b {
  color: #d6dee0;
  font-size: .82rem;
}

.advanced {
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 15px;
}

.advanced summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 68px;
  padding: 12px 16px;
  list-style: none;
  cursor: pointer;
}

.advanced summary::-webkit-details-marker {
  display: none;
}

.advanced summary > svg {
  color: var(--amber);
}

.advanced summary strong,
.advanced summary small {
  display: block;
}

.advanced summary strong {
  font-size: .9rem;
}

.advanced summary small {
  color: #96a4aa;
  font-size: .72rem;
}

.advanced summary > b {
  font-size: 1.5rem;
  transition: transform .2s ease;
}

.advanced[open] summary > b {
  transform: rotate(45deg);
}

.advanced-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 0 16px 16px;
}

.result-panel {
  padding: clamp(28px, 4vw, 54px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255, 253, 248, .93);
  box-shadow: var(--shadow);
}

.result-panel.result-just-updated {
  animation: result-update-pulse .75s ease-out;
}

.result-summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.result-summary > span {
  display: grid;
}

.result-summary > span:last-child {
  text-align: right;
}

.result-summary strong {
  font-size: 1rem;
}

.result-summary small {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.result-empty,
.result-loading {
  display: grid;
  justify-items: start;
  min-height: 490px;
  align-content: center;
  max-width: 680px;
}

.result-empty-icon {
  display: grid;
  width: 66px;
  height: 66px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 20px;
  color: var(--night);
  background: var(--amber);
  font-size: 1.5rem;
  font-weight: 900;
}

.result-empty-icon svg {
  width: 31px;
  height: 31px;
}

.result-empty h2,
.result-loading h2 {
  max-width: 650px;
  margin-bottom: 12px;
  font-size: clamp(2rem, 3.3vw, 3.7rem);
  line-height: 1;
}

.result-empty > p:not(.eyebrow),
.result-loading p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.02rem;
}

.rough-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(100%, 620px);
  margin: 18px 0 24px;
  border-block: 1px solid var(--line);
}

.rough-result > span {
  padding: 18px 18px 18px 0;
}

.rough-result > span + span {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.rough-result strong,
.rough-result small {
  display: block;
}

.rough-result strong {
  font-size: clamp(1.4rem, 2.4vw, 2.5rem);
}

.rough-result small {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: var(--night);
  border-color: var(--amber);
  background: var(--amber);
}

.button-secondary {
  color: var(--ink);
  background: transparent;
}

.text-button {
  margin-top: 12px;
  padding: 6px 0;
  color: var(--blue);
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font-size: .82rem;
  font-weight: 800;
  cursor: pointer;
}

.product-kicker {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.fit-badge {
  padding: 8px 11px;
  border-radius: 999px;
}

.fit-suitable {
  color: #365e46;
  background: #dce9df;
}

.fit-limited,
.fit-too_bright {
  color: #74561a;
  background: #f9e9b8;
}

.fit-insufficient {
  color: #813d32;
  background: #f3d9d2;
}

.product-primary {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 26px;
  align-items: center;
  margin: 22px 0;
}

.product-visual {
  position: relative;
  display: grid;
  height: 220px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
}

.product-visual img {
  position: absolute;
  inset: 6%;
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.product-visual > span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  color: white;
  background: var(--night);
  font-size: .68rem;
  font-weight: 900;
}

.product-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(1.45rem, 2.35vw, 2.5rem);
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.product-copy {
  min-width: 0;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
  list-style: none;
}

.spec-list li {
  padding: 10px 12px;
  background: var(--paper-2);
}

.spec-list strong,
.spec-list span {
  display: block;
}

.spec-list strong {
  font-size: .93rem;
}

.spec-list span {
  color: var(--muted);
  font-size: .66rem;
}

.fit-explanation {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: start;
  padding: 16px;
  border-left: 4px solid var(--green);
  border-radius: 0 14px 14px 0;
  background: #e8efe9;
}

.fit-explanation > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .7);
  font-weight: 900;
}

.fit-explanation p {
  margin: 2px 0 0;
  color: #5d6a68;
  font-size: .82rem;
}

.fit-box-limited,
.fit-box-too_bright {
  border-color: #be8e27;
  background: #fbefd0;
}

.fit-box-insufficient {
  border-color: var(--clay);
  background: #f6dfd9;
}

.product-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.data-line {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .7rem;
}

.product-alternatives {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.alternative-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 14px;
}

.alternative-heading h3 {
  margin: 0;
  font-size: 1.25rem;
}

.alternative-heading small {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
}

.alternative-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.alternative-product-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, .72);
}

.alternative-product-card .product-visual {
  height: 98px;
  border-radius: 12px;
}

.alternative-product-card .product-visual > span {
  right: 6px;
  bottom: 6px;
  padding: 3px 6px;
  font-size: .56rem;
}

.alternative-product-card h4 {
  margin: 5px 0 4px;
  font-size: .9rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.alternative-product-card p {
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
}

.alternative-product-card a {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  margin-top: 7px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none;
}

.alternative-product-card a svg {
  width: 14px;
  height: 14px;
}

.alternative-score {
  display: inline-flex;
  padding: 4px 7px;
  border-radius: 999px;
  color: #365e46;
  background: #dce9df;
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.alternative-score.fit-limited,
.alternative-score.fit-too_bright {
  color: #74561a;
  background: #f9e9b8;
}

.alternative-score.fit-insufficient {
  color: #813d32;
  background: #f3d9d2;
}

.calculation {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.calculation summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  list-style: none;
  cursor: pointer;
}

.calculation summary::-webkit-details-marker {
  display: none;
}

.calculation summary span {
  font-weight: 900;
}

.calculation summary b {
  color: var(--blue);
  font-size: .76rem;
}

.calculation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.calculation-grid div {
  padding: 12px;
}

.calculation-grid div + div {
  border-left: 1px solid var(--line);
}

.calculation-grid small,
.calculation-grid strong {
  display: block;
}

.calculation-grid small {
  color: var(--muted);
  font-size: .64rem;
}

.calculation-grid strong {
  margin-top: 4px;
  font-size: .84rem;
}

.calculation > p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .78rem;
}

.layout-b {
  padding-top: 62px;
}

.socket-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.socket-card {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 82px;
  padding: 10px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
}

.socket-card:hover,
.socket-card:focus-visible,
.socket-card.is-active {
  border-color: var(--amber);
  background: rgba(246, 184, 78, .12);
}

.socket-card img,
.question-mark {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 10px;
  background: white;
}

.question-mark {
  display: grid;
  place-items: center;
  color: var(--night);
  background: var(--amber);
  font-size: 1.4rem;
  font-weight: 900;
}

.socket-card strong,
.socket-card small {
  display: block;
}

.socket-card small {
  color: #96a5aa;
  font-size: .68rem;
}

.socket-card > svg {
  color: var(--amber);
}

.compact-separator {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 26px 0 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .17);
}

.compact-separator span {
  color: var(--amber);
  font-size: .7rem;
  font-weight: 900;
}

.compact-separator strong {
  font-size: .88rem;
}

.fields-b {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.socket-help-section {
  padding: 10px 0 90px;
}

.socket-help-section > p {
  max-width: 720px;
  color: var(--muted);
}

.socket-help-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.socket-help-grid button {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-2);
  cursor: pointer;
}

.socket-help-grid img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 10px;
}

.socket-help-grid strong,
.socket-help-grid small {
  display: block;
}

.socket-help-grid small {
  color: var(--muted);
  font-size: .68rem;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero-chip-row button {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  color: #d8e0e2;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  font-size: .76rem;
  font-weight: 800;
  cursor: pointer;
}

.hero-chip-row button.is-active {
  color: var(--night);
  border-color: var(--amber);
  background: var(--amber);
}

.hero-chip-row svg {
  width: 18px;
  height: 18px;
}

.compact-finder {
  grid-template-columns: 1fr;
  width: min(1580px, calc(100% - 48px));
  margin-top: 56px;
}

.compact-form {
  padding: 28px 32px 24px;
  border-radius: var(--radius) var(--radius) 0 0;
}

.compact-form-title {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}

.compact-form-title > span {
  display: grid;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 15px;
  color: var(--night);
  background: var(--amber);
}

.compact-form-title h2 {
  color: white;
  font-size: 1.8rem;
}

.fields-c {
  grid-template-columns: 1.15fr 1fr 1.35fr .9fr .8fr auto;
  align-items: start;
}

.fields-c .toggle-field {
  grid-column: auto;
  min-height: 58px;
  margin-top: 23px;
}

.compact-form .advanced {
  max-width: none;
}

.compact-form .advanced-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.visual-socket-field {
  position: static;
}

.socket-select-trigger {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  height: 58px;
  padding: 7px 12px 7px 8px;
  text-align: left;
  color: white;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 13px;
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
}

.socket-select-trigger:hover,
.socket-select-trigger:focus-visible,
.visual-socket-field.attention .socket-select-trigger {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(246, 184, 78, .18);
}

.socket-select-trigger img,
.socket-trigger-placeholder {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  object-fit: cover;
  border-radius: 9px;
  color: var(--night);
  background: white;
}

.socket-trigger-placeholder {
  background: var(--amber);
}

.socket-trigger-placeholder svg {
  width: 21px;
  height: 21px;
}

.socket-select-trigger strong,
.socket-select-trigger small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.socket-select-trigger strong {
  font-size: .78rem;
}

.socket-select-trigger small {
  color: #9eacb1;
  font-size: .75rem;
}

.socket-select-trigger > b {
  color: var(--amber);
  font-size: 1.15rem;
}

.socket-select-backdrop {
  position: fixed;
  z-index: 70;
  inset: 0;
  border: 0;
  background: rgba(4, 12, 17, .72);
  backdrop-filter: blur(4px);
  cursor: default;
}

.socket-select-backdrop[hidden],
.socket-picker-dialog[hidden] {
  display: none;
}

.socket-picker-dialog {
  position: fixed;
  z-index: 71;
  top: 50%;
  left: 50%;
  width: min(780px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 14px;
  overflow: auto;
  color: white;
  border: 1px solid #52636a;
  border-radius: 20px;
  background: #14242c;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .5);
  transform: translate(-50%, -50%);
}

.socket-picker-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 2px 2px 13px;
}

.socket-picker-head strong,
.socket-picker-head small {
  display: block;
}

.socket-picker-head strong {
  font-size: 1rem;
}

.socket-picker-head small {
  margin-top: 2px;
  color: #a9b6ba;
  font-size: .7rem;
}

.socket-picker-head > button {
  display: grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  color: white;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.socket-select-menu {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.socket-select-menu > button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 60px;
  padding: 7px;
  text-align: left;
  color: white;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 11px;
  background: rgba(255, 255, 255, .05);
  cursor: pointer;
}

.socket-select-menu > button:hover,
.socket-select-menu > button:focus-visible,
.socket-select-menu > button[aria-selected="true"] {
  border-color: var(--amber);
  background: rgba(246, 184, 78, .13);
}

.socket-select-menu img,
.socket-select-menu .question-mark {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 9px;
  background: white;
}

.socket-select-menu strong,
.socket-select-menu small {
  display: block;
}

.socket-select-menu strong {
  font-size: .78rem;
}

.socket-select-menu small {
  color: #99a8ad;
  font-size: .62rem;
}

.socket-select-menu svg {
  color: var(--amber);
}

.socket-select-menu .socket-unknown-option {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 360px);
}

.compact-finder .result-panel {
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
}

.compact-finder .result-empty {
  min-height: 330px;
}

.compact-finder .product-primary {
  grid-template-columns: 220px minmax(0, 1fr);
}

.starter-result {
  padding-top: 28px;
}

.starter-result-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.starter-result-heading h2 {
  margin-bottom: 9px;
  font-size: clamp(1.8rem, 3vw, 3.3rem);
  line-height: 1;
}

.starter-result-heading > div > p:last-child {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.starter-open-badge {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  color: #76551d;
  background: var(--amber-soft);
  font-size: .72rem;
}

.starter-open-badge svg {
  width: 18px;
  height: 18px;
}

.starter-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.starter-product-card {
  display: flex;
  min-width: 0;
  padding: 15px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}

.starter-card-topline {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.starter-card-topline > span {
  padding: 6px 9px;
  border-radius: 999px;
  color: white;
  background: var(--night);
  font-size: .7rem;
  font-weight: 900;
}

.starter-card-topline small {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 800;
  text-align: right;
}

.starter-product-card .product-visual {
  height: 138px;
  border-radius: 14px;
}

.starter-card-copy {
  min-width: 0;
  padding: 13px 2px 10px;
}

.starter-card-copy h3 {
  margin-bottom: 7px;
  font-size: 1rem;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.starter-card-copy .eyebrow {
  margin-bottom: 5px;
}

.starter-card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
}

.starter-card-copy .starter-coverage {
  margin-top: 9px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.4;
}

.starter-card-actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.starter-card-actions .button {
  width: 100%;
  min-height: 44px;
}

.starter-card-actions > a {
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
}

.compatibility-note {
  margin: 16px 0 0;
  padding: 12px 14px;
  color: #67511f;
  border-left: 4px solid #be8e27;
  border-radius: 0 12px 12px 0;
  background: #fbefd0;
  font-size: .78rem;
  line-height: 1.45;
}

.finder-affiliate-disclosure {
  margin: 16px 0 0;
  font-size: .72rem;
}

.change-toast {
  position: fixed;
  z-index: 90;
  top: 94px;
  right: 24px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: min(360px, calc(100vw - 32px));
  padding: 10px 12px;
  color: white;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 15px;
  background: #183027;
  box-shadow: 0 18px 46px rgba(7, 18, 22, .28);
  pointer-events: none;
  animation: change-toast 2.6s ease both;
}

.change-toast > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: #315541;
  background: #dce9df;
}

.change-toast strong {
  font-size: .72rem;
  line-height: 1.3;
}

.site-footer {
  padding: 28px clamp(20px, 4vw, 64px);
  color: #aab7bb;
  background: var(--night);
  font-size: .72rem;
}

.site-footer p {
  max-width: 720px;
  margin: 0;
}

.fatal-state,
.loading-state {
  display: grid;
  min-height: 70vh;
  padding: 80px 24px;
  place-items: center;
  align-content: center;
  text-align: center;
}

.loading-bulb,
.result-loading > span {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border: 4px solid var(--line);
  border-top-color: var(--amber);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

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

@keyframes result-update-pulse {
  0% { box-shadow: 0 0 0 0 rgba(246, 184, 78, .7), var(--shadow); }
  55% { box-shadow: 0 0 0 8px rgba(246, 184, 78, .16), var(--shadow); }
  100% { box-shadow: 0 0 0 0 rgba(246, 184, 78, 0), var(--shadow); }
}

@keyframes change-toast {
  0% { opacity: 0; transform: translateY(-10px) scale(.98); }
  10%, 78% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-4px) scale(.99); }
}

@media (max-width: 1180px) {
  .prototype-hero {
    grid-template-columns: 1.1fr .9fr;
  }

  .preset-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .finder-shell {
    grid-template-columns: minmax(340px, .9fr) minmax(520px, 1.1fr);
  }

  .product-primary {
    grid-template-columns: 140px 1fr;
  }

  .fields-c {
    grid-template-columns: repeat(3, 1fr);
  }

  .fields-c .toggle-field {
    grid-column: span 1;
  }

  .compact-form .advanced-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .starter-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-preset-overlay {
    bottom: 76px;
    width: min(430px, calc(100% - 44px));
  }

  .socket-help-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .site-header {
    position: static;
  }

  .variant-nav a span {
    display: none;
  }

  .variant-nav a {
    min-width: 42px;
    justify-content: center;
    padding-inline: 10px;
  }

  .prototype-hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 58px 28px 44px;
  }

  .hero-light {
    min-height: 390px;
  }

  .hero-light::after {
    background: linear-gradient(180deg, var(--night), transparent 45%);
  }

  .finder-shell,
  .compact-finder {
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
  }

  .finder-form {
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .result-panel {
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .compact-finder {
    margin-top: 28px;
  }

  .starter-result-heading {
    flex-direction: column;
  }

  .starter-open-badge {
    align-self: flex-start;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .site-header {
    min-height: 68px;
    padding: 10px 14px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: .78rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4.4rem);
  }

  .prototype-hero {
    min-height: 0;
  }

  .hero-copy {
    padding: 48px 20px 38px;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: .98rem;
  }

  .hero-light {
    min-height: 360px;
  }

  .hero-light p {
    right: 14px;
    bottom: 14px;
  }

  .preset-stage,
  .socket-help-section {
    width: calc(100% - 28px);
  }

  .preset-stage {
    padding-top: 40px;
  }

  .preset-grid {
    grid-template-columns: 1fr;
  }

  .preset {
    min-height: 86px;
  }

  .section-title,
  .form-heading {
    align-items: flex-start;
  }

  .section-title h2,
  .form-heading h2 {
    font-size: 1.7rem;
  }

  .finder-shell {
    padding: 22px 0 54px;
  }

  .finder-form,
  .compact-form,
  .result-panel {
    padding: 24px 18px;
  }

  .fields-a,
  .fields-b,
  .fields-c {
    grid-template-columns: 1fr;
  }

  .fields-c .toggle-field {
    grid-column: 1;
  }

  .field input,
  .field select {
    height: 54px;
  }

  .advanced-grid {
    grid-template-columns: 1fr;
  }

  .compact-form .advanced-grid {
    grid-template-columns: 1fr;
  }

  .socket-picker-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    padding: 10px;
    border-radius: 16px;
  }

  .socket-picker-head {
    padding: 2px 2px 10px;
  }

  .socket-picker-head small {
    max-width: 240px;
  }

  .socket-select-menu {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .socket-select-menu > button {
    grid-template-columns: 36px minmax(0, 1fr);
    min-height: 52px;
    padding: 6px;
  }

  .socket-select-menu img,
  .socket-select-menu .question-mark {
    width: 36px;
    height: 36px;
  }

  .socket-select-menu svg {
    display: none;
  }

  .socket-select-menu .socket-unknown-option {
    grid-column: 1 / -1;
  }

  .result-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .result-empty,
  .result-loading {
    min-height: 390px;
  }

  .rough-result {
    grid-template-columns: 1fr;
  }

  .rough-result > span + span {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .product-kicker {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-primary,
  .compact-finder .product-primary {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }

  .product-visual {
    height: 138px;
  }

  .product-copy h2 {
    font-size: 1.18rem;
  }

  .product-kicker > span {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .spec-list {
    grid-template-columns: 1fr 1fr;
  }

  .product-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .calculation-grid {
    grid-template-columns: 1fr 1fr;
  }

  .calculation-grid div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .calculation-grid div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .socket-grid {
    grid-template-columns: 1fr;
  }

  .socket-help-grid {
    grid-template-columns: 1fr;
  }

  .compact-form-title h2 {
    font-size: 1.45rem;
  }

  .hero-chip-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-chip-row button {
    justify-content: flex-start;
  }

  .hero-motion-status {
    right: 14px;
    bottom: 14px;
  }

  .hero-preset-overlay {
    bottom: 74px;
    left: 14px;
    width: calc(100% - 28px);
  }

  .hero-preset-overlay > button {
    min-height: 58px;
    padding: 9px 10px;
  }

  .starter-product-grid {
    grid-template-columns: 1fr;
  }

  .starter-result-heading h2 {
    font-size: 1.8rem;
  }

  .alternative-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .alternative-product-grid {
    grid-template-columns: 1fr;
  }

  .change-toast {
    top: 78px;
    right: 10px;
  }

  .site-footer {
    flex-direction: column;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body.led-live-page > .site-header,
body.led-live-page > main,
body.led-live-page > .site-footer {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

body.led-live-page .prototype-hero {
  grid-template-areas: none;
}

body.led-live-page .prototype-hero .hero-copy,
body.led-live-page .prototype-hero .hero-light {
  grid-area: auto;
}

body.led-live-page .toggle-field {
  position: relative;
}

body.led-live-page .toggle-field input {
  inset: 0;
  width: 100%;
  height: 100%;
}

.legacy-light-tools {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.legacy-light-tools .eyebrow {
  color: var(--clay);
}

.legacy-light-tools > section:first-child {
  margin-top: 28px;
}

.site-footer a {
  color: white;
}

.site-footer p + p {
  margin-top: 8px;
}
