:root{
  --navy:#1F305F;
  --blue:#759FBC;
  --red:#C9353D;
  --ink:#1B2746;
  --muted:#647087;
  --paper:#F9FAFD;
  --paper2:#F4F7FB;
  --white:#fff;
  --line:#E5E9F1;
  --radius:28px;
  --shadow:0 22px 60px rgba(31,48,95,.10);
  --max:1180px;
}
html{scroll-behavior:smooth}
body.magnefar-body{
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  color:var(--ink);
  background:var(--white);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
a{text-decoration:none;color:inherit}
.wrap{width:min(var(--max),calc(100% - 40px));margin:auto}

.skip-link{
  position:absolute;left:8px;top:-60px;z-index:100;
  background:var(--navy);color:#fff;padding:12px 18px;border-radius:10px;
  font-weight:700;font-size:14px;transition:top .15s ease;
}
.skip-link:focus{top:8px}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.btn:focus-visible{
  outline:3px solid var(--blue);
  outline-offset:3px;
  border-radius:8px;
}

.eyebrow{
  display:inline-flex;align-items:center;gap:9px;
  font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;
  color:var(--red);
}
.eyebrow:before{content:"";width:28px;height:2px;background:currentColor;border-radius:99px}
h1,h2,h3{margin:0;line-height:1.02;letter-spacing:-.035em;color:var(--navy)}
h1{font-size:clamp(38px,6vw,82px);font-weight:800}
h2{font-size:clamp(32px,4.6vw,60px);font-weight:800}
h3{font-size:22px;font-weight:800}
p{margin:0}
.lead{font-size:clamp(18px,2vw,22px);line-height:1.55;color:#495873}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:52px;padding:0 24px;border-radius:999px;
  font-weight:800;font-size:15px;transition:.2s ease;
}
.btn.primary{background:var(--navy);color:#fff;box-shadow:0 10px 24px rgba(31,48,95,.18)}
.btn.secondary{border:1px solid #CAD2DF;color:var(--navy);background:#fff}
.btn:hover{transform:translateY(-1px)}
.arrow{font-size:19px;line-height:1}

.site-header{
  position:sticky;top:0;z-index:20;
  background:rgba(255,255,255,.90);backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(229,233,241,.8)
}
.nav{height:74px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:12px}
.brandmark{
  width:13px;height:32px;border-radius:3px;flex:0 0 auto;
  background:linear-gradient(180deg,var(--red) 0 50%,var(--navy) 50% 100%)
}
.brandname{font-weight:900;letter-spacing:-.03em;color:var(--navy);font-size:19px}
.brandname small{display:block;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:700}
.navlinks{display:flex;align-items:center;gap:24px;font-size:14px;font-weight:700;color:#536078}
.navlinks .navcta{padding:11px 18px;border-radius:999px;background:var(--navy);color:#fff}

section[id]{scroll-margin-top:90px}

.hero{
  background:
    radial-gradient(circle at 18% 15%,rgba(117,159,188,.16),transparent 31%),
    linear-gradient(180deg,#fff 0%,var(--paper) 100%);
  padding:52px 0 76px;
}
.hero-grid{
  display:grid;grid-template-columns:.92fr 1.08fr;gap:54px;align-items:center
}
.hero-copy{padding:22px 0}
.hero-copy h1{margin:17px 0 22px;max-width:650px}
.hero-copy .lead{max-width:590px}
.hero-claim{
  display:flex;align-items:flex-start;gap:12px;
  margin:25px 0 30px;padding:16px 18px;border-left:3px solid var(--red);
  background:rgba(255,255,255,.72);border-radius:0 16px 16px 0;color:#33435f;
  max-width:585px
}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.hero-meta{display:flex;gap:20px;flex-wrap:wrap;margin-top:26px;color:var(--muted);font-size:13px;font-weight:700;list-style:none;padding:0}
.hero-meta li{display:inline-flex;align-items:center;gap:8px}
.dot{width:7px;height:7px;border-radius:50%;background:var(--red);flex:0 0 auto}
.hero-photo{
  position:relative;border-radius:36px;overflow:hidden;min-height:620px;
  box-shadow:var(--shadow);background:#ddd
}
.hero-photo img{width:100%;height:100%;min-height:620px;object-fit:cover;object-position:52% center}
.hero-badge{
  position:absolute;left:26px;bottom:26px;max-width:250px;
  background:rgba(255,255,255,.92);backdrop-filter:blur(12px);
  padding:15px 17px;border-radius:18px;box-shadow:0 14px 35px rgba(0,0,0,.12)
}
.hero-badge b{display:block;color:var(--navy);font-size:16px}
.hero-badge span{font-size:12px;color:var(--muted);font-weight:700}

.story{padding:92px 0;background:#fff}
.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.story-copy{max-width:520px}
.story-copy h2{margin:14px 0 22px}
.story-copy p{font-size:18px;color:#58657B}
.story-list{margin-top:26px;display:grid;gap:13px;list-style:none;padding:0}
.story-list li{display:flex;gap:12px;align-items:center;font-weight:750;color:#36445F}
.tick{width:26px;height:26px;border-radius:50%;background:var(--paper2);display:grid;place-items:center;color:var(--red);font-weight:900;flex:0 0 auto}
.story-photo{border-radius:30px;overflow:hidden;box-shadow:var(--shadow)}
.story-photo img{width:100%;aspect-ratio:16/10;object-fit:cover}

.ingredients{padding:96px 0;background:var(--paper2)}
.section-head{max-width:720px;margin-bottom:42px}
.section-head h2{margin:14px 0 16px}
.section-head p{font-size:18px;color:#607089}
.ing-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;list-style:none;margin:0;padding:0}
.ing{
  position:relative;min-height:245px;padding:26px 22px;border:1px solid var(--line);
  border-radius:24px;background:#fff;overflow:hidden
}
.ing::after{
  content:"";position:absolute;width:110px;height:110px;border-radius:50%;
  right:-45px;bottom:-50px;background:rgba(117,159,188,.12)
}
.ing-num{
  width:42px;height:42px;border-radius:14px;display:grid;place-items:center;
  background:var(--navy);color:#fff;font-weight:900;margin-bottom:24px;position:relative;z-index:1;
  font-size:15px;
}
.ing-num.accent{background:var(--red)}
.ing h3{font-size:22px;margin-bottom:12px;position:relative;z-index:1}
.ing p{font-size:14px;color:#68758A;position:relative;z-index:1}

.moments{padding:96px 0;background:#fff}
.moments-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:36px}
.moments-head p{max-width:430px;color:#67758A;font-size:17px}
.moments-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:18px}
.moment{
  position:relative;border-radius:30px;overflow:hidden;min-height:520px;background:#ddd
}
.moment img{width:100%;height:100%;min-height:520px;object-fit:cover}
.moment .overlay{
  position:absolute;inset:auto 20px 20px 20px;padding:20px 22px;
  border-radius:20px;background:rgba(20,30,54,.74);backdrop-filter:blur(12px);color:white
}
.moment .overlay b{display:block;font-size:21px;line-height:1.15;margin-bottom:6px}
.moment .overlay span{font-size:13px;color:#E5EAF2}

.product-section{padding:96px 0;background:linear-gradient(135deg,#F8FAFD,#EEF3F8)}
.product-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:60px;align-items:center}
.product-photo{border-radius:34px;overflow:hidden;box-shadow:var(--shadow)}
.product-photo img{width:100%;aspect-ratio:16/10;object-fit:cover}
.product-copy h2{margin:14px 0 18px}
.product-copy .lead{font-size:19px}
.product-points{display:grid;gap:12px;margin:26px 0;list-style:none;padding:0}
.product-points li{display:flex;align-items:center;gap:11px;color:#39475E;font-weight:750}

.usage{padding:88px 0;background:#fff}
.usage-box{
  display:grid;grid-template-columns:.9fr 1.1fr;gap:40px;align-items:center;
  padding:40px;border:1px solid var(--line);border-radius:32px
}
.dose{
  display:flex;align-items:center;gap:16px;padding:22px;border-radius:22px;
  background:var(--paper2)
}
.dose strong{font-size:44px;line-height:1;color:var(--navy)}
.dose span{font-size:14px;color:#5E6D84}

.buy{padding:92px 0;background:var(--navy);color:#fff}
.buy-grid{display:grid;grid-template-columns:1fr auto;gap:40px;align-items:center}
.buy h2{color:#fff;max-width:680px}
.buy p{color:#CFD8EB;margin-top:15px;max-width:650px;font-size:18px}
.buy .btn{background:#fff;color:var(--navy);min-width:210px}
.buy .btn[aria-disabled="true"]{opacity:.85;cursor:not-allowed}

.faq{padding:90px 0;background:#fff}
.faq-grid{display:grid;grid-template-columns:.7fr 1.3fr;gap:60px}
.faq-items{display:grid;gap:12px}
details{border:1px solid var(--line);border-radius:18px;padding:18px 20px;background:#fff}
summary{cursor:pointer;font-weight:800;color:var(--navy);list-style:revert}
summary::marker{color:var(--red)}
details p{padding-top:12px;color:#66738A;font-size:15px}

.site-footer{background:#101B36;color:#BFC9DA;padding:42px 0}
.foot{display:flex;justify-content:space-between;gap:30px;align-items:flex-start}
.foot b{color:#fff}
.foot small{display:block;max-width:760px;margin-top:8px;line-height:1.6}
.biofarm{font-weight:900;letter-spacing:.08em;color:#fff}

@media(max-width:980px){
  .navlinks a:not(.navcta){display:none}
  .hero-grid,.story-grid,.product-grid,.usage-box,.faq-grid{grid-template-columns:1fr}
  .hero{padding-top:24px}
  .hero-photo,.hero-photo img{min-height:500px}
  .ing-grid{grid-template-columns:repeat(2,1fr)}
  .ing:last-child{grid-column:span 2}
  .moments-grid{grid-template-columns:1fr}
  .buy-grid{grid-template-columns:1fr}
  .buy .btn{justify-self:start}
}
@media(max-width:640px){
  .wrap{width:min(calc(100% - 28px),var(--max))}
  .nav{height:66px}
  .brandname small{display:none}
  .navlinks .navcta{padding:10px 13px;font-size:12px}
  .hero{padding:20px 0 54px}
  .hero-grid{gap:28px}
  .hero-photo,.hero-photo img{min-height:430px;border-radius:26px}
  .hero-photo img{object-position:50% center}
  .hero-badge{left:15px;bottom:15px;max-width:200px}
  .story,.ingredients,.moments,.product-section,.usage,.faq,.buy{padding:65px 0}
  .ing-grid{grid-template-columns:1fr}
  .ing:last-child{grid-column:auto}
  .moment,.moment img{min-height:390px}
  .moments-head,.foot{display:block}
  .moments-head p{margin-top:16px}
  .usage-box{padding:24px}
  .buy .btn{width:100%}
  .foot .biofarm{margin-top:20px}
}
