:root {
  color-scheme: light;
  --bg: #f6f7f8;
  --paper: #ffffff;
  --ink: #161817;
  --soft: #4f5a60;
  --muted: #747d84;
  --line: #dce1e4;
  --line-strong: #bdc8c8;
  --accent: #0d766f;
  --accent-dark: #073f3b;
  --rust: #a6533f;
  --plum: #51456f;
  --wash: #edf4f2;
  --wash-rust: #fbf1ed;
  --shadow: 0 22px 70px rgba(24, 31, 34, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background:
    linear-gradient(180deg, #ffffff 0, var(--bg) 420px),
    var(--bg);
  color: var(--ink);
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(13, 118, 111, 0.32);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 40;
  transform: translateY(-140%);
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-weight: 760;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 34px;
  border-bottom: 1px solid rgba(220, 225, 228, 0.88);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-grid;
  gap: 2px;
  text-decoration: none;
}

.brand span {
  font-size: 1.34rem;
  font-weight: 780;
}

.brand small,
.eyebrow,
.status-label {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--soft);
  font-size: 0.92rem;
  font-weight: 650;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
}

.nav-cta:hover {
  border-color: var(--line-strong);
}

main {
  overflow: hidden;
}

.hero,
.section,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.78fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
  padding: clamp(46px, 8vw, 78px) 0 clamp(42px, 7vw, 68px);
}

.hero-home {
  padding-top: clamp(42px, 6vw, 62px);
  padding-bottom: clamp(40px, 6vw, 58px);
}

.hero-copy h1,
.section-heading h2,
.product-copy h2,
.assurance h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.6rem, 6.4vw, 5.65rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-line .hero-copy h1 {
  font-size: clamp(2.45rem, 6vw, 5.2rem);
}

.lede,
.section-heading p,
.product-copy p,
.product-copy li,
.checkout-panel p,
.assurance p,
.line-card p,
.process-steps p,
.hero-media figcaption span {
  color: var(--soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.lede {
  max-width: 62ch;
  margin: 26px 0 0;
  font-size: clamp(1.08rem, 1.9vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 760;
  text-decoration: none;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
}

.hero-media,
.gallery figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f2f5f4 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-media img,
.gallery figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
}

.hero-media img {
  object-fit: cover;
}

.home-media {
  display: grid;
}

.home-media img {
  height: clamp(310px, 34vw, 395px);
  aspect-ratio: auto;
  object-position: center top;
}

.home-media figcaption {
  display: grid;
  gap: 6px;
  padding: 18px 20px 20px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
}

.home-media figcaption strong {
  font-size: 0.98rem;
}

.home-media figcaption span {
  font-size: 0.92rem;
}

.section {
  padding: clamp(46px, 7vw, 74px) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 780px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.58fr);
  gap: clamp(20px, 5vw, 54px);
  align-items: end;
  max-width: none;
}

.section-heading h2,
.product-copy h2,
.assurance h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1;
}

.section-heading p {
  margin: 18px 0 0;
}

.line-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.compact-lines {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.line-card,
.process-steps article,
.checkout-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.line-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 230px;
  padding: 24px;
}

.line-card-live {
  border-color: rgba(13, 118, 111, 0.38);
  background:
    linear-gradient(180deg, #ffffff 0%, var(--wash) 100%);
}

.line-card h3,
.process-steps h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.18;
}

.line-card p,
.process-steps p {
  margin: 0;
  font-size: 0.96rem;
}

.line-card a {
  align-self: end;
  color: var(--accent-dark);
  font-size: 0.94rem;
  font-weight: 760;
  text-decoration: none;
}

.line-card a:hover {
  text-decoration: underline;
}

.process-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
}

.process-steps {
  display: grid;
  gap: 14px;
}

.process-steps article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0 18px;
  padding: 22px;
}

.process-steps span {
  grid-row: span 2;
  color: var(--rust);
  font-size: 0.88rem;
  font-weight: 800;
}

.assurance {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.64fr);
  gap: clamp(24px, 6vw, 70px);
  align-items: start;
  margin-bottom: 28px;
  border-top-color: var(--line-strong);
}

.assurance p {
  margin: 0;
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 6vw, 64px);
  align-items: start;
}

.product-detail {
  padding-top: clamp(50px, 7vw, 82px);
}

.gallery {
  min-width: 0;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.thumbs button {
  aspect-ratio: 1;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  cursor: pointer;
}

.thumbs button[aria-pressed="true"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(13, 118, 111, 0.14);
}

.thumbs img {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  object-fit: cover;
}

.product-copy ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.product-copy li {
  position: relative;
  padding-left: 18px;
}

.product-copy li::before {
  position: absolute;
  top: 0.74em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.checkout-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  padding: 26px;
}

.checkout-panel p {
  margin: 10px 0 0;
}

.checkout-panel strong {
  font-size: 1.02rem;
}

code {
  padding: 0.15em 0.35em;
  border-radius: 4px;
  background: var(--wash);
  color: var(--accent-dark);
  font-size: 0.92em;
}

.checkout-pending {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  white-space: nowrap;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    padding: 16px 20px;
  }

  nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero,
  .product,
  .process-section,
  .assurance,
  .split-heading,
  .checkout-panel {
    grid-template-columns: 1fr;
  }

  .hero-home {
    min-height: auto;
  }

  .line-grid,
  .compact-lines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thumbs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .hero,
  .section,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding-top: 42px;
  }

  .hero-copy h1 {
    font-size: clamp(2.48rem, 16vw, 4rem);
  }

  .line-grid,
  .compact-lines {
    grid-template-columns: 1fr;
  }

  .line-card {
    min-height: auto;
  }

  .process-steps article {
    grid-template-columns: 1fr;
  }

  .process-steps span {
    grid-row: auto;
    margin-bottom: 10px;
  }

  .checkout-pending {
    justify-self: start;
  }

  .site-footer {
    flex-direction: column;
  }
}
