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

:root {
    /* Palette (UX refresh, Nov 2026): one accent, warm neutrals, white ground */
    --primary: #BF5230;          /* terracotta, AA on white for text and filled buttons */
    --primary-dark: #A3431F;
    --secondary: #2C7A7B;        /* legacy teal: only for a few status accents now */
    --secondary-light: #4FD1C5;
    --background: #FFFFFF;
    --surface: #FFFFFF;
    --text: #1C1917;
    --text-secondary: #44403C;
    --text-light: #6B6560;       /* 5.3:1 on white; smallest text uses this */
    --accent: var(--primary);    /* the amber highlighter is gone; legacy uses of --accent now resolve to the primary */
    --success: #2F8F6B;
    --error: #C0392B;
    --border: #E7E2DC;           /* hairline */
    --radius-control: 8px;
    --radius-card: 16px;
    --shadow-float: 0 12px 32px rgba(28, 25, 23, 0.12);
    --ease: 150ms ease-out;
    /* Colours that used to be hard-coded in JSX (WP 4.3). Change the palette here. */
    --primary-tint: #FBF1EC;     /* soft primary wash: callouts, active week header, selected chips */
    --primary-deep: #A3431F;     /* "Your edge" label */
    --purple: #6B5B95;           /* checkpoints */
    --purple-tint: #F5F0FF;
    --ink: #1C1917;              /* plan headings */
    --text-dim: #57534E;
    --text-muted: #6B6560;
    --line: #E7E2DC;             /* hairlines inside plan cards */
    --surface-soft: #FAF8F5;     /* task rows, secondary blocks */
    --surface-muted: #F3F0EC;    /* collapsible buttons, tags */
    --done: #44AA99;             /* completed tasks and weeks */
    --done-tint: #F0F7F0;
}

body {
    font-family: 'Work Sans', system-ui, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Motion: only on user action, and none at all when the OS asks */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
button:focus:not(:focus-visible) { outline: none; }

.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    background: var(--surface);
    padding: 0.9rem 2rem;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo: centered on desktop, left-aligned on mobile */
.header__logo {
    cursor: pointer;
    line-height: 1;
    /* Desktop: center via absolute positioning */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}
@media (max-width: 768px) {
    .header__logo {
        position: static;
        transform: none;
        text-align: left;
    }
}

.logo {
    font-family: 'Crimson Pro', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.user-menu {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.user-info {
    font-size: 0.9rem;
    color: var(--text-light);
}

.auth-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Tab label responsive toggle */
.tab-label-short { display: none; }
@media (max-width: 768px) {
    .tab-label-full  { display: none; }
    .tab-label-short { display: inline; }
}

/* ---- Header: desktop vs mobile nav ---- */

.header__desktop-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}
.header__mobile-nav {
    display: none;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

@media (max-width: 768px) {
    .header__desktop-nav { display: none; }
    .header__mobile-nav  { display: flex; }
}

/* Toolkits icon button (mobile) */
.header__toolkits-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-light, #718096);
    transition: background 0.15s, color 0.15s;
    position: relative;
    overflow: hidden;
}

/* Burger button */
.header__burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text, #2D3748);
    border-radius: 8px;
    transition: background 0.15s;
    position: relative;
    overflow: hidden;
}
.header__burger:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Mobile dropdown menu */
.header__mobile-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: var(--surface, #fff);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-float);
    padding: 0.5rem;
    z-index: 200;
    animation: menuFadeIn 0.15s ease-out;
}
@keyframes menuFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* User info header row */
.header__mobile-menu-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.02);
}
.header__mobile-menu-user-info {
    flex: 1;
    min-width: 0;
}
.header__mobile-menu-user-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.header__mobile-menu-user-email {
    font-size: 0.78rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}
.header__mobile-menu-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    color: #fff;
    background: var(--primary);
    flex-shrink: 0;
}

/* Menu divider */
.header__mobile-menu-divider {
    height: 1px;
    background: var(--border);
    margin: 0.4rem 0.5rem;
}

/* Menu items */
.header__mobile-menu-item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.7rem 0.75rem;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    transition: background 0.15s;
    text-align: left;
}
.header__mobile-menu-item:hover {
    background: rgba(0, 0, 0, 0.04);
}
.header__mobile-menu-item--primary {
    color: var(--primary);
    font-weight: 600;
}
.header__mobile-menu-item--upgrade {
    color: var(--primary);
    font-weight: 600;
    background: var(--primary-tint);
}
.header__mobile-menu-item--upgrade:hover {
    background: var(--primary-tint);
}

.main-content {
    flex: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    width: 100%;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    margin-bottom: 3rem;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

/* Type scale: 2.25 / 1.5 / 1.125 / 1 / 0.875 rem. Serif for h1 and h2 only, in ink. */
h1 {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

h2 {
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
    line-height: 1.2;
    text-wrap: balance;
}

h3 {
    font-family: inherit;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary);
}

.input-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 500;
}

textarea,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="file"] {
    width: 100%;
    min-height: 44px;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-control);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
    background: var(--surface);
    transition: border-color var(--ease), box-shadow var(--ease);
    resize: vertical;
}

select {
    width: 100%;
    min-height: 44px;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-control);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
    background: var(--surface);
    transition: border-color var(--ease), box-shadow var(--ease);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
    cursor: pointer;
}

select::-ms-expand {
    display: none;
}

textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="file"]:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-tint);
}

select:hover {
    border-color: var(--text-light);
}

.file-upload-area {
    border: 1px dashed var(--border);
    border-radius: var(--radius-control);
    padding: 2rem;
    text-align: center;
    background: var(--surface-soft);
    cursor: pointer;
    transition: border-color var(--ease), background var(--ease);
}

.file-upload-area:hover {
    border-color: var(--primary);
    background: var(--primary-tint);
}

.file-upload-area.drag-over {
    border-color: var(--primary);
    background: var(--primary-tint);
}

.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Buttons: primary (filled), secondary (hairline), quiet (text). 44px tall on phones, 40 on desktop. */
button {
    min-height: 44px;
    padding: 0.6rem 1.4rem;
    border: none;
    border-radius: var(--radius-control);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}
@media (min-width: 769px) {
    button { min-height: 40px; }
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
}

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

.btn-secondary:hover:not(:disabled) {
    border-color: var(--text-light);
    background: var(--surface-soft);
}

.btn-quiet {
    background: none;
    color: var(--primary);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.btn-quiet:hover:not(:disabled) { background: var(--primary-tint); }

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    min-height: 36px;
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-control);
    cursor: pointer;
    transition: border-color var(--ease), background-color var(--ease);
    font-size: 0.875rem;
    font-weight: 500;
}

.tag:hover:not(:disabled) {
    border-color: var(--text-light);
}

.tag.selected, .tag[aria-pressed="true"] {
    background: var(--primary-tint);
    color: var(--primary-dark);
    border-color: var(--primary);
    font-weight: 600;
}
.tag:disabled { opacity: 0.45; cursor: not-allowed; }

@media (max-width: 768px) {
    .tag-container {
        gap: 0.5rem;
    }
    .tag {
        padding: 0.3rem 0.7rem;
        font-size: 0.85rem;
    }
    .transition-intent-buttons button {
        padding: 6px 6px;
        font-size: 0.82rem;
    }
}

.transition-intent-buttons {
    display: flex;
    gap: 0.5rem;
}

/* ---- Career Accordion ---- */

.career-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.career-accordion__card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: border-color var(--ease);
}
.career-accordion__card:hover {
    border-color: var(--text-light);
}
.career-accordion__card--expanded {
    border-color: var(--primary);
}
.career-accordion__card--selected {
    border-color: var(--primary);
    background: var(--primary-tint);
}

.career-accordion__header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: inherit;
    color: var(--text-light);
    transition: background 0.15s;
}
.career-accordion__header:hover {
    background: rgba(0, 0, 0, 0.02);
}

.career-accordion__title {
    font-family: inherit;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    line-height: 1.3;
}

.career-accordion__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.4rem;
}
.career-accordion__tag {
    background: var(--surface-muted);
    color: var(--text-dim);
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.career-accordion__snippet {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Panel expand/collapse */
.career-accordion__panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.25s ease;
}
.career-accordion__card--expanded .career-accordion__panel {
    max-height: 2000px; /* generous upper bound for long content */
    opacity: 1;
}

.career-accordion__content {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0 1.25rem 1.25rem;
}

/* ---- Selected Preview ---- */

.career-selected-preview {
    background: var(--primary-tint);
    border: 1px solid var(--primary);
    border-radius: var(--radius-card);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .career-accordion__card,
    .career-accordion__panel,
    .career-selected-preview {
        animation: none !important;
        transition: none !important;
    }
    .career-accordion__panel { max-height: none; opacity: 1; }
    .career-accordion__card:not(.career-accordion__card--expanded) .career-accordion__panel {
        max-height: 0; opacity: 0; display: none;
    }
}

.welcome-section {
    text-align: center;
    padding: 3rem 1rem;
}

.welcome-section h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-bottom: 1rem;
}

/* CTA visibility: desktop shows above-fold + below-process, mobile shows mobile-only */
.welcome-cta-above-fold {
    display: block;
}

.welcome-cta-mobile {
    display: none;
}

@media (max-width: 768px) {
    .welcome-cta-mobile {
        display: block;
    }
    .welcome-cta-desktop {
        display: none;
    }
    .welcome-cta-above-fold {
        display: none;
    }
}

/* ── Sample action plan mockup ─────────────────────── */
.sample-career-preview {
}

/* ── Toolkit preview grid ─────────────────────────── */
.toolkit-preview__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.toolkit-preview__card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 1.25rem;
    text-align: left;
}

.toolkit-preview__icon {
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
}

.toolkit-preview__title {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.35rem;
}

.toolkit-preview__desc {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 480px) {
    .toolkit-preview__grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: var(--surface-soft);
    padding: 1.5rem;
    border-radius: var(--radius-card);
    text-align: center;
}

.stat-number {
    font-family: 'Crimson Pro', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.95rem;
}

.stat-source {
    display: block;
    color: var(--text-light);
    font-size: 0.72rem;
    font-style: italic;
    margin-top: 0.25rem;
    opacity: 0.7;
}

/* ── Site-wide footer ────────────────────────────────── */
.site-footer {
    margin-top: auto;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
}
.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1.25rem;
    max-width: 420px;
}
.site-footer__links a {
    color: var(--text-light);
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: color var(--ease);
}
.site-footer__links a:hover {
    color: var(--primary);
}
.site-footer__legal {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* ── FAQ page ────────────────────────────────────────── */
.faq-page {
    max-width: 720px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 2rem;
}

.faq-category__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
    font-size: 1.125rem;
}

.faq-category__items {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item__header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--text);
    transition: color 0.15s;
}

.faq-item__header:hover {
    color: var(--primary);
}

.faq-item__question {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}

.faq-item__answer {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary, var(--text-light));
    padding: 0 0.25rem 1rem;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-page {
        padding: 1rem 0.5rem;
    }
    .faq-item__question {
        font-size: 0.9rem;
    }
    .faq-item__answer {
        font-size: 0.85rem;
    }
}

.resource-list {
    list-style: none;
    margin-top: 1rem;
}

.resource-item {
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: var(--background);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.resource-title {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.resource-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.resource-link {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-control);
    text-decoration: none;
    font-size: 0.875rem;
    transition: background-color var(--ease);
}

.resource-link:hover {
    background: var(--primary-dark);
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.02);
        opacity: 0.95;
    }
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-success {
    background: rgba(72, 187, 120, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.alert-error {
    background: rgba(245, 101, 101, 0.1);
    border: 1px solid #F56565;
    color: #C53030;
}

.alert-info {
    background: rgba(66, 153, 225, 0.1);
    border: 1px solid #4299E1;
    color: #2B6CB0;
}

/* Common utility classes */
.journey-card {
    margin-top: 0;
    margin-bottom: 4rem;
    padding: 2rem;
    background: var(--surface);
    border-radius: var(--radius-control);
}

.journey-card-item {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--background);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.badge {
    background: rgba(124, 58, 237, 0.15);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    height: fit-content;
}

.badge-secondary {
    background: rgba(246, 173, 85, 0.15);
    color: var(--secondary);
}

.next-step-box {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(124, 58, 237, 0.05);
    border-radius: var(--radius-control);
    border-left: 3px solid var(--primary);
}

.next-step-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.cta-section {
    margin-top: 3rem;
    padding: 3rem 2rem;
    background: var(--primary);
    border-radius: var(--radius-card);
    text-align: center;
}

.button-group-centered {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

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

@media (max-width: 768px) {
    .main-content {
        padding: 2rem 1rem;
    }

    h1 {
        font-size: 1.85rem;
    }

    .section {
        padding: 1.5rem;
    }

    .header {
        padding: 1rem;
    }
}

.fade-enter {
    opacity: 0;
    transform: translateY(20px);
}

.fade-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

/* Waiting Content Styles */
.waiting-content-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 1.25rem;
    margin-top: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.waiting-content-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.waiting-icon {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

/* Stat Content */
.waiting-stat .stat-highlight {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.waiting-stat .stat-insight {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
}

.waiting-stat .stat-source {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    font-style: italic;
    margin-top: 0.5rem;
}

/* Quote Content */
.waiting-quote .quote-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: white;
    font-style: italic;
    margin: 0.5rem 0;
}

.waiting-quote .quote-author {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

/* Success Story Content */
.waiting-story .story-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.waiting-story .story-detail {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

/* Encouragement Content */
.waiting-encouragement .encouragement-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    line-height: 1.5;
}

/* ── Sticky mobile CTA bar ─────────────────────────── */
.sticky-cta-bar {
    display: none;
}

@media (max-width: 768px) {
    .sticky-cta-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0.75rem 1rem;
        padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
        background: var(--surface);
        border-top: 1px solid var(--border);
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
        z-index: 90;
    }

    /* Add padding to main content so sticky bar doesn't cover it */
    .section:has(~ .sticky-cta-bar),
    .section:last-child {
        padding-bottom: 5rem;
    }

    /* Hide the inline button group on mobile when sticky bar is present */
    .sticky-cta-bar ~ .button-group,
    .section:has(.sticky-cta-bar) > .button-group {
        /* Keep visible but reduce emphasis — sticky bar is primary */
    }
}

/* ── Step back button ──────────────────────────────── */
.step-back-button {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 0;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.15s;
}
.step-back-button:hover {
    opacity: 0.7;
}

/* ── Legal pages (privacy, terms) ────────────────────────── */
.legal-page {
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}
.legal-page__back {
    background: none; border: none; color: var(--primary);
    font-size: 14px; font-weight: 500; cursor: pointer;
    padding: 8px 0; margin-bottom: 16px;
}
.legal-page h1 { font-size: 2rem; margin: 0 0 0.25rem; }
.legal-page__meta { color: var(--text-secondary); font-size: 0.9rem; margin: 0 0 1rem; }
.legal-page__intro {
    padding: 1rem 1.25rem; border-left: 3px solid var(--primary);
    background: var(--bg-secondary, rgba(0,0,0,0.03)); border-radius: 8px;
    color: var(--text); margin-bottom: 1.5rem;
}
.legal-page__toc { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.85rem; margin-bottom: 2rem; }
.legal-page__toc a { color: var(--text-secondary); text-decoration: none; }
.legal-page__toc a:hover { color: var(--primary); text-decoration: underline; }
.legal-page__section { margin-bottom: 2rem; }
.legal-page__section h2 { font-size: 1.2rem; margin: 0 0 0.5rem; color: var(--text); }
.legal-page__section ul { padding-left: 1.25rem; }
.legal-page__section li { margin-bottom: 0.4rem; }
.legal-page__contact { margin-top: 3rem; color: var(--text-secondary); font-size: 0.95rem; }

/* ── Profile: data & account card ────────────────────────── */
.danger-zone {
    margin-top: 2.5rem; padding: 1.25rem 1.5rem;
    border: 1px solid var(--error, #e53e3e); border-radius: var(--radius-control);
}
.danger-zone h3 { margin: 0 0 0.5rem; color: var(--error, #e53e3e); font-size: 1.05rem; }
.danger-zone p { color: var(--text-secondary); font-size: 0.9rem; margin: 0 0 0.75rem; }
.danger-zone__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.danger-zone__link {
    background: none; border: none; color: var(--primary); cursor: pointer;
    font-size: 0.9rem; text-decoration: underline; padding: 0;
}
.danger-zone__delete {
    background: none; border: 1px solid var(--error, #e53e3e); color: var(--error, #e53e3e);
    border-radius: var(--radius-control); padding: 0.5rem 1rem; font-size: 0.9rem; cursor: pointer;
}
.danger-zone__delete:hover:not(:disabled) { background: var(--error, #e53e3e); color: #fff; }
.danger-zone__delete:disabled { opacity: 0.5; cursor: not-allowed; }
.danger-zone__confirm { margin-top: 1rem; }
.danger-zone__confirm input {
    width: 100%; max-width: 280px; padding: 0.5rem 0.75rem; margin: 0.5rem 0;
    border: 1px solid var(--border); border-radius: var(--radius-control); font-size: 0.95rem;
}

/* ── Email capture (Step 3) ──────────────────────────────── */
.email-capture {
    display: flex; flex-direction: column; gap: 0.4rem;
    padding: 0.85rem 1rem; margin: 0 0 1rem;
    background: var(--bg-secondary, rgba(0,0,0,0.03));
    border: 1px solid var(--border); border-radius: var(--radius-control);
}
.email-capture--done { color: var(--text-secondary); font-size: 0.9rem; }
.email-capture__label { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.email-capture__row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.email-capture__row input {
    flex: 1 1 200px; min-width: 0; padding: 0.55rem 0.75rem;
    border: 1px solid var(--border); border-radius: 8px; font-size: 0.95rem;
}
.email-capture__button {
    background: var(--primary); color: #fff; border: none; border-radius: 8px;
    padding: 0.55rem 1rem; font-size: 0.9rem; font-weight: 600; cursor: pointer; align-self: flex-start;
}
.email-capture__button:disabled { opacity: 0.6; cursor: not-allowed; }
.email-capture__error { color: var(--error, #e53e3e); font-size: 0.85rem; }
.email-capture__hint { font-size: 0.75rem; color: var(--text-light); }
.email-capture__hint a { color: var(--text-light); }
.drip-opt-in {
    display: flex; gap: 0.5rem; align-items: flex-start;
    font-size: 0.85rem; color: var(--text-secondary); margin: 0 0 1.25rem; cursor: pointer;
}
.drip-opt-in input { margin-top: 0.2rem; }
.drip-opt-in a { color: var(--text-secondary); }

/* ── Drip toggle ─────────────────────────────────────────── */
.drip-toggle {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-size: 0.85rem; color: var(--text-secondary);
}
.drip-toggle__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.drip-toggle__dot--on { background: #38a169; }
.drip-toggle__button {
    background: none; border: 1px solid var(--border); border-radius: var(--radius-control);
    padding: 0.15rem 0.6rem; font-size: 0.8rem; color: var(--text-secondary); cursor: pointer;
}
.drip-toggle__button:disabled { opacity: 0.6; cursor: default; }

/* ── Toolkit header actions + share panel ────────────────── */
.toolkit-header__actions { display: flex; gap: 0.75rem; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 0.6rem; }
.toolkit-header__share {
    background: none; border: 1px solid var(--border); border-radius: var(--radius-control);
    padding: 0.25rem 0.75rem; font-size: 0.85rem; color: var(--text-secondary); cursor: pointer;
}
.toolkit-header__share:hover { border-color: var(--primary); color: var(--primary); }
.share-panel {
    max-width: 520px; margin: 0.75rem auto 0; padding: 0.9rem 1rem; text-align: left;
    background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-control);
}
.share-panel__row { display: flex; justify-content: space-between; align-items: center; }
.share-panel__toggle { display: inline-flex; gap: 0.5rem; align-items: center; font-size: 0.9rem; cursor: pointer; }
.share-panel__close { background: none; border: none; font-size: 1.2rem; color: var(--text-light); cursor: pointer; }
.share-panel__hint { font-size: 0.8rem; color: var(--text-light); margin: 0.4rem 0 0.6rem; line-height: 1.5; }
.share-panel__link { display: flex; gap: 0.5rem; }
.share-panel__link input { flex: 1; min-width: 0; padding: 0.45rem 0.6rem; border: 1px solid var(--border); border-radius: var(--radius-control); font-size: 0.85rem; }
.share-panel__link button { background: var(--primary); color: #fff; border: none; border-radius: var(--radius-control); padding: 0.45rem 0.8rem; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
.share-panel__actions { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.6rem; font-size: 0.85rem; }
.share-panel__actions a { color: var(--primary); font-weight: 600; text-decoration: none; }

/* ── Shared toolkit (public /s/:token) ───────────────────── */
.shared-toolkit { max-width: 680px; margin: 0 auto; padding-bottom: 6rem; }
.shared-toolkit--private { text-align: center; padding-top: 3rem; }
.shared-toolkit__header { margin-bottom: 1.5rem; }
.shared-toolkit__brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; color: var(--primary); font-size: 0.9rem; letter-spacing: 0.02em; }
.shared-toolkit__kicker { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-light); margin: 0.75rem 0 0.25rem; }
.shared-toolkit h1 { font-size: 1.9rem; margin: 0 0 0.5rem; }
.shared-toolkit__meta { display: flex; gap: 0.75rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.75rem; }
.shared-toolkit__meta span { padding: 0.2rem 0.6rem; background: var(--bg-secondary, rgba(0,0,0,0.04)); border-radius: 999px; }
.shared-toolkit__edge { padding: 0.75rem 1rem; border-left: 3px solid var(--primary); background: var(--bg-secondary, rgba(0,0,0,0.03)); border-radius: 8px; margin: 0 0 0.5rem; line-height: 1.6; }
.shared-toolkit__muted { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }
.shared-toolkit__week { margin: 1.5rem 0; }
.shared-toolkit__week h2 { font-size: 1.15rem; margin: 0 0 0.35rem; }
.shared-toolkit__tasks { list-style: none; padding: 0; margin: 0.5rem 0 0; }
.shared-toolkit__tasks li { display: flex; gap: 0.75rem; padding: 0.7rem 0; border-top: 1px solid var(--border); }
.shared-toolkit__tasks li.is-done .shared-toolkit__task { text-decoration: line-through; color: var(--text-light); }
.shared-toolkit__check { flex: 0 0 22px; height: 22px; border: 1px solid var(--border); border-radius: var(--radius-control); text-align: center; font-size: 0.85rem; line-height: 18px; color: #38a169; }
.shared-toolkit__tasks li.is-done .shared-toolkit__check { border-color: #38a169; }
.shared-toolkit__task { font-weight: 600; }
.shared-toolkit__what { font-size: 0.9rem; color: var(--text-secondary); margin-top: 0.15rem; line-height: 1.5; }
.shared-toolkit__tags { display: flex; gap: 0.6rem; font-size: 0.75rem; color: var(--text-light); margin-top: 0.25rem; }
.shared-toolkit__tags a { color: var(--primary); }
.shared-toolkit__checkpoint { font-size: 0.9rem; color: var(--text-secondary); margin: 0.6rem 0 0; }
.shared-toolkit__made { text-align: center; font-size: 0.8rem; color: var(--text-light); margin-top: 2rem; }
.shared-toolkit__cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    display: flex; justify-content: center; align-items: center; gap: 1rem; flex-wrap: wrap;
    padding: 0.75rem 1rem; background: var(--card-bg); border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(0,0,0,0.06); font-size: 0.95rem;
}

/* ── Organisations (Phase 3) ─────────────────────────────── */
.org-new, .org-admin, .org-join { max-width: 920px; margin: 0 auto; }
.org-new { max-width: 640px; }
.org-kicker { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--primary); font-weight: 700; margin: 0 0 0.35rem; }
.org-lede { color: var(--text-secondary); line-height: 1.6; margin: 0 0 1.5rem; }
.org-muted { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.55; }
.org-small { font-size: 0.8rem; }
.org-error { color: #c0392b; font-size: 0.9rem; margin: 0.5rem 0 0; }
.org-form { display: grid; gap: 1.25rem; }
.org-field { display: grid; gap: 0.4rem; border: none; padding: 0; margin: 0; min-width: 0; }
.org-field > span, .org-field > legend { font-weight: 600; font-size: 0.92rem; }
.org-field em { font-weight: 400; color: var(--text-light); font-style: normal; }
.org-field input[type="text"], .org-field textarea {
    width: 100%; box-sizing: border-box; padding: 0.7rem 0.85rem; border: 1px solid var(--border); border-radius: 8px;
    font: inherit; font-size: 0.95rem; background: var(--card-bg, #fff); color: var(--text);
}
.org-field input:focus, .org-field textarea:focus { outline: none; border-color: var(--primary); }
.org-type-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0.75rem; }
.org-type-card {
    display: grid; gap: 0.3rem; text-align: left; padding: 0.9rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-control);
    background: var(--card-bg, #fff); cursor: pointer; font: inherit; color: var(--text); transition: border-color 0.15s, box-shadow 0.15s;
}
.org-type-card span { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.45; }
.org-type-card:hover { border-color: var(--primary); }
.org-type-card.is-selected { border-color: var(--primary); background: var(--primary-tint); }
.org-type-card.is-selected strong::after { content: ' \2713'; color: var(--primary); }
.org-form__actions { display: grid; gap: 0.75rem; }
.org-privacy { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; margin: 0; }
.org-privacy--banner { padding: 0.75rem 1rem; border-left: 3px solid var(--primary); background: var(--bg-secondary, rgba(0,0,0,0.03)); border-radius: 8px; margin: 1rem 0 1.5rem; }
.org-admin__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.org-admin__header h1 { margin: 0 0 0.25rem; }
.org-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.75rem; margin-top: 1.25rem; }
.org-tile { padding: 0.9rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-control); background: var(--card-bg, #fff); }
.org-tile__value { font-size: 1.8rem; font-weight: 700; color: var(--primary); line-height: 1.1; }
.org-tile__label { font-size: 0.85rem; font-weight: 600; margin-top: 0.2rem; }
.org-tile__hint { font-size: 0.75rem; color: var(--text-light); margin-top: 0.15rem; }
.org-admin__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 760px) { .org-admin__grid { grid-template-columns: 1fr; } }
.org-card { padding: 1.1rem 1.2rem; border: 1px solid var(--border); border-radius: var(--radius-control); background: var(--card-bg, #fff); display: grid; gap: 0.8rem; align-content: start; margin-top: 1rem; }
.org-card h2 { font-size: 1.1rem; margin: 0; }
.org-card__actions { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.org-link { display: flex; gap: 0.5rem; }
.org-link input { flex: 1; min-width: 0; padding: 0.55rem 0.7rem; border: 1px solid var(--border); border-radius: 8px; font-size: 0.85rem; background: var(--bg-secondary, rgba(0,0,0,0.03)); color: var(--text); }
.org-linkbtn { background: none; border: none; color: var(--primary); cursor: pointer; font: inherit; font-size: 0.85rem; padding: 0; text-decoration: underline; }
.org-empty ol { margin: 0.5rem 0 0; padding-left: 1.25rem; line-height: 1.7; color: var(--text-secondary); }
.org-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.org-table th { text-align: left; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-light); padding: 0.4rem 0.5rem; border-bottom: 1px solid var(--border); }
.org-table td { padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.org-table__email { font-weight: 500; word-break: break-all; }
.org-members { overflow-x: auto; }
.org-chip { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; background: var(--bg-secondary, rgba(0,0,0,0.05)); color: var(--text-secondary); }
.org-chip--claimed { background: rgba(56, 161, 105, 0.14); color: #2f855a; }
.org-chip--invited { background: var(--primary-tint); color: var(--primary-dark); }
.org-chip--expired, .org-chip--revoked { opacity: 0.7; }
.org-strip { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.4rem 1rem; font-size: 0.85rem; background: var(--bg-secondary, rgba(0,0,0,0.04)); border-bottom: 1px solid var(--border); color: var(--text-secondary); }
.org-strip img { height: 20px; }
.org-strip strong { color: var(--text); }
.org-join { max-width: 560px; text-align: center; padding-top: 1rem; }
.org-join__logo { height: 44px; margin-bottom: 0.75rem; }
.org-join__card { text-align: left; margin: 1.25rem 0; }
.org-join__card ul { margin: 0.5rem 0 0; padding-left: 1.2rem; line-height: 1.7; }

.org-stepper { display: flex; align-items: center; gap: 0.5rem; }
.org-stepper button { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border); background: var(--card-bg, #fff); font-size: 1.1rem; cursor: pointer; color: var(--text); }
.org-stepper button:hover { border-color: var(--primary); }
.org-stepper input { width: 80px; text-align: center; padding: 0.5rem; border: 1px solid var(--border); border-radius: 8px; font: inherit; }

.org-consent { display: grid; gap: 0.6rem; }
.org-consent .share-panel__toggle { align-items: flex-start; line-height: 1.45; }
.org-consent em { display: block; font-style: normal; color: var(--text-secondary); font-size: 0.82rem; }
.share-panel__consent { border-top: 1px solid var(--border); margin-top: 0.6rem; padding-top: 0.6rem; display: grid; gap: 0.45rem; }
.org-coach-view { margin-top: 1rem; }
.org-field input[type="file"] { font-size: 0.85rem; }

/* ── Landing: buyer band ─────────────────────────────────── */
.buyer-band { display: flex; justify-content: center; align-items: center; gap: 0.75rem 1.5rem; flex-wrap: wrap; margin: 1.5rem auto; padding: 0.8rem 1.2rem; max-width: 760px; border: 1px solid var(--border); border-radius: var(--radius-control); background: var(--surface); font-size: 0.92rem; color: var(--text-secondary); text-align: center; }
.buyer-band__links { display: inline-flex; gap: 1rem; }
.buyer-band__links a { color: var(--primary); font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; }
.buyer-band__links a:hover { text-decoration: underline; }

/* ── Buyer pages and pricing (Phase 4) ───────────────────── */
.buyer-page { max-width: 880px; margin: 0 auto; }
.buyer-page h1 { font-size: 2.1rem; line-height: 1.2; margin: 0 0 0.75rem; }
.buyer-lede { color: var(--text-secondary); line-height: 1.6; margin: 0 0 1rem; }
.buyer-lede--hero { font-size: 1.1rem; max-width: 680px; }
.buyer-section { margin: 2.5rem 0 0; }
.buyer-section h2 { font-size: 1.4rem; margin: 0 0 0.6rem; }
.buyer-steps { list-style: none; padding: 0; margin: 0.5rem 0 0; display: grid; gap: 0.9rem; }
.buyer-steps li { display: flex; gap: 0.9rem; align-items: flex-start; }
.buyer-steps li p { margin: 0.15rem 0 0; color: var(--text-secondary); line-height: 1.55; font-size: 0.95rem; }
.buyer-steps__n { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.buyer-twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 720px) { .buyer-twocol { grid-template-columns: 1fr; } }
.buyer-twocol .org-card { margin-top: 0; }
.buyer-twocol ul { margin: 0; padding-left: 1.1rem; color: var(--text-secondary); line-height: 1.7; font-size: 0.95rem; }
.buyer-price { display: grid; gap: 0.6rem; padding: 1.1rem 1.2rem; border: 1px solid var(--primary); border-radius: var(--radius-card); background: var(--primary-tint); margin-bottom: 1rem; }
.buyer-price__amount { font-size: 2.2rem; font-weight: 700; color: var(--primary); }
.buyer-price__unit { color: var(--text-secondary); }
.buyer-price ul { margin: 0; padding-left: 1.1rem; color: var(--text-secondary); line-height: 1.7; font-size: 0.95rem; }
.buyer-compare { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.buyer-compare th, .buyer-compare td { text-align: left; padding: 0.6rem 0.6rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.buyer-compare th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-light); }
.buyer-compare td:last-child { font-weight: 600; color: var(--primary-dark); }
.buyer-faq__item { border-bottom: 1px solid var(--border); }
.buyer-faq__item button { width: 100%; display: flex; justify-content: space-between; gap: 1rem; background: none; border: none; padding: 0.85rem 0; font: inherit; font-weight: 600; text-align: left; cursor: pointer; color: var(--text); }
.buyer-faq__item p { margin: 0 0 0.9rem; color: var(--text-secondary); line-height: 1.6; font-size: 0.95rem; }
.buyer-cta { text-align: center; margin: 1.75rem 0; }
.buyer-cta p { font-size: 0.85rem; color: var(--text-light); margin: 0.5rem 0 0; }
.buyer-footnote { text-align: center; font-size: 0.85rem; color: var(--text-light); margin-top: 2rem; }
.buyer-footnote a { color: var(--primary); cursor: pointer; }
.pricing-page { max-width: 1100px; margin: 0 auto; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
@media (min-width: 1100px) { .plan-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-card); padding: 1.5rem 1.25rem; background: var(--card-bg, #fff); }
.plan-card > :last-child { margin-top: auto; }
.plan-card--primary { border-color: var(--primary); background: var(--primary-tint); }
.plan-card__badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; padding: 2px 12px; border-radius: var(--radius-control); font-size: 0.72rem; font-weight: 600; white-space: nowrap; }
.plan-card h3 { margin: 0 0 0.25rem; font-size: 1.2rem; }
.plan-card__price { margin: 0.5rem 0 0.75rem; }
.plan-card__amount { font-size: 2rem; font-weight: 700; color: var(--primary); }
.plan-card__unit { color: var(--text-secondary); font-size: 0.95rem; }
.plan-card__note { font-size: 0.75rem; color: var(--text-light); margin-top: 0.2rem; }
.plan-card__desc { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.5; margin: 0 0 1rem; }
.plan-card__features { list-style: none; padding: 0; margin: 0 0 1.25rem; flex: 1; }
.plan-card__features li { display: flex; gap: 0.5rem; padding: 0.3rem 0; font-size: 0.9rem; }
.plan-card__features span { color: var(--primary); font-weight: 700; }
.plan-card__current { text-align: center; padding: 0.7rem; border-radius: 8px; background: var(--bg-secondary, rgba(0,0,0,0.04)); color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; }
.plan-card__contact { display: flex; gap: 0.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: 0.9rem; }
.plan-card__contact a { color: var(--primary); font-weight: 600; word-break: break-all; }
