/* ============================================================
   Trimoryn - Evergreen Editorial stylesheet
   Methodology: trm- BEM blocks, :root tokens, section-grouped
   cascade (no @layer), native nesting for pseudo/media only.
   Indent: 4 spaces.
   ============================================================ */

/* --- Tokens ------------------------------------------------- */
:root {
    --evergreen: #14543f;
    --evergreen-deep: #0e3d2e;
    --evergreen-soft: #2a6b54;
    --sage: #8aa996;
    --sage-tint: #e4ece6;
    --sage-line: #cfddd4;
    --clay: #bf6a52;
    --clay-deep: #a4543d;
    --clay-soft: #e7c3b6;
    --paper: #f8f5ef;
    --paper-deep: #f0ebe1;
    --card: #ffffff;
    --ink: #20302a;
    --ink-soft: #4c5b53;
    --ink-faint: #76837b;
    --line: #e3ddd0;
    --gold: #c79a3e;

    --wrap: 1180px;
    --wrap-narrow: 880px;
    --radius: 6px;
    --radius-lg: 14px;
    --shadow: 0 1px 2px rgba(20, 48, 36, .06), 0 12px 30px rgba(20, 48, 36, .07);
    --shadow-soft: 0 1px 2px rgba(20, 48, 36, .05), 0 6px 18px rgba(20, 48, 36, .05);

    --serif: "Faustina", Georgia, "Times New Roman", serif;
    --sans: "Anek Latin", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

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

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.0625rem;
    line-height: 1.68;
    font-weight: 380;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--evergreen); text-decoration-color: var(--sage-line); text-underline-offset: 3px; }
a:hover { color: var(--clay-deep); }

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.12;
    color: var(--evergreen-deep);
    margin: 0 0 .5em;
    letter-spacing: -.01em;
}

p { margin: 0 0 1.1em; }

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

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

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

/* --- Layout helpers ----------------------------------------- */
.trm-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.trm-wrap--narrow { max-width: var(--wrap-narrow); }

.trm-section { padding: 68px 0; }
.trm-section--tint { background: var(--sage-tint); }
.trm-section--deep { background: var(--evergreen-deep); color: #e9efe9; }
.trm-section--paper { background: var(--paper-deep); }

.trm-skip {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--evergreen-deep);
    color: #fff;
    padding: 10px 16px;
    z-index: 200;
    border-radius: 0 0 var(--radius) 0;
}
.trm-skip:focus { left: 0; }

/* Eyebrow / kicker label */
.trm-kicker {
    font-family: var(--sans);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--clay-deep);
    margin: 0 0 .9rem;
    display: inline-block;
}
.trm-kicker--sage { color: var(--evergreen-soft); }

.trm-numeral {
    font-family: var(--serif);
    font-size: 1rem;
    color: var(--clay);
    font-weight: 600;
    letter-spacing: .1em;
}

.trm-lead { font-size: 1.18rem; color: var(--ink-soft); line-height: 1.6; }

.trm-h-xl { font-size: clamp(2.1rem, 4.7vw, 3.35rem); }
.trm-h-l { font-size: clamp(1.7rem, 3.3vw, 2.45rem); }
.trm-h-m { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }

.trm-center { text-align: center; }
.trm-measure { max-width: 64ch; }
.trm-measure--mx { margin-left: auto; margin-right: auto; }

/* --- Top ribbon --------------------------------------------- */
.trm-ribbon {
    background: var(--evergreen-deep);
    color: #d9e6dd;
    font-size: .8rem;
    letter-spacing: .02em;
    text-align: center;
    padding: 7px 16px;
}
.trm-ribbon b { color: #fff; font-weight: 600; }

/* --- Header / nav ------------------------------------------- */
.trm-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(248, 245, 239, .94);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--line);
}
.trm-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 70px;
}
.trm-brand { display: flex; align-items: baseline; gap: 9px; text-decoration: none; line-height: 1; }
.trm-brand__co {
    font-family: var(--sans);
    font-size: .68rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-faint);
    font-weight: 600;
}
.trm-brand__name {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--evergreen-deep);
    letter-spacing: -.01em;
}
.trm-brand__name span { color: var(--clay); }

.trm-nav { display: flex; align-items: center; gap: 26px; }
.trm-nav__list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.trm-nav__link {
    font-size: .92rem;
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}
.trm-nav__link:hover { color: var(--evergreen); border-bottom-color: var(--clay); }
.trm-nav__link[aria-current="page"] { color: var(--evergreen-deep); border-bottom-color: var(--evergreen); }

.trm-toggle {
    display: none;
    width: 44px; height: 44px;
    border: 1px solid var(--sage-line);
    background: var(--card);
    border-radius: var(--radius);
    cursor: pointer;
    align-items: center; justify-content: center;
}
.trm-toggle span, .trm-toggle span::before, .trm-toggle span::after {
    content: "";
    display: block;
    width: 20px; height: 2px;
    background: var(--evergreen-deep);
    position: relative;
    transition: transform .2s ease;
}
.trm-toggle span::before { position: absolute; top: -6px; }
.trm-toggle span::after { position: absolute; top: 6px; }

/* --- Buttons ------------------------------------------------ */
.trm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    font-family: var(--sans);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    text-decoration: none;
    padding: 15px 26px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.trm-btn--primary { background: var(--evergreen); color: #fff; box-shadow: var(--shadow-soft); }
.trm-btn--primary:hover { background: var(--evergreen-deep); color: #fff; transform: translateY(-1px); }
.trm-btn--clay { background: var(--clay); color: #fff; }
.trm-btn--clay:hover { background: var(--clay-deep); color: #fff; transform: translateY(-1px); }
.trm-btn--ghost { background: transparent; color: var(--evergreen-deep); border-color: var(--sage-line); }
.trm-btn--ghost:hover { border-color: var(--evergreen); color: var(--evergreen-deep); }
.trm-btn--light { background: #fff; color: var(--evergreen-deep); }
.trm-btn--light:hover { background: var(--paper); color: var(--evergreen-deep); }
.trm-btn--block { width: 100%; }
.trm-btn__price { font-weight: 500; opacity: .9; font-size: .92em; }

/* --- Badges / pills ----------------------------------------- */
.trm-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.trm-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--evergreen-deep);
    background: var(--card);
    border: 1px solid var(--sage-line);
    padding: 7px 12px;
    border-radius: 999px;
}
.trm-badge::before { content: "✓"; color: var(--clay); font-weight: 700; }
.trm-badge--plain::before { content: none; }

/* --- Hero --------------------------------------------------- */
.trm-hero { padding: 56px 0 60px; }
.trm-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    align-items: center;
}
.trm-hero__title { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: .35em; }
.trm-hero__sub { font-size: 1.2rem; color: var(--ink-soft); margin-bottom: 1.3em; max-width: 46ch; }
.trm-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 1.3em; }
.trm-hero__portal {
    border-left: 3px solid var(--clay);
    padding: 4px 0 4px 16px;
    margin: 0 0 1.3em;
    font-size: .98rem;
    color: var(--ink-soft);
}
.trm-hero__media { position: relative; }
.trm-hero__figure {
    background: linear-gradient(160deg, #ffffff 0%, var(--sage-tint) 100%);
    border: 1px solid var(--sage-line);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow);
    position: relative;
}
.trm-hero__figure--feature { margin: 0; padding: 12px; background: var(--card); }
.trm-hero__img { margin: 0 auto; max-height: 420px; width: auto; }
.trm-hero__figure--feature .trm-hero__img { width: 100%; max-height: none; height: auto; border-radius: 10px; }
.trm-hero__stamp {
    position: absolute;
    top: -16px; right: -10px;
    background: var(--clay);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-align: center;
    border-radius: 999px;
    width: 92px; height: 92px;
    display: flex; align-items: center; justify-content: center;
    padding: 10px;
    line-height: 1.2;
    box-shadow: var(--shadow-soft);
    transform: rotate(7deg);
}

/* --- Product image fallback (single PNG composed via CSS) ---- */
.trm-bottle { display: block; }
.trm-pack {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 0;
    min-height: 150px;
}
.trm-pack .trm-bottle { filter: drop-shadow(0 8px 14px rgba(20,48,36,.16)); }
.trm-pack--3 .trm-bottle:nth-child(1) { transform: translateX(22px) scale(.9); z-index: 1; opacity: .96; }
.trm-pack--3 .trm-bottle:nth-child(2) { z-index: 3; }
.trm-pack--3 .trm-bottle:nth-child(3) { transform: translateX(-22px) scale(.9); z-index: 1; opacity: .96; }
.trm-pack--6 .trm-bottle { width: 33%; }
.trm-pack--6 .trm-bottle:nth-child(odd) { transform: translateY(8px) scale(.86); opacity: .9; }

/* --- Fact Box (Key Facts table) ----------------------------- */
.trm-factbox {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.trm-factbox__head {
    background: var(--evergreen-deep);
    color: #fff;
    padding: 14px 22px;
    font-family: var(--serif);
    font-size: 1.15rem;
}
.trm-factbox__table { width: 100%; border-collapse: collapse; }
.trm-factbox__table th, .trm-factbox__table td {
    text-align: left;
    padding: 12px 22px;
    border-bottom: 1px solid var(--line);
    font-size: .96rem;
    vertical-align: top;
}
.trm-factbox__table th {
    width: 42%;
    color: var(--ink-faint);
    font-weight: 600;
    font-family: var(--sans);
}
.trm-factbox__table td { color: var(--ink); font-weight: 500; }
.trm-factbox__table tr:last-child th, .trm-factbox__table tr:last-child td { border-bottom: 0; }

/* --- TL;DR / callout ---------------------------------------- */
.trm-tldr {
    background: var(--card);
    border: 1px solid var(--sage-line);
    border-left: 4px solid var(--evergreen);
    border-radius: var(--radius);
    padding: 22px 26px;
    box-shadow: var(--shadow-soft);
}
.trm-tldr__label {
    font-family: var(--sans);
    font-size: .76rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--clay-deep);
    font-weight: 700;
    margin-bottom: .5rem;
    display: block;
}
.trm-tldr p:last-child { margin-bottom: 0; }

/* --- Q&A microblocks ---------------------------------------- */
.trm-qa { border-top: 1px solid var(--line); padding: 26px 0; }
.trm-qa:last-child { border-bottom: 1px solid var(--line); }
.trm-qa__q { font-size: 1.3rem; margin-bottom: .4em; }
.trm-qa__a { color: var(--ink-soft); margin-bottom: 0; }
.trm-qa__a strong { color: var(--evergreen-deep); }

/* --- Pillars / formula cards -------------------------------- */
.trm-grid { display: grid; gap: 26px; }
.trm-grid--3 { grid-template-columns: repeat(3, 1fr); }
.trm-grid--2 { grid-template-columns: repeat(2, 1fr); }

.trm-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-soft);
}
.trm-card__num {
    font-family: var(--serif);
    font-size: 2.2rem;
    color: var(--clay-soft);
    line-height: 1;
    margin-bottom: .3em;
}
.trm-card h3 { font-size: 1.3rem; }
.trm-card__dose {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--line);
    font-size: .95rem;
}
.trm-card__dose:last-child { border-bottom: 0; }
.trm-card__dose b { font-family: var(--serif); color: var(--evergreen-deep); white-space: nowrap; }

/* --- Generic data table ------------------------------------- */
.trm-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.trm-table { width: 100%; border-collapse: collapse; background: var(--card); font-size: .96rem; }
.trm-table caption { text-align: left; padding: 14px 18px; color: var(--ink-faint); font-size: .85rem; }
.trm-table th, .trm-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.trm-table thead th { background: var(--sage-tint); color: var(--evergreen-deep); font-weight: 600; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.trm-table tbody tr:last-child th, .trm-table tbody tr:last-child td { border-bottom: 0; }
.trm-table td b { font-family: var(--serif); color: var(--evergreen-deep); }
.trm-table--mark td:first-child { font-weight: 600; color: var(--evergreen-deep); }

/* --- Verify / batch panel ----------------------------------- */
.trm-verify {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.trm-verify__item { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.trm-verify__item:nth-child(odd) { border-right: 1px solid var(--line); }
.trm-verify__k { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; margin-bottom: 4px; }
.trm-verify__v { font-family: var(--serif); font-size: 1.05rem; color: var(--evergreen-deep); }

/* --- Pricing ------------------------------------------------ */
.trm-price-head { text-align: center; margin-bottom: 14px; }
.trm-price-save {
    display: inline-block;
    background: var(--clay);
    color: #fff;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: .95rem;
    letter-spacing: .01em;
}
.trm-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.trm-plan {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
    position: relative;
}
.trm-plan--featured {
    border: 2px solid var(--evergreen);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
}
.trm-plan__tag {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--evergreen);
    color: #fff;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    white-space: nowrap;
}
.trm-plan__tag--clay { background: var(--clay); }
.trm-plan__name { font-family: var(--serif); font-size: 1.45rem; color: var(--evergreen-deep); margin-bottom: 2px; }
.trm-plan__supply { color: var(--ink-faint); font-size: .9rem; margin-bottom: 16px; }
.trm-plan__visual { min-height: 150px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.trm-plan__img { max-height: 158px; width: auto; margin: 0 auto; filter: drop-shadow(0 8px 14px rgba(20, 48, 36, .14)); }
.trm-plan__price { font-family: var(--serif); font-size: 3rem; color: var(--evergreen-deep); line-height: 1; }
.trm-plan__price sup { font-size: 1.3rem; top: -1.1em; }
.trm-plan__per { font-size: .9rem; color: var(--ink-faint); margin-bottom: 14px; }
.trm-plan__was { color: var(--ink-faint); text-decoration: line-through; margin-right: 8px; }
.trm-plan__total { font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.trm-plan__ship { font-size: .86rem; color: var(--evergreen-soft); margin-bottom: 18px; }
.trm-plan__ship b { color: var(--clay-deep); }
.trm-plan ul { list-style: none; padding: 0; margin: 0 0 20px; font-size: .9rem; }
.trm-plan li { padding-left: 22px; position: relative; margin-bottom: 7px; color: var(--ink-soft); }
.trm-plan li::before { content: "✓"; position: absolute; left: 0; color: var(--clay); font-weight: 700; }
.trm-plan .trm-btn { margin-top: auto; }
.trm-pay { display: flex; gap: 6px; justify-content: center; margin-top: 14px; opacity: .7; font-size: .72rem; color: var(--ink-faint); letter-spacing: .05em; }

/* --- Testimonials ------------------------------------------- */
.trm-quote {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}
.trm-quote__stars { color: var(--clay); letter-spacing: 2px; margin-bottom: 12px; font-size: .95rem; }
.trm-quote__body { font-size: 1.02rem; color: var(--ink); margin-bottom: 16px; }
.trm-quote__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.trm-quote__avatar {
    width: 42px; height: 42px;
    border-radius: 999px;
    background: var(--evergreen);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-weight: 600;
}
.trm-quote__name { font-weight: 600; font-size: .92rem; color: var(--evergreen-deep); }
.trm-quote__meta { font-size: .8rem; color: var(--ink-faint); }
.trm-quote__verified { color: var(--evergreen-soft); font-weight: 600; }

/* --- Rating / stats ----------------------------------------- */
.trm-rating-big { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.trm-rating-big__score { font-family: var(--serif); font-size: 3.6rem; color: var(--evergreen-deep); line-height: 1; }
.trm-rating-big__stars { color: var(--clay); font-size: 1.3rem; letter-spacing: 3px; }

.trm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trm-stat {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}
.trm-stat__n { font-family: var(--serif); font-size: 2rem; color: var(--evergreen-deep); line-height: 1; margin-bottom: 6px; }
.trm-stat__l { font-size: .82rem; color: var(--ink-faint); letter-spacing: .02em; }

/* --- Bars (criteria / themes) ------------------------------- */
.trm-bar { margin-bottom: 14px; }
.trm-bar__top { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: 5px; }
.trm-bar__label { color: var(--ink); }
.trm-bar__val { font-family: var(--serif); color: var(--evergreen-deep); font-weight: 600; }
.trm-bar__track { height: 9px; background: var(--paper-deep); border-radius: 999px; overflow: hidden; }
.trm-bar__fill { height: 100%; background: linear-gradient(90deg, var(--evergreen-soft), var(--evergreen)); border-radius: 999px; }
.trm-bar__fill--clay { background: linear-gradient(90deg, var(--clay-soft), var(--clay)); }

/* --- Takeaways ---------------------------------------------- */
.trm-takeaways {
    background: var(--sage-tint);
    border: 1px solid var(--sage-line);
    border-radius: var(--radius-lg);
    padding: 28px 30px;
}
.trm-takeaways ul { list-style: none; padding: 0; margin: 0; }
.trm-takeaways li { padding-left: 30px; position: relative; margin-bottom: 12px; }
.trm-takeaways li::before {
    content: "→";
    position: absolute; left: 0;
    color: var(--clay);
    font-weight: 700;
}
.trm-takeaways li:last-child { margin-bottom: 0; }

/* --- Breadcrumb --------------------------------------------- */
.trm-crumb { padding: 14px 0; font-size: .84rem; color: var(--ink-faint); border-bottom: 1px solid var(--line); background: var(--paper); }
.trm-crumb a { color: var(--ink-soft); text-decoration: none; }
.trm-crumb a:hover { color: var(--evergreen); }
.trm-crumb span { color: var(--clay); margin: 0 7px; }

/* --- Byline ------------------------------------------------- */
.trm-byline {
    font-size: .86rem;
    color: var(--ink-faint);
    border-left: 3px solid var(--sage-line);
    padding-left: 14px;
    margin: 0 0 26px;
}
.trm-byline b { color: var(--evergreen-deep); font-weight: 600; }

.trm-updated { font-size: .82rem; color: var(--ink-faint); font-style: italic; }

/* --- Glossary ----------------------------------------------- */
.trm-gloss dt { font-family: var(--serif); font-size: 1.08rem; color: var(--evergreen-deep); margin-top: 18px; }
.trm-gloss dd { margin: 4px 0 0; color: var(--ink-soft); }

/* --- Featured-in -------------------------------------------- */
.trm-featured { display: flex; flex-wrap: wrap; gap: 14px 38px; align-items: center; justify-content: center; }
.trm-featured span {
    font-family: var(--serif);
    font-size: 1.15rem;
    color: var(--ink-faint);
    letter-spacing: .02em;
    opacity: .85;
}

/* --- Timeline ----------------------------------------------- */
.trm-timeline { border-left: 2px solid var(--sage-line); padding-left: 26px; margin-left: 6px; }
.trm-timeline__item { position: relative; margin-bottom: 26px; }
.trm-timeline__item::before {
    content: "";
    position: absolute; left: -33px; top: 4px;
    width: 12px; height: 12px;
    background: var(--clay);
    border-radius: 999px;
    border: 3px solid var(--paper);
}
.trm-timeline__year { font-family: var(--serif); font-size: 1.15rem; color: var(--evergreen-deep); }

/* --- Commitments -------------------------------------------- */
.trm-commit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* --- CTA band ----------------------------------------------- */
.trm-ctaband { background: var(--evergreen-deep); color: #eaf1ea; text-align: center; padding: 64px 0; }
.trm-ctaband h2 { color: #fff; }
.trm-ctaband .trm-lead { color: #c7d6cb; }
.trm-ctaband .trm-badges { justify-content: center; }
.trm-ctaband .trm-badge { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #eaf1ea; }
.trm-ctaband .trm-badge::before { color: var(--clay-soft); }

/* --- Contact form ------------------------------------------- */
.trm-form { display: grid; gap: 16px; }
.trm-field label { display: block; font-size: .86rem; font-weight: 600; color: var(--evergreen-deep); margin-bottom: 5px; }
.trm-field input, .trm-field select, .trm-field textarea {
    width: 100%;
    font-family: var(--sans);
    font-size: 1rem;
    padding: 12px 14px;
    border: 1px solid var(--sage-line);
    border-radius: var(--radius);
    background: var(--card);
    color: var(--ink);
}
.trm-field textarea { min-height: 140px; resize: vertical; }
.trm-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* --- Footer ------------------------------------------------- */
.trm-footer { background: var(--evergreen-deep); color: #b9cabe; font-size: .9rem; padding: 56px 0 28px; }
.trm-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.trm-footer h4 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.trm-footer ul { list-style: none; padding: 0; margin: 0; }
.trm-footer li { margin-bottom: 9px; }
.trm-footer a { color: #b9cabe; text-decoration: none; }
.trm-footer a:hover { color: #fff; }
.trm-footer__brand .trm-brand__name { color: #fff; }
.trm-footer__brand .trm-brand__co { color: #8fa899; }
.trm-footer__co { line-height: 1.6; margin: 14px 0; max-width: 34ch; }
.trm-footer__disc { border-top: 1px solid rgba(255,255,255,.13); margin-top: 36px; padding-top: 22px; font-size: .8rem; color: #8fa899; line-height: 1.62; }
.trm-footer__disc p { margin-bottom: .8em; }
.trm-footer__legal { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; }

/* --- Utilities ---------------------------------------------- */
.trm-mt0 { margin-top: 0; }
.trm-mb0 { margin-bottom: 0; }
.trm-mt-l { margin-top: 38px; }
.trm-stack-lg > * + * { margin-top: 30px; }
.trm-pillarnote { font-size: .85rem; color: var(--ink-faint); }
.trm-hide { display: none; }

/* --- Responsive --------------------------------------------- */
@media (max-width: 920px) {
    .trm-hero__grid { grid-template-columns: 1fr; gap: 34px; }
    .trm-hero__media { order: -1; }
    .trm-footer__grid { grid-template-columns: 1fr 1fr; gap: 26px; }
    .trm-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    .trm-nav__list { display: none; }
    .trm-toggle { display: inline-flex; }
    .trm-nav { gap: 12px; }
    .trm-nav--open .trm-nav__list {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px; left: 0; right: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        padding: 16px 22px;
        gap: 4px;
        box-shadow: var(--shadow);
    }
    .trm-nav--open .trm-nav__link { padding: 10px 0; border-bottom: 1px solid var(--line); }
    .trm-grid--3, .trm-grid--2, .trm-commit { grid-template-columns: 1fr; }
    .trm-plans { grid-template-columns: 1fr; }
    .trm-plan--featured { transform: none; }
    .trm-section { padding: 48px 0; }
    .trm-verify { grid-template-columns: 1fr; }
    .trm-verify__item:nth-child(odd) { border-right: 0; }
    .trm-row2 { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
    .trm-stats { grid-template-columns: 1fr 1fr; }
    .trm-hero__stamp { width: 78px; height: 78px; font-size: .64rem; }
    .trm-footer__grid { grid-template-columns: 1fr; }
    .trm-nav__cta-text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto; transition: none !important; }
}
