* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #142c3b;
    background: #fff;
    line-height: 1.65;
}

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

a:focus-visible,
summary:focus-visible {
    outline: 3px solid #f3b952;
    outline-offset: 5px;
}

.container {
    width: min(1180px, calc(100% - 64px));
    margin-inline: auto;
}

.skip {
    position: absolute;
    left: 20px;
    top: -100px;
    background: white;
    padding: 12px;
    z-index: 10;
}

.skip:focus {
    top: 10px;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #e9eeed;
}

.navigation {
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
}

.brand-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #137b65;
    color: white;
    font-size: 18px;
    letter-spacing: -1px;
}

.accent {
    color: #137b65;
}

nav {
    display: flex;
    gap: 28px;
    font-size: 14px;
    font-weight: 600;
}

nav a:hover,
.signin:hover,
.login-note a:hover {
    color: #137b65;
    text-decoration: underline;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 15px 24px;
    background: #137b65;
    color: #fff;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    transition:
        background 0.2s,
        transform 0.2s;
}

.button:hover {
    background: #0c604e;
    transform: translateY(-2px);
}

.compact {
    padding: 11px 18px;
}

.hero {
    background: #f4f7f4;
    padding: 70px 0 85px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 65px;
}

.eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.7px;
    color: #137b65;
    margin: 0 0 18px;
}

.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #137b65;
    margin-right: 8px;
}

h1 {
    font-size: clamp(38px, 4.4vw, 60px);
    line-height: 1.12;
    letter-spacing: -2.7px;
    margin: 0 0 25px;
    font-weight: 750;
}

h1 span {
    color: #137b65;
}

.intro {
    font-size: 16px;
    color: #61716f;
    max-width: 490px;
    margin: 0 0 30px;
}

.login-note {
    font-size: 13px;
    color: #687775;
    margin-top: 16px;
}

.login-note a {
    color: #137b65;
    font-weight: 700;
}

.hero-location {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #637671;
    margin-top: 36px;
}

.divider {
    height: 14px;
    width: 1px;
    background: #c6d2ca;
}

.visual {
    background: #e1ebe0;
    border-radius: 24px;
    padding: 25px 26px;
    position: relative;
    box-shadow: 0 20px 50px #294f3410;
}

.visual-top {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    letter-spacing: 1.4px;
    font-weight: 700;
    color: #497257;
}

.room {
    width: 100%;
    display: block;
    height: auto;
    margin-top: -8px;
}

.visual-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.visual-bottom .eyebrow {
    margin: 0 0 4px;
    font-size: 9px;
}

.visual-bottom h2 {
    font-size: 20px;
    letter-spacing: -0.5px;
    margin: 0;
}

.round-arrow {
    border: 1px solid #93b299;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    font-size: 24px;
}

.visual-label {
    position: absolute;
    bottom: -22px;
    left: 30px;
    right: 30px;
    padding: 14px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px #203c2412;
    font-size: 12px;
    color: #466352;
}

.visual-label span {
    color: #137b65;
    font-weight: 800;
    margin-right: 8px;
}

.benefit-bar {
    border-bottom: 1px solid #e6eeea;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-block: 26px;
    gap: 24px;
    font-size: 14px;
    font-weight: 600;
}

.benefit-grid b {
    color: #137b65;
    margin-right: 16px;
    font-size: 11px;
}

.section {
    padding-block: 80px;
}

.section-title {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 38px;
}

.section-title h2 {
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.2;
    letter-spacing: -1.3px;
    margin: 0 0 15px;
}

.section-title p:last-child {
    color: #667670;
}

.account-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.account-card {
    border: 1px solid #e0e9e3;
    padding: 35px;
    border-radius: 17px;
    scroll-margin-top: 30px;
}

.student {
    background: #f5faf7;
}

.owner {
    background: #f6f8fc;
    border-color: #e0e7f0;
}

.card-icon {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    background: #e1efe5;
    color: #137b65;
    border-radius: 12px;
    font-size: 26px;
    margin-bottom: 24px;
}

.owner .card-icon {
    background: #e5ebf6;
    color: #315c87;
}

.owner .eyebrow {
    color: #315c87;
}

.account-card h3 {
    font-size: 25px;
    letter-spacing: -0.7px;
    line-height: 1.25;
    margin: 0 0 16px;
}

.account-card p:not(.eyebrow) {
    font-size: 14px;
    color: #64746f;
}

ul {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    font-size: 13px;
}

li {
    margin-bottom: 9px;
}

li::before {
    content: "✓";
    color: #137b65;
    margin-right: 10px;
    font-weight: 800;
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
}

.signin {
    font-size: 13px;
    font-weight: 700;
}

.owner-button {
    background: #315c87;
}

.owner-button:hover {
    background: #234665;
}

.how-section {
    background: #f8faf8;
    border-top: 1px solid #edf1ed;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 45px;
}

.steps article {
    padding: 25px 0;
    border-top: 2px solid #dce8df;
}

.steps span {
    font-size: 28px;
    font-weight: 700;
    color: #137b65;
}

.steps h3 {
    font-size: 18px;
    margin: 18px 0 10px;
}

.steps p {
    color: #64746f;
    font-size: 14px;
    margin: 0;
}

.approval-note {
    color: #75827c;
    text-align: center;
    font-size: 12px;
    margin-top: 30px;
}

.site-footer {
    background: #142f2b;
    color: #e6eee9;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding-block: 50px;
    gap: 45px;
}

.site-footer .accent {
    color: #8ed1af;
}

.site-footer p {
    font-size: 12px;
    color: #b1c6ba;
}

.footer-description {
    margin-top: 20px;
}

.footer-top h3 {
    font-size: 13px;
    margin: 8px 0 20px;
}

.footer-top > div > a:not(.brand) {
    display: block;
    font-size: 12px;
    margin: 12px 0;
    color: #b1c6ba;
}

.footer-top a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #365048;
    padding-block: 20px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 11px;
    color: #a4bbb0;
}

@media (max-width: 960px) {
    nav {
        gap: 15px;
        font-size: 12px;
    }

    .hero-grid {
        gap: 30px;
    }

    .hero {
        padding-block: 55px 70px;
    }

    .card-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}
@media (max-width: 700px) {
    .container {
        width: calc(100% - 36px);
    }

    .navigation {
        min-height: 80px;
        flex-wrap: wrap;
        padding-block: 15px;
        gap: 15px;
    }

    .brand {
        font-size: 24px;
    }

    nav {
        order: 3;
        width: 100%;
        justify-content: space-between;
        border-top: 1px solid #e9eeed;
        padding-top: 12px;
    }

    .compact {
        font-size: 12px;
        padding: 10px 13px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    h1 {
        letter-spacing: -1.6px;
        font-size: 43px;
    }

    .hero {
        padding-top: 38px;
    }

    .intro {
        font-size: 15px;
    }

    .visual {
        max-width: 480px;
        width: 100%;
        margin-inline: auto;
    }

    .visual-label {
        left: 15px;
        right: 15px;
        font-size: 11px;
    }

    .visual-bottom h2 {
        font-size: 17px;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        font-size: 13px;
    }

    .section {
        padding-block: 55px;
    }

    .account-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .account-card {
        padding: 27px;
    }

    .steps {
        gap: 10px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .footer-top > div:first-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-wrap: wrap;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button {
        transition: none;
    }
}

/* Photographic hero and final visual treatment */
.site-header {
    background: #fdfefc;
}

.hero {
    min-height: 650px;
    height: min(760px, 85vh);
    position: relative;
    padding: 0;
    background: #102c30;
    color: #fff;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(7, 28, 38, 0.94) 0%,
            rgba(7, 28, 38, 0.77) 40%,
            rgba(7, 28, 38, 0.16) 100%
        ),
        linear-gradient(0deg, rgba(7, 28, 38, 0.65), transparent 40%);
    pointer-events: none;
}

.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 56%;
}

.hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-block: 65px 30px;
}

.hero .eyebrow {
    color: #b5eac7;
    font-size: 11px;
    letter-spacing: 2.2px;
}

.hero .status-dot {
    background: #b5eac7;
}

.hero h1 {
    font-size: clamp(52px, 6.7vw, 92px);
    letter-spacing: -4px;
    line-height: 1.02;
    margin-bottom: 28px;
}

.hero h1 span {
    color: #b4edc0;
}

.hero .intro {
    color: #d3dfdf;
    font-size: 17px;
    margin-bottom: 32px;
    max-width: 550px;
}

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

.hero .button {
    background: #b4edc0;
    color: #153a32;
    padding: 18px 26px;
}

.hero .button:hover {
    background: #d2f6da;
}

.hero-signin {
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid #91aaa7;
    padding-block: 10px;
}

.hero-bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 10px;
    letter-spacing: 1.8px;
    margin-top: 70px;
    color: #d0dddd;
}

.hero-stamp {
    position: absolute;
    right: 7%;
    top: 25%;
    z-index: 1;
    border: 1px solid #ffffff5c;
    color: #fff;
    border-radius: 50%;
    width: 155px;
    height: 155px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(10deg);
    font-size: 11px;
    letter-spacing: 2px;
    line-height: 1.7;
    background: #102c3020;
    backdrop-filter: blur(8px);
}

.hero-stamp em {
    font-size: 28px;
    font-weight: 700;
    font-style: normal;
}

.photo-label {
    position: absolute;
    right: 20px;
    bottom: 10px;
    z-index: 1;
    color: #d1dcda;
    font-size: 9px;
}

.benefit-bar {
    background: #123b36;
    color: #e4f1e7;
    border: 0;
}

.benefit-grid {
    padding-block: 30px;
}

.benefit-grid b {
    color: #b4edc0;
}

.section {
    padding-block: 95px;
}

.section-title h2 {
    font-size: clamp(32px, 3.8vw, 49px);
    letter-spacing: -1.8px;
}

.account-card {
    padding: 42px;
    border-radius: 20px;
    box-shadow: 0 12px 35px #14382b06;
    transition:
        transform 0.25s,
        box-shadow 0.25s;
}

.account-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px #14382b12;
}

.account-card h3 {
    font-size: 29px;
}

.student {
    background: linear-gradient(140deg, #edf8ef, #fcfefb);
}

.owner {
    background: linear-gradient(140deg, #eef3fb, #fdfefe);
}

.closing {
    background: #dceee0;
    padding-block: 65px;
}

.closing-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.closing h2 {
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.1;
    letter-spacing: -1.8px;
    margin: 0;
}

@keyframes hero-entry {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-content > :not(.hero-bottom) {
    animation: hero-entry 0.8s ease both;
}

.hero h1 {
    animation-delay: 0.1s;
}

.hero .intro {
    animation-delay: 0.2s;
}

.hero-actions {
    animation-delay: 0.3s;
}

@media (max-width: 700px) {
    .hero {
        min-height: 630px;
        height: auto;
    }

    .hero-content {
        min-height: 630px;
        padding-block: 55px 35px;
    }

    .hero h1 {
        font-size: clamp(46px, 10vw, 65px);
        letter-spacing: -2.5px;
    }

    .hero .intro {
        font-size: 15px;
    }

    .hero .intro br {
        display: none;
    }

    .hero .eyebrow {
        font-size: 9px;
        letter-spacing: 1.4px;
    }

    .hero::after {
        background:
            linear-gradient(90deg, #071c26ec, #071c2680),
            linear-gradient(0deg, #071c2690, transparent);
    }

    .hero-stamp {
        display: none;
    }

    .hero-bottom {
        margin-top: 55px;
        font-size: 8px;
        letter-spacing: 1px;
    }

    .hero-actions {
        gap: 12px;
        align-items: flex-start;
        flex-direction: column;
    }

    .account-card {
        padding: 28px;
    }

    .section {
        padding-block: 60px;
    }

    .closing-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero-content > :not(.hero-bottom) {
        animation: none;
    }

    .account-card {
        transition: none;
    }
}
