  /* ─── Reset & Base ─────────────────────────────────────── */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --font-main: 'Nunito', 'Google Sans', 'Segoe UI', sans-serif;
    --font-display: 'Nunito', 'Google Sans Display', 'Segoe UI', sans-serif;

    --navy:      #0d1f3c;
    --navy-mid:  #162d55;
    --navy-lite: #1e3d72;
    --blue:      #1a73e8;
    --blue-lite: #4a90e2;
    --sky:       #e8f0fe;
    --accent:    #fbbc04;
    --green:     #0f9d58;
    --green-bg:  #e6f4ea;
    --red:       #d93025;
    --red-bg:    #fce8e6;
    --gray-50:   #f8f9fa;
    --gray-100:  #f1f3f4;
    --gray-200:  #e8eaed;
    --gray-400:  #bdc1c6;
    --gray-600:  #80868b;
    --gray-800:  #3c4043;
    --text:      #202124;
    --text-sub:  #5f6368;
    --white:     #ffffff;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 4px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
    --shadow-md: 0 4px 16px rgba(0,0,0,.10), 0 1px 4px rgba(0,0,0,.06);
    --shadow-lg: 0 8px 32px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.07);
    --transition: 0.2s cubic-bezier(.4,0,.2,1);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--font-main);
    color: var(--text);
    background: var(--gray-50);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }

  a { color: var(--blue); text-decoration: none; }
  a:hover { text-decoration: underline; }

  /* ─── Sticky Header ─────────────────────────────────────── */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--navy);
    box-shadow: 0 2px 12px rgba(0,0,0,.25);
  }

  .header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
  }

  .logo-icon {
    width: 38px; height: 38px;
    background: var(--accent);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }

  .logo-icon svg { width: 22px; height: 22px; }

  .logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--white);
    line-height: 1.1;
  }

  .logo-text span { color: var(--accent); }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
  }

  .nav-links a {
    color: rgba(255,255,255,.75);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
    text-decoration: none;
  }

  .nav-links a:hover {
    background: rgba(255,255,255,.1);
    color: var(--white);
  }

  .nav-cta {
    background: var(--blue) !important;
    color: var(--white) !important;
  }

  .nav-cta:hover { background: var(--blue-lite) !important; }

  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border: none;
    background: transparent;
  }

  .hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
  }

  .mobile-nav {
    display: none;
    background: var(--navy-mid);
    padding: 8px 16px 16px;
  }

  .mobile-nav a {
    display: block;
    color: rgba(255,255,255,.8);
    font-size: 15px;
    font-weight: 500;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    text-decoration: none;
  }

  .mobile-nav a:last-child { border-bottom: none; }

  /* ─── Hero ─────────────────────────────────────────────── */
  .hero {
    background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-lite) 100%);
    /* Kept tight on purpose: the lookup card has to land inside the
       first viewport on a laptop, so the hero only carries the badge,
       the H1 and one line of copy. */
    padding: 34px 24px 92px;
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    top: -180px; right: -100px;
    background: radial-gradient(circle, rgba(26,115,232,.18) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
  }

  .hero::after {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    bottom: -80px; left: 5%;
    background: radial-gradient(circle, rgba(251,188,4,.1) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
  }

  .hero-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(251,188,4,.12);
    border: 1px solid rgba(251,188,4,.3);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 14px;
  }

  .hero-badge-dot {
    width: 7px; height: 7px;
    background: var(--accent);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
  }

  @keyframes blink {
    0%,100% { opacity:1; transform:scale(1); }
    50% { opacity:.4; transform:scale(.7); }
  }

  .hero h1 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4.6vw, 42px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.14;
    margin-bottom: 10px;
    letter-spacing: -.01em;
  }

  .hero h1 em {
    font-style: normal;
    color: var(--accent);
  }

  .hero p {
    font-size: clamp(14px, 1.8vw, 16px);
    color: rgba(255,255,255,.68);
    max-width: 560px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.55;
  }

  /* Trust strip, now below the lookup card instead of in the hero */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 18px 0 48px;
  }

  .hero-stat {
    text-align: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 14px 10px;
  }

  .hero-stat-num {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.1;
  }

  .hero-stat-label {
    font-size: 12px;
    color: var(--text-sub);
    margin-top: 3px;
  }

  /* ─── Main Layout ─────────────────────────────────────── */
  .main-wrap {
    max-width: 1100px;
    margin: -56px auto 0;
    padding: 0 24px 80px;
    position: relative;
    z-index: 10;
  }

  /* ─── Lookup Card ────────────────────────────────────── */
  #lookup {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 28px 36px 26px;
    margin-bottom: 0;
  }

  .lookup-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
  }

  .lookup-icon-wrap {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--sky);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }

  .lookup-icon-wrap svg { width: 26px; height: 26px; color: var(--blue); }

  .lookup-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
  }

  .lookup-desc {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.5;
  }

  .input-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }

  .input-group {
    flex: 1;
    position: relative;
  }

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

  .ref-input {
    width: 100%;
    height: 54px;
    padding: 0 52px 0 18px;
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: .06em;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--gray-50);
    color: var(--text);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  }

  .ref-input:focus {
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(26,115,232,.12);
  }

  .ref-input.state-valid {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(15,157,88,.10);
  }

  .ref-input.state-invalid {
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(217,48,37,.10);
  }

  .char-badge {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-400);
    transition: color var(--transition);
    pointer-events: none;
  }

  .char-badge.done { color: var(--green); }

  .input-hint {
    font-size: 12px;
    color: var(--text-sub);
    margin-top: 7px;
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .input-error {
    font-size: 12px;
    color: var(--red);
    margin-top: 7px;
    display: none;
    align-items: center;
    gap: 5px;
  }

  .check-btn {
    height: 54px;
    padding: 0 28px;
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 2px 8px rgba(26,115,232,.35);
    margin-top: 24px; /* align with input */
    flex-shrink: 0;
  }

  .check-btn:hover {
    background: #1557b0;
    box-shadow: 0 4px 16px rgba(26,115,232,.4);
    transform: translateY(-1px);
  }

  .check-btn:active { transform: scale(.98); }

  .check-btn:disabled {
    background: var(--gray-400);
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
  }

  .check-btn .spinner {
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin .7s linear infinite;
    display: none;
  }

  @keyframes spin { to { transform: rotate(360deg); } }

  .btn-loading .spinner { display: block; }
  .btn-loading .btn-arrow { display: none; }

  .remember-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-sub);
  }

  .remember-row input[type=checkbox] {
    width: 16px; height: 16px;
    accent-color: var(--blue);
    cursor: pointer;
    border-radius: 4px;
  }

  /* ─── Bill Result ────────────────────────────────────── */
  #bill-result {
    display: none;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: 48px;
    overflow: hidden;
  }

  .result-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 28px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
  }

  .result-header-left {}

  .result-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 10px;
  }

  .status-unpaid { background: rgba(217,48,37,.2); color: #ff7b72; }
  .status-paid   { background: rgba(15,157,88,.2); color: #5cb85c; }

  .result-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 4px;
  }

  .result-ref {
    font-size: 13px;
    color: rgba(255,255,255,.55);
    font-weight: 500;
  }

  .result-header-right {
    text-align: right;
  }

  .result-amount-label {
    font-size: 12px;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 6px;
  }

  .result-amount {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
  }

  .result-due {
    font-size: 13px;
    color: rgba(255,255,255,.55);
    margin-top: 6px;
  }

  .result-due.overdue { color: #ff7b72; }

  /* Summary Grid */
  .summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1px;
    background: var(--gray-200);
    border-top: 1px solid var(--gray-200);
  }

  .summary-cell {
    background: var(--white);
    padding: 22px 24px;
  }

  .summary-cell-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--text-sub);
    margin-bottom: 6px;
  }

  .summary-cell-value {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
  }

  .summary-cell-value.highlight { color: var(--blue); }
  .summary-cell-value.danger    { color: var(--red); }
  .summary-cell-value.success   { color: var(--green); }

  /* Bill Actions */
  .bill-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 32px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    flex-wrap: wrap;
  }

  .action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 20px;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    border: 2px solid transparent;
  }

  .action-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

  .btn-primary-action {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(26,115,232,.3);
  }

  .btn-primary-action:hover {
    background: #1557b0;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(26,115,232,.35);
  }

  .btn-outline-action {
    background: var(--white);
    color: var(--text);
    border-color: var(--gray-200);
  }

  .btn-outline-action:hover {
    border-color: var(--blue);
    color: var(--blue);
    text-decoration: none;
    background: var(--sky);
  }

  /* Bill Breakdown Table */
  .bill-breakdown {
    padding: 28px 32px;
    border-top: 1px solid var(--gray-100);
  }

  .breakdown-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .breakdown-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
  }

  .breakdown-note {
    font-size: 12.5px;
    color: var(--text-sub);
    margin: -6px 0 14px;
    line-height: 1.5;
  }

  .breakdown-note:last-child { margin: 12px 0 0; }

  /* History table can overflow on phones, so let it scroll on its own */
  .history-scroll { overflow-x: auto; }
  .history-table { min-width: 460px; }

  .history-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 2px 8px;
    border-radius: 100px;
    background: var(--gray-100);
    color: var(--text-sub);
  }

  .history-pill.is-ss { background: #fff4d6; color: #8a6100; }
  .history-pill.is-ex { background: var(--sky);  color: #174ea6; }

  .breakdown-table th {
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-sub);
    padding: 8px 12px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
  }

  .breakdown-table td {
    padding: 12px 12px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--text);
    vertical-align: middle;
  }

  .breakdown-table tr:last-child td { border-bottom: none; }

  .breakdown-table .total-row td {
    font-weight: 700;
    font-size: 15px;
    background: var(--sky);
    border-top: 2px solid var(--blue);
    color: var(--navy);
  }

  /* ─── How it works ───────────────────────────────────── */
  #how-it-works {
    margin-bottom: 48px;
    scroll-margin-top: 80px;
  }

  .section-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
    text-align: center;
  }

  .section-sub {
    font-size: 15px;
    color: var(--text-sub);
    text-align: center;
    margin-bottom: 36px;
  }

  .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
  }

  /* ─── Prose / reference sections ─────────────────────── */
  .prose-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    padding: 30px 32px;
  }

  .prose-card p {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 1.7;
    margin-bottom: 14px;
  }

  .prose-card p:last-child { margin-bottom: 0; }

  .prose-card h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin: 26px 0 10px;
  }

  .prose-card h3:first-child { margin-top: 0; }

  .prose-card strong { color: var(--text); font-weight: 700; }

  .line-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-top: 6px;
  }

  .line-table th {
    text-align: left;
    font-size: 11px;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--text-sub);
    font-weight: 700;
    padding: 0 12px 10px 0;
    border-bottom: 1px solid var(--gray-200);
  }

  .line-table td {
    padding: 11px 12px 11px 0;
    border-bottom: 1px solid var(--gray-100);
    color: var(--text-sub);
    line-height: 1.55;
    vertical-align: top;
  }

  .line-table td:first-child {
    color: var(--text);
    font-weight: 700;
    white-space: nowrap;
  }

  .line-table tr:last-child td { border-bottom: none; }

  .table-scroll { overflow-x: auto; }
  .table-scroll .line-table { min-width: 520px; }

  .callout {
    display: flex;
    gap: 12px;
    background: var(--sky);
    border: 1px solid rgba(26,115,232,.22);
    border-radius: var(--radius-md);
    padding: 16px 18px;
    margin: 18px 0 4px;
  }

  .callout-icon { flex-shrink: 0; font-size: 18px; line-height: 1.4; }

  .callout p {
    font-size: 14px;
    color: var(--navy);
    line-height: 1.6;
    margin: 0;
  }

  .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    margin-top: 4px;
  }

  .contact-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 18px 20px;
  }

  .contact-label {
    font-size: 11px;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--text-sub);
    font-weight: 700;
    margin-bottom: 6px;
  }

  .contact-value {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    word-break: break-word;
  }

  .contact-note { font-size: 12.5px; color: var(--text-sub); margin-top: 6px; line-height: 1.5; }

  @media (max-width: 768px) {
    .prose-card { padding: 22px 20px; }
  }

  .step-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    position: relative;
    transition: box-shadow var(--transition), transform var(--transition);
  }

  .step-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
  }

  .step-num {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
  }

  .step-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
  }

  .step-desc {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.6;
  }

  /* ─── Reference Number Guide ─────────────────────────── */
  #ref-guide {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 36px 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    margin-bottom: 48px;
    scroll-margin-top: 80px;
  }

  .ref-guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    margin-top: 28px;
  }

  .ref-sample {
    background: var(--gray-50);
    border: 2px dashed var(--gray-400);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
  }

  .ref-sample-label {
    font-size: 12px;
    color: var(--text-sub);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 10px;
    font-weight: 700;
  }

  .ref-sample-number {
    font-family: monospace;
    font-size: 26px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: .1em;
    background: var(--sky);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    display: inline-block;
    border: 2px solid var(--blue);
  }

  .ref-sample-note {
    font-size: 12px;
    color: var(--text-sub);
    margin-top: 10px;
  }

  .ref-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .ref-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.5;
  }

  .ref-list-icon {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--sky);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
  }

  .ref-list-icon svg { width: 13px; height: 13px; color: var(--blue); }

  /* ─── Areas ──────────────────────────────────────────── */
  #coverage {
    margin-bottom: 48px;
    scroll-margin-top: 80px;
  }

  .areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 28px;
  }

  .area-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    transition: border-color var(--transition), box-shadow var(--transition);
  }

  .area-card:hover {
    border-color: var(--blue);
    box-shadow: 0 2px 12px rgba(26,115,232,.12);
  }

  .area-icon {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .area-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--text);
  }

  /* ─── FAQ ─────────────────────────────────────────────── */
  #faq {
    margin-bottom: 48px;
    scroll-margin-top: 80px;
  }

  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
  }

  .faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition);
  }

  .faq-item.open { border-color: var(--blue); }

  .faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
    user-select: none;
    transition: background var(--transition);
  }

  .faq-q:hover { background: var(--gray-50); }

  .faq-chevron {
    width: 20px; height: 20px;
    color: var(--gray-600);
    transition: transform var(--transition);
    flex-shrink: 0;
  }

  .faq-item.open .faq-chevron { transform: rotate(180deg); }

  .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s cubic-bezier(.4,0,.2,1);
  }

  .faq-item.open .faq-a { max-height: 300px; }

  .faq-a-inner {
    padding: 0 22px 18px;
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.7;
    border-top: 1px solid var(--gray-100);
    padding-top: 14px;
  }

  /* ─── Alert / Toast ──────────────────────────────────── */
  #toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    background: var(--navy);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .3s, transform .3s;
    pointer-events: none;
    max-width: 320px;
  }

  #toast.show { opacity: 1; transform: translateY(0); }

  /* ─── Footer ─────────────────────────────────────────── */
  .site-footer {
    background: var(--navy);
    color: rgba(255,255,255,.6);
    padding: 40px 24px;
    font-size: 13px;
    text-align: center;
    line-height: 2;
  }

  .site-footer a { color: rgba(255,255,255,.5); }
  .site-footer a:hover { color: var(--white); }

  .footer-inner { max-width: 700px; margin: 0 auto; }

  .footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
  }

  .footer-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,.08);
    margin: 16px 0;
  }

  /* ─── Responsive ─────────────────────────────────────── */
  @media (max-width: 720px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }

    .hero { padding: 48px 20px 80px; }

    .main-wrap { padding: 0 16px 64px; }

    #lookup { padding: 22px 20px 20px; }

    .hero-stats { grid-template-columns: 1fr 1fr; }

    .input-row { flex-direction: column; }

    .check-btn { width: 100%; justify-content: center; margin-top: 12px; }

    .result-header { padding: 22px 22px; }
    .result-header-right { text-align: left; }
    .result-amount { font-size: 28px; }

    .summary-grid { grid-template-columns: 1fr 1fr; }

    .bill-actions { padding: 16px 22px; }

    .bill-breakdown { padding: 20px 22px; }

    .ref-guide-grid { grid-template-columns: 1fr; }

    #ref-guide { padding: 24px 20px; }
  }

  @media (max-width: 480px) {
    .summary-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 8px; }
  }

  /* ─── Utility ────────────────────────────────────────── */
  .sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
  }

  .loading-overlay {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px;
    gap: 16px;
  }

  .loading-overlay.show { display: flex; }

  .big-spinner {
    width: 48px; height: 48px;
    border: 4px solid var(--sky);
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin .8s linear infinite;
  }

  .loading-text {
    font-size: 15px;
    color: var(--text-sub);
    font-weight: 500;
  }

  /* ─── Ad slots ───────────────────────────────────────── */
  /* Reserve a minimum height so a loading ad does not shove
     the page around and wreck Cumulative Layout Shift. */
  .ad-slot {
    margin: 0 0 32px;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .ad-slot > * { max-width: 100%; }

  .ad-sticky {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 -2px 12px rgba(0,0,0,.08);
    padding: 6px 0;
    min-height: 56px;
  }

  .ref-sample-legend {
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-sub);
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    padding: 10px;
    line-height: 1.7;
  }

  .ref-sample-legend strong { color: var(--navy); }
