/* Independent Chase homepage study — provisional design tokens */
:root {
  --chase-blue: #0868b5;
  --chase-blue-dark: #064b91;
  --chase-blue-deep: #003b70;
  --link-blue: #126fc4;
  --green: #16834a;
  --ink: #20252b;
  --muted: #5f6872;
  --line: #d8dde3;
  --surface: #fff;
  --surface-soft: #f4f6f8;
  --content-width: 1120px;
  --radius: 4px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--surface);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; min-width: 320px; font-size: 16px; line-height: 1.5; }
body.menu-open { overflow: hidden; }
a { color: var(--link-blue); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #f5b400; outline-offset: 3px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.08; letter-spacing: -.035em; margin-bottom: var(--space-3); }
h2 { font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.2; letter-spacing: -.02em; margin-bottom: var(--space-4); }
h3 { font-size: 1.1rem; line-height: 1.3; margin-bottom: var(--space-2); }
p { margin-bottom: var(--space-4); }
.skip-link, .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { width: auto; height: auto; clip: auto; margin: 8px; padding: 10px 14px; z-index: 2000; background: white; }

/* Header */
.site-header { height: 64px; padding: 0 max(20px, calc((100vw - var(--content-width))/2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #e3e7eb; background: #fff; position: relative; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 4px; color: #171b20; text-decoration: none; font-weight: 800; letter-spacing: -.055em; font-size: 1.05rem; }
.brand-mark { display: inline-flex; color: var(--chase-blue); font-size: 1.3rem; line-height: 1; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-link { font-size: .875rem; text-decoration: none; color: var(--chase-blue-deep); }
.sign-in-button { padding: 7px 16px; border-radius: 2px; background: var(--chase-blue); color: #fff; text-decoration: none; font-size: .875rem; font-weight: 700; }
.icon-button { border: 0; background: transparent; color: var(--ink); cursor: pointer; display: inline-grid; place-items: center; }
.menu-toggle { width: 38px; height: 38px; margin-left: -8px; }
.hamburger { display: grid; gap: 4px; width: 20px; }
.hamburger i { display: block; height: 2px; width: 20px; background: currentColor; }
.menu-toggle { display: none; }

/* Off-canvas menu shown in the second reference screenshot */
.menu-scrim { position: fixed; inset: 0; background: rgb(0 0 0 / 42%); z-index: 40; }
.side-menu { position: fixed; z-index: 50; inset: 0 auto 0 0; width: min(360px, 88vw); background: #fff; overflow-y: auto; padding: 0 22px 28px; transform: translateX(-105%); visibility: hidden; transition: transform .24s ease, visibility .24s; box-shadow: 8px 0 28px rgb(0 0 0 / 12%); }
.side-menu.is-open { transform: translateX(0); visibility: visible; }
.menu-top { height: 60px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.menu-close { font-size: 28px; width: 36px; height: 36px; }
.menu-search { display: flex; margin: 18px 0 12px; border-bottom: 1px solid #929aa3; }
.menu-search input { border: 0; outline: 0; min-width: 0; flex: 1; padding: 10px 4px; }
.menu-search button { background: transparent; border: 0; font-size: 24px; cursor: pointer; }
.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-list li { border-bottom: 1px solid #e4e7ea; }
.menu-list a { min-height: 43px; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; color: #242a30; font-size: .94rem; }
.menu-list a span { color: #68727c; font-size: 1.25rem; }
.menu-secondary { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 10px; display: grid; }
.menu-secondary a { padding: 10px 0; font-size: .9rem; color: #333b43; text-decoration: none; }
.menu-disclaimer { margin-top: 24px; font-size: .72rem; color: var(--muted); }

/* Hero */
.hero { background: linear-gradient(112deg, #0d5083 0%, #349dee 60%, #0d5083 100%); color: #fff; }
.hero-inner { max-width: var(--content-width); margin: 0 auto; padding: 52px 28px 46px; }
.hero .eyebrow { font-size: 1.08rem; font-weight: 700; margin-bottom: 4px; }
.hero h1 { font-size: clamp(2.7rem, 6vw, 4.3rem); }
.hero p:not(.eyebrow):not(.fine-print) { max-width: 520px; font-size: 1rem; }
.button { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; border: 0; border-radius: 2px; padding: 9px 18px; font-size: .875rem; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .16s ease, transform .16s ease; }
.button:hover { transform: translateY(-1px); }
.button-blue { background: var(--link-blue); color: #fff; }
.button-blue:hover { background: #075da8; }
.button-green { background: var(--green); color: #fff; }
.button-green:hover { background: #0d6739; }
.fine-print { margin: 13px 0 0; font-size: .7rem; color: rgb(255 255 255 / 83%); }

/* Product discovery */
.section-wrap { width: min(100% - 40px, var(--content-width)); margin-inline: auto; }
.product-finder { padding-block: 36px 42px; }
.product-finder h2 { font-size: 1.65rem; margin-bottom: 24px; }
.product-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px 12px; }
.product-link { min-height: 88px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 8px 4px; border-radius: 4px; color: #303942; text-align: center; text-decoration: none; font-size: .82rem; }
.product-link:hover { background: var(--surface-soft); color: var(--link-blue); }
.product-icon { height: 34px; display: grid; place-items: center; color: #78838d; font-size: 1.8rem; line-height: 1; }

/* Blue-title product cards */
.feature-stack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.feature-card { border: 1px solid #dce1e6; box-shadow: 0 1px 3px rgb(0 0 0 / 7%); background: #fff; }
.feature-band { min-height: 66px; padding: 15px 18px; background: var(--chase-blue); color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.feature-band h2 { margin: 0; font-size: 1.15rem; letter-spacing: -.01em; }
.band-symbol { font-size: 1.8rem; opacity: .95; }
.feature-content { padding: 20px 18px 22px; }
.feature-content h3 { font-size: 1.12rem; }
.feature-content p { font-size: .9rem; color: #4b535b; margin-bottom: 18px; }
.feature-content .button { min-width: 118px; }

/* Editorial promo cards */
.editorial-card { margin-top: 42px; display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid #e0e4e8; box-shadow: 0 1px 3px rgb(0 0 0 / 6%); }
.editorial-image { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.editorial-copy { align-self: center; padding: clamp(22px, 4vw, 42px); }
.editorial-copy h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
.editorial-copy p { color: #4d5660; }
.card-promo { grid-template-columns: 1fr 1fr; }
.credit-card-art { position: relative; min-height: 250px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(ellipse at 25% 80%, #74b88e 0%, #dcefe4 34%, #e8eef3 70%); }
.mock-card { position: relative; width: min(70%, 330px); aspect-ratio: 1.62; border-radius: 13px; padding: 18px; color: #fff; overflow: hidden; transform: rotate(-5deg); background: linear-gradient(130deg, #09285d, #0d4e96 55%, #1d8db8); box-shadow: 0 16px 25px rgb(0 0 0 / 22%); }
.mock-card::after { content: ""; position: absolute; width: 180px; height: 180px; border: 1px solid rgb(255 255 255 / 25%); border-radius: 50%; right: -35px; top: -65px; box-shadow: 0 0 0 18px rgb(255 255 255 / 5%), 0 0 0 36px rgb(255 255 255 / 4%); }
.mock-card-brand { font-weight: 700; font-size: 1.1rem; }
.mock-card-chip { display: block; width: 32px; height: 24px; margin-top: 20px; border-radius: 5px; background: linear-gradient(135deg, #e6d6a3, #a78b49); }
.mock-card-label { position: absolute; bottom: 14px; right: 17px; font-weight: 800; font-size: 1.35rem; font-style: italic; }
.offer-ribbon { position: absolute; top: 26px; right: -42px; transform: rotate(35deg); padding: 6px 45px; background: #e8d33d; color: #1b2b45; font-size: .65rem; font-weight: 800; letter-spacing: .08em; }
.auto-feature { padding-block: 52px 58px; text-align: left; max-width: 780px; }
.car-illustration { width: min(260px, 65%); color: var(--chase-blue); margin: 0 auto 24px; }
.auto-feature h2 { max-width: 600px; }
.auto-feature p { max-width: 650px; color: #4d5660; }

/* Long-form information and footer */
.information { border-top: 1px solid var(--line); padding-block: 30px 44px; }
.information > h2 { font-size: 1.05rem; letter-spacing: .06em; }
.info-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 32px; }
.info-columns h3 { font-size: .9rem; }
.info-columns p { color: #59636e; font-size: .82rem; line-height: 1.6; margin-bottom: 8px; }
.info-columns a { font-size: .8rem; }
.site-footer { border-top: 1px solid var(--line); padding: 28px max(20px, calc((100vw - var(--content-width))/2)) 24px; color: #555f69; font-size: .78rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-links a { color: #35404a; text-decoration: none; }
.social-links { display: flex; gap: 16px; margin: 22px 0; }
.social-links a { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #aab1b8; border-radius: 50%; color: #59636e; font-weight: 700; text-decoration: none; }
.legal { max-width: 900px; font-size: .72rem; line-height: 1.6; }
.copyright { margin: 20px 0 0; font-size: .72rem; }

/* Responsive */
@media (max-width: 900px) {
  .site-header { height: 58px; padding-inline: 18px; }
  .menu-toggle { display: inline-grid; }
  .header-link { display: none; }
  .hero-inner { padding: 38px 24px 34px; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; }
  .feature-stack { grid-template-columns: 1fr; gap: 16px; max-width: 650px; }
  .feature-card { display: grid; grid-template-columns: 190px 1fr; }
  .feature-band { min-height: 100%; align-items: flex-start; flex-direction: column; justify-content: center; }
  .feature-content { padding: 18px; }
  .editorial-card { max-width: 720px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .site-header { height: 52px; padding-inline: 12px; gap: 8px; }
  .brand { font-size: .96rem; }
  .brand-mark { font-size: 1.1rem; }
  .menu-toggle { width: 30px; margin-left: 0; }
  .sign-in-button { padding: 5px 11px; font-size: .76rem; }
  .section-wrap { width: calc(100% - 28px); }
  .hero-inner { padding: 24px 18px 20px; }
  .hero .eyebrow { font-size: .88rem; }
  .hero h1 { font-size: 2.5rem; margin-bottom: 8px; }
  .hero p:not(.eyebrow):not(.fine-print) { font-size: .84rem; max-width: 330px; margin-bottom: 12px; }
  .hero .button { min-height: 30px; padding: 7px 12px; font-size: .75rem; }
  .fine-print { font-size: .62rem; }
  .product-finder { padding-block: 24px 26px; }
  .product-finder h2 { font-size: 1.05rem; margin-bottom: 12px; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 2px; }
  .product-link { min-height: 66px; gap: 5px; font-size: .68rem; padding: 5px 1px; }
  .product-icon { height: 25px; font-size: 1.35rem; }
  .feature-stack { gap: 12px; }
  .feature-card { display: block; }
  .feature-band { min-height: 42px; padding: 8px 11px; flex-direction: row; align-items: center; }
  .feature-band h2 { font-size: .91rem; }
  .band-symbol { font-size: 1.35rem; }
  .feature-content { padding: 12px 11px 14px; }
  .feature-content h3 { font-size: .92rem; margin-bottom: 7px; }
  .feature-content p { font-size: .75rem; line-height: 1.45; margin-bottom: 10px; }
  .feature-content .button { min-height: 29px; min-width: 100px; padding: 6px 12px; font-size: .72rem; }
  .editorial-card { display: block; margin-top: 26px; }
  .editorial-image { height: 150px; min-height: 0; }
  .editorial-copy { padding: 13px 12px 16px; }
  .editorial-copy h2 { font-size: 1.05rem; margin-bottom: 8px; }
  .editorial-copy p { font-size: .76rem; line-height: 1.45; margin-bottom: 10px; }
  .editorial-copy .button, .auto-feature .button { min-height: 28px; padding: 6px 11px; font-size: .72rem; }
  .card-promo .credit-card-art { min-height: 150px; }
  .mock-card { padding: 12px; }
  .mock-card-brand { font-size: .85rem; }
  .mock-card-chip { margin-top: 10px; width: 25px; height: 18px; }
  .mock-card-label { font-size: 1rem; bottom: 9px; right: 12px; }
  .offer-ribbon { top: 18px; right: -46px; font-size: .55rem; }
  .auto-feature { padding-block: 30px 34px; }
  .car-illustration { width: 145px; margin-bottom: 12px; }
  .auto-feature h2 { font-size: 1rem; margin-bottom: 8px; }
  .auto-feature p { font-size: .75rem; line-height: 1.45; margin-bottom: 10px; }
  .information { padding-block: 22px 28px; }
  .information > h2 { font-size: .9rem; margin-bottom: 16px; }
  .info-columns { grid-template-columns: 1fr; gap: 16px; }
  .info-columns h3 { font-size: .78rem; margin-bottom: 4px; }
  .info-columns p { font-size: .7rem; line-height: 1.5; margin-bottom: 5px; }
  .info-columns a { font-size: .7rem; }
  .site-footer { padding: 20px 14px; font-size: .68rem; }
  .footer-links { gap: 10px 16px; }
  .social-links { gap: 11px; margin: 18px 0; }
  .social-links a { width: 25px; height: 25px; }
  .legal, .copyright { font-size: .65rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
