:root {
  color-scheme: light;
  --bg: #f4f1eb;
  --bg-2: #eef5f3;
  --surface: #ffffff;
  --surface-2: #f7f4ee;
  --surface-3: #edf4f0;
  --ink: #18211f;
  --text: #25302d;
  --muted: #64706b;
  --line: #d8ded7;
  --green: #22784d;
  --yellow: #d29a27;
  --red: #bd4f43;
  --blue: #1f6f86;
  --clay: #a65f43;
  --shadow: 0 22px 60px rgba(38, 47, 43, 0.12);
  --soft-shadow: 0 12px 32px rgba(38, 47, 43, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(155deg, rgba(244, 241, 235, 0.98) 0%, rgba(238, 245, 243, 0.86) 48%, rgba(247, 244, 238, 0.98) 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(24, 33, 31, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 33, 31, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 72%);
}

body.planner-page {
  background:
    linear-gradient(155deg, rgba(246, 244, 238, 0.95) 0%, rgba(235, 244, 241, 0.9) 54%, rgba(242, 239, 232, 0.96) 100%);
}

body.planner-page::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(246, 244, 238, 0.9) 0%, rgba(246, 244, 238, 0.58) 44%, rgba(246, 244, 238, 0.92) 100%),
    url("./assets/room-hero.png") center / cover no-repeat;
  content: "";
  opacity: 0.2;
  pointer-events: none;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.site-header,
main,
footer {
  width: calc(100% - 36px);
  max-width: 1180px;
  margin: 0 auto;
}

.site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 30px 0 24px;
}

.home-hero {
  position: relative;
  min-height: 560px;
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1fr);
  grid-template-areas:
    "copy visual";
  align-items: center;
  gap: 34px;
  padding-top: 78px;
}

.hero-copy {
  grid-area: copy;
  min-width: 0;
}

.home-hero nav {
  position: absolute;
  top: 22px;
  right: 0;
  grid-area: auto;
}

.hero-visual {
  position: relative;
  grid-area: visual;
  width: 100%;
  max-width: 100%;
  min-height: 500px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: #d9d0c1;
  box-shadow: var(--shadow);
  --scene-tint: rgba(255, 178, 88, 0.22);
  --scene-cool: rgba(120, 178, 210, 0);
  --scene-brightness: 1;
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 12% 36%, var(--scene-tint) 0%, transparent 30%),
    radial-gradient(circle at 78% 40%, var(--scene-tint) 0%, transparent 26%),
    linear-gradient(90deg, var(--scene-tint), var(--scene-cool));
  content: "";
  mix-blend-mode: soft-light;
  pointer-events: none;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 52%, rgba(24, 33, 31, 0.54) 100%);
  content: "";
}

.hero-visual[data-kelvin="2200"] {
  --scene-tint: rgba(255, 152, 54, 0.42);
  --scene-cool: rgba(95, 67, 38, 0.08);
  --scene-brightness: 0.96;
}

.hero-visual[data-kelvin="2700"] {
  --scene-tint: rgba(255, 182, 92, 0.28);
  --scene-cool: rgba(95, 67, 38, 0.02);
  --scene-brightness: 1;
}

.hero-visual[data-kelvin="3000"] {
  --scene-tint: rgba(255, 210, 150, 0.16);
  --scene-cool: rgba(180, 200, 190, 0.05);
  --scene-brightness: 1.03;
}

.hero-visual[data-kelvin="4000"] {
  --scene-tint: rgba(255, 242, 210, 0.06);
  --scene-cool: rgba(116, 176, 210, 0.2);
  --scene-brightness: 1.08;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  filter: brightness(var(--scene-brightness));
  transition: filter 0.2s ease;
}

.hero-visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 76px;
  z-index: 3;
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  padding: 9px 12px;
  background: rgba(24, 33, 31, 0.72);
  color: #fff;
  font-size: 0.82rem;
  backdrop-filter: blur(10px);
}

.hero-visual figcaption strong {
  color: #ffd58c;
  font-size: 1.05rem;
}

.light-switcher {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  pointer-events: auto;
}

.light-switcher button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(24, 33, 31, 0.56);
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 820;
  cursor: pointer;
  backdrop-filter: blur(10px);
  pointer-events: auto;
  touch-action: manipulation;
}

.light-switcher button.active {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.temp-dot {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(24, 33, 31, 0.18), 0 0 16px currentColor;
}

.temp-2200 {
  background: #ff9a38;
}

.temp-2700 {
  background: #ffc06f;
}

.temp-3000 {
  background: #ffe0ad;
}

.temp-4000 {
  background: #d9efff;
}

.site-header h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.45rem, 4.7vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.site-header:not(.home-hero) h1 {
  font-size: clamp(2.2rem, 4.2vw, 4.35rem);
}

.intro {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 24px;
}

.hero-benefit-box {
  max-width: 520px;
  margin-top: 20px;
  border-left: 3px solid rgba(34, 120, 77, 0.72);
  padding: 3px 0 3px 15px;
}

.hero-benefit-box p {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 880;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-benefits {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 760;
  list-style: none;
}

.hero-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.hero-benefits span {
  display: inline-grid;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: rgba(34, 120, 77, 0.12);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
}

.hero-benefits strong {
  font-weight: 790;
}

.scenario-section {
  margin-bottom: 18px;
}

.quick-finder {
  display: grid;
  gap: 16px;
  margin-bottom: 26px;
  border: 1px solid rgba(37, 48, 45, 0.12);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(237, 244, 240, 0.82));
  box-shadow: var(--soft-shadow);
}

.finder-intro,
.finder-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.52fr);
  gap: 18px;
  align-items: start;
}

.finder-status {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(31, 111, 134, 0.14);
  border-radius: 8px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.82);
}

.finder-status span {
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 880;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.finder-status strong {
  color: var(--ink);
  font-size: 1rem;
}

.finder-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.finder-progress button {
  min-height: 34px;
  border: 1px solid rgba(37, 48, 45, 0.11);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 820;
  text-align: center;
}

.finder-progress button.active {
  border-color: rgba(34, 120, 77, 0.32);
  background: rgba(237, 244, 240, 0.96);
  color: var(--ink);
}

.finder-progress button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.finder-card,
.finder-result {
  border: 1px solid rgba(37, 48, 45, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
}

.finder-card {
  min-height: 410px;
  padding: 18px;
}

.finder-step {
  display: none;
}

.finder-step.active {
  display: grid;
  gap: 14px;
}

.finder-step h3,
.finder-result h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.08;
}

.finder-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.finder-options.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.finder-options button,
.finder-options .button {
  display: grid;
  gap: 7px;
  align-content: start;
  min-height: 112px;
  border: 1px solid rgba(37, 48, 45, 0.12);
  border-radius: 8px;
  padding: 13px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 244, 238, 0.82));
  color: var(--text);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.finder-options button:hover,
.finder-options button:focus-visible,
.finder-options button.active,
.finder-options .button:hover,
.finder-options .button:focus-visible {
  border-color: rgba(34, 120, 77, 0.42);
  box-shadow: 0 0 0 3px rgba(34, 120, 77, 0.08), var(--soft-shadow);
  transform: translateY(-1px);
}

.finder-options button.active {
  background:
    linear-gradient(145deg, rgba(237, 244, 240, 0.98), rgba(255, 255, 255, 0.9));
}

.finder-options strong {
  color: var(--ink);
  font-weight: 860;
}

.finder-options span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

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

.socket-options button {
  min-height: 156px;
}

.socket-options img {
  width: 100%;
  height: 72px;
  border: 1px solid rgba(37, 48, 45, 0.1);
  border-radius: 7px;
  object-fit: cover;
  background: #f5f2ec;
}

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

.finder-inline-field {
  display: grid;
  gap: 6px;
  max-width: 280px;
}

.finder-inline-field small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.finder-step-actions {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) minmax(160px, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.finder-final-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.finder-final-actions .button {
  min-height: 42px;
  justify-content: center;
  padding: 10px 12px;
  text-align: center;
}

.finder-result {
  position: sticky;
  top: 12px;
  display: grid;
  gap: 12px;
  padding: 18px;
}

.finder-result-body {
  display: grid;
  gap: 12px;
}

.finder-summary-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.finder-summary-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  border-bottom: 1px solid rgba(37, 48, 45, 0.08);
  padding-bottom: 8px;
  color: var(--muted);
}

.finder-summary-list strong {
  color: var(--ink);
  text-align: right;
}

.finder-buy-note {
  border: 1px solid rgba(34, 120, 77, 0.16);
  border-radius: 8px;
  padding: 12px;
  background: rgba(237, 244, 240, 0.76);
}

.finder-buy-note strong,
.finder-warning strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.finder-warning {
  border: 1px solid rgba(210, 154, 39, 0.2);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 247, 226, 0.78);
}

.finder-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.finder-actions .button:first-child,
.finder-actions .button:last-child {
  grid-column: span 2;
}

.finder-recommendations {
  display: grid;
  gap: 9px;
  border-top: 1px solid rgba(37, 48, 45, 0.1);
  padding-top: 12px;
}

.finder-recommendations h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.finder-recommendation-card {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(37, 48, 45, 0.1);
  border-radius: 8px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.82);
}

.finder-recommendation-card strong {
  color: var(--ink);
  line-height: 1.2;
}

.finder-recommendation-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.finder-recommendation-card a {
  justify-self: start;
  min-height: 34px;
  border: 1px solid rgba(37, 48, 45, 0.14);
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--ink);
  color: white;
  font-size: 0.88rem;
  font-weight: 850;
  text-decoration: none;
}

.scenario-section .compact-head {
  margin-bottom: 12px;
}

.scenario-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.scenario-strip button,
.quick-examples button {
  border: 1px solid rgba(37, 48, 45, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--soft-shadow);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.scenario-strip button {
  display: grid;
  min-height: 92px;
  gap: 5px;
  align-content: center;
  padding: 15px;
}

.scenario-strip button strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.scenario-strip button span {
  color: var(--muted);
  font-size: 0.86rem;
}

.scenario-strip button:hover,
.quick-examples button:hover {
  border-color: rgba(34, 120, 77, 0.32);
  transform: translateY(-1px);
}

.scenario-strip button.active {
  border-color: rgba(34, 120, 77, 0.42);
  background: linear-gradient(145deg, rgba(237, 244, 240, 0.98), rgba(255, 255, 255, 0.92));
  box-shadow: 0 0 0 3px rgba(34, 120, 77, 0.08), var(--soft-shadow);
}

.process-strip span {
  min-height: 38px;
  border-color: rgba(31, 111, 134, 0.18);
  background: rgba(255, 255, 255, 0.64);
}

.process-strip strong {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.86rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(37, 48, 45, 0.13);
  border-radius: 8px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
  color: var(--ink);
  text-decoration: none;
  font-weight: 780;
}

nav a[aria-current="page"] {
  border-color: rgba(34, 120, 77, 0.26);
  background: var(--ink);
  color: #fff;
}

nav a.nav-utility {
  min-height: 34px;
  align-self: center;
  border-style: dashed;
  margin-left: 2px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.46);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 780;
}

nav a:not(.nav-utility) + a.nav-utility {
  margin-left: 12px;
}

nav a:hover,
.button:hover {
  transform: translateY(-1px);
}

.page-jump-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
  border-left: 3px solid rgba(34, 120, 77, 0.42);
  padding-left: 12px;
}

.page-jump-nav a {
  justify-content: flex-start;
  min-height: 48px;
  gap: 11px;
  border: 0;
  padding: 8px 4px;
  background: transparent;
  box-shadow: none;
}

.page-jump-nav strong {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
}

.page-jump-nav span {
  min-width: 0;
  color: var(--muted);
  font-weight: 780;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.38rem;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1rem;
}

.planner-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.decision-grid,
.tool-grid {
  display: grid;
  gap: 16px;
}

.decision-grid {
  grid-template-columns: 1.15fr 1fr 1fr;
  margin-top: 8px;
}

.tool-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.planner-panel,
.result-panel,
.product-card,
.tool-card,
.decision-card,
.guide article {
  border: 1px solid rgba(37, 48, 45, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
}

.decision-card {
  display: flex;
  min-height: 246px;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 24px;
}

.decision-card.primary {
  background:
    linear-gradient(145deg, rgba(24, 33, 31, 0.96), rgba(31, 111, 134, 0.86));
  color: #fff;
}

.decision-card.primary h2,
.decision-card.primary .eyebrow {
  color: #fff;
}

.decision-card.primary p {
  color: rgba(255, 255, 255, 0.78);
}

.decision-card.primary p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

.decision-card.primary .button {
  background: #fff;
  color: var(--ink);
}

.decision-card h2 {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
}

.decision-card p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.decision-card .button {
  margin-top: auto;
  width: 100%;
}

.buyer-grid article {
  min-height: 154px;
}

.secondary-tools {
  margin-top: 30px;
}

.planner-panel,
.result-panel,
.product-card {
  backdrop-filter: blur(12px);
}

.tool-card {
  position: relative;
  display: flex;
  min-height: 254px;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: 22px;
}

.tool-card::before {
  width: 44px;
  height: 7px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--green);
  content: "";
}

.tool-card:nth-child(2)::before {
  background: var(--clay);
}

.tool-card:nth-child(3)::before {
  background: var(--blue);
}

.tool-card p:not(.eyebrow) {
  color: var(--muted);
}

.tool-card .button {
  margin-top: auto;
}

.tool-card:not(.active) {
  background: rgba(247, 244, 238, 0.82);
}

.planner-panel,
.result-panel {
  padding: 24px;
}

.planner-panel {
  display: grid;
  gap: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(252, 250, 246, 0.9));
}

.section-title {
  margin-bottom: 2px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 820;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 760;
  padding: 10px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

input:focus,
select:focus,
textarea:focus,
.button:focus-visible,
nav a:focus-visible,
.socket-card:focus-visible {
  outline: 3px solid rgba(31, 111, 134, 0.22);
  outline-offset: 2px;
}

textarea {
  resize: vertical;
  line-height: 1.45;
}

.input-unit {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.input-unit input {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.input-unit span {
  padding: 0 12px;
  color: var(--muted);
  font-weight: 840;
}

.result-panel {
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(237, 244, 240, 0.82));
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.result-grid div {
  min-height: 112px;
  border: 1px solid rgba(37, 48, 45, 0.1);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
  box-shadow: inset 0 -5px 0 rgba(34, 120, 77, 0.08);
}

dt {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.info-dot {
  display: inline-grid;
  width: 17px;
  height: 17px;
  position: relative;
  place-items: center;
  border: 1px solid rgba(31, 111, 134, 0.24);
  border-radius: 999px;
  padding: 0;
  background: #fff;
  color: var(--blue);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: none;
  cursor: pointer;
}

.info-popover {
  position: fixed;
  z-index: 80;
  display: none;
  width: min(280px, calc(100vw - 24px));
  border: 1px solid rgba(37, 48, 45, 0.14);
  border-radius: 8px;
  padding: 10px 11px;
  background: rgba(24, 33, 31, 0.96);
  box-shadow: var(--soft-shadow);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 720;
  line-height: 1.35;
  text-align: left;
  text-transform: none;
  pointer-events: none;
}

.info-popover.is-visible {
  display: block;
}

.info-dot:hover,
.info-dot:focus-visible,
.info-dot.is-open {
  border-color: rgba(31, 111, 134, 0.45);
  background: rgba(237, 244, 240, 0.95);
}

dd {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 860;
}

.note,
.muted,
footer {
  color: var(--muted);
}

.note {
  margin-top: auto;
  margin-bottom: 0;
}

.shopping-brief {
  border: 1px solid rgba(34, 120, 77, 0.18);
  border-radius: 8px;
  background: rgba(237, 244, 240, 0.72);
  padding: 14px;
}

.shopping-brief strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
}

.shopping-brief ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 12px;
}

.formula-breakdown,
.data-note {
  border: 1px solid rgba(31, 111, 134, 0.14);
  border-radius: 8px;
  background: rgba(237, 244, 240, 0.82);
  color: var(--muted);
  font-size: 0.86rem;
}

.formula-breakdown {
  display: grid;
  gap: 3px;
  margin: 14px 0 0;
  padding: 12px;
}

.formula-breakdown strong,
.data-note strong {
  color: var(--ink);
}

.data-note {
  margin: 12px 0 0;
  padding: 10px 12px;
}

.data-note.soft-note {
  border-color: rgba(37, 48, 45, 0.08);
  background: rgba(255, 255, 255, 0.52);
  font-size: 0.8rem;
}

.color-result {
  display: flex;
  min-height: 100%;
  align-items: center;
}

.result-copy h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  overflow-wrap: anywhere;
}

.result-copy p,
.result-copy li {
  color: var(--muted);
}

.result-copy ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.swatch-list {
  display: grid;
  gap: 9px;
  margin: 16px 0;
}

.swatch-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(37, 48, 45, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  padding: 8px;
}

.swatch {
  display: block;
  width: 44px;
  height: 38px;
  border: 1px solid rgba(37, 48, 45, 0.14);
  border-radius: 6px;
}

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

.swatch-card small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
}

.recommendations,
.guide {
  margin-top: 30px;
}

.combo-summary {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.72fr);
  gap: 18px;
  align-items: stretch;
}

.combo-summary-copy,
.combo-scorecard {
  border: 1px solid rgba(37, 48, 45, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
  padding: 24px;
}

.combo-summary-copy h2 {
  max-width: 700px;
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.03;
}

.combo-summary-copy p:not(.eyebrow) {
  max-width: 65ch;
  color: var(--muted);
}

.combo-scorecard {
  display: grid;
  gap: 14px;
  align-content: center;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 14px;
}

.section-head.compact-head {
  align-items: start;
  border: 1px solid rgba(37, 48, 45, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--soft-shadow);
  padding: 18px;
}

.section-head .muted {
  max-width: 430px;
  margin-bottom: 0;
  font-size: 0.92rem;
}

.compact-head .muted {
  max-width: 520px;
}

.product-list {
  display: grid;
  gap: 14px;
}

.chart-picker {
  margin-top: 30px;
}

.chart-picker-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  gap: 16px;
  align-items: start;
}

.chart-picker-controls,
.rating-card {
  border: 1px solid rgba(37, 48, 45, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
}

.chart-picker-controls {
  display: grid;
  gap: 14px;
  padding: 16px;
}

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

.socket-segments button,
.ranking-row {
  border: 1px solid rgba(37, 48, 45, 0.12);
  border-radius: 8px;
  background: rgba(247, 244, 238, 0.8);
  color: var(--ink);
  font: inherit;
  font-weight: 860;
  cursor: pointer;
}

.socket-segments button {
  min-height: 42px;
  padding: 8px;
}

.socket-segments button.active,
.socket-segments button:focus-visible,
.ranking-row.active,
.ranking-row:focus-visible {
  background: var(--ink);
  color: #fff;
  outline: 0;
}

.chart-select-label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 820;
}

.chart-select-label select {
  min-height: 48px;
}

.ranking-list {
  display: grid;
  gap: 8px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 42px;
  gap: 9px;
  align-items: center;
  min-height: 54px;
  padding: 9px;
  text-align: left;
}

.ranking-row span,
.ranking-row em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-style: normal;
  font-weight: 900;
}

.ranking-row span {
  width: 28px;
  height: 28px;
  background: rgba(37, 48, 45, 0.1);
}

.ranking-row.active span {
  background: rgba(255, 255, 255, 0.18);
}

.ranking-row strong {
  overflow-wrap: anywhere;
  font-size: 0.88rem;
  line-height: 1.18;
}

.ranking-row em {
  min-width: 38px;
  color: inherit;
}

.rating-card {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.rating-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.rating-main h3 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2.5vw, 2.15rem);
  line-height: 1.08;
}

.rating-score {
  display: grid;
  width: 118px;
  min-height: 118px;
  place-items: center;
  align-content: center;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(24, 33, 31, 0.96), rgba(31, 111, 134, 0.88));
  color: #fff;
  text-align: center;
}

.rating-score strong {
  font-size: 2.75rem;
  line-height: 0.95;
}

.rating-score span {
  font-size: 0.78rem;
  font-weight: 880;
  text-transform: uppercase;
}

.rating-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.rating-split > div {
  border: 1px solid rgba(37, 48, 45, 0.1);
  border-radius: 8px;
  background: rgba(247, 244, 238, 0.68);
  padding: 12px;
}

.rating-split p {
  margin-bottom: 0;
  color: var(--muted);
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.chart-card {
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid rgba(37, 48, 45, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
  padding: 18px;
}

.chart-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.chart-card-head h3 {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.rank-badge {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
}

.compact-bars .bar-row {
  grid-template-columns: 112px minmax(100px, 1fr) 34px;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tier-card {
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid rgba(37, 48, 45, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
  padding: 18px;
}

.tier-card .product-visual {
  height: 170px;
  min-height: 170px;
}

.tier-card.budget {
  border-top: 5px solid var(--blue);
}

.tier-card.value {
  border-top: 5px solid var(--green);
}

.tier-card.premium {
  border-top: 5px solid var(--clay);
}

.search-profile-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(247, 244, 238, 0.88));
}

.search-profile-card .badge {
  border-color: rgba(210, 154, 39, 0.24);
  background: rgba(255, 247, 226, 0.9);
  color: #725214;
}

.tier-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.tier-card h3 {
  min-height: 2.8em;
  margin-bottom: 0;
}

.tier-card p {
  margin-bottom: 0;
}

.tier-decision {
  display: grid;
  gap: 3px;
  border: 1px solid rgba(37, 48, 45, 0.12);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(247, 244, 238, 0.74);
}

.tier-decision.buy {
  border-color: rgba(34, 120, 77, 0.22);
  background: rgba(237, 244, 240, 0.86);
}

.tier-decision.check {
  border-color: rgba(210, 154, 39, 0.24);
  background: rgba(255, 247, 226, 0.8);
}

.tier-decision strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.tier-decision span {
  color: var(--muted);
  font-size: 0.84rem;
}

.quick-pros-cons {
  display: grid;
  gap: 8px;
}

.quick-pros-cons div {
  border-left: 3px solid rgba(34, 120, 77, 0.38);
  padding-left: 10px;
}

.quick-pros-cons div + div {
  border-left-color: rgba(210, 154, 39, 0.48);
}

.quick-pros-cons strong,
.quick-pros-cons span {
  display: block;
}

.quick-pros-cons strong {
  color: var(--ink);
  font-size: 0.82rem;
}

.quick-pros-cons span {
  color: var(--muted);
  font-size: 0.84rem;
}

.mini-bars {
  display: grid;
  gap: 8px;
}

.compact-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.socket-guide-section {
  scroll-margin-top: 18px;
}

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

.socket-card {
  display: grid;
  grid-template-rows: 150px 1fr;
  gap: 12px;
  border: 1px solid rgba(37, 48, 45, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 14px;
  text-align: left;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.socket-card:hover,
.socket-card.active {
  border-color: rgba(34, 120, 77, 0.34);
  box-shadow: 0 16px 36px rgba(38, 47, 43, 0.12);
  transform: translateY(-1px);
}

.socket-card.active {
  background: linear-gradient(145deg, rgba(237, 244, 240, 0.96), rgba(255, 255, 255, 0.92));
}

.socket-card h3 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.socket-card p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.socket-card span:not(.socket-shape) {
  display: inline-flex;
  border: 1px solid rgba(31, 111, 134, 0.16);
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(237, 244, 240, 0.9);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 850;
}

.socket-visual {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(37, 48, 45, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 224, 173, 0.55), transparent 34%),
    linear-gradient(180deg, rgba(247, 244, 238, 0.96), rgba(237, 244, 240, 0.9));
}

.socket-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

.socket-shape {
  position: relative;
  display: block;
  color: #4f5b57;
}

.socket-shape.screw {
  width: 42px;
  height: 64px;
  border: 3px solid currentColor;
  border-radius: 18px 18px 7px 7px;
  background:
    repeating-linear-gradient(180deg, transparent 0 7px, rgba(79, 91, 87, 0.22) 7px 10px),
    linear-gradient(#f4f1eb, #c7cfc9);
}

.socket-shape.screw::before {
  position: absolute;
  left: 8px;
  right: 8px;
  top: -16px;
  height: 18px;
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 12px 12px 2px 2px;
  background: #fff;
  content: "";
}

.socket-shape.screw.small {
  width: 30px;
  height: 58px;
}

.socket-shape.twist {
  width: 50px;
  height: 42px;
  border-radius: 10px 10px 16px 16px;
  background: linear-gradient(#fff, #d4ddd8);
  box-shadow: inset 0 0 0 3px currentColor;
}

.socket-shape.twist::before,
.socket-shape.twist::after {
  position: absolute;
  bottom: -20px;
  width: 10px;
  height: 22px;
  border-radius: 8px;
  background: currentColor;
  content: "";
}

.socket-shape.twist::before {
  left: 10px;
}

.socket-shape.twist::after {
  right: 10px;
}

.socket-shape.pin,
.socket-shape.micro-pin {
  width: 44px;
  height: 50px;
  border: 3px solid currentColor;
  border-radius: 11px 11px 18px 18px;
  background: linear-gradient(#fff, #dde5e1);
}

.socket-shape.pin::before,
.socket-shape.pin::after,
.socket-shape.micro-pin::before,
.socket-shape.micro-pin::after {
  position: absolute;
  bottom: -22px;
  width: 5px;
  height: 25px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.socket-shape.pin::before,
.socket-shape.micro-pin::before {
  left: 12px;
}

.socket-shape.pin::after,
.socket-shape.micro-pin::after {
  right: 12px;
}

.socket-shape.micro-pin {
  width: 24px;
  height: 36px;
}

.socket-shape.micro-pin::before {
  left: 5px;
}

.socket-shape.micro-pin::after {
  right: 5px;
}

.socket-shape.loop-pin {
  width: 30px;
  height: 50px;
  border: 3px solid currentColor;
  border-radius: 12px;
  background: #fff;
}

.socket-shape.loop-pin::before,
.socket-shape.loop-pin::after {
  position: absolute;
  bottom: -17px;
  width: 8px;
  height: 24px;
  border: 3px solid currentColor;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  content: "";
}

.socket-shape.loop-pin::before {
  left: 3px;
}

.socket-shape.loop-pin::after {
  right: 3px;
}

.socket-shape.tube {
  width: 82px;
  height: 16px;
  border: 3px solid currentColor;
  border-radius: 999px;
  background: linear-gradient(90deg, #c7cfc9, #fff, #c7cfc9);
}

.socket-shape.tube::before,
.socket-shape.tube::after {
  position: absolute;
  top: 3px;
  width: 14px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.socket-shape.tube::before {
  left: -14px;
}

.socket-shape.tube::after {
  right: -14px;
}

.socket-shape.flat {
  width: 62px;
  height: 62px;
  border: 4px solid currentColor;
  border-radius: 999px;
  background:
    radial-gradient(circle, #fff 0 31%, transparent 32%),
    linear-gradient(#dce5df, #fff);
}

.socket-shape.flat::before,
.socket-shape.flat::after {
  position: absolute;
  top: 25px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.socket-shape.flat::before {
  left: 7px;
}

.socket-shape.flat::after {
  right: 7px;
}

.socket-warning {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 12px;
  border: 1px solid rgba(210, 154, 39, 0.22);
  border-radius: 8px;
  background: rgba(255, 247, 226, 0.82);
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.socket-warning strong {
  color: var(--ink);
}

.check-helper-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.check-helper-grid article {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(37, 48, 45, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
  padding: 14px;
}

.check-helper-grid strong {
  color: var(--ink);
}

.check-helper-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.checker-teaser {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
}

.store-mode-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.store-mode-strip article {
  border: 1px solid rgba(37, 48, 45, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--soft-shadow);
  padding: 14px;
}

.store-mode-strip strong,
.store-mode-strip span {
  display: block;
}

.store-mode-strip strong {
  color: var(--ink);
}

.store-mode-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.checker-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(400px, 1.18fr);
  gap: 18px;
  align-items: stretch;
}

.checker-form {
  align-content: start;
}

.checker-result {
  gap: 16px;
}

.store-verdict {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(37, 48, 45, 0.12);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 247, 226, 0.8);
}

.store-verdict.buy {
  border-color: rgba(34, 120, 77, 0.28);
  background: linear-gradient(145deg, rgba(237, 244, 240, 0.98), rgba(255, 255, 255, 0.9));
}

.store-verdict.check {
  border-color: rgba(210, 154, 39, 0.28);
  background: linear-gradient(145deg, rgba(255, 247, 226, 0.96), rgba(255, 255, 255, 0.88));
}

.store-verdict.avoid {
  border-color: rgba(189, 79, 67, 0.28);
  background: linear-gradient(145deg, rgba(255, 238, 235, 0.96), rgba(255, 255, 255, 0.9));
}

.store-verdict h2 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

.store-verdict strong,
.store-verdict span,
.store-verdict p {
  display: block;
}

.store-verdict strong {
  color: var(--ink);
  font-size: 1.08rem;
}

.store-verdict span,
.store-verdict p {
  color: var(--muted);
}

.store-verdict p {
  margin-bottom: 0;
}

.recognized-card,
.shelf-advice {
  border: 1px solid rgba(37, 48, 45, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  padding: 14px;
}

.recognized-card h3 {
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}

.recognition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.recognition-item {
  border: 1px solid rgba(37, 48, 45, 0.1);
  border-radius: 8px;
  background: rgba(247, 244, 238, 0.74);
  padding: 9px;
}

.recognition-item.known {
  background: rgba(237, 244, 240, 0.9);
}

.recognition-item span,
.recognition-item strong {
  display: block;
}

.recognition-item span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.recognition-item strong {
  color: var(--ink);
  font-size: 0.92rem;
}

.shelf-advice {
  background: rgba(237, 244, 240, 0.72);
}

.shelf-advice h3 {
  margin-bottom: 8px;
}

.shelf-advice ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.quick-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -6px;
}

.quick-examples button {
  min-height: 36px;
  padding: 7px 10px;
  font-size: 0.82rem;
  font-weight: 820;
}

.mobile-verdict {
  display: none;
}

.mobile-verdict-card {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(210, 154, 39, 0.26);
  border-radius: 8px;
  background: rgba(255, 247, 226, 0.86);
  padding: 12px;
}

.mobile-verdict-card.buy {
  border-color: rgba(34, 120, 77, 0.24);
  background: rgba(237, 244, 240, 0.9);
}

.mobile-verdict-card.avoid {
  border-color: rgba(189, 79, 67, 0.24);
  background: rgba(255, 238, 235, 0.9);
}

.mobile-verdict-card span {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-verdict-card strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.mobile-verdict-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

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

.minimum-check article {
  border: 1px solid rgba(37, 48, 45, 0.1);
  border-radius: 8px;
  background: rgba(247, 244, 238, 0.7);
  padding: 10px;
}

.minimum-check strong {
  display: block;
  color: var(--ink);
  font-size: 0.82rem;
}

.minimum-check span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
}

.advanced-fields {
  border: 1px solid rgba(37, 48, 45, 0.12);
  border-radius: 8px;
  background: rgba(247, 244, 238, 0.62);
  padding: 12px;
}

.advanced-fields summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 860;
}

.advanced-fields .form-grid,
.advanced-fields label {
  margin-top: 12px;
}

.socket-grid-compact .socket-card {
  grid-template-rows: 132px auto;
}

.socket-grid-compact .socket-card h3 {
  margin-bottom: 0;
}

.combo-product-list {
  display: grid;
  gap: 16px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.reference-panel {
  border: 1px solid rgba(37, 48, 45, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--soft-shadow);
  padding: 0;
}

.reference-panel summary {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  cursor: pointer;
  list-style: none;
}

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

.reference-panel summary::after {
  display: inline-grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  content: "+";
  font-weight: 900;
}

.reference-panel[open] summary::after {
  content: "-";
}

.reference-panel summary strong {
  display: block;
  color: var(--ink);
  font-size: 1.2rem;
}

.summary-hint {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 760;
}

.reference-panel > p,
.reference-panel > .profile-grid {
  margin-left: 18px;
  margin-right: 18px;
}

.reference-panel > .profile-grid {
  margin-bottom: 18px;
}

.profile-card {
  border: 1px solid rgba(37, 48, 45, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
  padding: 18px;
}

.profile-card table {
  width: 100%;
  margin: 12px 0;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.profile-card th,
.profile-card td {
  border-bottom: 1px solid var(--line);
  padding: 8px 5px;
  text-align: left;
}

.profile-card th {
  color: var(--blue);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.profile-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(330px, 1.08fr);
  gap: 20px;
  padding: 20px;
}

.combo-product {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.55fr);
}

.evaluator-card {
  grid-template-columns: minmax(280px, 0.85fr) minmax(340px, 1.15fr);
}

.bulb-form {
  display: grid;
  gap: 14px;
}

.bulb-result {
  display: grid;
  gap: 16px;
  align-content: start;
}

.match-list,
.warning-list {
  border: 1px solid rgba(37, 48, 45, 0.1);
  border-radius: 8px;
  background: rgba(247, 244, 238, 0.65);
  padding: 14px;
}

.match-row {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 760;
}

.match-row:last-child {
  border-bottom: 0;
}

.match-row strong {
  color: var(--green);
}

.warning-list ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.buy-signal {
  display: grid;
  gap: 3px;
  border: 1px solid rgba(37, 48, 45, 0.12);
  border-radius: 8px;
  padding: 12px 14px;
}

.buy-signal strong {
  color: var(--ink);
}

.buy-signal span {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.buy-signal.buy {
  background: rgba(34, 120, 77, 0.1);
}

.buy-signal.check {
  background: rgba(210, 154, 39, 0.12);
}

.buy-signal.avoid {
  background: rgba(189, 79, 67, 0.12);
}

.store-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.store-checklist article {
  border: 1px solid rgba(37, 48, 45, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--soft-shadow);
  padding: 18px;
}

.store-checklist ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.product-title {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.product-visual {
  position: relative;
  height: 150px;
  min-height: 150px;
  overflow: hidden;
  border: 1px solid rgba(37, 48, 45, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 224, 173, 0.55), transparent 34%),
    linear-gradient(180deg, rgba(247, 244, 238, 0.96), rgba(237, 244, 240, 0.9));
  margin: 0 0 14px;
}

.product-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: contain;
  padding: 10px;
}

.product-visual figcaption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 8px;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 820;
  backdrop-filter: blur(8px);
}

.product-visual figcaption span {
  color: var(--muted);
  font-weight: 760;
}

.product-title h3 {
  margin-bottom: 4px;
  font-size: 1.15rem;
}

.badge {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 5px 9px;
  background: #e5f2ea;
  color: #185f37;
  font-size: 0.72rem;
  font-weight: 860;
  text-transform: uppercase;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.meta span {
  border: 1px solid rgba(37, 48, 45, 0.1);
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--surface-3);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 780;
}

.product-actions {
  margin-top: 14px;
}

.affiliate-disclosure {
  display: inline-flex;
  max-width: 100%;
  margin: 9px 0 0;
  border: 1px solid rgba(37, 48, 45, 0.12);
  border-radius: 8px;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.35;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--ink);
  box-shadow: var(--soft-shadow);
  color: #fff;
  text-decoration: none;
  font-weight: 860;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.button.secondary {
  border: 1px solid rgba(37, 48, 45, 0.14);
  background: #fff;
  color: var(--ink);
}

span.button.secondary {
  cursor: default;
}

.bar-list {
  display: grid;
  align-content: start;
  gap: 11px;
}

.bar-row {
  display: grid;
  grid-template-columns: 138px minmax(120px, 1fr) 42px;
  gap: 10px;
  align-items: center;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
}

.bar-track {
  height: 13px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e0d8;
  box-shadow: inset 0 0 0 1px rgba(37, 48, 45, 0.08);
}

.bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red) 0%, var(--yellow) 48%, var(--green) 100%);
}

.pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.pros-cons ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.guide article {
  padding: 17px;
}

.guide p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.color-card {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.decision-card {
  border: 1px solid rgba(37, 48, 45, 0.1);
  border-radius: 8px;
  background: rgba(247, 244, 238, 0.65);
  padding: 14px;
}

.decision-card ul,
.decision-card ol {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.decision-card li + li {
  margin-top: 6px;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  gap: 20px;
  align-items: start;
}

.article-main,
.article-aside {
  border: 1px solid rgba(37, 48, 45, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
}

.article-main {
  padding: 24px;
}

.article-main h2 {
  margin-top: 28px;
  margin-bottom: 10px;
}

.article-main h2:first-child {
  margin-top: 0;
}

.article-main p,
.article-main li {
  color: var(--muted);
}

.article-main table {
  width: 100%;
  margin: 16px 0 20px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.article-main th,
.article-main td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.article-main th {
  background: var(--surface-3);
}

.article-main tr:last-child td {
  border-bottom: 0;
}

.formula-box,
.article-aside {
  padding: 16px;
}

.formula-box {
  border: 1px solid rgba(37, 48, 45, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--soft-shadow);
}

.article-aside {
  position: sticky;
  top: 16px;
}

.article-aside ul {
  margin: 10px 0 16px;
  padding-left: 18px;
  color: var(--muted);
}

footer {
  padding: 30px 0 40px;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .home-hero,
  .site-header,
  .planner-shell,
  .decision-grid,
  .tool-grid,
  .finder-intro,
  .finder-shell,
  .scenario-strip,
  .combo-summary,
  .article-shell,
  .product-card,
  .checker-hero,
  .store-mode-strip,
  .profile-grid,
  .socket-grid,
  .tier-grid,
  .chart-picker-shell,
  .chart-grid,
  .store-checklist,
  .check-helper-grid,
  .minimum-check,
  .recognition-grid,
  .decision-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .rating-main {
    grid-template-columns: 1fr;
  }

  .rating-score {
    width: 100%;
    min-height: 96px;
  }

  .chart-card-head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .chart-card-head .badge {
    grid-column: 2;
    justify-self: start;
  }

  .finder-result {
    position: static;
  }

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

  .finder-options.three,
  .socket-options,
  .room-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-jump-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 0;
  }

  .page-jump-nav a {
    width: auto;
    min-width: 0;
    flex: initial;
    gap: 8px;
    padding: 10px;
    font-size: 0.92rem;
  }

  .page-jump-nav strong {
    width: 28px;
    height: 28px;
  }

  .home-hero {
    grid-template-areas:
      "copy"
      "visual";
    min-height: auto;
    padding-top: 22px;
  }

  .home-hero nav {
    position: static;
    grid-area: nav;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 360px;
  }

  .article-aside {
    position: static;
  }

  .site-header {
    align-items: start;
  }

  nav {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  * {
    min-width: 0;
  }

  .site-header,
  main,
  footer {
    width: auto;
    max-width: 1180px;
    margin-left: 10px;
    margin-right: 10px;
    overflow: hidden;
  }

  .home-hero {
    max-width: calc(100vw - 20px);
  }

  .site-header {
    padding-top: 22px;
  }

  nav {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    overflow-x: visible;
    gap: 8px;
    padding-bottom: 5px;
    scrollbar-width: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  nav a {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 8px 10px;
    font-size: 0.93rem;
  }

  nav a:not(.nav-utility) + a.nav-utility {
    margin-left: 0;
  }

  nav a.nav-utility {
    display: none;
  }

  .page-jump-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-jump-nav a {
    width: 100%;
    min-width: 0;
    flex: initial;
    min-height: 48px;
    justify-content: flex-start;
    gap: 8px;
    padding: 9px 10px;
  }

  .site-header h1,
  .site-header:not(.home-hero) h1 {
    max-width: 100%;
    font-size: clamp(1.95rem, 8.4vw, 2.25rem);
    line-height: 1.02;
  }

  .site-header:not(.home-hero) h1 {
    max-width: 12ch;
  }

  .intro {
    max-width: 31ch;
    font-size: 1rem;
  }

  .tool-card p:not(.eyebrow),
  .guide p,
  .product-card p,
  .chart-card p {
    max-width: 34ch;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 300px;
  }

  .hero-visual {
    justify-self: stretch;
  }

  .hero-visual figcaption {
    left: 10px;
    right: 10px;
    bottom: 62px;
    max-width: calc(100% - 20px);
    flex-wrap: wrap;
    justify-content: center;
  }

  .light-switcher {
    display: flex;
    width: auto;
    max-width: none;
    left: 10px;
    right: 10px;
    bottom: 10px;
    gap: 8px;
    justify-content: center;
  }

  .light-switcher button {
    width: 38px;
    min-height: 34px;
    min-width: 0;
    flex: 0 0 38px;
    justify-content: center;
    padding: 0;
  }

  .temp-dot {
    width: 12px;
    height: 12px;
  }

  .light-switcher button span:last-child {
    display: none;
  }

  .quick-examples {
    display: grid;
    grid-template-columns: 1fr;
  }

  .quick-finder {
    padding: 13px;
  }

  .finder-progress {
    grid-template-columns: 1fr 1fr;
  }

  .finder-progress button {
    min-height: 32px;
    padding: 7px;
    font-size: 0.72rem;
  }

  .finder-card {
    min-height: 0;
    padding: 14px;
  }

  .finder-options,
  .finder-options.three,
  .socket-options,
  .room-options,
  .rating-split {
    grid-template-columns: 1fr;
  }

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

  .finder-options button {
    min-height: 92px;
  }

  .socket-options button {
    min-height: 142px;
  }

  .socket-options img {
    height: 84px;
  }

  .finder-actions {
    grid-template-columns: 1fr;
  }

  .finder-step-actions,
  .finder-final-actions {
    grid-template-columns: 1fr;
  }

  .finder-actions .button:first-child,
  .finder-actions .button:last-child {
    grid-column: auto;
  }

  .finder-summary-list li {
    grid-template-columns: 1fr;
  }

  .finder-summary-list strong {
    text-align: left;
  }

  .compact-bars .bar-row {
    grid-template-columns: 96px minmax(72px, 1fr) 30px;
    gap: 7px;
    font-size: 0.78rem;
  }

  .quick-examples button {
    width: 100%;
    text-align: center;
  }

  .mobile-verdict {
    display: block;
  }

  .form-grid,
  .result-grid,
  .pros-cons {
    grid-template-columns: 1fr;
  }

  .planner-panel,
  .result-panel,
  .product-card,
  .tool-card {
    padding: 15px;
  }

  .section-head {
    display: block;
  }

  .section-head.compact-head {
    display: block;
  }

  .section-head .muted,
  .compact-head .muted,
  .finder-intro .muted,
  .finder-step .muted {
    width: 100%;
    max-width: 31ch;
    overflow-wrap: anywhere;
  }

  .summary-hint {
    display: none;
  }

  .bar-row {
    grid-template-columns: 108px minmax(86px, 1fr) 34px;
    gap: 8px;
    font-size: 0.78rem;
  }
}
