:root {
    --bg: #faf6f0;
    --surface: #ffffff;
    --text: #2b2118;
    --muted: #6f6256;
    --accent: #a0522d;
    --accent-dark: #7d3f22;
    --border: #e6dccf;
    --success: #2f7d4f;
    --error: #b3261e;
    --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

.container {
    width: min(1100px, 100% - 2rem);
    margin-inline: auto;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .75rem; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.1rem; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(250, 246, 240, .9);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--border);
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 0;
}
.logo {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text);
    text-decoration: none;
}

/* Buttons */
.btn {
    display: inline-block;
    border: 0;
    border-radius: var(--radius);
    background: var(--accent);
    color: #fff;
    font: inherit;
    font-weight: 600;
    padding: .85rem 1.4rem;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s;
}
.btn:hover { background: var(--accent-dark); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-small { padding: .5rem 1rem; font-size: .9rem; }

/* Hero */
.hero { padding: 4rem 0 3rem; }
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}
.eyebrow {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .8rem;
    margin: 0 0 .75rem;
}
.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 1.75rem; }
.hero-art { width: 100%; max-width: 440px; margin: auto; }
.vessel-3d {
    width: 100%;
    aspect-ratio: 1 / 1;
    opacity: 0;
    transition: opacity .6s;
}
.vessel-3d.ready { opacity: 1; }
.vessel-3d canvas { display: block; width: 100%; height: 100%; }
.vessel-hint { text-align: center; color: var(--muted); font-size: .8rem; margin: .25rem 0 0; }

/* Form */
.waitlist-form {
    display: flex;
    gap: .5rem;
    max-width: 480px;
}
.waitlist-form input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: .85rem 1rem;
    font: inherit;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}
.waitlist-form input[type="email"]:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
    border-color: transparent;
}
.form-message { min-height: 1.6em; margin: .6rem 0 0; font-weight: 600; }
.form-message.success { color: var(--success); }
.form-message.error { color: var(--error); }
.fine-print { font-size: .85rem; color: var(--muted); margin: .25rem 0 0; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.visually-hidden {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}

/* Features */
.features { padding: 3.5rem 0; background: var(--surface); border-block: 1px solid var(--border); }
.features h2 { text-align: center; margin-bottom: 2rem; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}
.feature {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
}
.feature p { margin: 0; color: var(--muted); }

/* CTA */
.cta { padding: 4rem 0; text-align: center; }
.cta p { color: var(--muted); margin: 0 0 1.5rem; }

/* Footer */
.site-footer { padding: 1.5rem 0; border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; text-align: center; }

@media (max-width: 760px) {
    .hero { padding-top: 2.5rem; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-art { max-width: 280px; }
    .waitlist-form { flex-direction: column; }
}
