.docs-hero { position: relative; overflow: hidden; background: var(--green-deep); color: #fff; }
.docs-hero-pattern { position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(90deg, transparent 49.85%, #fff 50%, transparent 50.15%), linear-gradient(0deg, transparent 49.85%, #fff 50%, transparent 50.15%); background-size: 74px 74px; mask-image: linear-gradient(90deg, transparent, #000 68%); }
.docs-hero-inner { position: relative; min-height: 620px; display: grid; grid-template-columns: minmax(0, 1fr) 440px; grid-template-rows: auto 1fr auto; gap: 24px 72px; padding-block: 30px 42px; }
.docs-breadcrumb { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; color: #d7e6dc; font-size: 12px; }
.docs-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.docs-breadcrumb a:hover { color: var(--yellow); }
.docs-breadcrumb .icon { width: 14px; height: 14px; }
.docs-hero-copy { align-self: center; max-width: 730px; }
.docs-eyebrow { display: block; margin-bottom: 15px; color: var(--green); font-size: 10px; line-height: 1.5; font-weight: 800; letter-spacing: 1.7px; text-transform: uppercase; }
.docs-hero .docs-eyebrow, .docs-contact .docs-eyebrow { color: var(--yellow); }
.docs-hero h1 { margin: 0 0 22px; font-size: clamp(43px, 5.5vw, 72px); line-height: 1.02; letter-spacing: -2.4px; }
.docs-hero-copy p { max-width: 680px; margin: 0; color: #d4e4d9; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.8; }
.docs-hero-button { margin-top: 30px; background: var(--yellow); color: var(--green-deep); }
.docs-hero-button:hover { background: #fff; color: var(--green-deep); }
.docs-hero-visual { position: relative; align-self: center; height: 390px; perspective: 1000px; }
.docs-sheet { position: absolute; display: flex; flex-direction: column; width: 275px; height: 365px; padding: 32px; box-shadow: 0 30px 65px #03160f66; }
.docs-sheet-back { right: 95px; top: 2px; transform: rotate(-10deg); background: #edf4ee; color: var(--green-deep); }
.docs-sheet-front { right: 25px; top: 14px; transform: rotate(6deg); background: var(--yellow); color: var(--green-deep); }
.docs-sheet b { margin-bottom: auto; font-size: 29px; line-height: 1.25; letter-spacing: -1px; }
.docs-sheet small { margin-bottom: 24px; font-size: 8px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; }
.docs-sheet i { display: block; width: 100%; height: 2px; margin-top: 12px; background: currentColor; opacity: .28; }
.docs-sheet i:nth-of-type(2) { width: 82%; }
.docs-sheet i:nth-of-type(3) { width: 58%; }
.docs-sheet em { margin-top: 28px; font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: 1.6px; }
.docs-hero-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #ffffff2e; }
.docs-hero-stats div { padding: 24px 26px 2px 0; border-right: 1px solid #ffffff2e; }
.docs-hero-stats div + div { padding-left: 26px; }
.docs-hero-stats div:last-child { border: 0; }
.docs-hero-stats strong { display: block; margin-bottom: 6px; color: var(--yellow); font-size: 29px; line-height: 1; }
.docs-hero-stats span { color: #cdded3; font-size: 10px; font-weight: 600; }
.docs-library { padding-block: 92px 104px; }
.docs-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 470px); gap: 48px; align-items: end; margin-bottom: 42px; }
.docs-section-heading h2, .docs-contact h2 { margin: 0; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.18; letter-spacing: -1px; }
.docs-section-heading > p { margin: 0; color: #52675b; font-size: 14px; line-height: 1.85; }
.docs-library { scroll-margin-top: 72px; background: var(--surface); }
.docs-library:focus { outline: none; }
.docs-filter-bar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 34px; }
.docs-filter-bar button { min-height: 45px; padding: 11px 16px; border: 1px solid #cbd8cd; background: #fff; color: var(--green-deep); font-size: 11px; font-weight: 700; cursor: pointer; }
.docs-filter-bar button span { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; margin-left: 8px; padding-inline: 6px; background: var(--surface); color: var(--green); font-size: 9px; }
.docs-filter-bar button:hover, .docs-filter-bar button[aria-pressed="true"] { border-color: var(--green-deep); background: var(--green-deep); color: #fff; }
.docs-filter-bar button[aria-pressed="true"] span { background: var(--yellow); color: var(--green-deep); }
.docs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.docs-grid[hidden], .docs-card[hidden] { display: none; }
.docs-card { position: relative; display: grid; grid-template-columns: 170px minmax(0, 1fr); min-height: 345px; background: #fff; border-bottom: 3px solid transparent; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.docs-card:hover { transform: translateY(-4px); border-bottom-color: var(--green); box-shadow: 0 18px 38px #103e2d14; }
.docs-card-featured { grid-column: 1 / -1; grid-template-columns: minmax(270px, .7fr) minmax(0, 1.3fr); min-height: 390px; }
.docs-cover { display: flex; flex-direction: column; min-height: 100%; padding: 26px 22px; background: var(--green-deep); color: #fff; }
.docs-card:nth-child(even) .docs-cover { background: var(--green); }
.docs-card-featured .docs-cover { padding: 36px; background: var(--yellow); color: var(--green-deep); }
.docs-cover-brand { font-size: 16px; font-weight: 800; }
.docs-cover-type { align-self: flex-start; margin-top: 38px; padding: 5px 7px; border: 1px solid currentColor; font-size: 8px; font-weight: 800; letter-spacing: 1px; }
.docs-cover strong { margin: auto 0 25px; font-size: 44px; line-height: 1; letter-spacing: -2px; }
.docs-cover i { display: block; width: 100%; height: 1px; margin-top: 8px; background: currentColor; opacity: .35; }
.docs-cover i:nth-of-type(2) { width: 75%; }
.docs-cover i:nth-of-type(3) { width: 50%; }
.docs-card-copy { display: flex; flex-direction: column; padding: 30px; }
.docs-card-featured .docs-card-copy { justify-content: center; padding: 48px; }
.docs-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; color: #6e8075; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; }
.docs-card-meta span { color: var(--green); }
.docs-card h3 { margin: 18px 0 15px; font-size: 18px; line-height: 1.45; }
.docs-card-featured h3 { max-width: 760px; font-size: clamp(23px, 2.2vw, 32px); line-height: 1.35; }
.docs-card h3 a::after { position: absolute; content: ""; inset: 0; }
.docs-card p { margin: 0 0 24px; color: #61746a; font-size: 12px; line-height: 1.85; }
.docs-card-link { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--green); font-size: 10px; font-weight: 800; }
.docs-card-link .icon { width: 16px; height: 16px; }
.docs-empty { padding: 72px 30px; border: 1px dashed #b8cabd; background: #fff; text-align: center; }
.docs-empty[hidden] { display: none; }
.docs-empty > span { color: var(--green); font-size: 9px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.docs-empty h3 { margin: 14px 0 12px; font-size: 27px; }
.docs-empty p { max-width: 580px; margin: 0 auto 24px; color: #65786d; line-height: 1.8; }
.docs-empty button { min-height: 44px; padding: 10px 18px; border: 0; background: var(--green-deep); color: #fff; font-size: 11px; font-weight: 700; cursor: pointer; }
.docs-contact { padding-block: 72px; background: var(--green); color: #fff; }
.docs-contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 64px; }
.docs-contact p { max-width: 790px; margin: 18px 0 0; color: #d4e4d9; font-size: 14px; line-height: 1.8; }
.docs-contact-button { background: var(--yellow); color: var(--green-deep); }
.docs-contact-button:hover { background: #fff; color: var(--green-deep); }
@media (max-width: 1050px) {
    .docs-hero-inner { grid-template-columns: minmax(0, 1fr) 330px; gap: 24px 40px; }
    .docs-sheet { width: 235px; height: 325px; }
    .docs-sheet-back { right: 70px; }
    .docs-sheet-front { right: 8px; }
    .docs-card { grid-template-columns: 145px minmax(0, 1fr); }
}
@media (max-width: 760px) {
    .docs-hero-inner { min-height: 700px; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 210px auto; gap: 12px; padding-block: 18px 28px; }
    .docs-breadcrumb { grid-column: 1; }
    .docs-hero-copy { align-self: end; padding-top: 28px; }
    .docs-hero h1 { letter-spacing: -1.5px; }
    .docs-hero-copy p { font-size: 14px; }
    .docs-hero-button { margin-top: 22px; }
    .docs-hero-visual { height: 205px; width: 270px; justify-self: center; transform: scale(.64); transform-origin: top center; }
    .docs-hero-stats { grid-column: 1; }
    .docs-hero-stats div { padding: 18px 10px 0 0; }
    .docs-hero-stats div + div { padding-left: 12px; }
    .docs-hero-stats strong { font-size: 23px; }
    .docs-hero-stats span { font-size: 8px; line-height: 1.4; }
    .docs-library { padding-block: 60px; }
    .docs-section-heading, .docs-contact-inner { grid-template-columns: minmax(0, 1fr); gap: 25px; }
    .docs-section-heading { margin-bottom: 32px; }
    .docs-filter-bar { flex-wrap: nowrap; margin-inline: -20px; padding-inline: 20px; overflow-x: auto; }
    .docs-filter-bar button { flex-shrink: 0; }
    .docs-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .docs-card, .docs-card-featured { grid-column: auto; grid-template-columns: 112px minmax(0, 1fr); min-height: 300px; }
    .docs-cover, .docs-card-featured .docs-cover { padding: 18px 14px; }
    .docs-cover-brand { font-size: 13px; }
    .docs-cover-type { margin-top: 25px; }
    .docs-cover strong { font-size: 31px; }
    .docs-card-copy, .docs-card-featured .docs-card-copy { justify-content: flex-start; padding: 22px 18px; }
    .docs-card h3, .docs-card-featured h3 { margin-block: 12px; font-size: 16px; line-height: 1.4; }
    .docs-card p { display: -webkit-box; margin-bottom: 16px; overflow: hidden; font-size: 10px; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
    .docs-card-meta { gap: 5px 10px; font-size: 8px; }
    .docs-card-link { font-size: 9px; }
    .docs-contact { padding-block: 54px; }
    .docs-contact-button { width: 100%; }
}
@media (max-width: 390px) {
    .docs-hero-inner { min-height: 730px; }
    .docs-card, .docs-card-featured { grid-template-columns: 94px minmax(0, 1fr); }
    .docs-cover, .docs-card-featured .docs-cover { padding-inline: 11px; }
    .docs-cover strong { font-size: 26px; }
    .docs-card-copy, .docs-card-featured .docs-card-copy { padding: 18px 14px; }
    .docs-card h3, .docs-card-featured h3 { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .docs-card:hover { transform: none; } }
