:root {
    --background: #11100f;
    --background-secondary: #171512;
    --surface: #1c1916;
    --surface-light: #26211d;
    --surface-elevated: #302a25;
    --surface-pressed: #383027;
    --text-primary: #f6f1ea;
    --text-secondary: #c9bfb5;
    --text-tertiary: #8e8278;
    --rose: #e9a0a6;
    --rose-deep: #c77f86;
    --gold: #d7b46a;
    --sage: #8fb9a8;
    --sage-dark: #476c61;
    --border: rgba(255, 255, 255, 0.14);
    --border-strong: rgba(233, 216, 200, 0.24);
    --max-width: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(180deg, #1b1714 0%, #11100f 42%, #171512 100%);
    color: var(--text-primary);
    line-height: 1.55;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(115deg, rgba(233, 160, 166, 0.08), transparent 32%),
        linear-gradient(245deg, rgba(143, 185, 168, 0.08), transparent 36%);
}

a {
    color: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--border);
    background: rgba(17, 16, 15, 0.86);
    backdrop-filter: blur(16px);
}

.nav-shell,
.section-shell,
.footer-shell {
    width: min(var(--max-width), calc(100% - 32px));
    margin: 0 auto;
}

.nav-shell {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0;
}

.brand img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(233, 160, 166, 0.24);
}

.brand span {
    color: var(--rose);
    font-size: 1.08rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a {
    padding: 10px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.94rem;
    border-radius: 8px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text-primary);
    background: var(--surface-light);
    outline: none;
}

.hero {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    padding: 54px 0 36px;
}

.hero-inner {
    width: min(860px, calc(100% - 32px));
    margin: 0 auto;
    text-align: center;
}

.hero-logo {
    width: min(220px, 46vw);
    margin: 0 auto 28px;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

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

h1 {
    margin-bottom: 16px;
    color: var(--text-primary);
    font-size: clamp(3.5rem, 13vw, 7rem);
    line-height: 0.92;
    font-weight: 800;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 680px;
    margin: 0 auto 26px;
    color: var(--text-secondary);
    font-size: clamp(1.08rem, 2.2vw, 1.34rem);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid var(--border-strong);
    text-decoration: none;
    font-weight: 700;
    color: var(--text-primary);
}

.button-primary {
    color: #11100f;
    border: 0;
    background: linear-gradient(135deg, var(--rose), var(--gold));
    box-shadow: 0 16px 36px rgba(233, 160, 166, 0.22);
}

.button-secondary {
    background: var(--surface-light);
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.conversation-preview {
    width: min(520px, 100%);
    margin: 38px auto 0;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(28, 25, 22, 0.78);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    text-align: left;
}

.preview-topbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 4px 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--sage);
    box-shadow: 0 0 0 4px rgba(143, 185, 168, 0.12);
}

.bubble {
    max-width: 84%;
    margin: 8px 0;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.96rem;
}

.bubble-user {
    margin-left: auto;
    color: #11100f;
    background: linear-gradient(135deg, var(--rose), var(--rose-deep));
}

.bubble-ai {
    color: var(--text-primary);
    background: #221e1a;
    border: 1px solid #3c332c;
}

.typing-row {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #221e1a;
    border: 1px solid #3c332c;
}

.typing-row span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--rose);
    opacity: 0.7;
}

main section {
    padding: 76px 0;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 28px;
}

.section-heading.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

h2 {
    margin-bottom: 12px;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: 0;
}

.section-heading p,
.section-lede {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.grid {
    display: grid;
    gap: 14px;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.panel,
.persona-tile,
.privacy-card,
.policy-box {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(28, 25, 22, 0.86);
}

.panel,
.privacy-card {
    padding: 18px;
}

.panel-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 8px;
    color: var(--rose);
    background: rgba(233, 160, 166, 0.13);
    font-weight: 800;
}

.panel h3,
.persona-tile h3,
.privacy-card h3 {
    margin-bottom: 8px;
    font-size: 1.06rem;
    line-height: 1.3;
}

.panel p,
.persona-tile p,
.privacy-card p,
.policy-box p,
.policy-box li {
    color: var(--text-secondary);
}

.persona-tile {
    padding: 14px;
}

.persona-tile .role {
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 0.84rem;
    font-weight: 700;
}

.custom-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 16px;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--border-strong);
    background: var(--surface-light);
}

.custom-strip p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

.privacy-section {
    background: linear-gradient(180deg, transparent, rgba(143, 185, 168, 0.05));
}

.download-panel {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: center;
    padding: 24px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: var(--surface-light);
}

.waitlist-note {
    color: var(--text-tertiary);
    font-size: 0.92rem;
}

.site-footer {
    border-top: 1px solid var(--border);
    background: rgba(17, 16, 15, 0.88);
}

.footer-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0;
    color: var(--text-tertiary);
    font-size: 0.92rem;
}

.footer-links {
    display: flex;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--rose);
}

.policy-main {
    padding: 64px 0;
}

.policy-header {
    max-width: 760px;
    margin-bottom: 28px;
}

.policy-header h1 {
    margin-bottom: 12px;
    font-size: clamp(2.6rem, 8vw, 5rem);
    line-height: 1;
}

.updated {
    color: var(--gold);
    font-weight: 700;
}

.policy-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.policy-summary-card {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(38, 33, 29, 0.82);
}

.policy-summary-card span {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    margin-bottom: 14px;
    border: 1px solid rgba(233, 160, 166, 0.24);
    border-radius: 8px;
    color: var(--rose);
    background: rgba(233, 160, 166, 0.12);
    font-size: 0.82rem;
    font-weight: 800;
}

.policy-summary-card h2 {
    margin-bottom: 8px;
    font-size: 1.12rem;
    line-height: 1.2;
}

.policy-summary-card p {
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: 0.96rem;
}

.policy-box {
    padding: 24px;
}

.policy-box h2 {
    margin-top: 34px;
    margin-bottom: 10px;
    font-size: 1.55rem;
}

.policy-box h2:first-child {
    margin-top: 0;
}

.policy-box ul {
    padding-left: 22px;
}

.policy-box strong {
    color: var(--text-primary);
}

.notice {
    margin: 24px 0;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid var(--rose);
    background: var(--surface-light);
}

@media (max-width: 880px) {
    .grid-3,
    .grid-4,
    .download-panel,
    .policy-summary-grid {
        grid-template-columns: 1fr;
    }

    .custom-strip,
    .footer-shell {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    .nav-shell {
        min-height: auto;
        padding: 14px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .site-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .hero {
        min-height: auto;
        padding-top: 42px;
    }

    .actions,
    .button {
        width: 100%;
    }

    main section {
        padding: 56px 0;
    }

    .policy-box,
    .download-panel {
        padding: 18px;
    }
}
