* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: #FAF8F3;
    color: #1E3D35;
    font-family: Inter, Arial, sans-serif;
}

main {
    width: min(100%, 560px);
    padding: 36px;
    background: white;
    border: 1px solid #CBD7CC;
    border-radius: 18px;
}

h1 {
    margin-top: 0;
}

p {
    line-height: 1.65;
}

label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 18px 0;
    line-height: 1.5;
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex: none;
    accent-color: #1E3D35;
}

button {
    width: 100%;
    padding: 14px;
    border: 0;
    border-radius: 10px;
    background: #1E3D35;
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

a {
    color: #1E3D35;
}

hr {
    margin: 32px 0;
    border: 0;
    border-top: 1px solid #CBD7CC;
}

.erase-button {
    background: #823D38;
}


body {
    background:
        radial-gradient(circle at 90% 12%, #E2EAE0, transparent 45%),
        linear-gradient(125deg, #FAF8F3, #F1F2EC);
}

main {
    position: relative;
    overflow: hidden;
    width: min(100%, 660px);
    padding: clamp(28px, 5vw, 48px);
    border-radius: 24px;
    box-shadow: 0 24px 70px rgba(30, 61, 53, .08);
}

main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #C9A46A, #6C8A7A);
}

.prefs-brand {
    display: inline-block;
    margin-bottom: 32px;
    color: #1E3D35;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.055em;
    text-decoration: none;
}

.prefs-brand span {
    color: #C9A46A;
}

h1 {
    font-size: clamp(28px, 5vw, 36px);
    line-height: 1.15;
    letter-spacing: -.04em;
}

h2 {
    font-size: 21px;
    letter-spacing: -.025em;
}

p {
    color: #5E7068;
    line-height: 1.75;
}

button {
    min-height: 48px;
    transition: background .2s;
}

button:hover {
    background: #2B5449;
}

.erase-button:hover {
    background: #682E2A;
}

:focus-visible {
    outline: 3px solid #C9A46A;
    outline-offset: 3px;
}


form input[type="email"] {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    margin-bottom: 22px;
    border: 1px solid #CBD7CC;
    border-radius: 10px;
    background: #F8FAF7;
    color: #1E3D35;
    font: inherit;
}

form input[type="email"]:focus {
    border-color: #6C8A7A;
    outline: 3px solid rgba(108, 138, 122, .18);
}

form:has(input[type="email"]) > label {
    margin-bottom: 8px;
    font-weight: 700;
}