:root {
    --background: #f0f4f3;
    --surface: #ffffff;
    --primary: #176b5b;
    --primary-dark: #0f5548;
    --accent: #dff3ed;
    --text: #18302b;
    --muted: #697b77;
    --border: #dce7e4;
    --shadow: 0 18px 45px rgba(30, 72, 63, 0.1);
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 48px 20px;
    background:
        radial-gradient(circle at top left, #d8efe8 0, transparent 35%),
        var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

.container {
    width: min(100%, 760px);
    margin: 0 auto;
}

header {
    margin-bottom: 32px;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 12px;
    font-size: clamp(2.4rem, 7vw, 4.5rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

h2 {
    margin-bottom: 24px;
    font-size: 1.35rem;
}

.description {
    max-width: 580px;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.eyebrow {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.card {
    margin-bottom: 20px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

form {
    display: grid;
    gap: 12px;
}

label {
    margin-top: 6px;
    font-size: 0.88rem;
    font-weight: 700;
}

input {
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0 14px;
    background: #fbfdfc;
    color: var(--text);
    font: inherit;
    outline: none;
}

input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--accent);
}

.input-with-unit {
    position: relative;
}

.input-with-unit input {
    padding-right: 60px;
}

.input-with-unit span {
    position: absolute;
    top: 50%;
    right: 16px;
    color: var(--muted);
    transform: translateY(-50%);
}

button {
    min-height: 52px;
    margin-top: 12px;
    border: 0;
    border-radius: 12px;
    background: var(--primary);
    color: white;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 160ms ease,
        transform 160ms ease;
}

button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.section-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.counter {
    border-radius: 100px;
    padding: 8px 12px;
    background: var(--accent);
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.empty-state {
    margin: 28px 0 0;
    border: 1px dashed var(--border);
    border-radius: 14px;
    padding: 24px;
    color: var(--muted);
    text-align: center;
}

.message {
    min-height: 21px;
    margin: 16px 0 0;
    color: var(--primary);
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    body {
        padding: 28px 14px;
    }

    .card {
        padding: 22px 18px;
        border-radius: 18px;
    }
}
