:root {
    --ink: #171412;
    --muted: #665f58;
    --paper: #fbfaf7;
    --surface: #ffffff;
    --line: #e7e1d8;
    --accent: #256f6c;
    --accent-strong: #184f4c;
    --warm: #c4683d;
    --soft-blue: #dceef5;
    --shadow: 0 20px 60px rgba(35, 30, 24, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(18px, 5vw, 64px);
    background: rgba(251, 250, 247, 0.9);
    border-bottom: 1px solid rgba(231, 225, 216, 0.8);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-weight: 760;
    text-decoration: none;
}

.brand img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 3vw, 30px);
    color: var(--muted);
    font-size: 0.94rem;
}

.site-nav a,
.text-link,
.site-footer a {
    text-decoration: none;
}

.site-nav a:hover,
.text-link:hover,
.site-footer a:hover {
    color: var(--accent-strong);
}

.hero {
    position: relative;
    min-height: min(720px, 74vh);
    display: grid;
    align-items: center;
    padding: 76px clamp(18px, 5vw, 64px) 88px;
    overflow: hidden;
    background: #ede7de;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../../imgs/notif_en.png");
    background-repeat: no-repeat;
    background-position: right 7vw center;
    background-size: min(58vw, 760px) auto;
    opacity: 0.42;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(237, 231, 222, 0.98) 0%, rgba(237, 231, 222, 0.88) 48%, rgba(237, 231, 222, 0.18) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent-strong);
    font-size: 0.78rem;
    font-weight: 760;
    letter-spacing: 0;
    text-transform: uppercase;
}

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

h1 {
    margin-bottom: 18px;
    font-size: clamp(3.5rem, 9vw, 7.6rem);
    line-height: 0.92;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.02;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.35rem;
    line-height: 1.2;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 640px;
    margin-bottom: 32px;
    color: #403a34;
    font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 720;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
    color: #ffffff;
    background: var(--accent);
}

.button-primary:hover {
    background: var(--accent-strong);
}

.button-secondary {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.72);
    border-color: var(--line);
}

.section {
    padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 64px);
}

.section-heading {
    width: min(760px, 100%);
    margin-bottom: clamp(30px, 5vw, 56px);
}

.section-heading p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.08rem;
}

.section-heading.compact {
    margin-bottom: 30px;
}

.app-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
}

.app-feature img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
    background: var(--soft-blue);
}

.app-copy {
    max-width: 460px;
}

.app-copy p:not(.eyebrow),
.principle p {
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    margin-top: 4px;
    color: var(--accent-strong);
    font-weight: 720;
}

.principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.principle {
    min-height: 260px;
    padding: clamp(24px, 4vw, 38px);
    background: var(--surface);
}

.principle-number {
    display: block;
    margin-bottom: 54px;
    color: var(--warm);
    font-weight: 780;
}

.contact-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 0 clamp(18px, 5vw, 64px) clamp(64px, 8vw, 96px);
    padding: clamp(28px, 5vw, 48px);
    color: #ffffff;
    background: #1d2928;
    border-radius: 8px;
}

.contact-band h2 {
    max-width: 740px;
    margin-bottom: 0;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.contact-band .eyebrow {
    color: #9bd5cb;
}

.contact-band .button-primary {
    color: #183330;
    background: #bfe9df;
}

.contact-band .button-primary:hover {
    background: #d8f4ee;
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 26px clamp(18px, 5vw, 64px);
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.site-footer p {
    margin: 0;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

@media (max-width: 820px) {
    .site-header {
        position: static;
        align-items: flex-start;
        flex-direction: column;
    }

    .hero {
        min-height: auto;
        padding-top: 64px;
    }

    .hero::before {
        background-position: center bottom 24px;
        background-size: min(92vw, 620px) auto;
        opacity: 0.2;
    }

    .hero::after {
        background: rgba(237, 231, 222, 0.9);
    }

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

    .principle {
        min-height: 0;
    }

    .principle-number {
        margin-bottom: 24px;
    }

    .contact-band {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .site-nav {
        width: 100%;
        justify-content: space-between;
    }

    .hero-actions .button,
    .contact-actions .button {
        width: 100%;
    }

    .section {
        padding-top: 56px;
        padding-bottom: 56px;
    }
}
