:root {
    --paper: #fbf9f4;
    --paper-deep: #f3eee4;
    --cream: #f7f3ea;
    --ink: #1c1712;
    --ink-soft: #3a342c;
    --muted: #5c564e;
    --line: rgba(28, 23, 18, 0.14);
    --pine: #16382f;
    --pine-deep: #102722;
    --clay: #e1843d;
    --clay-deep: #8f3f16;
    --header: 4.6rem;
    color-scheme: light;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Manrope, "Segoe UI", sans-serif;
    font-size: 1.05rem;
    line-height: 1.65;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--clay);
    z-index: 1035;
}

h1,
h2,
h3 {
    font-family: Unbounded, Manrope, "Segoe UI", sans-serif;
    font-weight: 500;
    line-height: 1.16;
    letter-spacing: -0.03em;
    margin: 0;
}

h2 {
    font-size: clamp(1.8rem, 3.3vw, 2.9rem);
    max-width: 14em;
}

p {
    margin: 0;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

::selection {
    background: #f0c19a;
    color: #1b140f;
}

:focus-visible {
    outline: 2px solid var(--clay);
    outline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 1046;
    background: var(--clay);
    color: #1b140f;
    padding: 0.45rem 0.75rem;
    text-decoration: none;
    font-weight: 700;
}

.skip:focus {
    top: 0.7rem;
}

.wrap {
    width: min(1120px, calc(100% - 2.5rem));
    margin-inline: auto;
}

.kicker {
    margin: 0 0 0.85rem;
    color: var(--clay-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.header {
    background: transparent;
    color: var(--ink);
    --bs-navbar-color: #3a342c;
    --bs-navbar-hover-color: #8f3f16;
    --bs-navbar-active-color: #c56a28;
    --bs-navbar-brand-color: #1c1712;
    --bs-navbar-brand-hover-color: #8f3f16;
    --bs-navbar-toggler-border-color: rgba(28, 23, 18, 0.18);
    --bs-navbar-padding-y: 0.7rem;
}

.header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(251, 249, 244, 0.92);
    backdrop-filter: blur(16px);
}

.header.is-stuck {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.header__inner {
    position: relative;
    min-height: var(--header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: inherit;
    text-decoration: none;
}

.brand__mark {
    width: 2.3rem;
    height: 2.3rem;
    flex: none;
}

.brand strong {
    display: block;
    font-family: Unbounded, Manrope, sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.brand small {
    display: block;
    margin-top: 0.12rem;
    color: var(--muted);
    font-size: 0.75rem;
}

#siteMenu {
    background: #fbf9f4;
    color: var(--ink);
}

.offcanvas-title {
    font-size: 1.15rem;
    max-width: none;
}

.site-nav .nav-link {
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 800;
}

.btn svg {
    width: 1.05rem;
    height: 1.05rem;
}

.btn-clay {
    --bs-btn-color: #1b140f;
    --bs-btn-bg: #e1843d;
    --bs-btn-border-color: #e1843d;
    --bs-btn-hover-color: #1b140f;
    --bs-btn-hover-bg: #f09a52;
    --bs-btn-hover-border-color: #f09a52;
    --bs-btn-active-color: #1b140f;
    --bs-btn-active-bg: #d0722e;
    --bs-btn-active-border-color: #d0722e;
    --bs-btn-padding-y: 0.8rem;
    --bs-btn-padding-x: 1.15rem;
}

.btn-ghost {
    --bs-btn-color: #f7f3ea;
    --bs-btn-bg: transparent;
    --bs-btn-border-color: rgba(247, 243, 234, 0.4);
    --bs-btn-hover-color: #f7f3ea;
    --bs-btn-hover-bg: rgba(247, 243, 234, 0.08);
    --bs-btn-hover-border-color: rgba(247, 243, 234, 0.7);
    --bs-btn-active-color: #f7f3ea;
    --bs-btn-active-bg: rgba(247, 243, 234, 0.12);
    --bs-btn-active-border-color: rgba(247, 243, 234, 0.7);
    --bs-btn-padding-y: 0.8rem;
    --bs-btn-padding-x: 1.15rem;
}

.btn-pine {
    --bs-btn-color: #f7f3ea;
    --bs-btn-bg: #16382f;
    --bs-btn-border-color: #16382f;
    --bs-btn-hover-color: #f7f3ea;
    --bs-btn-hover-bg: #1f5244;
    --bs-btn-hover-border-color: #1f5244;
    --bs-btn-active-color: #f7f3ea;
    --bs-btn-active-bg: #102722;
    --bs-btn-active-border-color: #102722;
    --bs-btn-padding-y: 0.8rem;
    --bs-btn-padding-x: 1.15rem;
}

.btn-quiet {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--clay-deep);
    font-weight: 800;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.btn-quiet--light {
    color: var(--cream);
}

.hero {
    position: relative;
    background: linear-gradient(180deg, #dff1fb 0%, #f4fbff 46%, var(--paper) 100%);
    color: var(--ink);
    padding: 8.2rem 0 3.2rem;
}

.hero .kicker {
    color: var(--clay-deep);
}

.hero .lead {
    color: var(--ink-soft);
}

.hero .btn-ghost {
    --bs-btn-color: #1c1712;
    --bs-btn-border-color: rgba(28, 23, 18, 0.28);
    --bs-btn-hover-color: #1c1712;
    --bs-btn-hover-bg: rgba(28, 23, 18, 0.05);
    --bs-btn-hover-border-color: rgba(28, 23, 18, 0.45);
    --bs-btn-active-color: #1c1712;
    --bs-btn-active-bg: rgba(28, 23, 18, 0.08);
    --bs-btn-active-border-color: rgba(28, 23, 18, 0.45);
}

.shot {
    margin: 0;
}

.shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1.35rem;
    box-shadow: 0 18px 40px rgba(22, 56, 47, 0.1);
}

.shot--visit {
    margin-top: 1.2rem;
}

.hero__side {
    display: none;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 3rem;
    align-items: end;
}

.hero h1 {
    font-size: clamp(1.9rem, 3.3vw, 3.25rem);
    max-width: 14em;
    line-height: 1.16;
}

.lead {
    max-width: 38rem;
    margin-top: 1.2rem;
    color: rgba(247, 243, 234, 0.78);
    font-size: 1.12rem;
    font-weight: 500;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.6rem;
}

.stage {
    position: relative;
    margin: 0 1rem 0.4rem 0.4rem;
}

.stage::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 16px -16px -16px 16px;
    background: var(--clay);
}

.browser {
    position: relative;
    z-index: 1;
    background: var(--pine);
    border: 1px solid rgba(247, 243, 234, 0.14);
    padding: 1.1rem 1.1rem 1rem;
}

.browser__top {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.browser__top span {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: rgba(247, 243, 234, 0.28);
}

.browser__top span:first-child {
    background: var(--clay);
}

.browser__top em {
    margin-left: auto;
    font-style: normal;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(247, 243, 234, 0.5);
}

.browser__steps {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

.browser__steps li {
    display: flex;
    gap: 0.8rem;
    align-items: baseline;
    padding: 0.72rem 0.8rem;
    background: rgba(247, 243, 234, 0.04);
    color: rgba(247, 243, 234, 0.78);
}

.browser__steps b {
    font-family: Unbounded, Manrope, sans-serif;
    font-weight: 500;
    font-size: 0.78rem;
    color: var(--clay);
}

.browser__steps .is-now {
    background: rgba(225, 132, 61, 0.16);
    color: var(--cream);
}

.browser__foot {
    margin-top: 0.9rem;
    font-size: 0.85rem;
    color: rgba(247, 243, 234, 0.5);
}

.promises {
    margin-top: 3.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-weight: 700;
}

.block {
    padding: 5.4rem 0;
}

.block--deep {
    background: var(--paper-deep);
}

.section-head {
    margin-bottom: 1.6rem;
}

.principle {
    height: 100%;
    padding: 1.35rem 1.3rem 1.45rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.principle:hover {
    transform: translateY(-3px);
    border-color: rgba(225, 132, 61, 0.55);
}

.kinds {
    background: linear-gradient(180deg, #f4fbff 0%, var(--paper) 70%);
}

.kinds__lead {
    max-width: 36rem;
    margin-top: 0.85rem;
    color: var(--ink-soft);
}

.kind {
    height: 100%;
    padding: 1.4rem 1.15rem 1.25rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.15rem;
    text-align: center;
}

.kind__icon {
    width: 4.6rem;
    height: 4.6rem;
    margin: 0 auto 0.95rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e7f4fb;
    color: var(--pine);
}

.kind__icon svg {
    width: 2.45rem;
    height: 2.45rem;
}

.kind h3 {
    font-size: 1.12rem;
}

.kind p {
    margin-top: 0.45rem;
    color: var(--ink-soft);
    font-size: 0.96rem;
}

.kind__price {
    margin-top: 0.95rem;
    font-family: Unbounded, Manrope, sans-serif;
    font-size: 1.02rem;
    color: var(--clay-deep);
}

.app-note {
    padding-top: 0;
}

.app-note__card {
    padding: 1.5rem 1.25rem 1.4rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.35rem;
}

.app-note__text {
    max-width: 40rem;
    margin-top: 0.9rem;
    color: var(--ink-soft);
}

.app-note__text + .app-note__text {
    margin-top: 0.75rem;
}

.app-note .kind__price {
    margin-top: 1.15rem;
}

.app-note__visual {
    padding: 0.8rem 0.6rem;
    background: #e7f4fb;
    border-radius: 1.1rem;
}

.app-note__visual svg {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 992px) {
    .app-note__card {
        padding: 2rem 2.1rem;
    }
}

.principle__n {
    font-family: Unbounded, Manrope, sans-serif;
    color: var(--clay-deep);
    font-size: 0.82rem;
}

.principle h3 {
    margin: 0.7rem 0 0.5rem;
    font-size: 1.28rem;
}

.principle p {
    color: var(--ink-soft);
    max-width: 36rem;
}

.quote-band {
    background: #e7f4fb;
    color: var(--ink);
    padding: 5.2rem 0;
}

.quote-band__mark {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4.2rem;
    line-height: 0.8;
    color: var(--clay);
}

.quote-band blockquote {
    margin: 0.4rem 0 0;
}

.quote-band blockquote p {
    font-family: Unbounded, Manrope, sans-serif;
    font-weight: 500;
    font-size: clamp(1.7rem, 3.1vw, 2.65rem);
    line-height: 1.28;
    letter-spacing: -0.03em;
    max-width: 16em;
}

.quote-band__note {
    margin-top: 1.2rem;
    max-width: 36rem;
    color: var(--ink-soft);
}

.timeline {
    list-style: none;
    border-top: 1px solid var(--line);
}

.step {
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    gap: 1rem;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--line);
}

.step b {
    font-family: Unbounded, Manrope, sans-serif;
    font-weight: 500;
    color: var(--clay-deep);
    font-size: 0.95rem;
}

.step h3 {
    margin-bottom: 0.35rem;
    font-size: 1.28rem;
}

.step p {
    max-width: 40rem;
    color: var(--ink-soft);
}

.about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 3rem;
    align-items: start;
}

.about__copy {
    margin-top: 1rem;
    max-width: 40rem;
    color: var(--ink-soft);
}

.about__copy p + p {
    margin-top: 1rem;
}

.facts {
    margin: 0;
}

.fact {
    height: 100%;
    padding: 1.05rem 1rem 1rem;
    background: #fff;
    border: 1px solid rgba(28, 23, 18, 0.08);
    border-radius: 1rem;
}

.facts dt {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.facts dd {
    margin: 0.4rem 0 0;
    font-family: Unbounded, Manrope, sans-serif;
    font-size: clamp(1.7rem, 2.6vw, 2.45rem);
    line-height: 1;
    letter-spacing: -0.03em;
}

.facts dd span {
    display: block;
    margin-top: 0.55rem;
    font-family: Manrope, "Segoe UI", sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.35;
    color: var(--ink-soft);
}

.income {
    border-top: 1px solid var(--line);
    background: var(--paper);
}

.income__inner {
    display: grid;
    grid-template-columns: 12rem 1fr;
    gap: 1.5rem;
    align-items: baseline;
    padding: 2.6rem 0;
}

.income__title {
    margin-bottom: 0.7rem;
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    max-width: 16em;
}

.income__text {
    max-width: 42rem;
    font-size: 1.2rem;
}

.faq__list {
    display: grid;
    gap: 0.75rem;
    max-width: 52rem;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 0.15rem 1.2rem 0.15rem 1.25rem;
}

.faq-item summary {
    position: relative;
    padding: 0.95rem 1.8rem 0.95rem 0;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "";
    position: absolute;
    top: 1.35rem;
    right: 0.15rem;
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid var(--clay-deep);
    border-bottom: 2px solid var(--clay-deep);
    transform: rotate(45deg);
}

.faq-item[open] summary::after {
    top: 1.5rem;
    transform: rotate(225deg);
}

.faq-item h3 {
    font-size: 1.05rem;
    line-height: 1.35;
}

.faq-item p {
    max-width: 46rem;
    padding-bottom: 1.05rem;
    color: var(--ink-soft);
}

.visit__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3rem;
    align-items: start;
}

.visit__copy {
    margin-top: 1rem;
    max-width: 38rem;
    color: var(--ink-soft);
}

.visit__points {
    list-style: none;
    display: grid;
    gap: 0.7rem;
    margin-top: 1.5rem;
}

.visit__points li {
    position: relative;
    padding-left: 1.05rem;
    font-weight: 700;
}

.visit__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.42rem;
    height: 0.42rem;
    background: var(--clay);
}

.form-card {
    position: relative;
    background: var(--pine-deep);
    color: var(--cream);
    padding: 1.45rem 1.35rem 1.3rem 1.5rem;
    border-radius: 1.15rem;
    overflow: hidden;
}

.form-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--clay);
}

.form-card h3 {
    font-size: 1.45rem;
    margin-bottom: 0.5rem;
}

.form-lead {
    margin-bottom: 1.15rem;
    color: rgba(247, 243, 234, 0.72);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.field {
    display: grid;
    gap: 0.38rem;
    margin-bottom: 0.9rem;
}

.field label,
.choices legend,
.form-card .form-label {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--cream);
}

.form-card .form-control {
    width: 100%;
    padding: 0.85rem 0.9rem;
    color: var(--cream);
    background: rgba(247, 243, 234, 0.04);
    border: 1px solid rgba(247, 243, 234, 0.22);
    border-radius: 0.7rem;
}

.form-card .form-control:focus {
    color: var(--cream);
    background: rgba(247, 243, 234, 0.07);
    border-color: var(--clay);
    box-shadow: 0 0 0 0.2rem rgba(225, 132, 61, 0.28);
}

.form-card textarea.form-control {
    min-height: 9rem;
    resize: vertical;
}

.form-card .form-control::placeholder {
    color: rgba(247, 243, 234, 0.4);
}

.form-card .invalid-feedback,
.form-card .choices small {
    color: #ffc7b3;
    font-size: 0.86rem;
}

fieldset.choices {
    border: 0;
    margin: 0 0 0.95rem;
    padding: 0;
    min-inline-size: 0;
    display: grid;
    gap: 0.45rem;
}

.choices legend {
    margin-bottom: 0.15rem;
}

.choice {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    padding: 0.7rem 0.75rem;
    border: 1px solid rgba(247, 243, 234, 0.16);
    border-radius: 0.7rem;
    cursor: pointer;
}

.choice span {
    line-height: 1.35;
}

.choice .form-check-input {
    float: none;
    flex: none;
    width: 1.05rem;
    height: 1.05rem;
    margin: 0.15rem 0 0;
    background-color: transparent;
    border-color: rgba(247, 243, 234, 0.5);
}

.choice .form-check-input:checked {
    background-color: var(--clay);
    border-color: var(--clay);
}

.choice .form-check-input:focus {
    border-color: var(--clay);
    box-shadow: 0 0 0 0.2rem rgba(225, 132, 61, 0.28);
}

.choice:has(input:checked) {
    border-color: var(--clay);
    background: rgba(225, 132, 61, 0.12);
}

.form-card .btn {
    width: 100%;
}

.form-note {
    margin-top: 0.8rem;
    color: rgba(247, 243, 234, 0.58);
    font-size: 0.88rem;
}

.hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.alert-success {
    --bs-alert-color: #16462c;
    --bs-alert-bg: #e5f3e8;
    --bs-alert-border-color: #c5e4ce;
}

.alert-danger {
    --bs-alert-color: #6d2c14;
    --bs-alert-bg: #fde7df;
    --bs-alert-border-color: #f3cbbd;
}

.footer {
    background: var(--pine-deep);
    color: rgba(247, 243, 234, 0.76);
    padding: 3rem 0 2.6rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr auto;
    gap: 2rem;
}

.footer__brand {
    margin-bottom: 0.55rem;
    font-family: Unbounded, Manrope, sans-serif;
    color: var(--cream);
    font-size: 1.15rem;
}

.footer a {
    display: inline-block;
    margin-top: 0.8rem;
    color: var(--cream);
}

.footer__meta {
    text-align: right;
}

#podhod,
#vidy,
#prilozhenie,
#hod,
#obo-mne,
#vstrecha,
#zadacha,
#dohod {
    scroll-margin-top: 5.6rem;
}

.page-offset {
    padding: 8rem 0 5rem;
}

.narrow {
    max-width: 40rem;
}

.narrow h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    max-width: 12em;
}

.narrow__text {
    margin: 1rem 0 1.4rem;
    color: var(--ink-soft);
}

.hero h1,
.hero .lead,
.hero .hero__actions,
.stage {
    animation: rise 0.7s ease both;
}

.hero .lead { animation-delay: 0.08s; }
.hero .hero__actions { animation-delay: 0.14s; }
.stage { animation-delay: 0.1s; }

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.js .reveal {
    opacity: 0;
    transform: translateY(40px);
}

.js .reveal--left {
    transform: translateX(-48px);
}

.js .reveal--right {
    transform: translateX(48px);
}

.js .reveal--pop {
    transform: translateY(18px) scale(0.96);
}

.js .reveal.is-in {
    animation: reveal-up 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: var(--d, 0ms);
}

.js .reveal--left.is-in {
    animation-name: reveal-side;
}

.js .reveal--right.is-in {
    animation-name: reveal-side;
}

.js .reveal--pop.is-in {
    animation-name: reveal-pop;
}

.reveal-stagger > :nth-child(2) > .reveal,
.reveal-stagger > :nth-child(2).reveal { --d: 90ms; }
.reveal-stagger > :nth-child(3) > .reveal,
.reveal-stagger > :nth-child(3).reveal { --d: 180ms; }
.reveal-stagger > :nth-child(4) > .reveal,
.reveal-stagger > :nth-child(4).reveal { --d: 270ms; }
.reveal-stagger > :nth-child(5) > .reveal,
.reveal-stagger > :nth-child(5).reveal { --d: 360ms; }

@keyframes reveal-up {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: none; }
}

@keyframes reveal-side {
    from { opacity: 0; }
    to { opacity: 1; transform: none; }
}

@keyframes reveal-pop {
    from { opacity: 0; transform: translateY(18px) scale(0.96); }
    to { opacity: 1; transform: none; }
}

.is-inbox {
    background: var(--paper);
}

.shell {
    width: min(860px, calc(100% - 2rem));
    margin-inline: auto;
}

.shell--wide {
    width: min(980px, calc(100% - 2rem));
}

.has-js .admin-read {
    display: none;
}

.has-js .admin-read.is-needed {
    display: block;
}

.admin-list {
    margin-top: 1.3rem;
    display: grid;
    gap: 0.7rem;
}

.admin-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    overflow: hidden;
}

.admin-item > summary {
    display: grid;
    grid-template-columns: minmax(8rem, 0.8fr) minmax(0, 1.4fr) auto;
    gap: 0.75rem 1rem;
    align-items: baseline;
    padding: 0.95rem 1.05rem;
    cursor: pointer;
    list-style: none;
    font-weight: 500;
}

.admin-item > summary::-webkit-details-marker,
.admin-item > summary::marker {
    content: "";
    display: none;
}

.admin-item.is-new > summary {
    font-weight: 800;
}

.admin-item__who {
    font-family: Unbounded, Manrope, sans-serif;
    font-size: 1rem;
}

.admin-item__mail {
    color: var(--ink-soft);
    overflow-wrap: anywhere;
}

.admin-item > summary time {
    color: var(--muted);
    font-size: 0.9rem;
    white-space: nowrap;
}

.admin-item__panel {
    padding: 0.2rem 1.05rem 1.05rem;
    border-top: 1px solid var(--line);
}

.admin-item__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1.2rem;
    margin: 0.9rem 0 0;
}

.admin-item__facts dt {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.admin-item__facts dd {
    margin: 0.2rem 0 0;
}

.admin-item__text {
    margin-top: 1rem;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.admin-item__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.2rem;
    margin-top: 0.9rem;
}

@media (max-width: 700px) {
    .admin-item > summary {
        grid-template-columns: 1fr auto;
    }

    .admin-item__mail {
        grid-column: 1 / -1;
    }

    .admin-item__facts {
        grid-template-columns: 1fr;
    }
}

.inbox-bar {
    background: var(--pine-deep);
    color: var(--cream);
}

.inbox-bar__inner {
    min-height: 4.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.inbox-home {
    color: var(--cream);
    font-weight: 800;
    text-decoration: none;
}

.inbox-main {
    padding: 2.2rem 0 4rem;
}

.inbox-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.inbox-lead,
.login-card__text,
.inbox-empty {
    margin-top: 0.45rem;
    color: var(--ink-soft);
}

.inbox-empty {
    margin-top: 1.2rem;
}

.login-card {
    width: min(440px, 100%);
    margin: 6vh auto 0;
    padding: 1.4rem 1.3rem 1.3rem;
    background: var(--cream);
    border: 1px solid rgba(28, 23, 18, 0.1);
}

.login-card h1 {
    font-size: 2rem;
}

.login-card__text {
    margin-bottom: 1rem;
}

.input,
.field--light input {
    width: 100%;
    padding: 0.85rem 0.9rem;
    border: 1px solid rgba(28, 23, 18, 0.2);
    background: #fff;
    color: var(--ink);
}

.login-card .btn {
    margin-top: 0.2rem;
}

.letter {
    margin-top: 0.9rem;
    padding: 1.1rem 1.1rem 0.95rem;
    background: var(--cream);
    border: 1px solid rgba(28, 23, 18, 0.1);
}

.letter__top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
}

.letter__top h2 {
    font-size: 1.2rem;
    max-width: none;
}

.letter__top time {
    color: var(--muted);
    font-size: 0.9rem;
    white-space: nowrap;
}

.letter__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    margin: 0.35rem 0 0.7rem;
}

.letter__meta a {
    color: var(--clay-deep);
    font-weight: 800;
}

.badge {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    background: #f3e2d4;
    color: #6d3414;
    font-size: 0.84rem;
    font-weight: 700;
}

.letter__text {
    margin-top: 0.85rem;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.letter__foot {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-top: 0.95rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.9rem;
}

code {
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.92em;
}

@media (min-width: 1280px) {
    .hero__side {
        display: block;
        position: absolute;
        left: 1rem;
        top: 9rem;
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        letter-spacing: 0.16em;
        text-transform: uppercase;
        font-size: 0.72rem;
        color: rgba(28, 23, 18, 0.4);
    }
}

@media (max-width: 1199.98px) {
    #siteMenu .nav-link {
        padding-top: 0.85rem;
        padding-bottom: 0.85rem;
        font-size: 1.2rem;
    }

    #siteMenu .offcanvas-body {
        padding-top: 0.4rem;
    }

    #siteMenu .btn {
        width: 100%;
        margin-top: 0.35rem;
    }
}

@media (max-width: 960px) {
    .stage {
        margin: 0;
    }

    .stage::before {
        inset: 12px -8px -12px 8px;
    }
}

@media (max-width: 860px) {
    .footer__meta {
        text-align: left;
    }
}

@media (max-width: 700px) {
    .wrap {
        width: min(1120px, calc(100% - 1.5rem));
    }

    .hero {
        padding-top: 7.2rem;
    }

    .block {
        padding: 4rem 0;
    }
}

@media (max-width: 600px) {
    .step,
    .letter__top,
    .letter__foot {
        grid-template-columns: 1fr;
        display: grid;
    }

    .letter__top time,
    .facts {
        white-space: normal;
    }

    .facts {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1200px) {
    #siteMenu {
        background: transparent;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .js .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
