:root {
    --black: #0b0b0c;
    --panel: #151517;
    --panel-soft: rgba(21, 21, 23, 0.72);
    --white: #f2f2f0;
    --muted: rgba(242, 242, 240, 0.68);
    --soft: rgba(242, 242, 240, 0.46);
    --cyan: #0d6e8c;
    --copper: #c87332;
    --line: rgba(242, 242, 240, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--black);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--white);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
    background:
        radial-gradient(circle at 50% 18%, rgba(13, 110, 140, 0.24), transparent 34%),
        radial-gradient(circle at 18% 78%, rgba(13, 110, 140, 0.12), transparent 36%),
        linear-gradient(135deg, #151b1f 0%, #0b0f12 46%, #050607 100%);
}

button,
input {
    font: inherit;
}

a {
    color: var(--white);
    text-underline-offset: 0.2em;
}

.page-shell {
    min-height: 100vh;
}

.hero {
    position: relative;
    display: grid;
    min-height: 100svh;
    place-items: center;
    padding: clamp(28px, 5vw, 72px);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("assets/faber-wordmark-bg.png") center 39% / min(980px, 74vw) auto no-repeat;
    opacity: 0.08;
    mix-blend-mode: screen;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 62% 34%, rgba(13, 110, 140, 0.2), transparent 34%),
        linear-gradient(90deg, rgba(11, 11, 12, 0.88), rgba(11, 15, 18, 0.28) 50%, rgba(11, 11, 12, 0.88)),
        linear-gradient(180deg, rgba(8, 12, 15, 0.24), rgba(5, 6, 7, 0.9));
    pointer-events: none;
}

.brand-mark {
    position: absolute;
    right: clamp(22px, 5vw, 72px);
    top: clamp(22px, 5vw, 60px);
    width: clamp(54px, 7vw, 88px);
    aspect-ratio: 1;
    opacity: 0.42;
    z-index: 1;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.content {
    position: relative;
    z-index: 2;
    width: min(100%, 720px);
    margin: 0 auto;
    text-align: center;
}

.wordmark {
    display: block;
    width: min(72vw, 340px);
    height: auto;
    margin: 0 auto 34px;
    filter: contrast(1.08) brightness(1.16);
}

.eyebrow {
    margin: 0 auto 18px;
    color: rgba(242, 242, 240, 0.74);
    font-size: clamp(14px, 1.6vw, 17px);
    font-weight: 600;
    line-height: 1.45;
}

h1 {
    margin: 0;
    font-size: clamp(48px, 8vw, 96px);
    line-height: 0.96;
    font-weight: 750;
    text-transform: uppercase;
}

.lead {
    width: min(100%, 620px);
    margin: 24px auto 32px;
    color: rgba(242, 242, 240, 0.78);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.55;
}

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

.form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 6px;
    border: 1px solid rgba(13, 110, 140, 0.22);
    border-radius: 8px;
    background: rgba(11, 22, 27, 0.56);
    box-shadow:
        0 18px 70px rgba(0, 0, 0, 0.28),
        0 0 46px rgba(13, 110, 140, 0.08);
    backdrop-filter: blur(18px);
}

input[type="email"] {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    color: var(--white);
    border: 1px solid transparent;
    border-radius: 6px;
    outline: 0;
    background: rgba(5, 5, 6, 0.86);
}

input[type="email"]::placeholder {
    color: rgba(242, 242, 240, 0.38);
}

input[type="email"]:focus {
    border-color: rgba(13, 110, 140, 0.9);
    box-shadow: 0 0 0 3px rgba(13, 110, 140, 0.18);
}

button {
    min-height: 52px;
    padding: 0 22px;
    color: var(--black);
    border: 0;
    border-radius: 6px;
    background: linear-gradient(135deg, #ffffff, #d8d8d2);
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.footer-link {
    min-height: auto;
    padding: 0;
    color: rgba(242, 242, 240, 0.78);
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.footer-link:hover {
    color: var(--white);
    background: transparent;
}

button:hover {
    background: linear-gradient(135deg, #ffffff, #eeeeea);
}

.form-note {
    width: min(100%, 520px);
    margin: 14px auto 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: min(100%, 540px);
    margin: 18px auto 0;
    color: rgba(242, 242, 240, 0.64);
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
}

.consent a {
    color: var(--white);
    font-weight: 700;
}

.consent input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--cyan);
    flex: 0 0 auto;
}

.promise {
    margin: 14px 0 0;
    color: var(--soft);
    font-size: 13px;
    line-height: 1.45;
}

.message {
    margin: 16px auto 0;
    padding: 12px 14px;
    width: min(100%, 540px);
    border-radius: 6px;
    font-size: 14px;
    text-align: left;
}

.message.success {
    color: #e8fff6;
    border: 1px solid rgba(45, 202, 130, 0.34);
    background: rgba(45, 202, 130, 0.12);
}

.message.error {
    color: #ffe9e6;
    border: 1px solid rgba(200, 115, 50, 0.42);
    background: rgba(200, 115, 50, 0.14);
}

.privacy {
    position: relative;
    padding: clamp(56px, 8vw, 110px) clamp(18px, 5vw, 72px);
    background:
        radial-gradient(circle at 20% 10%, rgba(13, 110, 140, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(8, 12, 15, 0.96), rgba(21, 21, 23, 0.98)),
        linear-gradient(90deg, rgba(13, 110, 140, 0.12), transparent 54%);
    border-top: 1px solid var(--line);
}

.privacy-inner {
    width: min(100%, 920px);
    margin: 0 auto;
}

.privacy h2 {
    margin: 0;
    font-size: clamp(38px, 6vw, 76px);
    line-height: 1;
    text-transform: uppercase;
}

.privacy .updated {
    margin: 14px 0 34px;
    color: rgba(242, 242, 240, 0.58);
    font-size: 14px;
}

.privacy h3 {
    margin: 30px 0 10px;
    color: var(--white);
    font-size: 16px;
    line-height: 1.3;
    text-transform: uppercase;
}

.privacy p {
    max-width: 760px;
    margin: 0 0 12px;
    color: rgba(242, 242, 240, 0.72);
    font-size: 16px;
    line-height: 1.72;
}

.site-footer {
    display: flex;
    justify-content: center;
    gap: 28px;
    padding: 22px 18px;
    color: rgba(242, 242, 240, 0.72);
    background: var(--black);
    border-top: 1px solid rgba(242, 242, 240, 0.1);
}

.site-footer a {
    color: rgba(242, 242, 240, 0.78);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--white);
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 10;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(5, 6, 7, 0.72);
    backdrop-filter: blur(14px);
}

.contact-modal[hidden] {
    display: none;
}

.contact-panel {
    position: relative;
    width: min(100%, 430px);
    padding: 28px;
    border: 1px solid rgba(13, 110, 140, 0.28);
    border-radius: 8px;
    background:
        radial-gradient(circle at 20% 0%, rgba(13, 110, 140, 0.18), transparent 42%),
        rgba(11, 15, 18, 0.96);
    box-shadow: 0 28px 100px rgba(0, 0, 0, 0.44);
}

.contact-panel h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4.2vw, 42px);
    line-height: 1;
    text-transform: uppercase;
}

.contact-panel p:not(.eyebrow) {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

.contact-address {
    margin: 0 0 12px;
    color: var(--white);
    font-size: 18px;
    font-weight: 800;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-mail {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 0 18px;
    border-radius: 6px;
    font-weight: 800;
}

.contact-mail {
    color: var(--black);
    background: linear-gradient(135deg, #ffffff, #d8d8d2);
}

.contact-feedback {
    min-height: 20px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.contact-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    width: 32px;
    height: 32px;
    min-height: 32px;
    place-items: center;
    padding: 0;
    color: var(--white);
    border: 1px solid rgba(242, 242, 240, 0.14);
    border-radius: 50%;
    background: rgba(242, 242, 240, 0.06);
    font-size: 22px;
    line-height: 0;
}

.contact-close:hover {
    background: rgba(242, 242, 240, 0.12);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 680px) {
    .hero {
        min-height: 100svh;
        padding: 28px 18px 34px;
        place-items: center;
    }

    .hero::before {
        background-size: 760px auto;
        background-position: center 33%;
        opacity: 0.07;
    }

    .brand-mark {
        width: 58px;
        right: 18px;
        top: 18px;
        opacity: 0.34;
    }

    .wordmark {
        width: min(74vw, 270px);
        margin-bottom: 28px;
    }

    .eyebrow {
        font-size: 14px;
    }

    h1 {
        font-size: clamp(42px, 14vw, 62px);
    }

    .lead {
        margin-top: 18px;
        margin-bottom: 26px;
        font-size: 17px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    button {
        width: 100%;
    }

    .form-note,
    .promise {
        font-size: 13px;
    }

    .privacy h2 {
        font-size: 38px;
    }

    .privacy p {
        font-size: 15px;
    }

    .site-footer {
        justify-content: flex-start;
    }
}
