:root{--accent:#C8F542;--ink:#0C0D0E;--ground:#F3F3EF;--muted:#5E636A;--card:#FFFFFF;--soft:#ECEDE8;--line:#D8DAD4}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ground);color:var(--ink);font-family:Manrope,system-ui,sans-serif;-webkit-font-smoothing:antialiased;line-height:1.5}
img{max-width:100%;display:block}
a{color:var(--ink);text-decoration:none}a:hover{color:#3A3D42}
button,input,select,textarea{font-family:inherit;font-size:inherit}
.mono{font-family:'JetBrains Mono',ui-monospace,monospace;letter-spacing:.04em;text-transform:uppercase}
.wrap{max-width:1280px;margin:0 auto;padding-left:24px;padding-right:24px}
.lift{transition:transform .35s ease,box-shadow .35s ease}
.lift:hover{transform:translateY(-4px);box-shadow:0 18px 40px -24px rgba(12,13,14,.35)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 26px;border-radius:999px;font-weight:700;font-size:16px;border:0;cursor:pointer}
.btn-accent{background:var(--accent);color:var(--ink)}.btn-accent:hover{color:var(--ink);filter:brightness(1.05)}
.btn-ink{background:var(--ink);color:#F3F3EF}.btn-ink:hover{color:#fff;background:#25282C}
.btn-dark{background:#1C1F22;color:#F3F3EF}.btn-dark:hover{color:#fff}
.btn-ghost{background:var(--card);color:var(--ink)}
.link-u{font-weight:700;font-size:15px;border-bottom:2px solid var(--ink);padding:10px 0;align-self:flex-start;display:inline-block}
.tag{font-size:11px;background:var(--ground);border-radius:999px;padding:7px 12px;display:inline-block}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-9999px;top:8px;background:var(--ink);color:#fff;padding:10px 16px;border-radius:999px;z-index:100}.skip:focus{left:8px;color:#fff}
:focus-visible{outline:3px solid #3B6CFF;outline-offset:2px}

/* top bar */
.topbar{background:var(--ink);color:#E6E7E2;font-size:13px}
.topbar .wrap{padding-top:10px;padding-bottom:10px;display:flex;flex-wrap:wrap;justify-content:center;gap:6px 28px;text-align:center}
.topbar .hl{color:var(--accent)}

/* header */
.site-header{position:sticky;top:0;z-index:40;background:rgba(243,243,239,.88);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.nav{padding-top:14px;padding-bottom:14px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:20px;letter-spacing:-.03em;white-space:nowrap}
.logo-mark{width:36px;height:36px;border-radius:11px;background:var(--ink);display:flex;align-items:center;justify-content:center;flex:none}
.menu{display:flex;gap:4px;background:var(--card);border-radius:999px;padding:4px;font-size:14px;font-weight:600;list-style:none;margin:0}
.menu > li{position:relative}
.menu > li > a{display:block;padding:10px 16px;border-radius:999px}
.menu > li > a.active{background:var(--ink);color:#F3F3EF}
.menu > li > a:not(.active):hover{background:var(--ground)}
.menu .has-sub > a::after{content:"";display:inline-block;width:6px;height:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:0 0 3px 8px}
.sub{display:none;position:absolute;top:calc(100% + 8px);left:0;background:var(--card);border-radius:20px;padding:8px;min-width:250px;box-shadow:0 24px 50px -20px rgba(12,13,14,.35);list-style:none;margin:0}
.sub::before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px}
.sub a{display:block;padding:10px 14px;border-radius:12px;font-weight:600}
.sub a:hover{background:var(--ground)}
.has-sub:hover .sub,.has-sub:focus-within .sub{display:block}
.actions{display:flex;align-items:center;gap:8px}
.icon-btn{width:44px;height:44px;border-radius:50%;border:0;background:var(--card);display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--ink)}
.cart-btn{height:44px;padding:0 16px 0 14px;border-radius:999px;border:0;background:var(--ink);color:#F3F3EF;display:flex;align-items:center;gap:10px;font-weight:600;font-size:14px}
.cart-btn:hover{color:#fff}
.cart-count{min-width:22px;height:22px;border-radius:999px;background:var(--accent);color:var(--ink);font-size:12px;display:inline-flex;align-items:center;justify-content:center;padding:0 6px;font-weight:700}
.menu-toggle{display:none}

/* hero */
.hero{padding-top:24px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.hero-main{grid-column:span 2;background:var(--ink);color:#F3F3EF;border-radius:32px;padding:56px 48px;display:flex;flex-direction:column;justify-content:space-between;gap:48px;min-height:540px;position:relative;overflow:hidden;isolation:isolate}
.hero-main .bg{position:absolute;inset:0;z-index:-1;width:100%;height:100%;object-fit:cover;opacity:.42}
.hero-main::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(12,13,14,.92) 0%,rgba(12,13,14,.55) 60%,rgba(12,13,14,.2) 100%)}
.hero-main h1{margin:0;font-size:clamp(44px,6.4vw,100px);line-height:.92;letter-spacing:-.055em;font-weight:800}
.hero-main h1 span{color:var(--accent)}
.hero-main p{margin:0;font-size:19px;line-height:1.5;color:#D9DBD5;max-width:540px}
.row{display:flex;flex-wrap:wrap;gap:10px}
.pick{background:var(--card);border-radius:32px;padding:24px;display:flex;flex-direction:column;gap:16px}
.pick-img{flex:1;min-height:220px;border-radius:22px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}
.pick-img img{max-height:260px;object-fit:contain}
.price-big{font-size:28px;font-weight:800;letter-spacing:-.03em}
small.cur{font-size:14px;font-weight:600;color:var(--muted)}

/* perks */
.perks{padding-top:14px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.perk{background:var(--card);border-radius:24px;padding:24px;display:flex;flex-direction:column;gap:6px}
.perk b{font-size:18px;letter-spacing:-.01em;margin-top:18px}
.perk span:last-child{font-size:14px;color:var(--muted)}

/* sections */
.block{padding-top:96px}
.head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px}
h2.big{margin:0;font-size:clamp(34px,4.4vw,60px);letter-spacing:-.05em;line-height:1;font-weight:800}
.lead{font-size:17px;color:var(--muted);max-width:640px;margin:12px 0 0}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.chip{background:var(--card);border-radius:999px;padding:11px 18px;font-size:14px;font-weight:600;border:0;cursor:pointer;color:var(--ink);transition:background .2s,color .2s;min-height:44px;display:inline-flex;align-items:center;gap:8px}
.chip:hover,.chip.on{background:var(--ink);color:#F3F3EF}
.chip .n{font-size:11px;opacity:.6}

/* products */
.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.products.five{grid-template-columns:repeat(5,minmax(0,1fr))}
.product{background:var(--card);border-radius:26px;padding:12px;display:flex;flex-direction:column;gap:12px}
.product .img{aspect-ratio:1/1;border-radius:18px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}
.product .img img{width:100%;height:100%;object-fit:contain;transition:transform .5s ease}
.product:hover .img img{transform:scale(1.04)}
.product .info{display:flex;flex-direction:column;gap:4px;padding:0 8px;flex:1}
.product .info b{font-size:15px;line-height:1.35;letter-spacing:-.01em;font-weight:700}
.brandlbl{font-size:10px;color:var(--muted)}
.product .foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 2px 2px 8px}
.price{font-size:18px;font-weight:800;letter-spacing:-.02em}
.add{width:44px;height:44px;border-radius:50%;border:0;cursor:pointer;background:var(--ink);color:#F3F3EF;font-weight:700;font-size:20px;display:flex;align-items:center;justify-content:center;flex:none;transition:background .2s}
.add.done{background:var(--accent);color:var(--ink)}
.toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}
.toolbar select{height:44px;border-radius:999px;border:0;background:var(--card);padding:0 18px;font-weight:600}
.count{color:var(--muted);font-size:14px}

/* feature tiles */
.duo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tile{border-radius:32px;padding:44px;display:flex;flex-direction:column;gap:20px;min-height:400px;position:relative;overflow:hidden;isolation:isolate}
.tile h2{margin:auto 0 0;font-size:clamp(38px,4.6vw,64px);letter-spacing:-.05em;line-height:.95;font-weight:800}
.tile p{margin:0;font-size:17px;line-height:1.5;max-width:440px}
.tile.light{background:var(--card)}.tile.light p{color:var(--muted)}
.tile.dark{background:var(--ink);color:#F3F3EF}.tile.dark p{color:#C9CCC6}.tile.dark h2 span{color:var(--accent)}
.tile .ph{position:absolute;z-index:-1;object-fit:cover}
.tile.dark .ph{inset:0;width:100%;height:100%;opacity:.28}
.tile.light .ph{right:-30px;top:30px;width:52%;height:auto;border-radius:22px;opacity:1}
.strip{margin-top:14px;background:var(--card);border-radius:24px;padding:22px 28px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 32px}
.strip nav{display:flex;flex-wrap:wrap;gap:12px 40px;font-size:22px;font-weight:800;letter-spacing:-.03em}

/* blog */
.posts{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px}
.post-card{background:var(--card);border-radius:26px;overflow:hidden;display:flex;flex-direction:column}
.post-card img{aspect-ratio:16/9;object-fit:cover;width:100%}
.post-card .b{padding:24px;display:flex;flex-direction:column;gap:10px}
.post-card h3{margin:0;font-size:22px;line-height:1.2;letter-spacing:-.02em}
.post-card p{margin:0;color:var(--muted)}
.article{max-width:760px;margin:0 auto}
.article h1{font-size:clamp(34px,5vw,60px);line-height:1;letter-spacing:-.05em;margin:18px 0 20px;font-weight:800}
.article .cover{border-radius:28px;margin:28px 0 36px;width:100%}
.article h2{font-size:28px;letter-spacing:-.03em;margin:44px 0 12px;line-height:1.15}
.article p,.article li{font-size:18px;line-height:1.7;color:#2A2D31}
.article ul{padding-left:22px}

/* product page */
.crumbs{display:flex;flex-wrap:wrap;gap:8px;font-size:13px;color:var(--muted);padding-top:24px}
.crumbs a{color:var(--muted)}.crumbs a:hover{color:var(--ink)}
.pp{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:14px;padding-top:16px}
.gallery{background:#fff;border-radius:32px;padding:24px;display:flex;flex-direction:column;gap:14px}
.gallery .main{aspect-ratio:1/1;display:flex;align-items:center;justify-content:center}
.gallery .main img{max-height:100%;object-fit:contain}
.thumbs{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}
.thumbs button{flex:none;width:72px;height:72px;border-radius:14px;border:2px solid var(--line);background:#fff;padding:4px;cursor:pointer}
.thumbs button.on{border-color:var(--ink)}
.thumbs img{width:100%;height:100%;object-fit:contain}
.buy{background:var(--card);border-radius:32px;padding:36px;display:flex;flex-direction:column;gap:20px;align-self:start;position:sticky;top:96px}
.buy h1{margin:0;font-size:clamp(28px,3vw,42px);line-height:1.05;letter-spacing:-.04em;font-weight:800}
.stock{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:14px}
.stock::before{content:"";width:8px;height:8px;border-radius:50%;background:#2E9E5B}
.qty{display:flex;align-items:center;background:var(--ground);border-radius:999px;height:52px}
.qty button{width:48px;height:52px;border:0;background:none;font-size:20px;cursor:pointer;font-weight:700}
.qty input{width:44px;border:0;background:none;text-align:center;font-weight:700;font-size:16px}
.buy-row{display:flex;gap:10px;flex-wrap:wrap}
.buy-row .btn{flex:1;min-height:52px}
.perks-mini{display:grid;gap:10px;border-top:1px solid var(--line);padding-top:18px;font-size:14px;color:var(--muted)}
.perks-mini div{display:flex;gap:10px;align-items:center}
.desc{background:var(--card);border-radius:32px;padding:44px;margin-top:14px}
.desc h2{font-size:26px;letter-spacing:-.03em;margin:28px 0 10px}
.desc h2:first-child{margin-top:0}
.desc p,.desc li{font-size:17px;line-height:1.65;color:#2A2D31;max-width:820px}
.specs{width:100%;max-width:820px;border-collapse:collapse;font-size:15px}
.specs th,.specs td{text-align:left;padding:12px 0;border-bottom:1px solid var(--line);vertical-align:top}
.specs th{width:40%;color:var(--muted);font-weight:600}
.note{background:var(--ground);border-radius:16px;padding:16px 18px;color:var(--muted);font-size:14px}

/* cart */
.cart-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:14px;padding-top:24px}
.cart-list{background:var(--card);border-radius:28px;padding:12px 24px}
.cart-item{display:grid;grid-template-columns:80px minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}
.cart-item:last-child{border-bottom:0}
.cart-item img{width:80px;height:80px;object-fit:contain;background:#fff;border-radius:14px;border:1px solid var(--line)}
.cart-item .qty{height:40px}.cart-item .qty button{height:40px;width:38px}
.rm{border:0;background:none;color:var(--muted);text-decoration:underline;cursor:pointer;font-size:13px;padding:6px 0}
.summary{background:var(--card);border-radius:28px;padding:28px;display:flex;flex-direction:column;gap:14px;align-self:start}
.summary .ln{display:flex;justify-content:space-between}
.bar{height:8px;background:var(--ground);border-radius:999px;overflow:hidden}.bar i{display:block;height:100%;background:var(--ink);border-radius:999px}
.empty{background:var(--card);border-radius:28px;padding:56px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:16px}

/* forms */
.form{display:grid;gap:14px}
.form label{font-weight:600;font-size:14px;display:grid;gap:6px}
.form input,.form textarea{border:1px solid var(--line);background:#fff;border-radius:16px;padding:14px 16px;font-size:16px;color:var(--ink)}
.form textarea{min-height:140px;resize:vertical}
.form .check{display:flex;gap:10px;align-items:flex-start;font-weight:500}
.form .check input{width:20px;height:20px;margin-top:2px;flex:none}
.form-msg{font-weight:700;min-height:1.2em}
.contact-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:14px;padding-top:24px}
.panel{background:var(--card);border-radius:28px;padding:36px;display:flex;flex-direction:column;gap:16px}
.panel.dark{background:var(--ink);color:#F3F3EF}
.panel.dark a{color:#F3F3EF}
.big-link{font-size:clamp(22px,2.4vw,30px);font-weight:800;letter-spacing:-.03em}

/* newsletter */
.news{background:var(--accent);border-radius:32px;padding:48px;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:32px}
.news > div{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:12px}
.news h2{margin:0;font-size:clamp(32px,4.4vw,60px);letter-spacing:-.05em;line-height:.95;font-weight:800}
.news p{margin:0;font-size:17px;color:#1F2326}
.news form{flex:1 1 380px;min-width:0;display:flex;flex-wrap:wrap;gap:8px}
.news input{flex:1 1 220px;min-width:0;height:56px;border-radius:999px;border:0;padding:0 22px;font-weight:500;font-size:16px;background:#fff;color:var(--ink)}
.news button{height:56px;border-radius:999px;border:0;padding:0 28px;background:var(--ink);color:#F3F3EF;font-weight:700;font-size:16px;cursor:pointer}
.news .form-msg{width:100%}

/* page head */
.page-head{padding-top:40px;display:flex;flex-direction:column;gap:12px}
.page-head h1{margin:0;font-size:clamp(40px,6vw,84px);line-height:.95;letter-spacing:-.055em;font-weight:800}

/* footer */
.site-footer{padding-top:96px;padding-bottom:40px}
.cols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;padding-bottom:32px;border-bottom:1px solid var(--line)}
.cols div{display:flex;flex-direction:column;gap:8px}
.cols .mono{font-size:11px;color:var(--muted)}
.bottom{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;padding-top:28px}
.wordmark{font-size:clamp(52px,11vw,160px);font-weight:800;letter-spacing:-.07em;line-height:.85}

/* search overlay & toast */
.search{position:fixed;inset:0;z-index:60;background:rgba(12,13,14,.55);display:none;align-items:flex-start;justify-content:center;padding:10vh 16px 16px}
.search.open{display:flex}
.search .box{background:var(--card);border-radius:28px;width:min(680px,100%);padding:18px;box-shadow:0 30px 80px -20px rgba(0,0,0,.5)}
.search input{width:100%;height:56px;border-radius:999px;border:0;background:var(--ground);padding:0 22px;font-size:18px;font-weight:600}
.search ul{list-style:none;margin:12px 0 0;padding:0;max-height:60vh;overflow:auto}
.search li a{display:flex;gap:14px;align-items:center;padding:10px;border-radius:16px}
.search li a:hover,.search li a:focus{background:var(--ground)}
.search li img{width:52px;height:52px;object-fit:contain;background:#fff;border-radius:12px;border:1px solid var(--line)}
.search .none{color:var(--muted);padding:14px}
.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,140%);background:var(--ink);color:#F3F3EF;padding:14px 20px;border-radius:999px;font-weight:600;z-index:70;transition:transform .3s ease;display:flex;gap:12px;align-items:center;max-width:calc(100% - 32px)}
.toast.show{transform:translate(-50%,0)}
.toast a{color:var(--accent);font-weight:700}
.demo-badge{position:fixed;right:14px;bottom:14px;z-index:50;font-size:11px;background:var(--ink);color:var(--accent);border-radius:999px;padding:8px 12px}

@media (max-width:1100px){
  .products,.products.five{grid-template-columns:repeat(3,minmax(0,1fr))}
  .perks{grid-template-columns:repeat(2,minmax(0,1fr))}
  .menu > li > a{padding:10px 12px}
}
@media (max-width:980px){
  .menu-toggle{display:flex}
  .menu{display:none;position:absolute;left:16px;right:16px;top:100%;flex-direction:column;border-radius:24px;padding:10px;box-shadow:0 24px 50px -20px rgba(12,13,14,.35);max-height:75vh;overflow:auto}
  .menu.open{display:flex}
  .menu > li > a{padding:12px 14px}
  .sub{display:block;position:static;box-shadow:none;padding:0 0 6px 10px;min-width:0}
  .sub::before{display:none}
  .menu .has-sub > a::after{display:none}
  .hero,.pp,.cart-layout,.contact-grid{grid-template-columns:1fr}
  .hero-main{grid-column:auto;padding:40px 28px;min-height:auto}
  .duo{grid-template-columns:1fr}
  .cols{grid-template-columns:repeat(2,minmax(0,1fr))}
  .buy{position:static}
}
@media (max-width:600px){
  .products,.products.five{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product .info b{font-size:14px}
  .perks{grid-template-columns:1fr}
  .tile,.news,.desc,.buy,.panel{padding:28px 22px}
  .tile.light .ph{width:60%;opacity:.35}
  .logo span.t{display:none}
  .cart-item{grid-template-columns:64px minmax(0,1fr)}
  .cart-item img{width:64px;height:64px}
  .cart-item .end{grid-column:2}
  .cols{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.lift,.product .img img,.toast{transition:none}}
