    :root {
      --calc-primary: #0ea5e9;
      --calc-primary-light: #e0f2fe;
      --calc-primary-dark: #0369a1;
      --ink: #0f172a;
      --ink-2: #334155;
      --ink-3: #64748b;
      --white: #ffffff;
      --off: #f8fafc;
      --line: #e2e8f0;
      --line-2: #cbd5e1;
      --ease: cubic-bezier(0.4, 0, 0.2, 1);
      --pad: 2rem;
      --ff-serif: 'Instrument Serif', serif;
      --ff-sans: 'Inter', sans-serif;
      --shadow-lg: 0 20px 50px -12px rgba(0, 0, 0, 0.1);
      --glass-bg: rgba(255, 255, 255, 0.8);
      --glass-border: rgba(255, 255, 255, 0.5);
    }
    @keyframes wt-fade-in {
      from { opacity: 0; transform: translateY(15px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .mortgage-calc-container {
      max-width: 1200px;
      margin: 6rem auto 4rem;
      padding: 0 var(--pad);
      animation: wt-fade-in 0.6s var(--ease);
    }
    .calc-hero-header {
      text-align: center;
      margin-bottom: 4rem;
    }
    .calc-hero-header h1 {
      font-family: var(--ff-serif);
      font-size: clamp(40px, 5vw, 64px);
      font-weight: 400;
      line-height: 1.1;
      color: var(--ink);
      margin-bottom: 1.5rem;
    }
    .calc-hero-header h1 em {
      font-style: italic;
      color: var(--calc-primary);
    }
    .calc-hero-header p {
      font-size: 1.1rem;
      color: var(--ink-3);
      max-width: 600px;
      margin: 0 auto;
      line-height: 1.6;
    }
    .dashboard-grid {
      display: grid;
      grid-template-columns: 400px 1fr;
      gap: 2rem;
      align-items: start;
    }
    @media (max-width: 1024px) {
      .dashboard-grid {
        grid-template-columns: 1fr;
      }
    }
    .glass-card {
      background: var(--glass-bg);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid var(--glass-border);
      border-radius: 32px;
      box-shadow: var(--shadow-lg);
      padding: 2.5rem;
      transform: translateZ(0);
    }
    .input-group {
      margin-bottom: 2rem;
    }
    .input-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1rem;
    }
    .input-header label {
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--ink-2);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .input-header label svg {
      width: 18px;
      height: 18px;
      color: var(--calc-primary);
    }
    .input-wrapper {
      position: relative;
      display: flex;
      align-items: center;
    }
    .input-wrapper span.prefix,
    .input-wrapper span.suffix {
      position: absolute;
      font-weight: 700;
      color: var(--calc-primary);
      font-size: 1rem;
    }
    .input-wrapper span.prefix { left: 16px; }
    .input-wrapper span.suffix { right: 16px; }
    .input-wrapper input {
      width: 100%;
      background: var(--white);
      border: 1.5px solid var(--line);
      border-radius: 14px;
      padding: 12px 16px;
      font-family: var(--ff-sans);
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--ink);
      outline: none;
      transition: border-color 0.2s, box-shadow 0.2s;
      text-align: right;
    }
    .input-wrapper .has-prefix { padding-left: 32px; }
    .input-wrapper .has-suffix { padding-right: 32px; }
    .input-wrapper input:focus {
      border-color: var(--calc-primary);
      box-shadow: 0 0 0 4px var(--calc-primary-light);
    }
    .toggle-switch {
      display: flex;
      background: var(--line);
      padding: 4px;
      border-radius: 10px;
      gap: 4px;
    }
    .toggle-btn {
      padding: 6px 12px;
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--ink-3);
      cursor: pointer;
      border-radius: 6px;
      transition: all 0.2s;
    }
    .toggle-btn.active {
      background: var(--white);
      color: var(--calc-primary);
      box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }
    .results-dashboard {
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }
    .bento-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
    }
    @media (max-width: 640px) {
      .bento-grid {
        grid-template-columns: 1fr;
      }
    }
    .bento-card {
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: 24px;
      padding: 2rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: transform 0.2s var(--ease);
    }
    .bento-card:hover {
      transform: translateY(-4px);
      border-color: var(--calc-primary);
    }
    .bento-card.primary {
      background: linear-gradient(135deg, var(--calc-primary) 0%, var(--calc-primary-dark) 100%);
      color: var(--white);
      grid-column: span 2;
      text-align: center;
      padding: 3rem;
    }
    @media (max-width: 640px) {
      .bento-card.primary {
        grid-column: span 1;
      }
    }
    .bento-label {
      font-size: 0.85rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 1rem;
      opacity: 0.8;
    }
    .bento-value {
      font-size: 3rem;
      font-weight: 800;
      line-height: 1;
    }
    .bento-card.primary .bento-value {
      font-size: 4.5rem;
    }
    .bento-sub {
      margin-top: 1rem;
      font-size: 1rem;
      opacity: 0.7;
    }
    .chart-section {
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: 32px;
      padding: 2.5rem;
      height: 450px;
      position: relative;
    }
    .chart-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 2rem;
    }
    .chart-tabs {
      display: flex;
      gap: 8px;
      background: var(--off);
      padding: 4px;
      border-radius: 10px;
    }
    .chart-tab {
      padding: 8px 16px;
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--ink-3);
      cursor: pointer;
      border-radius: 6px;
      transition: all 0.2s;
    }
    .chart-tab.active {
      background: var(--white);
      color: var(--calc-primary);
      box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }
    .amortization-section {
      margin-top: 6rem;
    }
    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 2.5rem;
    }
    .section-header h2 {
      font-family: var(--ff-serif);
      font-size: 2.5rem;
      color: var(--ink);
    }
    .table-container {
      background: var(--white);
      border: 1px solid var(--line);
      border-radius: 24px;
      overflow: hidden;
      box-shadow: var(--shadow-lg);
    }
    table {
      width: 100%;
      border-collapse: collapse;
    }
    th {
      background: var(--off);
      padding: 1.25rem;
      text-align: left;
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--ink-3);
      border-bottom: 1px solid var(--line);
    }
    td {
      padding: 1.25rem;
      font-size: 0.95rem;
      color: var(--ink-2);
      border-bottom: 1px solid var(--line);
    }
    tr:last-child td {
      border-bottom: none;
    }
    tr:hover td {
      background: var(--off);
    }
    .year-row {
      background: #f1f5f9 !important;
      font-weight: 700;
    }
    .btn-outline {
      background: var(--white);
      border: 1.5px solid var(--calc-primary);
      color: var(--calc-primary);
      padding: 10px 20px;
      border-radius: 12px;
      font-weight: 700;
      font-size: 0.9rem;
      cursor: pointer;
      transition: all 0.2s;
    }
    .btn-outline:hover {
      background: var(--calc-primary-light);
    }
    .seo-content {
      margin-top: 8rem;
      padding-top: 4rem;
      border-top: 1px solid var(--line);
      display: grid;
      grid-template-columns: 1fr 380px;
      gap: 5rem;
    }
    @media (max-width: 960px) {
      .seo-content {
        grid-template-columns: 1fr;
      }
    }
    .article-text h2 {
      font-family: var(--ff-serif);
      font-size: 2.5rem;
      margin-bottom: 2rem;
      color: var(--ink);
    }
    .article-text h3 {
      font-size: 1.5rem;
      font-weight: 700;
      margin: 3rem 0 1.5rem;
      color: var(--ink);
    }
    .article-text p {
      font-size: 1.15rem;
      line-height: 1.8;
      color: var(--ink-2);
      margin-bottom: 1.5rem;
    }
    .article-text ul {
      margin-bottom: 2rem;
    }
    .article-text li {
      margin-bottom: 1rem;
      font-size: 1.1rem;
      color: var(--ink-2);
      display: flex;
      gap: 12px;
    }
    .article-text li::before {
      content: "→";
      color: var(--calc-primary);
      font-weight: 700;
    }
    .sidebar-guide {
      background: var(--off);
      border: 1px solid var(--line);
      border-radius: 32px;
      padding: 2.5rem;
      height: fit-content;
      position: sticky;
      top: 100px;
    }
    .sidebar-guide h4 {
      font-size: 1.25rem;
      font-weight: 700;
      margin-bottom: 1.5rem;
      color: var(--ink);
    }
    .guide-item {
      margin-bottom: 2rem;
    }
    .guide-item strong {
      display: block;
      font-size: 1rem;
      margin-bottom: 0.5rem;
      color: var(--calc-primary);
    }
    .guide-item p {
      font-size: 0.95rem;
      color: var(--ink-3);
      line-height: 1.6;
    }
    .icon-ui {
      width: 20px;
      height: 20px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
    }
    .hidden { display: none !important; }
  