:root {
    --bg: #f4f6f9;
    --surface: #ffffff;
    --border: #dde1e7;
    --text: #0d1117;
    --text-muted: #6e7681;
    --accent: #0969da;
    --accent-hover: #0860ca;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
    --radius: 12px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 44px;
    width: 100%;
    max-width: 680px;
    box-shadow: var(--shadow);
}

.site-header {
    margin-bottom: 28px;
}

.flag {
    display: block;
    font-size: 2em;
    margin-bottom: 10px;
}

h1 {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 4px;
}

.subtitle {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Two-path section */
.paths {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 28px;
}

@media (max-width: 540px) {
    .card { padding: 28px 24px; }
    .paths { grid-template-columns: 1fr; gap: 12px; }
    .divider { display: none; }
}

.path-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
}

.path-card h2 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.steps {
    padding-left: 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.8;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-style: italic;
    padding-top: 42px;
}

/* Buttons */
.btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
}

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

/* URL box */
.url-box {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.url-code {
    flex: 1;
    min-width: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 7px 10px;
    font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
    font-size: 0.72rem;
    color: var(--text);
    word-break: break-all;
    line-height: 1.4;
}

.btn-copy {
    flex-shrink: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 0.78rem;
    cursor: pointer;
    color: var(--text);
    transition: background 0.15s;
}

.btn-copy:hover { background: var(--bg); }
.btn-copy.copied { background: #f0fdf4; border-color: #86efac; color: #16a34a; }

.calendar-apps {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* What's included */
.included {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    margin-bottom: 24px;
}

.included h2 {
    font-size: 0.73rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.included ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.included ul li {
    font-size: 0.875rem;
    display: flex;
    gap: 8px;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 8px;
}

.lang-switcher {
    display: flex;
    gap: 4px;
}

.lang-switcher a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.78rem;
    transition: color 0.15s;
}

.lang-switcher a:hover { color: var(--accent); }
.lang-switcher a.active { color: var(--accent); font-weight: 600; }
