.page-hero{position:relative;isolation:isolate;overflow:hidden;background:var(--bg);padding-top:calc(var(--header-h) + clamp(36px,3.4vw,68px));padding-bottom:clamp(48px,4.4vw,88px)}
.page-hero::before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:clamp(40px,3.2vw,64px) clamp(40px,3.2vw,64px);-webkit-mask-image:linear-gradient(90deg,#000,transparent 70%);mask-image:linear-gradient(90deg,#000,transparent 70%)}
.page-hero__img{position:absolute;right:0;top:0;bottom:0;width:55%;height:100%;object-fit:cover;object-position:75% 30%;z-index:-3}
.page-hero::after{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,var(--bg) 0%,var(--bg) 42%,rgba(10,15,22,.75) 58%,rgba(10,15,22,.2) 80%,rgba(10,15,22,.35) 100%),linear-gradient(0deg,var(--bg),transparent 30%)}
.crumbs{display:flex;align-items:center;gap:10px;flex-wrap:wrap;list-style:none;font-size:clamp(13px,.8vw,15px);color:var(--muted)}
.crumbs a{color:var(--muted);transition:color .2s}
.crumbs a:hover{color:var(--accent)}
.crumbs li + li::before{content:"/";margin-right:10px;color:var(--dim)}
.crumbs [aria-current]{color:#fff}
.page-hero__title{margin-top:clamp(18px,1.6vw,30px);max-width:16em;font-weight:800;letter-spacing:-.025em;line-height:1.05;font-size:clamp(34px,3.4vw,66px)}
.page-hero__title em{font-style:normal;color:var(--accent)}
.page-hero__lead{margin-top:clamp(14px,1.2vw,22px);max-width:34em;color:var(--muted);font-size:clamp(15px,1.05vw,20px);line-height:1.6}
.quick{display:flex;flex-wrap:wrap;gap:clamp(10px,.8vw,14px);margin-top:clamp(26px,2.2vw,42px)}
.quick .btn{height:clamp(54px,3.3vw,64px)}
.page-hero--docs{padding-bottom:clamp(56px,5vw,100px)}
.ph-docs{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(28px,4vw,80px);align-items:center}
.hero-stack{position:relative;height:clamp(300px,22vw,420px)}
.hero-stack .doc__sheet{position:absolute;width:clamp(170px,12vw,230px);box-shadow:0 30px 60px -20px rgba(0,0,0,.7)}
.hero-stack .doc__sheet:nth-child(1){left:6%;top:12%;transform:rotate(-9deg)}
.hero-stack .doc__sheet:nth-child(2){left:32%;top:2%;transform:rotate(2deg);z-index:2}
.hero-stack .doc__sheet:nth-child(3){left:58%;top:16%;transform:rotate(10deg)}
.hero-stack__seal{position:absolute;right:4%;bottom:2%;z-index:3;display:flex;align-items:center;gap:12px;padding:14px 18px;border-radius:var(--radius);background:var(--accent);color:var(--accent-ink);font-weight:800;box-shadow:0 18px 40px -12px rgba(255,194,26,.5)}
.hero-stack__seal svg{width:28px;height:28px}
.hero-stack__seal small{display:block;font-weight:600;font-size:13px;opacity:.75}
.hero-facts{display:flex;flex-wrap:wrap;gap:10px;margin-top:clamp(24px,2vw,38px)}
.hero-facts span{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;border:1px solid var(--line);font-weight:600;font-size:clamp(13px,.82vw,15px);color:#e3e8ef}
.hero-facts svg{width:16px;height:16px;color:var(--accent)}
.dlib{background:#f3f4f6;color:#0f1621;padding-block:clamp(48px,4.4vw,88px)}
.dlib__head{display:flex;justify-content:space-between;align-items:end;gap:20px 40px;flex-wrap:wrap;margin-bottom:clamp(24px,2.2vw,40px)}
.dlib__title{font-weight:800;letter-spacing:-.02em;font-size:clamp(26px,2.2vw,42px)}
.dlib .tabs{flex-wrap:wrap;border-radius:calc(var(--radius) + 10px)}
.dgrid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(16px,1.6vw,32px) clamp(14px,1.2vw,24px);list-style:none}
.dcard{display:flex;flex-direction:column;padding:clamp(14px,1vw,18px);background:#fff;border:1px solid #e2e5ea;border-radius:calc(var(--radius) + 4px);transition:transform .35s, box-shadow .35s, opacity .3s}
.dcard:hover{transform:translateY(-6px);box-shadow:0 26px 50px -24px rgba(15,22,33,.3)}
.dcard.is-hidden{display:none}
.dlib .tab[aria-pressed="true"]{background:#0f1621;color:#fff}
.dlib .tab[aria-pressed="true"] sup{color:var(--accent)}
.dcard .doc{cursor:zoom-in}
.dcard .doc__sheet{box-shadow:0 0 0 1px #edf0f3}
.dcard .doc:hover .doc__sheet{transform:none}
.dcard__cat{display:inline-flex;margin-top:14px;font-family:'JetBrains Mono',monospace;font-size:clamp(10.5px,.64vw,12px);letter-spacing:.1em;text-transform:uppercase;color:#b88600}
.dcard__name{margin-top:6px;font-weight:800;font-size:clamp(15px,.96vw,18px);line-height:1.3}
.dcard__meta{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:auto;padding-top:12px;font-size:clamp(12px,.74vw,13.5px);color:#6b7686}
.badge{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:999px;background:#e9f8f0;color:#1a9d5b;font-weight:700;font-size:12px;white-space:nowrap}
.badge::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.badge--grey{background:#f1f3f6;color:#6b7686}
.anat{background:#fff;color:#0f1621;padding-block:clamp(56px,5vw,100px)}
.anat__grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(28px,4vw,80px);align-items:center}
.anat__title{font-weight:800;letter-spacing:-.025em;line-height:1.06;font-size:clamp(28px,2.6vw,50px)}
.anat__sub{margin-top:12px;color:#4a5566;font-size:clamp(15px,1vw,18px);line-height:1.6}
.anat__list{list-style:none;margin-top:clamp(24px,2.2vw,40px);display:grid;gap:10px}
.anat__list li{display:grid;grid-template-columns:auto 1fr;gap:16px;padding:16px 18px;border-radius:var(--radius);border:1px solid #e2e5ea;cursor:default;transition:border-color .25s, background .25s}
.anat__list li.is-on,.anat__list li:hover{border-color:var(--accent);background:#fffbeb}
.anat__n{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#0f1621;color:var(--accent);font-family:'JetBrains Mono',monospace;font-size:14px}
.anat__list b{display:block;font-size:clamp(15px,1vw,18px)}
.anat__list p{margin-top:3px;color:#4a5566;font-size:clamp(13.5px,.86vw,15.5px);line-height:1.5}
.proto{display:flex;flex-direction:column;justify-content:space-between;position:relative;margin-inline:auto;width:min(100%,560px);aspect-ratio:1/1.3;background:#fff;border-radius:8px;box-shadow:0 0 0 1px #e2e5ea,0 40px 80px -36px rgba(15,22,33,.45);padding:7% 8%;font-size:clamp(9px,.62vw,12px);color:#3b4555}
.proto__zone{position:relative;border-radius:6px;padding:8px;transition:background .25s, box-shadow .25s}
.proto__zone + .proto__zone{margin-top:3%}
.proto__zone.is-on{background:#fffbeb;box-shadow:0 0 0 2px var(--accent)}
.proto__pin{position:absolute;right:-14px;top:-14px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#0f1621;color:var(--accent);font-family:'JetBrains Mono',monospace;font-size:12px;box-shadow:0 0 0 4px #fff}
.proto .h{height:12px;width:60%;margin:0 auto 10px;border-radius:3px;background:#0f1621}
.proto .l{height:6px;border-radius:3px;background:#e2e5ea;margin-bottom:7px}
.proto .l.s{width:60%}
.proto .l.m{width:80%}
.proto table{width:100%;border-collapse:collapse;font-family:'JetBrains Mono',monospace;font-size:1em}
.proto th,.proto td{border:1px solid #e2e5ea;padding:5px 6px;text-align:left}
.proto th{background:#f3f4f6;font-weight:500;color:#6b7686}
.proto td.ok{color:#1a9d5b;font-weight:500}
.proto__sign{display:flex;justify-content:space-between;align-items:flex-end}
.proto__stamp{width:70px;height:70px;border-radius:50%;border:2px solid rgba(31,111,209,.55);display:grid;place-items:center;transform:rotate(-12deg)}
.proto__stamp::after{content:"";width:46px;height:46px;border-radius:50%;border:1.5px dashed rgba(31,111,209,.45)}
.proto__sig{width:90px;height:26px;border-bottom:1.5px solid #9aa4b2;position:relative}
.proto__sig::before{content:"";position:absolute;left:8px;bottom:4px;width:70px;height:18px;border:2px solid #2a4fa0;border-color:#2a4fa0 transparent transparent transparent;border-radius:50%;transform:rotate(-8deg)}
.dcta{background:#f3f4f6;padding-bottom:clamp(56px,5vw,100px)}
.dcta__box{display:grid;grid-template-columns:auto 1fr auto;gap:clamp(18px,2vw,40px);align-items:center;padding:clamp(24px,2.2vw,44px);border-radius:calc(var(--radius) + 8px);background:var(--bg);color:#fff}
.dcta__icon{width:clamp(56px,3.6vw,68px);height:clamp(56px,3.6vw,68px);border-radius:var(--radius);display:grid;place-items:center;background:var(--accent);color:var(--accent-ink)}
.dcta__icon svg{width:52%;height:52%}
.dcta__title{font-weight:800;font-size:clamp(20px,1.5vw,28px)}
.dcta__text{margin-top:6px;color:var(--muted);font-size:clamp(14px,.92vw,17px);line-height:1.55}
.dcta__actions{display:flex;gap:12px;flex-wrap:wrap}
.gal{border:0;padding:0;background:transparent;width:100%;max-width:min(94vw,820px);color:#fff;overflow:visible}
.gal::backdrop{background:rgba(6,9,14,.88);backdrop-filter:blur(6px)}
.gal[open]{animation:reveal .3s ease}
.gal__sheet{background:#fff;color:#0f1621;border-radius:10px;aspect-ratio:1/1.32;max-height:78vh;margin-inline:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:8%}
.gal__sheet b{font-size:clamp(18px,1.4vw,24px)}
.gal__sheet span{color:#6b7686;max-width:24em}
.gal__bar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px}
.gal__info{font-weight:700}
.gal__info small{display:block;font-weight:500;color:var(--muted);margin-top:2px}
.gal__btns{display:flex;gap:8px}
.gal__btn{width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);color:#fff;cursor:pointer;display:grid;place-items:center;transition:.2s}
.gal__btn:hover{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.gal__btn svg{width:20px;height:20px}
@media (max-width:1600px){ .dgrid{grid-template-columns:repeat(5,minmax(0,1fr))} }
@media (max-width:1400px){ .dgrid{grid-template-columns:repeat(4,minmax(0,1fr))} }
@media (max-width:1100px){ .ph-docs,.anat__grid{grid-template-columns:1fr} .hero-stack{max-width:560px;width:100%} .dgrid{grid-template-columns:repeat(3,minmax(0,1fr))} .dcta__box{grid-template-columns:auto 1fr} .dcta__actions{grid-column:1/-1} }
@media (max-width:640px){ .hero-stack{height:260px} .hero-stack .doc__sheet{width:140px} .hero-stack__seal{padding:10px 14px;font-size:14px} .dgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px} .dcard{padding:10px} .dcard__meta{flex-direction:column;align-items:flex-start;gap:6px} .dlib .tabs{width:100%;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;border-radius:999px} .dcta__box{grid-template-columns:1fr} .dcta__actions .btn{width:100%} .proto{font-size:8px;padding:6% 7%} .proto__stamp{width:50px;height:50px}.proto__stamp::after{width:32px;height:32px} }
