@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #18201b;
  --muted: #657067;
  --paper: #FCFCFB;
  --white: #fff;
  --line: rgba(24,32,27,.13);
  --green: #6FBF40;
  --green-deep: #397536;
  --green-soft: #dcebc9;
  --lime: #b7d94e;
  --dark: #1d2b20;
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 24px 70px rgba(27,47,28,.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.container { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }
.top-line { position: relative; z-index: 5; padding: 11px 0; background: var(--dark); color: rgba(255,255,255,.77); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.top-line .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.top-line strong { color: var(--lime); font-weight: 800; }
.header { position: fixed; z-index: 10; top: 0; left: 0; width: 100%; background: rgba(252,252,251,.86); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(24,32,27,.08); }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 12px 0; }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 230px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a, .nav-dropdown > a { position: relative; padding: 12px 0; color: #000; font-size: 14px; font-weight: 700; }
.nav-links > a::after, .nav-dropdown > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 5px; height: 2px; background: var(--green); transition: right .3s ease; }
.nav-links > a:hover, .nav-dropdown > a:hover { color: var(--ink); }
.nav-links > a:hover::after, .nav-dropdown > a:hover::after { right: 0; }
.nav-dropdown { position: relative; }
.nav-dropdown > a::before { content: "⌄"; margin-left: 7px; float: right; color: var(--green-deep); }
.dropdown-menu { position: absolute; z-index: 20; top: calc(100% - 2px); left: 50%; width: 280px; max-height: min(68vh, 430px); overflow-y: auto; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: opacity .25s ease, transform .25s ease; }
.nav-dropdown::after { content: ""; position: absolute; left: -18px; right: -18px; bottom: -8px; height: 12px; }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.dropdown-menu::-webkit-scrollbar { width: 5px; }
.dropdown-menu::-webkit-scrollbar-thumb { border-radius: 99px; background: var(--green); }
.dropdown-menu a { display: block; padding: 10px 12px; border-radius: 10px; color: #000; font-size: 14px; font-weight: 700; line-height: 1.35; }
.dropdown-menu a:hover { background: var(--green-soft); color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 100px; background: var(--green); color: #fff; font-size: 13px; font-weight: 800; transition: transform .35s ease, background .35s ease, box-shadow .35s ease; }
.button::after { content: "↗"; font-size: 18px; line-height: 0; }
.button:hover { background: var(--green-deep); box-shadow: 0 12px 30px rgba(100,157,58,.25); transform: translateY(-3px); }
.button-dark { background: var(--green); color: var(--white); border-color: var(--green); }
.button-dark:hover { background: var(--green-deep); border-color: var(--green-deep); }
.nav-cta { display: inline-flex; min-height: 44px; padding: 0 18px; gap: 8px; }
.menu-toggle { display: none; border: 0; background: transparent; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--ink); }

.product-hero { position: relative; min-height: 380px; padding: 112px 0 50px; background: var(--paper); overflow: hidden; }
.product-hero::before { content: "Mg"; position: absolute; z-index: 0; top: 60px; right: 3%; color: rgba(111,167,79,.11); font-family: var(--serif); font-size: 360px; line-height: 1; font-weight: 700; letter-spacing: -.16em; animation: drift 8s ease-in-out infinite alternate; }
.product-hero::after { content: ""; position: absolute; z-index: 0; right: 0; bottom: 0; width: 47%; height: 88%; background: linear-gradient(90deg, var(--paper), transparent 28%), linear-gradient(0deg, rgba(244,246,239,.18), rgba(244,246,239,.18)), var(--product-image) center / cover no-repeat; clip-path: polygon(16% 0,100% 0,100% 100%,0 100%); opacity: .95; }
.product-hero .container { position: relative; z-index: 1; }
.hero-copy { max-width: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--green-deep); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--green); }
.product-hero h1 { max-width: 650px; margin: 18px 0 0; font-family: var(--serif); font-size: clamp(36px, 4.5vw, 58px); font-weight: 400; line-height: .86; letter-spacing: -.07em; }
.product-hero h1 em { color: var(--green); font-style: normal; }
.product-hero .intro { max-width: 500px; margin: 28px 0 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.product-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.meta-pill { padding: 9px 13px; border: 1px solid var(--line); border-radius: 100px; color: var(--green-deep); background: rgba(255,255,255,.4); font-size: 11px; font-weight: 800; }

.product-body { padding: 105px 0 130px; background: var(--white); }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: clamp(55px, 9vw, 135px); align-items: start; }
.content-column h2 { margin: 0 0 20px; font-family: var(--serif); font-size: clamp(30px, 3.6vw, 46px); font-weight: 400; line-height: .96; letter-spacing: -.06em; }
.content-column h2 em { color: var(--green-deep); font-style: normal; }
.content-column h3 { margin: 43px 0 18px; color: var(--green-deep); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.content-column p { margin: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.content-column strong { color: var(--ink); }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 18px; margin: 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding: 10px 0 10px 22px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.4; }
.feature-list li::before { content: "↗"; position: absolute; left: 0; color: var(--green-deep); font-weight: 800; }
.side-card { position: sticky; top: 35px; padding: 27px; border-radius: 5px 48px 5px 48px; background: var(--dark); color: var(--white); overflow: hidden; }
.side-card::before { content: ""; position: absolute; width: 210px; height: 210px; right: -90px; top: -90px; border: 1px solid rgba(183,217,78,.28); border-radius: 50%; box-shadow: 0 0 0 22px rgba(183,217,78,.04), 0 0 0 44px rgba(183,217,78,.03); }
.side-card img { position: relative; z-index: 1; width: 100%; max-height: 300px; margin: -4px 0 25px; object-fit: contain; border-radius: 2px 45px 2px 45px; background: rgba(255,255,255,.07); }
.side-card h3 { position: relative; z-index: 1; margin: 0 0 18px; color: var(--lime); font-family: var(--serif); font-size: 27px; font-weight: 400; letter-spacing: -.05em; }
.side-card p { position: relative; z-index: 1; margin: 0; color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.7; }
.stat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-top: 22px; }
.stat { padding: 15px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; }
.stat strong { display: block; color: var(--lime); font-family: var(--serif); font-size: 28px; font-weight: 400; }
.stat span { display: block; margin-top: 5px; color: rgba(255,255,255,.54); font-size: 10px; line-height: 1.35; }
.analysis { margin-top: 34px; overflow: hidden; border: 1px solid var(--line); border-radius: 5px 25px 5px 25px; }
.analysis-title { margin: 0; padding: 15px 18px; background: var(--green-soft); color: var(--green-deep); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.analysis table { width: 100%; border-collapse: collapse; background: var(--white); }
.analysis th, .analysis td { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; text-align: left; }
.analysis th { color: var(--ink); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.analysis tr:last-child td { border-bottom: 0; }
.application-box { margin-top: 45px; padding-top: 28px; border-top: 1px solid var(--line); }
.application-box h3 { margin-top: 0; }
.formula { display: inline-block; margin: 8px 0 20px; padding: 11px 16px; border-radius: 8px; background: var(--green-soft); color: var(--green-deep); font-family: var(--serif); font-size: 25px; }
.back-row { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin-top: 72px; padding-top: 22px; border-top: 1px solid var(--line); }
.back-row span { color: var(--muted); font-size: 12px; }

.footer { padding: 78px 0 28px; background: var(--white); color: var(--ink); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr 1.2fr; gap: 50px; padding-bottom: 60px; }
.footer-brand img { width: 190px; opacity: .94; }
.footer-brand p { max-width: 230px; margin: 22px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.footer h4 { margin: 6px 0 20px; color: var(--green-deep); font-size: 12px; letter-spacing: .17em; text-transform: uppercase; }
.footer a, .footer address, .footer span { display: block; color: var(--muted); font-size: 15px; line-height: 2.05; font-style: normal; }
.footer a:hover { color: var(--green-deep); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid var(--line); color: #879087; font-size: 11px; }
.footer-bottom span:last-child { color: var(--green-deep); }
.progress { position: fixed; z-index: 20; top: 0; left: 0; width: 0; height: 3px; background: var(--lime); transition: width .08s linear; }
.back-to-top { position: fixed; z-index: 19; right: 24px; bottom: 24px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; font-size: 23px; box-shadow: 0 12px 26px rgba(27,47,28,.2); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease, background .25s ease; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
@keyframes drift { from { transform: translateY(0) rotate(-4deg); } to { transform: translateY(15px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }
@media (max-width: 960px) {
  .container { width: min(100% - 44px, 720px); }
  .brand img { width: 195px; }
  .nav-links { gap: 18px; }
  .nav-cta { display: inline-flex; }
  .product-hero::after { width: 56%; }
  .product-layout { grid-template-columns: 1fr; gap: 65px; }
  .side-card { position: static; max-width: 550px; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px) {
  .container { width: min(100% - 36px, 520px); }
  .top-line .container { justify-content: center; text-align: center; }
  .top-line .container span:last-child { display: none; }
  .header { top: 0; }
  .nav { gap: 8px; }
  .nav-cta { min-height: 38px; padding: 0 12px; font-size: 12px; }
  .brand img { width: 150px; }
  .menu-toggle { display: block; }
  .nav-links { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - 100px); overflow-y: auto; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.97); box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .nav-links > a, .nav-dropdown > a { padding: 13px 10px; }
  .nav-dropdown .dropdown-menu,
  .nav-links.is-open .nav-dropdown .dropdown-menu { position: static; display: block; width: 100%; max-height: 220px; padding: 4px; box-shadow: none; border: 0; background: var(--paper); opacity: 1; pointer-events: auto; transform: none; }
  .nav-dropdown::after { display: none; }
  .product-hero { min-height: 470px; padding-top: 106px; }
  .product-hero::before { top: 115px; right: -15px; font-size: 250px; }
  .product-hero::after { top: 40%; bottom: auto; width: 100%; height: 60%; clip-path: polygon(0 14%,100% 0,100% 100%,0 100%); opacity: .27; }
  .product-hero h1 { font-size: clamp(36px, 10vw, 54px); }
  .product-hero .intro { font-size: 15px; }
  .product-body { padding: 78px 0 90px; }
  .feature-list { grid-template-columns: 1fr; }
  .analysis { overflow-x: auto; }
  .analysis table { min-width: 440px; }
  .back-row { display: block; }
  .back-row .button { margin-top: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-bottom { display: block; line-height: 1.8; }
  .back-to-top { right: 16px; bottom: 16px; }
}