/* Fonts */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 100%; font-display: swap;
  src: url(../fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 100%; font-display: swap;
  src: url(../fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Tokens (same as wholesale) */
:root {
  --black: #000; --text: #292929; --muted: #999; --light: #F7F7F7; --white: #fff;
  --purple: #7F58A2; --pink: #EA76AB; --coral: #F58D74; --magenta: #95064E; --red: #E73350;
  --tint1: #F3EEF8; --line: #E6DEEE;
  --radius: 16px; --container: 1284px; --gutter: 24px;
  --header-h: 76px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Archivo', system-ui, sans-serif; font-size: 16px; line-height: 1.45; color: var(--black); background: var(--white); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 400; line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
b, strong { font-weight: 700; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 8px; }
.container, .wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
[hidden] { display: none !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; border-radius: 999px; border: 1px solid transparent; font-size: 16px; font-weight: 500; line-height: 1.2; color: #fff; background: var(--purple); transition: filter .2s, transform .2s, background .2s; white-space: nowrap; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-purple { background: var(--purple); }
.btn-ghost { background: transparent; color: var(--black); border-color: rgba(0,0,0,.25); }
.btn-ghost:hover { background: rgba(0,0,0,.04); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.header-right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.lang-switch { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--light); }
.lang-switch a { font-size: 12px; padding: 5px 10px; border-radius: 999px; color: var(--muted); }
.lang-switch a.current { background: #fff; color: var(--black); box-shadow: 0 1px 4px rgba(0,0,0,.08); }

/* Logo */
.logo { display: inline-flex; }
.logo img { display: block; width: auto; height: 40px; }

/* Page background: soft colour glows across the full width + floating bubbles */
main { position: relative; overflow: hidden; isolation: isolate; }
.page-home main { margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h); }
.page-home main::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 0% 0%, rgba(127,88,162,.16), transparent 70%),
    radial-gradient(55% 45% at 100% 10%, rgba(234,118,171,.18), transparent 70%),
    radial-gradient(70% 45% at 50% 100%, rgba(245,141,116,.16), transparent 70%); }
.bubbles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.bubbles i { position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.95), rgba(234,118,171,.28) 58%, rgba(127,88,162,.2));
  border: 1px solid rgba(255,255,255,.7); box-shadow: 0 20px 40px -24px rgba(127,88,162,.35); }
.bubbles i:nth-child(1) { width: 150px; height: 150px; left: 4%; top: 22%; }
.bubbles i:nth-child(2) { width: 70px; height: 70px; left: 14%; top: 62%; }
.bubbles i:nth-child(3) { width: 180px; height: 180px; right: 3%; top: 26%; }
.bubbles i:nth-child(4) { width: 90px; height: 90px; right: 13%; top: 70%; }
.bubbles i:nth-child(5) { width: 40px; height: 40px; left: 7%; top: 9%; }
.bubbles i:nth-child(6) { width: 54px; height: 54px; right: 26%; top: 88%; }
@media (prefers-reduced-motion: no-preference) {
  .bubbles i { animation: float 9s ease-in-out infinite alternate; }
  .bubbles i:nth-child(2n) { animation-duration: 12s; animation-delay: -3s; }
  .bubbles i:nth-child(3n) { animation-duration: 10s; animation-delay: -6s; }
  @keyframes float { from { transform: translateY(-10px); } to { transform: translateY(12px); } }
}

/* Hero */
.hero { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 40px; padding-top: 56px; padding-bottom: 88px; }
.hero h1 { font-size: 96px; font-weight: 900; line-height: 1.04; letter-spacing: -.02em; margin: 0 auto 24px; max-width: 11.5em; padding-bottom: .06em;
  background: linear-gradient(90deg, var(--pink), var(--purple) 50%, var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { font-size: 39px; line-height: 1.2; color: var(--black); margin: 0; }
.sub span { display: block; }
#countdown { display: none; gap: 12px; justify-content: center; margin-top: 28px; }
#countdown.on { display: flex; }
#countdown div { background: rgba(255,255,255,.75); border: 1px solid rgba(127,88,162,.2); border-radius: var(--radius); padding: 10px 18px; min-width: 84px; backdrop-filter: blur(6px); }
#countdown strong { display: block; font-size: 30px; font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; }
#countdown span { font-size: 13px; color: var(--text); }

/* Signup card: light, glassy */
.card-col { width: min(560px, 100%); }
.card { background: rgba(255,255,255,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 24px; padding: 32px; text-align: left;
  box-shadow: 0 28px 60px -34px rgba(127,88,162,.55); }
form { display: grid; gap: 12px; }
input[type=text], input[type=email], input[type=password] { width: 100%; font: inherit; font-size: 16px; padding: 11px 14px; border: 1px solid #ddd; border-radius: 10px; background: #fff; color: var(--black); transition: border-color .2s, box-shadow .2s; }
input::placeholder { color: #8a8a8a; }
input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(127,88,162,.15); }
input[aria-invalid=true] { border-color: var(--red); background: #FFF6F7; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; color: var(--text); cursor: pointer; margin-top: 4px; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--purple); flex: none; }
.check a { color: var(--purple); text-decoration: underline; }
.err { margin: -4px 0 0; font-size: 13px; color: var(--red); }
.err:empty { display: none; }
.btn.cta { width: 100%; margin-top: 6px; padding: 14px 32px; }
.btn.cta[disabled] { opacity: .65; cursor: wait; transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.limited { font-size: 16px; font-weight: 500; color: var(--magenta); margin: 6px 0 0; text-align: center; }
.card-col .fine { margin: 16px 8px 0; text-align: center; font-size: 13px; color: var(--text); }

/* Success */
#success { display: none; }
#success.on { display: block; }
#success h2 { font-size: 30px; margin: 0 0 12px; }
#success p { color: var(--text); margin: 0 0 20px; }
#copied { font-size: 14px; color: var(--text); margin-left: 10px; }

/* Footer */
.site-footer { background: var(--light); padding: 48px 0 28px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 0; padding: 0; font-size: 16px; font-weight: 500; }
.footer-nav a:hover { color: var(--purple); }
.footer-bottom { margin-top: 36px; }
.footer-warning { font-size: 13px; padding: 12px 16px; border: 1px solid rgba(0,0,0,.2); border-radius: 8px; margin-bottom: 20px; }
.footer-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); }
.footer-meta a:hover { color: var(--purple); }

/* Age gate (same as wholesale trade gate) */
.agegate { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(20,10,30,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.agebox { width: 100%; max-width: 480px; background: #fff; border-radius: 20px; padding: 40px 36px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.agebox .logo { display: flex; width: max-content; margin: 0 auto 22px; }
.agebox .logo img { height: 44px; }
.agebox .badge { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--magenta); color: #fff; font-size: 13px; font-weight: 600; }
.agebox h2 { font-size: 26px; margin: 18px 0 12px; }
.agebox p { font-size: 16px; color: var(--text); }
.agebox .actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
body.gate-open { overflow: hidden; }

/* Simple pages (confirm, unsubscribe, privacy, 404) */
.page { padding-top: 56px; padding-bottom: 88px; }
.page .card { max-width: 620px; margin: 0 auto; }
.page h1 { font-size: 52px; margin: 0 0 14px; }
.page p { color: var(--text); }
.page .actions { margin-top: 8px; }
.page .card.prose { max-width: 820px; }
.prose .updated { color: var(--muted); margin: 0 0 28px; }
.prose h2 { font-size: 22px; margin-top: 36px; }

/* Responsive */
@media (max-width: 1280px) {
  .footer-meta { flex-direction: column-reverse; gap: 8px; }
}
@media (max-width: 1024px) {
  .hero h1 { font-size: 80px; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; --gutter: 20px; }
  .bubbles i:nth-child(1) { width: 100px; height: 100px; left: -30px; top: 30%; }
  .bubbles i:nth-child(3) { width: 120px; height: 120px; right: -40px; top: 14%; }
  .bubbles i:nth-child(2), .bubbles i:nth-child(5) { display: none; }
}
@media (max-width: 600px) {
  .footer-top { flex-direction: column; }
  .lang-switch a { padding: 5px 8px; }
  .header-right { gap: 10px; }
}

/* Mobile typography – same scale as wholesale */
@media (max-width: 767px) {
  body { font-size: 14px; }
  .btn { font-size: 12px; padding: 11px 22px; }
  .btn.cta { font-size: 14px; }
  .hero { padding-top: 32px; padding-bottom: 56px; gap: 28px; }
  .hero h1 { font-size: 48px; }
  .sub { font-size: 27px; }
  .card { padding: 22px 18px; }
  .check { font-size: 14px; }
  .limited { font-size: 14px; }
  #success h2 { font-size: 21px; }
  .page { padding-top: 32px; padding-bottom: 56px; }
  .page h1 { font-size: 34px; }
  .prose h2 { font-size: 16px; }
  .footer-nav { font-size: 12px; }
  .footer-meta, .footer-warning { font-size: 12px; }
  .lang-switch a { font-size: 12px; }
  .logo img { height: 36px; }
  .header-inner { gap: 12px; }
  .header-right { gap: 8px; }
  .header-cta { padding: 10px 16px; }
  .lang-switch a { padding: 5px 7px; }
  .agebox { padding: 32px 22px; }
}
@media (max-width: 380px) {
  .header-cta { padding: 9px 12px; }
  .logo img { height: 32px; }
}
@media (prefers-reduced-motion: no-preference) {
  .card { animation: rise .7s cubic-bezier(.2,.7,.2,1) both .1s; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
