/* Kindled · site styles (used by pages generated from src/) */

:root {
    --teal-950: #082e2b;
    --teal-900: #0a3d36;
    --teal: #144C4A;
    --teal-600: #1f6b67;
    --lime: #C2F11F;
    --lime-soft: #f1fbd0;
    --mint: #f3f7f0;
    --mint-2: #e7efe3;
    --ink: #142f2d;
    --text: #3b4d4b;
    --muted: #667775;
    --line: #e1e8e1;
    --danger: #b42318;
    --radius: 20px;
    --shadow: 0 12px 32px rgba(20, 76, 74, 0.09);
    --container: 1180px;
    --header-h: 76px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

[hidden] {
    display: none !important;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--teal);
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.5em;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.3rem, 5.2vw, 3.8rem);
}

h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

h3,
.h3 {
    font-size: 1.22rem;
    letter-spacing: -0.01em;
}

p {
    margin: 0 0 1em;
}

ul,
ol {
    margin: 0 0 1em;
}

:focus-visible {
    outline: 3px solid var(--teal-900);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    padding: 10px 16px;
    background: var(--teal);
    color: #fff;
    border-radius: 0 0 10px 10px;
}

.skip-link:focus {
    left: 16px;
}

/* ---------- Layout ---------- */

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

.container-narrow {
    width: min(100% - 40px, 840px);
    margin-inline: auto;
}

.section {
    padding: clamp(64px, 9vw, 112px) 0;
}

.section-tight {
    padding: clamp(40px, 6vw, 72px) 0;
}

.section-soft {
    background: var(--mint);
}

.section-dark {
    background: var(--teal);
    color: #d3e4e0;
}

.section-dark h2,
.section-dark h3 {
    color: #fff;
}

.section-dark .lead {
    color: #e3efec;
}

.section-head {
    max-width: 740px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-head.left {
    margin-left: 0;
    text-align: left;
}

.split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 6vw, 72px);
    align-items: center;
}

.split.top {
    align-items: start;
}

.grid {
    display: grid;
    gap: 22px;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.center {
    text-align: center;
}

.muted {
    color: var(--muted);
}

.mt-lg {
    margin-top: 40px;
}

.lead {
    font-size: clamp(1.06rem, 1.6vw, 1.2rem);
    line-height: 1.6;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 4px rgba(194, 241, 31, 0.3);
}

.eyebrow-light {
    color: var(--lime);
}

.h-light {
    color: #fff;
}

/* ---------- Buttons & links ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border: 2px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:disabled {
    opacity: 0.6;
    cursor: wait;
    transform: none;
}

.btn-primary {
    background: var(--teal);
    color: #fff;
}

.btn-primary:hover {
    background: var(--teal-900);
}

.btn-outline {
    background: transparent;
    border-color: var(--teal);
    color: var(--teal);
}

.btn-outline:hover {
    background: var(--teal);
    color: #fff;
}

.btn-lime {
    background: var(--lime);
    color: var(--teal-950);
}

.btn-lime:hover {
    background: #d3fb4c;
}

.btn-ghost-light {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.btn-ghost-light:hover {
    background: #fff;
    color: var(--teal);
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.93rem;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
}

.btn-row.center {
    justify-content: center;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 2px;
    border-bottom: 2px solid var(--lime);
    font-weight: 700;
    color: var(--teal);
    text-decoration: none;
    transition: gap 0.2s;
}

.text-link:hover {
    gap: 12px;
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.is-scrolled {
    border-color: var(--line);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    height: var(--header-h);
}

.brand img {
    width: auto;
    height: 42px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-item > a {
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
}

.nav-item > a:hover {
    color: var(--teal);
    background: var(--mint);
}

body[data-nav="home"] .nav-item[data-key="home"] > a,
body[data-nav="therapy"] .nav-item[data-key="therapy"] > a,
body[data-nav="services"] .nav-item[data-key="services"] > a,
body[data-nav="about"] .nav-item[data-key="about"] > a,
body[data-nav="contact"] .nav-item[data-key="contact"] > a {
    color: var(--teal);
    box-shadow: inset 0 -3px 0 var(--lime);
    border-radius: 10px 10px 0 0;
}

.submenu-toggle {
    margin-left: -8px;
    padding: 8px 6px;
    border: 0;
    background: none;
    color: var(--ink);
    font-size: 0.72rem;
    cursor: pointer;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    margin: 8px 0 0;
    padding: 8px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}

.submenu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}

.nav-item.has-menu:hover .submenu,
.nav-item.has-menu:focus-within .submenu,
.nav-item.is-open .submenu {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.submenu a {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
}

.submenu a:hover,
.submenu a[aria-current="page"] {
    background: var(--mint);
    color: var(--teal);
}

.nav-actions {
    display: flex;
    gap: 10px;
}

.nav-toggle {
    display: none;
}

@media (max-width: 1140px) {
    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        gap: 5px;
        margin-left: auto;
        padding: 12px 8px;
        border: 0;
        background: none;
        cursor: pointer;
    }

    .nav-toggle span {
        width: 24px;
        height: 2px;
        background: var(--ink);
        border-radius: 2px;
        transition: transform 0.2s, opacity 0.2s;
    }

    body.nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    body.nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    body.nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .site-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        margin: 0;
        padding: 12px 20px 40px;
        overflow-y: auto;
        background: #fff;
        visibility: hidden;
        transform: translateX(100%);
        transition: transform 0.25s ease, visibility 0.25s;
    }

    body.nav-open {
        overflow: hidden;
    }

    body.nav-open .site-nav {
        visibility: visible;
        transform: none;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-item {
        flex-wrap: wrap;
        border-bottom: 1px solid var(--line);
    }

    .nav-item > a {
        flex: 1;
        padding: 16px 4px;
        font-size: 1.1rem;
    }

    body[data-nav] .nav-item > a {
        box-shadow: none;
    }

    .submenu-toggle {
        margin: 0;
        padding: 14px;
        font-size: 0.9rem;
        transition: transform 0.2s;
    }

    .nav-item.is-open .submenu-toggle {
        transform: rotate(180deg);
    }

    .submenu {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0 0 12px 8px;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-item.is-open .submenu {
        display: block;
    }

    .nav-actions {
        flex-direction: column;
    }
}

/* ---------- Heroes ---------- */

.home-hero {
    padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 100px);
    background: url("../img/Group 103.webp") no-repeat center top;
}

.home-hero .lead {
    max-width: 660px;
    margin-inline: auto;
}

.mood-prompt {
    margin: 32px 0 0;
    font-weight: 700;
    color: var(--ink);
}

.mood-picker {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 16px 0 0;
}

.mood-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 98px;
    padding: 14px 8px 12px;
    border: 2px solid var(--line);
    border-radius: 18px;
    background: #fff;
    font: inherit;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    transition: transform 0.18s, border-color 0.18s, background-color 0.18s, box-shadow 0.18s;
}

.mood-btn img {
    width: 44px;
    height: 44px;
}

.mood-btn:hover {
    border-color: var(--teal);
    transform: translateY(-2px);
}

.mood-btn[aria-pressed="true"] {
    border-color: var(--teal);
    background: var(--lime-soft);
    box-shadow: 0 10px 22px rgba(20, 76, 74, 0.13);
}

.mood-response {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 18px;
    max-width: 600px;
    margin: 18px auto 0;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    animation: rise 0.3s ease;
}

.mood-response[hidden] {
    display: none;
}

.mood-response p {
    margin: 0;
    font-weight: 500;
    color: var(--ink);
}

.hero-actions {
    margin-top: 36px;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 8vw, 100px) 0 clamp(48px, 6vw, 76px);
    background: linear-gradient(180deg, var(--mint) 0%, #fff 100%);
}

.page-hero::after {
    content: "";
    position: absolute;
    top: -140px;
    right: -120px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(194, 241, 31, 0.35), transparent 65%);
    pointer-events: none;
}

.page-hero .container,
.page-hero .container-narrow {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    max-width: 860px;
}

.page-hero .lead {
    max-width: 720px;
}

.page-hero .btn-row {
    margin-top: 28px;
}

.page-hero--illustrated .container.split {
    align-items: center;
}

.page-hero-visual img,
.section-visual img {
    display: block;
    width: min(100%, 440px);
    height: auto;
    margin-inline: auto;
    border-radius: 20px;
}

.page-hero-visual img {
    box-shadow: 0 18px 40px rgba(20, 76, 74, 0.12);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    font-size: 0.9rem;
    color: var(--muted);
}

.breadcrumb li + li::before {
    content: "/";
    margin-right: 8px;
    color: #b5c2bf;
}

.breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--teal);
    text-decoration: underline;
}

/* ---------- Cards, facts, steps ---------- */

.card {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.card h3 {
    margin-bottom: 0.45em;
}

.card p:last-child {
    margin-bottom: 0;
}

.card-soft {
    background: var(--mint);
    border-color: transparent;
}

a.card {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

a.card:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.card-link {
    margin-top: auto;
    padding-top: 18px;
    font-weight: 700;
    color: var(--teal);
}

.icon {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--lime-soft);
    color: var(--teal);
    font-size: 1.25rem;
}

.card > .icon {
    margin-bottom: 18px;
}

.feature-stack {
    display: grid;
    gap: 14px;
}

.feature-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-banner img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 340px;
    object-fit: cover;
    margin-bottom: clamp(28px, 4vw, 44px);
    border-radius: 20px;
}

.fact {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.fact strong {
    display: block;
    margin-bottom: 2px;
    color: var(--ink);
}

.section-soft .fact,
.section-soft .card {
    border-color: transparent;
}

.steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.steps > li {
    position: relative;
    counter-increment: step;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.steps > li::before {
    content: counter(step, decimal-leading-zero);
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--lime);
    font-weight: 800;
}

.steps > li p:last-child {
    margin-bottom: 0;
}

.steps-list {
    display: grid;
    gap: 14px;
}

.steps-list > li {
    padding-left: 92px;
}

.steps-list > li::before {
    position: absolute;
    left: 26px;
    top: 24px;
    margin: 0;
}

.steps-dark {
    --step-size: 46px;
    --step-gap: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--step-gap);
}

.steps-dark > li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    color: #fff;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

.steps-dark > li::before {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: var(--step-size);
    height: var(--step-size);
    margin: 0;
    background: var(--lime);
    color: var(--teal-950);
    box-shadow: 0 0 0 6px var(--teal);
}

.steps-dark > li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: calc(var(--step-size) / 2 - 1px);
    left: 50%;
    width: calc(100% + var(--step-gap));
    height: 2px;
    background: rgba(194, 241, 31, 0.45);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tags li {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink);
}

.detail-list {
    display: grid;
    gap: 14px;
    margin: 0;
}

.detail-list > div {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 16px;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
}

.detail-list dt {
    font-weight: 700;
    color: var(--ink);
}

.detail-list dd {
    margin: 0;
}

.callout {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 22px;
    background: var(--lime-soft);
    border-left: 4px solid var(--teal);
    border-radius: 14px;
    color: var(--ink);
}

.callout i {
    margin-top: 5px;
    color: var(--teal);
}

.callout p {
    margin: 0;
}

.crisis-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 0;
    padding: 18px 20px;
    background: #fff6f3;
    border: 1px solid #f5d3ca;
    border-radius: 16px;
    color: #5a2117;
    font-size: 0.96rem;
}

.crisis-note i {
    margin-top: 4px;
    color: #c2410c;
}

.crisis-note a {
    color: inherit;
    font-weight: 700;
}

.placeholder {
    padding: 28px;
    border: 2px dashed #c9d6d1;
    border-radius: var(--radius);
    background: #fff;
    color: var(--muted);
    text-align: center;
}

/* ---------- Tables ---------- */

.table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.table {
    width: 100%;
    min-width: 540px;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.table thead th {
    background: var(--mint);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
}

.table tbody tr:last-child td,
.table tbody tr:last-child th {
    border-bottom: 0;
}

.table tbody th {
    width: 36%;
    color: var(--ink);
}

/* ---------- Testimonials ---------- */

.carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(290px, 360px);
    gap: 20px;
    padding: 4px 4px 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--mint-2) transparent;
}

.carousel-track > * {
    scroll-snap-align: start;
}

.carousel-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.icon-btn {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 2px solid var(--teal);
    border-radius: 50%;
    background: #fff;
    color: var(--teal);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.icon-btn:hover {
    background: var(--teal);
    color: #fff;
}

.testimonial {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.testimonial blockquote {
    margin: 0;
    color: var(--ink);
}

.testimonial blockquote::before {
    content: "“";
    display: block;
    height: 28px;
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--teal);
    opacity: 0.35;
}

.testimonial figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.avatar {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--lime);
    font-weight: 800;
}

.who {
    display: block;
    font-weight: 700;
    color: var(--ink);
}

.meta {
    display: block;
    font-size: 0.88rem;
    color: var(--muted);
}

/* ---------- Logos ---------- */

.logo-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.logo-row li {
    width: 180px;
    height: 96px;
    padding: 14px 22px;
    overflow: hidden;
    background: #fff;
    border-radius: 18px;
}

.logo-row img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-row .logo-crop {
    padding: 0;
}

.logo-row .logo-crop img {
    object-fit: cover;
    transform: scale(1.7);
}

.logo-row .logo-dark {
    background: var(--teal-950);
}

/* ---------- Social ---------- */

.social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.social a,
.social span.is-pending {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--teal);
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.social a:hover {
    background: var(--teal);
    color: var(--lime);
}

.social .is-pending {
    opacity: 0.5;
    cursor: default;
}

.social-labelled a,
.social-labelled span.is-pending {
    padding: 0 18px;
    font-weight: 600;
}

.social-center .social {
    justify-content: center;
}

/* ---------- FAQ ---------- */

.faq {
    display: grid;
    gap: 12px;
}

.faq details {
    padding: 0 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    transition: border-color 0.2s;
}

.faq details[open] {
    border-color: var(--teal);
}

.faq summary {
    position: relative;
    padding: 20px 44px 20px 0;
    list-style: none;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 0;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--mint);
    color: var(--teal);
    font-size: 1.2rem;
    transform: translateY(-50%);
}

.faq details[open] summary::after {
    content: "−";
    background: var(--lime);
    color: var(--teal-950);
}

.answer {
    padding: 0 0 20px;
}

.answer p:last-child {
    margin-bottom: 0;
}

.faq-group + .faq-group {
    margin-top: 48px;
}

.faq-group h2 {
    font-size: 1.5rem;
}

/* ---------- CTA band & join card ---------- */

.cta-band {
    position: relative;
    overflow: hidden;
    padding: clamp(40px, 6vw, 76px) clamp(24px, 5vw, 72px);
    background: var(--teal);
    border-radius: 32px;
    color: #d3e4e0;
    text-align: center;
}

.cta-band::before,
.cta-band::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(194, 241, 31, 0.3);
    pointer-events: none;
}

.cta-band::before {
    left: -130px;
    bottom: -180px;
    width: 360px;
    height: 360px;
}

.cta-band::after {
    right: -90px;
    top: -150px;
    width: 280px;
    height: 280px;
}

.cta-band h2 {
    position: relative;
    max-width: 780px;
    margin-inline: auto;
    color: #fff;
}

.cta-band p {
    position: relative;
    max-width: 620px;
    margin: 0 auto 28px;
    font-size: 1.1rem;
}

.cta-band .btn-row {
    position: relative;
    z-index: 1;
    justify-content: center;
}

.join-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 48px;
    padding: clamp(28px, 5vw, 56px);
    background: var(--lime-soft);
    border-radius: 32px;
}

.join-card > div {
    flex: 1 1 520px;
}

.join-card p:last-child {
    margin-bottom: 0;
}

/* ---------- App section ---------- */

.install {
    margin: 28px 0;
}

.install h3 i {
    margin-right: 6px;
    color: var(--teal);
}

.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin: 0 0 22px;
}

.store-badge {
    position: relative;
}

.store-badge img {
    width: auto;
    height: 48px;
    opacity: 0.5;
}

.soon {
    position: absolute;
    top: -10px;
    right: -12px;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--lime);
    color: var(--teal-950);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.app-visual img {
    width: min(100%, 420px);
    margin-inline: auto;
}

/* ---------- Gallery & lightbox ---------- */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gallery button {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: var(--mint-2);
    cursor: zoom-in;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery button:hover img {
    transform: scale(1.05);
}

dialog.lightbox {
    max-width: 96vw;
    max-height: 96vh;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
}

dialog.lightbox::backdrop {
    background: rgba(4, 22, 20, 0.9);
}

.lightbox img {
    width: auto;
    max-width: min(92vw, 1100px);
    max-height: 82vh;
    margin: 0 auto;
    border-radius: 12px;
}

.lightbox-caption {
    margin: 12px 0 0;
    color: #fff;
    text-align: center;
    font-size: 0.92rem;
}

.lightbox-btn {
    position: fixed;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
}

.lightbox-btn:hover {
    background: var(--lime);
    color: var(--teal-950);
}

.lightbox-close {
    top: 18px;
    right: 18px;
}

.lightbox-prev {
    left: 18px;
    top: 50%;
}

.lightbox-next {
    right: 18px;
    top: 50%;
}

/* ---------- Breathing modal ---------- */

dialog.modal {
    width: calc(100% - 32px);
    max-width: 460px;
    padding: clamp(28px, 5vw, 44px);
    border: 0;
    border-radius: 28px;
    color: var(--text);
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

dialog.modal::backdrop {
    background: rgba(8, 46, 43, 0.6);
}

dialog.modal h2 {
    font-size: 1.6rem;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--mint);
    color: var(--ink);
    cursor: pointer;
}

.breath-stage {
    position: relative;
    display: grid;
    place-items: center;
    width: 220px;
    height: 220px;
    margin: 20px auto 10px;
}

.breath-circle {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #e3fd84, var(--lime) 55%, #a6d40d);
    box-shadow: 0 0 0 16px rgba(194, 241, 31, 0.18);
    transform: scale(0.55);
    transition: transform 4s ease-in-out;
}

.breath-label {
    position: relative;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--teal-950);
}

.breath-timer {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: var(--muted);
}

.breath-after {
    margin: 18px 0 0;
}

/* ---------- Forms ---------- */

.form-card {
    padding: clamp(24px, 4vw, 40px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-full {
    grid-column: 1 / -1;
}

.field label,
.field legend {
    padding: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
}

.req {
    color: var(--danger);
}

.optional {
    font-weight: 500;
    color: var(--muted);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #ccd7d2;
    border-radius: 12px;
    background: #fff;
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field textarea {
    min-height: 140px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(194, 241, 31, 0.5);
}

.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid {
    border-color: var(--danger);
}

.hint {
    font-size: 0.86rem;
    color: var(--muted);
}

.check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}

.check input {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: var(--teal);
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.form-status {
    margin: 18px 0 0;
    padding: 16px 20px;
    border-radius: 14px;
    font-weight: 500;
}

.form-status[hidden] {
    display: none;
}

.form-status.is-success {
    background: var(--lime-soft);
    border: 1px solid #cfe98a;
    color: var(--ink);
}

.form-status.is-error {
    background: #fff4f2;
    border: 1px solid #f5cfc6;
    color: #7a271a;
}

.contact-list {
    display: grid;
    gap: 14px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

.contact-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-list strong {
    display: block;
    color: var(--ink);
}

.contact-list a {
    font-weight: 600;
}

/* ---------- Legal / prose ---------- */

.prose {
    max-width: 800px;
}

.prose h2 {
    margin-top: 2em;
    font-size: 1.4rem;
}

.prose ul {
    padding-left: 1.3em;
}

.prose li {
    margin-bottom: 0.45em;
}

.contact-box {
    padding: 20px 24px;
    background: var(--mint);
    border-radius: 16px;
}

/* ---------- Footer ---------- */

.site-footer {
    padding: 72px 0 0;
    background: var(--mint);
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr));
    gap: 40px;
}

.footer-brand img {
    width: auto;
    height: 60px;
    margin-bottom: 18px;
}

.footer-brand p {
    max-width: 320px;
}

.site-footer h3 {
    margin-bottom: 16px;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--teal);
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 32px;
    margin-top: 56px;
    padding: 22px 0 28px;
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-crisis i {
    margin-right: 6px;
    color: #c2410c;
}

.footer-crisis a {
    font-weight: 700;
    color: var(--ink);
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .split {
        grid-template-columns: 1fr;
    }

    .feature-row {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .detail-list > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .steps-list > li {
        padding-left: 28px;
        padding-top: 84px;
    }

    .steps-dark {
        --step-gap: 10px;
    }

    .steps-dark > li {
        font-size: 0.85rem;
    }

    .mood-btn {
        width: calc(33.333% - 8px);
    }

    .home-hero {
        background-size: 900px auto;
    }

    .btn-row .btn {
        flex: 1 1 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
