/* index.html styles — prodigyfinanceapply.com */
/* ── Reset ─────────────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    /* ── Variables ─────────────────────────────────────── */
    :root {
      --blue:         #0284c7;
      --blue-dk:      #0369a1;
      --blue-lt:      #e0f2fe;
      --blue-mid:     #bae6fd;
      --slate:        #0f172a;
      --slate-7:      #334155;
      --slate-5:      #64748b;
      --slate-4:      #94a3b8;
      --gray-bg:      #f8fafc;
      --gray-50:      #f1f5f9;
      --border:       #e2e8f0;
      --border-s:     #cbd5e1;
      --white:        #ffffff;
      --green:        #059669;
      --green-lt:     #ecfdf5;
      --amber:        #d97706;
      --font-d:       'Outfit', system-ui, sans-serif;
      --font-b:       'Inter', system-ui, sans-serif;
      --r-sm:         6px;
      --r-md:         10px;
      --r-lg:         16px;
      --r-xl:         24px;
      --sh-md:        0 4px 24px rgba(0,0,0,0.06);
      --sh-lg:        0 8px 48px rgba(0,0,0,0.08);
      --sh-blue:      0 4px 24px rgba(2,132,199,0.14);
    }

    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font-b);
      font-size: 16px;
      color: var(--slate-7);
      line-height: 1.7;
      background: var(--white);
      -webkit-font-smoothing: antialiased;
    }
    a { color: var(--blue); text-decoration: none; }
    a:hover { color: var(--blue-dk); }

    /* ── Typography ────────────────────────────────────── */
    h1, h2, h3, h4 { font-family: var(--font-d); color: var(--slate); line-height: 1.2; }
    h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
    h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; letter-spacing: -0.01em; }
    h3 { font-size: 1.15rem; font-weight: 600; }
    p  { max-width: 68ch; }

    /* ── Layout ────────────────────────────────────────── */
    .container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
    .section    { padding: 88px 0; }
    .section-alt { background: var(--gray-bg); }
    .section-hdr { text-align: center; max-width: 680px; margin: 0 auto 56px; }
    .eyebrow {
      display: inline-block;
      font-size: 11px; font-weight: 700; text-transform: uppercase;
      letter-spacing: 1.2px; color: var(--blue); margin-bottom: 12px;
    }
    .section-sub {
      font-size: 17px; color: var(--slate-5); line-height: 1.65;
      max-width: 560px; margin: 8px auto 0;
    }

    /* ── Buttons ───────────────────────────────────────── */
    .btn {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 12px 24px; border-radius: var(--r-md);
      font-family: var(--font-b); font-size: 15px; font-weight: 500;
      cursor: pointer; transition: all 0.18s ease; border: none;
      text-decoration: none; white-space: nowrap;
    }
    .btn-primary { background: var(--blue); color: var(--white); box-shadow: var(--sh-blue); }
    .btn-primary:hover { background: var(--blue-dk); transform: translateY(-1px); color: var(--white); }
    .btn-ghost { background: transparent; color: var(--blue); border: 1.5px solid var(--border-s); }
    .btn-ghost:hover { border-color: var(--blue); background: var(--blue-lt); color: var(--blue); }
    .btn-full { width: 100%; justify-content: center; padding: 13px 24px; }

    /* ── Compliance bar ────────────────────────────────── */
    .compliance-bar {
      background: var(--blue-lt); border-bottom: 1px solid var(--blue-mid);
      padding: 7px 0; text-align: center;
    }
    .compliance-bar p {
      font-size: 12px; color: var(--slate-5); max-width: 100%; margin: 0;
    }
    .compliance-bar strong { color: var(--slate); font-weight: 600; }

    /* ── Navigation ────────────────────────────────────── */
    .nav {
      position: sticky; top: 0; z-index: 100;
      background: rgba(255,255,255,0.96);
      backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
    }
    .nav-inner {
      display: flex; align-items: center; justify-content: space-between;
      height: 68px; gap: 20px;
    }
    .nav-logo {
      display: flex; align-items: center; gap: 9px;
      font-family: var(--font-d); font-weight: 700; font-size: 16px;
      color: var(--slate); text-decoration: none; flex-shrink: 0;
    }
    .nav-logo-mark {
      width: 32px; height: 32px; background: var(--slate);
      border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center;
    }
    .nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
    .nav-links a {
      display: block; padding: 6px 11px; font-size: 13.5px;
      color: var(--slate-5); border-radius: var(--r-sm);
      transition: color .15s, background .15s; font-weight: 500;
    }
    .nav-links a:hover { color: var(--slate); background: var(--gray-50); }
    .nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
    .nav-ssl { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--slate-4); }

    /* Burger button — hidden on desktop */
    .nav-burger {
      display: none; flex-direction: column; justify-content: center; align-items: center;
      gap: 5px; width: 38px; height: 38px; background: none; border: 1.5px solid var(--border);
      border-radius: var(--r-sm); cursor: pointer; padding: 0; flex-shrink: 0;
    }
    .nav-burger span {
      display: block; width: 18px; height: 2px; background: var(--slate);
      border-radius: 2px; transition: transform .25s, opacity .25s;
    }
    .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-burger.open span:nth-child(2) { opacity: 0; }
    .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Mobile dropdown menu */
    .mobile-menu {
      display: none; position: absolute; top: 100%; left: 0; right: 0;
      background: #fff; border-bottom: 1.5px solid var(--border);
      box-shadow: 0 8px 24px rgba(0,0,0,.08); z-index: 99; padding: 12px 0 20px;
    }
    .mobile-menu.open { display: block; }
    .mobile-menu ul { list-style: none; padding: 0; margin: 0 0 16px; }
    .mobile-menu ul li a {
      display: block; padding: 12px 24px; font-size: 15px; font-weight: 500;
      color: var(--slate-5); border-bottom: 1px solid var(--gray-bg);
      transition: background .15s, color .15s;
    }
    .mobile-menu ul li a:hover { background: var(--blue-lt); color: var(--blue); }
    .mobile-menu-apply {
      display: flex; align-items: center; justify-content: center; gap: 8px;
      margin: 0 24px; padding: 14px; background: var(--blue); color: #fff;
      border-radius: var(--r-md); font-size: 15px; font-weight: 700;
      text-decoration: none; transition: background .2s;
    }
    .mobile-menu-apply:hover { background: var(--blue-dk); color: #fff; }

    /* ── Hero ──────────────────────────────────────────── */
    .hero { background: transparent; padding: 80px 0 100px; }
    .hero-grid {
      display: grid; grid-template-columns: 55fr 45fr;
      gap: 72px; align-items: start;
      position: relative; z-index: 1;
    }
    .hero-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--blue-lt); border: 1px solid var(--blue-mid);
      border-radius: 999px; padding: 5px 16px 5px 8px;
      font-size: 13px; font-weight: 600; color: var(--blue-dk); margin-bottom: 24px;
    }
    .hero-title { margin-bottom: 20px; }
    .hero-title .accent { color: var(--blue); }
    .hero-sub {
      font-size: 17px; color: var(--slate-5); line-height: 1.65;
      margin-bottom: 36px; max-width: 520px;
    }
    .hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
    .hero-proof {
      font-size: 13px; color: var(--slate-5);
      display: flex; align-items: center; gap: 6px;
    }
    .hero-divider {
      border: none; border-top: 1px solid var(--border);
      margin: 40px 0 24px;
    }
    .hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
    .hs-val {
      font-family: var(--font-d); font-size: 1.7rem; font-weight: 800;
      color: var(--slate); line-height: 1;
    }
    .hs-lbl { font-size: 12px; color: var(--slate-5); font-weight: 500; margin-top: 3px; }

    /* ── Hero Widget (external form shell) ────────────── */
    .hero-widget-wrap { position: sticky; top: 84px; }
    .hero-widget {
      background: var(--white); border: 1.5px solid var(--border);
      border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg);
      min-height: 300px;
    }

    /* ── Stats Strip ───────────────────────────────────── */
    .stats-strip { background: var(--slate); padding: 52px 0; }
    .stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 40px; text-align: center; }
    .stat-val {
      font-family: var(--font-d); font-size: 2.6rem; font-weight: 800;
      color: var(--white); line-height: 1; margin-bottom: 6px;
    }
    .stat-val span { color: var(--blue-mid); }
    .stat-lbl { font-size: 13px; color: var(--slate-4); font-weight: 500; }

    /* ── Bento Grid ────────────────────────────────────── */
    .bento-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
    .bc {
      background: var(--white); border: 1.5px solid var(--border);
      border-radius: var(--r-lg); padding: 24px;
      transition: border-color .2s, box-shadow .2s;
    }
    .bc:hover { border-color: var(--blue); box-shadow: var(--sh-blue); }
    .bc-icon {
      width: 40px; height: 40px; background: var(--blue-lt);
      border-radius: var(--r-sm); display: flex; align-items: center;
      justify-content: center; margin-bottom: 14px;
    }
    .bc-title { font-family: var(--font-d); font-size: 14px; font-weight: 700; color: var(--slate); margin-bottom: 10px; }
    .bc-body  { font-size: 13px; color: var(--slate-5); line-height: 1.5; }
    .rate-big { font-family: var(--font-d); font-size: 2rem; font-weight: 800; color: var(--slate); line-height: 1; margin: 8px 0 4px; }
    .rate-pill {
      display: inline-block; background: var(--blue-lt); color: var(--blue-dk);
      font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
      text-transform: uppercase; letter-spacing: .4px;
    }
    .country-form { display: flex; gap: 6px; margin-top: 10px; }
    .country-form select {
      flex: 1; padding: 8px 10px; border: 1.5px solid var(--border);
      border-radius: var(--r-sm); font-family: var(--font-b); font-size: 12px;
      color: var(--slate); background: var(--white); outline: none; appearance: none;
    }
    .country-form button {
      padding: 8px 12px; background: var(--blue); color: var(--white);
      border: none; border-radius: var(--r-sm); font-size: 12px;
      font-weight: 600; cursor: pointer;
    }
    .country-result {
      margin-top: 8px; padding: 7px 10px; border-radius: var(--r-sm);
      font-size: 12px; font-weight: 600; display: none;
      align-items: center; gap: 5px;
    }
    .cr-ok  { background: var(--green-lt); color: var(--green); display: flex; }
    .cr-chk { background: #fefce8; color: var(--amber); display: flex; }
    .school-list { list-style: none; margin-top: 8px; }
    .school-list li {
      display: flex; justify-content: space-between; align-items: center;
      padding: 5px 0; border-bottom: 1px solid var(--border);
      font-size: 12px; color: var(--slate-7);
    }
    .school-list li:last-child { border-bottom: none; }
    .school-tag {
      font-size: 10px; background: var(--gray-bg);
      color: var(--slate-5); padding: 2px 7px; border-radius: 999px;
    }
    .trust-big { font-family: var(--font-d); font-size: 2.8rem; font-weight: 800; color: var(--slate); line-height: 1; margin: 8px 0 4px; }
    .star-row { display: flex; gap: 2px; align-items: center; margin-bottom: 4px; }

    /* ── How It Works ──────────────────────────────────── */
    .steps-grid {
      display: grid; grid-template-columns: repeat(3,1fr);
      gap: 40px; margin-top: 56px; position: relative;
    }
    .steps-grid::before {
      content: ''; position: absolute; top: 35px;
      left: calc(16.67% + 35px); right: calc(16.67% + 35px);
      height: 1px; background: repeating-linear-gradient(90deg, var(--blue-mid) 0, var(--blue-mid) 6px, transparent 6px, transparent 12px);
    }
    .step { text-align: center; position: relative; z-index: 1; }
    .step-ring {
      width: 70px; height: 70px; border-radius: 50%;
      background: var(--blue-lt); border: 2px solid var(--blue-mid);
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 20px; position: relative;
    }
    .step-num {
      position: absolute; top: -8px; right: -8px;
      width: 22px; height: 22px; border-radius: 50%;
      background: var(--blue); color: var(--white);
      font-size: 11px; font-weight: 700;
      display: flex; align-items: center; justify-content: center;
    }
    .step-title { font-family: var(--font-d); font-size: 17px; font-weight: 700; color: var(--slate); margin-bottom: 8px; }
    .step-desc  { font-size: 14px; color: var(--slate-5); line-height: 1.65; max-width: 280px; margin: 0 auto; }

    /* ── Comparison Table ──────────────────────────────── */
    .cmp-wrap {
      overflow-x: auto; border-radius: var(--r-lg);
      border: 1.5px solid var(--border); box-shadow: var(--sh-md);
    }
    .cmp-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 600px; }
    .cmp-table th {
      padding: 16px 22px; text-align: left;
      font-family: var(--font-d); font-size: 15px; font-weight: 700; color: var(--slate);
      background: var(--gray-bg); border-bottom: 1.5px solid var(--border);
    }
    .cmp-table th.prodigy { background: var(--blue-lt); color: var(--blue-dk); }
    .cmp-table td {
      padding: 14px 22px; border-bottom: 1px solid var(--border);
      vertical-align: middle;
    }
    .cmp-table tr:last-child td { border-bottom: none; }
    .cmp-table tr:hover td { background: var(--gray-50); }
    .cmp-table .feat { font-weight: 600; color: var(--slate); }
    .tag-better { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 600; color: var(--green); }
    .tag-note   { font-size: 12px; color: var(--slate-5); }
    .cmp-fn { font-size: 11px; color: var(--slate-4); margin-top: 14px; line-height: 1.6; }

    /* ── Feature Cards ──────────────────────────────────── */
    .features-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; margin-top: 56px; }
    .fc {
      background: var(--white); border: 1.5px solid var(--border);
      border-radius: var(--r-lg); padding: 0;
      text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; display: block;
      overflow: hidden;
    }
    .fc:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--sh-blue); }
    .fc-img {
      width: 100%; height: 140px; background: var(--blue-lt);
      display: flex; align-items: center; justify-content: center;
      overflow: hidden;
    }
    .fc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .fc-body { padding: 20px 20px 24px; }
    .fc-title { font-family: var(--font-d); font-size: 14.5px; font-weight: 700; color: var(--slate); margin-bottom: 8px; }
    .fc-desc  { font-size: 12.5px; color: var(--slate-5); line-height: 1.55; }
    .fc-more  { display: inline-flex; align-items: center; gap: 3px; margin-top: 12px; font-size: 12px; font-weight: 600; color: var(--blue); }

    /* ── Reviews ────────────────────────────────────────── */
    .reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 56px; }
    .rv {
      background: var(--white); border: 1.5px solid var(--border);
      border-radius: var(--r-lg); padding: 28px;
    }
    .rv-stars { display: flex; gap: 2px; margin-bottom: 16px; }
    .rv-quote {
      font-size: 15px; color: var(--slate-7); line-height: 1.65;
      font-style: italic; margin-bottom: 20px;
    }
    .rv-quote::before {
      content: '\201C'; font-family: var(--font-d); font-size: 52px;
      color: var(--blue-lt); line-height: 0; vertical-align: -18px; margin-right: 2px;
    }
    .rv-author { display: flex; align-items: center; gap: 12px; }
    .rv-av {
      width: 40px; height: 40px; border-radius: 50%; background: var(--blue-lt);
      display: flex; align-items: center; justify-content: center;
      font-family: var(--font-d); font-size: 14px; font-weight: 700;
      color: var(--blue-dk); flex-shrink: 0;
    }
    .rv-name  { font-size: 14px; font-weight: 600; color: var(--slate); }
    .rv-prog  { font-size: 12px; color: var(--slate-5); }

    /* ── FAQ ─────────────────────────────────────────────── */
    .faq-list { max-width: 760px; margin: 56px auto 0; }
    .faq-item { border-bottom: 1px solid var(--border); }
    .faq-item summary {
      list-style: none; display: flex; justify-content: space-between;
      align-items: flex-start; padding: 20px 0; cursor: pointer;
      font-weight: 600; color: var(--slate); font-size: 15.5px; gap: 16px;
    }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-chevron {
      flex-shrink: 0; width: 24px; height: 24px; border: 1.5px solid var(--border);
      border-radius: 50%; display: flex; align-items: center; justify-content: center;
      color: var(--slate-5); transition: transform .3s, background .2s, border-color .2s;
      margin-top: 2px;
    }
    .faq-item[open] .faq-chevron {
      transform: rotate(180deg); background: var(--blue-lt);
      border-color: var(--blue-mid); color: var(--blue-dk);
    }
    .faq-ans { padding: 0 0 20px; color: var(--slate-5); font-size: 15px; line-height: 1.7; max-width: 680px; }

    /* ── Author Band ─────────────────────────────────────── */
    .author-band {
      background: var(--blue-lt); border-top: 1px solid var(--blue-mid);
      border-bottom: 1px solid var(--blue-mid); padding: 40px 0;
    }
    .author-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
    .author-av {
      width: 72px; height: 72px; border-radius: 50%; background: var(--white);
      border: 2px solid var(--blue-mid); display: flex; align-items: center; justify-content: center;
      font-family: var(--font-d); font-size: 22px; font-weight: 800;
      color: var(--blue-dk); flex-shrink: 0;
    }
    .author-cred { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--blue-dk); margin-bottom: 3px; }
    .author-name { font-family: var(--font-d); font-size: 18px; font-weight: 700; color: var(--slate); margin-bottom: 4px; }
    .author-bio  { font-size: 13.5px; color: var(--slate-5); max-width: 520px; line-height: 1.55; }
    .author-meta { margin-left: auto; text-align: right; }
    .author-meta-lbl { font-size: 11px; color: var(--slate-5); }
    .author-meta-val { font-family: var(--font-d); font-size: 14px; font-weight: 600; color: var(--slate); }

    /* ── Footer ──────────────────────────────────────────── */
    .footer { background: var(--slate); padding: 64px 0 0; }
    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
    .f-logo {
      display: flex; align-items: center; gap: 8px;
      font-family: var(--font-d); font-weight: 700; font-size: 15px;
      color: var(--white); margin-bottom: 14px;
    }
    .f-logo-mark {
      width: 30px; height: 30px; background: var(--blue); border-radius: 5px;
      display: flex; align-items: center; justify-content: center;
    }
    .f-tagline { font-size: 13px; color: var(--slate-4); line-height: 1.6; max-width: 280px; margin-bottom: 18px; }
    .f-disclaimer {
      font-size: 10.5px; color: var(--slate-5); line-height: 1.65; max-width: 320px;
      padding: 12px 14px;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: var(--r-md);
    }
    .f-col-title {
      font-family: var(--font-d); font-size: 12px; font-weight: 700;
      color: var(--white); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 16px;
    }
    .f-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
    .f-links a { font-size: 13px; color: var(--slate-4); transition: color .15s; }
    .f-links a:hover { color: var(--white); }
    .footer-bottom {
      padding: 28px 0; border-top: 1px solid rgba(255,255,255,0.08);
      display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
    }
    .f-legal { font-size: 10.5px; color: var(--slate-5); line-height: 1.7; max-width: 680px; }
    .f-legal a { color: var(--slate-4); text-decoration: underline; }
    .f-ssl-badge {
      display: flex; align-items: center; gap: 5px;
      font-size: 11px; color: var(--slate-4); white-space: nowrap; flex-shrink: 0;
    }

    /* ── Responsive ───────────────────────────────────────── */
    @media (max-width: 1060px) {
      .features-grid { grid-template-columns: repeat(3,1fr); }
      .bento-grid    { grid-template-columns: repeat(2,1fr); }
    }
    @media (max-width: 820px) {
      .hero-grid     { grid-template-columns: 1fr; }
      .hero-widget-wrap { position: static; }
      .stats-grid    { grid-template-columns: repeat(2,1fr); }
      .steps-grid    { grid-template-columns: 1fr; }
      .steps-grid::before { display: none; }
      .reviews-grid  { grid-template-columns: 1fr; }
      .features-grid { grid-template-columns: repeat(2,1fr); }
      .footer-grid   { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 560px) {
      .hero { padding: 52px 0 64px; }
      .section { padding: 60px 0; }
      .features-grid { grid-template-columns: 1fr; }
      .bento-grid    { grid-template-columns: 1fr; }
      .footer-grid   { grid-template-columns: 1fr; gap: 32px; }
      .footer-bottom { flex-direction: column; }
      .nav-links     { display: none; }
      .nav-cta-desktop { display: none; }
      .nav-ssl-desktop { display: none; }
      .nav-burger    { display: flex; }
      .author-meta   { margin-left: 0; text-align: left; }
    }
    /* ── Timeline Visualizer ─────────────────────── */
    .tl-seg{cursor:pointer;transition:filter .15s;border-right:2px solid rgba(255,255,255,.22);text-align:center;padding:18px 8px;user-select:none;position:relative}
    .tl-seg:last-child{border-right:none}
    .tl-seg:hover{filter:brightness(1.1)}
    .tl-seg.tl-active{outline:3px solid rgba(255,255,255,.55);outline-offset:-3px;filter:brightness(1.13)}
    .tl-seg-t{font-family:var(--font-d);font-size:13px;font-weight:700;line-height:1.2;margin-bottom:3px}
    .tl-seg-d{font-size:10px;opacity:.72}
    .tl-detail{background:var(--white);border:1.5px solid var(--border);border-radius:var(--r-lg);padding:24px 28px;margin-top:4px;min-height:88px;transition:border-color .25s}
    .bal-col{display:flex;flex-direction:column;align-items:center;gap:4px;flex:1;min-width:0}
    .bal-bar{width:70%;border-radius:var(--r-sm) var(--r-sm) 0 0;transition:height .5s cubic-bezier(.34,1.2,.64,1);min-height:4px}
    .bal-val{font-family:var(--font-d);font-size:11px;font-weight:700;color:var(--slate);text-align:center;white-space:nowrap}
    .bal-lbl{font-size:9px;color:var(--slate-5);text-align:center;line-height:1.3}
    /* ── Loan Cost Calculator ────────────────────── */
    .calc-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
    .calc-field{margin-bottom:22px}
    .calc-field-hdr{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:8px}
    .calc-lbl{font-size:14px;color:var(--slate-5);font-weight:500}
    .calc-val{font-family:var(--font-d);font-size:16px;font-weight:700;color:var(--slate)}
    input[type=range].cr{width:100%;accent-color:var(--blue);cursor:pointer}
    .cr-result{background:var(--white);border:1.5px solid var(--border);border-radius:var(--r-lg);padding:28px}
    .cr-m-lbl{font-size:13px;color:var(--slate-5);margin-bottom:4px}
    .cr-m-val{font-family:var(--font-d);font-size:3rem;font-weight:800;color:var(--slate);line-height:1;margin-bottom:4px}
    .cr-m-sub{font-size:12px;color:var(--slate-5);margin-bottom:20px}
    .cr-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}
    .cr-metric{background:var(--gray-bg);border-radius:var(--r-md);padding:12px 14px}
    .cr-metric-l{font-size:10px;color:var(--slate-5);margin-bottom:3px;text-transform:uppercase;letter-spacing:.4px}
    .cr-metric-v{font-family:var(--font-d);font-size:17px;font-weight:700;color:var(--slate)}
    .cr-metric-v.red{color:#dc2626}
    .cr-bd{border-top:1px solid var(--border);padding-top:16px}
    .cr-bd-t{font-size:12px;font-weight:600;color:var(--slate);margin-bottom:12px}
    .cr-bd-row{display:flex;align-items:center;gap:10px;margin-bottom:8px}
    .cr-bd-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}
    .cr-bd-bar{flex:1;height:7px;background:var(--border);border-radius:4px;overflow:hidden}
    .cr-bd-fill{height:100%;border-radius:4px;transition:width .4s ease}
    .cr-bd-lbl{font-size:12px;color:var(--slate-7);min-width:150px}
    .cr-bd-pct{font-size:11px;color:var(--slate-4);min-width:32px;text-align:right}
    .calc-info{margin-top:20px;padding:14px 16px;background:var(--blue-lt);border:1px solid var(--blue-mid);border-radius:var(--r-md)}
    .calc-note{font-size:10px;color:var(--slate-4);line-height:1.6;margin-top:14px;padding:10px 12px;background:var(--gray-bg);border-radius:var(--r-md);border:0.5px solid var(--border)}
    @media(max-width:820px){.calc-grid{grid-template-columns:1fr;gap:28px}}
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after { transition: none !important; animation: none !important; }
    }