.color-home {
  --home-ink: #281737;
  --home-muted: #63566c;
  --home-paper: #fbf7ef;
  --home-lilac: #dec8f8;
  --home-lime: #d9f47d;
  --home-peach: #ffb39e;
  --home-blue: #cbdff7;
  --home-rule: #e3d9e6;
  --home-content: 1248px;
  color: var(--home-ink);
  padding: clamp(1.1rem, 2.6vw, 2.2rem) 0 clamp(3rem, 7vw, 6rem);
}

.color-home-shell {
  width: min(calc(100% - clamp(1.75rem, 6vw, 5rem)), var(--home-content));
  margin-inline: auto;
}

.color-home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(2.1rem, 4.4vw, 4.5rem);
  overflow: hidden;
  padding: clamp(2.1rem, 5.4vw, 5.15rem);
  border-radius: clamp(1.55rem, 3vw, 2.55rem);
  color: var(--home-paper);
  background: #281737;
}

.color-home-hero::before {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -1;
  width: 63%;
  background-image:
    radial-gradient(circle at 65% 65%, #55316e 0, #3d2253 44%, transparent 74%),
    repeating-radial-gradient(ellipse at 90% 110%, transparent 0 27px, #ffffff21 28px 29px, transparent 30px 54px);
  content: '';
  pointer-events: none;
}

.color-home-hero-copy { min-width: 0; }
.color-home-kicker {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1.05rem;
  color: #eadff2;
  font-size: .82rem;
  font-weight: 680;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.color-home-kicker::before {
  width: .54rem;
  height: .54rem;
  border-radius: 50%;
  background: var(--home-lime);
  content: '';
}
.color-home-hero-copy h1 {
  max-width: 16ch;
  margin: 0;
  color: #fff8f1;
  font-size: clamp(2.35rem, 4.55vw, 4.55rem);
  font-weight: 720;
  letter-spacing: -.075em;
  line-height: .99;
}
.color-home-hero-copy h1 em {
  display: block;
  color: var(--home-lime);
  font-style: normal;
}
.color-home-lead {
  max-width: 37ch;
  margin: 1.38rem 0 0;
  color: #eadff2;
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 1.65;
}
.color-home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem 1.2rem;
  margin-top: 1.65rem;
}
.color-home-button, .color-home-jump,
.color-home-text-link, .color-split-link {
  display: inline-flex;
  align-items: center;
  gap: .54rem;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}
.color-home-button {
  min-height: 49px;
  padding: .75rem .97rem .75rem 1.15rem;
  border: 1px solid transparent;
  border-radius: .8rem;
  color: var(--home-ink);
  background: var(--home-lime);
}
.color-home-button:hover { color: #17101e; background: #e9fba9; }
.color-home-jump { min-height: 44px; color: #f3e9f8; }
.color-home-jump:hover { color: var(--home-lime); }
.color-home-jump span { font-size: .9rem; }

.color-home-split-stage {
  --split-roll: -5deg;
  --split-pitch: 7deg;
  --split-yaw: -12deg;
  --split-radius: clamp(1.3rem, 2.5vw, 1.95rem);
  min-width: 0;
  perspective: 1250px;
}
.color-home-split {
  --split-ink: #281737;
  --split-muted: #564465;
  min-width: 0;
  padding: clamp(1.15rem, 2.9vw, 2.25rem);
  border: 1px solid #efddff;
  border-radius: var(--split-radius);
  box-shadow: 0 4px 0 #b78cd4, 0 21px 56px #150a2570;
  color: var(--split-ink);
  background: #e9daf9;
  transform: rotateZ(var(--split-roll)) rotateX(var(--split-pitch)) rotateY(var(--split-yaw)) translateZ(3px);
}
.color-split-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  margin-bottom: 1.35rem;
}
.color-split-head h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 720;
  letter-spacing: -.045em;
  line-height: 1.12;
}
.color-split-ratio {
  flex: 0 0 auto;
  padding: .34rem .49rem;
  border: 1px solid #c8afd9;
  border-radius: .43rem;
  color: var(--split-muted);
  font-size: .72rem;
  font-weight: 710;
  font-variant-numeric: tabular-nums;
}
.color-split-field {
  display: grid;
  gap: .45rem;
  margin: 0;
  color: var(--split-muted);
  font-size: .79rem;
  font-weight: 700;
}
.color-split-input {
  display: flex;
  align-items: center;
  min-height: 51px;
  padding: 0 .85rem;
  border: 1px solid #cbb5d9;
  border-radius: .7rem;
  background: #fffafc;
}
.color-split-input .cur-sym { min-width: 1rem; color: var(--split-muted); font-size: 1rem; }
.color-split-input input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: .63rem 0 .63rem .16rem;
  border: 0;
  color: var(--split-ink);
  background: transparent;
  font: inherit;
  font-size: 1.35rem;
  font-weight: 740;
  font-variant-numeric: tabular-nums;
}
.color-split-input input:focus { outline: 0; box-shadow: none; }
.color-split-input:focus-within { outline: 2px solid #674686; outline-offset: 2px; }
.color-split-visual {
  display: grid;
  grid-template-columns: minmax(75px, .68fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(.85rem, 2vw, 1.55rem);
  padding: 1.25rem 0 1.27rem;
}
.color-split-donut {
  display: grid;
  width: 100%;
  max-width: 152px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(from -90deg, transparent 0 var(--split-fill, 100%), #cdb7df var(--split-fill, 100%) 100%),
    conic-gradient(from -90deg, #8d59c7 0 49%, #e9daf9 49% 50%, #f49076 50% 79%, #e9daf9 79% 80%, #b8d65e 80% 99%, #e9daf9 99% 100%);
}
.color-split-donut > div {
  display: grid;
  width: 65%;
  height: 65%;
  place-items: center;
  border-radius: 50%;
  color: #674686;
  background: #e9daf9;
}
.color-split-legend { display: grid; gap: .61rem; min-width: 0; margin: 0; }
.color-split-legend > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .4rem; }
.color-split-legend dt { display: flex; flex-wrap: wrap; align-items: center; gap: .18rem .35rem; color: var(--split-ink); font-size: .83rem; font-weight: 650; }
.color-split-legend small { color: var(--split-muted); font-size: .68rem; }
.color-split-legend dd { margin: 0; color: var(--split-ink); font-size: .84rem; font-weight: 730; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.color-split-dot { width: .52rem; height: .52rem; flex: 0 0 auto; border-radius: 50%; }
.color-dot-needs { background: #8d59c7; }
.color-dot-wants { background: #f49076; }
.color-dot-savings { background: #a3bd46; }
.color-split-link { min-height: 39px; width: 100%; justify-content: space-between; padding-top: .7rem; border-top: 1px solid #ccb4df; color: #4e3169; }
.color-split-link:hover { color: #281737; text-decoration: underline; }

.color-home-tools, .color-home-guides, .color-home-faq {
  margin-top: clamp(2.45rem, 6.2vw, 5.1rem);
}
.color-home-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .65rem 1.2rem;
  margin-bottom: 1.15rem;
}
.color-home-section-head h2, .color-home-faq h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(1.75rem, 3.3vw, 2.8rem);
  font-weight: 730;
  letter-spacing: -.055em;
  line-height: 1.06;
}
.color-home-text-link { flex: 0 0 auto; min-height: 36px; color: var(--home-ink); }
.color-home-text-link:hover { color: var(--home-ink); text-decoration: underline; }
.color-home-tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.7rem, 1.55vw, 1.08rem); }
.color-home-tool {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  min-height: 180px;
  padding: clamp(1.05rem, 2.2vw, 1.55rem);
  border: 1px solid #28173714;
  border-radius: 1.35rem;
  color: #281737;
  background: var(--tool-tint);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.color-home-tool::before {
  position: absolute;
  right: -39px;
  bottom: -63px;
  z-index: -1;
  width: 120px;
  height: 120px;
  border: 1px solid #28173728;
  border-radius: 50%;
  box-shadow: 0 0 0 17px #28173709;
  content: '';
  pointer-events: none;
}
.color-home-tool--lilac { --tool-tint: #e7d8f6; }
.color-home-tool--lime { --tool-tint: #e5f4a6; }
.color-home-tool--peach { --tool-tint: #ffd1bf; }
.color-home-tool--blue { --tool-tint: #d7e8fb; }
.color-home-tool:hover { color: #281737; transform: translateY(-3px); box-shadow: 0 12px 27px #28173713; }
.color-home-tool-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; margin-bottom: 1.15rem; }
.color-home-tool-icon, .color-home-tool-arrow { display: grid; flex: 0 0 auto; place-items: center; }
.color-home-tool-icon { width: 41px; height: 41px; border-radius: .75rem; background: #fff8; }
.color-home-tool-arrow { width: 31px; height: 31px; border: 1px solid #28173723; border-radius: 50%; }
.color-home-tool h3, .color-home-guide h3 { margin: 0 0 .42rem; color: inherit; font-size: clamp(1.1rem, 1.7vw, 1.37rem); font-weight: 730; letter-spacing: -.035em; line-height: 1.18; }
.color-home-tool p, .color-home-guide p { margin: 0; color: inherit; font-size: .89rem; line-height: 1.49; }
.color-home-tool p { max-width: 26ch; color: #4e3f59; }

.color-home-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.color-home-guide {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: clamp(1rem, 2.3vw, 1.65rem);
  border: 1px solid var(--home-rule);
  border-radius: 1.15rem;
  color: var(--home-ink);
  background: var(--home-paper);
  text-decoration: none;
}
.color-home-guide:hover { color: var(--home-ink); border-color: #94809e; }
.color-home-guide p { margin-bottom: .6rem; color: var(--home-muted); }
.color-home-guide > span { display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; font-size: .82rem; font-weight: 700; }
.color-home-faq { display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr); gap: 1.15rem 3.5rem; }
.color-home-faq h2 { margin-bottom: .64rem; }
.color-home-faq-list { border-top: 1px solid var(--home-rule); }
.color-home-faq-list details { border-bottom: 1px solid var(--home-rule); }
.color-home-faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: .85rem; padding: .9rem 0; color: var(--home-ink); font-weight: 690; cursor: pointer; list-style: none; }
.color-home-faq-list summary::-webkit-details-marker { display: none; }
.color-home-faq-list summary::after { flex: 0 0 auto; color: var(--home-muted); font-size: 1.2rem; line-height: 1; content: '+'; }
.color-home-faq-list details[open] summary::after { content: '−'; }
.color-home-faq-list p { margin: .05rem 1rem 1.03rem 0; color: var(--home-muted); line-height: 1.65; }
.color-home-faq-list p a { color: var(--home-ink); text-decoration: underline; }
.color-home a:focus-visible, .color-home summary:focus-visible { outline: 2px solid #8960ad; outline-offset: 3px; }
.color-home-hero a:focus-visible { outline-color: var(--home-lime); }
.color-home-split a:focus-visible { outline-color: #674686; }
.color-home #savings-play { scroll-margin-top: 5.4rem; }

[data-theme='dark'] .color-home {
  --home-ink: #fff5fc;
  --home-muted: #d2bfdc;
  --home-paper: #2a1b36;
  --home-rule: #584464;
}
[data-theme='dark'] .color-home-button, [data-theme='dark'] .color-home-button:hover { color: #281737; }
[data-theme='dark'] .color-home-hero { border: 1px solid #513b66; }

@media (max-width: 1000px) {
  .color-home-hero { padding: clamp(1.9rem, 4vw, 3rem); gap: 1.65rem; }
  .color-home-hero-copy h1 { font-size: clamp(2.35rem, 4.8vw, 4.1rem); }
  .color-home-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .color-home-hero { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .color-home-hero-copy h1 { font-size: clamp(2.1rem, 8.4vw, 3.7rem); }
  .color-home-hero::before { width: 100%; }
  .color-home-split-stage {
    --split-roll: -2deg;
    --split-pitch: 4deg;
    --split-yaw: -7deg;
    width: 100%;
    max-width: 420px;
  }
  .color-split-visual { grid-template-columns: minmax(70px, .58fr) minmax(0, 1fr); }
  .color-split-donut { max-width: 112px; }
  .color-home-guide-grid, .color-home-faq { grid-template-columns: minmax(0, 1fr); }
  .color-home-section-head { flex-wrap: wrap; align-items: flex-start; margin-bottom: .8rem; }
  .color-home-text-link { min-height: 31px; }
  .color-home-tool { min-height: 146px; padding: .86rem; border-radius: 1rem; }
  .color-home-tool-top { margin-bottom: .65rem; }
  .color-home-tool h3 { font-size: 1.06rem; }
  .color-home-tool p { font-size: .83rem; }
}

@media (max-width: 387px) {
  .color-home-hero { padding: 1.3rem; }
  .color-home-split { padding: .85rem; }
  .color-split-visual { gap: .65rem; }
  .color-split-legend > div { gap: .23rem; }
  .color-split-legend dt, .color-split-legend dd { font-size: .77rem; }
  .color-split-legend small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .color-home-tool { transition: none; }
  .color-home-tool:hover { transform: none; }
}
