/* Reset + base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

/* A11y */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
.skip-link {
  position: absolute; top: -100px; left: 12px; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 18px;
  border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px;
}

/* Layout */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 92px 0; }
.section.alt { background: var(--paper); }

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

/* Section heading */
.shead { max-width: 60ch; margin-bottom: 50px; }
.shead h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.02em; line-height: 1.1;
}
.shead p { margin-top: 16px; font-size: 17.5px; color: var(--slate); }

/* ===== Header ===== */
header.top {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap {
  display: flex; align-items: center; justify-content: space-between; height: 74px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--display); font-weight: 800; font-size: 22px;
  letter-spacing: -.03em; color: var(--ink);
}
.brand img { width: 42px; height: 42px; object-fit: contain; }

nav.main { display: flex; gap: 32px; align-items: center; font-size: 15px; font-weight: 500; }
nav.main a { color: var(--slate); transition: color .2s; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--blue); }
.pill {
  background: var(--ink); color: #fff !important;
  padding: 11px 22px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 14.5px; transition: background .2s;
}
.pill:hover { background: var(--blue); }
/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none; border: none; padding: 0;
  width: 44px; height: 44px; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  z-index: 101;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .25s, opacity .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  header.top .wrap { position: relative; }
  nav.main {
    position: fixed;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 24px 28px 40px;
    gap: 4px;
    align-items: stretch;
    font-size: 18px;
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
    transform: translateY(-120%);
    transition: transform .3s ease;
    z-index: 100;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
  }
  nav.main.open { transform: translateY(0); }
  nav.main a {
    display: block; padding: 14px 4px;
    border-bottom: 1px solid var(--mist);
    font-weight: 500;
  }
  nav.main a:last-child { border-bottom: none; }
  nav.main a.pill {
    margin-top: 16px;
    background: var(--blue); color: #fff;
    padding: 14px 22px; border-radius: 999px;
    text-align: center; font-weight: 600;
    border: none;
  }
  body.nav-open { overflow: hidden; }
}

/* ===== Chooser hero ===== */
.chooser { position: relative; overflow: hidden; background: var(--paper); }
.chooser::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 88% -5%, var(--blue-tint), transparent 70%),
    radial-gradient(45% 40% at 5% 100%, rgba(1, 113, 185, 0.07), transparent 70%);
}
.chooser .wrap { position: relative; padding: 78px var(--gutter) 30px; }
.chooser .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: start; gap: 40px;
}
.chooser .hero-img { position: relative; align-self: stretch; }
.chooser .hero-img img {
  width: 125%; max-width: none; height: auto; max-height: 620px;
  object-fit: contain; margin-left: -12%;
}
@media (max-width: 900px) {
  .chooser .hero-grid { grid-template-columns: 1fr; gap: 32px; align-items: stretch; }
  .chooser .hero-img { overflow: hidden; }
  .chooser .hero-img img { width: 125%; max-width: none; height: auto; margin-left: -12.5%; }
  .chooser .wrap { padding-top: 56px; }
}
.chooser h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(40px, 5.6vw, 64px); line-height: 1.02;
  letter-spacing: -.04em; max-width: 14ch; color: var(--ink);
}
.chooser h1 em { font-style: normal; color: var(--blue); }
.chooser .lede {
  margin-top: 22px; font-size: clamp(17px, 1.7vw, 19px);
  color: var(--slate); max-width: 48ch;
}

.cards {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  gap: 22px; padding: 46px var(--gutter) 86px;
  max-width: var(--container); margin: 0 auto;
}
.card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  padding: 42px 38px 36px; min-height: 330px;
  display: flex; flex-direction: column; border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.card.biz { background: linear-gradient(150deg, #0a2d47, var(--blue) 130%); color: #eaf3fa; }
.card.home { background: var(--white); color: var(--ink); }
.card .klabel {
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase;
}
.card.biz .klabel { color: #c9e3f5; }
.card.home .klabel { color: var(--blue-ink); }
.card h2 {
  font-family: var(--display); font-weight: 600; font-size: 34px;
  letter-spacing: -.02em; margin: 14px 0 12px; line-height: 1.1;
}
.card p { font-size: 16px; line-height: 1.65; max-width: 38ch; }
.card.biz p { color: #cfe3f2; }
.card.home p { color: var(--slate); }
.card .go {
  margin-top: auto; display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15.5px; padding-top: 26px;
}
.card.biz .go { color: #fff; }
.card.home .go { color: var(--blue); }
.card .go svg { width: 18px; height: 18px; transition: transform .3s; }
.card:hover .go svg { transform: translateX(5px); }
.card .ghost {
  position: absolute; right: -30px; bottom: -30px;
  width: 200px; height: 200px; opacity: .1; pointer-events: none;
}
.card.biz .ghost { opacity: .16; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

/* ===== B2B hero ===== */
.biz-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #0a2d47 0%, var(--blue) 130%);
  color: #eaf3fa; padding: 88px 0 80px;
}
.biz-hero .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: 40px;
}
.biz-hero .hero-img img {
  width: 125%; max-width: none; height: auto; max-height: 620px;
  object-fit: contain; margin-left: -12%;
}
@media (max-width: 900px) {
  .biz-hero .hero-grid { grid-template-columns: 1fr; gap: 32px; align-items: stretch; }
  .biz-hero .hero-img img { width: 100%; max-height: 260px; margin-left: 0; }
}
.biz-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 50% at 90% 0%, rgba(255, 255, 255, 0.10), transparent 60%),
    radial-gradient(35% 50% at 0% 100%, rgba(255, 255, 255, 0.05), transparent 60%);
}
.biz-hero .wrap { position: relative; }
.biz-hero .eyebrow { color: #9ed0ee; }
.biz-hero .eyebrow .dot { background: #9ed0ee; }
.biz-hero h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(40px, 6vw, 68px); line-height: 1.04;
  letter-spacing: -.04em; color: #fff; max-width: 18ch;
}
.biz-hero h1 em { font-style: normal; color: #9ed0ee; }
.biz-hero .lede {
  margin-top: 22px; font-size: clamp(17px, 1.6vw, 19px);
  color: #cfe3f2; max-width: 56ch; line-height: 1.55;
}
.hero-ctas { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--blue-deep);
  font-weight: 700; padding: 14px 26px;
  border-radius: var(--radius-pill); font-size: 15.5px;
  transition: transform .25s;
}
.btn-primary:hover { transform: scale(1.04); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: #fff;
  font-weight: 600; padding: 14px 26px;
  border-radius: var(--radius-pill); font-size: 15.5px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: background .2s, border-color .2s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

/* ===== Clients (Trusted by) ===== */
.clients-section { padding: 60px 0 50px; background: var(--white); border-bottom: 1px solid var(--line); }
.clients-title {
  text-align: center; font-family: var(--display);
  font-weight: 600; font-size: 16px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--slate);
  margin-bottom: 36px;
}
.clients {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 28px 20px; align-items: center; justify-items: stretch;
}
.clients li {
  width: 100%;
  background: #fff;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  filter: grayscale(1) brightness(.6) opacity(.85);
  transition: filter .25s;
}
.clients img {
  width: 100%; height: auto; max-height: 70px; object-fit: contain;
}
.clients li:hover { filter: grayscale(0) brightness(1) opacity(1); }
@media (max-width: 820px) { .clients { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .clients { grid-template-columns: repeat(2, 1fr); } }

/* ===== Resource grid variant: 3 columns ===== */
.res-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .res-3 { grid-template-columns: 1fr; } }

/* ===== Service split (text + stats) ===== */
.svc-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.svc-split h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.02em;
  line-height: 1.1; margin-top: 16px;
}
.svc-split p {
  margin-top: 16px; font-size: 17px; color: var(--slate);
  max-width: 50ch;
}
.svc-split .more { margin-top: 20px; display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--blue); }
.svc-stat { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 32px 26px;
  display: flex; flex-direction: column; gap: 8px;
}
.stat .num {
  font-family: var(--display); font-weight: 800;
  font-size: 42px; letter-spacing: -.03em; color: var(--blue-ink);
}
.stat .lbl { font-size: 14px; color: var(--slate); line-height: 1.4; }
@media (max-width: 760px) {
  .svc-split { grid-template-columns: 1fr; gap: 40px; }
}

/* ===== Trust strip ===== */
.trust {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--white);
}
.trust .wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 46px; padding: 26px var(--gutter); flex-wrap: wrap;
}
.trust .sig {
  display: flex; align-items: center; gap: 13px;
  color: var(--slate); font-size: 14.5px; font-weight: 500;
}
.trust .sig svg { width: 24px; height: 24px; fill: var(--ink); flex: none; }
.trust .div { width: 1px; height: 26px; background: var(--line); }
@media (max-width: 680px) {
  .trust .div { display: none; }
  .trust .wrap { gap: 20px; }
}

/* ===== Family grid (outline icons) ===== */
.families {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  list-style: none; padding: 0;
}
.fam {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 26px 20px; text-align: center;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  display: block; color: inherit;
}
.fam:hover {
  border-color: var(--blue); transform: translateY(-4px); box-shadow: var(--shadow-card);
}
.fam .icon {
  height: 64px; display: grid; place-items: center; margin-bottom: 14px;
  color: var(--ink); transition: color .25s;
}
.fam .icon svg { height: 54px; width: auto; max-width: 100%; display: block; }
.fam:hover .icon { color: var(--blue); }
.fam .name { font-weight: 600; font-size: 16px; display: block; }
.fam .meta { font-size: 13px; color: var(--slate); margin-top: 3px; display: block; }
@media (max-width: 820px) { .families { grid-template-columns: 1fr 1fr; } }

.note { margin-top: 18px; font-size: 13.5px; color: var(--slate); font-style: italic; }

/* ===== Pricing table ===== */
.ptable {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); overflow: hidden;
}
.ptable .cap {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 24px; border-bottom: 1px solid var(--line); background: var(--paper);
}
.ptable .cap svg {
  height: 34px; stroke: var(--blue); stroke-width: 1.4;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.ptable .cap h3 { font-family: var(--display); font-weight: 600; font-size: 21px; }
.ptable table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ptable th, .ptable td { text-align: left; padding: 14px 24px; }
.ptable thead th {
  font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--slate); border-bottom: 1px solid var(--line); font-weight: 700;
}
.ptable tbody tr + tr td { border-top: 1px solid var(--mist); }
.ptable tbody td:last-child { font-weight: 600; color: var(--blue-ink); text-align: right; }
.ptable thead th:last-child { text-align: right; }

/* ===== Resource cards ===== */
.res { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rcard {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 28px;
  transition: transform .25s, box-shadow .25s;
}
.rcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.rcard .tag {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue);
}
.rcard h3 {
  font-family: var(--display); font-weight: 600; font-size: 20px;
  margin: 12px 0 8px; line-height: 1.2;
}
.rcard p { font-size: 14.5px; color: var(--slate); }
.rcard .more {
  margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--blue);
  display: inline-flex; gap: 7px; align-items: center;
}
@media (max-width: 820px) { .res { grid-template-columns: 1fr; } }

/* ===== CTA band ===== */
.cta {
  background: linear-gradient(140deg, #0a2d47, var(--blue) 150%);
  color: #fff; border-radius: 24px; padding: 64px 54px;
  text-align: center; position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
}
.cta h2 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.02em; position: relative;
}
.cta p {
  margin: 14px auto 28px; max-width: 48ch;
  color: #d3e6f4; font-size: 17px; position: relative;
}
.cta .btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--blue-deep); font-weight: 700;
  padding: 15px 30px; border-radius: var(--radius-pill);
  font-size: 16px; transition: transform .25s;
}
.cta .btn:hover { transform: scale(1.04); }

/* ===== Product category landing ===== */
.cat-hero { background: var(--paper); padding: 64px 0 40px; position: relative; overflow: hidden; }
.cat-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 88% -5%, var(--blue-tint), transparent 70%);
}
.cat-hero .wrap { position: relative; }
.crumbs { font-size: 13.5px; color: var(--ink); margin-bottom: 18px; }
.crumbs a { color: var(--blue-ink); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .15s; font-weight: 500; }
.crumbs a:hover { border-bottom-color: var(--blue-ink); color: var(--blue); }
.crumbs .sep { margin: 0 8px; color: var(--slate); }
.crumbs .current { color: var(--ink); font-weight: 600; }
.cat-hero h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(36px, 5vw, 56px); line-height: 1.05;
  letter-spacing: -.03em; color: var(--ink); max-width: 18ch;
}
.cat-hero h1 em { font-style: normal; color: var(--blue); }
.cat-hero .lede {
  margin-top: 18px; font-size: clamp(17px, 1.6vw, 19px);
  color: var(--slate); max-width: 56ch;
}
.cat-hero .cat-family {
  margin-top: 32px; display: flex; justify-content: center;
}
.cat-hero .cat-family img {
  width: 100%; max-width: 1000px; max-height: 380px;
  object-fit: contain;
}

/* Product cards grid (category landing) */
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; list-style: none; padding: 0;
}
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; } }
.product-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px 28px 28px;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  color: inherit; text-decoration: none;
}
.product-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lift);
  border-color: var(--blue);
}
.product-card .pcimg {
  aspect-ratio: 3 / 2; background: var(--white);
  border-radius: 12px; margin-bottom: 20px; padding: 12px;
  overflow: hidden; position: relative;
}
.product-card .pcimg img {
  position: absolute; inset: 12px;
  width: calc(100% - 24px); height: calc(100% - 24px);
  object-fit: contain; object-position: center bottom;
}
.product-card .ptag {
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue);
}
.product-card h2 {
  font-family: var(--display); font-weight: 700; font-size: 24px;
  letter-spacing: -.02em; margin: 8px 0 6px; line-height: 1.15; color: var(--ink);
}
.product-card .pprice {
  font-size: 14px; color: var(--ink); font-weight: 700;
  margin-top: 8px; display: block;
}
.product-card .pdesc {
  font-size: 15px; color: var(--slate); line-height: 1.55;
  flex-grow: 1; margin: 8px 0 18px;
}
.product-card .pcta {
  font-size: 14.5px; font-weight: 600; color: var(--blue);
  display: inline-flex; gap: 6px; align-items: center;
}
.product-card:hover .pcta svg { transform: translateX(4px); }
.product-card .pcta svg { transition: transform .25s; }

/* ===== Product detail page ===== */
.pdp-hero {
  background: var(--paper); padding: 56px 0 72px;
  position: relative; overflow: hidden;
}
.pdp-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 50% at 88% 10%, var(--blue-tint), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(1, 113, 185, 0.05), transparent 70%);
}
.pdp-hero .wrap { position: relative; }
.pdp-hero .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center; gap: 48px;
}
.pdp-hero .ptag {
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
  display: inline-block;
}
.pdp-hero h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(36px, 5vw, 56px); line-height: 1.05;
  letter-spacing: -.03em; color: var(--ink);
}
.pdp-hero h1 em { font-style: normal; color: var(--blue); }
.pdp-hero .tagline {
  margin-top: 18px; font-size: clamp(17px, 1.6vw, 19px);
  color: var(--slate); max-width: 48ch;
}
.pdp-hero .price {
  margin-top: 20px; font-size: 16.5px;
  color: var(--slate);
}
.pdp-hero .price strong {
  color: var(--ink); font-weight: 700; font-size: 19px;
  margin-right: 4px;
}
.pdp-hero .price .price-note {
  font-size: 13px; color: var(--slate);
  margin-left: 8px;
}
.pdp-hero .swatches {
  display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px;
}
.pdp-hero .swatch {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 12px; color: var(--slate); text-align: center;
  background: none; border: 0; padding: 8px 6px; cursor: pointer;
  min-width: 44px; min-height: 44px; justify-content: center;
  font-family: inherit; transition: color .2s;
}
.pdp-hero .swatch:hover { color: var(--ink); }
.pdp-hero .swatch[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
.pdp-hero .swatch-dot {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 2px var(--white);
  transition: box-shadow .2s, transform .2s;
}
.pdp-hero .swatch:hover .swatch-dot { transform: scale(1.08); }
.pdp-hero .swatch[aria-pressed="true"] .swatch-dot {
  box-shadow: inset 0 0 0 2px var(--white), 0 0 0 2px var(--blue);
}
.pdp-hero .swatch:focus-visible { outline: none; }
.pdp-hero .swatch:focus-visible .swatch-dot {
  box-shadow: inset 0 0 0 2px var(--white), 0 0 0 3px var(--blue);
}
.pdp-hero .product-image {
  display: grid; place-items: center;
  background: var(--white); border-radius: 18px;
  padding: 20px; aspect-ratio: 4 / 3;
  box-shadow: 0 8px 32px -16px rgba(7, 59, 94, 0.2);
}
.pdp-hero .product-image img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain;
}
@media (max-width: 900px) {
  .pdp-hero .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .pdp-hero .product-image img { max-height: 320px; }
}

/* Feature gallery (PDP feature shots from Apple Relay) */
.feature-gallery {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-top: 30px;
}
@media (max-width: 760px) { .feature-gallery { grid-template-columns: 1fr; } }
.fg-tile {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 1 / 1; position: relative;
}
.fg-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  display: block;
}

/* Key features grid */
.key-features {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; list-style: none; padding: 0;
}
@media (max-width: 760px) { .key-features { grid-template-columns: 1fr; } }
.kf {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 24px 26px;
}
.kf h3 {
  font-family: var(--display); font-weight: 700; font-size: 16px;
  letter-spacing: .02em; text-transform: uppercase; color: var(--blue-ink);
  margin-bottom: 10px;
}
.kf p { font-size: 15.5px; color: var(--slate); line-height: 1.55; }

/* Dual CTA block */
.dual-cta {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px; margin-top: 12px;
}
@media (max-width: 760px) { .dual-cta { grid-template-columns: 1fr; } }
.dcta {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px 30px;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  color: inherit; text-decoration: none;
}
.dcta:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.dcta.biz { background: linear-gradient(150deg, #0a2d47, var(--blue) 130%); color: #eaf3fa; border-color: transparent; }
.dcta.biz:hover { border-color: rgba(255, 255, 255, 0.3); }
.dcta .dlabel {
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase;
}
.dcta.biz .dlabel { color: #c9e3f5; }
.dcta.home .dlabel { color: var(--blue-ink); }
.dcta h3 {
  font-family: var(--display); font-weight: 600; font-size: 22px;
  letter-spacing: -.01em; line-height: 1.2; margin: 4px 0 6px;
}
.dcta p { font-size: 15px; line-height: 1.55; max-width: 38ch; }
.dcta.biz p { color: #cfe3f2; }
.dcta.home p { color: var(--slate); }
.dcta .arrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 14px; font-weight: 600; font-size: 15px;
}
.dcta.biz .arrow { color: #fff; }
.dcta.home .arrow { color: var(--blue); }
.dcta .arrow svg { width: 18px; height: 18px; transition: transform .25s; }
.dcta:hover .arrow svg { transform: translateX(4px); }

/* ===== Configurations table ===== */
.config-table {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); overflow: hidden;
}
.config-row {
  display: grid; grid-template-columns: 200px 1fr;
  padding: 18px 24px; border-top: 1px solid var(--mist);
  align-items: baseline;
}
.config-row:first-child { border-top: 0; }
.config-row dt {
  font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--slate);
}
.config-row dd {
  font-size: 16px; color: var(--ink); line-height: 1.55;
}
.config-row dd .opt + .opt::before {
  content: " · "; color: var(--slate-soft); margin: 0 4px;
}
.config-row dd .opt strong { font-weight: 600; }
.config-note {
  margin-top: 16px; font-size: 13.5px; color: var(--slate);
  font-style: italic;
}
@media (max-width: 760px) {
  .config-row { grid-template-columns: 1fr; gap: 6px; }
}

/* AppleCare add-on note */
.acn {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 28px 32px;
  display: flex; gap: 28px; align-items: center;
}
@media (max-width: 760px) {
  .acn { flex-direction: column; align-items: flex-start; gap: 16px; }
}
.acn .acn-logo {
  flex: none; width: 200px; max-width: 100%;
}
.acn .acn-logo img { width: 100%; height: auto; display: block; }
.acn h3 {
  font-family: var(--display); font-weight: 600; font-size: 17px;
  margin-bottom: 4px;
}
.acn p { font-size: 14.5px; color: var(--slate); line-height: 1.5; }

/* Footnotes (Apple legal per-image lines) */
.footnotes {
  font-size: 12.5px; color: var(--slate); line-height: 1.55;
}
.footnotes p { margin-bottom: 8px; }
.footnotes sup { font-size: 10px; }

/* ===== Footer ===== */
footer.site { background: var(--ink); color: #aebccb; padding: 60px 0 34px; font-size: 14.5px; }
footer .grid {
  display: flex; justify-content: space-between; gap: 40px;
  flex-wrap: wrap; padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 760px) {
  footer .grid { justify-content: flex-start; gap: 28px; }
  footer .intro, footer .col { flex: 1 1 100%; }
}
footer .brand { color: #fff; font-size: 21px; font-weight: 800; }
footer .brand img { width: 38px; height: 38px; filter: invert(1) brightness(1.1); }
footer .intro { max-width: 320px; }
footer .intro p { margin-top: 16px; color: #8ea0b1; }
footer .col h2, footer .col h3 {
  color: #fff; font-size: 13px; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 14px; font-weight: 700;
}
footer .col a { display: block; color: #aebccb; margin-bottom: 9px; transition: color .2s; }
footer .col a .staff-tag { font-size: 11px; opacity: .7; margin-left: 4px; font-weight: 400; }
footer .col a:hover { color: #fff; }
footer .sig-row {
  display: flex; align-items: center; gap: 16px; margin-top: 22px;
  padding: 16px 20px; background: #fff;
  border-radius: var(--radius-sm); width: fit-content;
}
footer .sig-row img { height: 46px; width: auto; display: block; }
footer .legal {
  display: flex; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; padding-top: 26px; font-size: 13px; color: #7e90a1;
}
footer .legal a { color: #7e90a1; }
footer .legal a:hover { color: #fff; }
footer .legal .links { display: flex; gap: 18px; flex-wrap: wrap; }
footer .apple-legal {
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11.5px; line-height: 1.55; color: #7e8b9b;
  max-width: 100%;
}
footer .apple-legal p { margin: 0 0 6px; }
footer .apple-legal p:last-child { margin-bottom: 0; }

/* ===== Forms ===== */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px 40px;
  max-width: 720px;
  margin: 0 auto;
}
@media (max-width: 600px) { .form-card { padding: 24px 22px; } }

.form-card .field { margin-bottom: 20px; }
.form-card fieldset.field-set { margin: 0 0 20px; padding: 0; border: 0; }
.form-card fieldset.field-set legend {
  display: block; padding: 0; margin: 0 0 7px;
  font-size: 13.5px; font-weight: 600; color: var(--ink); letter-spacing: .01em;
}
.form-card .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 20px; }
@media (max-width: 600px) { .form-card .field-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .form-card .field-row .field { margin-bottom: 20px; } }

.form-card label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
  letter-spacing: .01em;
}
.form-card label .req { color: var(--blue); margin-left: 2px; }
.form-card .help {
  display: block; font-size: 12.5px; color: var(--slate);
  font-weight: 400; margin-top: 4px;
}

.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="tel"],
.form-card input[type="number"],
.form-card select,
.form-card textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15.5px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;
}
.form-card textarea { min-height: 140px; resize: vertical; line-height: 1.5; }

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(1, 113, 185, 0.15);
}

.form-card .checkboxes { display: grid; gap: 10px; }
.form-card .checkbox-item {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14.5px; line-height: 1.45; color: var(--ink);
  cursor: pointer;
}
.form-card .checkbox-item input[type="checkbox"] {
  margin-top: 3px; flex: none;
  accent-color: var(--blue);
}

.form-card .submit {
  margin-top: 12px;
  display: inline-flex; gap: 8px; align-items: center;
  background: var(--blue); color: #fff;
  border: none; cursor: pointer;
  padding: 14px 28px; border-radius: 999px;
  font-family: inherit; font-size: 15px; font-weight: 600;
  transition: background .2s, transform .2s;
}
.form-card .submit:hover { background: var(--blue-ink); }
.form-card .submit:active { transform: scale(.98); }
.form-card .submit svg { stroke: currentColor; }

.form-card .honeypot {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

.form-card .form-foot {
  margin-top: 18px;
  font-size: 13px; color: var(--slate); line-height: 1.5;
}

/* Contact chooser cards */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 920px; margin: 0 auto; }
@media (max-width: 760px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
  text-decoration: none; color: inherit;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.contact-card .ck { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 14px; }
.contact-card h2, .contact-card h3 { font-family: var(--display); font-weight: 700; font-size: 22px; margin: 0 0 10px; line-height: 1.2; color: var(--ink); }
.contact-card p { font-size: 14.5px; color: var(--slate); line-height: 1.55; margin: 0 0 18px; flex-grow: 1; }
.contact-card .phone {
  display: inline-flex; gap: 8px; align-items: center;
  font-size: 15px; font-weight: 600; color: var(--blue);
  margin-bottom: 14px;
}
.contact-card .go {
  display: inline-flex; gap: 8px; align-items: center;
  color: var(--blue); font-weight: 600; font-size: 14.5px;
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  nav.main { transition: none !important; }
  .nav-toggle span { transition: none !important; }
}

/* ===== Cookie consent banner ===== */
#gt-consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  z-index: 200; background: var(--ink); color: #fff;
  border-radius: 14px; padding: 18px 22px;
  box-shadow: 0 18px 42px rgba(0,0,0,.25);
  font-family: var(--sans); font-size: 14.5px; line-height: 1.5;
  max-width: 920px; margin: 0 auto;
}
#gt-consent .gt-consent-inner {
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
}
#gt-consent .gt-consent-text { flex: 1; min-width: 240px; color: rgba(255,255,255,.92); }
#gt-consent .gt-consent-text strong { color: #fff; }
#gt-consent .gt-consent-text a { color: #7dc7ff; text-decoration: underline; }
#gt-consent .gt-consent-actions { display: flex; gap: 8px; flex-shrink: 0; }
#gt-consent button {
  font-family: inherit; font-weight: 600; font-size: 14px; cursor: pointer;
  padding: 10px 18px; border-radius: 999px; border: none;
}
#gt-consent .gt-consent-btn-primary { background: var(--blue); color: #fff; }
#gt-consent .gt-consent-btn-primary:hover { background: var(--blue-deep); }
#gt-consent .gt-consent-btn-secondary {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3);
}
#gt-consent .gt-consent-btn-secondary:hover { background: rgba(255,255,255,.1); }
@media (max-width: 540px) {
  #gt-consent .gt-consent-actions { width: 100%; }
  #gt-consent .gt-consent-actions button { flex: 1; }
}

/* ===== Scroll-to-top button (long pages only, injected by nav.js) ===== */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--blue); color: var(--white); border: 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity .18s, transform .18s, background-color .15s;
}
.to-top:hover { background: var(--blue-deep); }
.to-top:focus-visible { outline: 3px solid var(--blue-tint); outline-offset: 2px; }
.to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
@media (prefers-reduced-motion: reduce) {
  .to-top { transition: none; }
  .to-top.show { transform: none; }
}
