/* ============================================================
   Components — buttons, phone, gallery, feature rows, cards
   ============================================================ */

/* ---------- Buttons ---------- */

.btn {
    --btn-bg: var(--forest-700);
    --btn-fg: var(--cream-050);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-weight: 600;
    font-size: var(--step--1);
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
                background 0.25s var(--ease);
    box-shadow: 0 1px 2px rgba(16, 21, 18, 0.12);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -10px rgba(20, 48, 31, 0.55);
}

.btn:active {
    transform: translateY(0);
}

.btn svg {
    width: 17px;
    height: 17px;
    flex: none;
}

.btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--ink);
    border: 1px solid var(--line);
    box-shadow: none;
}

.btn--ghost:hover {
    background: var(--surface-2);
    border-color: var(--ink-4);
    box-shadow: none;
}

.btn--brass {
    --btn-bg: var(--brass-500);
    --btn-fg: #1d1403;
}

.btn--sm {
    padding: 0.62rem 1.15rem;
    font-size: 0.82rem;
}

.section--dark .btn--ghost {
    --btn-fg: var(--cream-050);
    border-color: rgba(251, 248, 241, 0.25);
}

.section--dark .btn--ghost:hover {
    background: rgba(251, 248, 241, 0.08);
    border-color: rgba(251, 248, 241, 0.5);
}

/* ---------- Preloader ---------- */

.preloader {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: #fff;
    display: grid;
    place-items: center;
    transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}

.preloader.is-done {
    opacity: 0;
    visibility: hidden;
}

.preloader__mark {
    position: relative;
    display: grid;
    place-items: center;
}

.preloader__mark img {
    width: 92px;
    height: 92px;
    border-radius: 26px;
    box-shadow: 0 18px 40px -18px rgba(14, 33, 22, 0.5);
    animation: markIn 0.9s var(--ease) both;
}

.preloader__ring {
    position: absolute;
    inset: -14px;
    border-radius: 34px;
    border: 1.5px solid var(--line);
    border-top-color: var(--forest-500);
    animation: spin 1s linear infinite;
}

.preloader__bar {
    position: absolute;
    bottom: -46px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: var(--line);
    border-radius: 2px;
    overflow: hidden;
}

.preloader__bar i {
    display: block;
    height: 100%;
    width: 0;
    background: var(--forest-500);
    transition: width 0.3s var(--ease);
}

@keyframes markIn {
    from { opacity: 0; transform: scale(0.86); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ---------- 3D phone ---------- */

.stage {
    perspective: 1600px;
    perspective-origin: 50% 45%;
    display: grid;
    place-items: center;
    position: relative;
    min-height: 540px;
}

.stage__glow {
    position: absolute;
    width: min(100%, 640px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 143, 99, 0.13), transparent 62%);
    filter: blur(12px);
    pointer-events: none;
}

.phone {
    position: relative;
    width: min(300px, 74vw);
    aspect-ratio: 9 / 19.5;
    border-radius: 46px;
    background: linear-gradient(150deg, #2b332d, #10160f 46%, #232b25);
    padding: 9px;
    transform-style: preserve-3d;
    box-shadow:
        0 2px 3px rgba(255, 255, 255, 0.18) inset,
        0 -1px 3px rgba(0, 0, 0, 0.5) inset,
        var(--shadow-3);
    transition: transform 0.6s var(--ease);
    will-change: transform;
}

.phone__screen {
    position: relative;
    height: 100%;
    border-radius: 38px;
    overflow: hidden;
    background: #fff;
    transform: translateZ(1px);
}

.phone__screen img {
    width: 100%;
    height: 100%;
    /* contain, not cover: the whole screen stays visible and the frame's
       white background makes any letterboxing invisible. */
    object-fit: contain;
    object-position: center;
    position: absolute;
    inset: 0;
    opacity: 0;
    /* Opaque plate so the incoming screen covers the outgoing one instead
       of the two blending into a muddy double-exposure mid-transition. */
    background: #fff;
    transform: scale(1.015);
    transition: opacity 0.45s var(--ease), transform 0.6s var(--ease);
    z-index: 1;
}

.phone__screen img.is-active {
    opacity: 1;
    transform: none;
    z-index: 2;
}

.phone__notch {
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translate(-50%, 0) translateZ(2px);
    width: 86px;
    height: 22px;
    background: #0d120f;
    border-radius: 0 0 14px 14px;
    z-index: 3;
}

.phone__glare {
    position: absolute;
    inset: 0;
    border-radius: 38px;
    background: linear-gradient(122deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0) 34%);
    pointer-events: none;
    z-index: 4;
    opacity: 0.75;
}

/* Floating chips that orbit the phone */
.chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 0.95rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow-2);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    transform: translateZ(60px);
    animation: bob 6s ease-in-out infinite;
}

.chip i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex: none;
}

.chip--a { top: 12%; left: -6%; animation-delay: -0.6s; }
.chip--b { top: 44%; right: -10%; animation-delay: -2.4s; }
.chip--c { bottom: 15%; left: -9%; animation-delay: -4.1s; }

@keyframes bob {
    0%, 100% { transform: translate3d(0, 0, 60px); }
    50% { transform: translate3d(0, -11px, 60px); }
}

@media (max-width: 620px) {
    .chip--a { left: -2%; }
    .chip--b { right: -2%; }
    .chip--c { left: -2%; }
    .chip { font-size: 0.72rem; padding: 0.5rem 0.8rem; }
}

/* ---------- Screen switcher (under the phone) ---------- */

.switcher {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.25rem;
}

.switcher button {
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink-3);
    background: var(--surface);
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
                color 0.25s var(--ease);
}

.switcher button:hover {
    border-color: var(--ink-4);
    color: var(--ink);
}

.switcher button[aria-selected='true'] {
    background: var(--forest-700);
    border-color: var(--forest-700);
    color: var(--cream-050);
}

/* ---------- Feature rows ---------- */

.feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.feature + .feature {
    margin-top: clamp(4rem, 9vw, 7.5rem);
}

.feature:nth-child(even) .feature__media {
    order: -1;
}

.feature__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 1.15rem;
}

.feature__tag i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.feature h3 {
    margin-bottom: 0.9rem;
}

.feature__list {
    margin-top: 1.5rem;
    display: grid;
    gap: 0.7rem;
}

.feature__list li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    font-size: var(--step--1);
    color: var(--ink-2);
}

.feature__list svg {
    width: 17px;
    height: 17px;
    flex: none;
    margin-top: 0.22rem;
    color: var(--forest-500);
}

.feature__media {
    position: relative;
    display: grid;
    place-items: center;
    padding: clamp(1.5rem, 4vw, 2.75rem);
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    overflow: hidden;
}

.feature__media::after {
    content: '';
    position: absolute;
    inset: auto -30% -55% -30%;
    height: 70%;
    background: radial-gradient(ellipse at top, rgba(47, 143, 99, 0.1), transparent 70%);
    pointer-events: none;
}

.shot {
    width: min(238px, 62vw);
    aspect-ratio: 9 / 19.5;
    border-radius: 30px;
    overflow: hidden;
    background: #fff;
    border: 7px solid #171d19;
    box-shadow: var(--shadow-2);
    position: relative;
    z-index: 1;
}

.shot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 860px) {
    .feature {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature:nth-child(even) .feature__media {
        order: 0;
    }
}

/* ---------- Gallery ---------- */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: clamp(0.9rem, 2vw, 1.4rem);
}

@media (max-width: 560px) {
    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .gallery__cap {
        padding: 0.7rem 0.75rem 0.8rem;
    }

    .gallery__cap span {
        font-size: 0.72rem;
    }
}

.gallery__item {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 0;
    text-align: left;
    display: block;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
                border-color 0.4s var(--ease);
}

.gallery__item:hover,
.gallery__item:focus-visible {
    transform: translateY(-6px);
    box-shadow: var(--shadow-2);
    border-color: var(--ink-4);
}

.gallery__thumb {
    /* It is a <span>; without this it stays inline, aspect-ratio and
       overflow are both ignored, and the img inherits the button's height
       instead — which made every thumbnail crop its sides. */
    display: block;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: var(--surface-2);
}

.gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s var(--ease);
}

.gallery__item:hover .gallery__thumb img {
    transform: scale(1.04);
}

.gallery__cap {
    display: block;
    padding: 0.85rem 1rem 1rem;
    border-top: 1px solid var(--line-2);
}

.gallery__cap strong {
    display: block;
    font-size: var(--step--1);
    font-weight: 650;
}

.gallery__cap span {
    font-size: 0.78rem;
    color: var(--ink-3);
}

/* ---------- Lightbox ---------- */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: grid;
    place-items: center;
    padding: var(--gutter);
    background: rgba(10, 16, 12, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox__panel {
    overscroll-behavior: contain;
    display: grid;
    grid-template-columns: auto minmax(0, 300px);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    background: #fff;
    border-radius: var(--r-xl);
    padding: clamp(1.25rem, 3vw, 2.25rem);
    max-width: min(900px, 100%);
    max-height: 90vh;
    overflow: auto;
    transform: scale(0.96) translateY(10px);
    transition: transform 0.4s var(--ease);
}

.lightbox.is-open .lightbox__panel {
    transform: none;
}

.lightbox__shot[hidden] {
    display: none;
}

.lightbox__panel:has(.lightbox__shot[hidden]) {
    grid-template-columns: minmax(0, 380px);
}

.lightbox__shot {
    width: min(250px, 52vw);
    aspect-ratio: 9 / 19.5;
    border-radius: 30px;
    overflow: hidden;
    border: 8px solid #171d19;
    background: #fff;
    box-shadow: var(--shadow-2);
}

.lightbox__shot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.lightbox__meta h3 {
    margin-bottom: 0.7rem;
}

.lightbox__nav {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.75rem;
}

.lightbox__nav button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.lightbox__nav button:hover {
    background: var(--surface-2);
    border-color: var(--ink-4);
}

.lightbox__count {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--ink-4);
    align-self: center;
    margin-left: 0.4rem;
}

.lightbox__close {
    position: absolute;
    top: clamp(1rem, 3vw, 2rem);
    right: clamp(1rem, 3vw, 2rem);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    display: grid;
    place-items: center;
    transition: background 0.25s var(--ease);
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.26);
}

@media (max-width: 760px) {
    .lightbox__panel {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .lightbox__nav {
        justify-content: center;
    }
}

/* ---------- Step cards ---------- */

.steps {
    counter-reset: step;
    display: grid;
    gap: clamp(1rem, 2.5vw, 1.5rem);
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step {
    position: relative;
    overflow: hidden;
    padding: clamp(1.2rem, 2vw, 1.55rem);
    border-radius: var(--r-lg);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(251, 248, 241, 0.04) 38%),
        linear-gradient(165deg, #1b4029 0%, #14301f 100%);
    border: 1px solid rgba(111, 227, 164, 0.28);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.16) inset,
        0 -2px 0 rgba(8, 40, 24, 0.35) inset,
        0 16px 36px -22px rgba(0, 0, 0, 0.55);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.step::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #8af0b8, #2f8f63, #176b42);
}

.step:hover {
    transform: translate3d(0, -4px, 0);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 22px 40px -20px rgba(47, 143, 99, 0.45);
}

.step::before {
    counter-increment: step;
    content: '0' counter(step);
    display: block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    color: var(--brass-400);
    margin-bottom: 0.7rem;
}

.step h3 {
    font-size: var(--step-1);
    margin-bottom: 0.6rem;
}

.step p {
    font-size: var(--step--1);
}

@media (max-width: 900px) {
    .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
    .steps { grid-template-columns: 1fr; }
}

.steps--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1080px) {
    .steps--4 { grid-template-columns: 1fr 1fr; }
}

/* ---------- Benefit cards ---------- */

.card {
    position: relative;
    overflow: hidden;
    padding: clamp(1.2rem, 2vw, 1.5rem);
    border-radius: var(--r-lg);
    border: 1px solid rgba(47, 143, 99, 0.2);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, #f4fbf6 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 14px 32px -20px rgba(20, 48, 31, 0.35);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.card::before,
.feat__col::before,
.split__card::before,
.contact__form::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #8af0b8, #2f8f63, #176b42);
}

.card:hover {
    transform: translate3d(0, -5px, 0);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 22px 40px -16px rgba(47, 143, 99, 0.38);
}

.card__icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 0.85rem;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 6px 14px -8px rgba(16, 21, 18, 0.35);
}

.card__icon svg {
    width: 20px;
    height: 20px;
}

/* Named so a CSP with no 'unsafe-inline' style-src can hold — these six
   fixed pairs were previously an inline style="" per icon. */
.card__icon[data-tone='green']  { background: #EEF8F3; color: #2F8F63; }
.card__icon[data-tone='amber']  { background: #FFF3EA; color: #DE9524; }
.card__icon[data-tone='blue']   { background: #EEF4FF; color: #2B8FD6; }
.card__icon[data-tone='purple'] { background: #F5F0FB; color: #7A5AF8; }
.card__icon[data-tone='teal']   { background: #E7F7F7; color: #1F8A8A; }
.card__icon[data-tone='brown']  { background: #FFF4D4; color: #8E5A0C; }

.card h3 {
    font-size: var(--step-1);
    margin-bottom: 0.5rem;
}

.card p {
    font-size: var(--step--1);
    color: var(--ink-3);
}

/* ---------- Download ---------- */

.download {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.dl-card {
    background: rgba(251, 248, 241, 0.05);
    border: 1px solid rgba(251, 248, 241, 0.14);
    border-radius: var(--r-xl);
    padding: clamp(1.5rem, 3.5vw, 2.25rem);
}

.dl-card + .dl-card {
    margin-top: 1rem;
}

.dl-card__head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.dl-card__head img {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    flex: none;
}

.dl-card__head strong {
    display: block;
    font-family: var(--font-display);
    font-size: var(--step-1);
    font-weight: 600;
}

.dl-card__head span {
    font-size: 0.78rem;
    color: rgba(251, 248, 241, 0.6);
    font-family: var(--font-mono);
}

.dl-note {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    margin-top: 1.5rem;
    padding: 0.9rem 1.1rem;
    border-radius: var(--r-md);
    background: rgba(200, 154, 74, 0.1);
    border: 1px solid rgba(200, 154, 74, 0.28);
    font-size: 0.82rem;
    color: rgba(251, 248, 241, 0.82);
}

.dl-note svg {
    width: 17px;
    height: 17px;
    flex: none;
    color: var(--brass-400);
    margin-top: 0.15rem;
}

@media (max-width: 880px) {
    .download { grid-template-columns: 1fr; }
}

/* ---------- Vault (security) ---------- */

.vault-section {
    min-height: auto;
    padding-block: calc(3.75rem + var(--section-y)) clamp(1.5rem, 4vh, 2.5rem);
}

.vault__head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(1.25rem, 4vw, 3rem);
    align-items: end;
    margin-bottom: clamp(1.25rem, 3vh, 2rem);
}

.vault__head h2 {
    margin: 0.45rem 0 0;
    max-width: 16ch;
}

.vault__head .lede {
    margin: 0;
}

.vault__board {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.vault__cell {
    position: relative;
    overflow: hidden;
    padding: 1.2rem 1.1rem 1.3rem;
    border-radius: var(--r-lg);
    border: 1px solid rgba(111, 227, 164, 0.28);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(251, 248, 241, 0.04) 40%),
        linear-gradient(165deg, #1b4029 0%, #14301f 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.14) inset,
        0 16px 36px -22px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.vault__cell::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #8af0b8, #2f8f63, #176b42);
}

.vault__cell:hover {
    transform: translate3d(0, -4px, 0);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 22px 40px -20px rgba(47, 143, 99, 0.45);
}

.vault__no {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    color: var(--brass-400);
    margin-bottom: 0.85rem;
}

.vault__cell h3 {
    font-family: var(--font-display);
    font-size: var(--step-1);
    font-weight: 600;
    margin: 0 0 0.45rem;
    color: var(--cream-050);
}

.vault__cell p {
    margin: 0;
    font-size: var(--step--1);
    line-height: 1.5;
    color: rgba(251, 248, 241, 0.68);
}

.vault__foot {
    margin: 1.15rem 0 0;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: rgba(251, 248, 241, 0.55);
}

@media (max-width: 900px) {
    .vault__head {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .vault__head h2 {
        max-width: none;
    }

    .vault__board {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .vault__board {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vault__cell:hover,
    .step:hover,
    .card:hover,
    .feat__col:hover,
    .split__card:hover {
        transform: none;
    }
}

/* ---------- Feature columns ---------- */

.section--flush {
    min-height: auto;
}

.feat {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.4vw, 1.5rem);
}

.feat__col {
    position: relative;
    overflow: hidden;
    padding: 1.4rem 1.25rem 1.45rem;
    border-radius: var(--r-lg);
    border: 1px solid rgba(47, 143, 99, 0.2);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, #f4fbf6 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 14px 32px -20px rgba(20, 48, 31, 0.35);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.feat__col:hover {
    transform: translate3d(0, -5px, 0);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 22px 40px -16px rgba(47, 143, 99, 0.38);
}

.feat__col h3 {
    font-size: var(--step-1);
    margin: 0.45rem 0 0.95rem;
}

.feat__col .eyebrow {
    display: inline-flex;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    background: #eef8f3;
    color: var(--forest-700);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.feat__col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.feat__col li {
    position: relative;
    padding: 0.45rem 0 0.45rem 1.1rem;
    font-size: var(--step--1);
    color: var(--ink-3);
    border-bottom: 1px solid var(--line-2);
}

.feat__col li:last-child {
    border-bottom: 0;
}

.feat__col li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--forest-500);
}

.split {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.4vw, 1.5rem);
}

.split__card {
    position: relative;
    overflow: hidden;
    padding: 1.45rem 1.35rem 1.55rem;
    border-radius: var(--r-lg);
    border: 1px solid rgba(47, 143, 99, 0.2);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, #f4fbf6 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 14px 32px -20px rgba(20, 48, 31, 0.35);
    display: grid;
    align-content: start;
    gap: 0.75rem;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.split__card:hover {
    transform: translate3d(0, -5px, 0);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 1) inset,
        0 22px 40px -16px rgba(47, 143, 99, 0.38);
}

.split__card h3 {
    margin: 0;
    font-size: var(--step-1);
}

.split__card p {
    margin: 0;
    font-size: var(--step--1);
    color: var(--ink-3);
}

.split__card .btn {
    justify-self: start;
    margin-top: 0.4rem;
}

.contact {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: start;
}

.contact__intro h2 {
    margin: 0.45rem 0 0.7rem;
    max-width: 12ch;
}

.contact__points {
    margin: 1.1rem 0 1.25rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 1100px) {
    .contact__points {
        grid-template-columns: 1fr 1fr;
    }
}

.contact__points li {
    position: relative;
    padding: 0.35rem 0 0.35rem 1.15rem;
    font-size: var(--step--1);
    color: var(--ink-3);
}

.contact__points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--forest-500);
}

.contact__mail {
    display: inline-flex;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    font-size: var(--step--1);
    color: var(--forest-700);
    font-weight: 600;
}

.contact__mail:hover {
    border-color: var(--forest-500);
}

.contact__form {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 0.9rem;
    padding: clamp(1.35rem, 3vw, 1.85rem);
    border-radius: var(--r-lg);
    border: 1px solid rgba(47, 143, 99, 0.2);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, #f4fbf6 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 14px 32px -20px rgba(20, 48, 31, 0.35);
}

.contact__form label {
    display: grid;
    gap: 0.35rem;
}

.contact__form label span {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-4);
}

.contact__form input,
.contact__form select,
.contact__form textarea {
    width: 100%;
    padding: 0.78rem 0.9rem;
    border-radius: var(--r-sm);
    border: 1px solid var(--line);
    background: var(--cream-050);
    color: var(--ink);
    font: inherit;
    outline: none;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
    border-color: var(--forest-500);
    box-shadow: 0 0 0 3px rgba(47, 143, 99, 0.16);
}

.contact__form textarea {
    resize: vertical;
    min-height: 8.5rem;
}

.contact__count {
    justify-self: end;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--ink-4);
}

.contact__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.contact__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.1rem;
    margin-top: 0.2rem;
}

.contact__hint {
    font-size: 0.78rem;
    color: var(--ink-4);
}

.contact__honey {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.contact__flash {
    margin: 0;
    padding: 0.7rem 0.85rem;
    border-radius: var(--r-sm);
    font-size: var(--step--1);
}

.contact__flash.is-ok {
    background: #EEF8F3;
    color: var(--forest-700);
}

.contact__flash.is-err {
    background: var(--tomato-050);
    color: var(--tomato-700);
}

@media (max-width: 900px) {
    .feat,
    .split,
    .contact {
        grid-template-columns: 1fr;
    }

    .contact__intro h2 {
        max-width: none;
    }
}

@media (max-width: 620px) {
    .contact__row {
        grid-template-columns: 1fr;
    }
}
