/* MemoHive — sales page
   Palette measured, not eyeballed. Ratios recorded next to each token.
   Gold reads 2.42:1 on white, so gold NEVER carries text on a light surface —
   --gold-ink is the on-white variant (4.91:1). Gold on navy is 6.60:1. */
:root {
  --navy-900: #0B1A33;   /* 17.36:1 vs white */
  --navy-800: #14213D;   /* 15.97:1 vs white */
  --navy-700: #1E3160;   /* 12.62:1 vs white */
  --gold:     #C9A227;   /* 6.60:1 on navy-800 — dark surfaces only */
  --gold-lt:  #E3C15A;   /* 9.16:1 on navy-800 */
  --gold-ink: #8A6D12;   /* 4.91:1 on white — the on-light gold */
  --cta:      #15803D;   /* white on it = 5.02:1 */
  --cta-2:    #116B32;
  --ink:      #1B2432;   /* 15.61:1 body headings */
  --body:     #4A5568;   /* 7.53:1 */
  --muted:    #6B7688;   /* 4.59:1 — the floor, nothing lighter carries text */
  --line:     #E7EAF0;
  --wash:     #F7F8FB;
  --white:    #fff;
  --band: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-800) 55%, var(--navy-900) 100%);
  --r: 16px;
  --r-sm: 10px;
  --shadow-card: 0 18px 40px -20px rgba(11, 26, 51, .35);
  --shadow-btn: 0 12px 24px -10px rgba(21, 128, 61, .55);
  --maxw: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.6;
  font-kerning: normal;
  font-feature-settings: "kern" 1, "liga" 1;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--ink); line-height: 1.18; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); font-weight: 800; letter-spacing: -.015em; }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--gold-ink); }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(18px, 5vw, 32px); }
.section { padding-block: clamp(48px, 7vw, 88px); }
.center { text-align: center; }
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-ink); margin: 0 0 .6em;
}
.band .eyebrow { color: var(--gold-lt); }

/* ---- the one loud move: the honeycomb from the bottle's own mark ---- */
.band {
  position: relative; overflow: hidden;
  background: var(--band); color: #EAEEF6;
}
.band::before {
  content: ""; position: absolute; inset: 0; opacity: .10; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16v32L28 64 0 48V16z' fill='none' stroke='%23C9A227' stroke-width='1.5'/%3E%3Cpath d='M28 64 56 80v32L28 128 0 112V80z' fill='none' stroke='%23C9A227' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 56px 97px;
}
.band > * { position: relative; }
.band h2, .band h3 { color: var(--white); }

/* ---- hero ---- */
.hero { background: var(--wash); border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px);
  align-items: center; padding-block: clamp(36px, 5vw, 64px);
}
.hero-sub { font-size: 1.06rem; color: var(--body); max-width: 54ch; }
.checks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink); font-weight: 600; font-size: .97rem; }
.checks svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px; color: var(--cta); }
.hero-art { display: grid; place-items: center; }
.hero-art img { filter: drop-shadow(0 26px 40px rgba(11, 26, 51, .28)); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(180deg, var(--cta), var(--cta-2)); color: var(--white);
  font-weight: 800; font-size: 1.02rem; letter-spacing: .02em;
  /* caps-ish label: less bottom padding than top, per optical rule */
  padding: 17px 34px 15px; border-radius: 999px; text-decoration: none;
  box-shadow: var(--shadow-btn); border: 0; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -10px rgba(21, 128, 61, .6); }
.btn:active { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 3px; }
.btn--wide { width: 100%; }

.trust { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 22px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.trust svg { width: 17px; height: 17px; color: var(--gold-ink); }
.band .trust span { color: #C3CCDC; }
.band .trust svg { color: var(--gold-lt); }

/* ---- ingredients: hexagon tiles (the motif again, used once more and then dropped) ---- */
/* centred flex-wrap, NOT a fixed 3-col grid: a trailing partial row self-centres, so the
   formula can change ingredient count again without a layout edit (5 renders 3+2 centred) */
.ing-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 2.4vw, 26px); margin-top: 34px; }
.ing {
  flex: 1 1 300px; max-width: 355px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 22px; box-shadow: var(--shadow-card);
}
.hex {
  width: 54px; height: 60px; display: grid; place-items: center; margin-bottom: 14px;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.hex svg { width: 24px; height: 24px; color: var(--gold-lt); }
.ing p { margin: 0; font-size: .93rem; }

/* ---- pillars ---- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.pillar {
  border: 1px solid rgba(227, 193, 90, .32); border-radius: var(--r-sm);
  padding: 16px 14px; text-align: center; background: rgba(255, 255, 255, .04);
}
.pillar strong { display: block; color: var(--gold-lt); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.pillar span { font-size: .88rem; color: #C3CCDC; }

/* ---- split band ---- */
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 54px); align-items: center; }
.split--rev { grid-template-columns: 1.15fr .85fr; }
.split img { filter: drop-shadow(0 20px 34px rgba(0, 0, 0, .38)); }
.band p { color: #C9D2E1; }
.band .checks li { color: #EAEEF6; }
.band .checks svg { color: var(--gold-lt); }

/* ---- pricing ---- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 26px); align-items: stretch; margin-top: 38px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 22px 28px; text-align: center; display: flex; flex-direction: column;
  box-shadow: var(--shadow-card); position: relative;
}
/* featured card stands out by colour + border + scale — never by vertical offset */
.card--best { border: 2px solid var(--gold); box-shadow: 0 26px 54px -22px rgba(11, 26, 51, .5); }
.badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--navy-800); color: var(--gold-lt);
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 16px 6px; border-radius: 999px; white-space: nowrap;
}
.card h3 { font-size: 1.24rem; margin-bottom: 14px; }
.card-art { min-height: 172px; display: grid; place-items: center; margin-bottom: 14px; }
.per { font-size: 2.5rem; font-weight: 800; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.per small { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; margin-top: 6px; }
.total { font-weight: 700; color: var(--ink); margin: 12px 0 4px; font-variant-numeric: tabular-nums; }
.ship { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cta); margin-bottom: 18px; }
.ship--paid { color: var(--muted); }
.card .btn { margin-top: auto; }
.mini { display: flex; justify-content: center; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.mini span { font-size: .72rem; color: var(--muted); display: inline-flex; gap: 5px; align-items: center; }
.mini svg { width: 13px; height: 13px; }

/* ---- faq ---- */
.faq-list { max-width: 780px; margin: 32px auto 0; }
details {
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white);
  padding: 0 20px; margin-bottom: 12px;
}
details[open] { border-color: var(--gold); }
summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold-ink); font-size: 1.4rem; font-weight: 700; line-height: 1; }
details[open] summary::after { content: "\2013"; }
details p { padding-bottom: 18px; margin: 0; font-size: .95rem; }

/* ---- label ---- */
.facts { background: var(--wash); }
.facts img { border: 1px solid var(--line); border-radius: var(--r); margin-inline: auto; }

/* ---- footer ---- */
.site-foot { background: var(--navy-900); color: #A9B4C6; padding-block: 44px; font-size: .86rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; margin-bottom: 20px; }
.foot-nav a { color: #D8DEE9; text-decoration: none; font-weight: 600; }
.foot-nav a:hover { color: var(--gold-lt); text-decoration: underline; }
.disclaimer { max-width: 860px; margin-inline: auto; font-size: .78rem; line-height: 1.65; color: #8D99AC; }

@media (max-width: 900px) {
  .hero-grid, .split, .split--rev { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .ing-grid, .price-grid { grid-template-columns: 1fr; }
  /* .ing-grid is flex, so the grid rule above is inert on it — stack it explicitly */
  .ing { flex: 1 1 100%; max-width: none; }
  .pillars { grid-template-columns: 1fr; }
  /* badge overhangs the card top by 14px, so the stack gap must clear it */
  .price-grid { gap: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
