@font-face{font-family:Manrope;src:url('/assets/manrope-lat.woff2') format('woff2');font-style:normal;font-weight:200 800;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Manrope;src:url('/assets/manrope-cyr.woff2') format('woff2');font-style:normal;font-weight:200 800;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}

:root {
  color-scheme: light;
  --paper: #f7f4ee;
  --panel: #fffcf6;
  --ink: #26231f;
  --muted: #665e55;
  --line: #dcd4c9;
  --accent: #a5432d;
  --accent-hover: #833220;
  --warm: #eee6db;
  --wrap: 1336px;
  font-family: Manrope, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; outline: none; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
button:not(:disabled) { cursor: pointer; }
img { display: block; width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(var(--wrap), calc(100% - 112px)); margin-inline: auto; }
.skip { position: fixed; z-index: 2; top: 12px; left: 12px; transform: translateY(-160%); background: var(--panel); padding: 10px; }
.skip:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: .065em; font-size: .88rem; white-space: nowrap; }
.brand-mark { background: var(--ink); color: var(--paper); width: 32px; height: 32px; display: grid; place-items: center; font: 1.25rem/1 Georgia, serif; }
.main-nav { display: flex; gap: clamp(22px, 4vw, 54px); }
.main-nav a, .text-link { text-decoration: none; font-size: .92rem; font-weight: 700; }
.main-nav a:hover, .text-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; border: 1px solid transparent; padding: 10px 19px; font-size: .93rem; font-weight: 750; text-decoration: none; transition: background-color .18s, color .18s, border-color .18s; }
.button:disabled { opacity: .6; }
.button-outline { border-color: var(--line); background: transparent; color: var(--ink); }
.button-outline:hover, .button-outline[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: var(--panel); }
.button-primary { background: var(--accent); color: white; }
.button-primary:hover { background: var(--accent-hover); }
.person-icon { position: relative; width: 15px; height: 16px; flex: 0 0 15px; }
.person-icon::before, .person-icon::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); border: 1.25px solid currentColor; }
.person-icon::before { top: 0; width: 6px; height: 6px; border-radius: 50%; }
.person-icon::after { bottom: 1px; width: 13px; height: 7px; border-radius: 8px 8px 1px 1px; }
.hero { display: grid; grid-template-columns: .84fr 1.16fr; margin-top: 34px; min-height: 498px; border: 1px solid var(--line); }
.hero-content { padding: clamp(35px, 4.3vw, 72px); display: flex; align-items: flex-start; flex-direction: column; justify-content: center; background: var(--panel); }
.eyebrow { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: .76rem; letter-spacing: .115em; text-transform: uppercase; line-height: 1.4; }
.accent-square { width: 8px; height: 8px; background: var(--accent); flex: 0 0 8px; }
.hero h1 { font-size: clamp(3.2rem, 6.8vw, 6.9rem); line-height: .91; letter-spacing: -.087em; font-weight: 800; margin: 25px 0 25px; }
.hero h1 em { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; color: var(--accent); letter-spacing: -.085em; }
.hero h1 em span { font-style: normal; }
.hero-description { max-width: 326px; color: var(--muted); font-size: 1.05rem; line-height: 1.65; margin-bottom: 28px; }
.hero .button { min-height: 51px; }
.hero-image { position: relative; min-width: 0; min-height: 100%; background: #9d806d; }
.hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.hero-image figcaption { position: absolute; bottom: 19px; right: 19px; min-width: 162px; background: var(--panel); padding: 14px 18px 16px; }
.hero-image .eyebrow { color: var(--muted); font-size: .68rem; margin-bottom: 5px; }
.hero-term { font-size: 1.48rem; font-weight: 800; letter-spacing: -.055em; }
.catalog, .process { scroll-margin-top: 24px; }
.catalog { margin: 68px 0 76px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
h2 { font-size: clamp(2.15rem, 4.15vw, 4rem); line-height: 1.04; letter-spacing: -.072em; font-weight: 800; overflow-wrap: anywhere; }
.section-heading p, .muted { color: var(--muted); line-height: 1.6; }
.section-heading p { max-width: 310px; padding-bottom: 2px; }
.catalog-grid, .grant-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.kit-card { min-width: 0; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; }
.kit-card img { aspect-ratio: 1.83; object-fit: cover; height: auto; background: var(--warm); }
.card-info { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.card-info .eyebrow, .cabinet .eyebrow, .dialog-header .eyebrow { color: var(--accent); }
.card-info h3 { font-size: clamp(1.28rem, 2.35vw, 2rem); letter-spacing: -.06em; line-height: 1.15; margin: 8px 0 10px; overflow-wrap: anywhere; }
.card-info p { flex: 1; line-height: 1.55; color: var(--muted); }
.card-action { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 21px; padding-top: 16px; border-top: 1px solid var(--line); }
.card-action span { color: var(--muted); font-size: .87rem; }
.card-action .button { min-height: 41px; padding: 7px 13px; }
.process { margin-bottom: 75px; background: var(--warm); padding: clamp(25px, 5vw, 64px); display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(20px, 6vw, 86px); }
.process h2 { margin-top: 18px; }
.steps { margin: 0; padding-left: 28px; }
.steps li { padding: 13px 0 14px 7px; border-bottom: 1px solid #d3c7b9; }
.steps li:first-child { padding-top: 0; }
.steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.steps li::marker { color: var(--accent); font-weight: 800; }
.steps h3 { font-size: 1.05rem; margin-bottom: 4px; }
.steps p { color: var(--muted); line-height: 1.5; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { min-height: 78px; font-size: .87rem; }
.footer-inner .brand { color: var(--ink); }
.demo-label { font-size: .83rem; }

.cabinet { padding-block: clamp(38px, 6vw, 82px); }
.cabinet-title { margin: 13px 0 10px; }
.cabinet-intro { margin-bottom: 35px; }
.empty-state { background: var(--panel); border: 1px solid var(--line); padding: clamp(26px, 5vw, 62px); }
.empty-state h3 { font-size: 1.55rem; letter-spacing: -.04em; margin-bottom: 7px; }
.empty-state .button { margin-top: 20px; }
.access-state { color: var(--muted); display: block; font-size: .91rem; margin-top: 6px; }
.grant-list-heading { font-size: 1.4rem; margin-bottom: 16px; }
.access-chip { display: inline-flex; align-self: flex-start; color: #32533f; background: #e5ede2; padding: 4px 9px; font-size: .86rem; font-weight: 750; }
.access-chip.expired { background: var(--warm); color: var(--muted); }
.workspace-header { margin: 24px 0 27px; }
.workspace-header .access-state { margin-top: 12px; }
.workspace-layout { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2.25fr); gap: 18px; align-items: start; }
.workspace-nav, .workspace-content { border: 1px solid var(--line); background: var(--panel); }
.workspace-nav { padding: 20px; }
.workspace-nav h3 { margin-bottom: 9px; }
.workspace-nav a { display: block; padding: 12px 10px; text-decoration: none; border-top: 1px solid var(--line); line-height: 1.45; }
.workspace-nav a[aria-current="page"], .workspace-nav a:hover { color: var(--accent); background: var(--paper); }
.workspace-nav a small { display: block; margin-top: 2px; color: var(--muted); font-size: .83rem; }
.workspace-content { padding: clamp(23px, 4vw, 49px); min-height: 260px; }
.workspace-content h3 { margin-bottom: 18px; font-size: clamp(1.45rem, 3vw, 2.15rem); letter-spacing: -.05em; line-height: 1.15; }
.document-section + .document-section { margin-top: 22px; }
.document-section h4 { margin: 0 0 5px; }
.check-summary { margin-bottom: 14px; }
.checklist { display: grid; margin: 0; padding: 0; list-style: none; }
.checklist li { border-top: 1px solid var(--line); }
.checklist label { display: flex; padding: 12px 0; gap: 12px; align-items: flex-start; line-height: 1.5; cursor: pointer; }
.checklist input { accent-color: var(--accent); width: 19px; height: 19px; margin: 2px 0 0; flex: 0 0 19px; }
.checklist input:checked + span { color: var(--muted); text-decoration: line-through; }

dialog { width: min(525px, calc(100% - 28px)); max-height: calc(100dvh - 28px); border: 1px solid var(--line); background: var(--panel); color: var(--ink); padding: clamp(21px, 4vw, 40px); }
dialog::backdrop { background: rgb(34 24 18 / .56); }
.dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 10px; }
.close { border: 1px solid var(--line); color: var(--ink); background: transparent; line-height: 1; width: 41px; height: 41px; font-size: 1.65rem; }
.close:hover { border-color: var(--ink); }
dialog h2 { font-size: clamp(2rem, 6vw, 3.3rem); margin-bottom: 12px; }
.included-materials { margin: 22px 0; padding: 0; list-style: none; }
.included-materials li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.included-materials li :last-child, .dialog-access span { color: var(--muted); font-size: .86rem; }
.dialog-access { display: grid; gap: 3px; background: var(--warm); padding: 13px; margin-bottom: 17px; }
dialog .button { width: 100%; }
.error { color: var(--accent-hover); margin-top: 12px; }

@media (max-width: 1080px) {
  .wrap { width: calc(100% - 64px); }
  .hero { min-height: 415px; }
  .card-info { padding: 16px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 66px; gap: 12px; }
  .main-nav { display: none; }
  .brand { font-size: .75rem; gap: 6px; }
  .brand-mark { width: 28px; height: 28px; }
  .account-link { padding-inline: 10px; min-height: 41px; font-size: .82rem; }
  .hero { grid-template-columns: 1fr; margin-top: 18px; }
  .hero-content { padding: 32px 25px; }
  .hero h1 { font-size: clamp(3rem, 12vw, 5.3rem); margin-block: 19px; }
  .hero-description { margin-bottom: 22px; }
  .hero-image { aspect-ratio: 1.56; min-height: 210px; }
  .hero-image figcaption { min-width: auto; right: 10px; bottom: 10px; padding: 9px 12px; }
  .hero-term { font-size: 1.21rem; }
  .catalog { margin-block: 45px; }
  .section-heading { display: grid; gap: 10px; margin-bottom: 18px; }
  .catalog-grid, .grant-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: 1fr; margin-bottom: 42px; }
  .process h2 br { display: none; }
  .workspace-layout { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; justify-content: space-between; padding-block: 16px; gap: 12px; }
  .footer-inner > span:nth-child(2) { display: none; }
}
@media (max-width: 535px) {
  .catalog-grid, .grant-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button { transition: none; }
}
