/* Linnus Agency donor-faithful Canvas homepage.
 *
 * Visible overrides are gated by the new homepage's split hero and stable
 * section anchors. The currently published agency revision therefore keeps
 * the established Linnus skin until the new Canvas composition is published.
 */

:root {
    --linnus-agency-ink: #1d3138;
    --linnus-agency-navy: #223f49;
    --linnus-agency-cream: #f5f1e9;
    --linnus-agency-sand: #e6dbca;
    --linnus-agency-copper: #956044;
    --linnus-agency-line: #d8d3c9;
    --linnus-agency-muted: #53656c;
    --linnus-agency-page: #fffdf9;
    --linnus-agency-hover: #345762;
    --linnus-agency-dark-copy: #d6e0e0;
    --linnus-agency-dark-accent: #e0b99c;
    --linnus-agency-dark-line: #799094;
    --linnus-agency-inset: max(5vw, calc((100vw - 1320px) / 2 + 5vw));
}

.linnus-agency-wordmark,
.linnus-agency-hero-menu-fallback,
.linnus-footer__back-to-top {
    display: none;
}

.linnus-agency-skip {
    position: absolute;
    inset-block-start: 10px;
    inset-inline-start: -9999px;
    z-index: 1000;
    padding: 10px;
    background: var(--linnus-agency-page);
    color: var(--linnus-agency-ink);
}

.linnus-agency-skip:focus {
    inset-inline-start: 10px;
}

html:has(body.linnus-site--agency .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(body.linnus-site--agency .canvas-page__sections > #tais-teenus.canvas-faq):has(body.linnus-site--agency .canvas-page__sections > #kontakt.canvas-contacts) {
    scroll-behavior: smooth;
    scroll-padding-block-start: 25px;
}

body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) {
    --linnus-body: "DM Sans", Arial, sans-serif;
    --linnus-display: "Playfair Display", Georgia, serif;
    --linnus-forest: var(--linnus-agency-navy);
    --linnus-graphite: var(--linnus-agency-ink);
    --linnus-ivory: var(--linnus-agency-cream);
    --linnus-paper: var(--linnus-agency-page);
    --linnus-stone: var(--linnus-agency-line);
    --linnus-brass: var(--linnus-agency-copper);
    --linnus-brass-ink: var(--linnus-agency-copper);
    --linnus-muted: var(--linnus-agency-muted);
    --linnus-hairline: var(--linnus-agency-line);
    margin: 0;
    overflow-x: clip;
    background: var(--linnus-agency-page);
    color: var(--linnus-agency-ink);
    font: 1rem/1.65 var(--linnus-body);
}

/* kinnisvara.linnus.co mirrors the agency header (client request, 2026-10-06):
 * the header rules below also match body.linnus-site--properties. */
body.linnus-site--properties .linnus-header {
    --linnus-body: "DM Sans", Arial, sans-serif;
    --linnus-display: "Playfair Display", Georgia, serif;
    --linnus-forest: var(--linnus-agency-navy);
    --linnus-graphite: var(--linnus-agency-ink);
    --linnus-ivory: var(--linnus-agency-cream);
    --linnus-paper: var(--linnus-agency-page);
    --linnus-stone: var(--linnus-agency-line);
    --linnus-brass: var(--linnus-agency-copper);
    --linnus-brass-ink: var(--linnus-agency-copper);
    --linnus-muted: var(--linnus-agency-muted);
    --linnus-hairline: var(--linnus-agency-line);
    color: var(--linnus-agency-ink);
    font: 1rem/1.65 var(--linnus-body);
}

body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) :is(a, button, summary, select):focus-visible {
    outline: 3px solid var(--linnus-agency-copper);
    outline-offset: 5px;
}

/* Header: the established Core markup becomes the donor's single-row shell. */
:is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-header {
    position: relative;
    z-index: 200;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 25px;
    min-height: 88px;
    padding-inline: var(--linnus-agency-inset);
    border: 0;
    background: var(--linnus-agency-page);
    box-shadow: none;
}

:is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) :is(.linnus-header__inner, .linnus-navigation, .linnus-navigation__inner) {
    display: contents;
}

:is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-brand {
    grid-column: 1;
    grid-row: 1;
    align-items: center;
    justify-self: start;
    gap: 0;
    text-decoration: none;
    white-space: nowrap;
}

:is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-brand > :not(.linnus-agency-wordmark) {
    display: none;
}

:is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-agency-wordmark {
    display: inline;
    color: var(--linnus-agency-ink);
    font-family: var(--linnus-body);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.065em;
    line-height: 1;
}

:is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-agency-wordmark > span {
    color: var(--linnus-agency-copper);
}

:is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-header__portal-link {
    display: none;
}

:is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-header__settings {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    min-width: 0;
}

:is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-header__settings .header-settings__cluster {
    display: flex;
    align-items: center;
    gap: 8px;
}

:is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-header__settings .setting-card {
    display: block;
    min-width: 0;
}

:is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-header__settings .setting-card label {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

:is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-header__settings .setting-card__select {
    min-width: 102px;
    max-width: 156px;
    height: 34px;
    padding: 3px 24px 3px 8px;
    border: 1px solid transparent;
    border-radius: 0;
    background-color: transparent;
    color: var(--linnus-agency-ink);
    font: 600 0.875rem/1 var(--linnus-body);
    box-shadow: none;
}

:is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-header__settings .setting-card__select:hover {
    border-color: var(--linnus-agency-line);
}

:is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-navigation .cascade-menu {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: auto;
    min-height: 34px;
    border: 0;
    background: transparent !important;
    box-shadow: none !important;
}

:is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-navigation .cascade-menu__list {
    position: static;
    inset: auto;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 29px;
    width: auto;
    min-height: 34px;
    max-height: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    overflow: visible;
    box-shadow: none;
    list-style: none;
}

:is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-navigation :is(.cascade-menu__link, .cascade-menu__trigger) {
    min-height: 34px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--linnus-agency-ink);
    font: 400 0.9rem/1.35 var(--linnus-body);
    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;
    box-shadow: none;
}

:is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-navigation :is(.cascade-menu__link, .cascade-menu__trigger):hover {
    color: var(--linnus-agency-copper);
    box-shadow: none;
}

:is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-navigation .cascade-menu__toggle {
    display: none !important;
}

:is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-navigation .cascade-menu__controls {
    margin-inline-start: 20px;
}

body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) .linnus-breadcrumbs {
    display: none;
}

/* Server-rendered second Cascade menu: usable strip without JS, moved into the
 * hero's normal flow by the agency-only progressive enhancement when JS runs. */
body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) .linnus-agency-hero-menu-fallback {
    display: block;
    border-block: 1px solid var(--linnus-agency-line);
    background: var(--linnus-agency-page);
}

body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) .linnus-agency-hero-menu-fallback__inner {
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
    padding: 12px 5vw;
}

body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) :is(.linnus-agency-hero-menu-fallback, .linnus-agency-hero-menu-slot) .cascade-menu {
    width: auto;
    min-height: 0;
    border: 0;
    background: transparent !important;
    box-shadow: none !important;
}

body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) :is(.linnus-agency-hero-menu-fallback, .linnus-agency-hero-menu-slot) :is(.cascade-menu__toggle, .cascade-menu__controls) {
    display: none !important;
}

body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) :is(.linnus-agency-hero-menu-fallback, .linnus-agency-hero-menu-slot) .cascade-menu__list {
    position: static;
    inset: auto;
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    width: auto;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
    box-shadow: none;
    list-style: none;
}

body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) :is(.linnus-agency-hero-menu-fallback, .linnus-agency-hero-menu-slot) .cascade-menu__item {
    margin: 0;
    padding: 0;
}

body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) :is(.linnus-agency-hero-menu-fallback, .linnus-agency-hero-menu-slot) :is(.cascade-menu__link, .cascade-menu__trigger) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 23px;
    border: 1px solid var(--linnus-agency-navy);
    border-radius: 0;
    background: transparent;
    color: var(--linnus-agency-navy);
    font: 600 0.875rem/1.5 var(--linnus-body);
    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;
    box-shadow: none;
}

body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) :is(.linnus-agency-hero-menu-fallback, .linnus-agency-hero-menu-slot) .cascade-menu__item:first-child > :is(.cascade-menu__link, .cascade-menu__trigger) {
    background: var(--linnus-agency-navy);
    color: #fff;
}

body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) :is(.linnus-agency-hero-menu-fallback, .linnus-agency-hero-menu-slot) :is(.cascade-menu__link, .cascade-menu__trigger):hover {
    background: var(--linnus-agency-hover);
    color: #fff;
    box-shadow: none;
}

/* Canvas composition and donor typography. */
body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) {
    --canvas-font: var(--linnus-body);
    --canvas-serif: var(--linnus-display);
    --canvas-ink: var(--linnus-agency-ink);
    --canvas-ink-soft: var(--linnus-agency-navy);
    --canvas-text: var(--linnus-agency-ink);
    --canvas-muted: var(--linnus-agency-muted);
    --canvas-line: var(--linnus-agency-line);
    --canvas-line-strong: var(--linnus-agency-line);
    --canvas-paper: var(--linnus-agency-page);
    --canvas-mist: var(--linnus-agency-cream);
    --canvas-teal: var(--linnus-agency-navy);
    --canvas-teal-bright: var(--linnus-agency-hover);
    --canvas-gold: var(--linnus-agency-copper);
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--linnus-agency-ink);
    font-family: var(--linnus-body);
    box-shadow: none;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) :is(h1, h2, h3) {
    color: var(--linnus-agency-ink);
    font-family: var(--linnus-display);
    font-weight: 400;
    letter-spacing: -0.025em;
    text-wrap: wrap;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) .canvas-page__sections {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 20px;
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: 5vw;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) .canvas-section {
    min-width: 0;
    padding-block: 0;
    border: 0;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) .canvas-page__sections > .canvas-section + .canvas-section {
    border-block-start: 0;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) .canvas-kicker {
    margin-block-end: 23px;
    color: var(--linnus-agency-copper);
    font: 700 0.75rem/1.3 var(--linnus-body);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Split hero. */
body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #avaleht.canvas-hero {
    grid-column: 1 / -1;
    width: 100vw;
    min-height: 0;
    margin-inline: calc(50% - 50vw);
    padding: 58px 0 68px;
    overflow: visible;
    background: var(--linnus-agency-cream);
    color: var(--linnus-agency-ink);
    isolation: auto;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #avaleht.canvas-hero::before,
body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #avaleht.canvas-hero::after {
    content: none;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #avaleht .canvas-hero__grid {
    display: grid;
    grid-template-columns: 45% 55%;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 1320px;
    min-height: 0;
    margin-inline: auto;
    padding: 0 5vw;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #avaleht .canvas-hero__copy {
    container-type: inline-size;
    width: auto;
    max-width: none;
    padding: 15px 11% 15px 0;
    padding-inline: 0 11%;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #avaleht h2 {
    max-width: none;
    margin: 0 0 26px;
    color: var(--linnus-agency-ink);
    /* Cap by the copy column (cqi), not only the viewport: long Russian, Polish
       and Finnish words must fit beside the hero image. */
    font: 400 min(clamp(2.9rem, 5.4vw, 5.45rem), 14cqi)/1.12 var(--linnus-display);
    letter-spacing: -0.025em;
    overflow-wrap: break-word;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #avaleht .canvas-lede {
    max-width: 450px;
    margin: 0 0 30px;
    color: var(--linnus-agency-muted);
    font: 400 1.08rem/1.65 var(--linnus-body);
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #avaleht .canvas-hero__media {
    width: 100%;
    height: 570px;
    margin: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #avaleht .canvas-hero__media::after {
    content: none;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #avaleht .canvas-hero__media img {
    width: 100%;
    height: 100%;
    max-width: none;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: 55% center;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #avaleht .canvas-hero__media figcaption {
    position: static;
    padding: 8px 0 0;
    background: transparent;
    color: var(--linnus-agency-muted);
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #avaleht.canvas-hero--has-agency-menu .canvas-actions,
body.linnus-site--agency:has(.linnus-agency-hero-menu-fallback .cascade-menu) .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"] .canvas-actions {
    display: none;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) .linnus-agency-hero-menu-slot {
    margin-block-start: 30px;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) .linnus-agency-hero-menu-slot:empty {
    display: none;
}

/* Services introduction and three independent native FAQ cards. */
body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #teenused {
    grid-column: 1 / -1;
    padding: 90px 0 40px;
    background: var(--linnus-agency-page);
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #teenused .canvas-shell {
    display: block;
    width: auto;
    max-width: 800px;
    margin: 0;
    padding: 0;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #teenused header {
    position: static;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #teenused h2 {
    margin: 0 0 24px;
    font-size: clamp(2.25rem, 3.8vw, 3.9rem);
    line-height: 1.12;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #teenused .canvas-prose {
    max-width: 600px;
    color: var(--linnus-agency-muted);
    font: 400 1rem/1.65 var(--linnus-body);
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #teenused .canvas-prose .canvas-lede {
    margin: 0;
    color: var(--linnus-agency-muted);
    font: inherit;
    letter-spacing: 0;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) :is(#vahendus, #uhistule, #tais-teenus).canvas-faq {
    display: flex;
    min-height: 0;
    margin-block-end: 90px;
    padding: 32px;
    scroll-margin-block-start: 30px;
    background: var(--linnus-agency-cream);
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) :is(#vahendus, #uhistule, #tais-teenus) .canvas-faq__grid {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) :is(#vahendus, #uhistule, #tais-teenus) .canvas-section__head {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) :is(#vahendus, #uhistule, #tais-teenus) .canvas-kicker {
    margin-block-end: 32px;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) :is(#vahendus, #uhistule, #tais-teenus) h2 {
    margin: 0 0 20px;
    font-size: 1.85rem;
    line-height: 1.22;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) :is(#vahendus, #uhistule, #tais-teenus) .canvas-section__head > p {
    margin: 0 0 28px;
    color: var(--linnus-agency-muted);
    font: 400 1rem/1.65 var(--linnus-body);
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) :is(#vahendus, #uhistule, #tais-teenus) .canvas-faq__items {
    display: grid;
    gap: 0;
    margin-block-start: auto;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) :is(#vahendus, #uhistule, #tais-teenus) details {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) :is(#vahendus, #uhistule, #tais-teenus) summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    gap: 14px;
    min-height: 48px;
    padding: 13px 20px;
    border: 0;
    border-radius: 0;
    background: var(--linnus-agency-navy);
    color: #fff;
    font: 600 0.875rem/1.5 var(--linnus-body);
    list-style: none;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) :is(#vahendus, #uhistule, #tais-teenus) summary:hover,
body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) :is(#vahendus, #uhistule, #tais-teenus) details[open] summary {
    background: var(--linnus-agency-hover);
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) :is(#vahendus, #uhistule, #tais-teenus) summary > span {
    color: inherit;
    font-size: 0;
    transform: none;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) :is(#vahendus, #uhistule, #tais-teenus) summary > span::before {
    content: "+";
    font-size: 1.2rem;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) :is(#vahendus, #uhistule, #tais-teenus) details[open] summary > span::before {
    content: "−";
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) :is(#vahendus, #uhistule, #tais-teenus) details > p {
    margin: 24px 0 0;
    padding: 0 0 0 20px;
    padding-inline: 20px 0;
    border: 0;
    color: var(--linnus-agency-muted);
    font: 400 0.95rem/1.65 var(--linnus-body);
    white-space: pre-line;
}

/* Investor journey. */
body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #investorile {
    grid-column: 1 / -1;
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    padding: 85px 0;
    background: var(--linnus-agency-navy);
    color: #fff;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #investorile .canvas-shell {
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: 5vw;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #investorile .canvas-section__head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
    gap: 0 8vw;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #investorile .canvas-kicker {
    grid-column: 1;
    grid-row: 1;
    color: var(--linnus-agency-dark-accent);
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #investorile h2 {
    grid-column: 1;
    grid-row: 2;
    max-width: 14ch;
    margin: 0;
    color: #fff;
    font-size: clamp(2.25rem, 3.8vw, 3.9rem);
    line-height: 1.12;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #investorile .canvas-section__head > p {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: end;
    margin: 45px 0 0;
    color: var(--linnus-agency-dark-copy);
    font: 400 1rem/1.65 var(--linnus-body);
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #investorile .canvas-steps__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    margin: 38px 0 0;
    padding: 0;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #investorile .canvas-steps__list li {
    display: block;
    min-height: 0;
    padding-block-start: 20px;
    border-block-start: 1px solid var(--linnus-agency-dark-line);
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #investorile .canvas-steps__list li::before {
    content: none;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #investorile .canvas-steps__number {
    display: block;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--linnus-agency-dark-accent);
    font: 400 0.875rem/1.5 var(--linnus-body);
    box-shadow: none;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #investorile .canvas-steps__list h3 {
    margin: 15px 0 12px;
    color: #fff;
    font-size: 1.35rem;
    line-height: 1.22;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #investorile .canvas-steps__list p {
    margin: 0;
    color: var(--linnus-agency-dark-copy);
    font: 400 0.95rem/1.65 var(--linnus-body);
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #investorile .linnus-agency-steps__scope {
    margin: 35px 0 0;
    padding-block-start: 22px;
    border-block-start: 1px solid var(--linnus-agency-dark-line);
    color: var(--linnus-agency-dark-copy);
    font: 400 0.875rem/1.65 var(--linnus-body);
}

/* Editorial about section. */
body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #meist {
    grid-column: 1 / -1;
    padding: 90px 0;
    background: var(--linnus-agency-page);
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #meist .canvas-narrative__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 10vw;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #meist header {
    position: static;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #meist h2 {
    margin: 0;
    font-size: clamp(2.25rem, 3.8vw, 3.9rem);
    line-height: 1.12;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #meist .canvas-prose {
    max-width: 670px;
    color: var(--linnus-agency-muted);
    font: 400 1rem/1.65 var(--linnus-body);
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #meist .canvas-prose .canvas-lede {
    margin: 0 0 20px;
    color: var(--linnus-agency-ink);
    font: 400 1.15rem/1.65 var(--linnus-body);
    letter-spacing: 0;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #meist .canvas-rich-text p {
    margin: 0 0 20px;
    color: var(--linnus-agency-muted);
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #meist .canvas-rich-text > p:first-child {
    color: var(--linnus-agency-ink);
    font-size: 1.15rem;
    line-height: 1.65;
}

/* Display-only contact block. */
body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #kontakt {
    grid-column: 1 / -1;
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    padding: 65px 0;
    background: var(--linnus-agency-sand);
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #kontakt .canvas-contacts__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: start;
    gap: 10vw;
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: 5vw;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #kontakt .canvas-section__head {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #kontakt h2 {
    max-width: none;
    margin: 0 0 24px;
    font-size: clamp(2.25rem, 3.8vw, 3.9rem);
    line-height: 1.12;
    text-wrap: wrap;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #kontakt .canvas-section__head > p {
    max-width: 600px;
    margin: 0;
    color: var(--linnus-agency-ink);
    font: 400 1rem/1.65 var(--linnus-body);
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #kontakt .linnus-agency-contact-person {
    margin-block-start: 30px;
    padding-block-start: 24px;
    border-block-start: 1px solid #9caaa9;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #kontakt .linnus-agency-contact-person > div + div {
    margin-block-start: 20px;
    padding-block-start: 20px;
    border-block-start: 1px solid rgba(156, 170, 169, 0.55);
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #kontakt .linnus-agency-contact-person :is(strong, span, a) {
    display: block;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #kontakt .linnus-agency-contact-person strong {
    color: var(--linnus-agency-ink);
    font-size: 1.15rem;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #kontakt .linnus-agency-contact-person :is(span, a) {
    color: var(--linnus-agency-ink);
    font-size: 0.95rem;
}

body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #kontakt .linnus-agency-contact-person p {
    margin: 20px 0 0;
    color: var(--linnus-agency-muted);
    font-size: 0.875rem;
}

/* Agency landing has no currency pricing or visitor account controls. */
:is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) :is(.setting-card--currency, .setting-card--skin, .linnus-navigation .helixid-widget--front) {
    display: none;
}

body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) .cookie-consent {
    transform: none;
}

body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) .cookie-content p {
    font-size: 0.875rem;
}

.linnus-agency-footer-copyright {
    display: none;
}

/* Footer remains driven by Footer, BoardWords and the existing footer menu. */
body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) .linnus-footer {
    margin: 0;
    padding: 30px 0;
    border: 0;
    background: var(--linnus-agency-ink) !important;
    color: #d6dedb;
    font-size: 0.875rem;
}

body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) .linnus-footer .sapphire-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: 5vw;
}

body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) .linnus-footer .sapphire-footer__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    width: 100%;
    padding: 0;
}

body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) .linnus-footer .sapphire-footer__module {
    width: 100%;
}

body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) .linnus-footer :is(.sapphire-footer__identity, .sapphire-footer__connections, .sapphire-footer__group--contributions, .sapphire-footer__navigation, .sapphire-footer__copyright) {
    display: none;
}

body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) .linnus-agency-footer-copyright {
    display: block;
    margin: 0;
    white-space: nowrap;
    font: inherit;
}

body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) .sapphire-footer__legal {
    max-width: 44em;
    font-size: 0.75rem;
}

body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) .linnus-footer .sapphire-footer__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    border: 0;
}

body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) .linnus-footer :is(.sapphire-footer__meta p, .linnus-footer__back-to-top) {
    margin: 0;
    color: #d6dedb;
    font: inherit;
}

body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) .linnus-footer__back-to-top {
    display: inline-flex;
    text-underline-offset: 4px;
}

body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) .linnus-footer .sapphire-footer__navigation {
    color: #d6dedb;
}

@media (max-width: 1050px) {
    :is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-header {
        gap: 15px;
    }

    :is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-navigation .cascade-menu__list {
        gap: 15px;
    }

    body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #avaleht .canvas-hero__copy {
        padding-inline-end: 8%;
    }

    body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #avaleht .canvas-hero__media {
        height: 510px;
    }

    body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) :is(#vahendus, #uhistule, #tais-teenus).canvas-faq {
        padding: 25px;
    }

    body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) :is(#vahendus, #uhistule, #tais-teenus) h2 {
        font-size: 1.65rem;
    }

    body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #investorile .canvas-steps__list {
        gap: 20px;
    }
}

@media (max-width: 780px) {
    body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) .canvas-page__sections {
        grid-template-columns: 1fr;
        gap: 0;
        padding-inline: 6vw;
    }

    body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #avaleht.canvas-hero {
        padding: 35px 0 40px;
    }

    body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #avaleht .canvas-hero__grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-inline: 6vw;
    }

    body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #avaleht .canvas-hero__copy {
        padding: 0 0 8px;
    }

    body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #avaleht .canvas-hero__media {
        height: 360px;
    }

    body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #teenused {
        padding: 60px 0 40px;
    }

    body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) :is(#vahendus, #uhistule, #tais-teenus).canvas-faq {
        margin-block-end: 12px;
        padding: 28px;
    }

    body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #tais-teenus.canvas-faq {
        margin-block-end: 60px;
    }

    body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) :is(#vahendus, #uhistule, #tais-teenus) h2 {
        font-size: 1.9rem;
    }

    body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #investorile {
        padding: 60px 0;
    }

    body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #investorile .canvas-shell {
        padding-inline: 6vw;
    }

    body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #investorile .canvas-section__head {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #investorile .canvas-section__head > p {
        grid-column: 1;
        grid-row: 3;
        margin: 0;
    }

    body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #investorile .canvas-steps__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }

    body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #meist {
        padding: 60px 0;
    }

    body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #meist .canvas-narrative__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #kontakt {
        padding: 55px 0;
    }

    body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #kontakt .canvas-contacts__grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-inline: 6vw;
    }

    body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #kontakt .linnus-agency-contact-person {
        margin-block-start: 0;
    }
}

@media (max-width: 600px) {
    :is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-header {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px 20px;
        min-height: 0;
        padding: 16px 6vw;
    }

    :is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-agency-wordmark {
        font-size: 1.6rem;
    }

    :is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-header__settings {
        grid-column: 2;
        grid-row: 1;
    }

    :is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-navigation .cascade-menu {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: stretch;
        width: 100%;
    }

    :is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-navigation .cascade-menu__list {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px 20px;
        width: 100%;
    }

    :is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-navigation :is(.cascade-menu__link, .cascade-menu__trigger) {
        min-height: 30px;
        font-size: 0.875rem;
    }

    body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) .linnus-agency-hero-menu-fallback__inner {
        padding-inline: 6vw;
    }
}

@media (max-width: 440px) {
    body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #avaleht .canvas-hero__media {
        height: 285px;
    }

    body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) :is(.linnus-agency-hero-menu-fallback, .linnus-agency-hero-menu-slot) .cascade-menu__list {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) :is(.linnus-agency-hero-menu-fallback, .linnus-agency-hero-menu-slot) .cascade-menu__item,
    body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) :is(.linnus-agency-hero-menu-fallback, .linnus-agency-hero-menu-slot) :is(.cascade-menu__link, .cascade-menu__trigger) {
        width: 100%;
    }

    body.linnus-site--agency .canvas-page:has(> .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(> .canvas-page__sections > #tais-teenus.canvas-faq):has(> .canvas-page__sections > #kontakt.canvas-contacts) #investorile .canvas-steps__list {
        grid-template-columns: 1fr;
    }

    body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) .linnus-footer .sapphire-footer__inner,
    body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts) .linnus-footer .sapphire-footer__content {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 360px) {
    :is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-header {
        grid-template-columns: 1fr;
    }

    :is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) :is(.linnus-brand, .linnus-header__settings, .linnus-navigation .cascade-menu) {
        grid-column: 1;
        justify-self: start;
    }

    :is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-header__settings {
        grid-row: 2;
    }

    :is(body.linnus-site--agency:has(.canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(.canvas-page__sections > #tais-teenus.canvas-faq):has(.canvas-page__sections > #kontakt.canvas-contacts), body.linnus-site--properties) .linnus-navigation .cascade-menu {
        grid-row: 3;
    }
}

@media (prefers-reduced-motion: reduce) {
    html:has(body.linnus-site--agency .canvas-page__sections > #avaleht.canvas-hero[data-variant="split"]):has(body.linnus-site--agency .canvas-page__sections > #tais-teenus.canvas-faq):has(body.linnus-site--agency .canvas-page__sections > #kontakt.canvas-contacts) {
        scroll-behavior: auto;
    }
}
