/* Speak Easy, section library styles.
   Convention: 4-space indent, opening brace on the selector line. */

/* Shared button variants used on coloured grounds */
.se-btn--text-light {
    color: var(--parchment-50);
}
.se-btn--text-light:hover {
    color: var(--butter);
}
.se-btn--oncolor {
    background: var(--parchment-50);
    color: var(--forest);
}
.se-btn--oncolor:hover {
    background: var(--parchment);
}

/* ---------- Hero band ---------- */
.se-hero-band {
    padding: var(--space-section-lg) 0;
}
.se-hero-band--forest {
    background: var(--forest);
}
.se-hero-band--forest .se-eyebrow {
    color: var(--parchment-100);
}
.se-hero-band--forest .se-hero-band__title {
    color: var(--parchment-50);
}
.se-hero-band--forest .se-hero-band__lead {
    color: var(--parchment-100);
}
.se-hero-band__inner {
    max-width: 56rem;
}
.se-hero-band--split .se-hero-band__inner {
    max-width: none;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.se-hero-band__title {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    font-weight: 500;
    font-optical-sizing: auto;
    letter-spacing: -0.015em;
    margin: 0 0 0.4em;
}
.se-hero-band__lead {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.5;
    color: var(--ash-600);
    max-width: 42ch;
    text-wrap: balance;
    margin-bottom: 2rem;
}
.se-hero-band__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}
.se-hero-band__media {
    position: relative;
}
.se-hero-band__media::before {
    content: '';
    position: absolute;
    inset: auto -1.25rem -1.25rem auto;
    width: 60%;
    height: 70%;
    background: var(--parchment-100);
    border-radius: var(--radius-card);
    z-index: -1;
}
.se-hero-band__media img {
    width: 100%;
    border-radius: var(--radius-card);
    box-shadow: 0 24px 48px -16px rgba(31, 42, 36, 0.28);
}

/* ---------- Problem vignettes (editorial, serif-led, no icons) ---------- */
.se-problem {
    padding: var(--space-section) 0;
    background: var(--parchment-50);
}
.se-problem__head {
    max-width: 46rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
.se-problem__heading {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
}
.se-problem__intro {
    font-size: 1.125rem;
    color: var(--ash-600);
    max-width: 52ch;
    text-wrap: pretty;
}
.se-problem__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5rem);
}
.se-problem__item {
    display: grid;
    gap: 0.75rem;
}
.se-problem__text {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2vw, 1.625rem);
    line-height: 1.4;
    color: var(--forest);
    margin: 0;
    text-wrap: balance;
}

/* ---------- How it works (steps) ---------- */
.se-steps {
    padding: var(--space-section) 0;
}
.se-steps__heading {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    max-width: 24ch;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
.se-steps__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
}
.se-steps__step {
    display: grid;
    gap: 0.5rem;
    align-content: start;
}
.se-steps__num {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 6vw, 5rem);
    font-optical-sizing: auto;
    font-variant-numeric: tabular-nums lining-nums;
    line-height: 1;
    color: var(--clay);
}
.se-steps__title {
    font-size: 1.5rem;
    margin: 0;
}
.se-steps__text {
    color: var(--ash-600);
    margin: 0;
    text-wrap: pretty;
}

/* ---------- Feature list (editorial, no boxes) ---------- */
.se-features {
    padding: var(--space-section) 0;
    background: var(--parchment-100);
}
.se-features__head {
    max-width: 46rem;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
.se-features__heading {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
}
.se-features__intro {
    font-size: 1.125rem;
    color: var(--ash-600);
    max-width: 54ch;
    text-wrap: pretty;
}
.se-features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: clamp(1.75rem, 3vw, 2.75rem) clamp(1.75rem, 4vw, 3rem);
}
.se-features__item {
    display: grid;
    gap: 0.5rem;
    align-content: start;
}
.se-features__icon {
    display: inline-flex;
    margin-bottom: 0.25rem;
}
.se-features__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1.25;
    color: var(--forest);
    margin: 0;
}
.se-features__text {
    color: var(--ash-600);
    margin: 0;
    text-wrap: pretty;
}

/* ---------- Pricing ---------- */
.se-pricing {
    padding: var(--space-section) 0;
}
.se-pricing__head {
    text-align: left;
    max-width: 46rem;
    margin: 0 0 clamp(2rem, 4vw, 3rem);
}
.se-pricing__heading {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
}
.se-pricing__intro {
    font-size: 1.125rem;
    color: var(--ash-600);
}
.se-pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 1.5rem;
    max-width: 760px;
    padding-top: 1rem;
    align-items: stretch;
}
.se-pricing__plan {
    position: relative;
    background: var(--parchment-50);
    border: 1px solid var(--stone);
    border-radius: var(--radius-card);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
}
.se-pricing__plan.is-featured {
    border: 1px solid var(--clay);
    box-shadow: 0 0 0 1px var(--clay), 0 18px 40px -20px rgba(168, 86, 54, 0.32);
    background: var(--parchment);
}
.se-pricing__badge {
    position: absolute;
    top: -0.75rem;
    left: 1.75rem;
    background: var(--clay);
    color: var(--parchment-50);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-button);
}
.se-pricing__name {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: var(--label-tracking);
    text-transform: uppercase;
    color: var(--ash-600);
    margin: 0 0 0.5rem;
}
.se-pricing__price {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin: 0 0 0.75rem;
}
.se-pricing__amount {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-optical-sizing: auto;
    font-variant-numeric: tabular-nums lining-nums;
    line-height: 1;
    color: var(--forest);
}
.se-pricing__period {
    color: var(--ash-400);
    font-size: 0.95rem;
    font-variant-numeric: tabular-nums lining-nums;
}
.se-pricing__blurb {
    color: var(--ash-600);
    margin: 0 0 1.25rem;
    text-wrap: pretty;
}
.se-pricing__list {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}
.se-pricing__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--ink);
}
.se-pricing__list li .se-icon {
    flex: none;
    margin-top: 2px;
}
.se-pricing__cta {
    margin-top: auto;
    width: 100%;
}

/* ---------- Testimonials (left-aligned, single oversized mark) ---------- */
.se-quotes {
    padding: var(--space-section) 0;
    background: var(--parchment-50);
}
.se-quotes__heading {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
}
.se-quotes__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(1.75rem, 3vw, 2.5rem);
    max-width: 960px;
}
.se-quotes__item {
    margin: 0;
    border-top: 1px solid var(--stone);
    padding-top: 1.5rem;
}
.se-quotes__quote {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.2vw, 1.625rem);
    line-height: 1.4;
    color: var(--forest);
    margin: 0 0 1rem;
    text-wrap: balance;
}
.se-quotes__quote::before {
    content: '\201C';
    display: block;
    font-size: 3.5rem;
    line-height: 0.6;
    color: var(--clay);
    margin-bottom: 0.25rem;
}
.se-quotes__name {
    font-weight: 600;
    color: var(--ink);
}
.se-quotes__role {
    color: var(--ash-600);
}
.se-quotes__role::before {
    content: ' \00B7 ';
}

/* ---------- FAQ ---------- */
.se-faq {
    padding: var(--space-section-sm) 0;
}
.se-faq__heading {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.se-faq__list {
    max-width: 760px;
}
.se-faq__item {
    border-bottom: 1px solid var(--stone);
}
.se-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 0;
    cursor: pointer;
    font-weight: 500;
    font-size: 1.125rem;
    color: var(--forest);
    list-style: none;
    transition: color 160ms ease;
}
.se-faq__q:hover {
    color: var(--clay-ink);
}
.se-faq__q::-webkit-details-marker {
    display: none;
}
.se-faq__marker {
    position: relative;
    width: 18px;
    height: 18px;
    flex: none;
}
.se-faq__marker::before,
.se-faq__marker::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--clay);
}
.se-faq__marker::before {
    width: 14px;
    height: 2px;
    transition: transform 200ms ease;
}
.se-faq__marker::after {
    width: 2px;
    height: 14px;
    transition: opacity 160ms ease;
}
.se-faq__item[open] .se-faq__marker::before {
    transform: translate(-50%, -50%) rotate(180deg);
}
.se-faq__item[open] .se-faq__marker::after {
    opacity: 0;
}
.se-faq__a {
    padding: 0 0 1.5rem;
    color: var(--ash-600);
    max-width: 60ch;
}
.se-faq__a p {
    margin: 0 0 0.75rem;
}
.se-faq__a a {
    color: var(--clay-ink);
}

/* ---------- CTA band ---------- */
.se-ctaband {
    padding: var(--space-section-lg) 0;
}
.se-ctaband--forest {
    background: var(--forest);
}
.se-ctaband--clay {
    background: var(--clay);
}
.se-ctaband--parchment {
    background: var(--parchment-100);
}
.se-ctaband__inner {
    text-align: center;
    max-width: 44rem;
    margin-inline: auto;
}
.se-ctaband__heading {
    font-size: clamp(1.875rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
}
.se-ctaband--forest .se-ctaband__heading,
.se-ctaband--clay .se-ctaband__heading {
    color: var(--parchment-50);
}
.se-ctaband__text {
    font-size: 1.125rem;
    margin-bottom: 1.75rem;
    color: var(--ash-600);
    text-wrap: balance;
}
.se-ctaband--forest .se-ctaband__text {
    color: var(--parchment-100);
}
.se-ctaband--clay .se-ctaband__text {
    color: var(--parchment-50);
}
.se-ctaband__actions {
    display: flex;
    justify-content: center;
}

/* ---------- Prose ---------- */
.se-prosewrap {
    padding: var(--space-section-sm) 0;
}
.se-prosewrap__inner.se-prose {
    max-width: 65ch;
}
.se-prosewrap--wide .se-prosewrap__inner.se-prose {
    max-width: 80ch;
}
.se-prosewrap__inner > p:first-of-type {
    font-size: 1.1875rem;
    color: var(--ink);
}
.se-prosewrap__inner h2 {
    font-size: 1.875rem;
    margin: 2rem 0 0.5rem;
}
.se-prosewrap__inner h3 {
    font-size: 1.375rem;
    margin: 1.5rem 0 0.5rem;
}
.se-prosewrap__inner ul,
.se-prosewrap__inner ol {
    padding-left: 1.25rem;
}
.se-prosewrap__inner li {
    margin-bottom: 0.4rem;
}
.se-prosewrap__inner a {
    text-decoration: underline;
    text-decoration-color: var(--stone);
    text-underline-offset: 2px;
}
.se-prosewrap__inner a:hover {
    text-decoration-color: var(--clay);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .se-hero-band--split .se-hero-band__inner {
        grid-template-columns: 1fr;
    }
    .se-hero-band--split .se-hero-band__media {
        order: -1;
    }
}

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