:root {
  color-scheme: light dark;
  --ink: #121212;
  --muted: #5b5b57;
  --paper: #fffdf7;
  --surface-soft: rgba(255, 255, 255, 0.72);
  --button-soft: rgba(255, 255, 255, 0.58);
  --line: #ded8c8;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --coral: #c2412d;
  --gold: #e3a008;
  --shop-bg: #121212;
  --shop-ink: #ffffff;
  --shop-muted: rgba(255, 255, 255, 0.76);
  --shop-button-bg: #ffffff;
  --shop-button-ink: #121212;
  --shop-button-hover: #f5c451;
  --shop-button-hover-ink: #121212;
  --logo-filter: none;
  --focus-ring: rgba(15, 118, 110, 0.35);
  --shadow: 0 18px 50px rgba(18, 18, 18, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f7f1e7;
    --muted: #b9b1a6;
    --paper: #111513;
    --surface-soft: rgba(255, 255, 255, 0.06);
    --button-soft: rgba(255, 255, 255, 0.07);
    --line: #343b36;
    --teal: #2dd4bf;
    --teal-dark: #14b8a6;
    --coral: #fb806b;
    --gold: #f5c451;
    --shop-bg: #f7f1e7;
    --shop-ink: #121212;
    --shop-muted: rgba(18, 18, 18, 0.72);
    --shop-button-bg: #121212;
    --shop-button-ink: #f7f1e7;
    --shop-button-hover: #0f766e;
    --shop-button-hover-ink: #ffffff;
    --logo-filter: invert(1);
    --focus-ring: rgba(45, 212, 191, 0.38);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), transparent 34rem),
    linear-gradient(315deg, rgba(227, 160, 8, 0.12), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header,
.site-footer,
main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 116px;
}

.brand img {
  filter: var(--logo-filter);
  width: 100%;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 8px 12px;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  border-color: var(--line);
  color: var(--ink);
  outline: none;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100svh - 96px);
  padding: 36px 0 84px;
  text-align: center;
}

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

.eyebrow {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

.hero-logo-heading {
  margin-inline: auto;
  margin-bottom: 28px;
  max-width: min(620px, 100%);
}

.hero-logo-heading img {
  filter: var(--logo-filter);
  width: 100%;
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.15;
  margin-bottom: 10px;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  margin-inline: auto;
  max-width: 36rem;
}

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

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  text-decoration: none;
}

.button:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.button.primary {
  background: var(--teal);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--button-soft);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--ink);
}

.shop-panel {
  align-items: center;
  background: var(--shop-bg);
  border-radius: 8px;
  color: var(--shop-ink);
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr auto;
  margin: 0 0 72px;
  padding: clamp(24px, 4vw, 40px);
}

.shop-panel .eyebrow {
  color: var(--gold);
}

.shop-panel h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0;
}

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

.shop-panel .button.primary {
  background: var(--shop-button-bg);
  color: var(--shop-button-ink);
  white-space: nowrap;
}

.shop-panel .button.primary:hover {
  background: var(--shop-button-hover);
  color: var(--shop-button-hover-ink);
}

.about {
  padding: 20px 0 88px;
}

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

.about-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
}

.about-grid article {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.about-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr auto 1fr;
  padding: 26px 0;
}

.privacy-note {
  text-align: center;
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
  justify-self: end;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

@media (max-width: 820px) {
  .shop-panel,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .shop-panel {
    align-items: start;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 24px, 1120px);
  }

  .site-header {
    align-items: flex-start;
    padding-top: 18px;
  }

  .brand {
    width: 92px;
  }

  .hero-logo-heading {
    max-width: 420px;
  }

  .actions,
  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer a {
    justify-self: center;
  }
}
