/* ==========================================================
   Brand tokens — swap these when the final brand is set
   ========================================================== */
:root {
  --brand: #0a78c2;
  --brand-dark: #075a93;
  --brand-light: #e7f3fb;
  --accent: #19b6a4;
  --ink: #0f2233;
  --muted: #5b6b7a;
  --line: #e2e8ee;
  --bg: #ffffff;
  --bg-alt: #f5f9fc;
  --star: #f5a623;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(15, 34, 51, .08);
  --container: 1200px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }

.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: .75rem; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* Placeholder blocks for images until real assets exist */
.placeholder { position: relative; background: repeating-linear-gradient(45deg, #e9f1f7, #e9f1f7 12px, #f2f7fb 12px, #f2f7fb 24px); border-radius: var(--radius); }
.placeholder::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; font-size: .8rem; font-weight: 600; color: #8aa0b2; text-align: center; padding: 8px; }

.dev-note { background: #fff8e6; border: 1px dashed #e8c66a; color: #7a5b00; font-size: .85rem; padding: 10px 14px; border-radius: var(--radius-sm); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: #fff; }
.btn--light { background: #fff; color: var(--brand-dark); }
.btn--sm { padding: .55em 1.1em; font-size: .9rem; }
.btn--lg { padding: 1em 1.8em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.arrow-link { font-weight: 600; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1.1rem; }
.round-btn:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Announcement bar ---------- */
.announcement { background: var(--ink); color: #cfe0ee; font-size: .85rem; }
.announcement .container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; gap: 1rem; }
.announcement__phone { color: #fff; font-weight: 600; }

/* ---------- Header & main menu ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 2px 12px rgba(15,34,51,.06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1.5rem; }

.logo { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); font-weight: 800; font-size: 1.35rem; }
.logo__mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; }
.logo--light { color: #fff; }

.main-nav { display: flex; align-items: center; gap: 1.25rem; }
.main-nav__list { list-style: none; display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; }
.main-nav__item { position: relative; }
.main-nav__link { display: inline-flex; align-items: center; gap: .25rem; padding: .6rem .8rem; color: var(--ink); font-weight: 500; border-radius: var(--radius-sm); }
.main-nav__link:hover { color: var(--brand); background: var(--brand-light); }
.main-nav__item--cta { margin-left: .5rem; }
.chev { transition: transform .2s; }
.dropdown-toggle { display: none; }

.dropdown { list-style: none; margin: 0; padding: .5rem; position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s; }
.dropdown a { display: block; padding: .55rem .8rem; color: var(--ink); border-radius: var(--radius-sm); font-size: .95rem; }
.dropdown a:hover { background: var(--brand-light); color: var(--brand); }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover .chev { transform: rotate(180deg); }

.main-nav__utility { display: flex; align-items: center; gap: .5rem; }
.icon-link { position: relative; display: grid; place-items: center; width: 40px; height: 40px; color: var(--ink); border-radius: 50%; }
.icon-link:hover { background: var(--brand-light); color: var(--brand); }
.cart-count { position: absolute; top: 2px; right: 0; background: var(--accent); color: #fff; font-size: .65rem; font-weight: 700; min-width: 17px; height: 17px; border-radius: 9px; display: grid; place-items: center; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 680px; margin-bottom: 44px; }
.section__head p { color: var(--muted); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }

.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card--link { color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--brand-light), #fff); padding: 72px 0 88px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 1.75rem 0; }
.hero__proof { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.5rem; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.hero__proof li { display: flex; align-items: center; gap: .5rem; }
.hero__media { aspect-ratio: 5 / 4; box-shadow: var(--shadow); }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.trust__item { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .95rem; }
.trust__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-light); color: var(--brand); font-size: .85rem; flex-shrink: 0; }

/* ---------- Problems ---------- */
.problem__icon { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 1rem; }
.problem__icon::after { font-size: .6rem; }
.problem p { color: var(--muted); font-size: .92rem; }
.problem .arrow-link { font-size: .9rem; }

/* ---------- Products ---------- */
.product { position: relative; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.product__media { aspect-ratio: 1; border-radius: 0; }
.product__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product__body p { color: var(--muted); font-size: .92rem; }
.product__meta { display: flex; justify-content: space-between; align-items: center; margin: auto 0 1rem; }
.price { font-size: 1.25rem; font-weight: 800; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 1; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: .35em .75em; border-radius: 999px; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: none; }
.step { position: relative; padding: 28px; background: var(--bg-alt); border-radius: var(--radius); }
.step__num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 1rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media { aspect-ratio: 4 / 3.4; }
.checklist { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; }

/* ---------- Reviews ---------- */
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.stars .on { color: var(--star); }
.stars .off { color: #d5dde4; }
.reviews__summary { display: flex; align-items: center; gap: .9rem; }
.reviews__summary small { display: block; color: var(--muted); }
.reviews__avg { font-size: 2.8rem; font-weight: 800; line-height: 1; }
.reviews__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.reviews__track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; display: flex; flex-direction: column; gap: 1rem; }
.review__text { flex: 1; margin: 0; }
.review__author { display: flex; align-items: center; gap: .75rem; }
.review__author small { display: block; color: var(--muted); }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--brand-light); color: var(--brand); font-weight: 700; }
.reviews__controls { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand-dark), var(--brand) 60%, var(--accent)); color: #fff; padding: 64px 0; }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }
.cta-band h2 { margin-bottom: .3em; }

.inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.inline-form input { flex: 1; min-width: 200px; padding: .85em 1.2em; border-radius: 999px; border: 1px solid var(--line); font: inherit; }
.inline-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; background: #fff; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b8c7d4; padding-top: 72px; font-size: .95rem; }
.site-footer a { color: #b8c7d4; }
.site-footer a:hover { color: #fff; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 56px; }
.site-footer__brand p { margin: 1rem 0; }
.contact-list { font-size: .9rem; }
.site-footer__newsletter .inline-form input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #fff; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; padding-bottom: 22px; font-size: .85rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; gap: 1.5rem; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer__brand, .site-footer__newsletter { grid-column: span 3; }
}

@media (max-width: 1024px) {
  /* Mobile menu */
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: 76px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .25s; }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav__item { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
  .main-nav__link { flex: 1; padding: 1rem 0; font-size: 1.05rem; }
  .main-nav__link:hover { background: none; }
  .main-nav__link .chev { display: none; }
  .dropdown-toggle { display: block; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
  .dropdown-toggle::after { content: '+'; font-size: 1.4rem; color: var(--brand); }
  .has-dropdown.is-open .dropdown-toggle::after { content: '–'; }
  .dropdown { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .75rem .5rem; display: none; }
  .has-dropdown.is-open .dropdown { display: block; }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.is-open:hover .dropdown { display: block; }
  .main-nav__item--cta { border: 0; margin: 1.25rem 0 0; }
  .main-nav__item--cta .btn { width: 100%; padding: 1em; }
  .main-nav__utility { justify-content: center; margin-top: 1rem; }

  .hero__grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; }
  .trust__list { grid-template-columns: repeat(2, 1fr); }
  .reviews__track { grid-auto-columns: calc((100% - 24px) / 2); }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .grid--5, .grid--4 { grid-template-columns: 1fr; }
  .trust__list { grid-template-columns: 1fr; }
  .reviews__track { grid-auto-columns: 88%; }
  .announcement span { display: none; }
  .announcement .container { justify-content: center; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand, .site-footer__newsletter { grid-column: span 2; }
}
