:root {
    color-scheme: dark;
    --background: #0b1510;
    --surface: #14251b;
    --surface-light: #1b3023;
    --border: #30493a;
    --text: #edf7f0;
    --muted: #a9c0b1;
    --green: #6ee7a8;
    --button: #86efac;
    --button-text: #092314;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 5px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    padding: 12px;
    background: var(--button);
    color: var(--button-text);
    z-index: 100;
}

.skip-link:focus {
    top: 12px;
}

.container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

.site-header {
    border-bottom: 1px solid var(--border);
    background: #0d1912;
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 88px;
    padding-block: 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.brand-text strong {
    font-size: 21px;
    letter-spacing: 3px;
}

.brand-text small {
    color: var(--green);
    font-size: 10px;
    letter-spacing: 1.8px;
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav a:not(.button) {
    color: var(--muted);
    font-size: 14px;
}

nav a:hover {
    color: var(--green);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--button);
    color: var(--button-text);
    font-weight: 700;
    text-align: center;
    transition: background .2s, border-color .2s;
}

.button:hover {
    background: #bbf7d0;
    color: var(--button-text);
}

.button-small {
    min-height: 40px;
    padding: 8px 18px;
    font-size: 14px;
}

.button-outline {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
}

.button-outline:hover {
    background: var(--surface-light);
    border-color: var(--green);
    color: var(--text);
}

.hero {
    padding: 100px 0;
    background:
        radial-gradient(
            ellipse at 85% 25%,
            #173d26 0%,
            transparent 55%
        );
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-grid > * {
    min-width: 0;
}

.eyebrow {
    display: inline-block;
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

h1, h2, h3 {
    line-height: 1.2;
    margin-top: 0;
}

h1 {
    font-size: clamp(36px, 4.2vw, 64px);
    letter-spacing: -2px;
    margin: 20px 0 24px;
}

h1 span {
    display: block;
    color: var(--green);
}

.hero-description {
    color: var(--muted);
    font-size: 18px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.development-note,
.sample-disclaimer {
    font-size: 12px;
    color: var(--muted);
}

.development-note {
    margin-top: 20px;
}

.dashboard-preview {
    background: var(--surface);
    border: 1px solid #3a5945;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 24px 80px #0005;
}

.dashboard-header,
.chart-heading,
.goal-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.dashboard-header h2 {
    font-size: 20px;
    margin: 6px 0 20px;
}

.sample-label {
    font-size: 10px;
    color: var(--green);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 4px 8px;
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.metric {
    background: var(--surface-light);
    padding: 14px 12px;
    border-radius: 8px;
}

.metric span,
.metric strong {
    display: block;
}

.metric span {
    color: var(--muted);
    font-size: 11px;
}

.metric strong {
    font-size: clamp(15px, 1.7vw, 23px);
    margin-top: 6px;
    font-variant-numeric: tabular-nums;
}

.chart-panel {
    margin-top: 24px;
}

.chart-heading {
    font-size: 13px;
    margin-bottom: 20px;
}

.chart-heading span {
    color: var(--muted);
    font-size: 11px;
}

.chart-panel svg {
    display: block;
    width: 100%;
    height: auto;
}

.goal-preview {
    margin-top: 24px;
}

.goal-heading {
    font-size: 12px;
    margin-bottom: 8px;
}

.goal-heading strong {
    color: var(--green);
}

.progress-track {
    height: 7px;
    border-radius: 8px;
    overflow: hidden;
    background: #30493a;
}

.progress-fill {
    width: 75%;
    height: 100%;
    background: var(--green);
}

.sample-disclaimer {
    margin: 20px 0 0;
}

.section {
    padding: 88px 0;
}

.section-heading {
    max-width: 760px;
    text-align: center;
    margin: 0 auto 44px;
}

.section-heading h2,
.about-content h2 {
    font-size: clamp(28px, 3.2vw, 42px);
    letter-spacing: -1px;
    margin: 16px 0;
}

.section-heading p,
.about-content p {
    color: var(--muted);
}

.feature-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.feature-card,
.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
}

.feature-number {
    display: inline-flex;
    background: var(--surface-light);
    color: var(--green);
    border-radius: 8px;
    padding: 8px 13px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 22px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 0;
}

.pricing-section {
    background: #0f1c14;
    border-block: 1px solid var(--border);
}

.pricing-card {
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--green);
    box-shadow: 0 0 30px #4ade8010;
}

.plan-category {
    font-size: 21px;
    font-weight: 700;
}

.plan-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 7px;
    margin-top: 18px;
}

.plan-price strong {
    color: var(--green);
    font-size: clamp(36px, 4vw, 48px);
    line-height: 1.2;
}

.plan-price span,
.plan-description {
    color: var(--muted);
    font-size: 14px;
}

.plan-features {
    list-style: none;
    margin: 14px 0 28px;
    padding: 22px 0 0;
    border-top: 1px solid var(--border);
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 14px;
}

.plan-features li::before {
    content: "\2713";
    color: var(--green);
    font-weight: 700;
}

.plan-button {
    width: 100%;
}

.plan-button:disabled {
    background: var(--surface-light);
    border-color: var(--border);
    color: var(--muted);
    cursor: not-allowed;
}

.pricing-disclaimer {
    max-width: 740px;
    margin: 28px auto 0;
    text-align: center;
    font-size: 12px;
    color: var(--muted);
}

.about-content {
    max-width: 780px;
    text-align: center;
}

.about-content .button {
    margin-top: 16px;
}

.site-footer {
    padding: 40px 0 24px;
    background: #09120d;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.footer-content p,
.footer-bottom {
    color: var(--muted);
    font-size: 12px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 13px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    margin-top: 24px;
    padding-top: 14px;
}

@media (max-width: 1000px) {
    .hero-grid {
        gap: 32px;
    }

    nav {
        gap: 16px;
    }

    .feature-card,
    .pricing-card {
        padding: 22px;
    }
}

@media (max-width: 800px) {
    .navigation {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding-block: 16px;
    }

    nav {
        flex-wrap: wrap;
        gap: 12px 20px;
    }

    .hero {
        padding: 64px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 64px 0;
    }
}

@media (max-width: 480px) {
    .container {
        width: calc(100% - 32px);
    }

    .brand-logo {
        width: 50px;
        height: 50px;
    }

    .brand-text strong {
        font-size: 18px;
    }

    .brand-text small {
        font-size: 9px;
    }

    h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .dashboard-preview {
        padding: 15px;
    }

    .dashboard-header h2 {
        font-size: 16px;
    }

    .dashboard-metrics {
        grid-template-columns: 1fr;
    }

    .metric strong {
        font-size: 22px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }
}


/* WEB-005 FEATURES PAGE */

.page-hero {
    padding: 88px 0;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(
            ellipse at 50% 0%,
            #173d26 0%,
            transparent 70%
        );
}

.page-hero-content {
    max-width: 900px;
    text-align: center;
}

.page-hero-content > p {
    max-width: 700px;
    margin-inline: auto;
    color: var(--muted);
}

.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 28px 0 16px;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.capability-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.capability-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.capability-heading .feature-number {
    margin: 0;
}

.capability-membership {
    font-size: 12px;
    color: var(--green);
    border: 1px solid var(--border);
    padding: 5px 10px;
    border-radius: 6px;
}

.capability-card h3 {
    font-size: 23px;
    margin-bottom: 12px;
}

.capability-card > p {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 18px;
}

.capability-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}

.capability-list li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 12px;
}

.capability-list li::before {
    content: "\2713";
    color: var(--green);
    font-weight: 700;
}

.capability-status {
    border-top: 1px solid var(--border);
    padding-top: 16px;
    color: var(--muted);
    font-size: 12px;
}

.connection-section {
    background: #0f1c14;
    border-block: 1px solid var(--border);
}

.provider-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.provider-card {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    min-width: 0;
}

.provider-card h3 {
    color: var(--green);
    font-size: 23px;
    margin-bottom: 12px;
}

.provider-card p {
    color: var(--muted);
    font-size: 14px;
}

.provider-card > span {
    display: inline-block;
    font-size: 11px;
    color: var(--muted);
    padding: 5px 10px;
    background: var(--surface-light);
    border-radius: 5px;
}

@media (max-width: 800px) {
    .page-hero {
        padding: 64px 0;
    }

    .capability-grid {
        grid-template-columns: 1fr;
    }

    .provider-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .page-hero-actions {
        flex-direction: column;
    }

    .page-hero-actions .button {
        width: 100%;
    }

    .capability-card {
        padding: 20px;
    }

    .capability-card h3 {
        font-size: 20px;
    }

    .provider-grid {
        grid-template-columns: 1fr;
    }

    .about-content .button {
        width: 100%;
    }
}


/* WEB-006 MEMBERSHIP PRICING PAGE */

.membership-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
}

.membership-table-wrap:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 4px;
}

.membership-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    font-size: 14px;
}

.membership-table caption {
    text-align: left;
    padding: 18px 22px;
    color: var(--muted);
}

.membership-table th,
.membership-table td {
    padding: 18px 16px;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.membership-table thead {
    background: var(--surface-light);
}

.membership-table thead th {
    color: var(--green);
}

.membership-table th:first-child {
    text-align: left;
    width: 40%;
}

.membership-table tbody th {
    font-weight: 500;
}

.membership-table tbody tr:last-child > * {
    border-bottom: 0;
}

.membership-table tbody tr:hover {
    background: var(--surface-light);
}

.membership-included {
    color: var(--green);
    font-weight: 600;
}

.membership-excluded {
    color: var(--muted);
    font-size: 12px;
}

.membership-faq {
    max-width: 850px;
}

.faq-item {
    margin-bottom: 14px;
    padding: 20px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
}

.faq-item summary:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 5px;
}

.faq-item[open] summary {
    color: var(--green);
}

.faq-item p {
    color: var(--muted);
    margin-bottom: 0;
    font-size: 14px;
}

@media (max-width: 480px) {
    .membership-table th,
    .membership-table td {
        padding: 14px 12px;
    }

    .faq-item {
        padding: 16px;
    }
}

/* Life Tree customer registration */

.registration-section {
    padding: 64px 20px;
    display: flex;
    justify-content: center;
}

.registration-card {
    width: 100%;
    max-width: 540px;
    min-width: 0;
    box-sizing: border-box;
    padding: clamp(20px, 5vw, 40px);
    border: 1px solid #294c3b;
    border-radius: 20px;
    background: #0d1d15;
    color: #edf8f0;
    overflow-wrap: anywhere;
}

.registration-card h1 {
    font-size: clamp(28px, 5vw, 40px);
    line-height: 1.15;
    margin: 12px 0;
}

.registration-eyebrow {
    color: #86efac;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.registration-description,
.registration-notice,
.registration-help {
    color: #a9c2b3;
}

.registration-plan {
    margin: 24px 0;
    padding: 16px;
    background: #153426;
    border: 1px solid #315b45;
    border-radius: 12px;
}

.registration-plan strong {
    color: #86efac;
}

.registration-plan p {
    font-size: 24px;
    font-weight: 700;
    margin: 8px 0;
}

.registration-form {
    display: grid;
    gap: 18px;
}

.registration-field {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.registration-field label {
    font-size: 14px;
    font-weight: 600;
}

.registration-input {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border: 1px solid #416452;
    border-radius: 9px;
    background: #10271c;
    color: #ffffff;
    padding: 13px;
    font: inherit;
}

.registration-input:focus-visible,
.registration-submit:focus-visible {
    outline: 3px solid #86efac;
    outline-offset: 3px;
}

.registration-input[aria-invalid="true"] {
    border-color: #fca5a5;
}

.registration-help {
    font-size: 12px;
    line-height: 1.6;
}

.registration-help ul,
.registration-errors ul {
    padding-left: 20px;
    margin: 5px 0;
}

.registration-errors {
    color: #fecaca;
    font-size: 13px;
}

.registration-submit {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    border: 1px solid #4ade80;
    border-radius: 10px;
    background: #166534;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.registration-submit:hover {
    background: #15803d;
}

.registration-notice {
    font-size: 13px;
    line-height: 1.6;
    margin: 20px 0;
}

.registration-card a:not(.registration-submit) {
    color: #86efac;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .registration-section {
        padding: 32px 12px;
    }
}


/* Life Tree customer authentication */

.account-details {
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
    min-width: 0;
}

.account-details dt {
    color: #a9c2b3;
    font-size: 13px;
    font-weight: 600;
}

.account-details dd {
    margin: 0 0 12px;
    overflow-wrap: anywhere;
}

.site-header nav {
    flex-wrap: wrap;
}

.site-header nav a {
    overflow-wrap: anywhere;
}
