@font-face {
  font-family: "Open Sans";
  src: url("fonts/OpenSans-VariableFont_wdth,wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --background: #f3efe7;
  --surface: #fffdf8;
  --surface-muted: #ebe5dc;
  --foreground: #4c4541;
  --secondary: #746b65;
  --muted: #968b83;
  --border: #d9d0c4;
  --sage: #478a79;
  --mint: #80c7a3;
  --field: #e2ead8;
  --soil: #746159;
  --soil-soft: #ddd0c7;
  --harvest: #c89d4b;
  --harvest-soft: #f2e4bd;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--background);
}

body {
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-shell {
  display: grid;
  min-height: calc(100svh - 5rem);
  place-items: center;
  padding: clamp(1rem, 3vw, 2.5rem);
}

.hero {
  display: grid;
  width: min(100%, 72rem);
  grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.35fr);
  gap: clamp(0.75rem, 1.5vw, 1.125rem);
}

.brand-panel,
.intro,
.product-card {
  border: 1px solid var(--border);
  border-radius: clamp(1.15rem, 2vw, 1.75rem);
}

.brand-panel {
  position: relative;
  display: flex;
  min-height: clamp(32rem, 69vh, 42rem);
  overflow: hidden;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background-color: var(--field);
  background-image:
    radial-gradient(circle at 84% 14%, rgba(200, 157, 75, 0.2) 0 4.2rem, transparent 4.25rem),
    repeating-linear-gradient(
      164deg,
      transparent 0 2.6rem,
      rgba(71, 138, 121, 0.1) 2.65rem 2.72rem,
      transparent 2.77rem 5.25rem
    );
}

.brand-panel::before,
.brand-panel::after {
  position: absolute;
  border: 1px solid rgba(116, 97, 89, 0.18);
  border-radius: 50%;
  content: "";
}

.brand-panel::before {
  right: -13rem;
  bottom: -9rem;
  width: 28rem;
  height: 17rem;
  transform: rotate(-12deg);
}

.brand-panel::after {
  right: -10rem;
  bottom: -6rem;
  width: 23rem;
  height: 13rem;
  transform: rotate(-12deg);
}

.brand-kicker,
.brand-location {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  color: var(--sage);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.brand-location {
  align-self: flex-end;
  color: var(--soil);
}

.brand-frame {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 22rem);
  min-height: 11.5rem;
  place-items: center;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid rgba(116, 97, 89, 0.2);
  border-radius: 48% 52% 46% 54% / 54% 45% 55% 46%;
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0 1.5rem 4rem rgba(76, 69, 65, 0.08);
}

.brand-mark {
  width: 100%;
  height: auto;
}

.content {
  display: grid;
  min-width: 0;
  grid-template-rows: minmax(22rem, 1.18fr) minmax(12rem, 0.82fr);
  gap: clamp(0.75rem, 1.5vw, 1.125rem);
}

.intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 5vw, 4.75rem);
  background: var(--surface);
}

.eyebrow,
.product-meta {
  margin: 0;
  color: var(--sage);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.eyebrow i {
  display: block;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--harvest);
  box-shadow: 0 0 0 0.25rem var(--harvest-soft);
}

h1 {
  max-width: 9.5ch;
  margin: clamp(3rem, 7vh, 5rem) 0 0;
  font-size: clamp(3rem, 5.5vw, 5.4rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.92;
  text-wrap: balance;
}

h1 em {
  display: block;
  margin-top: 0.08em;
  color: var(--sage);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04em;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.lede {
  max-width: 34rem;
  margin: clamp(2rem, 4vh, 3.25rem) 0 0;
  color: var(--secondary);
  font-size: clamp(0.96rem, 1.35vw, 1.08rem);
  line-height: 1.65;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.55rem;
  margin-top: 1.5rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--sage);
  border-radius: 999px;
  color: var(--sage);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.primary-action:hover {
  background: var(--sage);
  color: var(--surface);
}

.primary-action i,
.product-link i {
  font-size: 0.95rem;
  font-style: normal;
}

.product-card {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  grid-template-columns: minmax(10rem, 0.8fr) minmax(0, 1.2fr);
  align-items: end;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--soil-soft);
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.product-card:hover {
  border-color: rgba(116, 97, 89, 0.5);
  transform: translateY(-2px);
}

.primary-action:focus-visible,
.product-card:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid rgba(71, 138, 121, 0.3);
  outline-offset: 3px;
}

.product-identity,
.product-details {
  position: relative;
  z-index: 1;
}

.product-identity {
  display: flex;
  align-self: stretch;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.product-meta span {
  display: inline-grid;
  width: 1.65rem;
  height: 1.65rem;
  margin-right: 0.55rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.58rem;
}

.product-logo {
  display: block;
  width: min(100%, 10rem);
  height: auto;
}

.product-details > p {
  max-width: 24rem;
  margin: 0;
  color: var(--secondary);
  font-size: clamp(0.82rem, 1.1vw, 0.92rem);
  line-height: 1.55;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.15rem;
  color: var(--soil);
  font-size: 0.75rem;
  font-weight: 700;
}

.product-accent {
  position: absolute;
  right: -2.5rem;
  bottom: -3rem;
  width: 9rem;
  height: 7rem;
  border: 1px solid rgba(116, 97, 89, 0.22);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.product-accent::before {
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(116, 97, 89, 0.18);
  border-radius: 50%;
  content: "";
}

.site-footer {
  display: flex;
  width: min(calc(100% - 2rem), 72rem);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 0 0 2rem;
  color: var(--secondary);
  font-size: 0.75rem;
}

.site-footer p { margin: 0; }

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem 1.25rem;
}

.site-footer a {
  color: inherit;
  text-decoration-color: rgba(71, 138, 121, 0.4);
  text-underline-offset: 0.2em;
}

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

/* Policy pages */

.legal-page {
  background:
    radial-gradient(circle at 8% 5%, rgba(128, 199, 163, 0.18), transparent 24rem),
    var(--background);
}

.legal-shell {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
}

.legal-header {
  width: min(calc(100% - 2rem), 72rem);
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2rem) 0;
}

.legal-header nav {
  display: flex;
  align-items: center;
}

.legal-header a {
  display: inline-flex;
  padding: 0.5rem;
  margin-left: -0.5rem;
  border-radius: 0.75rem;
}

.legal-header a:focus-visible,
.legal-content a:focus-visible,
.legal-footer a:focus-visible {
  outline: 3px solid rgba(71, 138, 121, 0.3);
  outline-offset: 3px;
}

.legal-header img {
  display: block;
  width: clamp(10rem, 20vw, 13rem);
  height: auto;
}

.legal-main {
  width: min(calc(100% - 2rem), 52rem);
  margin: 0 auto;
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.25rem, 6vw, 4.5rem);
  border: 1px solid rgba(116, 97, 89, 0.2);
  border-radius: clamp(1.25rem, 2vw, 1.75rem);
  background-color: var(--field);
  background-image:
    radial-gradient(circle at 88% 16%, rgba(200, 157, 75, 0.2) 0 3.2rem, transparent 3.25rem),
    repeating-linear-gradient(
      168deg,
      transparent 0 2.5rem,
      rgba(71, 138, 121, 0.09) 2.55rem 2.62rem,
      transparent 2.67rem 5rem
    );
}

.legal-hero::after {
  position: absolute;
  right: -5rem;
  bottom: -7rem;
  width: 15rem;
  height: 10rem;
  border: 1px solid rgba(116, 97, 89, 0.2);
  border-radius: 50%;
  content: "";
  transform: rotate(-10deg);
}

.legal-hero h1 {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: clamp(3.5rem, 8vw, 6rem) 0 0;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.legal-content {
  margin-top: clamp(0.75rem, 1.5vw, 1.125rem);
  padding: clamp(1.5rem, 5vw, 4rem);
  border: 1px solid var(--border);
  border-radius: clamp(1.25rem, 2vw, 1.75rem);
  background: var(--surface);
  box-shadow: 0 1.5rem 4rem rgba(76, 69, 65, 0.05);
  color: var(--secondary);
  font-size: clamp(0.96rem, 1.4vw, 1.04rem);
  line-height: 1.75;
}

.legal-content > :first-child { margin-top: 0; }
.legal-content br { display: none; }

.legal-content p {
  margin: 0 0 1.25rem;
}

.legal-content h2 {
  margin: 3.5rem 0 1rem;
  color: var(--foreground);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.legal-content h3 {
  margin: 2.25rem 0 0.75rem;
  color: var(--foreground);
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.legal-content ol,
.legal-content ul {
  margin: 0 0 1.5rem;
  padding-left: 1.4rem;
}

.legal-content li {
  margin-bottom: 0.75rem;
  padding-left: 0.35rem;
}

.legal-content a {
  color: var(--sage);
  font-weight: 650;
  text-decoration-color: rgba(71, 138, 121, 0.35);
  text-underline-offset: 0.2em;
}

.legal-content a:hover { text-decoration-color: currentColor; }

.legal-footer {
  display: flex;
  width: min(calc(100% - 2rem), 52rem);
  margin: auto auto 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 2.5rem 0;
  color: var(--secondary);
  font-size: 0.75rem;
}

.legal-footer p { margin: 0; }

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem 1.25rem;
}

.legal-footer a {
  color: inherit;
  text-decoration-color: rgba(71, 138, 121, 0.4);
  text-underline-offset: 0.2em;
}

.legal-footer a:hover,
.legal-footer a[aria-current="page"] { color: var(--sage); }

@media (max-width: 850px) {
  .site-shell { display: block; }
  .hero { grid-template-columns: 1fr; }
  .brand-panel { min-height: min(82vw, 34rem); }
  .content { grid-template-rows: auto auto; }
  .intro { min-height: 33rem; }
}

@media (max-width: 560px) {
  .site-shell { padding: 0.75rem; }

  .brand-panel,
  .intro,
  .product-card { border-radius: 1.15rem; }

  .brand-panel {
    min-height: calc(100vw - 1.5rem);
    padding: 1.25rem;
  }

  .brand-frame {
    width: min(92%, 21rem);
    min-height: 8.5rem;
    padding: 1.35rem;
  }

  .intro {
    min-height: 32rem;
    padding: 1.75rem;
  }

  h1 {
    margin-top: 3.5rem;
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .product-card {
    min-height: 20rem;
    grid-template-columns: 1fr;
    padding: 1.75rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 1rem;
  }

  .site-footer nav { justify-content: flex-start; }

  .legal-hero { padding: 1.75rem; }

  .legal-content {
    padding: 1.5rem;
    line-height: 1.65;
  }

  .legal-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-footer nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .primary-action,
  .product-card { transition: none; }
}
