:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
  line-height: 1.6;
  --background: #f4f4f4;
  --card: #fff;
  --ink: #18201c;
  --muted: #65706a;
  --line: #d9e3dc;
  --green: #18563e;
  --on-green: #fff;
  --secondary: #e8efeb;
  --primary-hover: #10412d;
  --secondary-hover: #edf3ef;
  --hover-line: #b5c9bd;
  --strong-muted: #526158;
  --preview-background: #e8eeea;
  --preview-line: #d6dfd9;
  --preview-icon: #66756d;
  --preview-rule: #aabbb0;
  --soft-card: #e9efeb;
  --soft-icon: #f0f5f2;
  --soft-line: #dce7df;
  --status: #59816a;
  --selection: #cce6d8;
  --shadow: #18563e26;
  --header-mark: url("/brand/asd.png");
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #121714;
  --card: #1d2520;
  --ink: #e5eee8;
  --muted: #a4b4aa;
  --line: #43564a;
  --green: #a5eac7;
  --on-green: #103b29;
  --secondary: #2c3931;
  --primary-hover: #baf3d6;
  --secondary-hover: #29392f;
  --hover-line: #789a85;
  --strong-muted: #bdcfc3;
  --preview-background: #202d25;
  --preview-line: #43564a;
  --preview-icon: #a4b4aa;
  --preview-rule: #6e8978;
  --soft-card: #243229;
  --soft-icon: #29392f;
  --soft-line: #43564a;
  --status: #a5eac7;
  --selection: #385e49;
  --shadow: #0008;
  --header-mark: url("/brand/asd-dark.png");
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; }
img, svg { display: block; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; border-radius: 6px; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--ink); background: var(--selection); }
.wrap { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.site-header { min-height: 104px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 36px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-size: 1.5625rem; font-weight: 650; letter-spacing: -.8px; }
.brand-mark { flex: none; width: 48px; height: 48px; background: var(--header-mark) center / contain no-repeat; }
.site-navigation { display: flex; gap: 28px; margin-left: auto; }
.site-navigation a { padding-block: 12px; text-decoration: none; color: var(--muted); font-size: 0.875rem; }
.site-navigation a:hover, .text-link:hover, .site-footer > a[href^="mailto:"]:hover { color: var(--green); text-decoration: underline; }
.header-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.error-header .header-actions { margin-left: auto; }
.cabinet-menu { position: relative; }
.cabinet-menu > summary { list-style: none; gap: 10px; cursor: pointer; user-select: none; }
.cabinet-menu > summary::-webkit-details-marker { display: none; }
.cabinet-menu > summary .menu-chevron { width: 16px; height: 16px; }
.cabinet-menu[open] > summary .menu-chevron { transform: rotate(180deg); }
.cabinet-panel { position: absolute; z-index: 5; top: calc(100% + 10px); right: 0; width: min(280px, calc(100vw - 40px)); max-height: calc(100svh - 120px); overflow-y: auto; overscroll-behavior: contain; padding: 10px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: var(--card); box-shadow: 0 12px 36px var(--shadow); }
.cabinet-link { display: flex; align-items: center; min-height: 44px; padding: 9px 13px; border-radius: 9px; text-decoration: none; font-size: 0.875rem; line-height: 1.5; }
.cabinet-link:hover { color: var(--green); background: var(--secondary); }
.cabinet-link:focus-visible { outline-offset: -3px; }
.cabinet-module { font-weight: 600; }
.cabinet-group { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.theme-controls { margin: 12px 3px 3px; padding: 10px 0 0; border: 0; border-top: 1px solid var(--line); }
.theme-controls legend { padding: 0 8px 0 0; color: var(--muted); font-size: 0.75rem; }
.theme-options { display: flex; gap: 7px; }
.theme-options button { flex: 1; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--card); font: inherit; font-size: 0.8125rem; cursor: pointer; }
.theme-options button:hover { background: var(--secondary-hover); }
.theme-options button[aria-pressed="true"] { border-color: var(--green); color: var(--on-green); background: var(--green); }
.environment { color: var(--green); background: var(--secondary); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; font-size: 0.6875rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; }
.environment-lock { min-height: 44px; max-width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: transparent; font: inherit; font-size: 0.75rem; line-height: 1.5; cursor: pointer; }
.environment-lock:hover { background: var(--secondary); }
.environment-lock:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 12px 21px; border: 1px solid transparent; border-radius: 12px; text-decoration: none; font-size: 0.875rem; font-weight: 600; line-height: 1.5; text-align: center; }
.button-primary { color: var(--on-green); background: var(--green); }
.button-primary:hover { background: var(--primary-hover); }
.button-secondary { color: var(--ink); background: var(--card); border-color: var(--line); }
.button-secondary:hover { background: var(--secondary-hover); border-color: var(--hover-line); }
.button-small { min-height: 44px; padding: 9px 17px; }
.button > svg, .text-link > svg { flex: none; width: 19px; height: 19px; fill: currentColor; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 76px; padding-block: 90px 100px; }
.eyebrow { margin: 0 0 20px; color: var(--green); font-size: 0.6875rem; font-weight: 650; letter-spacing: .12em; line-height: 1.6; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2 { text-wrap: balance; }
h1 { margin: 0 0 23px; font-size: clamp(2.625rem, 5.4vw, 4.25rem); font-weight: 600; line-height: 1.11; letter-spacing: -.055em; }
.title-accent { color: var(--green); }
.lead { max-width: 450px; margin: 0 0 29px; color: var(--strong-muted); font-size: 1.0625rem; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.entry-note { margin: 16px 0 0; color: var(--muted); font-size: 0.75rem; line-height: 1.7; }
.project-status { display: flex; align-items: center; gap: 8px; margin-top: 31px; color: var(--muted); font-size: 0.6875rem; }
.status-dot { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--status); }
.workspace-preview { min-width: 0; margin: 0; padding: 8px; border: 1px solid var(--line); border-radius: 24px; background: var(--preview-background); box-shadow: 0 20px 48px -34px var(--shadow); }
.preview-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px; min-height: 76px; padding: 12px 15px 18px; }
.preview-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.preview-brand img { width: 36px; height: 36px; border-radius: 8px; }
.preview-brand strong { font-size: 1.125rem; font-weight: 600; letter-spacing: -.5px; }
.preview-context { color: var(--muted); font-size: 0.625rem; line-height: 1.5; text-align: right; }
.preview-body { padding: 22px; background: var(--background); border: 1px solid var(--preview-line); border-radius: 18px; }
.preview-heading { display: flex; align-items: center; gap: 9px; margin: 0 0 19px; color: var(--strong-muted); font-size: 0.75rem; font-weight: 550; }
.home-dot { width: 7px; height: 7px; border: 2px solid var(--green); border-radius: 2px; }
.preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.preview-tile { min-width: 0; display: flex; align-items: center; gap: 11px; min-height: 96px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.preview-tile svg { flex: none; width: 20px; height: 20px; fill: var(--preview-icon); }
.preview-tile > span { min-width: 0; overflow-wrap: anywhere; font-size: 0.6875rem; font-weight: 600; line-height: 1.6; }
.preview-tile small { display: block; margin-top: 2px; color: var(--muted); font-size: 0.5625rem; font-weight: 400; line-height: 1.6; }
.preview-footer { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 20px 0 0; color: var(--muted); font-size: 0.5625rem; }
.preview-line { width: 28px; height: 1px; background: var(--preview-rule); }
.tools { padding-block: 54px 72px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; margin-bottom: 32px; }
.section-heading .eyebrow { margin-bottom: 12px; }
h2 { margin: 0; font-size: clamp(1.65rem, 3.3vw, 2.25rem); font-weight: 550; line-height: 1.25; letter-spacing: -.04em; }
.section-heading > p { max-width: 320px; margin: 0 0 3px; color: var(--muted); font-size: 0.875rem; line-height: 1.75; }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: 16px; }
.tool-card { padding: 25px 24px 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.tool-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--soft-line); border-radius: 12px; background: var(--soft-icon); }
.tool-icon svg { width: 22px; height: 22px; fill: var(--green); }
h3 { margin: 19px 0 8px; font-size: 1rem; font-weight: 600; line-height: 1.4; letter-spacing: -.35px; }
.tool-card p { margin: 0; color: var(--muted); font-size: 0.75rem; line-height: 1.8; }
.about { display: grid; grid-template-columns: 1.15fr 1fr; gap: 94px; align-items: center; padding-block: 63px 80px; border-top: 1px solid var(--line); }
.about-copy > p:not(.eyebrow) { max-width: 450px; margin: 21px 0; color: var(--muted); font-size: 0.875rem; line-height: 1.85; }
.text-link { display: inline-flex; align-items: center; gap: 20px; padding-block: 7px; color: var(--green); font-size: 0.875rem; font-weight: 600; text-decoration: none; }

.getting-started { padding: 28px 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--soft-card); }
.start-mark { display: block; margin-bottom: 16px; }
.start-mark img { width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 12px; }
.getting-started h3 { margin-top: 0; font-size: 1.1875rem; }
.getting-started > p:not(.local-note) { margin: 11px 0 23px; color: var(--strong-muted); font-size: 0.8125rem; line-height: 1.75; }
.getting-started .local-note { margin: 16px 0 0; color: var(--muted); font-size: 0.6875rem; line-height: 1.75; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 95px; padding-block: 24px; border-top: 1px solid var(--line); font-size: 0.75rem; }
.site-footer a { text-decoration: none; }
.footer-brand { font-size: 0.9375rem; font-weight: 650; letter-spacing: -.3px; white-space: nowrap; }
.footer-brand span { margin-left: 6px; color: var(--muted); font-size: 0.6875rem; font-weight: 400; letter-spacing: 0; }
.site-footer p { margin: 0; color: var(--muted); font-size: 0.6875rem; }
.site-footer > a[href^="mailto:"] { color: var(--muted); }
.language-controls { flex: none; min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.language-options { display: flex; align-items: center; gap: 4px; color: var(--muted); white-space: nowrap; }
.language-options button { min-inline-size: 44px; min-block-size: 44px; padding: 0 4px; border: 0; color: inherit; background: transparent; font: inherit; cursor: pointer; }
.language-options button:hover, .language-options button[aria-pressed="true"] { color: var(--green); text-decoration: underline; }
.language-options button:focus-visible { outline-offset: 1px; }
.skip { position: fixed; left: 20px; top: -100px; z-index: 2; padding: 10px 15px; border: 1px solid var(--green); border-radius: 8px; background: var(--card); }
.skip:focus { top: 12px; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.error-page { max-width: 720px; min-height: calc(100svh - 200px); padding-block: 100px; }
.error-page h1 { font-size: clamp(2.625rem, 6vw, 4rem); }
.error-page .lead { max-width: 490px; }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .hero { gap: 40px; padding-block: 70px 80px; }
  .preview-body { padding: 17px; }
  .preview-tile { flex-direction: column; align-items: flex-start; gap: 8px; padding: 13px; }
  .preview-context { max-width: 70px; }
  .tool-card { padding: 22px 20px; }
  .about { gap: 54px; }
  .site-navigation { gap: 20px; }
  .site-header:has(.environment-lock) .site-navigation { display: none; }
  .site-header:has(.environment-lock) .header-actions { margin-left: auto; }
}
@media (max-width: 760px) {
  .site-header { gap: 20px; min-height: 90px; }
  .site-navigation { display: none; }
  .header-actions { margin-left: auto; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 42px; padding-block: 52px 62px; }
  h1 { font-size: clamp(2.625rem, 8vw, 3.5rem); }
  .lead { max-width: 490px; }
  .project-status { margin-top: 23px; }
  .workspace-preview { max-width: 520px; width: 100%; }
  .preview-tile { flex-direction: row; align-items: center; min-height: 88px; gap: 12px; padding: 18px; }
  .preview-tile > span { font-size: 0.75rem; }
  .preview-tile small { font-size: 0.625rem; }
  .preview-context { max-width: none; }
  .tools { padding-block: 42px 52px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 25px; }
  .section-heading > p { max-width: 450px; }
  .tools-grid { gap: 14px; }
  .about { grid-template-columns: 1fr; gap: 30px; padding-block: 42px 55px; }
  .getting-started { max-width: 520px; }
  .site-footer { gap: 12px 20px; }
  .site-footer p { display: none; }
  .error-page { min-height: calc(100svh - 185px); padding-block: 70px; }
  .site-header:has(.environment-lock) { flex-wrap: wrap; padding-block: 18px; row-gap: 12px; }
  .site-header:has(.environment-lock) .cabinet-panel { right: auto; left: 0; max-height: calc(100svh - 200px); }
  .site-header:has(.environment-lock) .header-actions { flex-basis: 100%; max-width: none; justify-content: flex-start; margin-left: 0; gap: 10px; }
}
@media (max-width: 430px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { gap: 12px; }
  .brand { gap: 8px; font-size: 1.375rem; }
  .brand-mark { width: 40px; height: 40px; }
  .header-actions { gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
  .button-small { min-height: 44px; padding: 9px 13px; font-size: 0.8125rem; }
  .environment { padding: 3px 8px; font-size: 0.625rem; }
  .hero { padding-top: 42px; gap: 34px; }
  .eyebrow { margin-bottom: 17px; font-size: 0.625rem; }
  .lead { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .entry-note { font-size: 0.6875rem; }
  .preview-header { padding: 10px 10px 15px; gap: 12px; }
  .preview-brand { gap: 7px; }
  .preview-brand strong { font-size: 1rem; }
  .preview-brand img { width: 30px; height: 30px; }
  .preview-context { max-width: 64px; font-size: 0.5625rem; }
  .preview-body { padding: 15px; }
  .preview-grid { gap: 9px; }
  .preview-tile { flex-direction: column; align-items: flex-start; min-height: 97px; gap: 7px; padding: 13px; }
  .preview-tile > span { font-size: 0.6875rem; }
  .preview-tile small { font-size: 0.5625rem; }
  .preview-footer { gap: 7px; font-size: 0.5rem; }
  .preview-line { width: 18px; }
  .tools-grid { gap: 12px; }
  .tool-card { padding: 20px 17px; }
  .tool-card p { font-size: 0.6875rem; }
  h3 { font-size: 0.9375rem; }
  .getting-started { padding: 25px; }
  .site-footer { padding-block: 22px; font-size: 0.6875rem; }
}
@media (max-width: 340px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { gap: 8px; }
  .brand { gap: 5px; font-size: 1.25rem; }
  .brand-mark { width: 36px; height: 36px; }
  .button-small { padding-inline: 10px; gap: 9px; }
  .header-actions { max-width: 100%; }
  .tools-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
