:root {
    color-scheme: light;
    --bg: #f7f7f9;
    --text: #111;
    --muted: #777;
    --border: #e2e4ea;
    --card-bg: #fff;
    --accent: #111;
    --accent-hover: #000;
    --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    --radius-sm: 6px;
    --radius-lg: 14px;
    --duration: 250ms;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

h1,
h2,
h3,
p {
    margin: 0 0 1.25rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.2;
    font-weight: 600;
}

h3 {
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    line-height: 1.3;
    font-weight: 600;
}

p {
    font-size: 1rem;
    color: #444;
}

button,
input {
    font: inherit;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--duration) ease, transform var(--duration) ease;
}

.button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.button:active {
    transform: translateY(0);
}

input[type="email"],
input[type="text"] {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    transition: border-color var(--duration) ease, box-shadow var(--duration) ease;
}

input[type="email"]:hover,
input[type="text"]:hover {
    border-color: #c8cdd7;
}

input[type="email"]:focus,
input[type="text"]:focus {
    border-color: var(--text);
    box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.08);
}

.container {
    width: min(1100px, 90vw);
    margin: 0 auto;
    padding: 3rem 0 5rem;
}

.hero {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin: 4rem auto 5rem;
    max-width: 700px;
    text-align: left;
    animation: fadeIn 700ms ease forwards;
    opacity: 0;
}

.hero p {
    font-size: 1.1rem;
    color: #555;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.waitlist-form input {
    flex: 1;
}

.waitlist-form .button {
    width: 100%;
}

@media (min-width: 640px) {
    .waitlist-form {
        flex-direction: row;
    }
    .waitlist-form .button {
        width: auto;
    }
}

.features {
    display: grid;
    gap: 1.5rem;
    margin-top: 4rem;
}

@media (min-width: 640px) {
    .features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    .features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .features {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: transform var(--duration) ease, box-shadow var(--duration) ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.footer-links a {
    color: var(--muted);
    font-weight: 500;
}

@media (min-width: 640px) {
    .footer-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}