/* Kirbi — shared style */
:root {
    --pink: #E9839D;
    --pink-dark: #B85C70;
    --orange: #FFB347;
    --cream: #FCF1F4;
    --cream-soft: #F9F6EE;
    --text: #2E2522;
    --text-soft: #6B5447;
    --text-muted: #8A6F5E;
    --border: #EFE3E7;
    --white: #ffffff;
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px 24px 64px;
}

/* Header */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.brand {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--pink);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.5px;
}

.brand-emoji {
    font-size: 18px;
}

.lang-switch {
    display: flex;
    gap: 4px;
    background: var(--cream);
    padding: 4px;
    border-radius: 999px;
}

.lang-switch button {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.lang-switch button.active {
    background: var(--pink);
    color: var(--white);
}

/* Page content */
h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text);
    letter-spacing: -0.5px;
}

h2 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--pink-dark);
}

h3 {
    font-size: 16px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 8px;
    color: var(--text);
}

p {
    margin-bottom: 14px;
    color: var(--text-soft);
    font-size: 15px;
}

ul, ol {
    margin-bottom: 14px;
    padding-left: 22px;
}

li {
    margin-bottom: 6px;
    color: var(--text-soft);
    font-size: 15px;
}

a {
    color: var(--pink-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

a:hover {
    color: var(--pink);
}

.subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 500;
}

.section-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

/* Landing tiles */
.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.tile {
    display: block;
    padding: 24px;
    background: var(--white);
    border-radius: 18px;
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--border);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 131, 157, 0.15);
}

.tile-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.tile-title {
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 4px;
    color: var(--text);
}

.tile-sub {
    font-size: 12px;
    color: var(--text-muted);
}

/* Hero */
.hero {
    text-align: center;
    padding: 32px 0;
}

.hero-emoji {
    font-size: 48px;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: 36px;
}

.hero .tagline {
    color: var(--text-muted);
    font-size: 15px;
    margin-top: 8px;
}

/* Contact card */
.contact-card {
    background: linear-gradient(135deg, var(--pink) 0%, var(--orange) 100%);
    border-radius: 18px;
    padding: 24px;
    color: var(--white);
    margin-top: 24px;
}

.contact-card h3 {
    color: var(--white);
    margin-top: 0;
    font-size: 18px;
}

.contact-card a {
    color: var(--white);
    font-weight: 700;
    text-decoration: underline;
}

/* FAQ */
details {
    background: var(--white);
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 8px;
    border: 1px solid var(--border);
    cursor: pointer;
}

details summary {
    font-weight: 600;
    color: var(--text);
    list-style: none;
    position: relative;
    padding-right: 24px;
    font-size: 14px;
}

details summary::-webkit-details-marker {
    display: none;
}

details summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--pink);
    font-weight: 700;
    font-size: 20px;
    transition: transform 0.15s ease;
}

details[open] summary::after {
    content: "−";
}

details > p, details > ul {
    margin-top: 12px;
    font-size: 14px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 32px 24px;
    color: var(--text-muted);
    font-size: 12px;
    border-top: 1px solid var(--border);
    margin-top: 48px;
}

.footer a {
    color: var(--pink-dark);
    margin: 0 8px;
}

/* Lang content visibility */
[data-lang]:not(.active) {
    display: none;
}

@media (max-width: 600px) {
    .container {
        padding: 24px 18px 48px;
    }
    .hero h1 {
        font-size: 28px;
    }
    h1 {
        font-size: 26px;
    }
    h2 {
        font-size: 18px;
    }
    .site-header {
        padding: 14px 18px;
    }
    .brand {
        font-size: 18px;
    }
}
