:root {
  --bg: #FBF6EC;
  --card: #FFFDF8;
  --wood: #E7D3B5;
  --wood-edge: #D3B993;
  --ink: #3B3631;
  --muted: #6B645B;
  --sage: #4A7540;
  --sage-soft: #E5EFE2;
  --peach: #F4BBA2;
  --butter: #F6E2A3;
  --berry: #E4898A;
  --hairline: rgba(59, 54, 49, 0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: ui-rounded, -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Nunito", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: ui-serif, Georgia, serif;
  font-weight: 700;
  font-size: 22px;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1.5px solid var(--hairline);
}

nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
  font-weight: 600;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

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

.hero {
  text-align: center;
  padding: 36px 0 48px;
}

.holiday-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(228, 137, 138, 0.16);
  color: #B44D4F;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

h1 {
  font-family: ui-serif, Georgia, serif;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.subtitle {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 28px;
}

.cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sage);
  color: #FFFDF8;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(59, 54, 49, 0.12);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--hairline);
}

.shelf-showcase {
  max-width: 680px;
  margin: 0 auto;
}

.pals-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 10px;
  padding: 0 18px;
  margin-bottom: -8px;
  position: relative;
  z-index: 2;
}

.pals-row img {
  justify-self: center;
  width: 100%;
  max-width: 118px;
  height: auto;
  filter: drop-shadow(0 6px 10px rgba(59, 54, 49, 0.08));
}

.wood-plank {
  height: 18px;
  background: linear-gradient(180deg, var(--wood) 0%, var(--wood-edge) 100%);
  border: 1.5px solid rgba(59, 54, 49, 0.22);
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(59, 54, 49, 0.12);
}

.pal-labels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 10px 18px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  padding: 40px 0 56px;
}

.card {
  background: var(--card);
  border: 1.5px solid var(--hairline);
  border-radius: 24px;
  padding: 24px;
}

.card h3 {
  font-family: ui-serif, Georgia, serif;
  font-size: 20px;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

.legal-card {
  background: var(--card);
  border: 1.5px solid var(--hairline);
  border-radius: 26px;
  padding: 36px 32px;
  margin: 16px 0 56px;
}

.legal-card h1 {
  font-size: 34px;
  margin-bottom: 8px;
}

.legal-card .meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.legal-card h2 {
  font-family: ui-serif, Georgia, serif;
  font-size: 21px;
  margin: 24px 0 8px;
}

.legal-card p, .legal-card li {
  color: #544E48;
  font-size: 15.5px;
  margin-bottom: 10px;
}

.legal-card ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

footer {
  border-top: 1px solid var(--hairline);
  padding: 28px 0 42px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 13.5px;
}

footer a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 16px;
}

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

@media (max-width: 600px) {
  .pals-row, .pal-labels { grid-template-columns: repeat(3, 1fr); }
  .pals-row .hide-mobile, .pal-labels .hide-mobile { display: none; }
  .legal-card { padding: 24px 20px; }
}

/* page sections */
html { scroll-behavior: smooth; }
a { color: #4A7540; }
h2 { font-family: ui-serif, Georgia, serif; font-size: clamp(28px, 4vw, 38px); line-height: 1.15; margin-bottom: 14px; }
.center { text-align: center; }
.small { font-size: 15px; color: var(--muted); margin-bottom: 56px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 48px 0; }
.row p { color: #544E48; font-size: 18px; margin-bottom: 12px; max-width: 400px; }
.row.flip > div { order: 2; }
.phone { display: block; width: min(280px, 78vw); height: auto; margin: 0 auto; border-radius: 40px; border: 8px solid #2B2723; box-shadow: 0 18px 40px rgba(59, 54, 49, 0.18); }
#pals { padding: 48px 0; }
.pal-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.pal-grid li { background: var(--card); border: 1.5px solid var(--hairline); border-radius: 22px; padding: 18px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pal-grid img { width: 104px; height: 104px; object-fit: contain; }
.pal-grid strong { font-size: 15px; line-height: 1.3; }
.pal-grid span { color: var(--muted); font-size: 14px; }
.pal-grid em { font-style: normal; font-weight: 700; font-size: 12px; padding: 3px 10px; border-radius: 999px; margin-top: auto; background: var(--sage-soft); color: #3C6333; }
.pal-grid em.t1 { background: var(--butter); color: #6A5312; }
.pal-grid em.t2 { background: #F9E2E0; color: #9A3A3C; }
.card ul { padding-left: 20px; color: #544E48; }
.card li { margin-bottom: 6px; }
.card p { margin-top: 12px; }
#price { padding-top: 24px; }
.features { padding: 24px 0; }
span.btn-primary { cursor: default; }
a:focus-visible { outline: 3px solid #4A7540; outline-offset: 3px; border-radius: 6px; }
@media (max-width: 700px) { .row { grid-template-columns: 1fr; gap: 28px; text-align: center; padding: 32px 0; } .row p { margin-inline: auto; } .row.flip > div { order: 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 700px) { .pal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { header { flex-wrap: wrap; gap: 12px; justify-content: center; } }
