/* ===== Variables ===== */
:root {
    --coral: #ff6b6b;
    --coral-dark: #ff5252;
    --coral-light: #fff0f0;
    --purple: #845ef7;
    --purple-light: #f3f0ff;
    --teal: #20c997;
    --teal-light: #e6fcf5;
    --yellow: #fcc419;
    --yellow-light: #fff9db;
    --text: #2d3436;
    --text-muted: #74818a;
    --bg: #fefefe;
    --bg-warm: #fdf8f4;
    --bg-muted: #f8f9fa;
    --border: #e9ecef;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-pill: 50px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow: 0 4px 15px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --max-width: 960px;
    --transition: 200ms ease;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--coral); }

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

/* ===== Layout ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.main {
    flex: 1;
    padding: 2rem 0;
}

/* ===== Header ===== */
.header {
    background: var(--bg);
    padding: 0.75rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo:hover { color: var(--text); }

.logo-mark {
    width: 34px;
    height: 34px;
    background: linear-gradient(140deg, #ff7b7b 0%, #9b6dff 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-2deg);
    position: relative;
    box-shadow: 0 2px 8px rgba(132, 94, 247, 0.2);
    flex-shrink: 0;
}

.logo-mark svg {
    width: 18px;
    height: 18px;
    stroke: white;
    fill: none;
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.logo-wave {
    position: absolute;
    top: -6px;
    right: -6px;
    font-size: 12px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav a {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-pill);
    transition: all var(--transition);
    text-decoration: none;
}

.nav a:hover { color: var(--text); }
.nav a.btn-primary { color: white; }
.nav a.btn-primary:hover { color: white; }

.nav-active {
    color: var(--coral) !important;
    position: relative;
}

.nav-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 3px;
    background: var(--coral);
    border-radius: 2px;
}

.nav-separator {
    width: 1px;
    height: 20px;
    background: var(--border);
}

.nav-user {
    color: var(--text) !important;
    font-weight: 800 !important;
}

.lang-switch { display: flex; }

.lang-select {
    background: var(--bg-muted);
    border: none;
    border-radius: var(--radius-pill);
    padding: 0.3rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: inherit;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2374818a'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.4rem center;
    padding-right: 1.2rem;
}

.lang-select:hover {
    background-color: var(--coral-light);
    color: var(--coral);
}

.lang-select:focus { outline: none; }

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--transition);
}

/* ===== Footer ===== */
.footer {
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    border-top: 1px solid var(--border);
}

/* ===== Page Header ===== */
.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1rem;
}

.page-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
}

.page-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.section { margin-bottom: 2rem; }

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.section-header h2 { font-size: 1.25rem; font-weight: 800; }

.section-actions {
    display: flex;
    gap: 0.5rem;
}

.count {
    font-weight: 400;
    color: var(--text-muted);
}

/* ===== Cards ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1rem;
}

.card {
    display: block;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition);
    color: var(--text);
    text-decoration: none;
}

.card:hover {
    border-color: var(--coral);
    box-shadow: var(--shadow-md);
    color: var(--text);
    transform: translateY(-2px);
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.card-muted { opacity: 0.7; }

.card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.card-meta {
    display: flex;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-weight: 600;
}

.content-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 700;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: var(--coral);
    color: white;
    box-shadow: 0 2px 8px rgba(255,107,107,0.25);
}

.btn-primary:hover {
    background: var(--coral-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,107,107,0.35);
}

.btn-outline {
    background: white;
    border: 1px solid var(--border);
    color: var(--text);
}

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

.btn-danger {
    background: var(--coral-light);
    color: var(--coral);
}

.btn-danger:hover { background: var(--coral); color: white; }

.btn-sm { padding: 0.375rem 0.875rem; font-size: 0.8125rem; }
.btn-xs { padding: 0.25rem 0.625rem; font-size: 0.75rem; }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ===== Badges ===== */
.badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 800;
    background: var(--purple-light);
    color: var(--purple);
}

.badge-owner { background: var(--yellow-light); color: #92400e; }
.badge-admin { background: var(--purple-light); color: var(--purple); }
.badge-muted { background: var(--bg-muted); color: var(--text-muted); }
.badge-recurring { background: var(--purple-light); color: var(--purple); }
.badge-onetime { background: var(--bg-muted); color: var(--text-muted); }
.badge-scheduled { background: #dbeafe; color: #1e40af; }
.badge-confirmed { background: var(--teal-light); color: #065f46; }
.badge-cancelled { background: var(--coral-light); color: var(--coral); }
.badge-completed { background: var(--bg-muted); color: var(--text-muted); }
.badge-lg { padding: 0.3rem 0.9rem; font-size: 0.875rem; }

/* ===== Response Summary ===== */
.response-summary {
    display: flex;
    gap: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-top: 0.75rem;
}

.response-summary .coming { color: var(--teal); }
.response-summary .maybe { color: #e67700; }
.response-summary .not-coming { color: var(--coral); }
.response-summary .pending { color: var(--text-muted); }

/* ===== Response Overview (instance detail) ===== */
.response-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
}

.stat-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
}

.stat-coming { background: var(--teal-light); }
.stat-coming .stat-number { color: var(--teal); }
.stat-maybe { background: var(--yellow-light); }
.stat-maybe .stat-number { color: #e67700; }
.stat-not-coming { background: var(--coral-light); }
.stat-not-coming .stat-number { color: var(--coral); }
.stat-pending { background: var(--bg-muted); }
.stat-pending .stat-number { color: var(--text-muted); }

/* ===== Response badges (inline) ===== */
.response-badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 800;
}

.response-coming { background: var(--teal-light); color: var(--teal); }
.response-maybe { background: var(--yellow-light); color: #e67700; }
.response-not_coming { background: var(--coral-light); color: var(--coral); }
.response-pending { background: var(--bg-muted); color: var(--text-muted); }

/* ===== Forms ===== */
.form { max-width: 500px; }

.form-group { margin-bottom: 1rem; }

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: border-color var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(255,107,107,0.1);
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.required {
    color: var(--coral);
    font-weight: 800;
}

.optional {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.75rem;
    font-style: italic;
}

.form-error {
    display: block;
    color: var(--coral);
    font-size: 0.8125rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

.form-help {
    display: block;
    color: var(--text-muted);
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.pill-custom-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.custom-value-input {
    width: 70px !important;
    padding: 0.4rem 0.5rem;
    border: 2px solid var(--coral);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: center;
    background: var(--coral-light);
    -moz-appearance: textfield;
}

.custom-value-input::-webkit-inner-spin-button,
.custom-value-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.custom-value-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,107,107,0.1);
}

.custom-unit-select {
    width: auto !important;
    padding: 0.4rem 0.5rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    background: white;
    color: var(--text);
    cursor: pointer;
}

.custom-unit-select:focus {
    outline: none;
    border-color: var(--coral);
}

.pill-custom-toggle { border-style: dashed !important; }

.pill-disabled {
    opacity: 0.3;
    cursor: not-allowed !important;
    pointer-events: none;
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

fieldset {
    border: none;
    margin-bottom: 1.5rem;
}

fieldset legend {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border);
    width: 100%;
}

/* ===== Tables ===== */
.table-responsive { overflow-x: auto; }

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.table th {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.table-compact td { padding: 0.5rem 0.75rem; }

.member-setting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-muted);
    border-radius: var(--radius);
}

.member-setting-info {
    flex: 1;
}

.member-setting-info strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.member-setting-info .text-muted {
    font-size: 0.8rem;
}

.member-paused td { opacity: 0.5; }
.member-paused td:last-child { opacity: 1; }

.table-actions {
    display: flex;
    gap: 0.25rem;
    justify-content: flex-end;
}

/* ===== Alerts ===== */
.alert {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.alert-success { background: var(--teal-light); color: #065f46; }
.alert-error { background: var(--coral-light); color: #991b1b; }
.alert-warning { background: var(--yellow-light); color: #92400e; }
.alert-info { background: var(--purple-light); color: #5b21b6; }

/* ===== Auth Pages ===== */
.auth-page {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.auth-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow);
}

.auth-card h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.auth-card .text-muted { margin-bottom: 1.5rem; }

.delete-section { margin-top: 1rem; }
.delete-section h3 { font-size: 0.9rem; font-weight: 800; margin-bottom: 0.5rem; }

.delete-list {
    list-style: none;
    padding: 0;
}

.delete-list li {
    padding: 0.4rem 0.75rem;
    background: var(--coral-light);
    border-radius: var(--radius);
    margin-bottom: 0.35rem;
    font-size: 0.875rem;
}

.delete-account-link {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.8rem;
}

.delete-account-link a {
    color: var(--text-muted);
    text-decoration: underline;
}

.delete-account-link a:hover { color: var(--coral); }

/* Social auth */
.social-auth { margin-bottom: 1rem; }

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-pill);
    background: white;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
}

.btn-social:hover {
    border-color: var(--text-muted);
    box-shadow: var(--shadow-sm);
    color: var(--text);
}

.social-icon { width: 18px; height: 18px; flex-shrink: 0; }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-footer {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* ===== Hero (Landing Page) ===== */
.hero {
    text-align: center;
    padding: 5rem 1rem 3rem;
    position: relative;
    overflow: hidden;
    background: var(--bg-warm);
}

.blob { position: absolute; border-radius: 50%; opacity: 0.5; }
.blob-1 { width: 300px; height: 300px; background: var(--coral-light); top: -80px; left: -100px; }
.blob-2 { width: 200px; height: 200px; background: var(--purple-light); top: 20px; right: -50px; }
.blob-3 { width: 250px; height: 250px; background: var(--teal-light); bottom: -60px; right: 20%; }
.blob-4 { width: 150px; height: 150px; background: var(--yellow-light); bottom: 20px; left: 10%; }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto;
}

.hero-wave { font-size: 3rem; margin-bottom: 0.5rem; }

.hero h1 {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero h1 .pop {
    color: var(--coral);
    position: relative;
    display: inline-block;
}

.hero h1 .pop::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: -4px;
    right: -4px;
    height: 10px;
    background: var(--yellow);
    opacity: 0.3;
    border-radius: 4px;
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 auto 2rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 800;
    font-family: inherit;
    text-decoration: none;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
}

.btn-hero-primary {
    background: var(--coral);
    color: white;
    box-shadow: 0 4px 15px rgba(255,107,107,0.35);
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,107,0.45); color: white; }

.btn-hero-secondary {
    background: white;
    color: var(--text);
    box-shadow: var(--shadow-sm);
}
.btn-hero-secondary:hover { box-shadow: var(--shadow); color: var(--text); }

/* Preview card */
.preview-section {
    position: relative;
    z-index: 1;
    max-width: 420px;
    margin: 3rem auto 0;
}

.preview-card {
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.preview-header {
    background: linear-gradient(135deg, var(--purple), var(--coral));
    color: white;
    padding: 1.25rem 1.5rem;
    text-align: left;
}

.preview-header h3 { font-size: 1.05rem; font-weight: 800; }
.preview-header p { font-size: 0.8rem; opacity: 0.85; margin-top: 0.2rem; }

.preview-body { padding: 0; }

.preview-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 1.25rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.preview-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
}

.preview-info { flex: 1; }
.preview-name { font-weight: 700; font-size: 0.85rem; }
.preview-comment { font-size: 0.7rem; color: var(--text-muted); }

.preview-status {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
}

.ps-in { background: var(--teal-light); color: var(--teal); }
.ps-maybe { background: var(--yellow-light); color: #e67700; }
.ps-out { background: var(--coral-light); color: var(--coral); }

.preview-footer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem;
    background: var(--bg-muted);
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.preview-footer strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
}

/* ===== Steps / How it works ===== */
.features { padding: 4rem 1rem; }

.features-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
}

.steps-row {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.step-card {
    flex: 1;
    text-align: center;
    padding: 1.75rem 1.25rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    position: relative;
}

.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.step-num {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px; height: 24px;
    background: linear-gradient(135deg, var(--coral), var(--purple));
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

.step-icon { font-size: 2rem; margin-bottom: 0.75rem; }

.step-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 0.4rem; }
.step-card p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; }

.step-arrow {
    font-size: 1.25rem;
    color: var(--border);
    padding-top: 2.5rem;
    flex-shrink: 0;
}

/* ===== Use Cases ===== */
.use-cases-section {
    padding: 3rem 1rem 4rem;
    background: var(--bg-muted);
}

.use-cases-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.use-case-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.use-case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.use-case-emoji { font-size: 1.75rem; display: block; margin-bottom: 0.5rem; }
.use-case-card h3 { font-size: 0.9rem; font-weight: 800; margin-bottom: 0.25rem; }
.use-case-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }

/* ===== FAQ ===== */
.faq-section {
    padding: 3rem 1rem 4rem;
}

.faq-list {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item[open] {
    box-shadow: var(--shadow);
}

.faq-item summary {
    padding: 1rem 1.25rem;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--coral);
    transition: transform var(--transition);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ===== Respond Page ===== */
.respond-page { max-width: 500px; margin: 0 auto; }

/* Hero */
.respond-hero {
    background: linear-gradient(135deg, var(--purple), var(--coral));
    border-radius: var(--radius-lg);
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.respond-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15) 0%, transparent 50%);
}

.respond-hero-content { position: relative; z-index: 1; }

.respond-group-name {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.respond-hero h1 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.respond-info-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.respond-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
}

.respond-desc {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Greeting */
.respond-greeting {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.respond-wave { font-size: 1.5rem; }

/* Response card */
.respond-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 0.75rem;
}

.respond-question {
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.respond-form { max-width: 100%; }

.response-choices {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.response-choice {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 1rem 0.5rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.response-choice input[type="radio"] { display: none; }

.rc-emoji { font-size: 1.5rem; }
.response-choice-label { font-weight: 800; font-size: 0.85rem; }

.rc-coming:hover, .rc-coming.selected, .rc-coming:has(input:checked) {
    border-color: var(--teal);
    background: var(--teal-light);
}

.rc-maybe:hover, .rc-maybe.selected, .rc-maybe:has(input:checked) {
    border-color: var(--yellow);
    background: var(--yellow-light);
}

.rc-not:hover, .rc-not.selected, .rc-not:has(input:checked) {
    border-color: var(--coral);
    background: var(--coral-light);
}

.respond-deadline-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 2rem;
}

.respond-deadline-card {
    text-align: center;
    background: var(--yellow-light);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.respond-deadline-icon { font-size: 2rem; }

/* Stats row */
.respond-stats {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.respond-stat {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    border-radius: var(--radius);
}

.respond-stat-num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.respond-stat-label {
    font-size: 0.75rem;
    font-weight: 700;
}

.respond-stat small { font-weight: 600; opacity: 0.7; }

.rs-coming { background: var(--teal-light); }
.rs-coming .respond-stat-num { color: var(--teal); }
.rs-coming .respond-stat-label { color: var(--teal); }

.rs-maybe { background: var(--yellow-light); }
.rs-maybe .respond-stat-num { color: #e67700; }
.rs-maybe .respond-stat-label { color: #e67700; }

.rs-not { background: var(--coral-light); }
.rs-not .respond-stat-num { color: var(--coral); }
.rs-not .respond-stat-label { color: var(--coral); }

/* Response list */
.response-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.response-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.ri-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    background: var(--bg-muted);
}

.ri-coming .ri-avatar { background: var(--teal-light); }
.ri-maybe .ri-avatar { background: var(--yellow-light); }
.ri-not_coming .ri-avatar { background: var(--coral-light); }

.ri-info { flex: 1; min-width: 0; }

.ri-name { font-weight: 700; font-size: 0.9rem; display: block; }

.ri-guests {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--purple);
    background: var(--purple-light);
    padding: 0.1rem 0.4rem;
    border-radius: var(--radius-pill);
    margin-left: 0.25rem;
}

.ri-comment {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Guest toggle */
.guest-toggle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--purple);
    cursor: pointer;
}

.guest-toggle:hover { color: var(--coral); }

.guest-stepper label {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    display: block;
}

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
    font-weight: 600;
}

.empty-state .btn { margin-top: 1rem; }

/* ===== Utilities ===== */
.text-muted { color: var(--text-muted); }
.text-success { color: var(--teal); }
.text-danger { color: var(--coral); }
.text-warning { color: #e67700; }

/* ===== Help Page ===== */
.help-hero {
    background: linear-gradient(135deg, var(--purple), var(--coral));
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.help-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.12) 0%, transparent 50%);
}

.help-hero-content { position: relative; z-index: 1; }
.help-hero h1 { font-size: 2rem; font-weight: 900; margin-bottom: 0.5rem; }
.help-hero p { opacity: 0.9; font-size: 1.05rem; }

.help-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.help-toc a {
    padding: 0.4rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--transition);
}

.help-toc a:hover { border-color: var(--coral); color: var(--coral); }

.help-section {
    margin-bottom: 3rem;
    scroll-margin-top: 80px;
}

.help-section-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.help-section-num {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--coral), var(--purple));
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.help-section-header h2 { font-size: 1.4rem; font-weight: 800; margin: 0; }
.help-section-header p { color: var(--text-muted); font-size: 0.9rem; margin: 0.15rem 0 0; }

.help-screenshot {
    margin-bottom: 1.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.help-screenshot img {
    width: 100%;
    display: block;
}

.help-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.help-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.help-step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.help-step h3 { font-size: 0.95rem; font-weight: 800; margin: 0 0 0.2rem; }
.help-step p { font-size: 0.85rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

.help-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.help-card {
    padding: 1.25rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.help-card h3 { font-size: 0.9rem; font-weight: 800; margin: 0 0 0.35rem; }
.help-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

.help-detail {
    background: var(--bg-muted);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-top: 1rem;
}

.help-detail h3 { font-size: 0.9rem; font-weight: 800; margin: 0 0 0.25rem; }
.help-detail p { font-size: 0.85rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

.help-timeline { margin-bottom: 1rem; }

.help-timeline-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.help-tl-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.help-tl-connector {
    width: 2px;
    height: 12px;
    background: var(--border);
    margin-left: 1.85rem;
}

.help-timeline-item h3 { font-size: 0.9rem; font-weight: 800; margin: 0 0 0.2rem; }
.help-timeline-item p { font-size: 0.85rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

.help-tips {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.help-tip {
    padding: 1rem 1.25rem;
    background: var(--yellow-light);
    border-radius: var(--radius-lg);
}

.help-tip strong { font-size: 0.9rem; display: block; margin-bottom: 0.2rem; }
.help-tip p { font-size: 0.85rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

@media (max-width: 768px) {
    .help-cards { grid-template-columns: 1fr; }
}

/* ===== Adjust Responses ===== */
.adjust-form { max-width: 640px; }

.adjust-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.adjust-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    transition: all var(--transition);
}

.adjust-card:hover { box-shadow: var(--shadow-sm); }

.adjust-member {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.adjust-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.adjust-name { font-weight: 800; font-size: 0.95rem; }

.adjust-coming .adjust-avatar { background: var(--teal-light); }
.adjust-maybe .adjust-avatar { background: var(--yellow-light); }
.adjust-not_coming .adjust-avatar { background: var(--coral-light); }
.adjust-pending .adjust-avatar { background: var(--bg-muted); }

.adjust-fields {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
}

.adjust-field label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.25rem;
}

.adjust-field select,
.adjust-field input {
    padding: 0.5rem 0.6rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    background: white;
    transition: border-color var(--transition);
}

.adjust-field select:focus,
.adjust-field input:focus {
    outline: none;
    border-color: var(--coral);
}

.adjust-field-wide { flex: 1; }
.adjust-field-wide input { width: 100%; }

/* ===== Activity Detail ===== */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem 1rem;
    font-size: 0.9rem;
}

.detail-list dt {
    font-weight: 700;
    color: var(--text-muted);
}

.detail-list dd { margin: 0; }

.next-instance {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.75rem;
}

.next-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--coral-light);
    border-radius: var(--radius);
    padding: 0.5rem 0.75rem;
    min-width: 52px;
}

.next-day { font-size: 1.5rem; font-weight: 800; color: var(--coral); line-height: 1; }
.next-month { font-size: 0.7rem; font-weight: 700; color: var(--coral); text-transform: uppercase; }

.next-info { flex: 1; }

/* ===== Calendar ===== */
.cal-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cal-month-label {
    font-weight: 800;
    font-size: 1rem;
    min-width: 140px;
    text-align: center;
}

.calendar {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.cal-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--bg-muted);
    border-bottom: 1px solid var(--border);
}

.cal-day-name {
    padding: 0.5rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.cal-cell {
    min-height: 80px;
    padding: 0.35rem;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.cal-cell:nth-child(7n) { border-right: none; }

.cal-empty { background: var(--bg-muted); opacity: 0.3; }

.cal-today { background: var(--yellow-light); }

.cal-date {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.cal-today .cal-date { color: var(--text); font-weight: 800; }

.cal-event {
    display: block;
    padding: 0.2rem 0.35rem;
    margin-bottom: 0.15rem;
    border-radius: 4px;
    border-left: 3px solid var(--purple);
    background: var(--bg-muted);
    font-size: 0.65rem;
    line-height: 1.3;
    text-decoration: none;
    color: var(--text);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: background var(--transition);
}

.cal-event:hover { background: var(--purple-light); color: var(--text); }

.cal-event-time { font-weight: 700; }
.cal-event-name { font-weight: 600; }

.cal-event-count {
    background: var(--teal-light);
    color: var(--teal);
    font-weight: 800;
    font-size: 0.6rem;
    padding: 0 0.3rem;
    border-radius: var(--radius-pill);
}

/* ===== Activity Form ===== */
.activity-form {
    max-width: 640px;
}

.form-section {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.form-section-header {
    padding: 0.85rem 1.5rem;
    background: linear-gradient(135deg, var(--purple), var(--coral));
    color: white;
}

.form-section-header h2 {
    font-size: 0.85rem;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-section-icon { display: none; }

.form-section-body { padding: 1.5rem; }
.form-section-body .form-group:last-child { margin-bottom: 0; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Toggle group (one-time / recurring) */
.toggle-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: white;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
}

.toggle-btn:hover { border-color: var(--purple); color: var(--text); }

.toggle-btn.active {
    border-color: var(--purple);
    background: var(--purple-light);
    color: var(--purple);
}

.toggle-svg { width: 20px; height: 20px; flex-shrink: 0; }

.badge-svg { width: 12px; height: 12px; vertical-align: -1px; }

/* Duration picker */
.duration-picker {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.duration-part {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.duration-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

/* Stepper controls */
.stepper {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.stepper-btn {
    width: 36px;
    height: 36px;
    border: 2px solid var(--border);
    border-radius: 50%;
    background: white;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    font-family: inherit;
    line-height: 1;
    padding: 0;
}

.stepper-btn:hover { border-color: var(--coral); color: var(--coral); }
.stepper-btn:active { background: var(--coral-light); }

.stepper-input {
    width: 52px !important;
    text-align: center;
    font-weight: 800;
    font-size: 1.1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 0.4rem;
    font-family: inherit;
    -moz-appearance: textfield;
}

.stepper-input-error { border-color: var(--coral) !important; background: var(--coral-light) !important; }

.stepper-input::-webkit-inner-spin-button,
.stepper-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* Pill select (response deadline, notification timing) */
.pill-select {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.pill-option {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-pill);
    background: white;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
}

.pill-option:hover { border-color: var(--coral); color: var(--text); }

.pill-option.active {
    border-color: var(--coral);
    background: var(--coral-light);
    color: var(--coral);
}

.pill-select-sm .pill-option {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
}

/* Min/Max row */
.minmax-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.minmax-control { text-align: center; }

.minmax-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.minmax-control .stepper { justify-content: center; }

/* Notification timeline */
.notif-timeline {
    margin-top: 0.75rem;
}

.notif-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.notif-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    background: var(--purple-light);
}

.notif-invite .notif-icon { background: var(--teal-light); }
.notif-reminder .notif-icon { background: var(--yellow-light); }
.notif-confirm .notif-icon { background: var(--coral-light); }

.notif-info { flex: 1; }

.notif-name {
    font-weight: 800;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.15rem;
}

.notif-datetime {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--purple);
    background: var(--purple-light);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-pill);
    margin-top: 0.4rem;
}

.notif-datetime:empty { display: none; }

.notif-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.25rem;
}

.notif-connector {
    width: 2px;
    height: 16px;
    background: var(--border);
    margin: 0 0 0 1.6rem;
}

.recurring-fields {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; }

    .nav {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 1rem;
        gap: 0.75rem;
        box-shadow: var(--shadow-md);
    }

    .nav.open { display: flex; }

    .nav-separator { display: none; }

    .hero h1 { font-size: 2.25rem; }

    .feature-grid { grid-template-columns: 1fr; }

    .response-overview { grid-template-columns: repeat(2, 1fr); }

    .response-choices { flex-direction: column; }

    .page-header { flex-direction: column; }

    .page-actions { width: 100%; }

    .respond-detail { flex-direction: column; gap: 0.25rem; }

    .hero h1 { font-size: 2.25rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .steps-row { flex-direction: column; align-items: center; }
    .step-arrow { transform: rotate(90deg); padding: 0; }
    .use-cases-grid { grid-template-columns: repeat(2, 1fr); }

    .detail-grid { grid-template-columns: 1fr; }
    .cal-cell { min-height: 50px; }
    .cal-event-name { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .toggle-group { grid-template-columns: 1fr; }
    .minmax-row { grid-template-columns: 1fr; gap: 1rem; }
    .duration-picker { flex-direction: column; gap: 0.75rem; }
    .pill-select { gap: 0.3rem; }
    .pill-option { padding: 0.4rem 0.75rem; font-size: 0.8rem; }
}
