@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

  :root {
    --brand-primary: #0B1420;
    --brand-accent: #16B98A;
    --brand-accent-hover: #109E76;
    --brand-mid: #F59E0B;
    --brand-danger: #EF4444;
    --bg-surface: #FFFFFF;
    --bg-muted: #F3F7F5;
    --text-main: #0B1420;
    --text-muted: #5E6D68;
    --border-color: #DEE7E2;
    --shadow-sm: 0 1px 2px 0 rgba(11, 20, 32, 0.05);
    --shadow-md: 0 8px 20px rgba(11, 20, 32, 0.08);
    --shadow-xl: 0 24px 48px -12px rgba(11, 20, 32, 0.16);
    --radius-lg: 24px;
    --radius-md: 14px;
    --font-display: 'Sora', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
  }

  .aic-scope { font-family: var(--font-body); color: var(--text-main); }

  .aic-wrapper {
    max-width: 1040px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
  }

  /* HERO BAND — full-bleed dark section matching the blog template's dark hero */
  .aic-hero-band {
    width: 100%;
    background: radial-gradient(140% 180% at 15% -20%, #163B2E 0%, #0B1420 55%, #070C13 100%);
    padding: 100px 20px 96px 20px;
    box-sizing: border-box;
  }

  .aic-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
  }

  .aic-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: transparent;
    border: 1px solid rgba(22, 185, 138, 0.4);
    color: #6EE7C0;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    border-radius: 9999px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
  }

  .aic-title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 14px;
  }
  .aic-title span {
    background: linear-gradient(90deg, var(--brand-accent) 0%, var(--brand-mid) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .aic-subtitle {
    color: rgba(255, 255, 255, 0.68);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
  }

  .aic-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
  }
  .aic-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 9999px;
  }
  .aic-chip svg { width: 14px; height: 14px; stroke: #6EE7C0; flex-shrink: 0; }

  /* Main Container Card — floats up over the hero band, same overlap the blog
     uses for its search box sitting on the hero image edge */
  .aic-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
    z-index: 2;
    margin-top: -56px;
  }

  /* Form Panel */
  .aic-form-panel {
    padding: 44px;
    background: var(--bg-surface);
    border-right: 1px solid var(--border-color);
  }

  .aic-form-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 4px;
  }

  .aic-form-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.6;
  }

  .aic-field-group {
    margin-bottom: 22px;
  }

  .aic-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .aic-input-wrapper {
    position: relative;
  }

  .aic-input,
  .aic-select {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background-color: var(--bg-muted);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-main);
    font-weight: 500;
    transition: all 0.2s ease;
  }

  .aic-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230B1420' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
  }

  .aic-input:focus,
  .aic-select:focus {
    outline: none;
    background-color: #FFFFFF;
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 4px rgba(22, 185, 138, 0.14);
  }

  .aic-error-msg {
    font-size: 12px;
    color: var(--brand-danger);
    margin-top: 6px;
    display: none;
    font-weight: 600;
  }
  .aic-error-msg.show { display: block; }

  /* Submit Button */
  .aic-submit-btn {
    width: 100%;
    height: 52px;
    background: var(--brand-accent);
    border: none;
    border-radius: var(--radius-md);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(22, 185, 138, 0.25);
    transition: all 0.2s ease;
    margin-top: 10px;
  }

  .aic-submit-btn:hover {
    background: var(--brand-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(22, 185, 138, 0.35);
  }

  .aic-submit-btn:active {
    transform: translateY(0);
  }

  /* Results Panel */
  .aic-results-panel {
    padding: 44px;
    background: #FAFCFB;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .aic-placeholder {
    text-align: center;
    padding: 40px 20px;
  }

  .aic-placeholder-icon {
    width: 64px;
    height: 64px;
    background: rgba(22, 185, 138, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    color: var(--brand-accent);
  }

  .aic-placeholder-text {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.6;
  }

  /* Active Results Display */
  .aic-results-content { display: none; }

  .aic-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
  }
  .aic-results-header > span:first-child {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  /* dark overlay tag pill, same device as the blog post-card tag */
  .aic-results-state {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #FFFFFF;
    background: var(--brand-primary);
    padding: 5px 12px;
    border-radius: 999px;
  }

  .aic-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 24px;
  }

  .aic-res-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  }

  .aic-res-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }

  .aic-res-card.featured {
    border-color: var(--brand-accent);
    box-shadow: 0 4px 14px rgba(22, 185, 138, 0.1);
  }

  .aic-res-card-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }

  .aic-res-card.featured .aic-res-card-label { color: var(--brand-accent-hover); }

  .aic-res-price {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
  }

  .aic-res-subprice {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
  }

  /* "Charge" style gauge — the EV charge-bolt motif from the blog's reading indicator,
     repurposed here as a rate-risk charge meter */
  .aic-gauge-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .aic-gauge-copy { flex: 1; }

  .aic-gauge-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
  }

  .aic-gauge-track {
    height: 10px;
    width: 100%;
    background: var(--bg-muted);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
    margin-top: 10px;
  }

  .aic-gauge-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--brand-accent) 0%, var(--brand-mid) 50%, var(--brand-danger) 100%);
    border-radius: 999px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .aic-gauge-pct {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-accent-hover);
    background: rgba(22, 185, 138, 0.1);
    padding: 4px 10px;
    border-radius: 999px;
  }

  .aic-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 52px;
    background: var(--brand-primary);
    color: #FFFFFF !important;
    font-family: var(--font-body);
    font-weight: 700;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .aic-cta-button:hover {
    background: #17222E;
    transform: translateY(-1px);
  }

  .aic-disclaimer {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 16px;
    line-height: 1.6;
    text-align: center;
  }

  @media (max-width: 767.98px) {
    .aic-hero-band { padding: 70px 20px 76px 20px; }
    .aic-title { font-size: 30px; }
    .aic-card { margin-top: -36px; }
    .aic-form-panel, .aic-results-panel { padding: 24px; }
    .aic-form-panel { border-right: none; border-bottom: 1px solid var(--border-color); }
  }
  
  
/* Modern Professional Font */
body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #222;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.responsive-logo {
    width: 250px;
    max-width: 100%;
    height: auto;
    display: block;
}

@media only screen and (max-width: 768px) {
    .responsive-logo { width: 220px; }
}

@media only screen and (max-width: 480px) {
    .responsive-logo { width: 190px; }
}

.site-navbar .row { min-height: 60px; }

@media (max-width: 1199.98px) {
    .site-navbar .mobile-toggle-col {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        height: 100%;
        /* Pushes this column to the far right of the row, regardless of
           the logo column's width — fixes the gap seen in the screenshot */
        margin-left: auto !important;
        flex-grow: 0;
    }
}

.site-navbar .site-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1050;
    float: none;
    cursor: pointer;
    text-decoration: none;
}

/* Draw the hamburger with CSS instead of depending on the (currently
   missing/broken) icon font glyph that .icon-menu:before was providing */
.site-navbar .site-menu-toggle .icon-menu {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 2px;
    background: #222;
    font-size: 0;
    line-height: 0;
}
.site-navbar .site-menu-toggle .icon-menu::before,
.site-navbar .site-menu-toggle .icon-menu::after {
    content: "" !important;
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: #222;
    font-family: initial;
}
.site-navbar .site-menu-toggle .icon-menu::before { top: -7px; }
.site-navbar .site-menu-toggle .icon-menu::after { top: 7px; }

@media (max-width: 575.98px) {
    .site-navbar .container { padding-left: 15px; padding-right: 15px; }
    .site-navbar .site-menu-toggle { width: 40px; height: 40px; }
}

.my-text:hover { color: #ff6b35 !important; }