/* Version 8.1: the simple look. Loaded after styles.css, so it only holds what changes. */

:root {
  --page: #101117;
  --surface: #181a26;
  --surface-2: #212433;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f5f8;
  --text-2: #c4c8d4;
  --muted: #979cab;
  --grid: #2a2d3b;
  --axis: #383c4d;
  --purple: #9b5cf6;
  --teal: #22c0cb;
  --amber: #ffb03a;
  --coral: #ff7d66;
  --blue: #4f9cff;
  --rose: #ff6b7c;
}

/* Surfaces that styles.css writes as plain colours. */
.bottom-nav { grid-template-columns: repeat(5, 1fr); background: #14151f; }
.bottom-link { text-align: center; }
.wiz-live, .status-card, .viz { background: #14151f; }
.viz .chart-dot, .chart-end { stroke: #14151f; }
.bar-track { background: var(--surface-2); }

/* Top of every page */
.promo { gap: 8px; background: linear-gradient(90deg, #3874e4, #2a93c8 50%, #20b8ab); font-size: 14px; }
.promo a { font-weight: 500; text-decoration: none; white-space: nowrap; }
.promo a:hover { text-decoration: underline; }
.promo .bar { opacity: 0.7; }
@media (max-width: 419px) { #promo-text span { display: none; } } /* one line on a small phone */
.topbar { gap: 14px; padding: 8px 20px; background: rgba(16, 17, 23, 0.96); }
.topbar::after { height: 3px; bottom: -3px; }
.brand { font-size: 20px; }
.top-links { gap: 6px; margin-right: 12px; }
.top-link { padding: 10px 14px; font-size: 16px; color: var(--text-2); white-space: nowrap; }
.top-link.active { color: #f8c23a; background: var(--surface-2); }
.bottom-link.active { color: var(--amber); }
select.lang { flex: none; width: auto; min-height: 40px; padding: 0 30px 0 12px; border: 1px solid var(--line-strong); border-radius: 10px; font-size: 15px; cursor: pointer; appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4c8d4' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 9px center / 16px no-repeat; }
select.lang:hover { background-color: var(--surface-2); }
select.lang option { background: var(--surface); color: var(--text); }
.topbar .account-link { min-height: 40px; padding: 0 16px; border-radius: 10px; font-size: 15px; }
@media (min-width: 900px) and (max-width: 1180px) { .topbar { gap: 8px; padding: 8px 14px; } .top-links { gap: 0; margin-right: 4px; } .top-link { padding: 9px 9px; font-size: 14.5px; } .brand { font-size: 18px; } }

.footer { max-width: none; margin-top: 64px; padding: 0 var(--gutter); background: #0b0c11; border-top: 1px solid var(--line); font-size: 15px; }
.foot-grid, .foot-end { max-width: 1048px; margin: 0 auto; }
.foot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 44px 0 40px; }
.foot-col { padding: 0 40px; border-left: 1px solid var(--line); }
.foot-col:first-child { padding-left: 0; border-left: 0; }
.foot-col:last-child { padding-right: 0; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 20px; font-weight: 600; }
.foot-brand:hover { text-decoration: none; }
.foot-about p { margin: 12px 0 0; color: var(--text-2); }
.foot-about .foot-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.foot-langs a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text-2); font-size: 14px; }
.foot-langs a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
html[lang="en"] .foot-langs [data-lang="en"], html[lang="hi"] .foot-langs [data-lang="hi"], html[lang="mr"] .foot-langs [data-lang="mr"] { color: var(--text); border-color: #22c7c9; }
.foot-col h2 { margin: 0 0 10px; color: var(--text); font-size: 16px; font-weight: 600; line-height: 1.5; }
.foot-col ul { margin: 0; padding: 0; list-style: none; }
.foot-col li { margin: 0; }
.foot-col li a { display: inline-block; padding: 6px 0; color: var(--text-2); }
.foot-col li a:hover { color: #2bd0d2; text-decoration: none; }
.foot-end { display: flex; justify-content: space-between; gap: 8px 32px; padding: 18px 0 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.foot-end p { margin: 0; }
.foot-end p:first-child { flex: none; }
@media (max-width: 899px) { .foot-col { padding: 0 24px; } }
@media (max-width: 699px) {
  .footer { margin-top: 48px; box-shadow: 0 100px 0 #0b0c11; } /* the space behind the bottom menu */
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; padding: 32px 0 28px; }
  .foot-about { grid-column: 1 / -1; padding: 0 0 28px; border-bottom: 1px solid var(--line); }
  .foot-col + .foot-col { padding: 0 12px 0 0; border-left: 0; }
  .foot-col + .foot-col + .foot-col { padding: 0 0 0 20px; border-left: 1px solid var(--line); }
  .foot-col li a { padding: 9px 0; }
  .foot-end { flex-direction: column-reverse; }
}

.ai-fab { background: linear-gradient(100deg, #6a5cf5, #d6559f); color: #fff; }
.ai-fab:hover { text-decoration: none; }
.ai-fab { transition: opacity 0.2s, visibility 0.2s; }
@media (min-width: 900px) and (max-width: 1499px) { .ai-fab { width: 52px; min-width: 52px !important; min-height: 52px !important; padding: 0; border-radius: 50%; } .ai-fab .ic { width: 24px; height: 24px; } .ai-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }
@media (min-width: 900px) {
  .ai-fab { min-width: 168px; min-height: 48px; justify-content: center; font-size: 15px; }
  .fab-wait .ai-fab { opacity: 0; visibility: hidden; }
}

/* The payoff page */
body { overflow-x: clip; }
.payoff, .unlock { position: relative; max-width: 1000px; margin: 0 auto; padding-bottom: 24px; }
.payoff > *, .unlock > * { position: relative; }
.payoff > .pf-glow, .unlock > .pf-glow {
  position: absolute; z-index: -1; top: 40px; left: 50%; width: 100vw; height: 760px; transform: translateX(-50%); pointer-events: none;
  background:
    radial-gradient(300px 300px at calc(50% - 400px) 50%, rgba(142, 76, 224, 0.75), rgba(142, 76, 224, 0.3) 55%, transparent 78%),
    radial-gradient(300px 300px at calc(50% + 400px) 50%, rgba(28, 160, 170, 0.7), rgba(28, 160, 170, 0.28) 55%, transparent 78%);
}
.pf-head { padding-top: 44px; text-align: center; }
.pf-head h1 { margin: 0 0 10px; font-size: clamp(27px, 7.4vw, 40px); font-weight: 700; text-wrap: balance; }
.pf-head p { max-width: 42em; margin: 0 auto; color: var(--text-2); font-size: clamp(15px, 4vw, 18px); text-wrap: balance; }
.pf-head h1 span { white-space: nowrap; }
.amber { color: var(--amber); }
.teal { color: var(--teal); }
.coral { color: var(--coral); }

.pf-mode { display: inline-flex; margin-top: 22px; padding: 4px; border: 1px solid var(--line-strong); border-radius: 99px; background: var(--surface-2); }
.pf-mode a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 20px; border-radius: 99px; color: var(--text-2); font-size: 15px; text-align: center; }
.pf-mode a:hover { text-decoration: none; }
.pf-mode a.on { background: linear-gradient(100deg, #2380f2, #8b4cf6); color: #fff; font-weight: 500; }
.pf-mode a:not(.on):hover { color: var(--text); }

.pf-cards { display: grid; gap: 20px; margin-top: 32px; }
.pf-card { --c: var(--purple); display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 22px; border: 1px solid color-mix(in srgb, var(--c) 65%, transparent); border-top: 4px solid var(--c); border-radius: 12px; background: var(--surface); }
.pf-card.two { --c: var(--teal); scroll-margin-top: 76px; }
.pf-card h2 { margin: 0 0 18px; font-size: 20px; }
.pf-card h3 { margin: 10px 0 12px; font-size: 17px; }

.pf-field { margin-bottom: 8px; }
@media (min-width: 900px) { .pf-field { margin-bottom: 18px; } .pf-card.one h3 { margin-top: 16px; } .pf-speed { min-height: 72px; } }
.pf-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pf-row label { color: var(--text); font-size: 16px; }
.pf-num { display: inline-flex; align-items: center; flex: none; gap: 2px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--page); font-weight: 500; }
.pf-num:focus-within { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(155, 92, 246, 0.25); }
.pf-num i { font-style: normal; color: var(--text-2); }
.pf-num input { width: 48px; padding: 0; border: 0; outline: 0; background: none; color: var(--text); font: inherit; text-align: right; }
.pf-num.money input { width: 104px; }
@supports (field-sizing: content) { .pf-num input, .pf-num.money input { field-sizing: content; width: auto; min-width: 2ch; max-width: 130px; } }

.pf-range { -webkit-appearance: none; appearance: none; height: 28px; background: none; cursor: pointer; }
.pf-range::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, #6571f3, #a86bff) 0 0 / var(--p, 0%) 100% no-repeat, var(--grid); }
.pf-range::-moz-range-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, #6571f3, #a86bff) 0 0 / var(--p, 0%) 100% no-repeat, var(--grid); }
.pf-range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border: 3px solid #a86bff; border-radius: 50%; background: #fff; box-shadow: 0 0 14px rgba(168, 107, 255, 0.85); }
.pf-range::-moz-range-thumb { width: 16px; height: 16px; border: 3px solid #a86bff; border-radius: 50%; background: #fff; box-shadow: 0 0 14px rgba(168, 107, 255, 0.85); }
.pf-range:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; border-radius: 8px; }

.pf-speeds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pf-speed { display: grid; align-content: center; gap: 2px; min-height: 64px; padding: 8px 4px; border: 1px solid var(--line-strong); border-radius: 8px; background: none; color: var(--text); font: inherit; cursor: pointer; }
.pf-speed b { font-size: 15px; font-weight: 500; }
.pf-speed small { color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.pf-speed:hover { border-color: var(--purple); }
.pf-speed.on { border-color: #a86bff; background: rgba(134, 72, 214, 0.4); }
.pf-speed.on b { font-weight: 600; }
.pf-speed.on small { color: #e3d6ff; }

.pf-cost { margin-top: 2px; padding: 10px 14px; border-radius: 8px; background: var(--surface-2); }
.pf-cost-title { margin: 0 0 4px; color: var(--muted); font-size: 13px; }
.pf-cost dl { display: grid; gap: 2px; margin: 0; }
.pf-cost dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.pf-cost dt { color: var(--text-2); }
.pf-cost dd { margin: 0; font-weight: 500; text-align: right; }
.pf-cost small { color: var(--muted); font-weight: 400; font-size: 12.5px; }

.pf-own { display: grid; gap: 8px; }
.pf-card.one h3.pf-own-title { margin-top: 20px; }
.pf-planned { margin: -6px 0 14px; padding: 10px 12px; border-radius: 8px; background: color-mix(in srgb, var(--blue) 14%, transparent); font-size: 14px; }
.pf-own .pf-row label { font-size: 15px; color: var(--text-2); }

.pf-win { margin: 0 0 16px; padding: 14px 16px; border: 1px solid rgba(255, 190, 120, 0.4); border-radius: 8px; background: linear-gradient(90deg, rgba(255, 176, 58, 0.16), rgba(63, 160, 120, 0.2)); font-size: clamp(16px, 4.4vw, 18px); text-align: center; text-wrap: balance; }
.pf-win b { color: #ffcf73; font-weight: 600; white-space: nowrap; }
.pf-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
.pf-tile { --t: var(--blue); padding: 12px 4px; border: 1px solid color-mix(in srgb, var(--t) 60%, transparent); border-radius: 8px; background: color-mix(in srgb, var(--t) 20%, var(--surface)); text-align: center; }
.pf-tile.teal { --t: var(--teal); color: inherit; }
.pf-tile.red { --t: var(--rose); }
.pf-tile span { display: block; font-size: clamp(12px, 3.3vw, 14px); }
.pf-tile b { display: block; margin-top: 2px; color: color-mix(in srgb, var(--t) 85%, #fff); font-size: clamp(14px, 4vw, 17px); font-weight: 600; }
.pf-bar-label { margin: 0 0 6px; font-size: 15px; }
.pf-bar-label b { font-weight: 600; white-space: nowrap; }
.pf-bar { height: 11px; margin-bottom: 16px; border-radius: 99px; background: var(--grid); overflow: hidden; }
.pf-bar i { display: block; height: 100%; border-radius: 99px; transition: width 0.25s; }
.pf-bar.coral i { background: var(--coral); }
.pf-bar.teal i { background: var(--teal); }

.pf-actions { margin-top: auto; padding-top: 16px; }
.btn.pf-go { width: 100%; padding: 8px 16px; line-height: 1.35; min-height: 54px; border: 0; background: linear-gradient(100deg, #1a86ee, #5a5df0 55%, #a348e0); color: #fff; font-size: 17px; font-weight: 600; }
.btn.pf-go:hover { background: linear-gradient(100deg, #1676d4, #4d50dc 55%, #913ccc); }
.pf-small { margin: 10px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.pf-tools { margin: 28px 0 0; text-align: center; }
.pf-tools a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text-2); }
.pf-tools a:hover { color: var(--text); }

.pf-peek { display: none; }
@media (max-width: 899px) {
  .payoff .pf-peek { position: fixed; left: 10px; right: 10px; bottom: calc(68px + env(safe-area-inset-bottom)); z-index: 18; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 50px; padding: 0 14px; border: 1px solid color-mix(in srgb, var(--teal) 60%, transparent); border-radius: 12px; background: #16222b; color: var(--text); font: inherit; font-size: clamp(12px, 3.5vw, 14px); cursor: pointer; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5); }
  .payoff .pf-peek[hidden] { display: none; }
  .pf-peek b { color: #ffcf73; font-weight: 600; white-space: nowrap; }
  .pf-peek-go { color: var(--teal); white-space: nowrap; }
  .on-payoff .ai-fab { display: none; } /* Disha AI is already in the bar below */
  .unlock .pf-card.two { order: -1; }
  .pf-mode { width: 100%; max-width: 460px; border-radius: 26px; }
  .pf-mode a { flex: 1; min-height: 46px; padding: 4px 8px; border-radius: 22px; font-size: 14px; line-height: 1.25; }
  .pf-head { padding-top: 28px; }
  .payoff > .pf-glow, .unlock > .pf-glow { background: radial-gradient(260px 300px at 10% 35%, rgba(134, 72, 214, 0.4), transparent 72%), radial-gradient(260px 300px at 95% 80%, rgba(26, 150, 160, 0.35), transparent 72%); }
}
@media (max-width: 639px) { .pf-card { padding: 18px 16px; } .topbar { gap: 8px; } .brand { font-size: 17px; font-weight: 600; gap: 6px; } .topbar .btn.small { padding: 0 8px; font-size: 14px; } .promo { gap: 6px; padding-left: 10px; padding-right: 34px; font-size: 12px; } .promo .bar { display: none; } }
@media (min-width: 900px) { .pf-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } .payoff .pf-card.two { position: sticky; top: 80px; } .unlock .pf-cards { align-items: stretch; } }

/* The tracker's unlock page */
.ul-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.ul-list li { display: flex; gap: 14px; }
.ul-list .ic { width: 22px; height: 22px; margin-top: 2px; color: var(--purple); }
.ul-list b { display: block; font-weight: 600; }
.ul-list small { color: var(--text-2); font-size: 14px; }
.ul-plan { margin-bottom: 14px; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--teal) 45%, transparent); border-radius: 10px; background: color-mix(in srgb, var(--teal) 10%, transparent); }
.ul-plan p { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; color: var(--teal); font-size: 14px; }
.ul-plan > b { display: block; font-size: 17px; font-weight: 600; }
.ul-plan span { color: var(--text-2); font-size: 14px; }
.ul-plan span b { color: #ffcf73; font-weight: 600; }
.ul-note { margin: 0 0 12px; color: var(--warn); font-size: 14px; }
.ul-note.good { color: var(--good); }
.ul-price { margin: 4px 0 16px; font-size: 36px; font-weight: 700; line-height: 1.2; }
.ul-price small { color: var(--muted); font-size: 16px; font-weight: 400; }
.ul-foot { margin: 12px 0 0; color: var(--text-2); font-size: 14px; text-align: center; overflow-wrap: anywhere; }
.unlock .form-error { margin-top: 10px; text-align: center; }

/* Two plans, not three */
@media (min-width: 900px) {
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin: 0 auto; }
  .plan-card:not(.top) .plan-price { margin-bottom: 14px; }
}
.plan-table td:not(:first-child), .plan-table th:not(:first-child) { width: 24%; }

/* Tracker: the payoff plan carried over */
.carry { margin: 0 0 6px; color: var(--text-2); }
.carry b { color: var(--text); font-weight: 600; }
.new-plan { border-color: color-mix(in srgb, var(--purple) 60%, transparent); }
.new-plan p { margin: 0 0 12px; color: var(--text-2); }
.new-plan .btn { margin: 0 8px 8px 0; }
.loan-more { grid-column: 1 / -1; }
.loan-more summary { padding: 4px 0; }

#loan-form label { align-content: start; }

/* Planning to buy: the payoff cards, with a small line in each tile and a plain explanation */
.pf-tile small { display: block; margin-top: 4px; padding: 0 2px; color: var(--text-2); font-size: 12px; line-height: 1.35; }
.pf-tile.good small { color: var(--good); }
.pf-tile.tight small { color: var(--amber); }
.buy-means { padding: 12px 14px; border-radius: 8px; background: var(--surface-2); font-size: 15px; line-height: 1.55; }
.buy-means p { margin: 0 0 8px; }
.buy-means b { font-weight: 600; }
.buy-means ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--text-2); font-size: 14px; }
.buy-means li { display: flex; gap: 8px; }
.buy-means li .ic { margin-top: 2px; color: var(--muted); }
.buy-means li.good .ic { color: var(--good); }
.buy-means li.caution .ic { color: var(--amber); }
.buy-means li b { color: var(--text); }
.means-ask { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-strong); }
.means-ask .end-ic { --t: var(--purple); width: 32px; height: 32px; border-radius: 8px; }
.means-ask .end-ic .ic { width: 18px; height: 18px; margin: 0; }
.means-ask p { display: flex; flex-basis: 100%; align-items: center; gap: 10px; margin: 0; color: #c9b3ff; font-size: 15px; font-weight: 500; }
.means-ask button { min-height: 40px; padding: 6px 14px; border: 1px solid color-mix(in srgb, var(--purple) 55%, transparent); border-radius: 20px; background: color-mix(in srgb, var(--purple) 14%, var(--surface)); color: #e6dbff; font: inherit; font-size: 14px; line-height: 1.3; text-align: left; cursor: pointer; }
.means-ask button:hover { border-color: var(--purple); background: color-mix(in srgb, var(--purple) 28%, var(--surface)); }

/* Home page: sections in the look of the calculators */
.home { max-width: 1080px; margin: 0 auto; }
.home > section { margin-top: 56px; }
.home > .hero { margin-top: 32px; }
.home .glow { inset: -60px calc(50% - 50vw) auto; height: 560px; -webkit-mask: linear-gradient(#000 45%, transparent); mask: linear-gradient(#000 45%, transparent); }
.home .btn.primary, .pricing .btn.primary { border: 0; background: linear-gradient(100deg, #1a86ee, #5a5df0 55%, #a348e0); color: #fff; }
.home .btn.primary:hover, .pricing .btn.primary:hover { background: linear-gradient(100deg, #1676d4, #4d50dc 55%, #913ccc); }
.home-head { margin-bottom: 22px; text-align: center; }
.home-head h2 { margin: 0; font-size: clamp(25px, 6.6vw, 36px); font-weight: 700; line-height: 1.25; text-wrap: balance; }
.home-head p { max-width: 42em; margin: 8px auto 0; color: var(--text-2); font-size: clamp(15px, 4vw, 17px); text-wrap: balance; }
.home-head .eyebrow { margin: 0 auto 6px; color: var(--amber); font-size: 13px; }
.home .home-card { padding: 22px; }
.home-card > h3 { margin: 0 0 14px; font-size: 20px; }
.home-start { text-align: center; }
.home-start .goals, .home-start .ask { text-align: left; }
.home-start .ask { margin: 0 0 14px; }
.home .goal { border-color: color-mix(in srgb, var(--c) 60%, transparent); background: color-mix(in srgb, var(--c) 18%, var(--surface)); }
.home .goal:hover { background: color-mix(in srgb, var(--c) 28%, var(--surface)); }
.home .goal small { color: var(--text-2); }
.home .more { min-height: 44px; margin-top: 6px; color: var(--teal); }
.home-two { display: grid; gap: 20px; }
.home-example { display: grid; gap: 34px; margin-bottom: 24px; }
.home-example h3 { margin: 0 0 14px; font-size: 20px; }
.home-example h3 span { display: block; color: var(--text-2); font-size: 15px; font-weight: 400; }
.home-example .pf-cost { margin: 0; padding: 14px 16px; }
.home-example .pf-cost dl { gap: 8px; }
.home-example .pf-cost dl div { font-size: 15px; }
.home-head .home-path { margin: 0 auto 8px; color: var(--muted); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.home-path b { color: var(--teal); font-weight: 600; }
.home-head .cool { background: linear-gradient(90deg, #5aa2ff, #a583ff 60%, #22c0cb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home-steps { display: grid; gap: 26px; margin: 0; padding: 8px 0 0; list-style: none; }
.home-steps li { position: relative; display: grid; align-content: start; justify-items: center; gap: 4px; text-align: center; }
.home-steps i { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 8px; border-radius: 50%; background: linear-gradient(135deg, #2380f2, #8b4cf6); color: #fff; font-style: normal; font-weight: 600; }
.home-steps b { font-size: 18px; font-weight: 600; }
.home-steps span { color: var(--text-2); text-wrap: balance; }
@media (max-width: 639px) {
  .home-steps { gap: 0; padding: 0; }
  .home-steps li { grid-template-columns: 44px minmax(0, 1fr); justify-items: start; align-items: start; column-gap: 16px; row-gap: 2px; padding-bottom: 26px; text-align: left; }
  .home-steps li:last-child { padding-bottom: 0; }
  .home-steps i { grid-row: 1 / span 2; width: 44px; height: 44px; margin: 0; font-size: 17px; box-shadow: 0 0 0 5px rgba(90, 93, 240, 0.16); }
  .home-steps b { font-size: 19px; line-height: 1.3; }
  .home-steps li:not(:last-child)::after { content: ""; position: absolute; top: 52px; bottom: 8px; left: 21px; width: 2px; border-radius: 2px; background: linear-gradient(#6a55f3, rgba(106, 85, 243, 0.25)); }
}
@media (min-width: 640px) { .home-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } .home-steps li:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: calc(50% + 34px); width: calc(100% - 42px); height: 1px; background: var(--line-strong); } }
.home-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: var(--text-2); }
.home-list li { display: flex; align-items: flex-start; gap: 10px; }
.home-list .ic, .home-list i { display: grid; place-items: center; flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--good); font-style: normal; }
.home-list.no i { color: var(--coral); font-size: 22px; line-height: 1; }
.home-table table { font-size: 16px; }
.home-table th, .home-table td { padding: 15px 14px; white-space: normal; vertical-align: top; border-bottom: 1px solid var(--line); }
.home-table thead th { position: static; padding-top: 0; background: none; color: var(--muted); border-bottom-color: var(--line-strong); }
.home-table tr:last-child td { border-bottom: 0; }
.home-table td:nth-child(2) { color: var(--muted); }
.home-table th:last-child { padding-left: 42px; color: var(--teal); font-weight: 600; }
.home-table td:last-child { position: relative; padding-left: 42px; color: var(--text); }
.home-table td:last-child .ic { position: absolute; top: 18px; left: 14px; width: 18px; height: 18px; color: var(--good); }
.home .plan-card, .pricing .plan-card { --c: var(--purple); border: 1px solid color-mix(in srgb, var(--c) 65%, transparent); border-top: 4px solid var(--c); border-radius: 12px; }
.home .plan-card:last-child, .pricing .plan-card:last-child { --c: var(--teal); }
.home .plan-card h2, .pricing .plan-card h2 { margin: 0 0 6px; font-size: 22px; }
.home .plan-card h2 .ic, .pricing .plan-card h2 .ic { color: var(--c); }
.home .plan-for, .pricing .plan-for { min-height: 0; }
.home .plan-card .ticks { margin-bottom: 0; }
.home .center { margin: 14px 0 0; text-align: center; }
.home .center .more { margin: 0; }
.home .hero h1 { font-size: clamp(34px, 8.6vw, 60px); line-height: 1.15; text-wrap: balance; }
.home .hero h1 span { white-space: nowrap; }
.home .lead, .home .trust { text-wrap: balance; }
.ask .form-error { text-align: left; }
.ask .form-error button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin-left: 6px; padding: 0 14px; border: 1px solid color-mix(in srgb, var(--purple) 55%, transparent); border-radius: 20px; background: color-mix(in srgb, var(--purple) 14%, var(--surface)); color: #e6dbff; font: inherit; font-size: 14px; cursor: pointer; }
.home-end { padding: 8px 0 32px; text-align: center; }
.home-end h2 { margin: 0 0 8px; font-size: clamp(24px, 6vw, 32px); font-weight: 600; }
.home-end p { margin: 0 0 14px; color: var(--muted); }
.home .home-end .btn.primary { background: linear-gradient(90deg, #2a78d6, #7a5be6); }
.home .home-end .btn.primary:hover { background: linear-gradient(90deg, #256abf, #6c4fd6); }
@media (min-width: 640px) { .home .goals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .home .goals { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-example { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .home-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .plan-grid { max-width: none; }
}
@media (max-width: 639px) {
  .home > section { margin-top: 44px; }
  .home .home-card { padding: 16px; }
  .hero-cta .btn { width: 100%; }
  .home-table table { font-size: 14px; }
  .home-table th, .home-table td { padding: 12px 6px; }
  .home-table td:first-child, .home-table th:first-child { padding-left: 0; }
  .home-table td:last-child { padding-left: 26px; }
  .home-table th:last-child { padding-left: 26px; }
  .home-table td:last-child .ic { top: 14px; left: 4px; width: 16px; height: 16px; }
}

/* Two tiles of the same height */
@media (min-width: 900px) { .pf-cards.even { align-items: stretch; } .payoff .even .pf-card.two { position: relative; top: 0; } .even .pf-field { margin-bottom: 26px; } .even .pf-own { gap: 14px; } }

/* Calculator pages: the two-column layout, in the payoff colours */
.pf-back { display: inline-block; margin-bottom: 10px; color: #c9b3ff; font-size: 14px; font-weight: 500; }
.calc > .pf-head { padding-top: 32px; }
.payoff.calc { max-width: 1080px; }
.calc .tool-layout { margin-top: 30px; }
.calc-in, .calc-out { --c: var(--purple); min-width: 0; margin: 0; border: 1px solid color-mix(in srgb, var(--c) 65%, transparent); border-top: 4px solid var(--c); border-radius: 12px; }
.calc .calc-out { --c: var(--teal); border-top: 4px solid var(--c); scroll-margin-top: 76px; }
.calc-in .form-title { margin-bottom: 18px; font-size: 20px; }
.pf-row > span:first-child { display: inline-flex; align-items: center; gap: 2px; min-width: 0; }
.pf-hint { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; }
.calc-in .pf-field { margin-bottom: 20px; }
.calc-in .pf-row label { font-size: 15px; line-height: 1.4; }
.calc-in .pf-num { width: 140px; justify-content: space-between; }
.calc-in .pf-num input, .calc-in .pf-num.money input { flex: 1; width: 100%; min-width: 0; max-width: none; font-weight: 600; }
@supports (field-sizing: content) { .calc-in .pf-num input, .calc-in .pf-num.money input { field-sizing: fixed; width: 100%; } }
.calc .calc-in input[type=range] { -webkit-appearance: none; appearance: none; height: 28px; margin: 4px 0 0; }
.calc .calc-in input[type=range]::-webkit-slider-runnable-track { height: 6px; background: linear-gradient(90deg, #6571f3, #a86bff) 0 0 / var(--p, 0%) 100% no-repeat, var(--grid); }
.calc .calc-in input[type=range]::-webkit-slider-thumb { margin-top: -8px; border: 3px solid #a86bff; box-shadow: 0 0 14px rgba(168, 107, 255, 0.85); }
.calc .calc-in input[type=range]::-moz-range-track { height: 6px; background: linear-gradient(90deg, #6571f3, #a86bff) 0 0 / var(--p, 0%) 100% no-repeat, var(--grid); }
.calc .calc-in input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border: 3px solid #a86bff; box-shadow: 0 0 14px rgba(168, 107, 255, 0.85); }
.calc .calc-adv > summary { color: #c9b3ff; }
.pf-pick { margin-bottom: 20px; }
.pf-pick label { display: block; margin-bottom: 6px; font-size: 15px; }
.pf-pick select { width: 100%; }
.calc-out .form-title { margin-bottom: 18px; font-size: 20px; }
.calc-more { margin-top: 22px; }
.calc-more h3 { margin: 0 0 4px; font-size: 20px; font-weight: 600; }
.calc .calc-more summary { color: var(--blue); }
.pf-win small { display: block; margin-top: 2px; color: var(--text-2); font-size: 14px; }
.pf-win.bad { border-color: rgba(255, 125, 102, 0.45); background: linear-gradient(90deg, rgba(255, 176, 58, 0.16), rgba(255, 107, 124, 0.2)); }
.pf-tile.amber { --t: var(--amber); color: inherit; }
.pf-tile.bad small { color: var(--rose); }
.pf-bars { margin-bottom: 4px; }
.pf-bars h3 { margin: 0 0 10px; color: var(--muted); font-size: 14px; font-weight: 500; }
.pf-bar-label em { margin-left: 8px; padding: 1px 8px; border-radius: 99px; background: color-mix(in srgb, var(--teal) 18%, transparent); color: var(--teal); font-size: 12px; font-style: normal; white-space: nowrap; }
.calc-out .pf-win { padding: 16px; font-size: clamp(17px, 4.6vw, 21px); }
.calc-out .pf-tile { padding: 14px 8px; }
.calc-out .pf-tile b { font-size: clamp(16px, 4.2vw, 20px); overflow-wrap: anywhere; }
.calc-out .pf-tile small { font-size: 13px; }
.calc-out .buy-means { padding: 16px; font-size: 16px; }
.calc-out .buy-means ul { gap: 8px; font-size: 15px; }
.calc-out .buy-means li .ic { flex: none; }
.calc-plan { margin: 20px 0 10px; font-size: 17px; }
@media (max-width: 479px) {
  .calc-out .pf-tiles { grid-template-columns: minmax(0, 1fr); }
  .calc-out .pf-tile { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 10px; align-items: center; padding: 10px 14px; text-align: left; }
  .calc-out .pf-tile span { font-size: 14px; }
  .calc-out .pf-tile b { grid-column: 2; grid-row: 1 / span 2; max-width: 150px; margin: 0; text-align: right; font-size: 17px; }
  .calc-out .pf-tile small { margin: 0; padding: 0; }
}
@media (prefers-reduced-motion: no-preference) { .enter .pf-win, .enter .pf-tile, .enter .buy-means { animation: rise 0.45s ease-out both; } .enter .pf-bar i { animation: grow 0.7s ease-out both; transform-origin: left; } }
.calc-end { display: grid; gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.end-tile { --t: var(--purple); display: flex; align-items: center; gap: 14px; width: 100%; min-width: 0; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--t) 50%, transparent); border-radius: 12px; background: color-mix(in srgb, var(--t) 14%, var(--surface)); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.end-tile:hover { border-color: var(--t); background: color-mix(in srgb, var(--t) 22%, var(--surface)); }
.end-tile > span:nth-child(2) { min-width: 0; }
.end-tile > .ic { margin-left: auto; color: color-mix(in srgb, var(--t) 70%, #fff); }
.end-ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--t); color: #111; }
.end-ic .ic { width: 22px; height: 22px; }
.end-tile small { display: block; color: color-mix(in srgb, var(--t) 60%, #fff); font-size: 13px; }
.end-tile b { display: block; font-size: 15px; font-weight: 500; line-height: 1.35; }
.btn.end-go { justify-content: space-between; min-height: 64px; padding: 10px 20px; border-radius: 12px; text-align: left; }
.btn.end-go small { display: block; font-size: 13px; font-weight: 400; color: rgba(255, 255, 255, 0.9); }
@media (min-width: 900px) { .calc .tool-layout > form.tall { position: static; } }
.pf-extra { display: grid; gap: 10px; margin-top: 16px; }
.pf-extra .btn { min-height: 48px; text-align: center; }
.pf-extra .btn.pf-go { min-height: 48px; font-size: 16px; }
@media (min-width: 640px) { .pf-extra { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.pf-card.solo { margin-top: 28px; }
.pf-card.solo .warn { margin-top: 0; }
.payoff.wide-page { max-width: 1080px; }
.payoff.wide-page > h2 { margin-top: 36px; font-size: 22px; }
.payoff.wide-page .card { border-radius: 12px; }
.tools-ask { max-width: 620px; margin: 22px auto 0; }
.tools-ask .ask input { min-height: 48px; }
.tools-ask .btn.primary { background: linear-gradient(100deg, #1a86ee, #5a5df0 55%, #a348e0); }
.tool-list { display: grid; gap: 4px; }
.tool-list a { display: flex; align-items: center; gap: 14px; margin: 0 -10px; padding: 10px; border-radius: 10px; color: var(--text); }
.tool-list a:hover { background: var(--surface-2); text-decoration: none; }
.tool-list a > .ic { margin-left: auto; color: var(--muted); }
.tool-list b { display: block; font-size: 16px; font-weight: 500; }
.tool-list small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.tool-dot { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: color-mix(in srgb, var(--c, var(--purple)) 22%, transparent); color: color-mix(in srgb, var(--c, var(--purple)) 70%, #fff); font-weight: 600; }
.prose.pf-card { font-size: 17px; }
@media (min-width: 900px) { .pf-cards.tools { align-items: stretch; } }
@supports (field-sizing: content) { select.lang { field-sizing: content; } }
@media (max-width: 639px) { select.lang { max-width: 84px; padding: 0 19px 0 4px; font-size: 14px; background-position: right 2px center; background-size: 14px; } }
@media (max-width: 379px) { .topbar { gap: 4px; padding-left: 10px; padding-right: 10px; } .brand { font-size: 15px; } .mark, .mark svg { width: 25px; height: 25px; } .topbar .btn.small { padding: 0 7px; font-size: 13px; } select.lang { font-size: 13px; } }
@media (max-width: 339px) { .brand { gap: 4px; font-size: 13px; } .mark, .mark svg { width: 22px; height: 22px; } }

.ai-card-used { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line-strong); color: var(--text-2); font-size: 13px; }
.ai-card-used p + p { margin-top: 4px; }
.ai-card-used b { color: var(--amber); font-weight: 600; }
