/* Breakpoints complement style.css. Content remains readable without JavaScript. */
@media (min-width: 1600px) {
  .hero-slide {
    min-height: 670px;
  }
  .hero-copy {
    padding-right: 80px;
  }
  .hero-media > img {
    max-height: 670px;
  }
}
@media (max-width: 1150px) {
  .main-nav {
    gap: 16px;
  }
  .header-inner {
    gap: 18px;
  }
  .main-nav > a,
  .nav-disclosure > summary {
    font-size: 12px;
  }
  .container {
    width: calc(100% - 48px);
  }
  .hero-slide {
    min-height: 560px;
  }
  .hero-copy {
    padding: 58px 40px 58px 48px;
  }
  .hero-copy h1,
  .hero-copy h2 {
    font-size: 48px;
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .footer-grid {
    gap: 20px;
  }
  .split {
    gap: 36px;
  }
  .nav-dropdown {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 960px) {
  :root {
    --space: 64px;
  }
  .site-header {
    height: 86px;
  }
  .brand img {
    width: 120px;
    height: 70px;
  }
  .header-cta {
    margin-left: auto;
  }
  .menu-toggle {
    display: grid;
    place-items: center;
  }
  .main-nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 85px;
    background: white;
    margin: 0;
    padding: 20px 28px;
    max-height: calc(100dvh - 85px);
    overflow-y: auto;
    box-shadow: 0 22px 35px #102b3a15;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.is-open {
    display: block;
  }
  .main-nav > a,
  .nav-disclosure > summary {
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
  }
  .nav-disclosure > summary {
    justify-content: space-between;
  }
  .nav-dropdown {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 0;
    box-shadow: none;
    padding: 10px 0;
    background: var(--surface);
    max-height: none;
    gap: 0;
  }
  .nav-dropdown a {
    font-size: 13px;
  }
  .nav-dropdown small {
    display: none;
  }
  .hero-slide {
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
  }
  .hero-copy {
    padding: 45px 28px 50px 40px;
  }
  .hero-copy h1,
  .hero-copy h2 {
    font-size: 40px;
  }
  .hero-caption {
    left: 15px;
    right: 15px;
    bottom: 20px;
    padding: 13px;
  }
  .trust-inner {
    flex-wrap: wrap;
    justify-content: center;
  }
  .offer-bar {
    grid-template-columns: auto 1fr;
  }
  .offer-bar > .text-link {
    grid-column: 2;
  }
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
  .logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px 45px;
  }
  .footer-brand {
    grid-row: span 2;
  }
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 35px;
  }
  .product-hero h1 {
    font-size: 40px;
  }
  .product-hero .split {
    gap: 30px;
  }
  .product-hero img {
    height: 330px;
  }
  .founder-portrait {
    height: 340px;
  }
  .contact-grid {
    gap: 35px;
  }
  .directory-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .calculator-grid {
    gap: 22px;
  }
  .calculator-controls,
  .calculator-results {
    padding: 25px;
  }
}
@media (max-width: 700px) {
  .container {
    width: calc(100% - 36px);
  }
  .site-header {
    height: 82px;
  }
  .header-inner {
    gap: 14px;
  }
  .brand img {
    width: 120px;
    height: 66px;
  }
  .header-cta {
    padding: 10px 14px;
    min-height: 42px;
    font-size: 10px;
  }
  .main-nav {
    top: 81px;
    max-height: calc(100dvh - 81px);
  }
  .hero-slide {
    grid-template-columns: 1fr;
    grid-template-rows: auto 320px;
  }
  .hero-copy {
    padding: 42px 32px 36px;
    align-self: start;
  }
  .hero-copy h1,
  .hero-copy h2 {
    font-size: 39px;
    max-width: 510px;
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .hero-media {
    min-height: 0;
  }
  .hero-media > img {
    height: 320px;
    object-position: center 42%;
  }
  .hero-founders {
    padding-top: 15px;
  }
  .hero-founders img {
    height: 305px;
    width: 45%;
    object-fit: contain;
    object-position: bottom;
  }
  .hero-caption {
    left: 24px;
    right: 24px;
    bottom: 20px;
  }
  .hero-caption .icon {
    width: 20px;
  }
  .slider-arrow {
    top: 70%;
    width: 35px;
    height: 44px;
  }
  .slider-prev {
    left: 5px;
  }
  .slider-next {
    right: 5px;
  }
  .slider-pause {
    bottom: 6px;
    left: calc(50% - 60px);
    font-size: 10px;
  }
  .trust-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: 11px;
    gap: 13px;
  }
  .trust-inner span:last-child {
    grid-column: 1/-1;
    justify-content: center;
  }
  .offer-bar {
    padding: 22px;
    gap: 20px;
    margin-top: 28px;
  }
  .offer-bar > .text-link {
    grid-column: 1/-1;
  }
  .offer-bar p {
    font-size: 13px;
  }
  .offer-number {
    font-size: 32px;
  }
  .offer-fine {
    grid-column: 1/-1;
  }
  .section-heading-row {
    display: block;
  }
  .section-heading-row > .text-link {
    margin-top: 18px;
  }
  .section-head p {
    font-size: 16px;
  }
  .split,
  .contact-grid,
  .calculator-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }
  .split {
    gap: 32px;
  }
  .feature-photo img {
    height: 320px;
  }
  .logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .logo-card {
    height: 85px;
    padding: 12px;
  }
  .logo-card img {
    max-height: 55px;
  }
  .network-footer {
    display: block;
  }
  .network-footer .text-link {
    margin-top: 14px;
  }
  .card-grid {
    gap: 16px;
  }
  .card {
    padding: 24px;
  }
  .card h3 {
    font-size: 21px;
  }
  .product-card {
    padding: 23px;
  }
  .product-card h3 {
    font-size: 20px;
  }
  .product-card .product-number {
    right: 23px;
    top: 25px;
  }
.page-hero {
    padding: 43px 0;
  }
  .page-hero h1 {
    font-size: 39px;
  }
  .page-hero p {
    font-size: 16px;
  }
  .product-hero img {
    height: 300px;
  }
  .product-hero .split {
    gap: 28px;
  }
  .article-nav {
    position: static;
    grid-row: 1;
  }
  .article-body {
    min-width: 0;
  }
  .article-body h2 {
    font-size: 25px;
  }
  .article-nav ol {
    columns: 2;
    column-gap: 25px;
  }
  .founder-grid {
    gap: 18px;
  }
  .founder-portrait {
    height: 290px;
    padding: 25px 10px 0;
  }
  .founder-copy {
    padding: 22px;
  }
  .founder-copy h3 {
    font-size: 24px;
  }
  .founder-copy p {
    font-size: 14px;
  }
  .gallery-card img {
    height: 320px;
  }
  .gallery-card figcaption {
    padding: 18px;
  }
  .directory-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .directory-card {
    padding: 18px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .footer-brand {
    grid-row: auto;
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 135px 1fr;
    gap: 5px 26px;
    align-items: center;
  }
  .footer-brand img {
    grid-row: span 2;
    margin: 0;
  }
  .footer-brand p {
    max-width: 280px;
    margin: 0;
    font-size: 13px;
  }
  .footer-brand .socials {
    margin: 0;
  }
  .footer-contact {
    grid-column: 1/-1;
  }
  .footer-contact address {
    max-width: 310px;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom p + p {
    margin-top: 14px;
  }
  .site-footer h2 {
    margin-top: 0;
  }
  .calculator-results output {
    font-size: 44px;
  }
}
@media (max-width: 440px) {
  :root {
    --space: 52px;
  }
  .container {
    width: calc(100% - 32px);
  }
  .header-inner {
    gap: 10px;
  }
  .header-cta {
    padding: 9px 11px;
  }
  .menu-toggle {
    padding: 8px;
  }
  .hero-copy {
    padding: 34px 25px;
  }
  .hero-copy h1,
  .hero-copy h2 {
    font-size: 35px;
  }
  .hero-slide {
    grid-template-rows: auto 280px;
  }
  .hero-media > img {
    height: 280px;
  }
  .hero-founders img {
    height: 270px;
  }
  .hero-copy .button {
    font-size: 12px;
    min-height: 44px;
    padding: 11px 16px;
  }
  .hero-copy .actions {
    gap: 10px;
  }
  .hero-caption {
    left: 20px;
    right: 20px;
    font-size: 11px;
    padding: 11px;
  }
  .hero-caption b {
    font-size: 13px;
  }
  .products-grid,
  .card-grid,
  .founder-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .product-card {
    padding: 25px;
  }
  .product-card .icon-box {
    margin-bottom: 20px;
  }
  .logo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .offer-bar {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .offer-bar > .text-link {
    grid-column: auto;
  }
  .offer-number {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 38px;
  }
  .offer-number small {
    margin: 0;
  }
  .steps {
    gap: 20px;
  }
  .steps h3 {
    font-size: 18px;
  }
  .steps p {
    font-size: 13px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid > * {
    grid-column: 1;
  }
  .article-nav ol {
    columns: 1;
  }
  .founder-portrait {
    height: 370px;
  }
  .gallery-card img {
    height: 380px;
  }
  .page-hero h1 {
    font-size: 34px;
  }
  .directory-card h2 {
    font-size: 15px;
  }
  .footer-brand {
    grid-template-columns: 120px 1fr;
    gap: 16px;
  }
  .footer-brand img {
    width: 120px;
  }
  .footer-brand p {
    font-size: 12px;
  }
  .footer-grid {
    gap: 26px 18px;
  }
  .calculator-controls,
  .calculator-results {
    padding: 22px;
  }
  .calculator-results output {
    font-size: 36px;
  }
  .contact-card a {
    font-size: 15px;
  }
  .button {
    min-height: 46px;
  }
}
/* Keep desktop slide geometry independent of a photograph's intrinsic size. */
@media (min-width: 701px) {
  .hero-slide {
    height: 610px;
    min-height: 0;
  }
  .hero-media {
    min-height: 0;
  }
  .hero-copy {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
@media (min-width: 1600px) {
  .hero-slide {
    height: 650px;
    min-height: 0;
  }
}
@media (min-width: 701px) and (max-width: 960px) {
  .hero-slide {
    height: 560px;
  }
}
.page-hero em {
  font-style: normal;
  color: #147caa;
}
.page-hero p.eyebrow {
  font-size: 12px;
  line-height: 1.6;
}
.product-summary .eyebrow {
  color: #a4d3ee;
}
.product-summary .note {
  color: var(--muted);
}
@media (max-width: 700px) {
  .footer-contact {
    grid-column: auto;
  }
}
.button {
  color: var(--ink);
}
.button-secondary {
  color: var(--navy);
}
.button-orange {
  color: var(--navy);
}
.rate-period button[aria-pressed="true"] {
  color: var(--ink);
}
.product-card.featured .product-number {
  color: #bdd8e7;
}
.contact-card a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
/* Preserve readable form fields and keep carousel controls clear of tablet copy. */
@media (min-width: 701px) and (max-width: 1150px) {
  .slider-arrow {
    width: 32px;
  }
  .slider-prev {
    left: 4px;
  }
  .slider-next {
    right: 4px;
  }
}
@media (min-width: 961px) and (max-width: 1150px) {
  .application-card .form-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 960px) {
  .apply-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .application-card .form-grid {
    grid-template-columns: 1fr;
  }
}
.gallery-wide img {
  height: auto;
  max-height: none;
}
