:root {
    --ds-primary: #116b62;
    --ds-primary-hover: #0b5b52;
    --ds-primary-soft: #e9f5f2;
    --ds-bg: #f5f8f7;
    --ds-surface: #ffffff;
    --ds-surface-soft: #f8fbfa;
    --ds-surface-strong: #eef3f1;
    --ds-text: #10201d;
    --ds-muted: #5f706c;
    --ds-border: #d9e5e2;
    --ds-border-strong: #c1d2ce;
    --ds-shadow: 0 16px 40px rgba(16, 32, 29, 0.08);
    --ds-shadow-soft: 0 6px 20px rgba(16, 32, 29, 0.055);
    --ds-radius: 8px;
    --ds-radius-small: 6px;
    --ds-page: 1440px;
    --ds-pad: clamp(18px, 3vw, 40px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--ds-bg);
    color: var(--ds-text);
    font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
    font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
}

img,
svg {
    display: block;
    max-width: 100%;
}

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

button,
select {
    font: inherit;
}

button,
a,
select,
summary {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid rgba(17, 107, 98, 0.24);
    outline-offset: 2px;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 999;
    padding: 10px 14px;
    transform: translateY(-140%);
    background: var(--ds-primary);
    color: #fff;
    border-radius: var(--ds-radius-small);
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--ds-border);
    box-shadow: 0 3px 14px rgba(16, 32, 29, 0.035);
    backdrop-filter: blur(14px);
}

.site-header-inner {
    width: min(var(--ds-page), 100%);
    min-height: 72px;
    margin: 0 auto;
    padding: 9px var(--ds-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand img {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    object-fit: contain;
}

.brand > span {
    min-width: 0;
    display: grid;
    gap: 1px;
}

.brand strong {
    color: var(--ds-text);
    font-size: 19px;
    font-weight: 750;
    line-height: 1.1;
}

.brand small {
    color: var(--ds-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.site-nav {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.site-nav > a {
    min-height: 40px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: var(--ds-radius-small);
    color: #32433f;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.2;
}

.site-nav > a:hover {
    background: var(--ds-surface-soft);
    border-color: var(--ds-border);
    color: var(--ds-primary-hover);
}

.site-nav > .nav-login,
.site-nav > .nav-login:hover {
    margin-left: 6px;
    padding-inline: 16px;
    background: var(--ds-primary);
    border-color: var(--ds-primary);
    color: #fff;
}

.site-nav > .nav-login:hover {
    background: var(--ds-primary-hover);
    border-color: var(--ds-primary-hover);
}

.site-menu-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    display: none;
    place-content: center;
    gap: 4px;
    background: #fff;
    border: 1px solid var(--ds-border-strong);
    border-radius: var(--ds-radius-small);
    color: var(--ds-primary);
    cursor: pointer;
}

.site-menu-toggle span {
    width: 20px;
    height: 2px;
    display: block;
    background: currentColor;
}

.site-language-switcher {
    margin: 0 2px 0 6px;
}

.site-language-switcher label {
    margin: 0;
    display: block;
}

.site-language-switcher label > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.site-language-switcher select {
    width: auto;
    min-width: 92px;
    height: 40px;
    padding: 0 30px 0 10px;
    background: #fff;
    border: 1px solid var(--ds-border-strong);
    border-radius: var(--ds-radius-small);
    color: var(--ds-text);
    font-size: 13px;
    font-weight: 650;
}

main {
    display: block;
}

.hero {
    width: min(var(--ds-page), 100%);
    margin: 0 auto;
    padding: clamp(52px, 7vw, 96px) var(--ds-pad) 48px;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(560px, 1.12fr);
    align-items: center;
    gap: clamp(36px, 5vw, 74px);
}

.hero-content {
    min-width: 0;
}

.hero-kicker,
.section-kicker {
    margin: 0 0 12px;
    color: var(--ds-primary);
    font-size: 14px;
    font-weight: 750;
    letter-spacing: 0.015em;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--ds-text);
    text-wrap: balance;
}

h1 {
    margin-bottom: 20px;
    font-size: clamp(40px, 4.3vw, 66px);
    font-weight: 760;
    line-height: 1.06;
    letter-spacing: -0.038em;
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(30px, 3.2vw, 46px);
    font-weight: 740;
    line-height: 1.12;
    letter-spacing: -0.025em;
}

h3 {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 720;
    line-height: 1.25;
}

.hero-text {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--ds-muted);
    font-size: clamp(17px, 1.5vw, 20px);
    line-height: 1.65;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    min-height: 44px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: var(--ds-radius-small);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--ds-primary);
    border-color: var(--ds-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--ds-primary-hover);
    border-color: var(--ds-primary-hover);
}

.btn-secondary {
    background: #fff;
    border-color: var(--ds-border-strong);
    color: var(--ds-text);
}

.btn-secondary:hover {
    background: var(--ds-primary-soft);
    border-color: #acd3cc;
    color: var(--ds-primary-hover);
}

.hero-benefits {
    margin: 26px 0 0;
    padding: 0;
    display: grid;
    gap: 9px;
    list-style: none;
}

.hero-benefits li,
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #40514d;
    font-size: 14px;
    font-weight: 620;
}

.hero-benefits svg,
.check-list svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    fill: none;
    stroke: var(--ds-primary);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.environment-note {
    margin: 20px 0 0;
    padding: 10px 12px;
    background: var(--ds-surface-strong);
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-small);
    color: var(--ds-muted);
    font-size: 13px;
}

.program-window {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ds-border-strong);
    border-radius: var(--ds-radius);
    box-shadow: 0 30px 70px rgba(16, 32, 29, 0.14);
}

.window-titlebar {
    min-height: 42px;
    padding-left: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-bottom: 1px solid var(--ds-border);
}

.window-title {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #263a35;
    font-size: 12px;
    font-weight: 650;
}

.window-title img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.window-controls {
    height: 42px;
    display: flex;
    align-items: stretch;
}

.window-controls span {
    width: 45px;
    position: relative;
    display: block;
}

.window-controls span::before,
.window-controls span::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
}

.window-minimize::before {
    width: 11px;
    height: 1px;
    background: #475b56;
}

.window-maximize::before {
    width: 9px;
    height: 9px;
    border: 1px solid #475b56;
}

.window-close::before,
.window-close::after {
    width: 12px;
    height: 1px;
    background: #475b56;
}

.window-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.window-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.program-commandbar {
    min-height: 54px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--ds-surface-soft);
    border-bottom: 1px solid var(--ds-border);
    font-size: 12px;
}

.program-commandbar > strong {
    margin-right: auto;
    font-size: 14px;
}

.program-search,
.program-user {
    min-height: 34px;
    padding: 7px 11px;
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: 5px;
    color: var(--ds-muted);
}

.program-search {
    width: 150px;
}

.program-user {
    color: var(--ds-primary-hover);
    font-weight: 700;
}

.program-layout {
    min-height: 410px;
    display: grid;
    grid-template-columns: 142px minmax(0, 1fr);
}

.program-sidebar {
    padding: 14px 9px;
    display: grid;
    align-content: start;
    gap: 5px;
    background: #fbfcfc;
    border-right: 1px solid var(--ds-border);
}

.program-sidebar span {
    min-height: 34px;
    padding: 7px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 5px;
    color: #52645f;
    font-size: 11px;
    font-weight: 620;
}

.program-sidebar span.is-active {
    background: var(--ds-primary-soft);
    border-color: #c9e1dc;
    color: var(--ds-primary-hover);
}

.program-sidebar svg,
.program-quick-grid svg,
.feature-icon svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.program-content {
    min-width: 0;
    padding: 18px;
    background: var(--ds-bg);
}

.program-heading {
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.program-heading > div {
    display: grid;
    gap: 2px;
}

.program-heading strong {
    font-size: 17px;
}

.program-heading span {
    color: var(--ds-muted);
    font-size: 11px;
}

.program-date {
    white-space: nowrap;
}

.program-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.program-quick-grid article {
    min-width: 0;
    min-height: 102px;
    padding: 11px;
    display: grid;
    align-content: start;
    gap: 5px;
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: 6px;
}

.program-quick-grid svg {
    width: 23px;
    height: 23px;
    color: var(--ds-primary);
}

.program-quick-grid span {
    margin-top: 7px;
    color: var(--ds-muted);
    font-size: 10px;
}

.program-quick-grid strong {
    overflow: hidden;
    color: #263a35;
    font-size: 11px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.program-table {
    margin-top: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: 6px;
}

.program-table-head,
.program-table-row {
    min-height: 42px;
    padding: 9px 11px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 74px;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--ds-border);
    color: #3b4f49;
    font-size: 10px;
}

.program-table-head {
    background: var(--ds-surface-strong);
    color: #263a35;
}

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

.program-table-row > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.program-table-row > strong {
    color: var(--ds-primary-hover);
    font-size: 10px;
}

.window-statusbar {
    min-height: 30px;
    padding: 5px 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--ds-surface-soft);
    border-top: 1px solid var(--ds-border);
    color: var(--ds-muted);
    font-size: 10px;
}

.module-strip {
    width: min(calc(var(--ds-page) - (var(--ds-pad) * 2)), calc(100% - (var(--ds-pad) * 2)));
    margin: 0 auto clamp(64px, 8vw, 112px);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius);
    box-shadow: var(--ds-shadow-soft);
}

.module-strip > div {
    min-width: 0;
    padding: 18px 20px;
    display: grid;
    gap: 2px;
    border-right: 1px solid var(--ds-border);
}

.module-strip > div:last-child {
    border-right: 0;
}

.module-strip strong {
    color: #213630;
    font-size: 14px;
}

.module-strip span {
    color: var(--ds-muted);
    font-size: 12px;
}

.section {
    width: min(var(--ds-page), 100%);
    margin: 0 auto;
    padding: clamp(64px, 8vw, 112px) var(--ds-pad);
}

.section-heading {
    margin-bottom: 34px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    align-items: end;
    gap: clamp(28px, 5vw, 76px);
}

.section-heading.compact {
    grid-template-columns: minmax(0, 820px);
}

.section-heading h2 {
    max-width: 900px;
    margin-bottom: 0;
}

.section-heading > p,
.workspace-copy > p,
.final-cta p,
.audience-grid p,
.feature-grid p,
.faq-list p,
.legal-page p,
.legal-page li {
    color: var(--ds-muted);
}

.section-heading > p,
.workspace-copy > p {
    margin-bottom: 0;
    font-size: 17px;
    line-height: 1.7;
}

.feature-section {
    border-top: 1px solid var(--ds-border);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.feature-grid article {
    min-width: 0;
    min-height: 245px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius);
    box-shadow: 0 3px 12px rgba(16, 32, 29, 0.025);
}

.feature-grid article:hover {
    border-color: var(--ds-border-strong);
    box-shadow: var(--ds-shadow-soft);
}

.feature-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
    display: grid;
    place-items: center;
    background: var(--ds-primary-soft);
    border: 1px solid #cce2dd;
    border-radius: 6px;
    color: var(--ds-primary);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-grid p {
    margin-bottom: 0;
    line-height: 1.68;
}

.workspace-section {
    display: grid;
    grid-template-columns: minmax(300px, 0.72fr) minmax(620px, 1.28fr);
    align-items: center;
    gap: clamp(38px, 6vw, 86px);
}

.workspace-copy h2 {
    max-width: 620px;
}

.check-list {
    margin: 26px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
    list-style: none;
}

.settings-window {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ds-border-strong);
    border-radius: var(--ds-radius);
    box-shadow: var(--ds-shadow);
}

.settings-titlebar {
    min-height: 48px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--ds-surface-soft);
    border-bottom: 1px solid var(--ds-border);
    font-size: 13px;
}

.settings-titlebar span {
    color: var(--ds-muted);
    font-size: 12px;
}

.settings-layout {
    display: grid;
    grid-template-columns: minmax(180px, 0.36fr) minmax(0, 1fr);
}

.settings-layout > aside {
    padding: 20px 16px;
    display: grid;
    align-content: start;
    gap: 10px;
    background: #fbfcfc;
    border-right: 1px solid var(--ds-border);
}

.settings-layout > aside strong {
    margin-bottom: 5px;
    font-size: 13px;
}

.settings-layout > aside span {
    min-height: 37px;
    padding: 8px 9px;
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: 5px;
    color: var(--ds-muted);
    font-size: 11px;
}

.settings-layout > div {
    min-width: 0;
    padding: 20px;
}

.settings-document-head,
.settings-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.settings-document-head {
    margin-bottom: 16px;
}

.settings-document-head button,
.settings-actions button {
    min-height: 34px;
    padding: 7px 10px;
    background: var(--ds-primary);
    border: 1px solid var(--ds-primary);
    border-radius: 5px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    pointer-events: none;
}

.settings-line {
    min-height: 40px;
    padding: 9px 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 64px 92px;
    gap: 8px;
    align-items: center;
    background: var(--ds-surface-strong);
    border: 1px solid var(--ds-border);
    color: #354944;
    font-size: 11px;
    font-weight: 650;
}

.settings-line.is-data {
    background: #fff;
    border-top: 0;
    font-weight: 500;
}

.settings-total {
    margin: 18px 0;
    padding: 13px 0;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    border-top: 1px solid var(--ds-border);
    border-bottom: 1px solid var(--ds-border);
    font-size: 12px;
}

.settings-total strong {
    color: var(--ds-primary-hover);
}

.settings-actions span {
    color: var(--ds-muted);
    font-size: 10px;
}

.audience-section {
    border-top: 1px solid var(--ds-border);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius);
}

.audience-grid article {
    min-width: 0;
    padding: 26px;
    border-right: 1px solid var(--ds-border);
}

.audience-grid article:last-child {
    border-right: 0;
}

.audience-grid strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ds-text);
    font-size: 18px;
}

.audience-grid p {
    margin-bottom: 0;
}

.faq-section {
    border-top: 1px solid var(--ds-border);
}

.faq-list {
    max-width: 980px;
    display: grid;
    gap: 10px;
}

.faq-list details {
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius-small);
}

.faq-list details[open] {
    border-color: var(--ds-border-strong);
    box-shadow: var(--ds-shadow-soft);
}

.faq-list summary {
    min-height: 56px;
    padding: 15px 52px 15px 18px;
    position: relative;
    display: flex;
    align-items: center;
    color: #263a35;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::before,
.faq-list summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 19px;
    width: 14px;
    height: 2px;
    background: var(--ds-primary);
    transform: translateY(-50%);
}

.faq-list summary::after {
    transform: translateY(-50%) rotate(90deg);
}

.faq-list details[open] summary::after {
    transform: translateY(-50%) rotate(0deg);
}

.faq-list p {
    max-width: 860px;
    margin: 0;
    padding: 0 52px 18px 18px;
}

.final-cta {
    width: min(calc(var(--ds-page) - (var(--ds-pad) * 2)), calc(100% - (var(--ds-pad) * 2)));
    margin: 22px auto clamp(72px, 9vw, 120px);
    padding: clamp(28px, 4vw, 46px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    background: #fff;
    border: 1px solid var(--ds-border-strong);
    border-radius: var(--ds-radius);
    box-shadow: var(--ds-shadow-soft);
}

.final-cta > div {
    max-width: 900px;
}

.final-cta h2 {
    margin-bottom: 10px;
    font-size: clamp(28px, 3vw, 42px);
}

.final-cta p:last-child {
    margin-bottom: 0;
}

.final-cta > .btn {
    flex: 0 0 auto;
}

.site-footer {
    width: 100%;
    padding: 28px var(--ds-pad) 18px;
    background: #fff;
    border-top: 1px solid var(--ds-border);
}

.site-footer-inner {
    width: min(var(--ds-page), 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-brand > span {
    min-width: 0;
    display: grid;
}

.footer-brand strong {
    font-size: 15px;
}

.footer-brand small {
    color: var(--ds-muted);
    font-size: 11px;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 18px;
}

.site-footer nav a {
    color: #475a55;
    font-size: 12px;
    font-weight: 620;
}

.site-footer nav a:hover {
    color: var(--ds-primary-hover);
}

.footer-copy {
    width: min(var(--ds-page), 100%);
    margin: 22px auto 0;
    padding-top: 14px;
    border-top: 1px solid var(--ds-border);
    color: var(--ds-muted);
    font-size: 11px;
}

.legal-page {
    width: min(1080px, 100%);
    margin: 0 auto;
    padding: clamp(48px, 7vw, 88px) var(--ds-pad) clamp(72px, 9vw, 112px);
}

.legal-page > h1 {
    margin-bottom: 34px;
    font-size: clamp(38px, 5vw, 58px);
}

.legal-page section {
    margin-bottom: 12px;
    padding: 24px 26px;
    background: #fff;
    border: 1px solid var(--ds-border);
    border-radius: var(--ds-radius);
}

.legal-page section h2 {
    margin-bottom: 10px;
    font-size: 21px;
    letter-spacing: -0.01em;
}

.legal-page section p:last-child,
.legal-page section ul:last-child {
    margin-bottom: 0;
}

.legal-page a,
.mail-link {
    color: var(--ds-primary-hover);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.mail-protected {
    min-height: 38px;
    padding: 7px 11px;
    background: #fff;
    border: 1px solid var(--ds-border-strong);
    border-radius: var(--ds-radius-small);
    color: var(--ds-primary-hover);
    font-weight: 700;
    cursor: pointer;
}

.mail-protected:hover {
    background: var(--ds-primary-soft);
}

.eyebrow,
.eyebrow-brand,
.page-eyebrow,
.page-kicker,
.smart-kicker {
    display: none !important;
}

@media (max-width: 1180px) {
    .site-menu-toggle {
        display: grid;
        margin-left: auto;
    }

    .site-nav {
        display: none;
        width: min(360px, calc(100vw - (var(--ds-pad) * 2)));
        max-height: calc(100vh - 94px);
        padding: 10px;
        position: absolute;
        top: calc(100% + 8px);
        right: var(--ds-pad);
        overflow-y: auto;
        background: #fff;
        border: 1px solid var(--ds-border-strong);
        border-radius: var(--ds-radius);
        box-shadow: var(--ds-shadow);
    }

    .site-header.menu-open .site-nav {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .site-nav > a {
        width: 100%;
        justify-content: flex-start;
        background: #fff;
        border-color: var(--ds-border);
    }

    .site-nav > .nav-login,
    .site-nav > .nav-login:hover {
        margin-left: 0;
        justify-content: center;
    }

    .site-language-switcher {
        width: 100%;
        margin: 0;
    }

    .site-language-switcher select {
        width: 100%;
    }

    .hero {
        grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1.18fr);
        gap: 34px;
    }

    .program-layout {
        grid-template-columns: 118px minmax(0, 1fr);
    }

    .program-sidebar span {
        padding-inline: 6px;
    }

    .program-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .program-quick-grid article {
        min-height: 88px;
    }

    .workspace-section {
        grid-template-columns: minmax(280px, 0.68fr) minmax(540px, 1.32fr);
        gap: 34px;
    }
}

@media (max-width: 980px) {
    .hero,
    .workspace-section {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 58px;
    }

    .hero-content {
        max-width: 800px;
    }

    .program-window,
    .settings-window {
        width: 100%;
    }

    .module-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .module-strip > div:nth-child(2) {
        border-right: 0;
    }

    .module-strip > div:nth-child(-n+2) {
        border-bottom: 1px solid var(--ds-border);
    }

    .section-heading {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 16px;
    }

    .section-heading > p {
        max-width: 760px;
    }

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

@media (max-width: 720px) {
    :root {
        --ds-pad: 16px;
    }

    html {
        scroll-padding-top: 76px;
    }

    .site-header-inner {
        min-height: 64px;
        padding-block: 7px;
        gap: 12px;
    }

    .brand img {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .brand strong {
        font-size: 17px;
    }

    .brand small {
        display: none;
    }

    .site-nav {
        top: calc(100% + 6px);
        right: 12px;
        width: calc(100vw - 24px);
    }

    .hero {
        padding-top: 42px;
        padding-bottom: 34px;
        gap: 32px;
    }

    h1 {
        font-size: clamp(36px, 11vw, 48px);
        letter-spacing: -0.03em;
    }

    .hero-text {
        font-size: 17px;
    }

    .hero-actions {
        align-items: stretch;
    }

    .hero-actions .btn {
        flex: 1 1 100%;
    }

    .window-controls span {
        width: 37px;
    }

    .program-commandbar {
        min-height: 48px;
    }

    .program-search {
        display: none;
    }

    .program-layout {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .program-sidebar {
        display: none;
    }

    .program-content {
        padding: 14px;
    }

    .program-quick-grid article {
        min-height: 94px;
    }

    .program-table-head,
    .program-table-row {
        grid-template-columns: minmax(0, 1fr) 60px;
    }

    .module-strip {
        width: calc(100% - 24px);
        margin-bottom: 58px;
    }

    .section {
        padding-block: 62px;
    }

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

    .feature-grid article {
        min-height: 0;
    }

    .settings-layout {
        grid-template-columns: 1fr;
    }

    .settings-layout > aside {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        border-right: 0;
        border-bottom: 1px solid var(--ds-border);
    }

    .settings-layout > aside strong {
        grid-column: 1 / -1;
    }

    .settings-layout > aside span {
        min-width: 0;
    }

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

    .audience-grid article {
        border-right: 0;
        border-bottom: 1px solid var(--ds-border);
    }

    .audience-grid article:last-child {
        border-bottom: 0;
    }

    .final-cta {
        width: calc(100% - 24px);
        padding: 26px 22px;
        flex-direction: column;
        align-items: stretch;
    }

    .final-cta .btn {
        width: 100%;
    }

    .site-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer nav {
        justify-content: flex-start;
    }

    .legal-page section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .window-titlebar {
        min-height: 39px;
    }

    .window-controls span {
        width: 32px;
    }

    .program-commandbar > strong {
        font-size: 13px;
    }

    .program-user {
        max-width: 128px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .program-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .program-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .program-table-head,
    .program-table-row {
        grid-template-columns: minmax(0, 1fr) 52px;
        padding-inline: 8px;
    }

    .module-strip {
        grid-template-columns: 1fr;
    }

    .module-strip > div,
    .module-strip > div:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--ds-border);
    }

    .module-strip > div:last-child {
        border-bottom: 0;
    }

    .settings-layout > aside {
        grid-template-columns: 1fr;
    }

    .settings-line {
        grid-template-columns: minmax(0, 1fr) 48px 72px;
        padding-inline: 7px;
    }

    .settings-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .settings-actions button {
        width: 100%;
    }

    .footer-brand small {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
