/* Cluvyra marketing site — navy #131F2C, lime #BEF45D, white. */
:root {
    --navy: #131F2C;
    --navy-deep: #0C141D;
    --navy-2: #1B2A3A;
    --navy-3: #243649;
    --lime: #BEF45D;
    --lime-2: #A3DD3E;
    --white: #FFFFFF;
    --text: #E9EEF3;
    --muted: #9FB0C1;
    --line: rgba(255, 255, 255, 0.10);
    --radius: 18px;
    --maxw: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--navy-deep);
    color: var(--text);
    font: 16px/1.6 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--lime);
}

h1,
h2,
h3 {
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    font-weight: 800;
    max-width: 22ch;
}

h3 {
    font-size: 1.12rem;
    font-weight: 700;
}

p {
    margin: 0 0 14px;
}

.container {
    width: min(var(--maxw), 100% - 32px);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    background: var(--lime);
    color: var(--navy);
    padding: 8px 14px;
    border-radius: 8px;
    z-index: 100;
}

.skip-link:focus {
    left: 8px;
}

:focus-visible {
    outline: 3px solid var(--lime);
    outline-offset: 3px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--lime);
    color: var(--navy);
}

.btn-primary:hover {
    background: #CFF77F;
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: progress;
    transform: none;
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--white);
}

.btn-outline:hover {
    border-color: var(--lime);
}

.btn-ghost {
    color: var(--white);
}

.btn-lg {
    min-height: 52px;
    padding: 12px 24px;
    font-size: 1.02rem;
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(12, 20, 29, 0.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 68px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.03em;
}

.site-nav {
    display: flex;
    gap: 22px;
    margin-left: 12px;
}

.site-nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
}

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

.header-actions {
    display: flex;
    gap: 6px;
    margin-left: auto;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 72px 0 56px;
    background:
        radial-gradient(ellipse 60% 70% at 85% 10%, rgba(190, 244, 93, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 70% 60% at 0% 100%, rgba(70, 120, 180, 0.18) 0%, transparent 60%),
        var(--navy);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 22px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 4px rgba(190, 244, 93, 0.18);
}

.accent {
    color: var(--lime);
}

.lead {
    font-size: 1.12rem;
    color: #C9D4DF;
    max-width: 60ch;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 24px;
}

.hero-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
    color: var(--muted);
}

.hero-points li::before,
.checklist li::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    vertical-align: -3px;
    border-radius: 50%;
    background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23131F2C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.hero-visual {
    position: relative;
    margin: 0;
    padding-bottom: 40px;
}

.device {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    background: var(--navy-deep);
}

.device-phone {
    position: absolute;
    right: -10px;
    bottom: 0;
    width: 30%;
    border-radius: 26px;
    border: 6px solid #0A1018;
}

.hero-visual figcaption,
.chat-demo figcaption,
.note {
    color: var(--muted);
    font-size: 0.82rem;
    margin-top: 12px;
}

/* ── Sections ────────────────────────────────────────────────────────────── */
.section {
    padding: 88px 0;
}

.section-alt {
    background: var(--navy);
    border-block: 1px solid var(--line);
}

.section-kicker {
    color: var(--lime);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.grid {
    display: grid;
    gap: 18px;
    margin-top: 36px;
}

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

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

.card,
.feature {
    background: var(--navy-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}

.card p,
.feature p,
.steps p {
    color: var(--muted);
    margin: 0;
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(190, 244, 93, 0.12);
    margin-bottom: 16px;
}

.card-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--lime);
    stroke-width: 2;
    stroke-linecap: round;
}

.feature h3 {
    font-size: 1.02rem;
}

.feature {
    position: relative;
}

.feature::before {
    content: "";
    display: block;
    width: 28px;
    height: 4px;
    border-radius: 4px;
    background: var(--lime);
    margin-bottom: 16px;
}

.steps {
    list-style: none;
    padding: 0;
    margin: 36px 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.steps li {
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--navy-deep);
}

.step-num {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--lime);
    color: var(--navy);
    font-weight: 800;
    margin-bottom: 16px;
}

/* ── AI section ──────────────────────────────────────────────────────────── */
.section-ai {
    background:
        radial-gradient(ellipse 60% 70% at 100% 50%, rgba(190, 244, 93, 0.10) 0%, transparent 60%),
        var(--navy-deep);
}

.ai-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 48px;
    align-items: start;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: grid;
    gap: 12px;
    color: var(--muted);
}

.checklist li {
    position: relative;
    padding-left: 30px;
}

.checklist li::before {
    position: absolute;
    left: 0;
    top: 4px;
    margin: 0;
}

.checklist strong {
    color: var(--white);
}

.chat-demo {
    margin: 0;
    padding: 18px;
    border-radius: 22px;
    background: var(--navy);
    border: 1px solid rgba(190, 244, 93, 0.35);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    display: grid;
    gap: 10px;
    font-size: 0.94rem;
}

.chat-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--white);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.bubble {
    padding: 10px 14px;
    border-radius: 14px;
    max-width: 88%;
}

.bubble-user {
    justify-self: end;
    background: var(--lime);
    color: var(--navy);
    font-weight: 600;
    border-bottom-right-radius: 4px;
}

.bubble-ai {
    background: var(--navy-3);
    border-bottom-left-radius: 4px;
}

.bubble-system {
    justify-self: center;
    color: var(--lime);
    font-weight: 700;
    background: rgba(190, 244, 93, 0.10);
}

.slot,
.confirm {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--navy-2);
    border: 1px solid var(--line);
}

.slot div,
.confirm {
    display: grid;
    gap: 2px;
}

.slot span,
.confirm > span {
    color: var(--muted);
    font-size: 0.85rem;
}

.confirm {
    border-color: var(--lime);
}

.confirm strong {
    color: var(--white);
}

.confirm-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.slot-btn,
.ghost-btn {
    border-radius: 999px;
    padding: 6px 14px;
    font-weight: 800;
    font-size: 0.82rem;
    background: var(--lime);
    color: var(--navy) !important;
}

.ghost-btn {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--white) !important;
}

.flow {
    list-style: none;
    padding: 0;
    margin: 56px 0 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    counter-reset: flow;
}

.flow li {
    padding: 14px;
    border-radius: 14px;
    background: var(--navy-2);
    border: 1px solid var(--line);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--white);
}

.flow span {
    display: block;
    color: var(--lime);
    font-size: 0.78rem;
    margin-bottom: 4px;
}

/* ── Product screenshots ─────────────────────────────────────────────────── */
.shots {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 36px;
}

.shot {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--navy-2);
}

.shot figcaption {
    padding: 14px 16px;
    color: var(--muted);
    font-size: 0.92rem;
}

.shot figcaption strong {
    color: var(--white);
}

/* ── Who it's for ────────────────────────────────────────────────────────── */
.tags {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags li {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--navy-deep);
    font-weight: 700;
}

.roadmap {
    margin-top: 32px;
    padding: 22px 24px;
    border-radius: var(--radius);
    border: 1px dashed rgba(255, 255, 255, 0.22);
}

.roadmap p {
    color: var(--muted);
    margin: 0;
}

.badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    vertical-align: 2px;
}

/* ── Contact ─────────────────────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

.muted {
    color: var(--muted);
}

.lead-form {
    display: grid;
    gap: 14px;
    padding: 28px;
    border-radius: 22px;
    background: var(--navy);
    border: 1px solid var(--line);
}

.field {
    display: grid;
    gap: 6px;
}

.field label {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--white);
}

.optional {
    color: var(--muted);
    font-weight: 500;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: var(--navy-deep);
    color: var(--white);
    font: inherit;
}

.field textarea {
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--lime);
    box-shadow: 0 0 0 3px rgba(190, 244, 93, 0.2);
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    margin: 0;
    min-height: 1.4em;
    font-weight: 700;
}

.form-status[data-variant="success"] { color: var(--lime); }
.form-status[data-variant="error"] { color: #FF9C8F; }
.form-status[data-variant="info"] { color: var(--muted); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
    padding: 48px 0 40px;
    border-top: 1px solid var(--line);
    background: var(--navy);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: start;
}

.footer-brand p {
    margin: 10px 0 0;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
}

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

.footer-legal {
    grid-column: 1 / -1;
    font-size: 0.82rem;
    margin: 0;
}

/* ── Legal pages ─────────────────────────────────────────────────────────── */
.legal {
    padding: 56px 0 80px;
}

.legal article {
    max-width: 760px;
}

.legal h1 {
    font-size: clamp(2rem, 4vw, 2.6rem);
}

.legal h2 {
    font-size: 1.35rem;
    max-width: none;
    margin-top: 36px;
}

.legal p,
.legal li {
    color: #C9D4DF;
}

.legal ul {
    padding-left: 22px;
}

.review-note {
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 196, 0, 0.45);
    background: rgba(255, 196, 0, 0.08);
    color: #FFE3A0 !important;
    font-size: 0.92rem;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .site-nav { display: none; }
}

@media (max-width: 860px) {
    .hero { padding-top: 48px; }
    .hero-grid,
    .ai-grid,
    .contact-grid { grid-template-columns: 1fr; }
    .grid-3,
    .steps,
    .shots { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
    .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .grid-4,
    .flow { grid-template-columns: 1fr; }
    .header-actions .btn-ghost { display: none; }
    .header-actions .btn { padding: 8px 14px; min-height: 40px; }
    .hero-ctas .btn { width: 100%; }
    .device-phone { width: 36%; right: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn { transition: none; }
}
