@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* =========================================================
   SCHOOL SITE PRO
   Clean ArcGIS / Desktop Application Style
   ========================================================= */

:root {
    --ink: #16222E;
    --ink-soft: #263746;
    --soft: #52606D;

    --line: #D8E0E4;
    --line-dark: #C5D0D6;

    --green: #2F6B4F;
    --green-dark: #24563F;
    --green-soft: #DCE8DF;

    --amber: #C1852F;
    --blue-soft: #E7EEF3;

    --aurora-green: rgba(47, 107, 79, .12);
    --aurora-blue: rgba(96, 139, 165, .10);
    --aurora-gold: rgba(193, 133, 47, .09);
    --glass: rgba(255, 255, 255, .72);
    --shadow-soft: 0 18px 45px rgba(24, 43, 58, .08);

    --mono: 'IBM Plex Mono', monospace;
    --sans: 'IBM Plex Sans', sans-serif;
    --head: 'Space Grotesk', sans-serif;

}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 8%, var(--aurora-green), transparent 30%),
        radial-gradient(circle at 88% 18%, var(--aurora-blue), transparent 28%),
        radial-gradient(circle at 70% 92%, var(--aurora-gold), transparent 30%),
        linear-gradient(135deg, #F4F7F9 0%, #EEF5F1 52%, #F8F4EA 100%);
    background-attachment: fixed;
    color: var(--ink);
    font: 16px/1.65 var(--sans);
    -webkit-font-smoothing: antialiased;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(47, 107, 79, .28);
    outline-offset: 3px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

h1,
h2,
h3 {
    font-family: var(--head);
    line-height: 1.15;
}


/* =========================================================
   TOP NAVIGATION
   ========================================================= */

.topbar {
    position: sticky;
    top: 0;
    z-index: 500;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.topbar-inner {
    width: min(1440px, calc(100% - 48px));
    min-height: 64px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 24px;
}


/* Brand */

.brand {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 0;
    border: 0;
    background: transparent;

    color: var(--ink);
    font: 700 18px var(--head);
    white-space: nowrap;
}

.brand img {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    object-fit: cover;
}

.brand small {
    margin-left: 2px;

    color: var(--soft);
    font: 11px var(--mono);
    font-weight: 400;
}


/* Desktop navigation */

nav {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-left: auto;
}

nav button {
    border: 0;
    border-radius: 6px;
    background: transparent;

    padding: 9px 13px;

    color: var(--soft);
    font-size: 13px;

    transition:
        background .18s ease,
        color .18s ease;
}

nav button:hover,
nav button.active {
    background: #EEF3F5;
    color: var(--ink);
}


/* =========================================================
   HEADER SEARCH
   ========================================================= */

.top-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}


/* Current inline search */

.header-search {
    position: relative;

    width: 290px;
    height: 40px;

    display: flex;
    align-items: center;

    border: 1px solid var(--line);
    border-radius: 7px;

    background: #F7F9FA;

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

.header-search:focus-within {
    background: #FFFFFF;
    border-color: #71907F;
    box-shadow: 0 0 0 3px rgba(47, 107, 79, .09);
}

.header-search-icon {
    width: 20px;
    margin-left: 11px;

    display: inline-flex;
    justify-content: center;

    color: #697982;
    font-size: 19px;
    line-height: 1;
}

.header-search input {
    flex: 1;
    min-width: 0;

    height: 100%;

    padding: 0 8px;

    border: 0;
    outline: 0;
    background: transparent;

    color: var(--ink);
    font-size: 13px;
}

.header-search input::placeholder {
    color: #87939B;
}

.header-search kbd {
    margin-right: 7px;

    padding: 3px 6px;

    border: 1px solid #D5DDE1;
    border-bottom-width: 2px;
    border-radius: 4px;

    background: #F2F5F6;

    color: #6D7B83;
    font: 10px var(--mono);
}


/* Inline search results */

.header-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;

    z-index: 1000;

    display: none;

    max-height: 430px;
    overflow-y: auto;

    padding: 6px;

    border: 1px solid var(--line);
    border-radius: 9px;

    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(16px);

    box-shadow:
        0 20px 50px rgba(24, 43, 58, .16),
        0 4px 12px rgba(24, 43, 58, .07);
}

.header-search-results.show {
    display: block;
}

.header-search-result {
    width: 100%;

    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;

    gap: 12px;

    padding: 10px 11px;

    border: 0;
    border-radius: 6px;

    background: transparent;

    text-align: left;
}

.header-search-result:hover {
    background: #F1F5F3;
}

.header-result-type {
    color: var(--green);
    font: 9px var(--mono);
    text-transform: uppercase;
    letter-spacing: .06em;
}

.header-result-content {
    min-width: 0;
}

.header-result-content strong {
    display: block;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
}

.header-result-content small {
    display: block;

    margin-top: 2px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: #7B8991;
    font-size: 11px;
}

.header-result-arrow {
    color: #789083;
    font-size: 15px;
}

.header-search-empty {
    padding: 18px;

    color: var(--soft);
    font-size: 12px;
}


/* =========================================================
   MOBILE MENU
   ========================================================= */

.menu-btn {
    display: none;

    border: 1px solid var(--line);
    border-radius: 6px;

    padding: 8px 11px;

    background: #F7F9FA;
    color: var(--soft);
}

.mobile-nav {
    display: none;

    padding: 8px 20px 14px;

    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(14px);
}

.mobile-nav button {
    width: 100%;

    display: block;

    padding: 10px;

    border: 0;
    border-bottom: 1px solid var(--line);

    background: transparent;

    color: var(--ink);

    text-align: left;
}


/* =========================================================
   APPLICATION LAYOUT
   ========================================================= */

.app {
    width: min(1440px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(190px, 220px) minmax(0, 1fr);

    min-height: 72vh;
    background: rgba(255, 255, 255, .08);
}

#appMain {
    min-width: 0;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

#sidebar {
    position: sticky;
    top: 64px;

    height: calc(100vh - 64px);

    overflow-y: auto;

    padding: 18px 10px 24px;

    border-right: 1px solid var(--line);

    background: rgba(255, 255, 255, .26);
    backdrop-filter: blur(8px);
}

.side-search {
    position: relative;
    margin: 0 0 14px;
}

.side-search-label {
    display: block;
    margin: 0 4px 6px;
    color: var(--green);
    font: 10px var(--mono);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.side-search-field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 8px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(255, 255, 255, .62);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.side-search-field:focus-within {
    border-color: #71907F;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(47, 107, 79, .08);
}

.side-search-field > span {
    color: var(--soft);
    font-size: 15px;
    line-height: 1;
}

.side-search-field input {
    width: 100%;
    min-width: 0;
    padding: 7px 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: 12px;
}

.side-search-field input::placeholder {
    color: #87939B;
}

.side-search-results {
    width: 100%;
    max-height: 320px;
}

.toolkit-side-search {
    margin-top: 16px;
}

.side-title {
    margin-bottom: 12px;

    color: var(--green);

    font: 10px var(--mono);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.side-group {
    margin-bottom: 8px;
    border: 1px solid rgba(13, 30, 38, 0.08);
    border-radius: 7px;
    padding: 6px 6px 4px;
    background: rgba(255,255,255,.22);
}

.side-section {
    margin: 0;
    padding: 5px 6px 6px;

    color: var(--ink);

    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.side-section::-webkit-details-marker {
    display: none;
}

.side-section::after {
    content: '▾';
    color: var(--soft);
    font-size: 9px;
    line-height: 1;
    transition: transform .18s ease;
}

.side-group:not([open]) > .side-section::after {
    content: '▸';
}

.side-links {
    display: grid;
    gap: 2px;
    margin-top: 2px;
}

.side-link {
    width: 100%;

    border: 1px solid transparent;
    border-radius: 5px;

    padding: 6px 8px;

    background: transparent;

    color: var(--soft);

    text-align: left;
    font-size: 12px;
    line-height: 1.35;

    transition:
        background .16s ease,
        border-color .16s ease,
        color .16s ease;
}

.side-link:hover,
.side-link.active {
    border-color: var(--line);
    background: rgba(255, 255, 255, .82);
    color: var(--ink);
}

.side-link.active {
    box-shadow: inset 3px 0 0 var(--green);
}

.side-note {
    margin-top: 24px;
    padding-top: 18px;

    border-top: 1px dashed var(--line);

    color: var(--soft);
    font-size: 12px;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.section {
    width: min(1100px, calc(100% - 64px));
    margin: 0 auto;

    padding: 68px 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 30px;
}

.section-head h2 {
    margin: 7px 0 0;

    font-size: 32px;
    letter-spacing: -.03em;
}

.section-head p {
    max-width: 48ch;

    margin: 0;

    color: var(--soft);
}


/* =========================================================
   GENERAL BUTTONS
   ========================================================= */

.primary,
.secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 17px;

    border-radius: 8px;

    font-weight: 500;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.primary {
    border: 1px solid var(--green-dark);
    background: linear-gradient(135deg, var(--green-dark), var(--ink));
    color: #FFFFFF;
}

.primary:hover {
    background: linear-gradient(135deg, #2D7655, var(--ink-soft));
    box-shadow: 0 10px 22px rgba(36, 86, 63, .18);
    transform: translateY(-2px);
}

.secondary {
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
}

.secondary:hover {
    border-color: var(--ink);
    background: #FFFFFF;
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}


/* =========================================================
   OVERVIEW PAGE
   ========================================================= */

.ss-overview {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(circle at 82% 8%, var(--aurora-blue), transparent 26%),
        radial-gradient(circle at 8% 42%, var(--aurora-green), transparent 28%),
        linear-gradient(135deg, #F4F7F9 0%, #EEF5F1 52%, #F8F4EA 100%);
}


/* =========================================================
   OVERVIEW HERO
   ========================================================= */

.ss-hero {
    position: relative;
    z-index: 1;

    width: min(1440px, calc(100% - 64px));

    min-height: 680px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);

    align-items: center;

    gap: clamp(48px, 6vw, 105px);

    padding: 88px 0 80px;
}

.ss-hero-copy {
    max-width: 600px;
}

.ss-badge {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    padding: 7px 11px;

    border: 1px solid rgba(47, 107, 79, .22);
    border-radius: 999px;

    background: rgba(255, 255, 255, .65);

    color: var(--green);

    font: 10px var(--mono);
    letter-spacing: .08em;
}

.ss-badge-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 0 4px rgba(47, 107, 79, .09);

    animation: ssPulse 2.2s ease-in-out infinite;
}

.ss-hero h1 {
    max-width: 720px;

    margin: 24px 0 25px;

    color: #182632;

    font-family: var(--head);

    font-size: clamp(48px, 5.5vw, 76px);
    font-weight: 700;

    line-height: 1.01;

    letter-spacing: -.055em;
}

.ss-hero h1 span {
    color: var(--green);
}

.ss-hero-description {
    max-width: 560px;

    margin: 0;

    color: #53636E;

    font-size: 18px;
    line-height: 1.7;
}

.ss-hero-actions {
    display: flex;
    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 32px;
}

.ss-primary-btn,
.ss-secondary-btn {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 16px;

    padding: 0 19px;

    border-radius: 7px;

    font: 500 14px var(--sans);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.ss-primary-btn {
    border: 1px solid var(--ink);
    background: var(--ink);
    color: #FFFFFF;
}

.ss-primary-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(22, 34, 46, .15);
}

.ss-primary-btn span {
    font-size: 17px;

    transition: transform .2s ease;
}

.ss-primary-btn:hover span {
    transform: translateX(4px);
}

.ss-secondary-btn {
    border: 1px solid var(--line);

    background: rgba(255, 255, 255, .55);

    color: var(--ink);
}

.ss-secondary-btn:hover {
    transform: translateY(-2px);

    border-color: var(--line-dark);

    background: #FFFFFF;
}


/* Hero metadata */

.ss-hero-meta {
    max-width: 600px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    margin-top: 43px;

    border-top: 1px solid rgba(216, 224, 228, .9);
    border-bottom: 1px solid rgba(216, 224, 228, .9);
}

.ss-hero-meta div {
    min-width: 0;

    padding: 18px 16px 18px 0;
}

.ss-hero-meta div + div {
    padding-left: 16px;

    border-left: 1px solid rgba(216, 224, 228, .75);
}

.ss-hero-meta strong {
    display: block;

    color: var(--ink);

    font: 600 12px var(--mono);
}

.ss-hero-meta span {
    display: block;

    margin-top: 4px;

    color: var(--soft);

    font: 9px var(--mono);
    letter-spacing: .04em;
    text-transform: uppercase;
}


/* =========================================================
   HERO APPLICATION PREVIEW
   ========================================================= */

.ss-hero-visual {
    position: relative;

    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;
}

.ss-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(45px);

    pointer-events: none;
}

.ss-glow-one {
    width: 310px;
    height: 310px;

    top: -35px;
    right: 0;

    background: rgba(47, 107, 79, .11);

    animation: ssFloat 6s ease-in-out infinite;
}

.ss-glow-two {
    width: 230px;
    height: 230px;

    bottom: -15px;
    left: 5px;

    background: rgba(193, 133, 47, .08);

    animation: ssFloat 7s ease-in-out infinite reverse;
}

.ss-app-window {
    position: relative;

    width: min(100%, 920px);

    border: 1px solid rgba(31, 50, 66, .18);
    border-radius: 16px;

    overflow: visible;

    background: #FFFFFF;

    box-shadow:
        0 30px 80px rgba(24, 43, 58, .18),
        0 8px 24px rgba(24, 43, 58, .08);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.ss-app-window::after {
    content: "";

    position: absolute;

    inset: 12px -12px -12px 12px;

    z-index: -1;

    border: 1px solid rgba(50, 76, 94, .08);
    border-radius: 18px;

    background: rgba(255, 255, 255, .55);
}

.ss-app-window:hover {
    transform: translateY(-5px);

    box-shadow:
        0 45px 100px rgba(22, 34, 46, .18),
        0 10px 30px rgba(22, 34, 46, .10);
}

.ss-window-top {
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 14px;

    border-radius: 15px 15px 0 0;

    background: #263746;
    color: #FFFFFF;
}

.ss-window-dots {
    width: 80px;

    display: flex;

    gap: 6px;
}

.ss-window-dots span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .5);
}

.ss-window-title {
    font-size: 12px;
    font-weight: 600;
}

.ss-window-build {
    width: 80px;

    color: rgba(255, 255, 255, .65);

    text-align: right;

    font: 11px var(--mono);
}

.ss-app-preview {
    position: relative;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #E9EEF2;
}

.ss-app-preview img {
    display: block;

    width: 100%;
    height: auto;

    max-width: 100%;

    object-fit: contain;
    object-position: center;
}

.ss-app-preview::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            120deg,
            rgba(255, 255, 255, .08),
            transparent 35%,
            rgba(255, 255, 255, .05)
        );
}


/* =========================================================
   APPLICATION TOUR
   ========================================================= */

.ss-tour-section {
    width: min(1250px, calc(100% - 64px));

    margin: 0 auto;

    padding: 78px 0 92px;
}

.ss-tour-heading {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, .6fr);

    align-items: end;

    gap: 42px;

    margin-bottom: 28px;
}

.ss-section-label {
    display: inline-block;

    color: var(--green);

    font: 10px var(--mono);
    letter-spacing: .1em;
}

.ss-tour-heading h2 {
    max-width: 700px;

    margin: 10px 0 0;

    font-size: clamp(30px, 3.5vw, 44px);
    letter-spacing: -.035em;
}

.ss-tour-heading > p {
    max-width: 46ch;

    margin: 0;

    color: var(--soft);

    line-height: 1.7;
}


/* =========================================================
   TOUR SLIDER
   ========================================================= */

.ss-tour {
    position: relative;

    width: 100%;
}

.ss-tour-stage {
    position: relative;

    display: grid;
    width: min(100%, 1000px);
    height: auto;
    min-height: 0;
    margin: 0 auto;

    overflow: hidden;

    padding: 14px;
    border: 1px solid rgba(216, 224, 228, .9);
    border-radius: 16px;

    background: linear-gradient(145deg, rgba(231, 238, 243, .92), rgba(255, 255, 255, .76));

    box-shadow:
        0 20px 48px rgba(22, 34, 46, .11);
}

.ss-tour-slide {
    position: relative;
    grid-area: 1 / 1;

    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px;

    opacity: 0;
    visibility: hidden;

    transform: translateX(45px) scale(.985);

    transition:
        opacity .65s ease,
        transform .75s cubic-bezier(.22, .61, .36, 1),
        visibility .65s ease;
}

.ss-tour-slide.active {
    opacity: 1;
    visibility: visible;

    transform: translateX(0) scale(1);
}

.ss-tour-image {
    position: relative;
    width: min(100%, 880px);
    max-width: 880px;
    aspect-ratio: 1.88;
    min-height: 0;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    border: 1px solid rgba(216, 224, 228, .9);
    border-radius: 11px;
    background: rgba(255, 255, 255, .72);
}

.ss-tour-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
    object-position: center;

    padding: 8px;
}

.ss-tour-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(135deg, rgba(255, 255, 255, .18), transparent 45%);
}


/* Tour caption */

.ss-tour-caption {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: flex-start;

    gap: 13px;
    min-width: 0;
    padding: 12px 14px;

    border-radius: 10px;
    background: rgba(22, 34, 46, .94);

    color: #FFFFFF;
}

.ss-tour-caption > span {
    padding-top: 5px;

    color: #D6E5DB;

    font: 11px var(--mono);
}

.ss-tour-caption strong {
    display: block;

    font: 600 clamp(20px, 2.4vw, 28px) var(--head);

    letter-spacing: -.025em;
}

.ss-tour-caption p {
    max-width: 680px;

    margin: 3px 0 0;

    color: rgba(255, 255, 255, .78);

    font-size: 12px;
    line-height: 1.45;
}


/* =========================================================
   TOUR CONTROLS
   ========================================================= */

.ss-tour-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 14px;
}

.ss-tour-arrow {
    width: 38px;
    height: 38px;

    border: 1px solid var(--line);
    border-radius: 50%;

    background: rgba(255, 255, 255, .65);

    color: var(--ink);

    font-size: 17px;

    transition:
        background .2s ease,
        transform .2s ease;
}

.ss-tour-arrow:hover {
    transform: translateY(-2px);

    background: #FFFFFF;
}

.ss-tour-progress {
    display: flex;
    align-items: center;

    gap: 7px;
}

.ss-tour-dot {
    width: 30px;
    height: 3px;

    padding: 0;

    border: 0;
    border-radius: 10px;

    background: #CBC7BA;

    transition:
        width .35s ease,
        background .35s ease;
}

.ss-tour-dot.active {
    width: 58px;

    background: var(--green);
}


/* =========================================================
   OVERVIEW CONTENT
   ========================================================= */

.ss-content-section {
    padding-top: 30px;
}

.ss-content-section .card {
    position: relative;

    overflow: hidden;

    transition:
        transform .25s ease,
        background .25s ease;
}

.ss-content-section .card::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--green);

    transition: width .3s ease;
}

.ss-content-section .card:hover {
    transform: translateY(-3px);
}

.ss-content-section .card:hover::after {
    width: 100%;
}

.ss-workflow-band {
    background: rgba(248, 250, 251, .82);
}


/* =========================================================
   DOCUMENTATION CARDS
   ========================================================= */

.card-grid {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));

    gap: 12px;

    overflow: visible;

    border: 0;
    border-radius: 8px;

    background: transparent;
}

.card {
    min-height: 190px;

    padding: 24px;

    border: 1px solid var(--line);
    border-radius: 7px;

    background: rgba(255, 255, 255, .76);
    box-shadow: 0 8px 24px rgba(24, 43, 58, .05);
    backdrop-filter: blur(8px);

    text-align: left;
}

.card:hover {
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow-soft);
}

.card-kicker,
.doc-section {
    color: var(--green);

    font: 10px var(--mono);

    text-transform: uppercase;
    letter-spacing: .05em;
}

.card h3 {
    margin: 12px 0 8px;

    font-size: 18px;
}

.card p {
    margin: 0 0 18px;

    color: var(--soft);

    font-size: 13px;
}

.release-notes-list {
    position: relative;
    display: grid;
    gap: 0;
    padding-left: 28px;
}

.release-notes-list::before {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 10px;
    width: 2px;
    background: var(--green);
}

.article .release-note {
    position: relative;
    padding: 28px 24px 30px;
    border: 1px solid var(--line);
    border-left: 0;
    background: rgba(255, 255, 255, .72);
}

.article .release-note::before {
    content: "";
    position: absolute;
    top: 31px;
    left: -24px;
    width: 10px;
    height: 10px;
    border: 3px solid var(--green);
    border-radius: 50%;
    background: #FFFFFF;
}

.release-note-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 24px;
}

.release-note-label {
    color: var(--green);
    font: 10px var(--mono);
    letter-spacing: .05em;
}

.release-note h2 {
    margin: 7px 0 0;
    font-size: 23px;
}

.release-note time {
    flex: 0 0 auto;
    color: var(--soft);
    font: 12px var(--mono);
}

.release-note-description {
    margin: 16px 0 0;
    color: var(--soft);
}

.release-note ul {
    margin: 16px 0 0;
    padding-left: 20px;
}

.release-note li + li {
    margin-top: 8px;
}

.release-note-empty {
    margin: 16px 0 0;
    color: var(--soft);
    font-style: italic;
}

.arrow {
    color: var(--amber);

    font: 11px var(--mono);
}


/* =========================================================
   WORKFLOW
   ========================================================= */

.band {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    background: rgba(255, 255, 255, .32);
    backdrop-filter: blur(8px);
}

.steps {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.steps > div {
    padding: 24px;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);

    background: rgba(255, 255, 255, .68);
}

.steps b {
    color: var(--amber);

    font: 11px var(--mono);
}

.steps h3 {
    margin: 10px 0 6px;

    font-size: 16px;
}

.steps p {
    margin: 0;

    color: var(--soft);

    font-size: 13px;
}


/* =========================================================
   CALLOUT
   ========================================================= */

.callout {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 34px;

    border-radius: 9px;

    background: var(--ink);

    color: #FFFFFF;
}

.callout p {
    color: #C7CFD6;
}

.callout .eyebrow {
    color: #C7DCCC;
}


/* =========================================================
   DOCUMENTATION PAGE
   ========================================================= */

.page-head {
    width: min(1100px, calc(100% - 64px));

    margin: 0 auto;

    padding: 58px 0 36px;

    border-bottom: 1px solid var(--line);
}

.page-head h1 {
    margin: 10px 0 12px;

    font-size: 46px;
}

.page-head p {
    max-width: 65ch;

    color: var(--soft);
}

.docs-layout {
    padding-top: 36px;
}


/* Local documentation search */

.local-search {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 18px;

    padding: 11px 14px;

    border: 1px solid var(--line);
    border-radius: 10px;

    background: var(--glass);
    box-shadow: 0 8px 24px rgba(24, 43, 58, .04);
    backdrop-filter: blur(10px);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.local-search:focus-within {
    border-color: #71907F;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 0 0 4px rgba(47, 107, 79, .08), var(--shadow-soft);
}

.local-search input {
    width: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    font-size: 15px;
}


/* Documentation list */

.doc-list {
    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
}

.doc-results-note {
    padding: 13px 22px;
    border-bottom: 1px solid var(--line);
    background: #F4F7F8;
    color: var(--soft);
    font: 11px var(--mono);
}

.doc-results-note strong {
    color: var(--ink);
    font-weight: 600;
}

.doc-row {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 20px 22px;

    border: 0;
    border-bottom: 1px solid var(--line);

    background: rgba(255, 255, 255, .82);

    text-align: left;
}

.doc-row:last-child {
    border-bottom: 0;
}

.doc-row:hover {
    background: rgba(255, 255, 255, .98);
}

.doc-row h3 {
    margin: 5px 0;

    font-size: 17px;
}

.doc-row p {
    margin: 0;

    color: var(--soft);

    font-size: 13px;
}

.doc-row > span {
    flex-shrink: 0;

    color: var(--amber);

    font: 16px var(--mono);
}


/* =========================================================
   ARTICLE
   ========================================================= */

.article-wrap {
    width: min(900px, calc(100% - 64px));

    margin: 0 auto;

    padding: 42px 0 80px;
}

.breadcrumbs {
    display: flex;

    gap: 9px;

    margin-bottom: 30px;

    color: var(--soft);

    font: 12px var(--mono);
}

.breadcrumbs button {
    padding: 0;

    border: 0;

    background: transparent;

    color: var(--green);
}

.article {
    padding: 46px;

    border: 1px solid var(--line);
    border-radius: 14px;

    background: rgba(255, 255, 255, .86);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
}

.article h1 {
    margin: 10px 0 12px;

    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--ink);
}

.article-lead {
    padding-bottom: 28px;

    border-bottom: 1px solid var(--line);

    color: var(--ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
}

.article-image {
    width: min(100%, 820px);
    max-width: 820px;
    margin: 28px auto 34px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(231, 238, 243, .9), rgba(255, 255, 255, .8));
    box-shadow: 0 12px 30px rgba(24, 43, 58, .09);
}

.article-image img {
    width: 100%;
    height: auto;
    max-height: 440px;
    display: block;
    object-fit: contain;
    border: 0;
    border-radius: 7px;
    background: var(--blue-soft);
}

.article-image figcaption {
    margin: 9px 2px 1px;
    color: var(--soft);
    font-size: 12px;
}

.article section {
    padding: 22px 0;

    border-bottom: 1px solid var(--line);
}

.article section:last-of-type {
    border-bottom: 0;
}

.article h2 {
    margin: 0 0 8px;

    font-size: 22px;
    font-weight: 800;
}

.article section p {
    margin: 0;
    line-height: 1.8;
    color: #354654;
}

.article section strong {
    font-weight: 700;
    color: var(--ink);
}

.article section p + p,
.article section p + ul,
.article section p + ol,
.article section p + table,
.article section p + figure,
.article section ul + p,
.article section ol + p,
.article section figure + p {
    margin-top: 18px;
}

.article section a {
    color: var(--green);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.article section ul,
.article section ol {
    margin: 0;
    padding-left: 22px;
    color: #354654;
}

.article section ul ul,
.article section ul ol,
.article section ol ul,
.article section ol ol {
    margin-top: 8px;
}

.article section li + li {
    margin-top: 8px;
}

.article section table {
    width: 100%;
    margin-top: 18px;
    border-collapse: collapse;
    border: 1px solid var(--line-dark);
    background: #fff;
    table-layout: fixed;
}

.article section th,
.article section td {
    padding: 10px 12px;
    border: 1px solid var(--line-dark);
    vertical-align: top;
    text-align: left;
    color: #354654;
}

.article section th {
    background: #F3F7F9;
    font-weight: 600;
    color: var(--ink);
}

.article section td:first-child {
    width: 84px;
    min-width: 84px;
    text-align: center;
    vertical-align: middle;
    font-size: 28px;
    line-height: 1;
    color: #2f4557;
}

.article section figure + p,
.article section p + figure,
.article section ul + p,
.article section p + ul,
.article section ol + p,
.article section p + ol,
.article section table + p,
.article section p + table {
    margin-top: 18px;
}

.article-nav {
    display: flex;

    gap: 10px;

    margin-top: 30px;
}


/* =========================================================
   TOOLKIT
   ========================================================= */
.tool-results {
    min-width: 0;
}

.tool-card-content {
    min-width: 0;
}

.tool-category {
    display: inline-block;
    margin-bottom: 6px;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--green);
}

.tool-layout {
    display: block;
}

.count {
    margin-bottom: 12px;

    color: var(--soft);

    font: 11px var(--mono);
}

.tool-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;

    overflow: visible;
}

.tool-results {
    width: 100%;
}

.tool-card {
    display: grid;

    grid-template-columns: 42px minmax(0, 1fr) 15px;

    gap: 13px;

    min-height: 150px;
    padding: 22px;

    border: 1px solid var(--line);
    border-radius: 8px;

    background: rgba(255, 255, 255, .78);
    box-shadow: 0 6px 20px rgba(24, 43, 58, .04);
    backdrop-filter: blur(8px);

    text-align: left;
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.tool-card:hover {
    border-color: var(--line-dark);
    background: #FFFFFF;
    box-shadow: 0 8px 22px rgba(24, 43, 58, .08);
    transform: translateY(-2px);
}

.tool-card img {
    width: 42px;
    height: 42px;

    object-fit: contain;
}

.tool-card span {
    color: var(--green);

    font: 10px var(--mono);
}

.tool-card h3 {
    margin: 5px 0;

    overflow-wrap: anywhere;
    font-size: 15px;
}

.tool-card p {
    margin: 0;

    overflow-wrap: anywhere;
    color: var(--soft);

    font-size: 12px;
    line-height: 1.45;
}

.tool-card > b {
    color: var(--amber);
}


/* =========================================================
   MODAL
   ========================================================= */

.modal {
    position: fixed;
    inset: 0;

    z-index: 1000;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    padding: 80px 20px;

    background: rgba(22, 34, 46, .60);
}

.modal-box {
    position: relative;

    width: 100%;
    max-width: 560px;

    max-height: calc(100vh - 120px);
    overflow-y: auto;

    padding: 34px;

    border: 1px solid var(--line);
    border-radius: 9px;

    background: #FFFFFF;
}

.modal-box h2 {
    margin: 10px 0;

    font-size: 28px;
}

.modal-box p {
    color: var(--soft);
}

.tool-details {
    margin-top: 24px;
}

.tool-details h3,
.tool-details h4 {
    margin: 24px 0 8px;
}

.tool-details h3 {
    font-size: 20px;
}

.tool-details h4 {
    color: var(--ink-soft);
    font-size: 15px;
}

.tool-details ul,
.tool-details ol {
    margin: 12px 0;
    padding-left: 22px;
    color: var(--soft);
}

.tool-details li + li {
    margin-top: 7px;
}

.tool-details .article-image {
    margin: 22px 0 4px;
}

.tool-details .article-image img {
    width: 100%;
}

.modal-x {
    position: absolute;

    top: 12px;
    right: 14px;

    border: 0;

    background: transparent;

    color: var(--soft);

    font-size: 24px;
}

.modal-foot {
    margin-top: 20px;

    padding-top: 14px;

    border-top: 1px dashed var(--line);

    color: var(--soft);

    font: 11px var(--mono);
}


/* =========================================================
   DOWNLOAD
   ========================================================= */

.download-page {
    width: min(1100px, calc(100% - 64px));

    margin: 0 auto;

    display: grid;

    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);

    align-items: start;

    gap: 48px;

    padding: 42px 0 70px;
}

.download-copy {
    min-width: 0;

    padding-top: 8px;
}

.download-copy h1 {
    max-width: 12ch;

    margin: 12px 0 20px;

    font-size: 48px;
    line-height: 1.08;
}

.download-copy > p {
    color: var(--soft);

    font-size: 17px;
}

.download-copy h2 {
    margin-top: 42px;

    font-size: 24px;
}

.news {
    padding-left: 20px;

    color: var(--soft);
}

.news li {
    margin: 8px 0;
}

.install {
    grid-template-columns: repeat(2, 1fr);
}

.download-card {
    position: sticky;
    top: 90px;

    width: 100%;

    align-self: start;

    padding: 28px;

    border: 1px solid var(--line);
    border-radius: 9px;

    background: #FFFFFF;
}

.download-card .version {
    font: 600 32px var(--head);
}

.download-card p {
    color: var(--soft);

    font-size: 13px;
}

.wide {
    width: 100%;

    margin: 15px 0 20px;
}

.download-card dl {
    width: 100%;

    display: grid;

    grid-template-columns: 120px minmax(0, 1fr);

    margin: 0;
    padding: 0;

    border-top: 1px solid var(--line);
}

.download-card dt,
.download-card dd {
    min-width: 0;

    margin: 0;
    padding: 10px 0;

    border-bottom: 1px solid var(--line);
}

.download-card dt {
    grid-column: 1;

    color: var(--soft);

    font-size: 13px;
}

.download-card dd {
    grid-column: 2;

    overflow-wrap: anywhere;

    color: var(--ink);

    text-align: right;

    font: 12px var(--mono);
}

.download-card small {
    display: block;

    margin-top: 15px;

    color: var(--soft);

    font-size: 11px;
}


/* =========================================================
   SEARCH COMMAND PALETTE
   Ctrl + K
   ========================================================= */

.overlay {
    position: fixed;
    inset: 0;

    z-index: 5000;

    display: none;

    padding: 12vh 20px 30px;

    background: rgba(20, 31, 40, .42);

    backdrop-filter: blur(5px);
}

.overlay.open {
    display: flex;

    justify-content: center;
}

.search-dialog {
    width: min(680px, calc(100vw - 32px));

    max-height: 70vh;

    overflow: hidden;

    border: 1px solid rgba(40, 60, 73, .18);
    border-radius: 14px;

    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(16px);

    box-shadow:
        0 30px 80px rgba(17, 31, 40, .28);
}

.search-head {
    display: flex;

    gap: 10px;

    padding: 12px;

    border-bottom: 1px solid var(--line);
}

.search-dialog-input {
    flex: 1;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 0 12px;

    border: 1px solid var(--line);
    border-radius: 8px;

    background: #F7F9FA;
}

.search-dialog-input span {
    color: #6E7E87;
}

.search-dialog-input input {
    width: 100%;
    height: 42px;

    border: 0;
    outline: 0;

    background: transparent;

    font-size: 14px;
}

.search-close,
.search-head > button {
    width: 48px;

    border: 1px solid var(--line);
    border-radius: 8px;

    background: rgba(255, 255, 255, .72);

    color: #697982;

    font-size: 10px;
    font-weight: 700;
}

.search-result {
    width: 100%;

    display: grid;

    grid-template-columns: max-content minmax(0, 1fr) max-content;

    gap: 10px;

    padding: 13px 16px;

    border: 0;
    border-bottom: 1px solid var(--line);

    background: transparent;

    text-align: left;
}

.search-result:hover {
    background: rgba(238, 245, 241, .72);
}

.search-result span,
.search-result small {
    color: var(--green);

    font: 10px var(--mono);
}

.empty {
    padding: 40px;

    color: var(--soft);

    text-align: center;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    border-top: 1px solid var(--line);

    background: rgba(255, 255, 255, .52);
    backdrop-filter: blur(12px);

    padding: 38px 0 25px;
}

.footer-inner {
    width: min(1100px, calc(100% - 64px));

    margin: 0 auto;

    display: flex;
    justify-content: space-between;

    gap: 30px;
}

.footer-inner p {
    max-width: 45ch;

    color: var(--soft);

    font-size: 13px;
}

.footer-links {
    display: flex;

    gap: 20px;
}

.footer-links button {
    border: 0;

    background: transparent;

    color: var(--soft);

    font-size: 13px;
}

.footer-links button:hover {
    color: var(--ink);
}

.footer-bottom {
    width: min(1100px, calc(100% - 64px));

    margin: 25px auto 0;

    padding-top: 15px;

    border-top: 1px solid var(--line);

    color: var(--soft);

    font: 10px var(--mono);
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes ssPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(.72);
        opacity: .55;
    }
}

@keyframes ssFloat {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -12px, 0);
    }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .ss-hero {
        grid-template-columns: 1fr;

        width: min(920px, calc(100% - 48px));

        gap: 50px;

        padding-top: 70px;
    }

    .ss-hero-copy {
        max-width: 800px;
    }

    .ss-hero-visual {
        width: 100%;
        max-width: 900px;

        margin: 0 auto;
    }

    .ss-tour-heading {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .header-search {
        width: 240px;
    }
}


/* =========================================================
   TABLET / SIDEBAR COLLAPSE
   ========================================================= */

@media (max-width: 980px) {

    #desktopNav {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .header-search {
        width: min(190px, 34vw);
    }

    .topbar-inner {
        gap: 12px;
    }

    #sidebar {
        display: none;
    }

    .app {
        display: block;
    }

    .section,
    .page-head,
    .article-wrap,
    .download-page {
        width: min(100% - 56px, 1100px);
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-page {
        grid-template-columns: 1fr;
    }

    .download-card {
        position: static;
    }

    .tool-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ss-hero-visual,
    .ss-app-window,
    .ss-tour-section,
    .ss-tour,
    .ss-tour-stage {
        max-width: 100%;
    }

    .ss-hero-visual {
        padding-right: 20px;
        padding-left: 20px;
    }

    .ss-tour-image img {
        max-width: 100%;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .topbar-inner {
        width: calc(100% - 28px);

        min-height: 58px;
    }

    .brand {
        font-size: 16px;
    }

    .brand img {
        width: 28px;
        height: 28px;
    }

    .brand small {
        display: none;
    }

    .header-search {
        width: 42px;
        height: 40px;
    }

    .header-search input,
    .header-search kbd {
        display: none;
    }

    .header-search-icon {
        margin: auto;
    }

    .mobile-nav.open {
        display: block;
    }


    /* Overview */

    .ss-hero {
        width: calc(100% - 32px);

        min-height: auto;

        padding: 55px 0 70px;

        gap: 42px;
    }

    .ss-hero h1 {
        font-size: 45px;
    }

    .ss-hero-description {
        font-size: 16px;
    }

    .ss-hero-meta {
        grid-template-columns: repeat(2, 1fr);

        margin-top: 32px;
    }

    .ss-hero-meta div {
        padding: 14px 10px 14px 0;
    }

    .ss-hero-meta div + div {
        padding-left: 10px;
    }

    .ss-hero-meta div:nth-child(3) {
        border-left: 0;

        padding-left: 0;
    }

    .ss-hero-visual {
        padding: 15px 0;
    }

    .ss-app-window {
        border-radius: 11px;
    }

    .ss-window-top {
        height: 36px;

        border-radius: 10px 10px 0 0;
    }

    .ss-window-title {
        font-size: 10px;
    }

    /* Tour */

    .ss-tour-section {
        width: calc(100% - 32px);

        padding: 56px 0 72px;
    }

    .ss-tour-heading h2 {
        font-size: 34px;
    }

    .ss-tour-stage {
        min-height: 0;

        padding: 10px;

        border-radius: 12px;
    }

    .ss-tour-image img {
        max-width: 100%;
    }

    .ss-tour-caption {
        left: auto;
        right: auto;
        bottom: auto;
        gap: 10px;
        padding: 10px 12px;
    }

    .ss-tour-caption strong {
        font-size: 22px;
    }

    .ss-tour-caption p {
        font-size: 12px;
    }


    /* General sections */

    .section,
    .page-head,
    .article-wrap,
    .download-page {
        width: calc(100% - 32px);
    }

    .section {
        padding: 52px 0;
    }

    .section-head {
        display: block;
    }

    .section-head p {
        margin-top: 12px;
    }

    .section-head h2 {
        font-size: 28px;
    }

    .card-grid,
    .tool-grid,
    .steps {
        grid-template-columns: 1fr;
    }


    /* Documentation */

    .page-head {
        padding: 45px 0 30px;
    }

    .page-head h1,
    .download-copy h1 {
        font-size: 38px;
    }

    .doc-row {
        padding: 17px;
    }

    .doc-row > span {
        display: none;
    }


    /* Article */

    .article {
        padding: 28px;
    }

    .article-image {
        margin-right: 0;
        margin-left: 0;
    }

    .article h1 {
        font-size: 34px;
    }

    .release-note-heading {
        display: block;
    }

    .release-note time {
        display: block;
        margin-top: 8px;
    }

    .article-nav {
        flex-direction: column;
    }


    /* Download */

    .download-page {
        padding: 40px 0 60px;
    }


    /* Footer */

    .footer-inner {
        width: calc(100% - 32px);

        display: block;
    }

    .footer-links {
        margin-top: 18px;

        flex-wrap: wrap;
    }

    .footer-bottom {
        width: calc(100% - 32px);
    }
}


/* =========================================================
   ACCESSIBILITY / REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .ss-badge-dot,
    .ss-glow-one,
    .ss-glow-two {
        animation: none;
    }

    .ss-tour-slide,
    .ss-tour-image img,
    .ss-app-window,
    .ss-primary-btn,
    .ss-secondary-btn {
        transition: none;
    }
}