:root {
  color-scheme: light;
  --ink: #18221f;
  --muted: #66716b;
  --paper: #f7f8f3;
  --surface: #ffffff;
  --line: #dfe5dc;
  --green: #285f4d;
  --green-2: #94b47f;
  --mint: #dcead8;
  --yellow: #f0c95a;
  --blue: #547f9c;
  --shadow: 0 24px 80px rgba(24, 34, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(247, 248, 243, 0.9);
  border-bottom: 1px solid rgba(223, 229, 220, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

nav a,
.text-link {
  text-decoration: none;
}

nav a:hover,
.text-link:hover {
  color: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 72px) clamp(34px, 6vw, 64px);
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: 4rem;
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin-bottom: 0;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.brand img { width: 128px; height: auto; }
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
h1, h2, h3, a { overflow-wrap: anywhere; }
.hero-visual img { width: 100%; max-height: 580px; object-fit: contain; }
.page-hero, .product-detail, .guide-grid { padding: 48px clamp(18px, 5vw, 72px); }
.page-hero { max-width: 1050px; }
.page-hero h1, .product-detail h1 { font-size: 3rem; line-height: 1.1; }
.page-hero p, .product-detail p, .guide-grid p { line-height: 1.7; color: var(--muted); }
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.product-detail > img { width: 100%; max-height: 640px; object-fit: contain; }
.detail-grid.two, .guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.detail-grid.two img { aspect-ratio: 1; object-fit: contain; }
.guide-grid h2, .legal h2 { font-size: 1.5rem; margin: 24px 0 12px; line-height: 1.2; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.color-note { font-size: 0.9rem; }
.swatches span { cursor: default; width: 16px; height: 16px; border: 0; box-shadow: none; }
.product-media img { object-fit: contain; background: white; }
@media (max-width: 640px) {
  .product-detail, .detail-grid.two, .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .page-hero h1, .product-detail h1 { font-size: 2.25rem; }
  .site-header { position: static; gap: 16px; }
}

.hero p,
.product-content p,
.support-panel p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--green);
}

.button.secondary {
  color: var(--green);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.hero-gallery {
  position: relative;
  min-height: 610px;
}

.hero-gallery img {
  object-fit: cover;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-main {
  width: min(78%, 620px);
  height: 610px;
  margin-left: auto;
  border-radius: 8px;
}

.hero-card {
  position: absolute;
  width: min(46%, 310px);
  aspect-ratio: 1 / 1;
  border: 8px solid var(--paper);
  border-radius: 8px;
}

.hero-card.top {
  top: 42px;
  left: 0;
}

.hero-card.bottom {
  right: 6%;
  bottom: -14px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px) 72px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.trust-strip div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.76);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.section-intro {
  padding: 12px clamp(18px, 5vw, 72px) 34px;
}

.section-intro.compact {
  padding: 0 0 34px;
}

.product-grid {
  display: grid;
  gap: 28px;
  padding: 0 clamp(18px, 5vw, 72px) 78px;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.product-card.reverse .product-media {
  order: 2;
}

.product-media {
  overflow: hidden;
  border-radius: 8px;
  background: var(--mint);
}

.product-media img {
  width: 100%;
  height: clamp(360px, 48vw, 560px);
  object-fit: cover;
}

.product-type {
  margin-bottom: 10px;
  color: var(--blue);
  font-weight: 850;
  text-transform: uppercase;
}

ul {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding-left: 24px;
  color: #33413b;
  line-height: 1.5;
}

li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  content: "";
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0;
}

.swatches span {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--green);
  font-weight: 850;
}

.text-link::after {
  margin-left: 8px;
  content: "→";
}

.detail-band {
  padding: clamp(48px, 8vw, 90px) clamp(18px, 5vw, 72px);
  background: #eef3e9;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

figcaption {
  min-height: 92px;
  padding: 16px;
  color: #45524c;
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.45;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.support-panel {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.support-panel .note {
  margin-bottom: 0;
  color: #7a6956;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: #dbe6dd;
  background: var(--ink);
}

footer span:first-child {
  font-weight: 850;
}

@media (max-width: 980px) {
  .hero,
  .product-card,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-gallery {
    min-height: 520px;
  }

  .hero-main {
    height: 520px;
  }

  .product-card.reverse .product-media {
    order: 0;
  }

  .trust-strip,
  .detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  h1 {
    font-size: 3.2rem;
  }

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

  .hero-main {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .hero-card {
    position: static;
    display: inline-block;
    width: calc(50% - 8px);
    margin-top: 16px;
    border-width: 4px;
    vertical-align: top;
  }

  .trust-strip,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .product-media img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  figcaption {
    min-height: auto;
  }
}
