:root {
  color-scheme: light;
  --ink: #11131a;
  --paper: #f7f7f2;
  --white: #ffffff;
  --line: #d7d8d1;
  --quiet: #666a70;
  --cobalt: #1746d1;
  --coral: #ef5c49;
  --mint: #cdebd5;
  --acid: #d8f25a;
  --header-height: 76px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
}

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

.skip-link:focus {
  transform: none;
}

.lab-strip {
  min-height: 48px;
  padding: 7px 18px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 18px;
  color: var(--white);
  background: var(--ink);
}

.lab-strip__brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.lab-strip__brand img {
  border-radius: 4px;
}

.lab-strip p {
  margin: 0;
  color: #c9cbd0;
  font-size: 12px;
  text-align: center;
}

.mode-switch {
  justify-self: end;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 188px;
  padding: 3px;
  background: #2a2d35;
  border: 1px solid #444852;
  border-radius: 4px;
}

.mode-switch button {
  min-height: 30px;
  padding: 4px 13px;
  border: 0;
  border-radius: 2px;
  color: #d9dbe0;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.mode-switch button[aria-pressed="true"] {
  color: var(--ink);
  background: var(--acid);
}

.announcement {
  min-height: 31px;
  padding: 6px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #143322;
  background: var(--mint);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.announcement__proof {
  color: #395d49;
}

.store-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: var(--header-height);
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 247, 242, 0.96);
  backdrop-filter: blur(12px);
}

.store-brand {
  width: max-content;
  color: inherit;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.store-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.store-nav a {
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.store-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-button {
  position: relative;
  width: 42px;
  height: 42px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.icon-button svg {
  width: 20px;
  height: 20px;
}

.cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--coral);
  font-size: 10px;
  font-weight: 800;
}

.product {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(440px, 0.65fr);
  border-bottom: 1px solid var(--line);
}

.product-media {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #edece6;
}

.product-media > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-media__flag {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 22px;
  padding: 9px 12px;
  border: 1px solid rgba(17, 19, 26, 0.24);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.media-index {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 22px;
  display: flex;
  gap: 6px;
}

.media-index span {
  width: 26px;
  height: 3px;
  background: rgba(17, 19, 26, 0.3);
}

.media-index .is-active {
  background: var(--ink);
}

.product-info {
  align-self: start;
  min-width: 0;
  padding: clamp(42px, 6vw, 92px) clamp(32px, 5vw, 78px) 54px;
}

.breadcrumb,
.section-kicker {
  margin: 0 0 26px;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5.2vw, 82px);
  font-weight: 400;
  line-height: 0.96;
}

.product-price {
  margin: 0 0 8px;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 800;
}

.product-lede {
  max-width: 540px;
  margin: 28px 0 34px;
  color: #50535a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.55;
}

.option-group {
  margin: 0 0 30px;
  padding: 0;
  border: 0;
}

.option-group legend {
  width: 100%;
  margin-bottom: 13px;
  display: flex;
  justify-content: space-between;
  color: var(--quiet);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.option-group legend span {
  color: var(--ink);
}

.swatches {
  display: flex;
  gap: 10px;
}

.swatch {
  width: 44px;
  height: 44px;
  padding: 5px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.swatch span {
  width: 100%;
  height: 100%;
  display: block;
  border: 1px solid rgba(17, 19, 26, 0.22);
  border-radius: 50%;
  background: var(--swatch);
}

.swatch.is-selected {
  border-color: var(--ink);
}

.swatch[data-available="false"] {
  position: relative;
}

.swatch[data-available="false"]::after {
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 50%;
  width: 1px;
  content: "";
  background: var(--ink);
  transform: rotate(45deg);
}

.purchase-row {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 10px;
}

.quantity {
  min-height: 52px;
  display: grid;
  grid-template-columns: 38px 40px 38px;
  align-items: center;
  border: 1px solid var(--ink);
  background: var(--white);
}

.quantity button {
  width: 38px;
  height: 50px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.quantity svg {
  width: 15px;
  height: 15px;
}

.quantity input {
  width: 40px;
  height: 50px;
  padding: 0;
  border: 0;
  text-align: center;
  background: transparent;
  appearance: textfield;
}

.quantity input::-webkit-outer-spin-button,
.quantity input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.add-button {
  min-height: 52px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--white);
  background: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.add-button:hover {
  color: var(--ink);
  background: var(--acid);
}

.add-button:disabled {
  cursor: not-allowed;
  color: #7f8288;
  border-color: #c9cbd0;
  background: #e5e6e2;
}

.add-button svg {
  width: 18px;
  height: 18px;
}

.stock-note {
  margin: 14px 0 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #3f5548;
  font-size: 12px;
}

.stock-note > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3f9d67;
}

.stock-note.is-sold-out {
  color: #8f372d;
}

.stock-note.is-sold-out > span {
  background: var(--coral);
}

.form-error {
  margin: -14px 0 24px;
  padding: 12px 14px;
  border-left: 4px solid var(--coral);
  color: #7a2c25;
  background: #fff0ed;
  font-size: 13px;
}

.product-notes {
  border-top: 1px solid var(--line);
}

.product-notes details {
  border-bottom: 1px solid var(--line);
}

.product-notes summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  list-style: none;
}

.product-notes summary::-webkit-details-marker {
  display: none;
}

.product-notes summary svg {
  width: 16px;
  height: 16px;
  transition: transform 160ms ease;
}

.product-notes details[open] summary svg {
  transform: rotate(45deg);
}

.product-notes details p {
  margin: 0;
  padding: 0 36px 22px 0;
  color: var(--quiet);
  font-size: 14px;
  line-height: 1.55;
}

.craft {
  padding: 104px 32px 86px;
  background: var(--cobalt);
  color: var(--white);
}

.craft .section-kicker {
  color: #cfd9ff;
}

.craft > h2 {
  max-width: 1000px;
  margin: 0 0 70px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 82px);
  font-weight: 400;
  line-height: 1.02;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.proof-grid article {
  min-height: 220px;
  padding: 24px 34px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.45);
}

.proof-grid article + article {
  padding-left: 30px;
}

.proof-grid article:last-child {
  border-right: 0;
}

.proof-grid span {
  color: var(--acid);
  font-size: 12px;
  font-weight: 900;
}

.proof-grid h3 {
  margin: 42px 0 14px;
  font-size: 18px;
}

.proof-grid p {
  max-width: 360px;
  margin: 0;
  color: #dce3ff;
  font-size: 14px;
  line-height: 1.55;
}

.test-console {
  padding: 42px 32px;
  display: grid;
  grid-template-columns: 1fr minmax(240px, 340px) auto;
  align-items: end;
  gap: 26px;
  background: var(--acid);
}

.test-console .section-kicker {
  margin-bottom: 8px;
  color: #49521f;
}

.test-console h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
}

.test-console label {
  display: grid;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.test-console select {
  width: 100%;
  min-height: 46px;
  padding: 0 38px 0 13px;
  border: 1px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
}

.reset-button {
  min-height: 46px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.reset-button svg {
  width: 16px;
  height: 16px;
}

.service-cta {
  scroll-margin-top: calc(var(--header-height) + 12px);
  padding: 74px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 70px;
  align-items: end;
  color: var(--white);
  background: var(--coral);
}

.service-cta .section-kicker {
  margin-bottom: 22px;
  color: var(--ink);
}

.service-cta h2 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 400;
  line-height: 1;
}

.service-cta__copy > p:last-child {
  max-width: 760px;
  margin: 28px 0 0;
  font-size: 16px;
  line-height: 1.6;
}

.service-cta__offers {
  display: grid;
}

.service-cta__offer {
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.65);
}

.service-cta__offer:first-child {
  padding-top: 22px;
}

.service-cta__offer:last-child {
  padding-bottom: 0;
}

.service-cta__offer > p {
  max-width: 320px;
  margin: 16px 0 26px;
  line-height: 1.5;
}

.service-cta__offer .service-cta__price {
  margin: 0;
  color: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  line-height: 1;
}

.service-cta__price span {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-cta__offer--secondary .service-cta__price {
  color: var(--white);
  font-size: 30px;
}

.service-cta__offer--secondary .service-cta__price span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.service-cta__offer a {
  min-height: 50px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--acid);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transition: color 150ms ease, background 150ms ease;
}

.service-cta__offer a:hover {
  color: var(--white);
  background: var(--cobalt);
}

.service-cta__offer a svg {
  width: 17px;
  height: 17px;
}

.promo-float,
.support-float {
  position: fixed;
  z-index: 15;
  border: 1px solid var(--ink);
  box-shadow: 0 12px 30px rgba(17, 19, 26, 0.14);
  cursor: pointer;
}

.promo-float {
  left: 18px;
  bottom: 18px;
  min-width: 156px;
  padding: 11px 14px;
  display: grid;
  text-align: left;
  background: var(--white);
}

.promo-float span {
  color: var(--quiet);
  font-size: 10px;
  text-transform: uppercase;
}

.promo-float strong {
  margin-top: 3px;
  font-size: 13px;
}

.support-float {
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--cobalt);
}

.support-float svg {
  width: 20px;
  height: 20px;
}

.drawer-backdrop {
  position: fixed;
  z-index: 40;
  inset: 0;
  background: rgba(17, 19, 26, 0.34);
}

.cart-drawer {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  padding: 26px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--paper);
  transform: translateX(102%);
  transition: transform 200ms ease;
}

.cart-drawer.is-open {
  transform: none;
}

.cart-drawer__head {
  padding-bottom: 26px;
  display: flex;
  align-items: start;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__head p {
  margin: 0 0 7px;
  color: var(--quiet);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.cart-drawer__head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 400;
}

.cart-line {
  align-self: start;
  padding: 24px 0;
  grid-template-columns: 112px 1fr;
  gap: 18px;
}

.cart-line:not([hidden]) {
  display: grid;
}

.cart-line img {
  width: 112px;
  height: 112px;
  object-fit: cover;
}

.cart-line h3 {
  margin: 4px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.cart-line p {
  margin: 0 0 16px;
  color: var(--quiet);
  font-size: 12px;
}

.cart-empty {
  align-self: center;
  text-align: center;
  color: var(--quiet);
}

.cart-drawer__footer {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.cart-drawer__footer > div {
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.cart-drawer__footer button {
  width: 100%;
  min-height: 50px;
  border: 1px solid #c9cbd0;
  color: #777b82;
  background: #e5e6e2;
}

.toast {
  position: fixed;
  z-index: 60;
  right: 78px;
  bottom: 18px;
  max-width: min(360px, calc(100vw - 36px));
  padding: 14px 16px;
  color: var(--white);
  background: var(--ink);
  font-size: 13px;
}

footer {
  padding: 38px 32px 72px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

footer strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
}

footer p {
  margin: 7px 0 0;
  color: var(--quiet);
  font-size: 12px;
}

footer > div:last-child {
  display: flex;
  align-items: start;
  gap: 22px;
}

footer a {
  color: inherit;
  font-size: 12px;
  font-weight: 700;
}

body[data-repair-mode="before"] .store-header {
  grid-template-columns: 245px 120px 1fr;
  overflow: hidden;
}

body[data-repair-mode="before"] .store-nav {
  width: 120px;
  justify-content: start;
  gap: 28px;
  overflow: hidden;
  white-space: nowrap;
}

body[data-repair-mode="before"] .store-actions {
  margin-right: -18px;
}

body[data-repair-mode="before"] .promo-float {
  left: auto;
  right: 80px;
  bottom: 24px;
}

body[data-repair-mode="before"] .support-float {
  right: 26px;
  bottom: 24px;
}

body[data-repair-mode="before"] .product-info {
  padding-right: 28px;
}

body[data-repair-mode="before"] .purchase-row {
  position: relative;
}

body[data-repair-mode="before"] .purchase-row::after {
  position: absolute;
  right: -8px;
  bottom: -4px;
  width: 96px;
  height: 60px;
  content: "";
  border: 2px dashed var(--coral);
  pointer-events: none;
}

@media (max-width: 1040px) {
  .lab-strip {
    grid-template-columns: 1fr auto;
  }

  .lab-strip p {
    display: none;
  }

  .product {
    grid-template-columns: 1fr 440px;
  }

  .product-info {
    padding-right: 30px;
    padding-left: 30px;
  }

  h1 {
    font-size: 52px;
  }
}

@media (max-width: 820px) {
  .announcement__proof {
    display: none;
  }

  .store-header {
    padding: 0 18px;
    grid-template-columns: 1fr auto;
  }

  .store-nav {
    display: none;
  }

  .product {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .product-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .product-info {
    padding: 42px 24px 52px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid article,
  .proof-grid article + article {
    min-height: 0;
    padding: 22px 0 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  }

  .proof-grid article:last-child {
    border-bottom: 0;
  }

  .proof-grid h3 {
    margin-top: 20px;
  }

  .test-console {
    grid-template-columns: 1fr 1fr;
  }

  .test-console > div {
    grid-column: 1 / -1;
  }

  .service-cta {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  body[data-repair-mode="before"] .store-header {
    grid-template-columns: 210px 90px;
  }
}

@media (max-width: 560px) {
  .lab-strip {
    min-height: 82px;
    padding: 9px 12px;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .lab-strip__brand {
    font-size: 12px;
  }

  .mode-switch {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  .announcement {
    min-height: 28px;
    padding: 6px 12px;
    font-size: 9px;
  }

  .store-header {
    min-height: 62px;
  }

  .store-brand {
    max-width: 180px;
    font-size: 19px;
  }

  .store-actions {
    gap: 0;
  }

  .icon-button {
    width: 38px;
    height: 38px;
  }

  .product-media__flag {
    top: 12px;
    left: 12px;
  }

  .product-info {
    padding: 34px 18px 46px;
  }

  .breadcrumb {
    margin-bottom: 18px;
  }

  .title-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  h1 {
    font-size: 48px;
  }

  .product-price {
    margin: 0;
  }

  .product-lede {
    margin: 22px 0 28px;
    font-size: 16px;
  }

  .purchase-row {
    grid-template-columns: 1fr;
  }

  .quantity {
    width: 116px;
  }

  .craft {
    padding: 72px 18px 54px;
  }

  .craft > h2 {
    margin-bottom: 50px;
    font-size: 40px;
  }

  .test-console {
    padding: 34px 18px;
    grid-template-columns: 1fr;
  }

  .test-console > div {
    grid-column: auto;
  }

  .service-cta {
    padding: 60px 18px;
  }

  .service-cta h2 {
    font-size: 44px;
  }

  .service-cta__offer a {
    width: 100%;
  }

  .promo-float {
    display: none;
  }

  .support-float {
    right: 12px;
    bottom: 12px;
    width: 44px;
    height: 44px;
  }

  .toast {
    right: 12px;
    bottom: 64px;
  }

  footer {
    padding: 34px 18px 80px;
    display: grid;
  }

  footer > div:last-child {
    display: grid;
    gap: 12px;
  }

  body[data-repair-mode="before"] .store-header {
    grid-template-columns: 190px 80px;
    padding-right: 0;
  }

  body[data-repair-mode="before"] .support-float {
    right: 12px;
    bottom: 12px;
  }
}

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