/* ==========================================================================
   Oasis marketing site
   Visual direction: warm sand, cream, terracotta, sage.
   Headings in Fraunces, body in Inter. No framework, no animations beyond
   small hover transitions.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    /* Core palette */
    --sand: #F1E8D4;
    --cream: #FBF6E9;
    --deep: #2D2620;
    --muted: #6E6353;
    --terracotta: #B65C3C;
    --terracotta-fill: #AC5535;
    --terracotta-dark: #9E4A2D;
    --terracotta-tint: #F3E2D8;
    --sage: #6B8163;
    --sage-soft: #9CAF8E;
    --clay: #D49A6A;
    --sky: #7C92A6;
    --highlight: #E8C97A;
    --border: #E0D4B8;
    --border-strong: #CDBE9C;
    --danger: #A23B2A;

    --radius-sm: 0.45rem;
    --radius: 0.9rem;
    --radius-lg: 1.25rem;

    --shadow-sm: 0 0.15rem 0.6rem rgba(74, 58, 38, 0.06);
    --shadow: 0 0.4rem 1.2rem rgba(74, 58, 38, 0.08);
    --shadow-lg: 0 1.5rem 3rem -1rem rgba(74, 58, 38, 0.22);

    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-heading: "Fraunces", Georgia, "Times New Roman", serif;

    --measure: 62ch;
    --max: 1140px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--deep);
    background-color: var(--sand);
    background-image:
        radial-gradient(circle at 12% 18%, rgba(212, 154, 106, 0.10), transparent 38%),
        radial-gradient(circle at 88% 6%, rgba(107, 129, 99, 0.08), transparent 42%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

img,
svg,
iframe {
    max-width: 100%;
}

img {
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.5em;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--deep);
    line-height: 1.15;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.35rem, 1.6rem + 3.2vw, 3.6rem);
    font-weight: 600;
    letter-spacing: -0.025em;
}

h2 {
    font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
}

h3 {
    font-size: 1.22rem;
    letter-spacing: -0.01em;
}

p {
    margin: 0 0 1.1em;
    text-wrap: pretty;
}

a {
    color: var(--terracotta-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

a:hover {
    color: var(--deep);
}

ul,
ol {
    margin: 0 0 1.1em;
    padding-left: 1.25em;
}

li + li {
    margin-top: 0.35em;
}

strong {
    color: var(--deep);
    font-weight: 600;
}

::selection {
    background: var(--highlight);
    color: var(--deep);
}

:focus-visible {
    outline: 3px solid var(--terracotta);
    outline-offset: 3px;
    border-radius: 4px;
}

[hidden] {
    display: none !important;
}

/* ---------- Layout ---------- */
.container {
    width: min(100% - 2.5rem, var(--max));
    margin-inline: auto;
}

.section {
    padding: clamp(3.5rem, 2rem + 5vw, 6.5rem) 0;
    scroll-margin-top: 90px;
}

.section--soft {
    background: rgba(251, 246, 233, 0.6);
    border-block: 1px solid var(--border);
}

.section--tight {
    padding-top: clamp(2.5rem, 4vw, 4rem);
}

.section__head {
    max-width: 52rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section__head--center {
    margin-inline: auto;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.85rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--terracotta-dark);
}

.lead {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    color: var(--muted);
    max-width: var(--measure);
}

.muted {
    color: var(--muted);
}

.center {
    text-align: center;
}

.stack > * + * {
    margin-top: 1rem;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 100;
    padding: 0.65rem 1rem;
    background: var(--deep);
    color: var(--cream);
    border-radius: var(--radius-sm);
}

.skip-link:focus {
    top: 1rem;
    color: var(--cream);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.8rem 1.4rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease,
        transform 0.12s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    background: var(--terracotta-fill);
    border-color: var(--terracotta-fill);
    color: var(--cream);
}

.btn--primary:hover {
    background: var(--deep);
    border-color: var(--deep);
    color: var(--cream);
}

.btn--secondary {
    background: transparent;
    color: var(--deep);
    border-color: var(--deep);
}

.btn--secondary:hover {
    background: rgba(45, 38, 32, 0.06);
    color: var(--deep);
}

.btn--dark {
    background: var(--deep);
    border-color: var(--deep);
    color: var(--cream);
}

.btn--dark:hover {
    background: #1A1611;
    border-color: #1A1611;
    color: var(--cream);
}

.btn--light {
    background: var(--cream);
    color: var(--deep);
}

.btn--light:hover {
    background: var(--clay);
    color: var(--deep);
}

.btn--outline-light {
    background: transparent;
    color: var(--cream);
    border-color: rgba(251, 246, 233, 0.55);
}

.btn--outline-light:hover {
    background: rgba(251, 246, 233, 0.12);
    border-color: var(--cream);
    color: var(--cream);
}

.btn--block {
    width: 100%;
}

.btn--sm {
    padding: 0.55rem 1.1rem;
    font-size: 0.9rem;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(241, 232, 212, 0.9);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 74px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    width: 148px;
}

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

.nav a {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
}

.nav a:hover {
    color: var(--terracotta);
    text-decoration: none;
}

.nav a[aria-current="page"] {
    color: var(--terracotta-dark);
    font-weight: 600;
}

.nav .btn {
    color: var(--cream);
}

.nav .btn:hover {
    color: var(--cream);
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.7rem;
    background: transparent;
    border: 1px solid var(--deep);
    border-radius: 999px;
    color: var(--deep);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.nav-toggle svg {
    width: 18px;
    height: 18px;
}

@media (min-width: 901px) {
    .nav-toggle {
        display: none;
    }
}

@media (max-width: 900px) {
    .site-header__inner {
        flex-wrap: wrap;
        padding-block: 0.7rem;
    }

    .js .nav-toggle {
        display: inline-flex;
    }

    .js .nav {
        display: none;
    }

    .js .nav.is-open {
        display: flex;
    }

    .nav {
        flex-basis: 100%;
        flex-wrap: wrap;
        gap: 0.5rem 1.25rem;
    }

    .js .nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
        padding: 0.9rem 0 0.6rem;
        border-top: 1px solid var(--border);
    }

    .js .nav a {
        display: block;
        width: 100%;
        padding: 0.6rem 0.25rem;
    }

    .js .nav .btn {
        margin: 0.45rem 0 0.25rem;
        width: auto;
        padding-inline: 1.4rem;
    }
}

/* ---------- Hero ---------- */
.hero {
    padding: clamp(3rem, 1rem + 6vw, 6rem) 0 clamp(2.5rem, 1rem + 4vw, 4.5rem);
    background:
        radial-gradient(120% 90% at 85% 0%, rgba(212, 154, 106, 0.16), transparent 55%),
        radial-gradient(90% 80% at 0% 100%, rgba(107, 129, 99, 0.10), transparent 55%);
    border-bottom: 1px solid var(--border);
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
}

.hero__copy {
    max-width: 36rem;
}

.hero h1 {
    margin-bottom: 0.9rem;
}

.hero__subhead {
    margin: 0 0 1rem;
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 500;
    color: var(--terracotta-dark);
}

.hero__text {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: var(--muted);
}

.hero__note {
    margin: 1.4rem 0 0;
    font-size: 0.88rem;
    color: var(--muted);
}

.hero__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 900px) {
    .hero__inner {
        grid-template-columns: 1fr;
    }

    .hero__media {
        order: -1;
        max-width: 520px;
    }

    .hero__media img {
        aspect-ratio: 16 / 10;
    }
}

/* ---------- Page header ---------- */
.page-head {
    padding: clamp(2.5rem, 1rem + 5vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
    border-bottom: 1px solid var(--border);
    background: rgba(251, 246, 233, 0.55);
}

.page-head h1 {
    max-width: 40rem;
    margin-bottom: 0.7rem;
}

.page-head .lead {
    margin-bottom: 0;
}

.breadcrumbs {
    font-size: 0.85rem;
    color: var(--muted);
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumbs li + li::before {
    content: "/";
    margin-right: 0.5rem;
    color: var(--border-strong);
}

.breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--terracotta-dark);
    text-decoration: underline;
}

.breadcrumbs-bar {
    padding: 1rem 0 0;
    background: rgba(251, 246, 233, 0.55);
}

/* ---------- Cards ---------- */
.grid {
    display: grid;
    gap: 1.4rem;
}

.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));
}

.card {
    padding: 1.8rem;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.6rem 1.5rem rgba(74, 58, 38, 0.1);
}

.card h3 {
    margin-bottom: 0.45rem;
}

.card p:last-child {
    margin-bottom: 0;
}

.card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 1.1rem;
    border-radius: 0.6rem;
    background: rgba(182, 92, 60, 0.1);
    color: var(--terracotta);
}

.card__icon svg {
    width: 22px;
    height: 22px;
}

.card p {
    color: var(--muted);
}

@media (max-width: 900px) {
    .grid--3,
    .grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }
}

/* ---------- Problem ---------- */
.problem__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.problem__points {
    display: grid;
    gap: 1.1rem;
}

.problem__point {
    padding-left: 1.1rem;
    border-left: 3px solid var(--clay);
}

.problem__point h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.problem__point p {
    margin-bottom: 0;
    font-size: 0.97rem;
    color: var(--muted);
}

.problem__closing {
    margin-top: 2.2rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--terracotta-dark);
    max-width: 46rem;
}

@media (max-width: 820px) {
    .problem__grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Demo ---------- */
.demo__grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
}

.demo__frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #000;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 9;
}

.demo__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 860px) {
    .demo__grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Reasons ---------- */
.reasons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem 2.5rem;
}

.reason {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.reason__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--sage);
    color: var(--cream);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
}

.reason h3 {
    margin-bottom: 0.3rem;
    font-size: 1.12rem;
}

.reason p {
    margin-bottom: 0;
    font-size: 0.97rem;
    color: var(--muted);
}

@media (max-width: 760px) {
    .reasons {
        grid-template-columns: 1fr;
    }
}

/* ---------- Pricing ---------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
    align-items: start;
}

.pricing-lead {
    max-width: 46rem;
    margin: -0.75rem 0 1.75rem;
    font-size: 1rem;
    color: var(--muted);
}

.plan {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.8rem;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.plan--highlight {
    border-color: var(--terracotta);
    box-shadow: 0 0.6rem 1.8rem rgba(182, 92, 60, 0.12);
}

.plan__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.plan__label h3 {
    margin: 0;
    font-size: 1.1rem;
}

.plan__badge {
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: rgba(182, 92, 60, 0.12);
    color: var(--terracotta-dark);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.plan__price {
    margin: 0.4rem 0 0.15rem;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--deep);
    letter-spacing: -0.03em;
    line-height: 1;
}

.plan__unit {
    margin: 0 0 1.1rem;
    font-size: 0.88rem;
    color: var(--muted);
}

.plan__features {
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    font-size: 0.95rem;
}

.plan__features li {
    position: relative;
    padding-left: 1.6rem;
}

.plan__features li + li {
    margin-top: 0.55rem;
}

.plan__features svg {
    position: absolute;
    left: 0;
    top: 0.28em;
    width: 1rem;
    height: 1rem;
    color: var(--sage);
}

.plan__foot {
    margin-top: auto;
}

.plan__note {
    margin: 0.75rem 0 0;
    font-size: 0.8rem;
    color: var(--muted);
    text-align: center;
}

.bed-input {
    margin-bottom: 1.1rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(241, 232, 212, 0.55);
}

.bed-input label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--deep);
}

.bed-input input {
    width: 100%;
    padding: 0.55rem 0.65rem;
    border: 1px solid var(--border-strong);
    border-radius: 0.35rem;
    font: inherit;
    font-size: 1rem;
    background: var(--cream);
    color: var(--deep);
}

.bed-input input:focus {
    outline: 2px solid var(--terracotta);
    outline-offset: 1px;
    border-color: var(--terracotta);
}

.bed-input__total {
    margin-top: 0.55rem;
    font-size: 0.88rem;
    color: var(--terracotta-dark);
    font-weight: 600;
}

.pricing-note {
    margin-top: 1.6rem;
    font-size: 0.9rem;
    color: var(--muted);
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Testimonials ---------- */
.quote {
    padding: 1.8rem;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.quote blockquote {
    margin: 0 0 1.25rem;
    font-family: var(--font-heading);
    font-size: 1.12rem;
    line-height: 1.45;
    color: var(--deep);
}

.quote footer {
    font-size: 0.88rem;
    color: var(--muted);
}

.quote footer strong {
    display: block;
    font-family: var(--font-body);
    color: var(--deep);
    font-size: 0.92rem;
    font-weight: 600;
}

/* ---------- FAQ ---------- */
.faq {
    max-width: 46rem;
}

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

.faq details:first-of-type {
    border-top: 1px solid var(--border);
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 0;
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 500;
    color: var(--deep);
    cursor: pointer;
    list-style: none;
}

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

.faq summary::after {
    content: "+";
    flex-shrink: 0;
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--terracotta);
}

.faq details[open] summary::after {
    content: "â€“";
}

.faq details > p {
    margin: 0 0 1.3rem;
    max-width: 60ch;
    color: var(--muted);
}

/* ---------- CTA band ---------- */
.cta-band {
    padding: clamp(3rem, 2rem + 4vw, 5rem) 0;
    background: var(--deep);
    color: #D7CDB6;
    text-align: center;
}

.cta-band h2 {
    color: var(--cream);
    margin-bottom: 0.6rem;
}

.cta-band p {
    max-width: 38rem;
    margin: 0 auto 1.9rem;
    color: #C8BCA4;
}

.cta-band .btn-row {
    justify-content: center;
    margin-top: 0;
}

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
}

.contact-panel {
    padding: 1.8rem;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.contact-panel h3 {
    margin-bottom: 0.35rem;
}

.contact-panel p {
    margin-bottom: 1rem;
    font-size: 0.96rem;
    color: var(--muted);
}

.contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-list li {
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem 0;
    border-top: 1px solid var(--border);
}

.contact-list li:first-child {
    border-top: 0;
    padding-top: 0;
}

.contact-list svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 0.15rem;
    color: var(--terracotta);
}

.contact-list a {
    font-weight: 600;
}

.contact-list p {
    margin: 0.2rem 0 0;
    font-size: 0.9rem;
}

@media (max-width: 820px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Blog ---------- */
.post-list {
    display: grid;
    gap: 1.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.post-card {
    display: block;
    padding: 1.6rem 1.8rem;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.post-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow);
}

.post-card h2,
.post-card h3 {
    margin: 0.4rem 0 0.4rem;
    font-size: 1.28rem;
    color: var(--deep);
}

.post-card p {
    margin: 0;
    font-size: 0.96rem;
    color: var(--muted);
}

.post-meta {
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--terracotta-dark);
}

/* ---------- Prose (articles, legal) ---------- */
.prose {
    max-width: 46rem;
    color: var(--deep);
}

.prose > * + * {
    margin-top: 1.1em;
}

.prose h2 {
    margin-top: 2.4em;
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

.prose h3 {
    margin-top: 1.8em;
}

.prose p,
.prose li {
    color: #4A3F33;
}

.prose ul,
.prose ol {
    padding-left: 1.3rem;
}

.prose li + li {
    margin-top: 0.4em;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.94rem;
    margin: 1.75rem 0;
    background: var(--cream);
}

.prose th,
.prose td {
    padding: 0.7rem 0.75rem;
    border: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.prose th {
    background: rgba(241, 232, 212, 0.8);
    color: var(--deep);
    font-size: 0.86rem;
}

.prose .blog-table-container {
    overflow-x: auto;
    border-radius: var(--radius-sm);
}

.prose .callout {
    padding: 1.1rem 1.3rem;
    border-left: 4px solid var(--terracotta);
    background: var(--terracotta-tint);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.prose .callout p:last-child,
.prose .callout ul:last-child {
    margin-bottom: 0;
}

.prose .callout--warning {
    background: #F7E7DE;
}

.prose .callout h2,
.prose .callout h3 {
    margin-top: 0;
}

.prose blockquote {
    margin: 1.75rem 0;
    padding: 1.2rem 1.4rem;
    background: rgba(251, 246, 233, 0.8);
    border-left: 3px solid var(--sage-soft);
    font-style: italic;
    color: var(--deep);
}

.prose blockquote p:last-child {
    margin-bottom: 0;
}

.prose .author-bio-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 1rem;
    margin: 2.5rem 0;
    padding: 1.3rem;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.prose .author-bio-image {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    object-fit: cover;
}

.prose .author-bio-info h4 {
    margin: 0 0 0.15rem;
    font-size: 1.05rem;
}

.prose .author-bio-info p {
    margin: 0 0 0.5rem;
    font-size: 0.92rem;
    color: var(--muted);
}

.prose .blog-inline-cta {
    margin: 2.5rem 0;
    padding: 1.6rem;
    background: var(--deep);
    border-radius: var(--radius);
    color: #D7CDB6;
}

.prose .blog-inline-cta h3 {
    color: var(--cream);
    margin-bottom: 0.4rem;
}

.prose .blog-inline-cta p {
    margin-bottom: 1.1rem;
    font-size: 0.95rem;
    color: #C8BCA4;
}

/* Article buttons use the same pill language as the rest of the site */
.prose .cta-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.3rem;
    border-radius: 999px;
    background: var(--terracotta-fill);
    color: var(--cream);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
}

.prose .cta-btn-primary:hover {
    background: var(--clay);
    color: var(--deep);
}

.post-header {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

.post-header h1 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.post-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.25rem;
    margin-top: 1rem;
    font-size: 0.84rem;
    color: var(--muted);
}

/* ---------- Forms ---------- */
.field {
    margin-bottom: 1rem;
}

.field label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--deep);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font: inherit;
    font-size: 1rem;
    color: var(--deep);
    background: var(--cream);
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.form-control:focus,
.phone-input-wrapper input:focus,
.pp-field input:focus,
.pp-field select:focus,
.pp-field textarea:focus {
    outline: 2px solid var(--terracotta);
    outline-offset: 1px;
    border-color: var(--terracotta);
}

.field textarea {
    min-height: 120px;
    resize: vertical;
}

.form-note {
    font-size: 0.85rem;
    color: var(--muted);
}

/* Referral form (compatible with the existing markup) */
.pp-form-wrap {
    padding: clamp(1.25rem, 3vw, 2rem);
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.pp-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
}

.pp-form-col h3 {
    margin-bottom: 0.35rem;
}

.pp-form-col > p {
    font-size: 0.93rem;
    color: var(--muted);
}

.pp-reqs {
    margin: 0 0 1.25rem;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    color: var(--muted);
}

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

.pp-field {
    margin-bottom: 0.9rem;
}

.pp-field label {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--deep);
}

.pp-field input,
.pp-field select,
.pp-field textarea {
    width: 100%;
    padding: 0.6rem 0.7rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font: inherit;
    font-size: 0.97rem;
    background: var(--cream);
    color: var(--deep);
}

.pp-field textarea {
    min-height: 110px;
    resize: vertical;
}

.pp-submit {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.pp-submit p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted);
    max-width: 60ch;
}

.pp-submit .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 0.8rem 1.4rem;
    border: 0;
    border-radius: 999px;
    background: var(--terracotta-fill);
    color: var(--cream);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.pp-submit .cta-button:hover {
    background: var(--deep);
}

.pp-status {
    display: none;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
}

.pp-status.success {
    display: block;
    background: #E4EBDD;
    color: #3D5235;
}

.pp-status.error {
    display: block;
    background: #F7E7DE;
    color: var(--danger);
}

.pp-tier-price {
    display: block;
    margin-bottom: 0.4rem;
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--terracotta-dark);
}

.pp-note {
    margin-top: 1.6rem;
    padding: 0.9rem 1.1rem;
    background: rgba(251, 246, 233, 0.9);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--muted);
}

.referral-form-section {
    padding: clamp(3.5rem, 2rem + 5vw, 6.5rem) 0;
}

@media (max-width: 760px) {
    .pp-form-grid {
        grid-template-columns: 1fr;
    }

    .pp-row {
        grid-template-columns: 1fr;
    }
}

/* SMS opt-in */
.optin-container {
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
    border-bottom: 1px solid var(--border);
}

.optin-card {
    max-width: 34rem;
    margin-inline: auto;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.optin-header h1,
.optin-header h2 {
    font-size: 1.6rem;
}

.optin-header p {
    color: var(--muted);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--deep);
}

.form-control,
.phone-input-wrapper input {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font: inherit;
    font-size: 1rem;
    background: var(--cream);
    color: var(--deep);
}

.phone-input-wrapper {
    display: flex;
    gap: 0.5rem;
}

.country-select {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.6rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: rgba(241, 232, 212, 0.7);
    font-size: 0.9rem;
    color: var(--deep);
}

.country-select img {
    width: 18px;
}

.country-select-icon {
    font-size: 0.65rem;
    color: var(--muted);
}

.ml-4 {
    margin-left: 0.25rem;
}

.btn-subscribe {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--terracotta-fill);
    border-radius: 999px;
    background: var(--terracotta-fill);
    color: var(--cream);
    font: inherit;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-subscribe:hover {
    background: var(--deep);
    border-color: var(--deep);
}

.consent-group {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.consent-group input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.form-message {
    display: none;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
}

.form-message.success {
    display: block;
    background: #E4EBDD;
    color: #3D5235;
}

.form-message.error {
    display: block;
    background: #F7E7DE;
    color: var(--danger);
}

/* ---------- Footer ---------- */
.site-footer {
    padding: clamp(2.5rem, 4vw, 4rem) 0 1.5rem;
    background: var(--deep);
    color: #C8BCA4;
    font-size: 0.93rem;
}

.site-footer a {
    color: #B5A988;
    text-decoration: none;
    transition: color 0.15s ease;
}

.site-footer a:hover {
    color: var(--clay);
    text-decoration: underline;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 2rem;
}

.footer-brand img {
    width: 140px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-brand p {
    max-width: 28rem;
    margin-bottom: 0.9rem;
    color: #B5A988;
}

.footer-brand a {
    font-weight: 600;
    color: #E8DFC8;
}

.footer-col h3 {
    margin: 0 0 0.9rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #E8DFC8;
}

.footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-col li + li {
    margin-top: 0.5rem;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    margin-top: clamp(2rem, 4vw, 3rem);
    padding-top: 1.4rem;
    border-top: 1px solid #3A3024;
    font-size: 0.82rem;
    color: #8E8164;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* ---------- Feature groups (features page) ---------- */
.features--soft {
    background: rgba(251, 246, 233, 0.6);
    border-block: 1px solid var(--border);
}

.feature-list {
    display: grid;
    gap: 0;
}

.feature-group {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.25rem 3rem;
    padding: 2.25rem 0;
    border-top: 1px solid var(--border);
}

.feature-group:first-child {
    padding-top: 0;
    border-top: 0;
}

.feature-group h2 {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
}

.feature-group__head .lead {
    font-size: 1rem;
    margin-bottom: 0;
}

.check-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.7rem;
    font-size: 0.97rem;
    color: #4A3F33;
}

.check-list li:last-child {
    margin-bottom: 0;
}

.check-list svg {
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 1rem;
    height: 1rem;
    color: var(--sage);
}

/* ---------- Scope note ---------- */
.scope-note {
    padding: clamp(1.25rem, 3vw, 1.9rem);
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.scope-note h2 {
    font-size: 1.45rem;
}

.scope-note > p {
    max-width: 60ch;
    color: var(--muted);
}

.scope-list {
    display: grid;
    gap: 0.55rem;
    margin: 1.1rem 0 0;
    padding: 0;
    list-style: none;
}

.scope-list li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.96rem;
    color: var(--muted);
}

.scope-list svg {
    flex-shrink: 0;
    width: 0.95rem;
    height: 0.95rem;
    margin-top: 0.32em;
    color: var(--terracotta);
}

/* ---------- People ---------- */
.person-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.person-card__role {
    margin-bottom: 0.6rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--terracotta-dark);
}

.person-card p {
    font-size: 0.93rem;
}

.person-card a {
    font-size: 0.9rem;
    font-weight: 600;
}

@media (max-width: 820px) {
    .feature-group {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ---------- Small utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.notfound-cta { margin-top: 1.5rem; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Dev section gallery (not linked from the site) */
.dev-page {
    padding: 2.5rem 0 4rem;
}

.dev-label {
    margin: 2.5rem 0 0.5rem;
    padding: 0.4rem 0.75rem;
    font: 600 0.75rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
    color: var(--terracotta-dark);
    background: var(--terracotta-tint);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

/* Legacy class names kept for older content */
.section-title {
    max-width: 52rem;
    margin-bottom: 2rem;
}

.fade-in {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }
}

/* ---------- Signup page (/start/) ---------- */
.signup-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 20rem;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
}

.signup-layout > * {
    min-width: 0;
}

.signup-main {
    max-width: 34rem;
}

.signup-card {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.signup-card .field label {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}

.recaptcha-box {
    padding: 1rem;
    background: rgba(241, 232, 212, 0.55);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.form-check {
    display: flex;
    gap: 0.6rem;
    margin: 1rem 0 1.25rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.form-check input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.signup-card__foot {
    margin: 1rem 0 0;
    text-align: center;
    font-size: 0.88rem;
    color: var(--muted);
}

.signup-aside {
    display: grid;
    gap: 1.25rem;
}

.signup-aside__block {
    padding: 1.3rem;
    background: rgba(251, 246, 233, 0.7);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.signup-aside__block h2 {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.signup-aside__price {
    margin: 0 0 0.35rem;
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 600;
    line-height: 1;
    color: var(--terracotta-dark);
}

.signup-aside__price span {
    display: block;
    margin-top: 0.35rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--muted);
}

.signup-aside__block p {
    font-size: 0.93rem;
}

.signup-steps {
    margin: 0.5rem 0 0.75rem;
    padding-left: 1.15rem;
    font-size: 0.92rem;
    color: var(--muted);
}

.signup-steps li + li {
    margin-top: 0.45rem;
}

.success-panel {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    scroll-margin-top: 90px;
}

.success-panel h2 {
    margin-bottom: 0.6rem;
}

.success-panel > p {
    color: var(--muted);
}

.success-panel__heading {
    margin-top: 2.2rem;
    font-size: 1.2rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
    margin-top: 1rem;
}

.video-item h4 {
    margin-bottom: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
}

.video-item__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.video-item__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.small {
    font-size: 0.86rem;
}

@media (max-width: 880px) {
    .signup-layout {
        grid-template-columns: 1fr;
    }

    .signup-main {
        max-width: none;
    }
}

@media (max-width: 620px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .signup-card {
        padding: 1.15rem;
    }

    .recaptcha-box {
        padding: 0.5rem;
        overflow-x: auto;
    }
}
