:root {
  color-scheme: light;
  --page: #f5f6f8;
  --surface: #fff;
  --surface-soft: #f0f3f5;
  --ink: #182429;
  --muted: #687771;
  --subtle: #89948e;
  --line: #dde3e5;
  --green: #2d4c7b;
  --green-dark: #2d4c7b;
  --green-deep: #253a33;
  --green-hover: #203b62;
  --green-soft: #e9edf4;
  --sans: Arial, Helvetica, sans-serif;
  --mono: 'SFMono-Regular', Consolas, monospace;
}

.dark {
  color-scheme: dark;
  --page: #13171b;
  --surface: #1d2329;
  --surface-soft: #222c35;
  --ink: #edf4f0;
  --muted: #aab5bc;
  --subtle: #8998a2;
  --line: #364149;
  --green: #8eadd5;
  --green-dark: #8eadd5;
  --green-deep: #edf4f0;
  --green-hover: #608fbe;
  --green-soft: #273646;
}

* { box-sizing: border-box; scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.site-header { position: sticky; z-index: 5; top: 0; height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 34px; border-bottom: 1px solid var(--line); background: var(--surface); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-art { display: block; width: 164px; height: 95px; overflow: hidden; }
.brand-logo { display: block; width: 164px; height: 95px; }
.logo-dark { display: none; }
.dark .logo-light { display: none; }
.dark .logo-dark { display: block; }
.site-header nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 12px; font-weight: 650; }
.site-header nav a:hover, .footer-top:hover, .footer-github:hover, .footer-dockerhub:hover { color: var(--green-dark); }
.header-github, .header-dockerhub { color: var(--muted); font-size: 12px; font-weight: 650; white-space: nowrap; }
.header-github span, .header-dockerhub span { margin-left: 2px; }
.site-header nav .icon-link { display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.icon-link svg { display: block; width: 22px; height: 22px; fill: currentColor; }
.header-dockerhub svg { width: 27px; }
.header-link { display: inline-flex; align-items: center; gap: 11px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--green-deep); }
.theme-toggle { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--green-deep); transition: border-color .16s, background .16s, color .16s; }
.theme-toggle:hover { border-color: var(--green); background: var(--green-soft); color: var(--green-dark); }
.theme-icon { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.icon-sun, .dark .icon-moon { display: none; }
.dark .icon-sun { display: block; }

.page-shell { width: 100%; }
.portal-layout { display: grid; grid-template-columns: 246px minmax(0, 1fr); min-height: calc(100vh - 104px); }
.product-sidebar { position: sticky; top: 104px; align-self: start; min-height: calc(100vh - 104px); padding: 26px 14px; border-right: 1px solid var(--line); background: var(--surface); }
.sidebar-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 2px 23px; padding: 4px; border-radius: 9px; background: var(--surface-soft); }
.sidebar-tabs a { padding: 8px 6px; border-radius: 6px; color: var(--muted); text-align: center; font-size: 12px; font-weight: 650; }
.sidebar-tabs a.active, .sidebar-tabs a:hover { background: var(--surface); color: var(--green); box-shadow: 0 1px 3px #14201d20; }
.sidebar-label { margin: 25px 9px 10px; color: var(--subtle); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; }
.support-label { margin-top: 34px; }
.product-nav { display: grid; gap: 2px; }
.product-menu { min-width: 0; }
.product-menu > summary { cursor: pointer; list-style: none; }
.product-menu > summary::-webkit-details-marker { display: none; }
.product-menu > summary::after { content: '›'; margin-left: auto; color: var(--subtle); font-size: 19px; line-height: 1; transition: transform .16s; }
.product-menu[open] > summary::after { transform: rotate(90deg); }
.product-nav-group { min-width: 0; }
.product-subnav { display: grid; gap: 2px; margin: 2px 0 8px 20px; padding-left: 12px; border-left: 1px solid var(--line); }
.product-subnav a { display: block; padding: 5px 10px; border-radius: 5px; color: var(--muted); font-size: 11px; }
.product-subnav a:hover, .product-subnav a.active { background: var(--green-soft); color: var(--green-dark); }
.product-subnav a.active { font-weight: 700; }
.has-docs-subnav { max-height: calc(100vh - 104px); overflow-y: auto; }
.documentation-subnav { display: grid; gap: 2px; margin: 3px 0 8px 9px; padding-left: 9px; border-left: 1px solid var(--line); }
.documentation-subnav a { padding: 6px 8px; font-size: 10px; line-height: 1.35; }
.documentation-subnav a.active { background: var(--green-soft); color: var(--green-dark); font-weight: 700; }
.doc-nav-heading { display: block; margin: 10px 8px 2px; color: var(--subtle); font-size: 9px; font-weight: 750; letter-spacing: 1.3px; }
.documentation-menu, .documentation-group { min-width: 0; }
.documentation-menu > summary, .documentation-group > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; list-style: none; cursor: pointer; border-radius: 5px; }
.documentation-menu > summary::-webkit-details-marker, .documentation-group > summary::-webkit-details-marker { display: none; }
.documentation-menu > summary { padding: 5px 10px; color: var(--muted); font-size: 11px; }
.documentation-group > summary { padding: 7px 8px; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .5px; }
.documentation-menu > summary::after, .documentation-group > summary::after { content: '›'; color: var(--subtle); font-size: 16px; line-height: 1; transition: transform .16s; }
.documentation-menu[open] > summary::after, .documentation-group[open] > summary::after { transform: rotate(90deg); }
.documentation-menu > summary:hover, .documentation-menu[open] > summary, .documentation-group > summary:hover, .documentation-group[open] > summary { background: var(--green-soft); color: var(--green-dark); }
.documentation-group-links { display: grid; gap: 2px; margin: 0 0 5px 7px; padding-left: 7px; border-left: 1px solid var(--line); }
.documentation-group-links a { padding: 5px 8px; }
.product-overview, .product-nav-link, .sidebar-support-link { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 42px; padding: 8px 10px; border-radius: 7px; color: var(--muted); font-size: 14px; transition: background .16s, color .16s; }
.product-overview:hover, .product-overview.active, .product-nav-link:hover, .product-nav-link.active { background: var(--green-soft); color: var(--green-dark); }
.product-overview.active, .product-nav-link.active { font-weight: 650; }
.product-overview small { margin-left: auto; color: var(--subtle); font-size: 11px; }
.overview-icon { display: grid; flex: 0 0 22px; width: 22px; height: 22px; place-items: center; font-size: 18px; }
.product-mark { display: grid; flex: 0 0 22px; width: 22px; height: 22px; place-items: center; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--green-dark); font-size: 10px; font-weight: 750; }
.glossa-mark { overflow: hidden; border: 0; background: transparent; }
.glossa-mark img { display: block; width: 100%; height: 100%; border-radius: 5px; object-fit: cover; }
.sidebar-support-link:hover { background: var(--green-soft); color: var(--green-dark); }
.sidebar-support-link.active { background: var(--green-soft); color: var(--green-dark); font-weight: 650; }
.help-mark { display: grid; flex: 0 0 22px; width: 22px; height: 22px; place-items: center; border: 1px solid var(--line); border-radius: 5px; color: var(--green-dark); font-size: 12px; font-weight: 700; }
.portal-content { width: min(100%, 1440px); min-width: 0; margin: 0 auto; padding: 46px 44px 72px; }
.welcome { padding: 0 0 34px; }
.welcome-copy { margin-bottom: 28px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 16px; color: var(--subtle); font-size: 10px; font-weight: 750; letter-spacing: 1.45px; }
h1, h2, h3, p { margin-top: 0; }
.welcome h1 { margin: 0 0 9px; color: var(--ink); font-size: clamp(34px, 3.3vw, 42px); font-weight: 700; letter-spacing: -1.8px; line-height: 1.13; }
.welcome-intro { max-width: 780px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.form-card { min-width: 0; padding: clamp(24px, 4vw, 38px); border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.form-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.form-heading .eyebrow { margin-bottom: 5px; }
.form-heading h2, .ticket-success h2 { margin: 0; color: var(--green-deep); font-size: 23px; font-weight: 650; letter-spacing: -.65px; }
.required-note, .optional { color: var(--subtle); font-size: 10px; font-weight: 500; }
.form-card form > label, .form-row label { display: grid; gap: 7px; margin-bottom: 15px; color: var(--green-deep); font-size: 12px; font-weight: 650; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.optional { margin-left: 4px; }
.form-card input, .form-card select, .form-card textarea { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 6px; padding: 11px 12px; background: var(--surface); color: var(--ink); font: 13px var(--sans); outline: none; transition: border-color .16s, box-shadow .16s; }
.form-card input::placeholder, .form-card textarea::placeholder { color: var(--subtle); }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent); }
.form-card textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
.privacy-note { display: flex; gap: 8px; margin: 3px 0 18px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.privacy-note span { flex: 0 0 auto; color: var(--green); }
.form-submit { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.form-submit #form-message { margin: 0; color: #a23c3c; font-size: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid var(--green-dark); border-radius: 6px; padding: 11px 15px; background: var(--green-dark); color: #fff; font-size: 12px; font-weight: 700; transition: background .16s, transform .16s; }
.button:hover { transform: translateY(-1px); background: var(--green-hover); }
.dark .button { border-color: #345a86; background: #345a86; color: #fff; }
.dark .button:hover { background: #426da0; }
.button:disabled { cursor: wait; opacity: .65; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.ticket-success { padding: 40px 8px; text-align: center; }
.ticket-success[hidden] { display: none; }
.ticket-success .eyebrow { justify-content: center; margin: 0 0 9px; }
.success-icon { display: grid; width: 48px; height: 48px; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); font-size: 23px; }
.ticket-success h2 { margin-bottom: 10px; }
.ticket-success > p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.7; }
.ticket-success strong { color: var(--green-dark); font: 700 13px var(--mono); }
.text-link { border: 0; padding: 0; background: transparent; color: var(--green-dark); font-size: 12px; font-weight: 700; }
.text-link:hover { color: var(--green-deep); }

.help-section { padding: 32px 0 80px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 24px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2 { margin: 0; color: var(--green-deep); font-size: 27px; font-weight: 650; letter-spacing: -.9px; }
.section-heading > p { max-width: 410px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.help-card { min-height: 154px; padding: 20px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.help-index { display: inline-block; margin-bottom: 16px; color: var(--green); font: 11px var(--mono); }
.help-card h3 { margin: 0 0 7px; color: var(--green-deep); font-size: 13px; letter-spacing: -.15px; }
.help-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.privacy-details { margin-top: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.privacy-details summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 17px; color: var(--green-deep); font-size: 12px; font-weight: 650; cursor: pointer; list-style: none; }
.privacy-details summary::-webkit-details-marker { display: none; }
.privacy-details summary span { color: var(--green); font-size: 17px; font-weight: 400; transition: transform .15s; }
.privacy-details[open] summary span { transform: rotate(45deg); }
.privacy-details > p { max-width: 760px; margin: 0; padding: 0 17px 16px; color: var(--muted); font-size: 11px; line-height: 1.7; }

.company-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); align-items: center; gap: clamp(22px, 4vw, 60px); min-height: 510px; overflow: hidden; padding: clamp(34px, 5vw, 68px); border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(120deg, var(--surface) 7%, var(--green-soft) 100%); }
.company-hero-copy { position: relative; z-index: 1; }.company-hero-copy .eyebrow { color: var(--green-dark); }
.company-hero h1 { max-width: 740px; margin: 0 0 22px; color: var(--ink); font-size: clamp(42px, 5vw, 66px); font-weight: 750; letter-spacing: -3.3px; line-height: 1.04; }
.company-hero-copy > p:not(.eyebrow) { max-width: 660px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.company-visual { position: relative; min-height: 330px; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 18px; }
.company-visual-orbit { position: absolute; inset: 4% 10%; border: 1px solid color-mix(in srgb, var(--green) 35%, transparent); border-radius: 50%; transform: rotate(-25deg); }.orbit-two { inset: 20% 2%; transform: rotate(28deg); }
.company-visual-card { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; width: min(100%, 300px); min-height: 86px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 16px 35px #142b3a20; }
.company-visual-card > span { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 10px; background: var(--green-dark); color: #fff; font-size: 21px; font-weight: 800; }.company-visual-card strong, .company-visual-card small { display: block; }.company-visual-card strong { color: var(--ink); font-size: 15px; }.company-visual-card small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.visual-nivorra { margin-left: auto; transform: rotate(4deg); }.visual-glossa { transform: rotate(-5deg); }.visual-glossa > span { overflow: hidden; background: transparent; }.visual-glossa > span img { display: block; width: 100%; height: 100%; border-radius: 10px; object-fit: cover; }
.home-products { padding: 65px 0; }.home-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }.home-product-card { display: flex; flex-direction: column; min-height: 300px; padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }.home-product-mark { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 28px; border-radius: 10px; background: var(--green-dark); color: #fff; font-size: 20px; font-weight: 800; }.glossa-home-mark { overflow: hidden; background: transparent; }.glossa-home-mark img { display: block; width: 100%; height: 100%; border-radius: 10px; object-fit: cover; }.home-product-card .eyebrow { margin-bottom: 7px; }.home-product-card h3 { margin: 0 0 9px; color: var(--ink); font-size: 26px; letter-spacing: -.8px; }.home-product-card > p:not(.eyebrow) { max-width: 500px; margin: 0 0 25px; color: var(--muted); font-size: 13px; line-height: 1.7; }.home-product-card a { margin-top: auto; color: var(--green-dark); font-size: 12px; font-weight: 700; }.home-product-card a:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-support { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 32px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }.home-support .eyebrow { margin-bottom: 8px; }.home-support h2 { margin: 0 0 7px; color: var(--ink); font-size: 27px; letter-spacing: -.8px; }.home-support p:not(.eyebrow) { max-width: 620px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }.home-support .button { flex: 0 0 auto; }

.product-content, .docs-content { padding-top: 30px; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; color: var(--subtle); font-size: 11px; }
.breadcrumbs a:hover { color: var(--green-dark); }
.breadcrumbs [aria-current="page"] { color: var(--green-deep); font-weight: 700; }
.product-hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(24px, 4vw, 64px); min-height: 420px; overflow: hidden; padding: clamp(30px, 5vw, 64px); border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(125deg, var(--surface) 5%, var(--green-soft) 100%); }
.product-hero-copy { position: relative; z-index: 1; }
.glossa-hero-logo { display: block; width: 76px; height: 76px; margin-bottom: 20px; border-radius: 18px; box-shadow: 0 8px 25px #07110c22; }
.product-hero-copy .eyebrow { color: var(--green-dark); }
.product-hero h1 { max-width: 650px; margin: 0 0 20px; color: var(--ink); font-size: clamp(36px, 4.2vw, 58px); font-weight: 750; letter-spacing: -2.6px; line-height: 1.04; }
.product-hero-copy > p:not(.eyebrow) { max-width: 520px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.secondary-link { color: var(--green-dark); font-size: 12px; font-weight: 700; }
.secondary-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.catalogue-preview { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 20px 50px #0c274021; transform: rotate(-2deg); }
.preview-top { display: flex; align-items: center; gap: 8px; height: 43px; padding: 0 13px; border-bottom: 1px solid var(--line); color: var(--green-deep); font-size: 12px; }
.preview-symbol { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 6px; background: var(--green-dark); color: #fff; font-size: 11px; font-weight: 800; }
.preview-dots { margin-left: auto; color: var(--subtle); letter-spacing: 2px; }
.preview-body { display: grid; grid-template-columns: 104px minmax(0, 1fr); min-height: 232px; }
.preview-rail { display: grid; align-content: start; gap: 8px; padding: 16px 9px; border-right: 1px solid var(--line); background: var(--surface-soft); }
.preview-rail-title { color: var(--subtle); font-size: 7px; font-weight: 800; letter-spacing: 1px; }
.preview-rail-item { padding: 5px 7px; border-radius: 4px; color: var(--muted); font-size: 9px; }
.preview-rail-item.selected { background: var(--green-soft); color: var(--green-dark); font-weight: 700; }
.preview-shelf { min-width: 0; padding: 17px; }
.preview-shelf-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 16px; color: var(--ink); font-size: 11px; }
.preview-shelf-head > span { max-width: 130px; overflow: hidden; padding: 5px 8px; border: 1px solid var(--line); border-radius: 5px; color: var(--subtle); font-size: 8px; white-space: nowrap; }
.preview-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.preview-card { display: grid; min-width: 0; padding: 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.preview-cover { display: block; height: 82px; margin-bottom: 8px; border-radius: 3px; }
.cover-one { background: linear-gradient(145deg, #5d708e, #26394e); }.cover-two { background: linear-gradient(145deg, #a58d74, #574d4a); }.cover-three { background: linear-gradient(145deg, #739da1, #364f66); }
.preview-card strong { overflow: hidden; color: var(--ink); font-size: 9px; text-overflow: ellipsis; }
.preview-card small { overflow: hidden; color: var(--subtle); font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.glossa-hero { background: linear-gradient(125deg, var(--surface) 5%, color-mix(in srgb, #7d6ebc 16%, var(--surface)) 100%); }
.product-real-shot, .admin-shot { min-width: 0; margin: 0; }
.product-real-shot a, .admin-shot a { display: block; overflow: hidden; border: 1px solid #303943; border-radius: 10px; background: #101114; box-shadow: 0 20px 50px #0c274021; }
.product-real-shot a { transform: rotate(-2deg); }
.product-real-shot img, .admin-shot img { display: block; width: 100%; height: auto; }
.product-real-shot figcaption, .admin-shot figcaption { margin-top: 13px; color: var(--muted); font-size: 10px; text-align: right; }
.glossa-admin-section { padding: 0 0 64px; }
.admin-shot { max-width: 1100px; }
.product-section { padding: 64px 0; }
.section-intro { max-width: 680px; margin-bottom: 25px; }.section-intro .eyebrow { margin-bottom: 8px; }.section-intro h2, .product-next h2 { margin: 0 0 10px; color: var(--ink); font-size: clamp(25px, 2.5vw, 34px); letter-spacing: -1.1px; line-height: 1.15; }.section-intro > p:not(.eyebrow), .product-next p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.feature-card { padding: 20px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }.feature-icon { display: grid; width: 32px; height: 32px; place-items: center; margin-bottom: 19px; border-radius: 7px; background: var(--green-soft); color: var(--green-dark); font-size: 17px; }.feature-card h3 { margin: 0 0 9px; color: var(--ink); font-size: 14px; }.feature-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.product-next { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }.product-next .eyebrow { margin-bottom: 8px; }.product-next .button { flex: 0 0 auto; }
.product-next p a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }

.docs-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(140px, 190px); justify-content: space-between; gap: 44px; }
.glossa-docs-layout { grid-template-columns: minmax(0, 860px); justify-content: center; }
.docs-article .eyebrow { color: var(--green-dark); }.docs-article h1 { margin: 0 0 14px; color: var(--ink); font-size: clamp(36px, 4vw, 48px); letter-spacing: -1.8px; line-height: 1.1; }.docs-guide-version { display: inline-block; margin: -4px 0 14px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .35px; }.docs-lead { color: var(--muted); font-size: 16px; line-height: 1.7; }.docs-callout { margin: 28px 0 40px; padding: 17px 20px; border-left: 3px solid var(--green); border-radius: 0 7px 7px 0; background: var(--green-soft); }.docs-callout strong { color: var(--green-deep); font-size: 13px; }.docs-callout p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.docs-article section { padding: 21px 0 25px; border-top: 1px solid var(--line); }.docs-article h2 { margin: 0 0 13px; color: var(--ink); font-size: 24px; letter-spacing: -.65px; }.docs-article section p, .docs-article li { color: var(--muted); font-size: 13px; line-height: 1.8; }.docs-article section p:last-child { margin-bottom: 0; }.docs-feature-list { margin: 0; padding-left: 20px; }.docs-feature-list li { padding-left: 3px; margin-bottom: 7px; }.docs-article code { padding: 2px 5px; border-radius: 4px; background: var(--surface-soft); color: var(--green-deep); font: 11px var(--mono); }.docs-article pre { overflow-x: auto; margin: 20px 0; padding: 16px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }.docs-article pre code { padding: 0; background: transparent; color: var(--ink); font-size: 12px; }
.docs-article h3 { margin: 22px 0 8px; color: var(--ink); font-size: 17px; letter-spacing: -.25px; }
.docs-screenshot { margin: 20px 0 4px; }.docs-screenshot a { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #111316; }.docs-screenshot img { display: block; width: 100%; height: auto; }.docs-screenshot figcaption { margin-top: 8px; color: var(--subtle); font-size: 11px; }
.guide-hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 34px 0 42px; }
.guide-hub-card { display: flex; flex-direction: column; min-height: 275px; gap: 12px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .16s, transform .16s; }
.guide-hub-card:hover { border-color: var(--green); transform: translateY(-2px); }
.guide-hub-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 9px; background: var(--green-soft); color: var(--green-dark); font-size: 22px; }
.guide-hub-card .eyebrow { margin: 4px 0 -5px; }
.guide-hub-card strong { color: var(--ink); font-size: 18px; line-height: 1.25; }
.guide-hub-card > span:not(.guide-hub-icon):not(.eyebrow):not(.guide-hub-action) { color: var(--muted); font-size: 12px; line-height: 1.6; }
.guide-hub-action { margin-top: auto; color: var(--green-dark); font-size: 12px; font-weight: 700; }
.mobile-guide-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 310px); align-items: start; gap: 28px; }
.mobile-guide-row > div:first-child { min-width: 0; }
.mobile-shot-stack, .mobile-shot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 14px; }
.mobile-shot-stack { grid-template-columns: 1fr; }
.mobile-shot-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mobile-shot { min-width: 0; margin: 0 0 16px; }
.mobile-shot a { display: block; width: min(100%, 310px); margin-inline: auto; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #111316; box-shadow: 0 12px 30px rgba(0, 0, 0, .13); }
.mobile-shot img { display: block; width: 100%; height: auto; }
.mobile-shot figcaption { max-width: 310px; margin: 8px auto 0; color: var(--subtle); font-size: 11px; line-height: 1.5; }
.mobile-guide section > .mobile-shot-grid { margin: 21px 0 25px; }
.mobile-guide section > p { max-width: 760px; }
.docs-artwork-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }.docs-artwork-grid figure { margin: 0; }.docs-artwork-grid a { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #111316; }.docs-artwork-grid img { display: block; width: 100%; height: 180px; object-fit: cover; }.docs-artwork-grid img.portrait, .docs-artwork-grid.badge-artwork img { object-fit: contain; }.docs-artwork-grid figcaption { margin-top: 7px; color: var(--subtle); font-size: 11px; }
.docs-steps { margin: 0; padding-left: 23px; }.docs-steps li { margin-bottom: 9px; padding-left: 4px; }
.docs-toc { position: sticky; top: 132px; align-self: start; display: grid; gap: 2px; padding-left: 16px; border-left: 1px solid var(--line); }.docs-toc strong { margin-bottom: 9px; color: var(--subtle); font-size: 9px; letter-spacing: 1.2px; }.docs-toc a { padding: 6px 0; color: var(--muted); font-size: 11px; }.docs-toc a:hover { color: var(--green-dark); }
.docs-next { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 15px; padding: 22px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }.docs-next a { color: var(--green-dark); font-weight: 700; }.docs-next a:hover { text-decoration: underline; text-underline-offset: 3px; }
.privacy-shell { width: min(100%, 1180px); margin: 0 auto; padding: 42px 44px 72px; }
.privacy-article .privacy-updated { margin: 3px 0 34px; color: var(--subtle); font-size: 12px; }
.privacy-article section a { color: var(--green-dark); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.privacy-article section a:hover { color: var(--green-hover); }
.privacy-article section h3 { margin-top: 18px; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 34px; border-top: 1px solid var(--line); background: var(--surface); }
.site-footer .brand-art, .site-footer .brand-logo { width: 120px; height: 69px; }
.site-footer > span, .footer-top { color: var(--muted); font-size: 10px; }
.footer-platform-links { display: flex; align-items: center; gap: 16px; }
.footer-icon-link { display: inline-flex; width: 25px; height: 25px; align-items: center; justify-content: center; color: var(--muted); transition: color .16s, transform .16s; }
.footer-icon-link:hover { color: var(--green-dark); transform: translateY(-1px); }
.footer-icon-link svg { display: block; width: 23px; height: 23px; fill: currentColor; }
.footer-icon-link:nth-child(2) svg { width: 28px; }
.footer-icon-link:nth-child(3) svg { width: 22px; }
.footer-icon-link .play-blue { fill: #4285f4; }.footer-icon-link .play-green { fill: #34a853; }.footer-icon-link .play-red { fill: #ea4335; }.footer-icon-link .play-yellow { fill: #fbbc04; }
.footer-top { color: var(--green-dark); font-weight: 650; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
section[id], aside[id] { scroll-margin-top: 112px; }
@media (max-width: 800px) {
  .mobile-guide-row { grid-template-columns: 1fr; }
  .mobile-guide-row > .mobile-shot, .mobile-guide-row > .mobile-shot-stack { width: min(100%, 640px); margin-inline: auto; }
  .mobile-shot-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-layout { grid-template-columns: 1fr; }
  .product-sidebar { position: static; display: block; min-height: 0; padding: 12px 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .has-docs-subnav { max-height: none; overflow: visible; }
  .sidebar-tabs { max-width: 340px; margin: 0 0 12px; }
  .sidebar-label { margin: 12px 9px 8px; }
  .support-label { margin-top: 14px; }
  .product-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; }
  .product-nav-group { flex: 0 0 auto; }
  .product-subnav { display: grid; gap: 2px; margin: 2px 0 8px 20px; padding-left: 12px; border-left: 1px solid var(--line); }
  .documentation-subnav { display: grid; gap: 2px; margin: 3px 0 8px 9px; padding-left: 9px; border-left: 1px solid var(--line); }
  .doc-nav-heading { display: none; }
  .product-subnav a { white-space: normal; }
  .product-overview, .product-nav-link { width: 100%; }
  .portal-content { padding: 32px 24px 58px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 10px; }
  .product-hero { grid-template-columns: 1fr; }
  .catalogue-preview { max-width: 620px; transform: none; }
  .product-real-shot a { transform: none; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs-layout { grid-template-columns: 1fr; }
  .guide-hub-grid { grid-template-columns: 1fr; }
  .guide-hub-card { min-height: 0; }
  .docs-toc { position: static; grid-row: 1; display: flex; flex-wrap: wrap; gap: 5px 16px; padding: 0 0 14px; border-left: 0; border-bottom: 1px solid var(--line); }
  .docs-toc strong { flex-basis: 100%; margin-bottom: 0; }
  .company-hero { grid-template-columns: 1fr; min-height: 0; }
  .company-visual { min-height: 190px; flex-direction: row; align-items: center; }
  .company-visual-card { min-height: 80px; }
}
@media (max-width: 600px) {
  .site-header { height: 82px; padding: 0 16px; }
  .brand-art, .brand-logo { width: 125px; height: 72px; }
  .site-header nav { gap: 8px; }
  .header-link { padding: 8px 9px; font-size: 11px; }
  .product-sidebar { padding: 8px 12px; }
  .product-nav { grid-template-columns: 1fr; }
  .product-nav-link { min-height: 38px; padding: 6px 8px; font-size: 12px; }
  .product-subnav a { padding: 6px; font-size: 10px; }
  .portal-content { padding: 28px 18px 48px; }
  .welcome { padding-bottom: 26px; }
  .welcome-copy { margin-bottom: 22px; }
  .welcome h1 { font-size: 34px; letter-spacing: -1.4px; }
  .welcome-intro { font-size: 13px; }
  .form-card { padding: 21px 18px; }
  .form-heading { align-items: start; }
  .form-heading h2 { font-size: 21px; }
  .help-section { padding: 28px 0 54px; }
  .section-heading h2 { font-size: 24px; }
  .help-grid { grid-template-columns: 1fr; gap: 9px; }
  .help-card { min-height: 0; padding: 16px; }
  .help-index { margin-bottom: 9px; }
  .site-footer { flex-wrap: wrap; padding: 12px 18px; }
  .site-footer > span { order: 3; flex-basis: 100%; }
  .product-hero { padding: 25px 20px; }
  .product-hero h1 { font-size: 38px; letter-spacing: -1.6px; }
  .product-hero-copy > p:not(.eyebrow) { font-size: 13px; }
  .feature-grid { grid-template-columns: 1fr; }
  .product-section { padding: 45px 0; }
  .product-next { align-items: start; flex-direction: column; padding: 23px; }
  .docs-layout { gap: 24px; }
  .privacy-shell { padding: 28px 18px 48px; }
  .docs-next { align-items: start; flex-direction: column; }
  .company-hero { padding: 29px 21px; }
  .company-hero h1 { font-size: 40px; letter-spacing: -1.8px; }
  .company-hero-copy > p:not(.eyebrow) { font-size: 13px; }
  .company-visual { min-height: 185px; flex-direction: column; gap: 6px; padding: 0; }
  .company-visual-card { width: 78%; min-height: 64px; padding: 11px; }
  .company-visual-card > span { flex-basis: 32px; width: 32px; height: 32px; font-size: 16px; }
  .home-products { padding: 46px 0; }
  .home-product-grid { grid-template-columns: 1fr; }
  .home-product-card { min-height: 0; padding: 23px; }
  .home-support { align-items: start; flex-direction: column; padding: 23px; }
}
@media (max-width: 420px) {
  .site-header { gap: 8px; }
  .site-header .brand-art, .site-header .brand-logo { width: 100px; height: 58px; }
  .site-header nav { gap: 6px; }
  .header-github, .header-dockerhub { font-size: 10px; }
  .header-github span, .header-dockerhub span { display: none; }
  .header-link { width: 36px; height: 36px; justify-content: center; padding: 0; font-size: 0; }
  .header-link span { font-size: 16px; }
}

@media (max-width: 600px) {
  .company-home .site-header { min-height: 82px; height: auto; padding-block: 8px; }
  .company-home .site-header nav .icon-link,
  .company-home .site-header .header-link,
  .company-home .site-header .theme-toggle { min-width: 44px; min-height: 44px; }
  .company-home .site-header nav .icon-link { width: 44px; }
  .company-home .site-header .theme-toggle { width: 44px; height: 44px; }
  .company-home .site-header .header-link { height: 44px; }
  .company-home .product-overview,
  .company-home .product-nav-link,
  .company-home .sidebar-support-link { min-height: 44px; }
  .company-home .product-subnav a,
  .company-home .documentation-menu > summary,
  .company-home .documentation-group > summary,
  .company-home .documentation-group-links a { min-height: 44px; display: flex; align-items: center; }
  .company-home .product-subnav a,
  .company-home .documentation-group-links a { font-size: 12px; }
  .company-home .hero-actions { gap: 8px 16px; }
  .company-home .hero-actions .button,
  .company-home .hero-actions .secondary-link,
  .company-home .home-product-card > a,
  .company-home .home-support .button { min-height: 44px; display: inline-flex; align-items: center; }
  .company-home .footer-icon-link { width: 44px; height: 44px; }
  .company-home .footer-top { min-height: 44px; display: inline-flex; align-items: center; }
}

@media (max-width: 420px) {
  .company-home .site-header { gap: 5px; padding-inline: 10px; }
  .company-home .site-header .brand-art,
  .company-home .site-header .brand-logo { width: 76px; height: 44px; }
  .company-home .site-header nav { gap: 3px; }
}
