/* ==========================================================================
   Visivra — getvisivra.com  ·  Official US site
   "Optical Modern" theme — indigo-violet + warm amber
   Geometric display (Sora) + clean body (Manrope)
   Shared stylesheet · no build step
   ========================================================================== */

:root {
  /* ---- Palette ---- */
  --violet: #4b3fd6;
  --violet-600: #5b4bef;
  --violet-700: #3a2fb0;
  --violet-900: #241d63;
  --violet-ink: #1c1740;
  --lilac: #efeefc;
  --lilac-deep: #e2ddfa;
  --amber: #ff9f1c;
  --amber-deep: #e07d00;
  --amber-soft: #fff0d6;
  --paper: #ffffff;
  --bg: #f6f5fc;
  --bg-soft: #fbfbfe;
  --ink: #1d1b2e;
  --ink-soft: #4f4b66;
  --muted: #8b87a3;
  --line: #e7e4f2;
  --line-soft: #f0eef8;
  --ok: #18a37a;

  --radius: 20px;
  --radius-sm: 13px;
  --radius-lg: 30px;
  --shadow-sm: 0 1px 2px rgba(40, 30, 110, .05), 0 12px 30px rgba(40, 30, 110, .07);
  --shadow-md: 0 20px 48px rgba(40, 30, 110, .14);
  --shadow-lg: 0 36px 84px rgba(36, 29, 99, .22);
  --maxw: 1160px;
  --display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg);
  line-height: 1.66; font-size: 17px; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0 0 .5em; font-weight: 700; line-height: 1.13; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1rem; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.bg-bg { background: var(--bg); }
.bg-paper { background: var(--paper); }
.bg-lilac { background: var(--lilac); }
.bg-violet { background: linear-gradient(160deg, var(--violet-700) 0%, var(--violet-900) 100%); color: #d7d2f4; }
.bg-violet h2, .bg-violet h3, .bg-violet h4 { color: #fff; }
.center { text-align: center; }
.lead { font-size: 1.21rem; color: var(--ink-soft); max-width: 720px; line-height: 1.6; }
.center .lead { margin-left: auto; margin-right: auto; }

.kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--body); text-transform: uppercase; letter-spacing: .2em; font-size: .73rem; font-weight: 800; color: var(--amber-deep); margin-bottom: 1rem; }
.kicker::before { content: ""; width: 20px; height: 3px; border-radius: 3px; background: var(--amber); display: inline-block; }
.bg-violet .kicker { color: var(--amber); }
.center .kicker { justify-content: center; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: 14px 28px; border-radius: var(--radius-sm); font-family: var(--body); font-weight: 800; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; line-height: 1; }
.btn--violet { background: linear-gradient(135deg, var(--violet-600), var(--violet)); color: #fff; box-shadow: 0 12px 26px rgba(75, 63, 214, .32); }
.btn--violet:hover { color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(75, 63, 214, .42); }
.btn--amber { background: linear-gradient(135deg, #ffb43f, var(--amber)); color: #3a2600; box-shadow: 0 12px 26px rgba(255, 159, 28, .34); }
.btn--amber:hover { color: #3a2600; text-decoration: none; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--violet); border-color: #cfc9f3; }
.btn--ghost:hover { background: var(--violet); color: #fff; text-decoration: none; border-color: var(--violet); }
.btn--light { background: #fff; color: var(--violet-700); }
.btn--light:hover { color: var(--violet-900); text-decoration: none; transform: translateY(-2px); }
.btn--xl { padding: 17px 36px; font-size: 1.07rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---------- Promo bar + Masthead ---------- */
.promo { background: var(--violet-900); color: #cfc9ee; text-align: center; font-size: .85rem; padding: 9px 16px; font-weight: 600; }
.promo strong { color: var(--amber); }

.masthead { position: sticky; top: 0; z-index: 50; background: rgba(246, 245, 252, .9); backdrop-filter: blur(9px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: var(--violet-ink); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.logo { width: 38px; height: 38px; flex: none; }
.brand .reg { font-size: .52em; vertical-align: super; color: var(--amber-deep); font-family: var(--body); font-weight: 700; }
.nav-menu { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { color: var(--ink-soft); font-weight: 600; font-size: .95rem; position: relative; padding: 4px 0; }
.nav-menu a:hover { color: var(--violet); text-decoration: none; }
.nav-menu a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; border-radius: 2px; background: var(--amber); transition: width .2s ease; }
.nav-menu a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--violet); }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(1100px 520px at 88% -8%, var(--lilac) 0%, transparent 58%), var(--bg); padding: 74px 0 86px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; position: relative; z-index: 1; }
.hero h1 { margin-bottom: .32em; }
.hero h1 .grad { background: linear-gradient(120deg, var(--violet-600), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-bottom: 1.8rem; }
.hero-rating { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--ink-soft); margin-top: 1.7rem; }
.stars { color: var(--amber); letter-spacing: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 1.4rem; }
.chip { display: inline-flex; align-items: center; gap: 7px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; font-size: .8rem; font-weight: 700; color: var(--violet-700); box-shadow: var(--shadow-sm); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }

.hero-art { position: relative; display: grid; place-items: center; }
.iris { position: relative; width: min(420px, 90%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #fff 0%, var(--lilac) 45%, var(--lilac-deep) 100%); display: grid; place-items: center; box-shadow: var(--shadow-md); }
.iris::before { content: ""; position: absolute; inset: -16px; border-radius: 50%; border: 2px solid var(--lilac-deep); }
.iris::after { content: ""; position: absolute; width: 36%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, var(--amber-soft), transparent 70%); top: 14%; right: 14%; }
.iris img { position: relative; width: 72%; filter: drop-shadow(0 26px 38px rgba(36, 29, 99, .3)); }
.float { position: absolute; background: var(--paper); border: 1px solid var(--line); border-radius: 15px; padding: 11px 15px; box-shadow: var(--shadow-md); font-size: .82rem; font-weight: 700; color: var(--violet-ink); display: flex; align-items: center; gap: 9px; }
.float small { display: block; font-weight: 600; color: var(--muted); font-size: .72rem; }
.float .ic { font-size: 1.25rem; }
.float--1 { top: 8%; left: -3%; }
.float--2 { bottom: 9%; right: -3%; }

/* ---------- Assurances strip ---------- */
.assurances { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: var(--shadow-sm); }
.assurances .a { padding: 26px 22px; text-align: center; border-right: 1px solid var(--line-soft); }
.assurances .a:last-child { border-right: 0; }
.assurances .a .ic { font-size: 1.7rem; margin-bottom: 8px; }
.assurances .a strong { display: block; font-size: .98rem; color: var(--ink); }
.assurances .a span { font-size: .82rem; color: var(--muted); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-top: 0; }
.card .ico { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(150deg, var(--violet-600), var(--violet-900)); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 18px; color: #fff; }

/* ---------- Duo (split) ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.shot-frame { position: relative; background: var(--lilac); border-radius: var(--radius-lg); padding: 40px; display: grid; place-items: center; }
.shot-frame::before { content: ""; position: absolute; inset: 16px; border: 2px solid rgba(255,255,255,.7); border-radius: calc(var(--radius-lg) - 14px); }
.shot-frame img { max-width: 300px; filter: drop-shadow(0 22px 32px rgba(36,29,99,.22)); }

.ticks { list-style: none; padding: 0; margin: 16px 0 0; }
.ticks li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 9px 0; align-items: start; }
.ticks .t { color: var(--amber); font-weight: 800; }
.bg-violet .ticks li span:last-child { color: #d7d2f4; }

/* ---------- Ingredient list ---------- */
.ingredients { display: grid; gap: 0; }
.ing { display: grid; grid-template-columns: 68px 1fr; gap: 22px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.ing:last-child { border-bottom: 0; }
.ing .orb { width: 68px; height: 68px; border-radius: 18px; background: var(--lilac); color: var(--violet-700); display: grid; place-items: center; font-size: 1.8rem; }
.ing h3 { margin: 0 0 .25rem; }
.ing .tagline { font-size: .73rem; color: var(--amber-deep); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; display: block; margin-bottom: .35rem; }

/* ---------- Figures band ---------- */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; text-align: center; }
.figures .n { font-family: var(--display); font-size: clamp(2.1rem, 4.2vw, 3rem); font-weight: 800; color: var(--amber); line-height: 1; }
.figures .l { font-size: .86rem; color: #b6afe0; text-transform: uppercase; letter-spacing: .09em; margin-top: 8px; }

/* ---------- Steps ---------- */
.steps { counter-reset: s; display: grid; gap: 18px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px 26px 84px; position: relative; box-shadow: var(--shadow-sm); }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 24px; top: 24px; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(150deg, var(--violet-600), var(--violet-900)); color: #fff; font-family: var(--display); font-weight: 800; display: grid; place-items: center; font-size: 1.15rem; }
.step h3 { margin: 0 0 .3rem; }

/* ---------- Reviews ---------- */
.voice { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); position: relative; }
.voice .stars { font-size: 1rem; }
.voice p { font-size: 1.02rem; color: var(--ink-soft); margin: 12px 0 0; }
.voice .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.voice .av { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(150deg, var(--violet-600), var(--violet-900)); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--display); }
.voice .name { font-weight: 800; font-size: .96rem; }
.voice .meta { font-size: .8rem; color: var(--muted); }
.verified { color: var(--ok); font-weight: 800; font-size: .76rem; }

/* ---------- Pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.tier { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); position: relative; }
.tier.best { border: 2px solid var(--amber); box-shadow: var(--shadow-lg); }
.tier .cap { background: linear-gradient(150deg, var(--violet-600), var(--violet-900)); color: #fff; padding: 22px; text-align: center; }
.tier.best .cap { background: linear-gradient(135deg, #ffb43f, var(--amber)); color: #3a2600; }
.tier .cap .name { font-family: var(--display); font-size: 1.05rem; font-weight: 700; letter-spacing: .02em; }
.tier .cap .qty { font-family: var(--display); font-size: 1.9rem; font-weight: 800; margin-top: 4px; }
.tier .cap .supply { font-size: .85rem; opacity: .9; }
.tier .body { padding: 28px 24px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.tier .shot { height: 122px; object-fit: contain; margin: 0 auto 14px; }
.tier .per { font-family: var(--display); font-size: 2.9rem; font-weight: 800; color: var(--violet-700); line-height: 1; }
.tier .per .cur { font-size: 1.3rem; vertical-align: super; }
.tier .per small { font-family: var(--body); font-size: .82rem; font-weight: 700; color: var(--muted); }
.tier .save { display: inline-block; background: var(--amber-soft); color: var(--amber-deep); font-weight: 800; font-size: .82rem; padding: 6px 16px; border-radius: 999px; margin: 14px 0; }
.tier .promise { font-size: .8rem; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.tier .btn { width: 100%; justify-content: center; flex-direction: column; gap: 3px; padding: 13px; }
.tier .btn small { font-weight: 600; font-size: .76rem; opacity: .9; }
.tier .pay { display: flex; justify-content: center; gap: 6px; margin: 16px 0; flex-wrap: wrap; }
.tier .pay span { font-size: .6rem; font-weight: 800; background: var(--bg); border: 1px solid var(--line); color: var(--ink-soft); border-radius: 4px; padding: 3px 6px; letter-spacing: .03em; }
.tier .total { font-family: var(--display); font-weight: 700; color: var(--violet-700); font-size: 1.08rem; margin-top: auto; }
.tier .total s { color: var(--muted); font-weight: 400; font-family: var(--body); }
.tier .ship { font-size: .8rem; font-weight: 800; color: var(--amber-deep); margin-top: 6px; }
.tier .ship-free { background: var(--violet); color: #fff; border-radius: 6px; padding: 5px; display: block; }

/* ---------- FAQ ---------- */
.qa { max-width: 840px; margin: 0 auto; }
.qa details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 24px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.qa summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 1.05rem; padding: 18px 0; list-style: none; position: relative; padding-right: 34px; color: var(--violet-ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 2px; top: 14px; font-size: 1.5rem; color: var(--amber-deep); font-family: var(--body); }
.qa details[open] summary::after { content: "\2013"; }
.qa details p { padding-bottom: 18px; margin: 0; color: var(--ink-soft); }

/* ---------- Callout (CTA) ---------- */
.callout { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--violet-600), var(--violet-900)); color: #d7d2f4; border-radius: var(--radius-lg); padding: 62px 46px; text-align: center; }
.callout::before { content: ""; position: absolute; right: -90px; top: -90px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,159,28,.32), transparent 64%); }
.callout > * { position: relative; }
.callout h2 { color: #fff; }
.callout p { color: #cfc9ee; max-width: 600px; margin: 0 auto 1.7rem; }

/* ---------- Longform / knowledge ---------- */
.longform { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 42px; box-shadow: var(--shadow-sm); }
.longform h3 { color: var(--violet-700); margin-top: 1.5em; }
.longform h3:first-child { margin-top: 0; }
.longform p { color: var(--ink-soft); }

/* ---------- Page head ---------- */
.pagehead { background: linear-gradient(160deg, var(--violet-700), var(--violet-900)); color: #cfc9ee; padding: 70px 0 56px; position: relative; overflow: hidden; }
.pagehead::after { content: ""; position: absolute; right: -120px; top: -80px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,159,28,.22), transparent 62%); }
.pagehead .wrap { position: relative; z-index: 1; }
.pagehead h1 { color: #fff; }
.pagehead .lead { color: #cfc9ee; }
.pagehead .crumb { font-size: .82rem; color: #a79fdb; margin-bottom: 14px; }
.pagehead .crumb a { color: #a79fdb; }
.pagehead .kicker { color: var(--amber); }

/* ---------- Prose (legal + guides) ---------- */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { margin-top: 1.9em; color: var(--violet-700); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose .updated { color: var(--muted); font-size: .9rem; }
.prose .toc { background: var(--lilac); border: 1px solid var(--lilac-deep); border-radius: var(--radius-sm); padding: 18px 24px; margin: 0 0 30px; }
.prose .toc strong { display: block; font-family: var(--display); margin-bottom: 8px; color: var(--violet-ink); }
.prose .toc a { display: block; padding: 3px 0; }

/* ---------- Note / disclaimer ---------- */
.note { background: var(--lilac); border: 1px solid var(--lilac-deep); border-radius: var(--radius-sm); padding: 18px 22px; font-size: .86rem; color: var(--violet-700); }

/* ---------- Footer ---------- */
.footer { background: var(--violet-ink); color: #a59fc8; padding: 64px 0 30px; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 38px; margin-bottom: 44px; }
.footer h4 { color: #fff; font-family: var(--body); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.footer a { color: #a59fc8; display: block; margin-bottom: 9px; }
.footer a:hover { color: var(--amber); text-decoration: none; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.foot-contact p { margin: 0 0 6px; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; font-size: .8rem; color: #837cab; line-height: 1.6; }
.foot-legal p { margin: 0 0 10px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 16px; color: #837cab; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-inner, .duo { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; }
  .figures, .assurances { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .tiers { grid-template-columns: 1fr; }
  .tier.best { order: -1; }
  .assurances .a:nth-child(2) { border-right: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-menu.open { display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 76px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 20px 24px; gap: 16px; box-shadow: var(--shadow-md); }
}
@media (max-width: 540px) {
  .grid-2, .figures, .assurances, .foot-grid { grid-template-columns: 1fr; }
  .assurances .a { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .section { padding: 60px 0; }
  .ing { grid-template-columns: 1fr; }
  .longform { padding: 26px; }
  .callout { padding: 44px 24px; }
  .float { display: none; }
}
