﻿:root {
    --brand: #ffcc29;
    --brand-strong: #f3bd00;
    --ink: #0a0a0a;
    --text: #232323;
    --muted: #707070;
    --line: #e8e8e8;
    --surface: #ffffff;
    --bg: #f5f5f5;
    --soft: #fff6cf;
    --shadow: 0 16px 40px rgba(0,0,0,.10);
    --radius: 18px;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(180deg, #fff 0 180px, var(--bg) 180px 100%);
    color: var(--text);
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column
}

header {
    background: #ffffff;
    border-bottom: 4px solid var(--brand);
}

.header-inner {
    width: min(1120px,calc(100% - 32px));
    height: 86px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

    .logo img {
        display: block;
        width: 210px;
        max-width: 45vw;
        height: auto;
        object-fit: contain;
    }

.header-date {
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 13px;
    color: #666;
    background: #fff;
}

main {
    flex: 1;
    width: min(760px,calc(100% - 32px));
    margin: 0 auto;
    padding: 56px 0 72px;
}

.hero {
    text-align: center;
    margin-bottom: 28px;
}

    .hero .tag {
        display: inline-flex;
        align-items: center;
        padding: 7px 12px;
        margin-bottom: 14px;
        border-radius: 999px;
        background: var(--brand);
        color: var(--ink);
        font-size: 12px;
        font-weight: 800;
    }

    .hero h1 {
        margin: 0;
        color: var(--ink);
        font-size: 38px;
        line-height: 1.16;
        letter-spacing: -1px;
    }

    .hero p {
        max-width: 620px;
        margin: 14px auto 0;
        color: var(--muted);
        font-size: 15px;
        line-height: 1.7;
    }

.card {
    padding: 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 22px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: var(--ink);
    background: var(--brand);
    font-size: 20px;
    font-weight: 900;
}

.card-head h2 {
    margin: 0 0 5px;
    color: var(--ink);
    font-size: 19px;
}

.card-head p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field.full {
    grid-column: 1/-1
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #303030;
}

.control {
    position: relative
}

input, select {
    width: 100%;
    height: 52px;
    padding: 0 44px 0 14px;
    background: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    color: #222;
    font-size: 15px;
    outline: none;
    transition: border-color .15s,box-shadow .15s;
}

    input:focus, select:focus {
        border-color: var(--brand-strong);
        box-shadow: 0 0 0 3px rgba(255,204,41,.22);
    }

select {
    appearance: none;
    cursor: pointer;
}

.suffix {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #999;
}

.hint {
    margin-top: 7px;
    color: #999;
    font-size: 12px;
}

.actions {
    margin-top: 26px
}

button {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 10px;
    background: var(--brand);
    color: var(--ink);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0,0,0,.14);
    transition: .15s ease;
}

    button:hover:not(:disabled) {
        background: var(--brand-strong);
        transform: translateY(-1px);
    }

    button:disabled {
        opacity: .45;
        cursor: not-allowed;
        box-shadow: none;
    }

.result {
    display: none;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid var(--line);
    border-left: 5px solid var(--brand);
    border-radius: 10px;
    background: #fafafa;
    font-size: 13px;
    line-height: 1.6;
}

footer {
    border-top: 4px solid var(--brand);
    background: #111;
    color: #d2d2d2;
    text-align: center;
    font-size: 12px;
    padding: 24px 16px;
}
.curriculum {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.curriculum-row {
    padding-bottom: 18px;
    border-bottom: 1px solid #eeeeee;
}

    .curriculum-row:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .curriculum-row strong {
        display: block;
        margin-bottom: 7px;
        color: #111;
        font-size: 14px;
    }

    .curriculum-row span {
        display: block;
        color: #444;
        font-size: 14px;
        line-height: 1.7;
    }

.curriculum-error {
    padding: 15px;
    color: #721c24;
    background: #f8d7da;
    border-radius: 8px;
}
@media(max-width:640px) {
    .header-inner {
        height: 74px
    }

    .logo img {
        width: 165px;
        max-width: 55vw
    }

    .header-date {
        display: none
    }

    main {
        padding-top: 38px
    }

    .hero h1 {
        font-size: 30px
    }

    .card {
        padding: 22px 18px
    }

    .grid {
        grid-template-columns: 1fr
    }

    .field.full {
        grid-column: auto
    }
}
