@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root{
  --navy:#0a1838;--navy-2:#0e2350;--blue:#2f4fe0;--violet:#5b3df5;--red:#e23a4a;--orange:#ff7a1a;
  --ink:#0f1830;--muted:#5a6684;--line:#e3e8f3;--bg:#f6f8fd;--card:#ffffff;
  --grad:linear-gradient(135deg,#2c56e0 0%,#4b3ff0 60%,#6a3df5 100%);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--ink);background:var(--bg);line-height:1.6}
a{color:var(--blue)}
img{max-width:100%;display:block}
.wrap{max-width:1160px;margin:0 auto;padding:0 20px}

/* header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(10,24,56,.92);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.08)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;height:68px}
.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-weight:800;letter-spacing:.02em;font-size:18px}
.brand img{height:38px;width:auto}
.brand span b{color:#8fa6ff;font-weight:800}
.nav{display:flex;align-items:center;gap:22px}
.nav a{color:#d6ddf5;text-decoration:none;font-size:15px;font-weight:500}
.nav a:hover{color:#fff}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;padding:12px 20px;font-weight:600;font-size:15px;text-decoration:none;border:0;cursor:pointer;font-family:inherit;transition:transform .15s,box-shadow .15s,background .15s}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--red);color:#fff;box-shadow:0 8px 20px rgba(226,58,74,.3)}
.btn-primary:hover{background:#cc2c3c}
.btn-ghost{background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.25)}
.btn-outline{background:#fff;color:var(--ink);border:1px solid var(--line)}
.nav .btn{padding:9px 16px;font-size:14px}
.menu-toggle{display:none;background:none;border:0;color:#fff;font-size:26px;cursor:pointer}

/* hero */
.hero{position:relative;overflow:hidden;color:#fff;background:radial-gradient(1200px 600px at 85% 20%,rgba(91,61,245,.45),transparent 60%),linear-gradient(180deg,#081430 0%,#0c2257 60%,#123a9c 100%)}
.hero .wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;padding-top:72px;padding-bottom:72px}
.eyebrow{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#ffb27a}
.hero h1{font-size:clamp(36px,5.2vw,60px);line-height:1.05;margin:14px 0 18px;font-weight:800;letter-spacing:-.02em}
.hero p.lead{font-size:18px;color:#c9d3f2;max-width:560px;margin:0 0 28px}
.hero-ctas{display:flex;gap:12px;flex-wrap:wrap}
.hero-art{position:relative;border-radius:28px;overflow:hidden;box-shadow:0 30px 80px rgba(0,0,0,.45);aspect-ratio:1/1}
.hero-art img{width:100%;height:100%;object-fit:cover}

.terms{background:#fff;border-radius:18px;box-shadow:0 20px 50px rgba(15,24,48,.12);margin-top:-44px;position:relative;z-index:2;padding:26px 28px}
.terms-title{font-size:12px;font-weight:700;letter-spacing:.14em;color:var(--muted);text-transform:uppercase;margin-bottom:14px}
.terms-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.terms-grid div{border-left:3px solid var(--blue);padding-left:14px}
.terms-grid dt{font-size:13px;color:var(--muted)}
.terms-grid dd{margin:2px 0 0;font-weight:700;font-size:16px}

.brands{padding:40px 0 10px;text-align:center}
.brands .label{font-size:12px;font-weight:700;letter-spacing:.14em;color:var(--muted);text-transform:uppercase}
.brands ul{list-style:none;padding:0;margin:14px 0 0;display:flex;justify-content:center;flex-wrap:wrap;gap:12px}
.brands li{background:#fff;border:1px solid var(--line);border-radius:999px;padding:10px 22px;font-weight:700;font-size:17px;color:var(--navy-2)}

section.block{padding:72px 0}
.section-head{max-width:720px;margin-bottom:34px}
.section-head .eyebrow{color:var(--blue)}
.section-head h2{font-size:clamp(28px,3.4vw,40px);line-height:1.15;margin:8px 0 10px;letter-spacing:-.01em}
.section-head p{color:var(--muted);margin:0;font-size:17px}

/* steps */
.steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,1fr);gap:18px;counter-reset:s}
.steps li{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;counter-increment:s;position:relative}
.steps li::before{content:counter(s);display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:var(--grad);color:#fff;font-weight:800;margin-bottom:14px}
.steps h3{margin:0 0 6px;font-size:18px}
.steps p{margin:0;color:var(--muted);font-size:15px}

/* catalog */
#catalog{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}
.filters button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 18px;font:600 14px Inter,sans-serif;cursor:pointer;color:var(--ink)}
.filters button.active{background:var(--navy-2);color:#fff;border-color:var(--navy-2)}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}
.product{border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;background:#fff}
.product .thumb{aspect-ratio:1/1;background:#eef2fb;display:grid;place-items:center;overflow:hidden}
.product .thumb img{width:100%;height:100%;object-fit:contain}
.product .thumb .ph{color:#9aa6c4;font-weight:700}
.product .body{padding:16px;display:flex;flex-direction:column;gap:6px;flex:1}
.product .brandtag{font-size:12px;font-weight:700;color:var(--blue);text-transform:uppercase;letter-spacing:.06em}
.product h3{margin:0;font-size:16px;line-height:1.35}
.product .sku{font-size:12px;color:var(--muted)}
.product .price{font-size:20px;font-weight:800;margin-top:auto}
.product .price small{font-size:13px;font-weight:500;color:var(--muted)}
.qty{display:flex;align-items:center;gap:8px;margin-top:8px}
.qty button{width:36px;height:36px;border-radius:9px;border:1px solid var(--line);background:#fff;font-size:18px;cursor:pointer}
.qty input{width:70px;height:36px;text-align:center;border:1px solid var(--line);border-radius:9px;font:600 15px Inter,sans-serif}
.qty .unit{font-size:13px;color:var(--muted)}
.catalog-note{grid-column:1/-1;padding:26px;border:1px dashed #c4cde4;border-radius:14px;color:var(--muted);text-align:center}

/* order */
.order-grid{display:grid;grid-template-columns:1.4fr .9fr;gap:28px;align-items:start}
form.card,.summary{background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px}
.fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.fields .full{grid-column:1/-1}
label{display:block;font-size:14px;font-weight:600;margin-bottom:6px}
input[type=text],input[type=email],input[type=tel],select,textarea{width:100%;border:1px solid #d5dcec;border-radius:10px;padding:11px 13px;font:15px Inter,sans-serif;background:#fbfcff;color:var(--ink)}
textarea{min-height:90px;resize:vertical}
input:focus,select:focus,textarea:focus{outline:2px solid rgba(47,79,224,.35);border-color:var(--blue)}
.pay{margin-top:22px}
.pay h4{margin:0 0 10px;font-size:15px}
.pay label.opt{display:flex;gap:12px;align-items:flex-start;border:1px solid var(--line);border-radius:12px;padding:14px;margin-bottom:10px;cursor:pointer;font-weight:400}
.pay label.opt b{display:block}
.pay label.opt span{color:var(--muted);font-size:14px}
.agree{display:flex;gap:10px;align-items:flex-start;margin:18px 0;font-size:14px;font-weight:400}
.summary{position:sticky;top:90px}
.summary h4{margin:0 0 12px;font-size:12px;letter-spacing:.14em;color:var(--muted);text-transform:uppercase}
.summary .lines{font-size:14px;margin-bottom:14px}
.summary .lines div{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid var(--line)}
.summary .empty{color:var(--muted);font-size:14px}
.summary .row{display:flex;justify-content:space-between;padding:6px 0;font-size:15px}
.summary .row.total{font-weight:800;font-size:18px}
.summary .btn{width:100%;margin-top:14px}
.summary .fine{font-size:13px;color:var(--muted);margin:10px 0 0}
.form-status{margin-top:12px;font-size:14px}
.form-status.ok{color:#127a3a}.form-status.err{color:#b3261e}

/* about */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}
.about-grid p{color:var(--muted);font-size:17px}
.features{display:grid;gap:14px}
.feature{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px 22px}
.feature h3{margin:0 0 4px;font-size:17px}
.feature p{margin:0;font-size:15px}

/* footer */
.site-footer{background:var(--navy);color:#c9d3f2;padding:52px 0 26px;font-size:15px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:28px}
.site-footer strong{color:#fff;display:block;margin-bottom:8px}
.site-footer a{color:#c9d3f2;text-decoration:none;display:block}
.site-footer a:hover{color:#fff}
.site-footer .brand{margin-bottom:10px}
.copy{border-top:1px solid rgba(255,255,255,.1);margin-top:34px;padding-top:18px;font-size:13px;color:#8d99bd}

/* legal pages */
.legal{max-width:820px;margin:0 auto;padding:56px 20px 72px}
.legal h1{font-size:38px;margin:0 0 6px}
.legal .updated{color:var(--muted);margin-bottom:28px}
.legal h2{font-size:20px;margin:30px 0 8px}
.legal p{color:#2b3654}

@media (max-width:940px){
  .hero .wrap{grid-template-columns:1fr}
  .hero-art{max-width:420px}
  .terms-grid,.steps{grid-template-columns:1fr 1fr}
  .order-grid,.about-grid{grid-template-columns:1fr}
  .summary{position:static}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  .nav{display:none;position:absolute;top:68px;left:0;right:0;background:var(--navy);flex-direction:column;align-items:flex-start;padding:18px 20px;gap:14px}
  .nav.open{display:flex}
  .menu-toggle{display:block}
}
@media (max-width:560px){
  .terms-grid,.steps,.fields,.footer-grid{grid-template-columns:1fr}
  .terms{padding:22px}
}

/* product card (matches original catalog layout) */
.product .thumb{background:#fff;border-bottom:1px solid var(--line)}
.product .body{padding:20px}
.tagrow{display:flex;justify-content:space-between;align-items:center;gap:8px}
.product .brandtag{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.12em;color:#5b3df5}
.catpill{background:#eef0fb;color:#3a4566;border-radius:999px;padding:4px 12px;font-size:13px}
.product h3{font-size:18px;margin-top:6px}
.product .sku{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.06em}
.product .price{font-size:26px;margin-top:10px}
.minorder{color:var(--muted);font-size:14px}
.qty{justify-content:space-between;margin-top:16px}
.qty .minus{width:44px;height:44px;border-radius:10px;border:1px solid var(--line);background:#fff;font-size:20px;color:#8a93ad;cursor:pointer}
.qty .count{font-weight:600;font-size:16px}
.qty .plus{height:44px;width:auto;padding:0 18px;border-radius:10px;border:0;background:var(--navy);color:#fff;font:700 16px Inter,sans-serif;cursor:pointer}
.qty .plus:hover{background:var(--blue)}
