/* ==========================================================================
   Homepage sections
   Loaded after style.css, which owns the tokens and the shared shell.
   ========================================================================== */

:root {
    --section-y: clamp(4rem, 2.6rem + 3.4vw, 7rem);
}

.icon {
    width: 1.5rem;
    height: 1.5rem;
    flex: 0 0 auto;
}

/* Shared section heading block ------------------------------------------- */
.section-head {
    max-width: 44rem;
    margin-bottom: clamp(2.5rem, 2rem + 1.6vw, 4rem);
}

.section-head h2 {
    font-size: clamp(1.85rem, 1.4rem + 1.5vw, 2.6rem);
    line-height: 1.16;
    margin-bottom: .7rem;
}

.section-head__sub {
    font-size: 1.0625rem;
    color: var(--ink-muted);
    max-width: 54ch;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Positioning statement
   -------------------------------------------------------------------------- */
.statement {
    background: var(--sage-tint);
    padding-block: clamp(3rem, 2.2rem + 2.4vw, 5rem);
    text-align: center;
}

.statement p:first-child {
    font-family: var(--font-head);
    font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2.15rem);
    line-height: 1.3;
    color: var(--teal);
    max-width: 26ch;
    margin: 0 auto .8rem;
}

.statement .accent { display: block; }

.statement__sub {
    font-size: 1rem;
    color: var(--ink-muted);
    max-width: 46ch;
    margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Two-column split (image left, copy right)
   -------------------------------------------------------------------------- */
.split {
    background: var(--ivory);
    padding-block: var(--section-y);
}

.split__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 1.5rem + 3.5vw, 5rem);
    align-items: center;
}

.split__media img {
    width: 100%;
    /* Matched to the copy column so neither reads as a leftover thumbnail */
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 52% 30%;
}

.split__body h2 {
    font-size: clamp(1.8rem, 1.35rem + 1.5vw, 2.5rem);
    line-height: 1.16;
}

.ticks {
    list-style: none;
    margin: 1.6rem 0;
    display: grid;
    gap: .8rem;
}

.ticks li {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    line-height: 1.55;
}

.ticks .icon {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: .28rem;
    color: var(--sage-deep);
}

.callout {
    background: var(--sage-tint);
    border-left: 3px solid var(--sage);
    padding: 1.25rem 1.5rem;
    margin: 0;
    font-size: .9875rem;
}

/* --------------------------------------------------------------------------
   Full-bleed photographic band with an overlay card
   -------------------------------------------------------------------------- */
.band {
    position: relative;
    background: var(--teal);
}

.band__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.band__media picture {
    display: block;
    width: 100%;
    height: 100%;
}

.band__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

/* Pushes the photograph back so the ivory card reads on light imagery */
.band__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(11, 80, 99, .34) 0%,
        rgba(11, 80, 99, .22) 55%,
        rgba(11, 80, 99, .34) 100%);
}

.band__inner {
    position: relative;
    z-index: 1;
    padding-block: clamp(4rem, 3rem + 3vw, 7rem);
    display: flex;
    justify-content: center;
}

.band__card {
    background: var(--ivory);
    max-width: 44rem;
    padding: clamp(2.25rem, 1.6rem + 2vw, 3.5rem);
    box-shadow: var(--shadow-card);
}

.band__card h2 {
    font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem);
    line-height: 1.18;
}

.band__card .btn { margin-top: 1.75rem; }

.band__card--centred { text-align: center; }
.band__card--centred p { margin-inline: auto; max-width: 48ch; }

/* --------------------------------------------------------------------------
   Hormone types
   -------------------------------------------------------------------------- */
.types {
    background: var(--sage-tint);
    padding-block: var(--section-y);
}

.types__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.type-card {
    background: var(--ivory);
    border-top: 3px solid var(--sage);
    padding: 2.25rem 2rem 2.5rem;
    min-width: 0;
}

.type-card__icon {
    display: inline-flex;
    color: var(--sage-deep);
    margin-bottom: 1.25rem;
}

.type-card__icon .icon { width: 2rem; height: 2rem; }

.type-card__label {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: .5rem;
}

.type-card h3 {
    font-size: 1.375rem;
    line-height: 1.25;
    margin-bottom: .4rem;
}

.type-card__driver {
    font-size: .875rem;
    font-weight: 600;
    color: var(--sage-deep);
    margin-bottom: .9rem;
}

.type-card p:last-child {
    font-size: .9375rem;
    color: var(--ink-muted);
}

.types__note {
    margin-top: 2rem;
    font-size: .875rem;
    color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   Solid call-to-action band
   -------------------------------------------------------------------------- */
.cta-band--teal {
    background: var(--teal);
    color: var(--ivory);
    padding-block: clamp(2.75rem, 2rem + 2.4vw, 4.25rem);
}

.cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem 3rem;
    flex-wrap: wrap;
}

.cta-band h2 {
    color: var(--white);
    font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.05rem);
    margin-bottom: .45rem;
}

.cta-band p {
    color: rgba(247, 244, 236, .86);
    max-width: 52ch;
    margin: 0;
}

.cta-band .btn { flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   Module grid
   -------------------------------------------------------------------------- */
.modules {
    background: var(--ivory);
    padding-block: var(--section-y);
}

.modules__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

/* Hairline grid rather than nine floating cards */
.module {
    background: var(--ivory);
    padding: 2.25rem 2rem 2.4rem;
    min-width: 0;
}

.module__icon {
    display: inline-flex;
    color: var(--sage-deep);
    margin-bottom: 1.1rem;
}

.module__icon .icon { width: 1.75rem; height: 1.75rem; }

.module h3 {
    font-size: 1.1875rem;
    line-height: 1.3;
    margin-bottom: .55rem;
}

.module p {
    font-size: .9375rem;
    color: var(--ink-muted);
    margin: 0;
}

/* --------------------------------------------------------------------------
   Product preview
   -------------------------------------------------------------------------- */
.product {
    background: var(--sage-tint);
    padding-block: var(--section-y);
}

.product__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    gap: clamp(2.5rem, 1.5rem + 3.5vw, 5rem);
    align-items: center;
}

.product__media {
    position: relative;
    min-width: 0;
    padding-bottom: 2.5rem;
}

.product__cover {
    width: 100%;
    max-width: 22rem;
    height: auto;
    box-shadow: 0 24px 60px rgba(11, 80, 99, .22);
}

/* Sits clear of the cover artwork so no icon row or strapline is covered */
.product__inset {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 38%;
    max-width: 15rem;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 28%;
    border: 8px solid var(--sage-tint);
}

.product__body h2 {
    font-size: clamp(1.8rem, 1.35rem + 1.5vw, 2.5rem);
    line-height: 1.16;
}

.specs {
    margin: 1.75rem 0 2rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 2rem;
}

.specs div { min-width: 0; }

.specs dt {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sage-deep);
    margin-bottom: .3rem;
}

.specs dd {
    margin: 0;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--teal);
}

.btn--square {
    border-radius: var(--radius-sm);
    padding-inline: 1.6rem;
}

.btn--square .icon { width: 1.15rem; height: 1.15rem; }

/* --------------------------------------------------------------------------
   Four-week journey
   -------------------------------------------------------------------------- */
.journey {
    background: var(--ivory);
    padding-block: var(--section-y);
}

.journey__track {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

.journey__step {
    min-width: 0;
    position: relative;
}

/* Connector runs from each marker to the next, and never past the last one */
.journey__step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 21px;
    left: 5.5rem;
    right: -2rem;
    height: 1px;
    background: var(--sage);
}

.journey__marker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 5.25rem;
    height: 42px;
    padding-inline: 1rem;
    background: var(--teal);
    color: var(--white);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.journey__step h3 {
    font-size: 1.25rem;
    margin-bottom: .5rem;
}

.journey__step p {
    font-size: .9375rem;
    color: var(--ink-muted);
    margin: 0;
}

.journey__after {
    margin-top: clamp(2.5rem, 2rem + 1.6vw, 4rem);
    padding: 2rem 2.25rem;
    background: var(--sage-tint);
    border-left: 3px solid var(--sage);
}

.journey__after p { max-width: 74ch; }

.journey__after h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.journey__after p { margin: 0; color: var(--ink-muted); }

/* --------------------------------------------------------------------------
   Before / after
   -------------------------------------------------------------------------- */
.shift {
    background: var(--sage-tint);
    padding-block: var(--section-y);
}

.shift__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.shift__col {
    padding: 2.25rem 2.25rem 2.5rem;
    min-width: 0;
}

.shift__col h2,
.shift__col h3 {
    font-size: 1.1875rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid;
}

.shift__col ul { list-style: none; display: grid; gap: .85rem; }

.shift__col--before {
    background: var(--ivory);
    border: 1px solid var(--line);
}

.shift__col--before h2,
.shift__col--before h3 { color: var(--ink-muted); border-color: var(--line); }

.shift__col--before li {
    color: var(--ink-muted);
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.55;
}

.shift__col--before li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: .6rem;
    height: 1px;
    background: var(--ink-muted);
}

.shift__col--after {
    background: var(--teal);
    color: var(--ivory);
}

.shift__col--after h2,
.shift__col--after h3 { color: var(--white); border-color: rgba(247, 244, 236, .25); }

.shift__col--after li {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    line-height: 1.55;
}

.shift__col--after .icon {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: .28rem;
    color: var(--sage);
}

.shift__note {
    margin-top: 1.75rem;
    font-size: .875rem;
    color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   Founder (content pending)
   -------------------------------------------------------------------------- */
.founder {
    background: var(--ivory);
    padding-block: var(--section-y);
}

.founder__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    gap: clamp(2.5rem, 1.5rem + 3.5vw, 4.5rem);
    align-items: center;
}

.founder__body h2 {
    font-size: clamp(1.8rem, 1.35rem + 1.5vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.pending {
    background: var(--sage-tint);
    border: 1px dashed var(--sage);
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
}

.pending__label {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sage-deep);
    margin-bottom: .6rem;
}

.pending p { font-size: .9375rem; }

.pending__meta {
    margin: 0;
    font-size: .875rem;
    color: var(--ink-muted);
}

.founder__portrait {
    aspect-ratio: 5 / 6;
    background: var(--sage-tint);
    border: 1px dashed var(--sage);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--sage-deep);
    line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.pricing {
    background: var(--sage-tint);
    padding-block: var(--section-y);
}

.pricing__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    gap: clamp(2rem, 1.2rem + 2.6vw, 3.5rem);
    align-items: start;
}

.pricing__intro h3 {
    font-size: clamp(1.5rem, 1.2rem + 1vw, 1.95rem);
    margin-bottom: .9rem;
}

/* Guarantee sits beside the price rather than in its own strip further down */
.guarantee-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 1.75rem 1.75rem 1.85rem;
    background: var(--ivory);
    border: 1px solid var(--line);
}

.guarantee-card__badge {
    flex: 0 0 auto;
    width: 4.75rem;
    height: 4.75rem;
    border: 2px solid var(--sage);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 1.6rem;
    line-height: 1;
    color: var(--teal);
    margin: 0;
}

.guarantee-card__badge span {
    font-family: var(--font-body);
    font-size: .625rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--sage-deep);
    margin-top: .28rem;
}

.guarantee-card h4 {
    font-family: var(--font-head);
    font-size: 1.125rem;
    color: var(--teal);
    margin: 0 0 .5rem;
}

.guarantee-card p {
    font-size: .9375rem;
    color: var(--ink-muted);
    margin: 0;
}

.reassure {
    display: grid;
    gap: 1.1rem;
    margin: 0;
}

.reassure div { display: flex; gap: .75rem; align-items: baseline; }

.reassure dt {
    flex: 0 0 5.5rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sage-deep);
}

.reassure dd { margin: 0; font-size: .9375rem; color: var(--ink); }

/* Founder pull quote */
.pull-quote {
    margin: 0 0 1.5rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--sage);
}

.pull-quote p {
    font-family: var(--font-head);
    font-style: italic;
    font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem);
    line-height: 1.35;
    color: var(--teal);
    margin: 0;
}

.pricing__panel {
    background: var(--teal);
    color: var(--ivory);
    padding: clamp(2rem, 1.4rem + 2vw, 3rem);
}

.pricing__label {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sage-light);
    margin-bottom: 1rem;
}

.pricing__price {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.pricing__was {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: rgba(247, 244, 236, .6);
    text-decoration: line-through;
}

.pricing__now {
    font-family: var(--font-head);
    font-size: clamp(2.75rem, 2rem + 2.4vw, 3.75rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1;
}

.pricing__list {
    list-style: none;
    display: grid;
    gap: .8rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(247, 244, 236, .22);
}

.pricing__list li {
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    font-size: .9375rem;
    line-height: 1.5;
}

.pricing__list .icon {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: .25rem;
    color: var(--sage);
}

.pricing__cta {
    margin-top: 2rem;
    width: 100%;
}

.pricing__fine {
    margin: .9rem 0 0;
    text-align: center;
    font-size: .8125rem;
    color: rgba(247, 244, 236, .74);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq {
    background: var(--ivory);
    padding-block: var(--section-y);
    border-top: 1px solid var(--line);
}

.faq__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
    align-items: start;
}

.faq__head h2 {
    font-size: clamp(1.8rem, 1.35rem + 1.5vw, 2.4rem);
    line-height: 1.16;
    margin-bottom: .9rem;
}

.faq__head p { font-size: .9375rem; color: var(--ink-muted); }
.faq__head a { color: var(--sage-deep); font-weight: 600; }

.note-card {
    margin-top: 2rem;
    padding: 1.6rem 1.75rem 1.75rem;
    background: var(--sage-tint);
    border-left: 3px solid var(--sage);
}

.note-card h3 {
    font-size: 1.0625rem;
    margin-bottom: .6rem;
}

.note-card p:last-child { margin-bottom: 0; }

.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }

.faq__item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.35rem 0;
    font-family: var(--font-head);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--teal);
    line-height: 1.4;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
    content: "";
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    margin-top: .35rem;
    background:
        linear-gradient(var(--sage-deep), var(--sage-deep)) center / 14px 1.5px no-repeat,
        linear-gradient(var(--sage-deep), var(--sage-deep)) center / 1.5px 14px no-repeat;
    transition: transform .2s ease;
}

.faq__item[open] summary::after {
    background: linear-gradient(var(--sage-deep), var(--sage-deep)) center / 14px 1.5px no-repeat;
}

.faq__answer {
    padding-bottom: 1.5rem;
    max-width: 62ch;
}

.faq__answer p { font-size: .9375rem; color: var(--ink-muted); margin: 0; }

@media (hover: hover) and (pointer: fine) {
    .faq__item summary:hover { color: var(--sage-deep); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .types__grid,
    .modules__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .journey__track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; }
    .journey__track::before { display: none; }

    .faq__inner,
    .founder__inner { grid-template-columns: minmax(0, 1fr); }

    .founder__portrait { max-width: 22rem; }
}

@media (max-width: 860px) {
    .split__inner,
    .product__inner,
    .pricing__grid { grid-template-columns: minmax(0, 1fr); }

    .split__media img { aspect-ratio: 16 / 11; object-position: 50% 26%; }

    .product__media { padding-bottom: 0; padding-right: 0; }
    .product__cover { max-width: 20rem; }
    .product__inset { display: none; }

    .shift__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
    .types__grid,
    .modules__grid { grid-template-columns: minmax(0, 1fr); }

    .journey__track { grid-template-columns: minmax(0, 1fr); gap: 2rem; }

    .statement .accent { display: inline; }

    .cta-band__inner { flex-direction: column; align-items: flex-start; }
    .cta-band .btn { width: 100%; }

    .specs { grid-template-columns: minmax(0, 1fr); gap: 1rem; }

    .guarantee-card { flex-direction: column; gap: 1.1rem; padding-inline: 1.5rem; }

    .btn--square { width: 100%; }

    .type-card,
    .module,
    .shift__col { padding-inline: 1.5rem; }

    .journey__after { padding: 1.5rem 1.5rem; }
}
