:root {
  --bg: #f4f3ee;
  --header: #faf9f5;
  --panel: #fffefa;
  --panel-2: #f0f1eb;
  --border: #dce1da;
  --border-soft: #e7ebe4;
  --teal: #f17052;
  --teal-bright: #ff8967;
  --teal-dim: #cf5b40;
  --text: #17201c;
  --muted: #5f6c65;
  --subtle: #869189;
  --radius: 18px;
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: #ffd5c6; color: #19221e; }
:focus-visible { outline: 3px solid #f17052; outline-offset: 3px; }
.page-shell { width: min(1220px, calc(100% - 64px)); }

.site-header {
  height: 74px;
  padding-inline: max(32px, calc((100vw - 1220px) / 2));
  background: rgba(250, 249, 245, .92);
  border-bottom: 1px solid #e2e5df;
  box-shadow: 0 6px 22px rgba(31, 42, 35, .035);
  backdrop-filter: blur(18px);
}
.brand {
  gap: 10px;
  font-size: 23px;
  letter-spacing: -1.15px;
  color: #17201c;
}
.brand-light { color: #69766e; font-weight: 600; }
.brand-icon {
  width: 40px;
  height: 40px;
  color: #f17052;
  filter: drop-shadow(0 0 0 rgba(241, 112, 82, 0));
  animation: brand-charge 4.8s ease-in-out infinite;
}
.main-nav { gap: 34px; }
.main-nav a, .footer-links a { transition: color .2s ease; }
.main-nav a { color: #68736d; font-size: 11px; letter-spacing: .09em; }
.main-nav a:hover { color: #e56549; }
.header-actions { gap: 9px; }

.button {
  border-color: #d9ded8;
  background: #fffefa;
  color: #25312b;
  border-radius: 11px;
  box-shadow: 0 2px 4px rgba(24, 34, 28, .035);
}
.button:hover { border-color: #f17052; color: #d85e42; background: #fff7f2; }
.button.primary {
  color: #fffaf6;
  background: #eb684b;
  border-color: #eb684b;
  box-shadow: 0 8px 20px rgba(235, 104, 75, .2);
}
.button.primary:hover { color: white; background: #d95b40; border-color: #d95b40; }
.button.outline { color: #d85e42; border-color: #e7b09d; background: #fff9f4; }
.button.outline:hover { color: #b84a33; border-color: #f17052; background: #ffede5; }
.button.ghost { color: #5d6a63; background: transparent; border-color: #d9ded8; box-shadow: none; }
.button.ghost:hover { color: #d85e42; background: #fff7f2; }
.button svg { color: currentColor; }

.hero {
  isolation: isolate;
  position: relative;
  width: min(1360px, calc(100% - 48px));
  max-width: 1360px;
  min-height: 650px;
  margin: 28px auto 70px;
  padding: 70px clamp(40px, 6.2vw, 88px) 62px;
  overflow: hidden;
  border: 1px solid #2d4037;
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 83% 48%, rgba(241, 112, 82, .12), transparent 34%),
    radial-gradient(ellipse at 9% 2%, rgba(99, 149, 116, .13), transparent 40%),
    linear-gradient(130deg, #1b2a24 0%, #14211d 55%, #182721 100%);
  box-shadow: 0 24px 70px rgba(34, 47, 39, .13);
  color: #f6f5ef;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image: linear-gradient(rgba(236, 243, 234, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(236, 243, 234, .13) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(100deg, transparent 5%, #000 70%);
}
.hero-copy { max-width: 660px; position: relative; z-index: 2; }
.hero h1 {
  max-width: 650px;
  margin-bottom: 22px;
  color: #fbfaf5;
  font-size: clamp(52px, 5.1vw, 72px);
  font-weight: 700;
  letter-spacing: -4px;
  line-height: 1.02;
}
.hero h1 span {
  color: #ff8967;
  white-space: nowrap;
}
.hero-lede {
  max-width: 585px;
  margin-bottom: 23px;
  color: #c2ccc5;
  font-size: 18px;
  line-height: 1.62;
  letter-spacing: -.15px;
}
.value-points { gap: 18px; margin-bottom: 26px; color: #cbd4cd; font-size: 10px; }
.value-points span { gap: 7px; }
.value-points svg { color: #ff8967; }
.hero-form {
  max-width: 655px;
  padding: 20px 21px 17px;
  border: 1px solid #e2e4db;
  border-radius: 17px;
  background: #fbfaf5;
  color: #18221d;
  box-shadow: 0 15px 38px rgba(5, 12, 8, .22);
}
.hero-form .budget-field > span, .hero-form legend { color: #66736b; }
.input-wrap {
  border-color: #d8dfd7;
  background: #fffefa;
  color: #223029;
  border-radius: 10px;
  transition: border-color .18s, box-shadow .18s;
}
.input-wrap:focus-within { border-color: #ee795a; box-shadow: 0 0 0 3px rgba(241, 112, 82, .13); }
.input-wrap b { color: #9a6656; }
.input-wrap input { color: #17201c; }
.input-wrap input::placeholder { color: #9da69f; }
.use-chip {
  border-color: #dce2da;
  background: #fffefa;
  color: #435149;
  border-radius: 10px;
  transition: border-color .18s, color .18s, background .18s, transform .18s;
}
.use-chip:hover { border-color: #f0a38d; background: #fff4ee; color: #cb593e; transform: translateY(-1px); }
.use-chip.selected, .use-chip[aria-pressed="true"] { border-color: #ed795b; background: #fff0e9; color: #bf5138; box-shadow: inset 0 0 0 1px #ed795b; }
.hero-form .form-bottom { margin-top: 2px; }
.microcopy { color: #89958d; }
.hero .microcopy { color: #aebbb2; }
.hero .microcopy strong { color: #f1f4ed; }

.hero-visual { height: 505px; z-index: 1; }
.hero-halo {
  width: 430px;
  height: 430px;
  border: 1px solid rgba(233, 241, 230, .13);
  background: radial-gradient(circle, rgba(255, 132, 98, .17) 0, rgba(122, 155, 119, .10) 35%, rgba(22, 38, 31, .02) 70%);
  box-shadow: 0 0 90px rgba(238, 121, 91, .1), inset 0 0 65px rgba(202, 228, 205, .035);
  animation: halo-breathe 7s ease-in-out infinite;
}
.hero-halo::after {
  content: "";
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(226, 238, 225, .18);
  border-top-color: rgba(255, 137, 103, .92);
  border-right-color: rgba(255, 137, 103, .62);
  border-radius: 50%;
  transform: rotate(-20deg);
  animation: orbit-beam 13s linear infinite;
}
.floating-card {
  border: 1px solid rgba(235, 238, 225, .75);
  background: linear-gradient(145deg, #fffefa, #f1f1e9);
  border-radius: 18px;
  box-shadow: 0 20px 55px rgba(3, 10, 6, .25);
  color: #17201c;
}
.floating-card .brand-pill { background: #e9eee8; color: #334239; border-color: #dae2d8; }
.main-float {
  border-color: #fffefa;
  background: linear-gradient(145deg, #fffefa, #f1f2eb);
  color: #17201c;
  box-shadow: 0 24px 65px rgba(2, 9, 5, .34);
  animation: float-card 6s ease-in-out infinite;
}
.float-head b { color: #1b2720; }
.price-tag { background: #ffede4; color: #c55338; }
.score-line { color: #64716a; }
.score-line b { color: #26342c; }
.score-line i, .status-dot { background: #63be8d; box-shadow: 0 0 0 4px rgba(99, 190, 141, .13); }
.score-track { background: #e3e8e1; }
.score-track i { background: linear-gradient(90deg, #ff936d, #ec6349); }
.top-pick { color: #bd5036; background: #ffebe3; }
.variant-strip .brand-pill { background: #fffefa; color: #37453d; border-color: #e1e4db; }
.variant-caption { color: #c0cbc2; }

.sample-section, .how-section, .sources-section { padding-top: 86px; padding-bottom: 88px; }
.sample-section { border-top-color: #dce1da; }
.section-head { margin-bottom: 29px; }
.eyebrow { color: #d65e42; letter-spacing: .17em; }
.section-head h2, .budget-head h2 { color: #18221d; font-size: 34px; letter-spacing: -1.3px; }
.section-head p, .budget-head p { color: #66736b; }
.sample-date { color: #69776f; }
.sample-date strong { color: #24322b; }
.sample-date span { color: #909a93; }
.sample-layout { grid-template-columns: minmax(0, 1fr) 318px; gap: 24px; }
.sample-main, .summary-card, .requirements, .step-card, .source-card, .part-card, .compat-wrap, .explanation-card, .variant-card, .sample-tab {
  border: 1px solid #dfe4dc;
  background: #fffefa;
  color: #25312a;
  box-shadow: 0 8px 24px rgba(31, 42, 35, .045);
}
.sample-main { padding: 18px; border-radius: 19px; }
.sample-tab, .variant-card { transition: transform .2s, border-color .2s, box-shadow .2s, background .2s; }
.sample-tab:hover, .variant-card:hover { border-color: #e9a38e; box-shadow: 0 10px 26px rgba(31, 42, 35, .08); transform: translateY(-2px); }
.sample-tab.selected, .sample-tab[aria-selected="true"], .variant-card.selected, .variant-card.active {
  border-color: #ee795a;
  background: #fff2ec;
  box-shadow: inset 0 0 0 1px #ee795a, 0 7px 18px rgba(241, 112, 82, .08);
}
.tab-name, .tab-price { color: #233129; }
.parts-grid { gap: 11px; }
.part-card {
  padding: 16px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(31, 42, 35, .035);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.part-card:hover { border-color: #edab96; box-shadow: 0 10px 24px rgba(31, 42, 35, .08); transform: translateY(-2px); }
.part-category { color: #ca5a40; }
.part-name { color: #1f2b24; }
.part-price, .summary-row strong, .summary-row.total strong { color: #1c2922; }
.buy-links { gap: 7px; }
.buy-links a { border-color: #e1e5dd; background: #f7f7f1; color: #4c5b52; }
.buy-links a:hover { border-color: #ec9b80; background: #fff0e8; color: #be5137; }
.sample-check { border-color: #d8e8dc; background: #f0f8f0; color: #3e694d; border-radius: 12px; }
.summary-card { border-radius: 18px; }
.summary-row { color: #69766e; border-bottom-color: #edf0ea; }
.summary-row.total { color: #27352d; border-color: #e4e8e1; }
.summary-divider { border-color: #e2e7df; }
.summary-small, .price-footnote, .help-text { color: #7c8981; }
.build-yours-note { color: #87938b; }
.build-yours { margin-top: 18px; }

.step-card, .source-card { border-radius: 18px; }
.step-card:hover, .source-card:hover { border-color: #e7a48e; box-shadow: 0 12px 28px rgba(31, 42, 35, .08); transform: translateY(-2px); }
.step-card h3, .source-card h3 { color: #1d2922; }
.step-card p, .source-card p { color: #68766e; }
.step-number { color: #d75e42; }
.step-icon { background: #fff0e8; color: #db6448; }
.sources-section { padding-bottom: 100px; }

.site-footer {
  background: #16231e;
  border-top: 1px solid #293a32;
  color: #f5f5ef;
}
.footer-brand .brand { color: #f6f5ef; }
.footer-brand .brand-light { color: #c0cbc3; }
.footer-brand p, .copyright { color: #a4b1a8; }
.copyright { border-color: #36453d; }
.footer-links h3 { color: #ff9577; }
.footer-links a { color: #c0cbc3; }
.footer-links a:hover { color: #ff9a7c; }
.site-footer .brand-icon { color: #ff8967; }

.builder-view, .results-view { padding-bottom: 88px; }
.builder-top { border-bottom-color: #dde3dc; }
.builder-top .text-button { color: #67756d; }
.builder-top .text-button:hover { color: #d65e42; }
.builder-brand { color: #243129; }
.builder-brand .brand-icon { color: #f17052; }
.builder-intro { margin-top: 50px; }
.builder-intro h1, .results-title-row h1 { color: #17211c; }
.builder-intro p, .results-title-row p { color: #66736b; }
.requirements { padding: 24px; border-radius: 20px; }
.requirements h2 { color: #1c2922; }
.label-spaced, .full-label { color: #4a5a50; }
.requirements .input-wrap { background: #fffefa; }
.builder-use-card { background: #f8f8f3; border-color: #dfe4dc; color: #405046; border-radius: 13px; transition: .18s ease; }
.builder-use-card:hover { border-color: #ef9c81; background: #fff5f0; }
.builder-use-card.selected, .builder-use-card[aria-pressed="true"] { border-color: #eb7556; background: #fff0e8; color: #bb4e36; box-shadow: inset 0 0 0 1px #eb7556; }
.fake-toggle { background: #dbe1da; }
.toggle-row input:checked + .fake-toggle { background: #ec7152; }
.toggle-row { color: #3d4b42; }
.budget-head { margin-bottom: 20px; }
.updated-label { color: #839087; }
.tier-group { border-color: #dfe4dc; background: #fffefa; border-radius: 13px; }
.tier-group-head { color: #29362e; }
.tier-row { border-color: #edf0ea; color: #48574e; }
.tier-row:hover, .tier-row.selected { background: #fff1e9; border-color: #ed9c81; color: #bd4f36; }
.tier-name { color: #26342b; }
.tier-value { color: #cf5c40; }

.results-title-row { margin-top: 46px; }
.results-status { color: #5e7065; }
.variant-card { border-radius: 15px; }
.results-toolbar { color: #304038; border-color: #dfe4dc; }
.results-toolbar > div > b { color: #1c2922; }
.disclosure { color: #7a867f; }
.results-layout { grid-template-columns: minmax(0, 1fr) 312px; gap: 21px; }
.result-summary { top: 92px; }
.extras-row .button { color: #c65a3e; }
.compat-wrap { overflow: hidden; border-radius: 15px; }
.compat-toggle { background: #fffefa; color: #26352d; }
.compat-toggle small { color: #7a8980; }
.compat-details { border-color: #e5e9e3; }
.compat-item { color: #58675e; }
.compat-item svg, .compat-check { color: #51a56f; }
.explanation-card { border-radius: 17px; }
.explanation-card h2 { color: #1c2922; }
.explanation-card p, .rationale-note { color: #69776e; }
.rationale-note svg { color: #d96648; }
.share-menu { border-color: #dce2da; background: #fffefa; box-shadow: 0 14px 36px rgba(26, 38, 30, .14); }
.share-menu button { color: #39483f; }
.share-menu button:hover { background: #fff1e9; color: #c65238; }

.modal-root { background: rgba(20, 31, 25, .62); backdrop-filter: blur(6px); }
.modal-card { background: #fffefa; border-color: #dce2da; color: #19231d; border-radius: 20px; box-shadow: 0 30px 90px rgba(15, 26, 19, .26); }
.modal-head h2 { color: #19231d; }
.modal-head p, .modal-footnote { color: #6c7971; }
.icon-button { background: #f2f3ed; border-color: #dce2da; color: #57645c; }
.compare-row { color: #526057; }
.compare-bar { background: #e6eae3; }
.compare-bar i { background: linear-gradient(90deg, #ed7657, #ffae75); }
.compare-row:nth-child(2) .compare-bar i { background: linear-gradient(90deg, #679a76, #9ac881); }
.compare-row:nth-child(3) .compare-bar i { background: linear-gradient(90deg, #6787bf, #90aee2); }
.compare-row strong { color: #27342c; }
.toast { color: #f8f7f1; background: #1d2a23; border-color: #33483c; box-shadow: 0 12px 32px rgba(22, 35, 28, .24); }
.spinner { border-color: #f17052; border-right-color: transparent; }

@keyframes brand-charge {
  0%, 78%, 100% { filter: drop-shadow(0 0 0 rgba(241, 112, 82, 0)); }
  86% { filter: drop-shadow(0 0 6px rgba(241, 112, 82, .68)); }
  93% { filter: drop-shadow(0 0 2px rgba(241, 112, 82, .3)); }
}
@keyframes halo-breathe {
  0%, 100% { transform: scale(.98); opacity: .86; }
  50% { transform: scale(1.025); opacity: 1; }
}
@keyframes orbit-beam { to { transform: rotate(340deg); } }
@keyframes float-card {
  0%, 100% { transform: translate(3px, -9px); }
  50% { transform: translate(3px, -17px); }
}

@media (max-width: 1000px) {
  .hero { width: min(100% - 40px, 900px); padding: 62px 38px 50px; }
  .hero h1 { font-size: 55px; }
  .sample-layout { grid-template-columns: minmax(0, 1fr) 285px; }
  .results-layout { grid-template-columns: minmax(0, 1fr) 270px; }
}
@media (max-width: 740px) {
  .page-shell { width: calc(100% - 32px); }
  .site-header { height: 64px; padding-inline: 16px; }
  .brand { font-size: 21px; gap: 7px; }
  .brand-icon { width: 34px; height: 34px; }
  .header-actions { gap: 6px; }
  .hero { width: calc(100% - 20px); margin: 10px auto 35px; padding: 43px 22px 35px; border-radius: 23px; gap: 7px; }
  .hero h1 { font-size: clamp(42px, 10vw, 58px); letter-spacing: -2.8px; }
  .hero h1 span { white-space: normal; }
  .hero-lede { font-size: 16px; }
  .value-points { font-size: 8px; gap: 9px; margin-bottom: 18px; }
  .hero-form { padding: 15px; border-radius: 14px; }
  .hero-visual { margin-top: 8px; }
  .hero-halo { width: 310px; height: 310px; }
  .main-float { animation-duration: 7s; }
  .sample-section, .how-section, .sources-section { padding-top: 56px; padding-bottom: 62px; }
  .section-head h2, .budget-head h2 { font-size: 28px; }
  .section-head p { font-size: 13px; }
  .sample-main { padding: 12px; }
  .summary-card { border-radius: 15px; }
  .step-card, .source-card { border-radius: 15px; }
  .builder-top { border-bottom: 1px solid #dfe4dc; }
  .builder-intro { margin: 32px auto 27px; }
  .builder-intro h1, .results-title-row h1 { font-size: 30px; }
  .requirements { padding: 17px; }
  .results-title-row { margin-top: 28px; }
  .results-layout { grid-template-columns: 1fr; }
  .result-summary { order: -1; }
  .explanation-card { padding: 18px; }
}
@media (max-width: 390px) {
  .brand { font-size: 19px; }
  .brand-icon { width: 31px; height: 31px; }
  .hero { padding-inline: 17px; }
  .header-actions .button.small { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Calm dark theme */
:root {
  color-scheme: dark;
  --bg: #111714;
  --header: #151d19;
  --panel: #19211d;
  --panel-2: #202a24;
  --border: #2e3a33;
  --border-soft: #26312b;
  --teal: #91b5a0;
  --teal-bright: #a5c7b1;
  --teal-dim: #526e5d;
  --text: #e5eae4;
  --muted: #a9b5ac;
  --subtle: #7e8b82;
}
html, body { background: #111714; color: #e5eae4; }
body { scrollbar-color: #435249 #111714; }
::selection { background: #31493a; color: #f1f5ef; }
:focus-visible { outline-color: #91b5a0; }

.site-header { background: rgba(20, 28, 24, .94); border-bottom-color: #28342d; box-shadow: 0 6px 22px rgba(0, 0, 0, .12); }
.brand { color: #e7ede7; }
.brand-light { color: #9fb3a5; }
.brand-icon { color: #99baa5; animation-duration: 6.4s; }
.main-nav a { color: #a3afa6; }
.main-nav a:hover { color: #bed0c1; }
.button { border-color: #334139; background: #1c2520; color: #dce5dd; box-shadow: none; }
.button:hover { border-color: #738e7b; color: #e7efe7; background: #243029; }
.button.primary { color: #142019; background: #91b5a0; border-color: #91b5a0; box-shadow: 0 5px 15px rgba(95, 130, 105, .13); }
.button.primary:hover { color: #111a15; background: #a7c6b1; border-color: #a7c6b1; }
.button.outline { color: #b8cbbc; border-color: #45584b; background: #1a241e; }
.button.outline:hover { color: #dce9de; border-color: #77937e; background: #25332a; }
.button.ghost { color: #aab7ae; border-color: #344138; background: transparent; }
.button.ghost:hover { color: #dce9de; border-color: #607768; background: #202a24; }

.hero {
  border-color: #293a30;
  background:
    radial-gradient(ellipse at 83% 48%, rgba(132, 167, 142, .105), transparent 36%),
    radial-gradient(ellipse at 9% 2%, rgba(96, 126, 105, .12), transparent 40%),
    linear-gradient(130deg, #1a2520 0%, #151e1a 56%, #18231d 100%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .18);
  color: #e6ebe5;
}
.hero::before { opacity: .095; background-image: linear-gradient(rgba(218, 233, 220, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(218, 233, 220, .16) 1px, transparent 1px); }
.hero h1 { color: #f0f3ed; }
.hero h1 span { color: #aac5b1; }
.hero-lede { color: #b4c0b7; }
.value-points { color: #b3c0b6; }
.value-points svg { color: #9cbaa6; }
.hero-form { border-color: #334139; background: #202a24; color: #e3e9e3; box-shadow: 0 15px 38px rgba(0, 0, 0, .2); }
.hero-form .budget-field > span, .hero-form legend { color: #a9b8ad; }
.input-wrap { border-color: #3a4940; background: #151d19; color: #e0e7df; }
.input-wrap:focus-within { border-color: #8eae99; box-shadow: 0 0 0 3px rgba(145, 181, 160, .13); }
.input-wrap b { color: #a3baa9; }
.input-wrap input { color: #edf1eb; }
.input-wrap input::placeholder { color: #76847a; }
.use-chip { border-color: #39473e; background: #19221d; color: #b9c6bc; }
.use-chip:hover { border-color: #667e6d; background: #253129; color: #e1ebe2; }
.use-chip.selected, .use-chip.active, .use-chip[aria-pressed="true"] { border-color: #76927e; background: #29382d; color: #e2eee4; box-shadow: inset 0 0 0 1px #76927e; }
.hero .microcopy { color: #95a399; }
.hero .microcopy strong { color: #e2e9e1; }

.hero-halo { border-color: rgba(188, 211, 191, .13); background: radial-gradient(circle, rgba(139, 174, 148, .105) 0, rgba(102, 134, 109, .065) 38%, rgba(22, 38, 31, .01) 72%); box-shadow: 0 0 80px rgba(116, 153, 124, .07), inset 0 0 65px rgba(202, 228, 205, .025); animation-duration: 10s; }
.hero-halo::after { border-color: rgba(198, 216, 199, .12); border-top-color: rgba(163, 195, 171, .58); border-right-color: rgba(163, 195, 171, .34); animation-duration: 22s; }
.floating-card, .main-float { border-color: #36443b; background: linear-gradient(145deg, #27312b, #1d2721); color: #e0e7df; box-shadow: 0 20px 55px rgba(0, 0, 0, .24); }
.floating-card .brand-pill, .variant-strip .brand-pill { background: #202c25; color: #c3d0c6; border-color: #39473d; }
.main-float { border-color: #445349; box-shadow: 0 24px 65px rgba(0, 0, 0, .29); animation-duration: 8.5s; }
.float-head b, .score-line b { color: #e4ebe4; }
.price-tag, .top-pick { background: #2a3a30; color: #bdd0c1; }
.score-line { color: #a7b5aa; }
.score-line i, .status-dot { background: #91b5a0; box-shadow: 0 0 0 4px rgba(145, 181, 160, .11); }
.score-track { background: #35433a; }
.score-track i { background: linear-gradient(90deg, #789882, #a6c6b0); }
.variant-caption { color: #a6b3a9; }

.sample-section, .how-section, .sources-section { color: #e1e7e0; }
.sample-section { border-top-color: #2a352f; }
.eyebrow { color: #a5c1ab; }
.section-head h2, .budget-head h2 { color: #e7ece6; }
.section-head p, .budget-head p, .sample-date { color: #a6b2a9; }
.sample-date strong { color: #d8e1d8; }
.sample-date span { color: #849188; }
.sample-main, .summary-card, .requirements, .step-card, .source-card, .part-card, .compat-wrap, .explanation-card, .variant-card, .sample-tab {
  border-color: #2d3932;
  background: #19211d;
  color: #dce5dd;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .11);
}
.sample-main { background: #171f1b; }
.sample-tab:hover, .variant-card:hover, .part-card:hover, .step-card:hover, .source-card:hover { border-color: #53695a; box-shadow: 0 10px 24px rgba(0, 0, 0, .16); }
.sample-tab.selected, .sample-tab.active, .sample-tab[aria-selected="true"], .variant-card.selected, .variant-card.active { border-color: #718b77; background: #243128; box-shadow: inset 0 0 0 1px #718b77, 0 7px 18px rgba(0, 0, 0, .12); }
.tab-name, .tab-price, .part-name, .part-price, .summary-row strong, .summary-row.total strong { color: #e2e9e2; }
.part-category, .tier-value { color: #abc4b0; }
.part-card { background: #1c2520; }
.buy-links a { border-color: #36443b; background: #222d26; color: #b6c5ba; }
.buy-links a:hover { border-color: #718a77; background: #2a392f; color: #e1ece2; }
.sample-check { border-color: #34483a; background: #1d2b22; color: #b9d0bd; }
.summary-row { color: #a8b5ab; border-bottom-color: #29352e; }
.summary-row.total { color: #dfe7df; border-color: #344139; }
.summary-divider { border-color: #344139; }
.summary-small, .price-footnote, .help-text, .build-yours-note { color: #8f9d93; }
.step-card h3, .source-card h3, .explanation-card h2 { color: #e3e9e2; }
.step-card p, .source-card p, .explanation-card p { color: #a6b3a9; }
.step-number { color: #a9c4af; }
.step-icon { background: #29362d; color: #adc5b3; }

.site-footer { background: #0d1310; border-top-color: #26332b; color: #e2e9e2; }
.footer-brand .brand { color: #e6ece5; }
.footer-brand .brand-light { color: #9caf9f; }
.footer-brand p, .copyright { color: #92a096; }
.copyright { border-color: #2a3830; }
.footer-links h3 { color: #a7c2ae; }
.footer-links a { color: #aebbb1; }
.footer-links a:hover { color: #d1dfd3; }
.site-footer .brand-icon { color: #a2c0aa; }

.builder-top { border-bottom-color: #2c3831; }
.builder-top .text-button { color: #a8b4aa; }
.builder-top .text-button:hover { color: #d3e0d4; }
.builder-brand, .requirements h2 { color: #e1e8e1; }
.builder-brand .brand-icon { color: #9fbea8; }
.builder-intro h1, .results-title-row h1 { color: #e8ede7; }
.builder-intro p, .results-title-row p, .results-status { color: #a5b2a8; }
.requirements { background: #19211d; }
.label-spaced, .full-label { color: #b0beb4; }
.requirements .input-wrap { background: #131a16; }
.builder-use-card { background: #1c2620; border-color: #354239; color: #b8c6bc; }
.builder-use-card:hover { border-color: #657e6c; background: #26332a; }
.builder-use-card.selected, .builder-use-card.active, .builder-use-card[aria-pressed="true"] { border-color: #78927e; background: #28372d; color: #e0ece2; box-shadow: inset 0 0 0 1px #78927e; }
.fake-toggle { background: #3a473e; }
.toggle-row input:checked + .fake-toggle { background: #87a891; }
.toggle-row { color: #c2cdc4; }
.updated-label { color: #829087; }
.tier-group { border-color: #2d3932; background: #19211d; }
.tier-group-head, .tier-name { color: #dce5dd; }
.tier-row { border-color: #29352e; color: #adbbb1; }
.tier-row:hover, .tier-row.selected { background: #26342b; border-color: #647d6a; color: #e1ebe2; }
.results-toolbar { color: #abb8ae; border-color: #2d3932; }
.results-toolbar > div > b { color: #e0e8df; }
.disclosure { color: #8e9c92; }
.extras-row .button { color: #b9cbbb; }
.compat-wrap { background: #19211d; }
.compat-toggle { background: #19211d; color: #d9e3da; }
.compat-toggle small, .compat-item { color: #9eaca2; }
.compat-details { border-color: #2c3831; }
.compat-item svg, .compat-check { color: #91b5a0; }
.rationale-note { color: #9eaca2; }
.rationale-note svg { color: #a4c0ab; }
.share-menu { border-color: #344138; background: #1c2520; box-shadow: 0 14px 36px rgba(0, 0, 0, .3); }
.share-menu button { color: #c2cec4; }
.share-menu button:hover { background: #27332b; color: #e4ece4; }

.modal-root { background: rgba(5, 10, 7, .72); }
.modal-card { background: #1b241f; border-color: #39473e; color: #e2e9e2; box-shadow: 0 30px 90px rgba(0, 0, 0, .46); }
.modal-head h2 { color: #e8ede7; }
.modal-head p, .modal-footnote { color: #9aa89e; }
.icon-button { background: #202a24; border-color: #39473e; color: #bdc9bf; }
.compare-row { color: #b0bcb2; }
.compare-bar { background: #354138; }
.compare-bar i { background: linear-gradient(90deg, #789782, #a5c4ae); }
.compare-row:nth-child(2) .compare-bar i { background: linear-gradient(90deg, #7e9c80, #a6bf8a); }
.compare-row:nth-child(3) .compare-bar i { background: linear-gradient(90deg, #7289a8, #92a8c5); }
.compare-row strong { color: #dce5dd; }
.toast { color: #e7ece6; background: #202a24; border-color: #3b4940; box-shadow: 0 12px 32px rgba(0, 0, 0, .34); }
.spinner { border-color: #a0bda8; border-right-color: transparent; }
.form-error, .builder-error { color: #cf958a; }
.intel-word { color: #9cb6ca; }
.nvidia-word { color: #a9c4a2; }
.brand-pill.amd { color: #b9c4bb; }
.brand-pill.amd b { color: #c4a2a4; }

@keyframes brand-charge {
  0%, 82%, 100% { filter: drop-shadow(0 0 0 rgba(145, 181, 160, 0)); }
  90% { filter: drop-shadow(0 0 4px rgba(145, 181, 160, .34)); }
  96% { filter: drop-shadow(0 0 1px rgba(145, 181, 160, .14)); }
}
@keyframes halo-breathe {
  0%, 100% { transform: scale(.99); opacity: .82; }
  50% { transform: scale(1.01); opacity: 1; }
}
@keyframes float-card {
  0%, 100% { transform: translate(3px, -9px); }
  50% { transform: translate(3px, -13px); }
}

/* Variant palettes: Intel/NVIDIA, AMD, and AMD/NVIDIA. */
body {
  --theme-primary: #91b5a0;
  --theme-primary-bright: #a5c7b1;
  --theme-primary-rgb: 145, 181, 160;
  --theme-primary-ink: #142019;
  --theme-primary-soft: #29382d;
  --theme-primary-border: #536e5b;
  --theme-secondary: #91b5a0;
  --theme-secondary-bright: #b5cbb9;
  --theme-secondary-rgb: 145, 181, 160;
  --theme-secondary-soft: #29382d;
  --brand-intel: #a9c0dc;
  --brand-nvidia: #aec7a5;
  --brand-amd: #cf928d;
  --teal: var(--theme-primary);
  --teal-bright: var(--theme-primary-bright);
  --teal-dim: var(--theme-primary-border);
  --blue: var(--theme-primary);
  --green: var(--theme-secondary);
}
body[data-build-variant="intel"] {
  --theme-primary: #7fa6d8;
  --theme-primary-bright: #a0bee8;
  --theme-primary-rgb: 127, 166, 216;
  --theme-primary-ink: #101923;
  --theme-primary-soft: #263648;
  --theme-primary-border: #506b8b;
  --theme-secondary: #8eaf85;
  --theme-secondary-bright: #b0c99f;
  --theme-secondary-rgb: 142, 175, 133;
  --theme-secondary-soft: #293729;
  --brand-intel: #a0bee8;
  --brand-nvidia: #b0c99f;
}
body[data-build-variant="amd"] {
  --theme-primary: #ca7e78;
  --theme-primary-bright: #df9991;
  --theme-primary-rgb: 202, 126, 120;
  --theme-primary-ink: #211614;
  --theme-primary-soft: #382724;
  --theme-primary-border: #76514c;
  --theme-secondary: #ca7e78;
  --theme-secondary-bright: #df9991;
  --theme-secondary-rgb: 202, 126, 120;
  --theme-secondary-soft: #382724;
  --brand-amd: #df9991;
}
body[data-build-variant="hybrid"] {
  --theme-primary: #ca7e78;
  --theme-primary-bright: #df9991;
  --theme-primary-rgb: 202, 126, 120;
  --theme-primary-ink: #211614;
  --theme-primary-soft: #382724;
  --theme-primary-border: #76514c;
  --theme-secondary: #8eaf85;
  --theme-secondary-bright: #b0c99f;
  --theme-secondary-rgb: 142, 175, 133;
  --theme-secondary-soft: #293729;
  --brand-nvidia: #b0c99f;
  --brand-amd: #df9991;
}

.brand-icon, .builder-brand .brand-icon, .site-footer .brand-icon { color: var(--theme-primary-bright); }
.button.primary { color: var(--theme-primary-ink); background: var(--theme-primary); border-color: var(--theme-primary); }
.button.primary:hover { color: var(--theme-primary-ink); background: var(--theme-primary-bright); border-color: var(--theme-primary-bright); }
.button.outline { color: var(--theme-primary-bright); border-color: var(--theme-primary-border); }
.button.outline:hover, .button.ghost:hover { border-color: var(--theme-primary-border); color: var(--theme-primary-bright); }
.eyebrow, .footer-links h3 { color: var(--theme-primary-bright); }
.hero h1 span { color: var(--theme-primary-bright); }
.value-points svg, .rationale-note svg { color: var(--theme-secondary-bright); }
.input-wrap:focus-within { border-color: var(--theme-primary-border); box-shadow: 0 0 0 3px rgba(var(--theme-primary-rgb), .13); }
.use-chip:hover, .builder-use-card:hover { border-color: var(--theme-primary-border); }
.use-chip.selected, .use-chip.active, .use-chip[aria-pressed="true"], .builder-use-card.selected, .builder-use-card.active, .builder-use-card[aria-pressed="true"] { border-color: var(--theme-primary-border); background: var(--theme-primary-soft); box-shadow: inset 0 0 0 1px var(--theme-primary-border); }
.hero-halo { border-color: rgba(var(--theme-primary-rgb), .14); background: radial-gradient(circle, rgba(var(--theme-primary-rgb), .12) 0, rgba(var(--theme-secondary-rgb), .065) 38%, rgba(22, 38, 31, .01) 72%); box-shadow: 0 0 80px rgba(var(--theme-primary-rgb), .07), inset 0 0 65px rgba(var(--theme-secondary-rgb), .025); }
.hero-halo::after { border-top-color: rgba(var(--theme-primary-rgb), .58); border-right-color: rgba(var(--theme-secondary-rgb), .34); }
.price-tag { background: var(--theme-primary-soft); color: var(--theme-primary-bright); }
.top-pick { background: var(--theme-secondary-soft); color: var(--theme-secondary-bright); }
.score-line i { background: var(--theme-secondary); }
.score-track i { background: linear-gradient(90deg, var(--theme-primary), var(--theme-secondary)); }
.sample-tab:hover, .variant-card:hover, .part-card:hover, .step-card:hover, .source-card:hover { border-color: var(--theme-primary-border); }
.sample-tab.selected, .sample-tab.active, .sample-tab[aria-selected="true"], .variant-card.selected, .variant-card.active { border-color: var(--theme-primary-border); background: var(--theme-primary-soft); box-shadow: inset 0 0 0 1px var(--theme-primary-border), 0 7px 18px rgba(0, 0, 0, .12); }
.part-category, .tier-value, .step-number { color: var(--theme-primary-bright); }
.step-icon { background: var(--theme-primary-soft); color: var(--theme-primary-bright); }
.tier-row:hover, .tier-row.active, .tier-row.selected { background: var(--theme-primary-soft); border-color: var(--theme-primary-border); }
.brand-pill .intel-word { color: var(--brand-intel); }
.brand-pill .nvidia-word { color: var(--brand-nvidia); }
.brand-pill.amd b { color: var(--brand-amd); }
.footer-links a:hover { color: var(--theme-primary-bright); }
.spinner { border-color: var(--theme-primary-bright); border-right-color: transparent; }
@keyframes brand-charge {
  0%, 82%, 100% { filter: drop-shadow(0 0 0 rgba(var(--theme-primary-rgb), 0)); }
  90% { filter: drop-shadow(0 0 4px rgba(var(--theme-primary-rgb), .34)); }
  96% { filter: drop-shadow(0 0 1px rgba(var(--theme-primary-rgb), .14)); }
}

/* Let each platform palette tint the full page, not only its controls. */
body {
  --theme-canvas: #111714;
  --theme-page-background: radial-gradient(ellipse 80% 58% at 4% 0%, rgba(95, 131, 105, .13), transparent 72%), radial-gradient(ellipse 70% 62% at 100% 35%, rgba(95, 131, 105, .07), transparent 76%), #111714;
  --theme-header: #151d19;
  --theme-surface: #19211d;
  --theme-surface-raised: #202a24;
  --theme-surface-low: #151d19;
  --theme-footer: #0d1310;
  --theme-background-border: #2e3a33;
  --theme-hero-start: #1a2520;
  --theme-hero-end: #151e1a;
}
body[data-build-variant="intel"] {
  --theme-canvas: #101722;
  --theme-page-background: radial-gradient(ellipse 82% 62% at 3% 0%, rgba(87, 126, 185, .2), transparent 70%), radial-gradient(ellipse 74% 58% at 98% 36%, rgba(86, 138, 96, .13), transparent 76%), #101722;
  --theme-header: #141e2a;
  --theme-surface: #182332;
  --theme-surface-raised: #202e3d;
  --theme-surface-low: #141d28;
  --theme-footer: #0c131d;
  --theme-background-border: #344458;
  --theme-hero-start: #1a2939;
  --theme-hero-end: #121b27;
}
body[data-build-variant="amd"] {
  --theme-canvas: #1a1315;
  --theme-page-background: radial-gradient(ellipse 84% 62% at 8% 4%, rgba(168, 80, 78, .22), transparent 72%), radial-gradient(ellipse 66% 56% at 95% 62%, rgba(130, 61, 64, .13), transparent 76%), #1a1315;
  --theme-header: #1d1719;
  --theme-surface: #251a1c;
  --theme-surface-raised: #302225;
  --theme-surface-low: #191315;
  --theme-footer: #120d0f;
  --theme-background-border: #493438;
  --theme-hero-start: #2b1d21;
  --theme-hero-end: #1b1417;
}
body[data-build-variant="hybrid"] {
  --theme-canvas: #141915;
  --theme-page-background: radial-gradient(ellipse 78% 65% at 4% 4%, rgba(165, 77, 73, .2), transparent 72%), radial-gradient(ellipse 77% 64% at 98% 44%, rgba(82, 132, 88, .18), transparent 73%), #141915;
  --theme-header: #18201a;
  --theme-surface: #1d231e;
  --theme-surface-raised: #272f28;
  --theme-surface-low: #151b16;
  --theme-footer: #0e130f;
  --theme-background-border: #39453b;
  --theme-hero-start: #30231f;
  --theme-hero-end: #17241c;
}

html { background: var(--theme-canvas); }
body { min-height: 100vh; background: var(--theme-page-background); background-attachment: fixed; }
.site-header { background: var(--theme-header); border-bottom-color: var(--theme-background-border); }
.hero {
  border-color: var(--theme-background-border);
  background: radial-gradient(ellipse at 84% 42%, rgba(var(--theme-primary-rgb), .17), transparent 42%), radial-gradient(ellipse at 17% 88%, rgba(var(--theme-secondary-rgb), .13), transparent 46%), linear-gradient(130deg, var(--theme-hero-start), var(--theme-hero-end));
}
.hero-form, .requirements, .sample-main, .panel, .part-card, .sample-tab, .variant-card, .summary-card, .step-card, .source-card, .compat-wrap, .explanation-card {
  background-color: var(--theme-surface);
  border-color: var(--theme-background-border);
}
.hero-form, .input-wrap, .use-chip, .builder-use-card { background-color: var(--theme-surface-raised); }
.input-wrap, .use-chip, .builder-use-card { border-color: var(--theme-background-border); }
.input-wrap:focus-within { border-color: var(--theme-primary-border); }
.sample-main { background-color: var(--theme-surface-low); }
.part-card, .summary-card, .sample-tab, .variant-card, .step-card, .source-card, .requirements, .compat-wrap, .explanation-card { background-color: var(--theme-surface); }
.tier-group { background-color: var(--theme-surface); border-color: var(--theme-background-border); }
.tier-row { border-color: var(--theme-background-border); }
.floating-card, .main-float { background: linear-gradient(145deg, var(--theme-surface-raised), var(--theme-surface)); border-color: var(--theme-background-border); }
.brand-pill, .floating-card .brand-pill, .variant-strip .brand-pill { background-color: var(--theme-surface-low); border-color: var(--theme-background-border); }
.site-footer { background: var(--theme-footer); border-top-color: var(--theme-background-border); }
.modal-card, .share-menu { background-color: var(--theme-surface); border-color: var(--theme-background-border); }
.icon-button { background-color: var(--theme-surface-raised); border-color: var(--theme-background-border); }
.compat-toggle { background-color: var(--theme-surface); }
.compat-details, .summary-divider, .summary-row.total { border-color: var(--theme-background-border); }
.toast { background-color: var(--theme-surface-raised); border-color: var(--theme-background-border); }
.input-wrap input, .input-wrap select { color-scheme: dark; }

.currency-card {
  padding: 25px 28px;
  border: 1px solid var(--theme-background-border);
  border-radius: 20px;
  background: var(--theme-surface);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .11);
}
.currency-fields { display: grid; grid-template-columns: minmax(110px, 1.15fr) minmax(130px, 1fr) 22px minmax(130px, 1fr); align-items: end; gap: 10px; }
.currency-fields label { display: grid; gap: 6px; color: #aab7ad; font-size: 11px; font-weight: 650; }
.currency-fields input, .currency-fields select { width: 100%; min-width: 0; height: 44px; padding: 0 11px; border: 1px solid var(--theme-background-border); border-radius: 9px; background: var(--theme-surface-low); color: #e2e9e2; font: inherit; font-size: 13px; color-scheme: dark; }
.currency-fields input:focus, .currency-fields select:focus { outline: 2px solid var(--theme-primary-border); outline-offset: 1px; }
.currency-arrow { padding-bottom: 10px; color: var(--theme-secondary-bright); text-align: center; }
.currency-output { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--theme-background-border); }
.currency-output span { display: block; margin-bottom: 3px; color: #8d9b91; font: 500 9px var(--mono); letter-spacing: .13em; }
.currency-output strong { display: block; color: var(--theme-primary-bright); font-size: 23px; letter-spacing: -.4px; }
.currency-note { min-height: 17px; margin: 8px 0 0; color: #8d9b91; font-size: 10px; line-height: 1.5; }
.currency-note a { color: var(--theme-primary-bright); text-decoration: underline; text-underline-offset: 2px; }
.graphics-toggle:has(input:disabled) { opacity: .82; }

/* The budget currency marker opens the converter. */
.currency-trigger {
  display: inline-flex;
  width: 25px;
  height: 34px;
  flex: 0 0 25px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  padding: 0;
  background: transparent;
  color: var(--theme-primary-bright);
  font: 750 19px/1 var(--sans);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.currency-trigger:hover { background: var(--theme-primary-soft); color: var(--theme-primary-bright); transform: translateY(-1px); }
.currency-trigger:focus-visible { outline: 2px solid var(--theme-primary-bright); outline-offset: 2px; }
.currency-overlay {
  position: fixed;
  z-index: 105;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 7, 6, .68);
  backdrop-filter: blur(9px);
  animation: currency-fade-in .16s ease-out;
}
.currency-popover {
  display: block;
  width: min(560px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow-y: auto;
  padding: 26px;
  border-radius: 20px;
  background: var(--theme-surface);
  box-shadow: 0 28px 100px rgba(0, 0, 0, .52);
  animation: currency-pop-in .2s cubic-bezier(.2, .8, .2, 1);
}
.currency-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.currency-dialog-head h2 { margin: 2px 0 0; color: #e7ece6; font-size: 25px; letter-spacing: -.7px; }
.currency-description { margin: 8px 0 19px; color: #a6b3a9; font-size: 13px; line-height: 1.55; }
.currency-search-label { display: grid; gap: 6px; margin-bottom: 12px; color: #aab7ad; font-size: 11px; font-weight: 650; }
.currency-search-label input { width: 100%; min-width: 0; height: 42px; padding: 0 11px; border: 1px solid var(--theme-background-border); border-radius: 9px; background: var(--theme-surface-low); color: #e2e9e2; font: inherit; font-size: 13px; color-scheme: dark; }
.currency-search-label input:focus { outline: 2px solid var(--theme-primary-border); outline-offset: 1px; }
.currency-fields { grid-template-columns: minmax(92px, .88fr) minmax(125px, 1fr) 20px minmax(135px, 1fr); }
.currency-catalog-note { margin: 8px 0 0; color: #87958c; font-size: 10px; line-height: 1.5; }
.currency-popover .icon-button { flex: 0 0 34px; }
body.currency-open { overflow: hidden; }
@keyframes currency-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes currency-pop-in { from { opacity: 0; transform: translateY(9px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 740px) {
  .currency-popover { padding: 20px; border-radius: 17px; }
  .currency-dialog-head h2 { font-size: 22px; }
  .currency-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 11px; }
  .currency-fields label:first-child { grid-column: 1 / -1; }
  .currency-arrow { display: none; }
  .currency-fields label:nth-child(2) { grid-column: 1; }
  .currency-fields label:nth-child(4) { grid-column: 2; grid-row: 2; }
  .currency-output strong { font-size: 21px; }
}
@media (max-width: 420px) {
  .currency-overlay { padding: 12px; }
  .currency-popover { max-height: calc(100vh - 24px); padding: 17px; }
  .currency-output { align-items: flex-start; flex-direction: column; }
}

.language-button { min-width: 44px; padding-inline: 9px !important; color: var(--theme-primary-bright) !important; font: 600 10px var(--mono); letter-spacing: .06em; }
.language-gate {
  position: fixed;
  z-index: 160;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  overflow-y: auto;
  background: radial-gradient(ellipse 85% 72% at 50% 0%, rgba(var(--theme-primary-rgb), .14), transparent 70%), var(--theme-canvas);
}
body.language-open { overflow: hidden; }
body.language-open > :not(#languageGate) { visibility: hidden; }
.language-card {
  display: grid;
  gap: 22px;
  width: min(520px, 100%);
  padding: clamp(20px, 5vw, 30px);
  border: 1px solid var(--theme-background-border);
  border-radius: 22px;
  background: var(--theme-surface);
  box-shadow: 0 28px 110px rgba(0, 0, 0, .52);
  animation: language-arrive .28s cubic-bezier(.2, .8, .2, 1);
}
.language-prompt {
  display: grid;
  min-height: 2.45em;
  place-items: center;
  margin: 0;
  color: #eef1ec;
  text-align: center;
  font-size: clamp(25px, 5vw, 36px);
  letter-spacing: -.8px;
  line-height: 1.2;
}
.language-prompt-in { animation: language-prompt-in .56s cubic-bezier(.2, .8, .2, 1) both; }
.language-card select {
  width: 100%;
  min-width: 0;
  height: 54px;
  border: 1px solid var(--theme-background-border);
  border-radius: 10px;
  background: var(--theme-surface-low);
  color: #e3eae3;
  padding: 0 13px;
  font: 500 14px var(--sans);
  color-scheme: dark;
}
.language-card select:focus { outline: 2px solid var(--theme-primary-border); outline-offset: 2px; }
@keyframes language-arrive { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes language-prompt-in { from { opacity: 0; transform: translateY(11px); filter: blur(4px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@media (max-width: 740px) {
  .header-actions { gap: 7px; }
  .header-actions #signInBtn { display: none; }
  .language-card { border-radius: 18px; }
}
@media (max-width: 420px) {
  .language-gate { padding: 12px; }
  .language-card { gap: 18px; padding: 18px; }
  .language-card select { height: 50px; }
}
