:root {
  --purple: #3e0d5e;
  --purple-deep: #2b0843;
  --purple-tint: #f4eefa;
  --purple-line: #cbb9ec;
  --tab-top: #7e268c;
  --tab-bottom: #48287c;
  --orange: #ed5a1d;
  --orange-button: #c8440e;
  --orange-button-hover: #a9380a;
  --cream: #fffbf0;
  --white: #ffffff;
  --ink: #2a1b3d;
  --muted: #5f5471;
  --line: #e8dff0;
  --radius-lg: 24px;
  --radius-md: 18px;
  --heading: "Poppins", "Segoe UI", system-ui, sans-serif;
  --body: "Nunito", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

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

a { color: var(--purple); }

h1, h2, h3 {
  font-family: var(--heading);
  color: var(--purple);
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

/* Same 970px column Amazon uses for A+ content */
.wrap {
  max-width: 1018px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.accent { color: var(--orange); }

/* Buttons and links */
.btn {
  display: inline-block;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  color: var(--white);
  background: var(--orange-button);
  padding: 15px 32px;
  border-radius: 999px;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--orange-button-hover); transform: translateY(-1px); }
.btn:focus-visible, .text-link:focus-visible, .main-nav a:focus-visible, .logo-tab:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.text-link {
  font-family: var(--heading);
  font-weight: 600;
  color: var(--purple);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 50;
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1018px;
  margin: 0 auto;
  padding: 10px 24px;
}
.logo-tab { display: block; }
.logo-tab img { height: 92px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-family: var(--heading);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--purple);
  text-decoration: none;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--orange-button); }
.main-nav a.btn { color: var(--white); padding: 11px 22px; font-size: 0.92rem; }
.main-nav a.btn:hover { color: var(--white); }
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--purple);
}
.menu-toggle svg { display: block; }

/* A+ style modules */
.module { padding-top: 64px; }
.module:last-of-type { padding-bottom: 72px; }
.module-first { padding-top: 40px; }

.banner img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.module-text { max-width: 760px; margin: 0 auto; text-align: center; padding-top: 30px; }
.module-text h1, .module-text h2, .module-head h2 {
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}
.module-text p { font-size: 1.14rem; color: var(--ink); margin-top: 14px; }
.module-text .btn { margin-top: 26px; }

.module-head { text-align: center; margin-bottom: 30px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}
.tile h3 { font-weight: 700; font-size: 1.2rem; margin: 16px 0 6px; }
.tile p { color: var(--muted); font-size: 1rem; }

/* Single image on the left, text on the right */
.side {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 44px;
  align-items: center;
  background: var(--purple-tint);
  border: 2px solid var(--purple-line);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.side img { width: 100%; border-radius: var(--radius-md); }
.side h2 { font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.2rem); margin-bottom: 16px; }
.side p { font-size: 1.08rem; margin-top: 10px; }
.side strong { font-family: var(--heading); font-weight: 700; color: var(--purple); }

/* Brand story */
.story { background: var(--cream); margin-top: 72px; padding-top: 64px; padding-bottom: 72px; }
.story-label {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-button);
  text-align: center;
  margin-bottom: 18px;
}
.story-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 24px; }
.story-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 24px 28px;
  font-size: 1rem;
}
.story-card h3 { font-weight: 700; font-size: 1.18rem; margin-bottom: 8px; }
.story-card p { color: var(--muted); }
.story-card p + h3 { margin-top: 18px; }
.story-card.photo { padding: 0; overflow: hidden; }
.story-card.photo img { width: 100%; aspect-ratio: 362 / 300; object-fit: cover; object-position: center 35%; }
.story-card.photo div { padding: 20px 24px 26px; }
.story-card .mini-tab { width: 88px; margin-bottom: 14px; }
.story-card .text-link { display: inline-block; margin-top: 14px; }

/* Shop band */
.shop-band { background: var(--purple); color: var(--white); }
.shop-inner {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 52px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}
.shop-photo img { border-radius: var(--radius-lg); width: 100%; background: var(--white); }
.shop-band h2 { color: var(--white); font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.6rem); }
.shop-band h2 .accent { color: #ff8a55; }
.shop-band p { margin-top: 14px; font-size: 1.1rem; color: #eadff3; max-width: 30em; }
.shop-band .btn { margin-top: 26px; }
.shop-band .warning { font-size: 0.86rem; color: #d3c3e2; margin-top: 24px; }

/* Inner pages */
.page-head { padding-top: 56px; padding-bottom: 8px; text-align: center; }
.page-head h1 { font-weight: 800; font-size: clamp(2.1rem, 4.6vw, 3rem); }
.page-head p { color: var(--muted); font-size: 1.12rem; margin: 14px auto 0; max-width: 34em; }

.prose { max-width: 700px; margin: 0 auto; padding-top: 48px; padding-bottom: 8px; }
.prose p { font-size: 1.12rem; margin-bottom: 22px; }
.prose .lead { font-family: var(--heading); font-weight: 600; font-size: 1.4rem; line-height: 1.4; color: var(--purple); }
.prose .pull {
  font-family: var(--heading);
  font-weight: 600;
  font-size: 1.32rem;
  line-height: 1.4;
  color: var(--purple);
  background: var(--purple-tint);
  border: 2px solid var(--purple-line);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  margin: 34px 0;
}

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-top: 44px; padding-bottom: 80px; }
.contact-card {
  background: var(--purple-tint);
  border: 2px solid var(--purple-line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}
.contact-card h2 { font-weight: 700; font-size: 1.2rem; margin-bottom: 10px; }
.contact-card p { color: var(--ink); font-size: 1.02rem; }
.contact-card a { font-weight: 700; word-break: break-word; }

/* Join Our Club form */
.join-form {
  max-width: 560px;
  margin: 44px auto 80px;
  background: var(--purple-tint);
  border: 2px solid var(--purple-line);
  border-radius: var(--radius-lg);
  padding: 32px 30px 30px;
  display: grid;
  gap: 18px;
}
.join-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.join-form label {
  display: block;
  font-family: var(--heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--purple);
  margin-bottom: 6px;
}
.join-form .optional { font-weight: 400; color: var(--muted); }
.join-form input[type="text"], .join-form input[type="email"], .join-form input[type="tel"] {
  width: 100%;
  font-family: var(--body);
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--purple-line);
  border-radius: 12px;
  padding: 12px 14px;
}
.join-form input:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--purple); }
.join-form .btn { border: 0; cursor: pointer; justify-self: start; margin-top: 6px; }
.join-form .form-note { font-size: 0.9rem; color: var(--muted); }
.page-head.thanks { padding-bottom: 96px; }
.page-head.thanks .btn { margin-top: 12px; }

/* Social icons */
.social { display: flex; gap: 12px; list-style: none; padding: 0; margin: 0; }
.social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--purple);
  color: var(--white);
  transition: background 0.15s ease;
}
.social a:hover { background: var(--orange-button); }
.social a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.social svg { width: 20px; height: 20px; }

/* Footer */
.site-footer { background: var(--purple-deep); color: #dccfe8; font-size: 0.98rem; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 44px;
  padding-top: 56px;
  padding-bottom: 40px;
}
.footer-tab {
  display: block;
  width: 112px;
  padding: 12px 14px;
  background: var(--white);
  border-radius: 16px;
}
.footer-tag { margin-top: 20px; max-width: 24em; }
.site-footer h2 {
  color: var(--white);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer ul.links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .social a { background: rgba(255, 255, 255, 0.14); }
.site-footer .social a:hover { background: var(--orange-button); text-decoration: none; }
.site-footer address { font-style: normal; margin-top: 12px; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 22px;
  padding-bottom: 30px;
  font-size: 0.86rem;
  color: #bfaed0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  justify-content: space-between;
}

/* Responsive */
@media (max-width: 860px) {
  .grid-3, .story-cards, .contact-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .side { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
  .side img { max-width: 420px; margin: 0 auto; }
  .shop-inner { grid-template-columns: 1fr; gap: 32px; }
  .shop-photo { max-width: 400px; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
  .module { padding-top: 48px; }
  .module-first { padding-top: 28px; }
  .story { margin-top: 56px; padding-top: 48px; padding-bottom: 56px; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
    padding: 20px 24px 26px;
  }
  .main-nav.open { display: flex; }
  .logo-tab img { height: 76px; }
  .join-form { padding: 24px 20px; }
  .join-form .field-row { grid-template-columns: 1fr; }
  .banner img { border-radius: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
