:root {
    --bg: url('../img/bg-lotw.jpg'), #000000;
    /* --card: #141418; */
    --ink: #f5f5f7;
    --muted: #a1a1aa;
    --line: #23242d;
    --accent: #0549fa;
    --card: url('../img/bg-card.png'), #14141869;
}

* {
    box-sizing: border-box
}

@font-face {
    font-family: "Swis721 Ex BT";
    src: 
         url("/css/fonts/swisse.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    font-family: "Swis721 Ex BT", Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: var(--bg);
    color: var(--ink);
    background-size: cover;
}

.wrap {
    /* max-width: 980px; */
    margin: 40px auto;
    padding: 0 20px;
   
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
     /* background: url('../img/bg-noise.png'), var(--bg); */
}

h1 {
    margin: 0 0 6px;
    font-size: 28px
}

p.sub {
    margin: 0 0 18px;
    color: var(--muted)
}

.grid {
    display: grid;
    gap: 16px
}

.g2 {
    grid-template-columns: 1fr
}

.g3 {
    grid-template-columns: 1fr
}

@media (min-width: 860px) {
    .g2 {
        grid-template-columns: 1fr 1fr
    }

    .g3 {
        grid-template-columns: 1fr 1fr 1fr
    }
}

label {
    display: block;
    font-weight: 600;
    margin: 10px 0 6px
}

.hint {
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #0d0f16;
    color: var(--ink);
    font-family: "Swis721 Ex BT", Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

textarea {
    resize: vertical
}

.section {
    border-top: 1px dashed var(--line);
    padding-top: 18px;
    margin-top: 18px
}

.pill {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: #12121a;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 6px;
    margin-top: 6px;
}

.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 999px;
    border: 0;
    background: var(--accent);
    color: #fff ;
    font-weight: 700;
    cursor: pointer
}

.error {
    /* background: #3b1c1c; */
    color: #fca5a5;
    /* padding: 10px 12px; */
    border-radius: 10px;
    margin-bottom: 5px;
    font-size: 12px;
}

.success {
    background: #1c3b2a;
    color: #86efac;
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 14px
}

.hide {
    display: none
}

.tandc {
    max-height: 180px;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px;
    background: #101017
}