:root {
    color-scheme: dark;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: #111111;
    background: rgba(13, 13, 13, 0.8);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-optical-sizing: auto;
    --green: rgba(0, 0, 0, 0.72);
    --dark-green: rgba(0, 0, 0, 0.82);
    --ink: rgba(17, 17, 17, 0.9);
    --muted: #797979;
    --cream: #f6f6f6;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    flex-direction: column;
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background:
        linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
        url("./assets/img/bg.jpg") center / cover fixed no-repeat;
}

main {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 170px);
    min-height: calc(100svh - 170px);
    padding: 12px 0;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header,
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100% - 96px, 1240px);
    margin: 0 auto;
}

.site-header {
    height: 88px;
    flex-shrink: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -.04em;
}

.brand strong {
    color: #fff;
}

.mini-brand b {
    color: var(--green);
}

.brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 11px;
    color: #fff;
    background: var(--green);
    font-size: 1rem;
    font-weight: 800;
}

.admin-link {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 9px;
    padding: 0 16px;
    border: 1px solid #dfe7e0;
    border-radius: 8px;
    color: #31483f;
    background: #fff;
    font-size: .87rem;
    font-weight: 650;
    transition: border-color .2s, color .2s, transform .2s;
}

.admin-link:hover {
    transform: translateY(-1px);
    border-color: var(--green);
    color: var(--green);
}

.hero {
    position: relative;
    display: grid;
    width: min(100% - 96px, 1240px);
    min-height: 555px;
    grid-template-columns: 1.06fr .94fr;
    align-items: center;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(110deg, rgba(10, 10, 10, 0.5) 0%, rgba(28, 28, 28, 0.46) 48%, rgba(48, 48, 48, 0.32) 100%);
}

.hero-copy {
    position: relative;
    z-index: 2;
    max-width: 620px;
    padding: 72px 0 76px 76px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 22px;
    color: var(--green);
    font-size: .75rem;
    font-weight: 750;
    letter-spacing: .105em;
    text-transform: uppercase;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4a9d70;
    box-shadow: 0 0 0 4px #d9ebdd;
}

h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 720;
    letter-spacing: -.065em;
    line-height: 1.07;
}

.hero-subtitle {
    max-width: 100%;
    margin: 12px 0 0;
    color: #f2f2f2;
    font-size: clamp(.9rem, 2vw, 1.25rem);
    font-weight: 700;
    line-height: 1.4;
    text-wrap: balance;
}

.hero-year {
    margin: 14px 0 0;
    color: #f2f2f2;
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    line-height: 1.4;
}

h1 span {
    color: #ffffff;
}

.intro {
    max-width: 475px;
    margin: 22px 0 28px -12px;
    padding: 0;
    border-radius: 0;
    color: #f0f0f0;
    background: transparent;
    box-shadow: none;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.8;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: .92rem;
    font-weight: 700;
    transition: transform .2s, background .2s, border-color .2s;
}

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

.button-primary {
    min-height: 58px;
    gap: 18px;
    padding: 0 26px;
    color: #fff;
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    box-shadow: 0 7px 18px rgba(21, 101, 192, 0.35);
    font-size: 1rem;
}

.button-primary:hover {
    background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
}

.button-secondary {
    border-color: #d6e0d6;
    color: #31483f;
    background: #ffffffa8;
}

.button-secondary:hover {
    border-color: #9cbca7;
    background: #fff;
}

.trust-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 28px;
    color: #607168;
    font-size: .8rem;
}

.check-icon {
    display: grid;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    place-items: center;
    border-radius: 50%;
    color: var(--green);
    background: #d9ebdd;
    font-size: .72rem;
    font-weight: 800;
}

.hero-art {
    position: relative;
    display: grid;
    min-height: 500px;
    place-items: center;
}

.art-orbit {
    position: absolute;
    width: 410px;
    height: 410px;
    border: 1px solid #cbdcc9;
    border-radius: 50%;
}

.orbit-two {
    width: 330px;
    height: 330px;
    border-color: #dbe6d7;
}

.art-card {
    position: relative;
    z-index: 1;
    width: 276px;
    padding: 20px 21px 18px;
    transform: rotate(3deg);
    border: 1px solid #ffffffd9;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 25px 70px #284c3430;
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mini-brand {
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: -.03em;
}

.card-dots {
    color: #abb8ad;
    font-size: .75rem;
    letter-spacing: 2px;
}

.book-illustration {
    position: relative;
    height: 210px;
    margin-top: 14px;
    overflow: hidden;
    border-radius: 11px;
    background: #f0f5eb;
}

.book {
    position: absolute;
    bottom: 35px;
    width: 95px;
    height: 120px;
    border-radius: 4px 8px 8px 4px;
    box-shadow: 5px 7px 12px #3047351a;
}

.book-back {
    left: 72px;
    transform: rotate(-12deg);
    background: #d79262;
}

.book-front {
    left: 106px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 30px 12px;
    transform: rotate(7deg);
    border-left: 5px solid #327766;
    background: #76a994;
}

.book-front span {
    width: 75%;
    height: 3px;
    border-radius: 5px;
    background: #e9f1e5;
}

.book-front span:nth-child(2) {
    width: 55%;
}

.book-front span:nth-child(3) {
    width: 65%;
}

.plant-stem {
    position: absolute;
    right: 35px;
    bottom: 44px;
    width: 3px;
    height: 85px;
    transform: rotate(14deg);
    transform-origin: bottom;
    border-radius: 5px;
    background: #557b54;
}

.plant-leaf {
    position: absolute;
    width: 20px;
    height: 34px;
    border-radius: 100% 0 100% 0;
    background: #82a978;
}

.leaf-one {
    right: 38px;
    bottom: 112px;
    transform: rotate(10deg);
}

.leaf-two {
    right: 50px;
    bottom: 91px;
    transform: rotate(-75deg);
    background: #adc18c;
}

.leaf-three {
    right: 25px;
    bottom: 76px;
    transform: rotate(25deg);
    background: #6d966b;
}

.card-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
}

.caption-label {
    color: #8a9a8d;
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .1em;
}

.card-caption strong {
    color: #365b46;
    font-size: .8rem;
}

.floating-note {
    position: absolute;
    z-index: 2;
    right: 2%;
    bottom: 88px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 16px;
    transform: rotate(-2deg);
    border: 1px solid #edf0e9;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 12px 30px #2947301c;
}

.note-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 9px;
    color: #b17d39;
    background: #fbf0db;
}

.floating-note strong,
.floating-note small {
    display: block;
}

.floating-note strong {
    font-size: .73rem;
}

.floating-note small {
    margin-top: 4px;
    color: #7a8980;
    font-size: .66rem;
}

.sparkle {
    position: absolute;
    color: #85a47a;
}

.sparkle-one {
    top: 82px;
    right: 15%;
    font-size: 1.45rem;
}

.sparkle-two {
    bottom: 100px;
    left: 13%;
    color: #c28c50;
    font-size: 1.15rem;
}

.hero-decoration {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 1px solid #dce8d7;
    border-radius: 50%;
}

.decoration-one {
    top: -63px;
    right: 36%;
}

.decoration-two {
    right: 4%;
    bottom: -65px;
    width: 150px;
    height: 150px;
}

.info-section {
    width: min(100% - 96px, 1000px);
    margin: 86px auto 92px;
}

.section-heading {
    margin-bottom: 28px;
    text-align: center;
}

.section-heading .eyebrow {
    justify-content: center;
    margin-bottom: 11px;
}

.section-heading h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.7rem, 3.5vw, 2.3rem);
    letter-spacing: -.045em;
}

.section-heading > p:last-child {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: .92rem;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.info-card {
    display: flex;
    gap: 18px;
    padding: 25px;
    border: 1px solid #e7ece5;
    border-radius: 12px;
    background: #fff;
}

.info-icon {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    place-items: center;
    border-radius: 12px;
    font-size: .75rem;
    font-weight: 750;
}

.registration-icon {
    color: #176b5b;
    background: #e5f1e8;
}

.admin-icon {
    color: #9a6a32;
    background: #f8efdf;
}

.info-card h3 {
    margin: 2px 0 7px;
    font-size: 1rem;
}

.info-card p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: .84rem;
    line-height: 1.65;
}

.info-card a {
    color: var(--green);
    font-size: .82rem;
    font-weight: 700;
}

.info-card a span {
    margin-left: 5px;
}

.site-footer {
    min-height: 82px;
    border-top: 1px solid #e8ede6;
}

.footer-brand {
    font-size: .92rem;
}

.footer-brand .brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    font-size: .85rem;
}

.site-footer p {
    color: #78877e;
    font-size: .78rem;
}

@media (max-width: 900px) {
    .site-header,
    .site-footer,
    .hero,
    .info-section {
        width: min(100% - 48px, 720px);
    }

    .hero {
        min-height: 500px;
        grid-template-columns: 1.1fr .9fr;
    }

    .hero-copy {
        padding-left: 42px;
    }

    .hero-art {
        transform: scale(.85);
    }

    .floating-note {
        right: -1%;
    }
}

@media (max-width: 640px) {
    .site-header,
    .site-footer,
    .hero,
    .info-section {
        width: min(100% - 32px, 480px);
    }

    .site-header {
        height: 72px;
    }

    main {
        min-height: calc(100vh - 164px);
        min-height: calc(100svh - 164px);
    }

    .brand {
        font-size: 1rem;
    }

    .admin-link {
        min-height: 38px;
        padding: 0 11px;
        font-size: .78rem;
    }

    .hero {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        border-radius: 14px;
    }

    .hero-copy {
        padding: 43px 25px 0;
    }

    .eyebrow {
        margin-bottom: 18px;
        font-size: .65rem;
    }

    .hero-copy h1 {
        font-size: clamp(2.5rem, 13vw, 3.6rem);
    }

    .hero-subtitle {
        margin-top: 10px;
        font-size: clamp(.82rem, 4vw, 1rem);
    }

    .hero-year {
        margin-top: 10px;
        font-size: clamp(.95rem, 4.2vw, 1.1rem);
    }

    .intro {
        margin: 17px 0 22px -8px;
        padding: 10px 8px;
        font-size: .92rem;
        line-height: 1.7;
    }

    .actions {
        gap: 9px;
    }

    .button {
        min-height: 46px;
        gap: 10px;
        padding: 0 14px;
        font-size: .82rem;
    }

    .button-primary {
        min-height: 52px;
        gap: 14px;
        padding: 0 20px;
        font-size: .92rem;
    }

    .trust-note {
        align-items: flex-start;
        margin-top: 20px;
        font-size: .74rem;
        line-height: 1.5;
    }

    .hero-art {
        min-height: 365px;
        margin-top: -4px;
        transform: scale(.82);
    }

    .art-orbit {
        width: 350px;
        height: 350px;
    }

    .orbit-two {
        width: 285px;
        height: 285px;
    }

    .floating-note {
        right: -4%;
        bottom: 37px;
    }

    .sparkle-one {
        top: 29px;
    }

    .sparkle-two {
        bottom: 48px;
        left: 3%;
    }

    .info-section {
        margin: 60px auto;
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .info-card {
        padding: 20px;
    }

    .site-footer {
        min-height: 92px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
    }

    .site-footer p {
        margin: 0;
        font-size: .7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
    }
}
