:root {
  color-scheme: light;
  --canvas: #f5f0e8;
  --paper: #fbf7f0;
  --paper-raised: #fffdf9;
  --ink: #2d2a26;
  --ink-soft: #645a50;
  --ink-muted: #8a7e71;
  --line: #e3d8c8;
  --line-strong: #d5c6b3;
  --moss: #5b7b5e;
  --moss-deep: #384733;
  --moss-wash: #d8e2da;
  --terracotta: #c06c4c;
  --terracotta-deep: #a85a3e;
  --sand: #8b7355;
  --shadow: 0 26px 60px rgba(91, 71, 52, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  color: var(--ink);
  font-family:
    'Plus Jakarta Sans',
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  line-height: 1.6;
}

body {
  margin: 0;
}

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

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
}

.site-header,
.site-footer,
.hero,
.section,
.legal-page {
  margin: 0 auto;
  max-width: 1120px;
  padding-left: 20px;
  padding-right: 20px;
}

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

.brand {
  align-items: center;
  display: inline-flex;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  height: 42px;
  width: 42px;
}

.brand-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0;
}

.nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  justify-content: flex-end;
}

.nav a,
.footer-links a,
.text-link {
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration-color: rgba(192, 108, 76, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.hero {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  min-height: calc(100vh - 110px);
  padding-bottom: 72px;
  padding-top: 56px;
}

.eyebrow {
  color: var(--terracotta-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3.35rem, 9vw, 6.8rem);
  letter-spacing: 0;
  max-width: 9ch;
}

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

.lead {
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.65;
  margin: 22px 0 0;
  max-width: 35rem;
}

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

.store-button {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: var(--paper-raised);
  display: inline-flex;
  gap: 10px;
  min-height: 56px;
  padding: 10px 16px;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.store-button:hover {
  box-shadow: 0 14px 26px rgba(45, 42, 38, 0.16);
  transform: translateY(-1px);
}

.store-button.secondary {
  background: var(--moss-deep);
  border-color: var(--moss-deep);
}

.store-icon {
  font-size: 1.55rem;
  line-height: 1;
}

.store-kicker,
.store-name {
  display: block;
  line-height: 1.1;
}

.store-kicker {
  font-size: 0.68rem;
  opacity: 0.78;
}

.store-name {
  font-size: 1.02rem;
  font-weight: 800;
  margin-top: 3px;
}

.hero-art {
  background: linear-gradient(145deg, #fff9ee, #eee3d5);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 420px;
  overflow: hidden;
}

.hero-art img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  width: 100%;
}

.section {
  padding-bottom: 58px;
}

.section-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature {
  background: rgba(255, 253, 249, 0.64);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.feature h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.45rem;
}

.feature p {
  color: var(--ink-soft);
  margin: 10px 0 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding-bottom: 30px;
  padding-top: 26px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.legal-page {
  padding-bottom: 72px;
  padding-top: 54px;
}

.legal-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(91, 71, 52, 0.08);
  margin: 0 auto;
  max-width: 820px;
  padding: clamp(24px, 5vw, 48px);
}

.legal-card h1 {
  font-size: clamp(2.25rem, 7vw, 4.25rem);
  max-width: none;
}

.updated {
  color: var(--ink-muted);
  font-size: 0.95rem;
  margin: 10px 0 30px;
}

.legal-card h2 {
  border-top: 1px solid var(--line);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.55rem;
  margin-top: 32px;
  padding-top: 28px;
}

.legal-card h3 {
  font-size: 1rem;
  margin-top: 22px;
}

.legal-card p,
.legal-card ul {
  margin: 14px 0 0;
}

.legal-card p,
.legal-card li {
  color: var(--ink-soft);
}

.legal-card ul {
  padding-left: 24px;
}

.legal-card li + li {
  margin-top: 8px;
}

.notice,
.placeholder-note {
  border-radius: 8px;
  margin-top: 24px;
  padding: 14px 16px;
}

.notice {
  background: var(--moss-wash);
  border: 1px solid #c2d1c4;
}

.placeholder-note {
  background: #fff2df;
  border: 1px solid #ebcda3;
  color: var(--ink-soft);
}

.page-footer-note {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin-top: 32px;
}

strong {
  color: var(--moss-deep);
}

code {
  background: #f0e4d4;
  border-radius: 4px;
  padding: 2px 5px;
}

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

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

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 46px;
  }

  .hero-art {
    min-height: 320px;
  }

  .hero-art img {
    min-height: 320px;
  }

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

@media (max-width: 520px) {
  .site-header,
  .site-footer,
  .hero,
  .section,
  .legal-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .store-button {
    justify-content: center;
    width: 100%;
  }
}
