:root {
  color-scheme: dark;
  --accent: #f3b9ce;
  --accent-soft: #3a2836;
  --muted: #d0b8c8;
  --line: #4a3749;
  background: #1a141e;
  color: #fbf0f5;
}
body { background: radial-gradient(ellipse at 36% 5%, #3c2339 0, transparent 39rem); }
.page { width: min(100% - 2rem, 65rem); }
.brand { border-bottom-color: #51404f; }
.monogram { border-color: #a7738e; background: #352538; }
.intro { padding-block: clamp(1.7rem, 5vw, 3.25rem) 2rem; }
h1 { letter-spacing: -.055em; }
h2 { font-family: inherit; font-size: 1.08rem; font-weight: 650; }
.workspace { grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); gap: 1rem; }
.panel { background: #261e2a; border-color: var(--line); }
.amount-field, select { color: #fbf0f5; background: #1d1620; border-color: #685163; }
.channel { background: #211924; }
.channel:has(:checked) { border-color: #c885a4; }
.result-card { position: relative; isolation: isolate; background: #493049; border: 1px solid #765271; }
.result-card::before { content: ''; position: absolute; z-index: -1; inset: 0; border-radius: inherit; background: radial-gradient(ellipse at 95% 10%, #75425e, transparent 75%); }
.result-controls select { border-color: #a47395; background: #352436; }
.result-controls label { color: #f9dce9; }
.quote-amount { color: #fff0f7; }
.comparison tbody tr:has(button[aria-pressed="true"]) { background: #473147; }
.comparison tbody tr:has(button[aria-pressed="true"]) th { box-shadow: inset 2px 0 #f3b9ce; }
.alert { color: #ffb2ce; }
:focus-visible { outline-color: #ffd9e8; }
@media (max-width: 47rem) {
  .page { width: min(100% - 1.5rem, 34rem); }
  .brand { gap: .6rem; padding-block: .7rem; }
  .monogram { width: 2.3rem; height: 2.3rem; font-size: 1.4rem; }
  .brand-name { font-size: 1.2rem; }
  .brand-subtitle { font-size: .8125rem; }
  .intro { padding-block: 1.15rem 1rem; }
  .intro h1 { font-size: clamp(1.85rem, 7vw, 2.9rem); margin-bottom: .4rem; }
  .intro p { font-size: .9375rem; line-height: 1.42; }
  .workspace { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
  .panel, .result-card { padding: .95rem; border-radius: .9rem; }
  #settings-title { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .amount-field input { height: 3rem; }
  .settings fieldset { margin-block: .85rem; }
  .channel { gap: .4rem; padding: .55rem .45rem; }
  .result-header { margin-bottom: .75rem; }
  .quote-amount { font-size: clamp(2.45rem, 10vw, 3.4rem); }
  .comparison { margin-top: .7rem; }
  .comparison th, .comparison td { padding-inline: .3rem; }
  .comparison td { overflow-wrap: anywhere; }
  .comparison-payment { font-size: .9375rem; }
  .settings-details { padding-block: .4rem; }
  .settings-details summary { min-height: 2.75rem; }
  footer { padding-bottom: max(1.25rem, env(safe-area-inset-bottom)); }
}
@media (max-width: 23rem) {
  .result-controls { min-width: min(7.5rem, 100%); }
  .comparison-payment { font-size: .875rem; }
  .comparison th, .comparison td { padding-inline: .22rem; }
}
