/* Memovolt — white + light blue theme */
:root {
  --white: #ffffff;
  --mist: #f1f8fd;
  --sky: #dcedf9;
  --sky-deep: #b9dcf3;
  --azure: #2b8fd6;
  --azure-dark: #1c6fb0;
  --navy: #143a63;
  --ink: #23384d;
  --muted: #5d7388;
  --line: #d5e6f3;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(20, 58, 99, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 68ch; }
a { color: var(--azure-dark); }
:focus-visible { outline: 3px solid var(--azure); outline-offset: 3px; border-radius: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1160px; margin: 0 auto; padding: 12px 22px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.brand { font-weight: 800; font-size: 1.35rem; color: var(--navy); text-decoration: none; letter-spacing: -.02em; margin-right: auto; }
.brand span { color: var(--azure); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem;
  padding: 8px 14px; border-radius: 999px;
}
.nav a:hover { background: var(--mist); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  background: var(--azure); color: var(--white);
  font-weight: 700; font-size: 1rem;
  padding: 14px 28px; border-radius: 999px; border: 2px solid var(--azure);
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--azure-dark); border-color: var(--azure-dark); }
.btn:active { transform: translateY(1px); }
.btn.small { padding: 9px 20px; font-size: .92rem; }
.btn.light { background: var(--white); color: var(--azure-dark); border-color: var(--white); }
.btn.light:hover { background: var(--mist); }
.btn.outline { background: transparent; color: var(--azure-dark); }
.btn.outline:hover { background: var(--mist); }

/* ---------- Page switching (CSS only, no JavaScript) ---------- */
.page { display: none; }
.page:target { display: block; }
main:not(:has(.page:target)) #home { display: block; }
@supports not selector(:has(*)) { .page { display: block; } }

body:has(#home:target) .nav a[href="#home"],
body:not(:has(.page:target)) .nav a[href="#home"],
body:has(#about:target) .nav a[href="#about"],
body:has(#wellness:target) .nav a[href="#wellness"],
body:has(#guide:target) .nav a[href="#guide"],
body:has(#order:target) .nav a[href="#order"] { background: var(--sky); color: var(--navy); }

/* ---------- Layout ---------- */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.section { padding: 72px 0; }
.section.tint { background: var(--mist); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.split.flip > :first-child { order: 2; }
.lede { font-size: 1.15rem; color: var(--muted); }
.page-head { background: linear-gradient(180deg, var(--sky) 0%, var(--white) 100%); padding: 64px 0 40px; }

.hero { background: linear-gradient(180deg, var(--sky) 0%, var(--mist) 55%, var(--white) 100%); padding: 72px 0 80px; }
.hero .pic { position: relative; }
.hero .pic img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 0 auto; max-width: 360px; width: 100%; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.note { font-size: .9rem; color: var(--muted); }

.pic img.framed { border-radius: var(--radius); box-shadow: var(--shadow); margin: 0 auto; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

.checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li { padding-left: 32px; position: relative; margin-bottom: .7em; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%231c6fb0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Steps (a true sequence, so numbered) */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li {
  counter-increment: s; position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px 20px 76px;
}
.steps li::before {
  content: counter(s); position: absolute; left: 20px; top: 18px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--azure); color: var(--white); font-weight: 800; display: grid; place-items: center;
}
.steps strong { color: var(--navy); }

/* FAQ */
details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; margin-bottom: 12px; }
summary { cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--azure); }
details[open] summary::after { content: "–"; }
details p { color: var(--ink); }

/* Pricing */
.price-img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 0 auto 30px; max-width: 723px; width: 100%; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; display: flex; flex-direction: column; }
.plan.feature { border: 2px solid var(--azure); box-shadow: var(--shadow); }
.plan .tag { align-self: center; background: var(--sky); color: var(--navy); font-weight: 700; font-size: .85rem; padding: 4px 14px; border-radius: 999px; margin-bottom: 12px; }
.plan .per { font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1; }
.plan .per small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan .was { color: var(--muted); text-decoration: line-through; }
.plan ul { list-style: none; padding: 0; margin: 14px 0 20px; color: var(--ink); flex: 1; }
.plan ul li { padding: 5px 0; }
.plan .total { font-weight: 800; color: var(--navy); font-size: 1.15rem; margin: 6px 0 4px; }

/* Band */
.band { background: var(--azure); color: var(--white); border-radius: 26px; padding: 52px 40px; text-align: center; }
.band h2, .band p { color: var(--white); margin-left: auto; margin-right: auto; }
.band p { max-width: 58ch; }

/* Footer */
.site-footer { background: var(--navy); color: #d6e6f5; padding: 48px 0 36px; font-size: .92rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.site-footer h3 { color: #fff; font-size: 1.1rem; }
.fine { border-top: 1px solid rgba(255,255,255,.2); margin-top: 28px; padding-top: 20px; font-size: .85rem; color: #b9d2e8; max-width: none; }
.fine p { max-width: none; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .split, .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .split.flip > :first-child { order: 0; }
  .grid-3, .grid-2, .plans { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero { padding: 48px 0 56px; }
  .band { padding: 40px 22px; }
  .site-header { position: static; }
  html { scroll-padding-top: 0; }
  .header-inner { justify-content: center; }
  .brand { margin-right: 0; width: 100%; text-align: center; }
  .nav { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
