/* Plain CSS — home / site shell */
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg: #fafaf9;
    --bg-elevated: rgba(255, 255, 255, 0.72);
    --text: #1c1917;
    --text-muted: #57534e;
    --text-soft: #78716c;
    --border: rgba(214, 211, 209, 0.85);
    --accent: #d97706;
    --accent-hover: #ea580c;
    --accent-text: #78350f;
    --badge-bg: rgba(254, 243, 199, 0.85);
    --badge-border: rgba(251, 191, 36, 0.55);
    --code-bg: rgba(231, 229, 228, 0.9);
    --glow-amber: rgba(251, 191, 36, 0.22);
    --glow-rose: rgba(251, 113, 133, 0.12);
    --shadow-btn: 0 10px 25px -5px rgba(217, 119, 6, 0.35);
    --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0c0a09;
        --bg-elevated: rgba(28, 25, 23, 0.75);
        --text: #fafaf9;
        --text-muted: #a8a29e;
        --text-soft: #78716c;
        --border: rgba(68, 64, 60, 0.9);
        --accent: #f59e0b;
        --accent-hover: #fbbf24;
        --accent-text: #fde68a;
        --badge-bg: rgba(120, 53, 15, 0.45);
        --badge-border: rgba(180, 83, 9, 0.5);
        --code-bg: rgba(41, 37, 36, 0.95);
        --glow-amber: rgba(217, 119, 6, 0.18);
        --glow-rose: rgba(225, 29, 72, 0.1);
        --shadow-btn: 0 10px 25px -5px rgba(0, 0, 0, 0.45);
    }
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

/* Page shell */
.home-page {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.home-page__bg {
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: -1;
}

.home-page__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, var(--glow-amber), transparent);
}

.home-page__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.85;
}

.home-page__blob--tr {
    top: -5rem;
    right: -5rem;
    width: 24rem;
    height: 24rem;
    background: rgba(251, 191, 36, 0.12);
}

.home-page__blob--bl {
    bottom: -4rem;
    left: -4rem;
    width: 20rem;
    height: 20rem;
    background: var(--glow-rose);
}

/* Header */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 64rem;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

@media (min-width: 640px) {
    .site-header {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .site-header {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.site-header__brand-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.site-header__logo {
    flex-shrink: 0;
    height: 2.5rem;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    border-radius: 8px;
}

.site-header__text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.site-header__name {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--accent-text);
    line-height: 1.2;
}

.site-header__tagline {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.3;
}

.site-header__brand {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--accent-text);
}

.site-header__nav {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
}

.site-header__nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.site-header__nav a:hover {
    color: var(--accent);
}

/* Main */
.site-main {
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1rem 5rem;
}

@media (min-width: 640px) {
    .site-main {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .site-main {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.hero {
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}

.hero__badge {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-text);
    background: var(--badge-bg);
    border: 1px solid var(--badge-border);
    border-radius: 9999px;
}

.hero__title {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: var(--text);
}

.hero__lead {
    margin: 1rem 0 0;
    font-size: 1.125rem;
    color: var(--text-muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: #d97706;
    border: none;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-btn);
    cursor: pointer;
    transition: background 0.15s ease;
}

.btn:hover {
    background: var(--accent-hover);
}

.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn--ghost {
    color: var(--accent);
    background: transparent;
    border: 2px solid rgba(217, 119, 6, 0.55);
    box-shadow: none;
}

.btn--ghost:hover {
    background: rgba(217, 119, 6, 0.08);
}

@media (prefers-color-scheme: dark) {
    .btn--ghost {
        border-color: rgba(251, 191, 36, 0.45);
    }

    .btn--ghost:hover {
        background: rgba(251, 191, 36, 0.08);
    }
}

.section {
    margin-top: 3.5rem;
}

.section__title {
    margin: 0 0 1.25rem;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    color: var(--text);
}

.section--trust {
    margin-top: 2.5rem;
    padding: 1.5rem 1.25rem;
    text-align: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 1rem;
}

.section--trust p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-muted);
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.contact-strip {
    margin-top: 2.5rem;
    padding: 1.75rem 1.25rem;
    text-align: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.35), rgba(255, 228, 230, 0.2));
    border: 1px solid var(--badge-border);
}

.contact-strip p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-muted);
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

@media (prefers-color-scheme: dark) {
    .contact-strip {
        background: linear-gradient(135deg, rgba(120, 53, 15, 0.35), rgba(136, 19, 55, 0.15));
    }
}

.hero__meta {
    font-size: 0.875rem;
    color: var(--text-soft);
}

.hero__meta code {
    padding: 0.125rem 0.5rem;
    font-size: 0.8125rem;
    color: var(--text);
    background: var(--code-bg);
    border-radius: 0.375rem;
}

/* Feature cards */
.feature-grid {
    display: grid;
    gap: 1.5rem;
    margin: 5rem 0 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    padding: 1.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(8px);
}

.feature-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.75rem;
    border-radius: 0.5rem;
}

.feature-card__icon--amber {
    background: rgba(254, 243, 199, 0.9);
    color: #92400e;
}

.feature-card__icon--rose {
    background: rgba(255, 228, 230, 0.9);
    color: #9f1239;
}

.feature-card__icon--violet {
    background: rgba(237, 233, 254, 0.9);
    color: #5b21b6;
}

@media (prefers-color-scheme: dark) {
    .feature-card__icon--amber {
        background: rgba(120, 53, 15, 0.5);
        color: #fde68a;
    }

    .feature-card__icon--rose {
        background: rgba(136, 19, 55, 0.45);
        color: #fda4af;
    }

    .feature-card__icon--violet {
        background: rgba(76, 29, 149, 0.45);
        color: #ddd6fe;
    }
}

.feature-card__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.feature-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.feature-card__text {
    margin: 0.5rem 0 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.feature-card__text code {
    font-size: 0.75rem;
}

/* Footer */
.site-footer {
    padding: 2rem 1rem;
    font-size: 0.875rem;
    color: var(--text-soft);
    text-align: center;
    border-top: 1px solid var(--border);
}

.site-footer p {
    margin: 0;
}
