:root {
  --ink: #101827;
  --navy: #182b4d;
  --blue: #2563eb;
  --red: #d92d5c;
  --silver: #f7f9fc;
  --white: #ffffff;
  --muted: #6b7280;
  --line: rgba(16, 24, 39, 0.12);
  --soft-blue: rgba(37, 99, 235, 0.14);
  --soft-red: rgba(217, 45, 92, 0.14);
  --shadow: 0 24px 70px rgba(16, 24, 39, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  -webkit-user-drag: none;
  user-select: none;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.72);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-wrap {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.notice-strip {
  padding: 10px 16px;
  color: var(--white);
  text-align: center;
  background: linear-gradient(90deg, var(--ink), var(--navy) 55%, #153c76);
}

.notice-strip p,
.notice-strip small {
  margin: 0;
}

.notice-strip p {
  font-weight: 800;
  font-size: clamp(0.8rem, 2.7vw, 0.95rem);
}

.notice-strip small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.74rem;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.head-inner {
  width: min(1220px, calc(100% - 28px));
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  min-width: 144px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
  font-size: 0.92rem;
  font-weight: 700;
  color: #374151;
}

.main-nav a,
.site-foot a,
.plain-link {
  text-decoration: none;
}

.main-nav a:hover,
.site-foot a:hover,
.plain-link:hover {
  color: var(--blue);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.main-action,
.ghost-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  line-height: 1.15;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.main-action {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--blue));
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.26);
}

.main-action:hover,
.ghost-action:hover {
  transform: translateY(-2px);
}

.ghost-action {
  color: var(--ink);
  border: 1px solid rgba(16, 24, 39, 0.18);
  background: var(--white);
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 22%, rgba(37, 99, 235, 0.35), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(217, 45, 92, 0.24), transparent 28%),
    linear-gradient(135deg, #101827 0%, #17264a 50%, #0b111f 100%);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 132px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 118px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.98fr);
  gap: clamp(30px, 5vw, 74px);
  align-items: center;
  padding: clamp(52px, 8vw, 96px) 0;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-copy .eyebrow {
  color: #9cc3ff;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Manrope", "Plus Jakarta Sans", system-ui, sans-serif;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 790px;
  font-size: clamp(2.45rem, 6.2vw, 3.45rem);
}

h2 {
  font-size: clamp(2rem, 4.4vw, 2.9rem);
}

h3 {
  font-size: 1.18rem;
}

.hero-lede {
  max-width: 700px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  max-width: 680px;
  padding: 0;
  margin: 28px 0;
  list-style: none;
}

.hero-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), #7dd3fc);
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.15);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-stage {
  position: relative;
  isolation: isolate;
}

.product-stage::before {
  content: "";
  position: absolute;
  inset: 9% 2% 2%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.58), rgba(217, 45, 92, 0.26) 44%, transparent 69%);
  filter: blur(12px);
}

.product-stage img {
  width: min(100%, 620px);
  margin-inline: auto;
  filter: drop-shadow(0 34px 54px rgba(0, 0, 0, 0.42));
}

.section-block {
  padding: clamp(64px, 9vw, 112px) 0;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: start;
}

.text-stack p,
.note-block p,
.guarantee-box p {
  margin: 0 0 18px;
  color: #4b5563;
  font-size: 1.05rem;
}

.benefit-block,
.routine-block,
.review-band {
  background: var(--silver);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.card-grid,
.step-grid,
.price-grid,
.review-grid {
  display: grid;
  gap: 18px;
}

.six-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-card,
.formula-card,
.step-card,
.package-card,
.review-card,
.safety-box,
.info-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(16, 24, 39, 0.06);
}

.benefit-card,
.formula-card,
.step-card {
  padding: 26px;
}

.benefit-card p,
.formula-card p,
.step-card p,
.package-card p,
.review-card p,
.safety-box li {
  color: #4b5563;
}

.card-icon,
.step-card strong,
.badge-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 32px;
  margin-bottom: 16px;
  border-radius: 999px;
  color: var(--blue);
  background: var(--soft-blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.formula-band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 24, 39, 0.96), rgba(24, 43, 77, 0.95)),
    var(--ink);
}

.formula-band .section-kicker,
.formula-band h2 {
  color: var(--white);
}

.ingredient-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
  gap: 24px;
}

.formula-list {
  display: grid;
  gap: 14px;
}

.formula-card,
.info-panel {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.formula-card p,
.info-panel td,
.info-panel .footer-note {
  color: rgba(255, 255, 255, 0.72);
}

.info-panel {
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
}

caption {
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

th,
td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.comparison-table th,
.comparison-table td {
  border-color: var(--line);
}

thead th {
  color: var(--blue);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.info-panel th {
  color: var(--white);
}

.footer-note {
  margin: 16px;
  font-size: 0.9rem;
}

.step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 22px;
}

.safety-box {
  padding: 28px;
}

.safety-box ul {
  columns: 2;
  gap: 34px;
  padding-left: 20px;
}

.price-band {
  background:
    linear-gradient(180deg, var(--white), var(--silver));
}

.price-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  overflow: hidden;
}

.package-card img {
  width: 148px;
  height: 164px;
  object-fit: contain;
  margin: 0 auto 10px;
}

.featured-card {
  border-color: rgba(37, 99, 235, 0.34);
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.badge-label {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 30px;
  padding: 6px 10px;
  margin: 0;
}

.value-label {
  color: var(--red);
  background: var(--soft-red);
}

.supply-text,
.deal-text {
  margin: 0;
  font-weight: 800;
}

.deal-text {
  color: var(--red);
}

.price-text {
  margin: 8px 0;
  color: var(--ink);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.price-text span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.package-card .main-action {
  width: 100%;
  margin-top: auto;
}

.centre-note {
  max-width: 780px;
  margin: 24px auto 0;
  color: var(--muted);
  text-align: center;
}

.guarantee-band {
  padding: 58px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #123d79);
}

.guarantee-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.guarantee-box .section-kicker,
.guarantee-box h2,
.guarantee-box p {
  color: var(--white);
}

.comparison-table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.comparison-table table {
  min-width: 680px;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  width: 28%;
}

.review-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.review-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
}

.review-card img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 12px 24px rgba(16, 24, 39, 0.14);
}

.rating-text {
  margin: 0 0 8px;
  color: #f59e0b;
  font-weight: 900;
}

.review-card h3 {
  margin-bottom: 10px;
}

.review-card strong,
.review-card span {
  display: block;
}

.review-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.note-block {
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.08), transparent),
    var(--white);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--blue);
  font-size: 1.3rem;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 24px 22px;
  color: #4b5563;
}

.final-band {
  padding: clamp(72px, 10vw, 120px) 0;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(135deg, rgba(16, 24, 39, 0.92), rgba(24, 43, 77, 0.92)),
    url("assets/manergy-product-hero.webp") center / cover;
}

.final-box {
  max-width: 820px;
}

.final-box .section-kicker {
  color: #9cc3ff;
}

.final-box p {
  margin: 18px auto 28px;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
}

.site-foot {
  padding: 54px 0 92px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 28px;
}

.site-foot h2 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 1rem;
}

.site-foot a,
.plain-link {
  display: block;
  width: fit-content;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.78);
  font: inherit;
}

.plain-link {
  padding: 0;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.small-print {
  margin-top: 28px;
  font-size: 0.86rem;
}

.mobile-order-bar {
  display: none;
}

.dialog-layer,
.exit-layer {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(16, 24, 39, 0.72);
}

.dialog-layer[hidden],
.exit-layer[hidden] {
  display: none;
}

.legal-modal,
.exit-panel {
  position: relative;
  width: min(620px, 100%);
  max-height: min(86vh, 720px);
  overflow: auto;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-modal {
  padding: 36px;
}

.legal-modal h2 {
  padding-right: 34px;
  font-size: 2rem;
}

.legal-modal p {
  color: #4b5563;
}

.close-button {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.exit-panel {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
}

.exit-panel img {
  width: 150px;
  margin: 0 auto;
}

.exit-panel h2 {
  padding-right: 34px;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
}

.exit-panel p {
  color: #4b5563;
}

.exit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 980px) {
  .head-inner {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .head-action {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px 24px 22px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;
  }

  .hero-grid,
  .split-grid,
  .ingredient-layout,
  .guarantee-box {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .product-stage {
    order: -1;
  }

  .six-grid,
  .step-grid,
  .price-grid,
  .review-grid,
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .featured-card {
    transform: none;
  }

  .foot-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 84px;
  }

  .page-wrap {
    width: min(100% - 24px, 1160px);
  }

  .head-inner {
    min-height: 68px;
  }

  .brand-mark img {
    width: 144px;
  }

  .hero-list,
  .six-grid,
  .step-grid,
  .price-grid,
  .review-grid,
  .foot-grid,
  .exit-panel {
    grid-template-columns: 1fr;
  }

  .hero-actions .main-action,
  .hero-actions .ghost-action {
    width: 100%;
  }

  .trust-row span {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
  }

  .safety-box ul {
    columns: 1;
  }

  .review-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .review-card img {
    width: 72px;
    height: 72px;
  }

  .mobile-order-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    display: block;
    padding: 12px;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--line);
    box-shadow: 0 -18px 40px rgba(16, 24, 39, 0.12);
  }

  .mobile-order-bar .main-action {
    width: 100%;
  }

  .legal-modal,
  .exit-panel {
    padding: 24px;
  }

  .exit-panel {
    text-align: center;
  }

  .exit-actions .main-action,
  .exit-actions .ghost-action {
    width: 100%;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 2.2rem;
  }

  .notice-strip {
    padding-inline: 10px;
  }

  .main-action,
  .ghost-action {
    width: 100%;
    padding-inline: 14px;
    font-size: 0.94rem;
  }

  .trust-row span {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
