:root {
  --ink: #182132;
  --muted: #5d6979;
  --line: #dfe5ed;
  --soft: #f1f6fb;
  --soft-2: #f7f9fc;
  --blue: #176de8;
  --blue-dark: #1059c2;
  --teal: #24b9ad;
  --orange: #ff8c42;
  --white: #fff;
  --shadow: 0 18px 44px rgba(15, 23, 42, .08);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue-dark);
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
.button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 6px 24px rgba(15, 23, 42, .05);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  width: auto;
  height: 34px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.site-nav a {
  padding: 10px 13px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: #edf4ff;
  color: var(--blue-dark);
}

.site-nav .cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 5px;
  padding-inline: 17px;
  background: #111827;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(17, 24, 39, .14);
}

.site-nav .cart-link:hover,
.site-nav .cart-link:focus-visible,
.site-nav .cart-link[aria-current="page"] {
  background: #263449;
  color: var(--white);
}

.cart-count {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 6px;
  border-radius: 99px;
  background: var(--blue);
  color: var(--white);
  font-size: 11px;
  line-height: 1;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

main {
  min-height: 60vh;
}

.page-shell {
  padding: 66px 0 88px;
}

.page-narrow {
  width: min(100%, 850px);
}

.breadcrumbs {
  margin: 0 0 12px;
  color: #7a8593;
  font-size: 14px;
}

.breadcrumbs a {
  color: #68778a;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.18;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -.035em;
}

h2 {
  margin: 42px 0 16px;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
  letter-spacing: -.02em;
}

h3 {
  margin: 28px 0 12px;
  font-size: 1.25rem;
}

p {
  margin: 0 0 18px;
}

.lede {
  max-width: 790px;
  color: var(--muted);
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #155fc9;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .095em;
  text-transform: uppercase;
}

.hero {
  padding: 72px 0 78px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fbff 0%, #edf5fb 100%);
}

.hero-layout {
  display: grid;
  grid-template-areas: "copy visual" "stats visual";
  grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr);
  align-items: center;
  gap: 30px 58px;
}

.hero-copy {
  grid-area: copy;
}

.hero h1 {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: clamp(2.9rem, 5.1vw, 4.05rem);
  line-height: 1.02;
}

.hero .lede {
  max-width: 610px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 0;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(23, 109, 232, .18);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  background: var(--blue-dark);
  box-shadow: 0 16px 32px rgba(23, 109, 232, .24);
}

.button.secondary {
  background: #111827;
  box-shadow: 0 12px 26px rgba(17, 24, 39, .16);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: #263449;
}

.button.ghost {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  box-shadow: none;
}

.button.small {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 14px;
}

.button[disabled] {
  cursor: wait;
  opacity: .62;
  transform: none;
}

.hero-visual {
  grid-area: visual;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(148, 163, 184, .42);
  border-radius: var(--radius);
  background: #edf5fb;
  box-shadow: 0 24px 62px rgba(31, 44, 61, .15);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stats {
  display: grid;
  grid-area: stats;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat {
  min-height: 112px;
  padding: 20px 21px;
  border: 1px solid #263447;
  border-radius: var(--radius);
  background: #111827;
  color: #f8fafc;
  box-shadow: 0 18px 36px rgba(17, 24, 39, .12);
}

.stat strong {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 27px;
  line-height: 1;
}

.band {
  padding: 76px 0;
}

.band.alt {
  background: #eef3f8;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(240px, .62fr) minmax(0, 1.38fr);
  gap: 52px;
}

.split-heading > :first-child h2,
.section-heading h2 {
  margin-top: 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.panel {
  min-height: 185px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.panel h3 {
  margin-top: 0;
}

.panel p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading p {
  max-width: 770px;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 20px;
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 13px 34px rgba(15, 23, 42, .06);
}

.product-card > a:first-child {
  color: inherit;
  text-decoration: none;
}

.product-card-image {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin-bottom: 15px;
  border-radius: 5px;
  background: #fafbfd;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .25s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.025);
}

.product-category {
  margin: 0 0 7px;
  color: #9aa3af;
  font-size: 12px;
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.35;
}

.price {
  display: block;
  margin: auto 0 13px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 850;
}

.product-card .button {
  width: 100%;
}

.shop-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 26px 0 30px;
}

.results-count {
  margin: 0;
  color: var(--muted);
}

.sort-select {
  min-width: 210px;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid #ccd4de;
  border-radius: 3px;
  background: var(--white);
}

select,
input {
  min-height: 46px;
  padding: 9px 12px;
}

textarea {
  min-height: 118px;
  padding: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(23, 109, 232, .13);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 54px;
}

.pagination a,
.pagination span {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #7ca5da;
  color: var(--blue-dark);
  text-decoration: none;
}

.pagination .current {
  background: var(--blue);
  color: var(--white);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .92fr);
  gap: 64px;
  align-items: start;
}

.product-media {
  position: sticky;
  top: 112px;
  display: grid;
  aspect-ratio: 1 / 1;
  place-items: center;
  border-radius: var(--radius);
  background: #fbfcfe;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-summary h1 {
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.product-summary .price {
  margin-bottom: 14px;
  font-size: 22px;
}

.stock-note {
  margin: 24px 0 16px;
  color: #3c8a52;
  font-weight: 750;
}

.request-note {
  padding: 14px 16px;
  border-left: 4px solid var(--orange);
  background: #fff7f0;
  color: #5a4a3e;
  font-size: 14px;
}

.add-row {
  display: flex;
  gap: 12px;
  margin: 22px 0 14px;
}

.quantity-input {
  width: 80px;
}

.product-meta {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.product-copy {
  margin-top: 70px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.product-copy li {
  margin-bottom: 8px;
}

.related {
  margin-top: 64px;
}

.related .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .72fr);
  gap: 50px;
  align-items: start;
}

.cart-empty {
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft-2);
  text-align: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 92px auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 5px;
  background: var(--soft-2);
}

.cart-item h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.remove-item {
  border: 0;
  background: transparent;
  color: #a33b3b;
  font-size: 14px;
  text-decoration: underline;
}

.summary-card,
.order-card {
  padding: 28px;
  border: 1px solid #cfd5dd;
  border-radius: 3px;
  background: var(--white);
}

.summary-card {
  position: sticky;
  top: 112px;
}

.summary-card h2,
.order-card h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.summary-line.total {
  border-bottom: 0;
  font-size: 18px;
  font-weight: 850;
}

.summary-card .button {
  width: 100%;
  margin-top: 18px;
}

.notice {
  margin: 0 0 26px;
  padding: 17px 19px;
  border-left: 4px solid var(--blue);
  background: #f0f6ff;
  color: #334155;
}

.notice.warning {
  border-left-color: var(--orange);
  background: #fff7f0;
}

.notice.success {
  border-left-color: #2e9b58;
  background: #eefbf3;
}

.notice.error {
  border-left-color: #c53b3b;
  background: #fff1f1;
  color: #7a2424;
}

.checkout-fields h2 {
  margin-top: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 1.55rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 750;
}

.required {
  color: #c53b3b;
}

.checkbox-field {
  display: flex;
  align-items: start;
  gap: 10px;
  margin: 24px 0;
}

.checkbox-field input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.shipping-fields[hidden] {
  display: none;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.checkout-order-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkout-order-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.payment-copy {
  margin-top: 24px;
  padding: 18px;
  background: #f3f3f3;
}

.privacy-copy,
.form-help {
  color: var(--muted);
  font-size: 14px;
}

.turnstile-wrap {
  min-height: 70px;
  margin: 20px 0 10px;
}

.form-status {
  margin-top: 16px;
}

.form-status:empty {
  display: none;
}

.order-received {
  width: min(100%, 850px);
  margin-inline: auto;
}

.order-reference {
  display: inline-block;
  margin: 0 0 24px;
  padding: 8px 13px;
  border-radius: 5px;
  background: var(--ink);
  color: var(--white);
  font-size: 18px;
  font-weight: 850;
  letter-spacing: .04em;
}

.page-content {
  color: #344256;
}

.page-content h1:first-child {
  display: none;
}

.page-content ul,
.page-content ol {
  padding-left: 23px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 34px 0;
}

.contact-grid > div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft-2);
}

.contact-grid h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.site-footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-inner {
  padding: 38px 30px;
  background: #101827;
  color: #dce3ed;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 22px;
  margin-bottom: 14px;
}

.footer-links a {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.footer-inner p {
  margin: 0;
  font-size: 13px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 82px 0 auto;
    display: none;
    max-height: calc(100vh - 82px);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 18px 20px 26px;
    overflow: auto;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 14px 28px rgba(15, 23, 42, .12);
  }

  .menu-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .site-nav .cart-link {
    margin: 8px 0 0;
  }

  .hero-layout {
    grid-template-areas: "copy" "visual" "stats";
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 720px;
    aspect-ratio: 16 / 10;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .problem-grid,
  .product-grid,
  .related .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail {
    grid-template-columns: 1fr 1fr;
    gap: 38px;
  }

  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .summary-card {
    position: static;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 72px;
  }

  .site-nav {
    inset-block-start: 72px;
    max-height: calc(100vh - 72px);
  }

  .brand img {
    height: 31px;
  }

  .hero {
    padding: 46px 0 52px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero-visual {
    aspect-ratio: 4 / 3;
  }

  .stats,
  .problem-grid,
  .product-grid,
  .related .product-grid,
  .contact-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .band {
    padding: 54px 0;
  }

  .page-shell {
    padding: 42px 0 64px;
  }

  .shop-head {
    align-items: stretch;
    flex-direction: column;
  }

  .sort-select {
    min-width: 0;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-media {
    position: static;
  }

  .product-copy {
    margin-top: 46px;
  }

  .cart-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .cart-item img {
    width: 72px;
    height: 72px;
  }

  .cart-item .quantity-input,
  .cart-item .remove-item {
    grid-column: 2;
  }

  .field.full {
    grid-column: auto;
  }

  .summary-card,
  .order-card {
    padding: 22px;
  }

  .footer-inner {
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
