:root {
  color-scheme: light;
  --navy: #101b30;
  --navy-deep: #0b1425;
  --ink: #132440;
  --muted: #53637b;
  --blue: #1651c7;
  --aqua: #1ba6e8;
  --border: #dce5ee;
  --surface: #f3f7fb;
  --white: #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--white); line-height: 1.6; }
a { color: var(--blue); text-underline-offset: .22em; }
a:hover { color: #0f3b8e; }
img { max-width: 100%; height: auto; vertical-align: middle; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; margin-block: 0 .6em; }
h1 { font-size: clamp(2.15rem, 5vw, 4rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.4rem); }
p { margin-block: 0 1em; }
:focus-visible { outline: 3px solid #1fa5d8; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap, .legacy-home .container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.wrap.narrow { width: min(740px, 100% - 2.5rem); }
.section { padding-block: clamp(2.4rem, 6vw, 5rem); }
.section-header { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.section-header h2 { margin: 0; }
.skip { position: absolute; z-index: 10; inset: .5rem auto auto .5rem; transform: translateY(-200%); padding: .6rem; background: white; }
.skip:focus { transform: none; }
.site-header { background: var(--navy-deep); color: white; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 1.4rem; }
.brand { display: block; flex-shrink: 0; }
.brand img { width: 106px; height: auto; }
.site-header nav, .header-actions { display: flex; gap: clamp(.7rem, 1.5vw, 1.4rem); align-items: center; }
.site-header a { color: #eff6ff; text-decoration: none; font-weight: 650; }
.site-header nav a:hover, .header-actions > a:hover { color: var(--aqua); }
.button, .legacy-home .btn {
  display: inline-flex; align-items: center; justify-content: center; width: fit-content; padding: .7rem 1.15rem; border: 1px solid transparent;
  background: var(--aqua); color: #0b2b30 !important; border-radius: .7rem; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer;
}
.button:hover, .legacy-home .btn:hover { background: #60c9f5; }
.button.secondary { background: white; color: var(--ink) !important; border-color: var(--border); }
.button.danger { background: #af2d3a; color: white !important; }
.button[disabled] { opacity: .6; cursor: not-allowed; }
.hero, .legacy-home .bg-dark, .legacy-home #hero_conversion { background: var(--navy-deep); color: white; }
.hero-inner, .legacy-home #hero_conversion > .container { text-align: center; padding-block: clamp(3.4rem, 10vw, 8rem); }
.hero h1, .legacy-home #hero_conversion h1 { max-width: 960px; margin-inline: auto; font-size: clamp(2.35rem, 6.3vw, 5.6rem); }
.hero em, .legacy-home .mark { font-style: normal; color: var(--aqua); }
.hero p, .legacy-home .lead { max-width: 720px; margin-inline: auto; }
.eyebrow { display: inline-block; color: #147365; font-weight: 750; font-size: .83rem; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 1rem; }
.hero .eyebrow, .legacy-home .bg-dark .eyebrow { color: var(--aqua); }
.legacy-home .bg-dark a:not(.btn) { color: #b6eee7; }
.legacy-home .sec { padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.legacy-home #hero_conversion.sec { padding-block: 0; }
.legacy-home .center { text-align: center; }
.legacy-home .btns, .legacy-home .chips { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-block: 1.4rem; }
.legacy-home .grid, .legacy-home .grid-2, .legacy-home .grid-3, .legacy-home .grid-4 { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,235px),1fr)); gap: 1rem; }
.legacy-home .grid > *, .legacy-home .grid-2 > *, .legacy-home .grid-3 > *, .legacy-home .grid-4 > * { min-width: 0; }
.legacy-home .container > img { max-width: min(100%, 860px); }
.legacy-home .card { padding: 1rem; }
.legacy-home .bg-dark .card { color: white; background: #172840; border-color: #2a405a; }
.legacy-home .bg-dark .card a { color: #c1fff3; }
.page-banner { padding-block: 3rem; background: var(--surface); }
.page-banner h1 { margin: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 275px),1fr)); gap: 1.3rem; }
.card, .panel { background: white; border: 1px solid var(--border); border-radius: 1rem; box-shadow: 0 9px 26px rgba(13,31,51,.045); }
.card { overflow: hidden; }
.card > a > img { width: 100%; height: 190px; object-fit: cover; object-position: center; background: var(--surface); }
.card:has(.price) > a > img { object-fit: contain; padding: .65rem; }
.card-copy, .panel { padding: clamp(1rem, 2.4vw, 1.6rem); }
.card h2 { font-size: clamp(1.15rem, 1.9vw, 1.5rem); margin-top: .5rem; }
.card h2 a, .cart-line h2 a { color: var(--ink); text-decoration: none; }
.card h2 a:hover, .cart-line h2 a:hover { text-decoration: underline; }
.card p, .muted, .card time, .crumbs { color: var(--muted); }
.text-link { font-weight: 700; }
.article { max-width: 800px; }
.article-cover { display: block; width: 100%; height: auto; margin: 1.5rem 0 2rem; border-radius: .8rem; }
.article h1 { margin-top: .5rem; font-size: clamp(2rem, 5vw, 3.6rem); }
.prose { font-size: 1.08rem; max-width: 820px; }
.prose img { margin-block: .75rem; border-radius: .55rem; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose table { display: block; max-width: 100%; overflow-x: auto; }
.prose blockquote { margin-inline: 0; padding: 1rem; border-left: 4px solid var(--aqua); background: var(--surface); }
.product-grid, .split { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(1rem,4vw,3rem); margin-block: 1.5rem 2.5rem; align-items: start; }
.product-image { background: var(--surface); text-align: center; padding: 1.5rem; border-radius: 1rem; }
.product-image img { max-height: 420px; object-fit: contain; }
.price { font-size: 1.35rem; font-weight: 750; color: #124884; }
.tabs, .pagination { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; padding-block: 1rem; }
.tabs a { padding: .45rem .8rem; background: var(--surface); border-radius: .55rem; }
.pagination { justify-content: center; }
.form-grid { display: grid; align-items: start; gap: .9rem; margin-block: 1.1rem; }
label { display: grid; gap: .3rem; font-weight: 600; }
input, select, textarea {
  width: 100%; padding: .65rem .75rem; color: var(--ink); background: white; border: 1px solid #b8c7d9; border-radius: .55rem; font: inherit;
}
textarea { resize: vertical; }
.checkbox { display: block; font-weight: 400; }
.checkbox input { width: auto; margin-right: .4rem; }
.notice, .errors { margin-block: .8rem; padding: .8rem 1rem; border-radius: .55rem; background: #e6fbf4; color: #155245; }
.errors { background: #fff0ee; color: #831d2b; padding-left: 2rem; }
.cart-line { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .9rem; border-bottom: 1px solid var(--border); }
.cart-line h2 { font-size: 1.2rem; }
.cart-line form { display: flex; flex-wrap: wrap; align-items: end; gap: .65rem; }
.cart-line input { max-width: 8rem; }
.badge { display: inline-block; border-radius: 5rem; padding: .2rem .65rem; color: #235278; background: #e9f3ff; font-weight: 700; font-size: .85rem; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 1rem; margin-bottom: 2rem; }
.metrics > div { background: var(--surface); padding: .8rem 1rem; border-radius: .7rem; }
.metrics strong { font-size: 1.4rem; }
.inline-search { display: flex; align-items: end; gap: .7rem; margin: 1rem 0; }
.scroll-table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--border); }
th { background: var(--surface); white-space: nowrap; }
.site-footer { padding-block: 2.6rem; color: #d5e5f6; background: var(--navy); }
.site-footer a { color: #c1fff3; }
.footer-inner, .site-footer nav { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.privacy-button { display: block; margin: .5rem auto; border: 0; background: white; color: var(--blue); cursor: pointer; font: inherit; text-decoration: underline; }
@media (max-width: 850px) {
  .header-inner { flex-wrap: wrap; padding-block: .85rem; }
  .site-header nav { order: 3; flex-wrap: wrap; gap: .4rem 1rem; width: 100%; font-size: .9rem; }
  .header-actions { margin-left: auto; font-size: .87rem; }
}
@media (max-width: 650px) {
  .product-grid, .split { grid-template-columns: 1fr; }
  .cart-line { flex-wrap: wrap; }
  .footer-inner { display: grid; }
}
