:root {
    color-scheme: light;
    --emma-cream: #fff8ef;
    --emma-fawn: #d7a45d;
    --emma-caramel: #a96c35;
    --emma-ink: #25211d;
    --emma-muted: #6f6258;
    --emma-sage: #2f8f83;
    --emma-sage-soft: #e9f5f2;
    --emma-coral: #d95f43;
    --emma-sky: #e8f1ff;
    --emma-line: rgba(37, 33, 29, 0.14);
}

* {
    box-sizing: border-box;
    letter-spacing: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--emma-ink);
    background: var(--emma-cream);
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

.site-nav {
    min-height: 72px;
    border-bottom: 1px solid var(--emma-line);
    background: rgba(255, 248, 239, 0.94);
    backdrop-filter: blur(12px);
}

.site-nav .container-xl {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--emma-ink);
    font-size: 1.05rem;
    font-weight: 800;
}

.site-brand:hover {
    color: var(--emma-caramel);
}

.main-menu {
    gap: 4px;
    text-align: center;
}

.main-menu .nav-link {
    min-width: 92px;
    color: var(--emma-muted);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 8px;
}

.main-menu .nav-link:hover,
.main-menu .nav-link:focus {
    color: var(--emma-ink);
    background: #ffffff;
}

.navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 40px;
    margin-left: auto;
    border: 1px solid var(--emma-line);
    border-radius: 8px;
    background: #ffffff;
    padding: 0;
}

.navbar-toggler-icon {
    position: relative;
    width: 20px;
    height: 2px;
    background: var(--emma-ink);
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--emma-ink);
    content: "";
}

.navbar-toggler-icon::before {
    top: -7px;
}

.navbar-toggler-icon::after {
    top: 7px;
}

.navbar-collapse {
    flex-grow: 1;
}

.btn {
    min-height: 42px;
    border-radius: 8px;
    font-weight: 800;
}

.btn-primary {
    border-color: var(--emma-coral);
    background: var(--emma-coral);
}

.btn-primary:hover,
.btn-primary:focus {
    border-color: #b94a32;
    background: #b94a32;
}

.btn-outline-dark {
    border-color: var(--emma-ink);
    color: var(--emma-ink);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus {
    border-color: var(--emma-ink);
    background: var(--emma-ink);
}

.btn-google {
    border: 1px solid var(--emma-line);
    background: #ffffff;
    color: var(--emma-ink);
}

.btn-google:hover,
.btn-google:focus {
    border-color: var(--emma-sage);
    color: var(--emma-sage);
}

.btn-google.disabled,
.btn-google:disabled {
    opacity: 0.74;
}

.hero-section {
    padding: 88px 0 64px;
    background:
        linear-gradient(118deg, var(--emma-cream) 0%, #ffffff 52%, var(--emma-sky) 100%);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--emma-caramel);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    max-width: 760px;
    font-size: 4.75rem;
    line-height: 0.98;
    font-weight: 900;
}

h2 {
    margin: 0;
    font-size: 2.25rem;
    line-height: 1.08;
    font-weight: 900;
}

h3 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.22;
    font-weight: 900;
}

.hero-copy {
    max-width: 650px;
    margin: 22px 0 0;
    color: var(--emma-muted);
    font-size: 1.22rem;
    line-height: 1.6;
}

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

.status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid var(--emma-line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--emma-muted);
    font-size: 0.88rem;
    font-weight: 800;
}

.status-pill.is-ok {
    border-color: rgba(47, 143, 131, 0.28);
    background: var(--emma-sage-soft);
    color: var(--emma-sage);
}

.status-pill.is-warn {
    border-color: rgba(217, 95, 67, 0.28);
    background: #fff0eb;
    color: var(--emma-coral);
}

.hero-visual {
    display: grid;
    gap: 18px;
    justify-items: center;
    padding: 28px;
    border: 1px solid var(--emma-line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 22px 70px rgba(37, 33, 29, 0.13);
}

.hero-mark {
    width: min(320px, 100%);
    aspect-ratio: 1;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.hero-badges span {
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--emma-sage-soft);
    color: var(--emma-sage);
    font-size: 0.86rem;
    font-weight: 800;
}

.section-block {
    padding: 72px 0;
}

.news-band {
    background: #ffffff;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 30px;
}

.section-heading p:last-child {
    margin: 12px 0 0;
    color: var(--emma-muted);
    font-size: 1.05rem;
    line-height: 1.55;
}

.news-card,
.feature-card {
    overflow: hidden;
    border: 1px solid var(--emma-line);
    border-radius: 8px;
    background: #ffffff;
}

.news-card {
    display: flex;
    flex-direction: column;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(37, 33, 29, 0.11);
}

.news-image {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 10;
    background: var(--emma-sky);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-image img[src$=".svg"] {
    width: 54%;
    height: 54%;
    object-fit: contain;
}

.news-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--emma-caramel);
    font-size: 0.82rem;
    font-weight: 800;
}

.news-body p {
    margin: 12px 0 0;
    color: var(--emma-muted);
    line-height: 1.55;
}

.news-link {
    margin-top: auto;
    padding-top: 18px;
    color: var(--emma-sage);
    font-weight: 900;
    text-decoration: none;
}

.news-link:hover,
.news-link:focus {
    color: var(--emma-coral);
}

.feature-band {
    background: var(--emma-sage-soft);
}

.feature-card {
    display: flex;
    flex-direction: column;
    min-height: 280px;
    padding: 26px;
}

.feature-label {
    align-self: flex-start;
    margin-bottom: 18px;
    padding: 6px 10px;
    border-radius: 8px;
    background: #ffffff;
    color: var(--emma-caramel);
    font-size: 0.82rem;
    font-weight: 900;
}

.feature-card p {
    margin: 14px 0 0;
    color: var(--emma-muted);
    line-height: 1.55;
}

.feature-card a {
    margin-top: auto;
    color: var(--emma-sage);
    font-weight: 900;
    text-decoration: none;
}

.feature-card a:hover,
.feature-card a:focus {
    color: var(--emma-coral);
}

.account-band {
    background: var(--emma-ink);
    color: #ffffff;
}

.account-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}

.account-panel .eyebrow {
    color: var(--emma-fawn);
}

.account-panel p:last-child {
    max-width: 640px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.55;
}

.site-footer {
    padding: 24px 0;
    background: #15120f;
    color: rgba(255, 255, 255, 0.76);
}

.site-footer .container-xl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
}

.site-footer span:first-child {
    color: #ffffff;
    font-weight: 900;
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: none;
    }

    .navbar-collapse {
        display: flex;
        align-items: center;
    }
}

@media (max-width: 991.98px) {
    .site-nav {
        min-height: 64px;
    }

    .site-nav .container-xl {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .navbar-toggler {
        display: inline-flex !important;
        grid-column: 2;
        justify-self: end;
        margin-left: 0;
    }

    .navbar-collapse {
        grid-column: 1 / 3;
        flex-basis: 100%;
        padding: 18px 0 8px;
    }

    .navbar-collapse:not(.show) {
        display: none;
    }

    .main-menu {
        margin-bottom: 14px;
    }

    .hero-section {
        padding: 68px 0 52px;
    }

    h1 {
        font-size: 3.45rem;
    }

    h2 {
        font-size: 1.95rem;
    }

    .hero-visual {
        padding: 22px;
    }

    .account-panel {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .container-xl {
        padding-right: 20px;
        padding-left: 20px;
    }

    .hero-section {
        padding: 46px 0 38px;
    }

    h1 {
        font-size: 2.65rem;
    }

    h2 {
        font-size: 1.65rem;
    }

    h3 {
        font-size: 1.08rem;
    }

    .hero-copy {
        max-width: 330px;
        font-size: 1.05rem;
    }

    .hero-visual {
        padding: 18px;
    }

    .hero-mark {
        width: min(250px, 100%);
    }

    .hero-actions .btn,
    .account-panel .btn {
        width: 100%;
    }

    .section-block {
        padding: 52px 0;
    }

    .news-body,
    .feature-card {
        padding: 20px;
    }

    .site-footer .container-xl {
        flex-direction: column;
    }
}
