:root {
    --red: #dc2626;
    --red-light: #f87171;
    --bg: #f9fafb;
    --white: #ffffff;
    --text: #111827;
    --muted: #6b7280;
    --border: #e5e7eb;
    --radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* ── Header ── */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}
.header-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--red);
    letter-spacing: -0.3px;
}
.header-nav {
    display: flex;
    gap: 24px;
    font-size: 0.9rem;
    color: var(--muted);
}
.header-nav a:hover { color: var(--text); }

/* ── Hero ── */
.hero {
    background: linear-gradient(135deg, #fff1f1 0%, #fff9f9 60%, #f9fafb 100%);
    padding: 96px 24px 80px;
    text-align: center;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -1px;
    color: var(--text);
    margin-bottom: 20px;
}
.hero h1 span { color: var(--red); }
.hero-sub {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--red);
    background: #fee2e2;
    border-radius: 999px;
    padding: 4px 14px;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}
.hero-icon {
    font-size: 5rem;
    margin-bottom: 24px;
    display: block;
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ── Features ── */
.features {
    padding: 80px 24px;
}
.section-inner {
    max-width: 960px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}
.section-sub {
    text-align: center;
    color: var(--muted);
    margin-bottom: 48px;
    font-size: 0.95rem;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
    box-shadow: 0 8px 24px -4px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.feature-icon { font-size: 2.5rem; display: block; margin-bottom: 16px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ── Footer ── */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--white);
    padding: 40px 24px;
}
.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}
.footer-logo { font-size: 1rem; font-weight: 800; color: var(--red); }
.footer-nav { display: flex; gap: 20px; font-size: 0.875rem; color: var(--muted); flex-wrap: wrap; justify-content: center; }
.footer-nav a:hover { color: var(--red); }
.footer-copy { font-size: 0.8rem; color: var(--border); }

/* ── Legal page (terms / privacy) ── */
.legal-hero {
    background: linear-gradient(135deg, #fff1f1 0%, #f9fafb 100%);
    padding: 64px 24px 48px;
    text-align: center;
}
.legal-hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}
.legal-hero p { color: var(--muted); font-size: 0.95rem; }

.legal-frame-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}
.legal-frame-wrap iframe {
    width: 100%;
    height: 80vh;
    min-height: 600px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
}
.legal-link-row {
    text-align: center;
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--muted);
}
.legal-link-row a { color: var(--red); }
.legal-link-row a:hover { text-decoration: underline; }

/* ── Legal inline content ── */
.legal-body {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 24px 80px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text);
}
.legal-body h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 36px 0 12px;
    color: var(--text);
}
.legal-body p {
    margin-bottom: 16px;
    color: #374151;
}
.legal-body ul {
    margin: 12px 0 16px 24px;
}
.legal-body li {
    margin-bottom: 6px;
    color: #374151;
}
.legal-body a {
    color: var(--red);
    text-decoration: underline;
}
.legal-body .effective-date {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--muted);
}
