/**
 * MwilaMa Oil — Landing theme
 * Deep forest green · Bright gold · Frosted glass · Pedestal product
 */

:root {
  --primary-green: #052e22;
  --secondary-green: #074a36;
  --emerald: #0a6b4d;
  --emerald-soft: #12805c;
  --gold: #f0c14a;
  --gold-light: #ffd86a;
  --gold-ink: #3d2d00;
  --brand-red: #c62828;

  --white: #ffffff;
  --background: #f4f8f6;
  --surface: #ffffff;
  --surface-muted: #eef5f1;
  --light-green: #e6f3ec;
  --text-dark: #0d1f18;
  --text-muted: #566e64;
  --border: #d5e4dc;
  --border-strong: #bfd4c8;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 4px 14px rgba(5, 46, 34, 0.06);
  --shadow-md: 0 12px 32px rgba(5, 46, 34, 0.09);
  --shadow-lg: 0 24px 56px rgba(5, 40, 30, 0.18);
  --glass: rgba(255, 255, 255, 0.14);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.32);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --grad-hero: linear-gradient(180deg, #0b3d2c 0%, #063525 38%, #04281c 72%, #02140e 100%);
  --grad-deep: linear-gradient(145deg, #02140e, #052e22 50%, #074a36);
  --grad-gold: linear-gradient(180deg, var(--gold-light), var(--gold));
  --grad-surface: linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%);

  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --header-h: 48px;
  --wrap: min(1080px, calc(100% - clamp(1rem, 4vw, 2rem)));
  --touch: 44px;
  --footer-h: 48px;

  --bp-xs: 380px;
  --bp-sm: 520px;
  --bp-md: 768px;
  --bp-lg: 992px;
  --bp-xl: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.25rem);
  -webkit-text-size-adjust: 100%;
  background: #02140e;
}

html.landing-page {
  height: 100vh;
  height: 100dvh;
  height: 100svh;
  max-height: 100vh;
  max-height: 100dvh;
  max-height: 100svh;
  overflow: hidden;
  background: #02140e;
}

::selection {
  background: rgba(240, 193, 74, 0.38);
  color: var(--text-dark);
}

body.landing {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  height: 100vh;
  height: 100dvh;
  height: 100svh;
  max-height: 100vh;
  max-height: 100dvh;
  max-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  background: var(--grad-hero);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
body.landing main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.lp-skip {
  position: absolute;
  left: 1rem;
  top: -120px;
  z-index: 300;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 700;
}
.lp-skip:focus { top: 0.75rem; }

.lp-wrap {
  width: var(--wrap);
  margin: 0 auto;
}

/* ---------- Header ---------- */
.lp-header {
  position: relative;
  flex-shrink: 0;
  z-index: 300;
  overflow: visible;
  padding: calc(0.35rem + env(safe-area-inset-top)) 0 0;
  background: transparent;
  animation: lpFadeDown 0.55s var(--ease-out) both;
}
.lp-header.is-scrolled { padding-top: 0.28rem; }

.lp-header-shell {
  position: relative;
  width: var(--wrap);
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.18rem 0.32rem 0.18rem 0.45rem;
  border-radius: 999px;
  overflow: visible;
  background: rgba(3, 18, 12, 0.72);
  border: 1px solid rgba(240, 193, 74, 0.55);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.3s var(--ease-out), background 0.3s ease;
}
.lp-header.is-scrolled .lp-header-shell {
  background: rgba(3, 18, 12, 0.9);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
}

.lp-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.lp-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid rgba(240, 193, 74, 0.7);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.lp-logo-mark img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 50%;
}
.lp-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  gap: 0.05rem;
}
.lp-logo-text strong {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.lp-logo-text strong span { color: #f0c14a; }
.lp-logo-text small {
  font-size: 0.66rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.lp-icon-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  border: 1.5px solid rgba(240, 193, 74, 0.7);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.lp-icon-btn i { font-size: 1.05rem; line-height: 1; }
.lp-icon-btn span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.lp-icon-btn:hover,
.lp-icon-btn.is-active {
  background: rgba(240, 193, 74, 0.16);
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.lp-download {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid #c7ddd1;
  background: #e8f3ed;
  color: var(--primary-green);
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.lp-download i {
  font-size: 1.05rem;
  line-height: 1;
}
.lp-download:hover,
.lp-download:focus-visible {
  background: var(--grad-gold);
  color: var(--gold-ink);
  border-color: rgba(180, 130, 20, 0.25);
  transform: translateY(-1px);
}
.lp-theme {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  border: 1.5px solid rgba(240, 193, 74, 0.7);
  background: rgba(0, 0, 0, 0.28);
  color: var(--gold);
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.lp-theme i {
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.35s ease;
}
.lp-theme:hover,
.lp-theme:focus-visible {
  background: var(--grad-gold);
  color: var(--gold-ink);
  transform: translateY(-1px);
}
.lp-theme:hover i,
.lp-theme:focus-visible i {
  transform: rotate(-18deg) scale(1.06);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 36px;
  padding: 0 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { min-height: 38px; padding: 0 1.05rem; }

.btn-outline,
.btn-white {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--primary-green);
}
.btn-outline:hover,
.btn-white:hover {
  background: var(--white);
  color: var(--primary-green);
  box-shadow: 0 10px 22px rgba(0, 20, 12, 0.18);
}

.btn-gold {
  background: var(--grad-gold);
  color: var(--gold-ink);
  border-color: rgba(180, 130, 20, 0.2);
  box-shadow: 0 8px 20px rgba(240, 193, 74, 0.32);
  animation: lpPulse 2.6s ease-in-out infinite;
}
.btn-gold:hover {
  color: var(--gold-ink);
  box-shadow: 0 14px 28px rgba(240, 193, 74, 0.45);
  animation: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

/* ---------- Hero ---------- */
.lp-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  padding: clamp(0.25rem, 1svh, 0.6rem) 0;
}

.lp-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--grad-hero);
}
.lp-hero-truck {
  position: absolute;
  top: 58%;
  right: -8%;
  left: auto;
  width: auto;
  height: 190%;
  max-width: none;
  transform: translateY(-50%);
  object-fit: cover;
  object-position: right center;
}
.lp-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(3, 22, 16, 0.97) 0%, rgba(3, 22, 16, 0.94) 32%, rgba(3, 22, 16, 0.45) 50%, rgba(3, 22, 16, 0.08) 68%, rgba(3, 22, 16, 0) 100%);
  pointer-events: none;
}

.lp-hero-grid {
  position: relative;
  z-index: 3;
  width: var(--wrap);
  margin: 0 auto;
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  grid-auto-flow: column;
  gap: clamp(0.7rem, 2.5vw, 1.75rem);
  align-items: center;
}
.lp-hero-copy {
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.45rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  width: fit-content;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(240, 193, 74, 0.1);
  border: 1px solid rgba(240, 193, 74, 0.28);
}
.lp-eyebrow i { font-size: 0.95rem; }

.lp-hero h1 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: clamp(1.75rem, 2.6svh + 1.8vw, 3.05rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}
.lp-hero h1 .mw { color: #fff; }
.lp-hero h1 .ma,
.lp-hero h1 .oil { color: var(--gold); }

.lp-hero-text {
  margin: 0 0 0.7rem;
  max-width: 36rem;
  font-size: clamp(1.02rem, 0.95rem + 0.45vw, 1.22rem);
  line-height: 1.5;
  color: #fff;
}

.lp-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.lp-hero-points {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 0.45rem;
  margin-bottom: 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
}
.lp-hero-points li {
  animation: lpFadeUp 0.55s var(--ease-out) both;
}
.lp-hero-points li:nth-child(1) { animation-delay: 0.35s; }
.lp-hero-points li:nth-child(2) { animation-delay: 0.45s; }
.lp-hero-points li:nth-child(3) { animation-delay: 0.55s; }
.lp-hero-points li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.lp-hero-points i {
  width: 2rem;
  height: 2rem;
  margin: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(240, 193, 74, 0.45);
  flex-shrink: 0;
}

.lp-showcase {
  position: relative;
  z-index: 4;
  display: grid;
  place-items: end center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  container-type: size;
}

.lp-product {
  position: relative;
  z-index: 2;
  width: min(100cqw, 100cqh, 520px);
  height: min(100cqw, 100cqh, 520px);
  display: grid;
  place-items: center;
}

.lp-hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: -8%;
  right: -8%;
  bottom: -1px;
  height: 46px;
  pointer-events: none;
  background: #02140e;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow: 0 -2px 0 rgba(240, 193, 74, 0.72);
}
.lp-product-card {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: clamp(18px, 3vw, 28px);
  background: #fff;
  border: 2px solid rgba(255, 255, 255, 0.92);
  padding: clamp(0.35rem, 1.2vw, 0.7rem);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(240, 193, 74, 0.35);
  animation: lpFloat 5.5s ease-in-out infinite;
}
.lp-product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* ---------- Footer ---------- */
.lp-footer {
  position: relative;
  flex-shrink: 0;
  background: #02140e;
  color: rgba(255, 255, 255, 0.78);
  padding: 0.4rem 0 calc(0.4rem + env(safe-area-inset-bottom));
}
.lp-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 193, 74, 0.45), transparent);
}
.lp-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: nowrap;
}
.lp-footer .lp-logo-text strong { color: var(--white); }
.lp-footer .lp-logo-text strong span { color: var(--gold); }
.lp-footer .lp-logo-mark {
  width: 36px;
  height: 36px;
  background: #fff;
  border-color: rgba(240, 193, 74, 0.7);
}
.lp-footer .lp-logo-mark img {
  width: 30px;
  height: 30px;
}
.lp-footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1.1rem;
  font-style: normal;
}
.lp-footer-contact a,
.lp-footer-contact span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 32px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.78);
}
.lp-footer-contact a:hover { color: var(--gold); }
.lp-footer-contact i { color: var(--gold); }
.lp-footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.58);
}
.lp-footer-copy a {
  color: inherit;
  text-decoration: none;
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lpFadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lpFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes lpFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes lpPulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(240, 193, 74, 0.28); }
  50% { box-shadow: 0 10px 26px rgba(240, 193, 74, 0.48); }
}

.lp-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.lp-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.lp-reveal-delay-2 { transition-delay: 0.16s; }

.lp-hero-copy.lp-reveal,
.lp-showcase.lp-reveal {
  transition-duration: 0.85s;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .lp-reveal,
  .lp-hero-points li {
    opacity: 1;
    transform: none;
  }
}

/* Laptop */
@media (max-width: 1024px) {
  .lp-logo-text small { display: none; }
  .lp-icon-btn {
    width: 36px;
    padding: 0;
  }
  .lp-icon-btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .lp-hero h1 { font-size: clamp(1.6rem, 2.6svh + 1.3vw, 2.4rem); }
}

/* Tablet and below: compact parallel layout */
@media (max-width: 900px) {
  :root { --wrap: min(100% - 0.8rem, 1080px); --header-h: 46px; }
  .lp-header { padding: 0.35rem 0.4rem 0; padding-top: calc(0.35rem + env(safe-area-inset-top)); }
  .lp-header-shell {
    width: 100%;
    border-radius: 999px;
    min-height: 46px;
    padding: 0.16rem 0.4rem 0.16rem 0.45rem;
    gap: 0.35rem;
  }

  .lp-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-auto-flow: column;
    gap: 0.7rem;
    height: 100%;
    align-items: stretch;
  }
  .lp-hero h1 { font-size: clamp(1.45rem, 3svh + 1.4vw, 2.05rem); }
  .lp-hero-text { font-size: 1.02rem; line-height: 1.45; }
}

/* Phone */
@media (max-width: 768px) {
  :root { --wrap: min(100% - 0.85rem, 1080px); }
  .lp-logo-mark { width: 34px; height: 34px; }
  .lp-logo-mark img { width: 22px; height: 22px; }
  .lp-logo-text strong { font-size: 0.92rem; }

  .lp-header { padding: 0.35rem 0.45rem 0; padding-top: calc(0.35rem + env(safe-area-inset-top)); }
  .lp-header-shell {
    width: 100%;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  }
  .lp-hero { padding: 0.35rem 0; }
  .lp-hero-grid {
    gap: 0.55rem;
    height: 100%;
    align-items: stretch;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-auto-flow: column;
  }
  .lp-hero-copy { justify-content: space-evenly; }
  .lp-eyebrow {
    margin-bottom: 0.35rem;
    padding: 0.2rem 0.55rem;
    font-size: 0.68rem;
    white-space: nowrap;
  }
  .lp-hero h1 {
    margin-bottom: 0.35rem;
    font-size: clamp(1.35rem, 4.4vw, 1.75rem);
  }
  .lp-hero-text {
    margin-bottom: 0.45rem;
    font-size: 0.92rem;
    line-height: 1.45;
  }
  .lp-hero-ctas { gap: 0.35rem; margin-bottom: 0.4rem; }
  .btn,
  .btn-lg { min-height: 36px; padding: 0 0.9rem; font-size: 0.84rem; }
  .lp-hero-points { font-size: 0.82rem; margin-bottom: 0; gap: 0.22rem 0.55rem; }
  .lp-hero-truck {
    height: 150%;
    right: -8%;
    top: 58%;
  }

  .lp-footer {
    padding: 0.35rem 0.55rem calc(0.35rem + env(safe-area-inset-bottom));
    width: 100%;
  }
  .lp-footer-bar {
    width: 100%;
    justify-content: space-between;
    text-align: left;
    gap: 0.4rem;
    flex-wrap: nowrap;
  }
  .lp-footer-contact { justify-content: flex-end; flex: 1; min-width: 0; }
  .lp-footer-contact a,
  .lp-footer-contact span { min-height: 24px; font-size: 0.68rem; }
  .lp-footer-copy { display: none; }
}

/* Small phone */
@media (max-width: 480px) {
  .lp-hero-grid {
    gap: 0.5rem;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }
  .lp-hero h1 { font-size: clamp(1.28rem, 4svh, 1.55rem); }
  .lp-hero-text { font-size: 0.88rem; }
  .lp-hero-points { gap: 0.28rem; font-size: 0.78rem; }
  .lp-hero-points i { width: 1.7rem; height: 1.7rem; border-radius: 8px; font-size: 0.78rem; }
  .lp-footer-contact span { display: none; }
}

@media (max-width: 360px) {
  .lp-logo-text strong { font-size: 0.84rem; }
  .lp-hero h1 { font-size: 1.22rem; }
}

/* Short viewports: keep one screen, no scroll */
@media (max-height: 720px) {
  .lp-hero::after { height: 22px; }
  .lp-header { padding-top: calc(0.22rem + env(safe-area-inset-top)); }
  .lp-eyebrow { margin-bottom: 0.3rem; }
  .lp-hero h1 { margin-bottom: 0.3rem; }
  .lp-hero-text { margin-bottom: 0.45rem; }
  .lp-hero-ctas { margin-bottom: 0.4rem; }
}

@media (max-height: 600px) {
  .lp-eyebrow { display: none; }
  .lp-hero-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .lp-hero-points { font-size: 0.78rem; gap: 0.2rem; }
  .lp-footer-copy { display: none; }
}

/* ---------- Auth / Login ---------- */
body.auth {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  color: #0d1f18;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

body.auth .auth-page-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #ffffff;
}

body.auth .lp-header-shell,
body.auth .lp-header.is-scrolled .lp-header-shell {
  background: #ffffff;
  border-color: #d7e6de;
  box-shadow: 0 10px 28px rgba(5, 46, 34, 0.08);
}
body.auth .lp-logo-text strong { color: #052e22; }
body.auth .lp-logo-text strong span { color: #e23b2f; }
body.auth .lp-logo-text small { color: #566e64; }
body.auth .lp-icon-btn,
body.auth .lp-theme {
  background: #f4f8f6;
  color: #052e22;
  border-color: #c7ddd1;
}
body.auth .lp-icon-btn:hover,
body.auth .lp-icon-btn.is-active,
body.auth .lp-theme:hover,
body.auth .lp-theme:focus-visible {
  background: #fff8e6;
  color: #3d2d00;
  border-color: rgba(180, 130, 20, 0.4);
}

body.auth .lp-header {
  position: relative;
  z-index: 300;
}
body.auth .auth-main {
  position: relative;
  z-index: 1;
}

.auth-main {
  display: grid;
  place-items: center;
  padding: 1.25rem 1rem 1.75rem;
  min-height: calc(100vh - 96px);
  min-height: calc(100dvh - 96px);
  background: transparent;
}

.auth-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
}

.auth-card {
  width: 100%;
  border-radius: 24px;
  padding: 1.15rem 1.2rem 1.05rem;
  background: #ffffff;
  border: 1px solid #d5e4dc;
  box-shadow: 0 16px 36px rgba(5, 46, 34, 0.08);
  color: #0d1f18;
}

.auth-brand {
  text-align: center;
  margin-bottom: 0.85rem;
}
.auth-brand-mark {
  width: 148px;
  height: 148px;
  margin: 0 auto 0.75rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #d5e4dc;
  padding: 0.3rem;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(5, 46, 34, 0.08);
}
.auth-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.auth-brand h1 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #052e22;
}
.auth-brand p {
  margin: 0.2rem 0 0;
  color: #566e64;
  font-size: 0.82rem;
}

.auth-form { display: grid; gap: 0.7rem; }

.auth-field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0d1f18;
}
body.auth,
body.auth .auth-field input {
  color-scheme: light;
}
.auth-field input {
  width: 100%;
  min-height: 42px;
  padding: 0.5rem 0.8rem;
  border-radius: 12px;
  border: 1.5px solid #0A6B4D;
  background-color: #ffffff;
  color: #083528;
  -webkit-text-fill-color: #083528;
  caret-color: #083528;
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.auth-field input::placeholder { color: #5c6b64; opacity: 1; }
.auth-field input:-webkit-autofill,
.auth-field input:-webkit-autofill:hover,
.auth-field input:-webkit-autofill:focus,
.auth-field input:-webkit-autofill:active {
  -webkit-text-fill-color: #083528;
  caret-color: #083528;
  box-shadow: 0 0 0 1000px #ffffff inset;
  transition: background-color 9999s ease-out 0s;
}
.auth-field input:focus {
  outline: none;
  border-color: rgba(10, 107, 77, 0.45);
  box-shadow: 0 0 0 3px rgba(240, 193, 74, 0.22);
}
.auth-pass-wrap {
  position: relative;
}
.auth-pass-wrap input {
  padding-right: 2.7rem;
}
.auth-pass-toggle {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #0A6B4D;
  border-radius: 8px;
  cursor: pointer;
}
.auth-pass-toggle:hover,
.auth-pass-toggle:focus-visible {
  color: #083528;
  background: rgba(10, 107, 77, 0.08);
  outline: none;
}
.auth-pass-toggle i { font-size: 1.05rem; }

.auth-submit {
  width: 100%;
  margin-top: 0.15rem;
  min-height: 44px;
}

.auth-alert {
  margin: 0 0 0.7rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
}
.auth-alert-danger {
  background: #fde8e8;
  color: #8f1d1d;
  border: 1px solid #f3c1c1;
}
.auth-alert-ok {
  background: var(--light-green);
  color: var(--primary-green);
  border: 1px solid var(--border);
}

.auth-hint {
  margin: 0.75rem 0 0;
  padding: 0.5rem 0.6rem;
  border-radius: var(--radius-sm);
  background: #f4f8f6;
  border: 1px solid #d5e4dc;
  color: #566e64;
  font-size: 0.72rem;
  text-align: center;
  line-height: 1.4;
}
.auth-hint code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: #052e22;
  background: #ffffff;
  padding: 0.05rem 0.25rem;
  border-radius: 4px;
}

@media (max-width: 520px) {
  .auth-main {
    padding: 0.75rem 0.75rem 1.25rem;
    min-height: calc(100dvh - 78px);
    align-items: start;
  }
  .auth-card {
    padding: 1rem 0.95rem 0.9rem;
  }
  .auth-brand-mark {
    width: 112px;
    height: 112px;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.auth .auth-page-bg,
  body.auth .auth-page-bg::after {
    animation: none;
  }
}

/* ---------- Dark mode ---------- */
html[data-theme="dark"] .lp-header-shell,
html[data-theme="dark"] .lp-header.is-scrolled .lp-header-shell {
  background: rgba(4, 24, 18, 0.88);
  border-color: rgba(214, 180, 90, 0.38);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
html[data-theme="dark"] .lp-logo-text strong { color: #fff; }
html[data-theme="dark"] .lp-logo-text strong span { color: #f0c14a; }
html[data-theme="dark"] .lp-logo-text small { color: rgba(255, 255, 255, 0.72); }
html[data-theme="dark"] .lp-icon-btn {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
}
html[data-theme="dark"] .lp-icon-btn.is-active,
html[data-theme="dark"] .lp-icon-btn:hover {
  background: var(--grad-gold);
  color: var(--gold-ink);
  border-color: rgba(180, 130, 20, 0.25);
}
html[data-theme="dark"] .lp-download {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
}
html[data-theme="dark"] .lp-download:hover,
html[data-theme="dark"] .lp-download:focus-visible {
  background: var(--grad-gold);
  color: var(--gold-ink);
  border-color: rgba(180, 130, 20, 0.25);
}
html[data-theme="dark"] .lp-theme {
  background: rgba(240, 193, 74, 0.14);
  color: #f6e3ae;
  border-color: rgba(240, 193, 74, 0.45);
}
html[data-theme="dark"] body.landing {
  background: #02140e;
}
html[data-theme="dark"] .lp-hero-bg::after {
  background: linear-gradient(90deg, rgba(2, 10, 8, 0.97) 0%, rgba(2, 10, 8, 0.92) 32%, rgba(2, 10, 8, 0.48) 50%, rgba(2, 10, 8, 0.14) 68%, rgba(2, 10, 8, 0.06) 100%);
}
html[data-theme="dark"] .lp-product-card,
html[data-theme="dark"] .auth-brand-mark {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.92);
}
html[data-theme="dark"] .lp-footer {
  background: #010c09;
}
html[data-theme="dark"] body.auth,
html[data-theme="dark"] body.auth .auth-page-bg {
  background: #ffffff;
  color: #0d1f18;
}
html[data-theme="dark"] body.auth .lp-header-shell,
html[data-theme="dark"] body.auth .lp-header.is-scrolled .lp-header-shell {
  background: #000000;
  border-color: rgba(240, 193, 74, 0.55);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}
html[data-theme="dark"] body.auth .lp-logo-text strong { color: #ffffff; }
html[data-theme="dark"] body.auth .lp-logo-text strong span { color: #f0c14a; }
html[data-theme="dark"] body.auth .lp-logo-text small { color: rgba(255, 255, 255, 0.78); }
html[data-theme="dark"] body.auth .lp-icon-btn,
html[data-theme="dark"] body.auth .lp-theme {
  background: #1a1a1a;
  color: #ffffff;
  border-color: #f0c14a;
}
html[data-theme="dark"] body.auth .lp-icon-btn:hover,
html[data-theme="dark"] body.auth .lp-icon-btn.is-active,
html[data-theme="dark"] body.auth .lp-theme:hover,
html[data-theme="dark"] body.auth .lp-theme:focus-visible {
  background: rgba(240, 193, 74, 0.16);
  color: #f0c14a;
  border-color: #f0c14a;
}
html[data-theme="dark"] .auth-card {
  background: #ffffff;
  border-color: #d5e4dc;
  color: #0d1f18;
  box-shadow: 0 16px 36px rgba(5, 46, 34, 0.08);
}
html[data-theme="dark"] .auth-brand h1 { color: #052e22; }
html[data-theme="dark"] .auth-brand p,
html[data-theme="dark"] .auth-hint { color: #566e64; }
html[data-theme="dark"] .auth-field label { color: #0d1f18; }
html[data-theme="dark"] .auth-field input,
html[data-theme="dark"] .auth-field input:-webkit-autofill,
html[data-theme="dark"] .auth-field input:-webkit-autofill:hover,
html[data-theme="dark"] .auth-field input:-webkit-autofill:focus {
  background-color: #ffffff;
  border-color: #0A6B4D;
  color: #083528;
  -webkit-text-fill-color: #083528;
  caret-color: #083528;
  box-shadow: 0 0 0 1000px #ffffff inset;
}
html[data-theme="dark"] .auth-field input::placeholder { color: #5c6b64; }
html[data-theme="dark"] .auth-pass-toggle { color: #0A6B4D; }
html[data-theme="dark"] .auth-hint {
  background: #f4f8f6;
  border-color: #d5e4dc;
}
html[data-theme="dark"] .auth-hint code {
  color: #052e22;
  background: #ffffff;
}
