:root {
    --ink: #17221c;
    --paper: #f7f5ef;
    --lime: #d8f351;
    --line: #d8d9d2
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: #eef1e9;
    color: var(--ink);
    font-family: Manrope, sans-serif
}

header {
    height: 75px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    font-size: 12px;
    font-weight: 700
}

.brand {
    font-size: 29px;
    font-weight: 800;
    letter-spacing: -2px;
    text-decoration: none;
    color: var(--ink)
}

.brand span {
    color: #718b14
}

header>span {
    font: 10px 'DM Mono';
    letter-spacing: .1em;
    text-transform: uppercase
}

header>a:last-child {
    color: var(--ink)
}

main {
    max-width: 1200px;
    padding: 80px 30px;
    margin: auto
}

.welcome p,
.modal p {
    font: 10px 'DM Mono';
    letter-spacing: .12em;
    color: #65705c
}

.welcome h1 {
    font-size: 64px;
    line-height: .98;
    letter-spacing: -.07em;
    margin: 10px 0 28px
}

.welcome em {
    font-family: Georgia, serif
}

.welcome button,
.submit,
.modal form>button:last-of-type {
    border: 0;
    background: var(--ink);
    color: #fff;
    padding: 14px 18px;
    font: 700 12px Manrope;
    cursor: pointer
}

.welcome small {
    display: block;
    margin-top: 13px;
    font-size: 11px;
    color: #65705c
}

.workspace {
    margin-top: 60px;
    background: #fbfaf6;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 15px 45px #17221c12
}

.workspace>form,
.product-list {
    padding: 38px
}

.workspace>form {
    border-right: 1px solid var(--line)
}

.form-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 25px
}

.form-head h2 {
    font-size: 22px;
    margin: 0
}

.form-head p {
    font-size: 11px;
    color: #65705c;
    margin: 6px 0
}

.quiet {
    border: 0;
    background: transparent;
    text-decoration: underline;
    font: 600 11px Manrope;
    cursor: pointer
}

label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 17px
}

input,
textarea,
select {
    display: block;
    margin-top: 7px;
    width: 100%;
    padding: 11px;
    border: 1px solid var(--line);
    font: 13px Manrope;
    background: #fff
}

textarea {
    min-height: 83px;
    resize: vertical
}

.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.check {
    display: flex;
    gap: 9px;
    align-items: center;
    font-weight: 600
}

.check input {
    width: auto;
    margin: 0
}

.submit {
    width: 100%;
    margin-top: 8px
}

.product-row {
    border-top: 1px solid var(--line);
    padding: 17px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px
}

.product-row h3 {
    font-size: 13px;
    margin: 0
}

.product-row p {
    font: 11px 'DM Mono';
    margin: 6px 0;
    color: #65705c
}

.product-row button {
    border: 1px solid var(--ink);
    background: transparent;
    padding: 6px 9px;
    font: 600 10px Manrope;
    cursor: pointer;
    align-self: center
}

.empty {
    font-size: 13px;
    color: #65705c
}

.hidden {
    display: none !important
}

.modal {
    position: fixed;
    inset: 0;
    background: #17221c77;
    display: grid;
    place-items: center;
    padding: 20px
}

.modal form {
    background: #fbfaf6;
    width: min(100%, 420px);
    padding: 36px;
    position: relative
}

.modal h2 {
    font-size: 29px;
    letter-spacing: -.05em;
    margin: 10px 0 22px
}

.modal #closeModal {
    position: absolute;
    right: 14px;
    top: 12px;
    border: 0;
    background: transparent;
    font-size: 25px;
    cursor: pointer
}

.modal form>button:last-of-type {
    width: 100%;
    margin-top: 6px
}

.modal small {
    display: block;
    font-size: 10px;
    color: #65705c;
    line-height: 1.5;
    margin-top: 15px
}

@media(max-width:700px) {
    main {
        padding: 55px 18px
    }

    .welcome h1 {
        font-size: 51px
    }

    .workspace {
        grid-template-columns: 1fr
    }

    .workspace>form {
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

    .workspace>form,
    .product-list {
        padding: 25px
    }

    header>span {
        display: none
    }

    .two {
        grid-template-columns: 1fr
    }
}