/* === Design system: colour tokens === */
:root {
    --tp-ironstone:       #0D1F25;
    --tp-teal:            #143C4A;
    --tp-teal-mid:        #1E5568;
    --tp-teal-light:      #D4E8EE;
    --tp-teal-xlight:     #EBF4F6;
    --tp-oxblood:         #6B1F2A;
    --tp-oxblood-mid:     #8C2937;
    --tp-oxblood-light:   #F4E0E3;
    --tp-limestone:       #EFEFE9;
    --tp-saltflat:        #E3E0DA;
    --tp-saltflat-deep:   #D4D0C8;
    --tp-charcoal:        #2C3A3E;
    --tp-charcoal-light:  #5A7278;
    --tp-white:           #FFFFFF;

    --surface-page:            var(--tp-limestone);
    --surface-band:            var(--tp-saltflat);
    --surface-card:            var(--tp-white);
    --surface-dark:            var(--tp-ironstone);
    --text-strong:             var(--tp-ironstone);
    --text-body:               var(--tp-charcoal);
    --text-muted:              var(--tp-charcoal-light);
    --text-on-dark:            var(--tp-white);
    --text-on-dark-muted:      rgba(255, 255, 255, 0.65);
    --text-accent:             var(--tp-teal);
    --text-emphasis:           var(--tp-oxblood);
    --border-subtle:           var(--tp-saltflat);
    --border-strong:           var(--tp-ironstone);
    --border-accent:           var(--tp-teal);
    --action-emphasis:         var(--tp-oxblood);
    --action-emphasis-hover:   var(--tp-oxblood-mid);
    --action-emphasis-text:    var(--tp-white);
    --focus-ring:              var(--tp-teal);
}

/* === Design system: typography tokens === */
:root {
    --font-display:     "Cal Sans", ui-sans-serif, system-ui, sans-serif;
    --font-body:        "Manrope", ui-sans-serif, system-ui, sans-serif;

    --weight-regular:   400;
    --weight-medium:    500;
    --weight-semibold:  600;
    --weight-bold:      700;

    --tracking-logo:    -0.03em;
    --tracking-heading: -0.01em;
    --tracking-button:   0.04em;
    --eyebrow-tracking:  0.14em;

    --leading-tight:    1.1;
    --leading-heading:  1.2;
    --leading-snug:     1.35;
    --leading-body:     1.6;

    --text-xs:   0.75rem;
    --text-sm:   0.875rem;
    --text-base: 1rem;
    --text-md:   1.0625rem;
    --text-lg:   1.25rem;
    --text-xl:   1.5rem;
    --text-2xl:  1.875rem;
    --text-3xl:  2.25rem;
    --text-5xl:  3.75rem;

    --eyebrow-size:   var(--text-xs);
    --eyebrow-weight: var(--weight-bold);
}

/* === Design system: spacing & shape tokens === */
:root {
    --space-1:  0.25rem;
    --space-2:  0.5rem;
    --space-3:  0.75rem;
    --space-4:  1rem;
    --space-5:  1.25rem;
    --space-6:  1.5rem;
    --space-8:  2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-28: 7rem;

    --radius-sm:   4px;
    --radius-md:   6px;
    --radius-lg:   8px;

    --border-width:        1px;
    --border-width-strong: 1.5px;

    --shadow-card: 0 1px 3px rgba(13, 31, 37, 0.05), 0 1px 2px rgba(13, 31, 37, 0.04);

    --container-max:    72rem;
    --nav-height:       64px;

    --ease-standard:    cubic-bezier(0.2, 0, 0.2, 1);
    --duration-fast:    0.12s;
    --duration-base:    0.15s;
}

/* === Reset === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--surface-page);
    color: var(--text-body);
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection {
    background: var(--tp-oxblood);
    color: #fff;
}

/* === Grain texture === */
.tp-grain {
    position: relative;
    --grain-color: 20, 60, 74;
}
.tp-grain > * { position: relative; z-index: 1; }
.tp-grain::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(circle, rgba(var(--grain-color), 0.07) 1px, transparent 1px),
        radial-gradient(circle, rgba(var(--grain-color), 0.05) 1px, transparent 1px),
        radial-gradient(circle, rgba(var(--grain-color), 0.06) 1px, transparent 1px),
        radial-gradient(circle, rgba(var(--grain-color), 0.04) 1px, transparent 1px);
    background-size: 4px 4px, 7px 7px, 11px 11px, 17px 17px;
    background-position: 0 0, 3px 2px, 5px 8px, 12px 4px;
}

/* === Wordmark === */
.tp-wordmark {
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    font-size: 36px;
    letter-spacing: var(--tracking-logo);
    line-height: 1;
    color: var(--text-strong);
    white-space: nowrap;
}
.tp-wordmark--light { color: var(--text-on-dark); }
.tp-wordmark--light .tp-wordmark__reg { color: var(--text-on-dark); }
.tp-wordmark__tool { color: var(--text-emphasis); }
.tp-wordmark__proof { color: var(--text-emphasis); }
.tp-wordmark__reg {
    color: var(--text-strong);
    font-size: 0.42em;
    vertical-align: super;
    letter-spacing: 0;
    font-family: var(--font-body);
    font-weight: var(--weight-semibold);
}

/* === Badge === */
.tp-badge {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: var(--weight-bold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    line-height: 1.4;
    vertical-align: middle;
}
.tp-badge--coming-soon {
    background: var(--tp-oxblood-light);
    color: var(--tp-oxblood);
}

/* === Eyebrow label === */
.tp-eyebrow {
    font-family: var(--font-display);
    font-size: var(--eyebrow-size);
    font-weight: var(--eyebrow-weight);
    letter-spacing: var(--eyebrow-tracking);
    text-transform: uppercase;
    display: inline-block;
}

/* === Buttons === */
.tp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: var(--weight-semibold);
    font-size: 15px;
    letter-spacing: var(--tracking-button);
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius-sm);
    padding: 11px 22px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition:
        background var(--duration-base) var(--ease-standard),
        border-color var(--duration-base) var(--ease-standard),
        color var(--duration-base) var(--ease-standard),
        transform var(--duration-fast) var(--ease-standard);
}
.tp-btn:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 3px;
}
.tp-btn--emphasis {
    background: var(--action-emphasis);
    color: var(--action-emphasis-text);
    border-color: var(--action-emphasis);
}
.tp-btn--emphasis:hover {
    background: var(--action-emphasis-hover);
    border-color: var(--action-emphasis-hover);
    transform: translateY(-1px);
}
.tp-btn--ghost {
    background: transparent;
    color: var(--text-on-dark);
    border-color: rgba(255, 255, 255, 0.3);
}
.tp-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.5);
}
.tp-btn--inactive {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

/* ============================================================
   Site nav
   Sticky limestone header; sits above and is excluded from
   the hero's min-height so nav + hero = 100svh on load.
============================================================ */
.tp-site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-height);
    background-color: var(--surface-page);
    border-bottom: var(--border-width) solid var(--border-subtle);
    box-shadow: 0 1px 8px rgba(13, 31, 37, 0.5);
    display: flex;
    align-items: center;
    padding-inline: var(--space-6);
}
.tp-nav-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--action-emphasis);
    z-index: 1;
}
.tp-site-nav__container {
    max-width: var(--container-max);
    width: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
}

/* Nav links — desktop */
.tp-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: var(--space-8);
}
.tp-nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    list-style: none;
}
.tp-nav__link {
    font-family: var(--font-display);
    font-size: var(--eyebrow-size);
    font-weight: var(--eyebrow-weight);
    letter-spacing: var(--eyebrow-tracking);
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-muted);
    transition: color var(--duration-base) var(--ease-standard);
}
.tp-nav__link:hover { color: var(--text-strong); }
.tp-nav__link:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 3px;
    border-radius: 2px;
}
.tp-nav__cta {
    font-size: 13px;
    padding: 8px 16px;
}

/* Sticky mobile CTA — hidden on desktop */
.tp-sticky-cta {
    display: none;
}

/* Hamburger button */
.tp-nav__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    margin-left: auto;
    padding: var(--space-2);
    background: none;
    border: none;
    cursor: pointer;
}
.tp-nav__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-strong);
    border-radius: 1px;
    transition:
        transform var(--duration-base) var(--ease-standard),
        opacity var(--duration-fast) var(--ease-standard);
}
.tp-site-nav--open .tp-nav__hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tp-site-nav--open .tp-nav__hamburger span:nth-child(2) { opacity: 0; }
.tp-site-nav--open .tp-nav__hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
============================================================ */
.tp-hero {
    background-color: var(--surface-dark);
    background-image:
        linear-gradient(to right, rgba(13, 31, 37, 0.92) 30%, rgba(13, 31, 37, 0.5) 60%, rgba(13, 31, 37, 0.15) 100%),
        url('assets/hero-14x9.webp');
    background-size: cover;
    background-position: right center;
    --grain-color: 255, 255, 255;
    min-height: calc(100svh - var(--nav-height));
    display: flex;
    align-items: center;
    padding: var(--space-20) var(--space-6);
}
.tp-hero__container {
    max-width: var(--container-max);
    width: 100%;
    margin-inline: auto;
}
.tp-hero__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    max-width: 52rem;
}
.tp-hero__eyebrow { color: var(--text-on-dark); }
.tp-hero__headline {
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    color: var(--text-on-dark);
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-heading);
}
.tp-hero__lead {
    font-size: var(--text-xl);
    color: var(--text-on-dark-muted);
    line-height: var(--leading-snug);
    max-width: 46ch;
}
.tp-hero__lead strong {
    color: var(--text-on-dark);
    font-weight: var(--weight-bold);
}
.tp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    padding-top: var(--space-4);
}

/* ============================================================
   The Problem section
   Alternates from the ironstone hero with limestone ground.
============================================================ */
.tp-problems {
    background-color: var(--surface-page);
    padding: var(--space-28) var(--space-6);
}
.tp-problems__container {
    max-width: var(--container-max);
    width: 100%;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
}
.tp-problems__header {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    max-width: 44rem;
}
.tp-problems__headline {
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    color: var(--text-strong);
    font-size: clamp(var(--text-xl), 3vw, var(--text-3xl));
    line-height: var(--leading-heading);
    letter-spacing: var(--tracking-heading);
}

.tp-problems__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.tp-problem-card {
    background-color: var(--surface-card);
    border: var(--border-width) solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-10);
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    box-shadow: var(--shadow-card);
}
.tp-problem-card__illustration {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
}
.tp-problem-card__rule {
    border: none;
    height: 2px;
    background-color: var(--tp-oxblood);
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 255, 255, 0.10) 1px, transparent 1px);
    background-size: 4px 2px, 7px 2px;
    background-position: 0 0, 3px 0;
}
.tp-problem-card__label--tools { color: var(--text-emphasis); }
.tp-problem-card__label--proof { color: var(--text-emphasis); }
.tp-problem-card__headline {
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    color: var(--text-strong);
    font-size: var(--text-xl);
    line-height: var(--leading-heading);
    letter-spacing: var(--tracking-heading);
}
.tp-problem-card__body {
    color: var(--text-body);
    font-size: var(--text-base);
    line-height: var(--leading-body);
}
.tp-problem-card__familiar {
    font-weight: var(--weight-bold);
    color: var(--text-strong);
    font-size: var(--text-base);
}
.tp-problem-card__list {
    list-style: disc;
    padding-left: var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.tp-problem-card__list li {
    color: var(--text-body);
    font-size: var(--text-base);
    line-height: var(--leading-snug);
}

/* ============================================================
   The Fix section
   Saltflat band alternates from the limestone problems section.
============================================================ */
.tp-fix {
    background-color: var(--surface-band);
    padding: var(--space-28) var(--space-6);
}
.tp-fix__container {
    max-width: var(--container-max);
    width: 100%;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
}
.tp-fix__header {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    max-width: 44rem;
}
.tp-fix__headline {
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    color: var(--text-strong);
    font-size: clamp(var(--text-xl), 3vw, var(--text-3xl));
    line-height: var(--leading-heading);
    letter-spacing: var(--tracking-heading);
}
.tp-fix__phases {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-12);
    align-items: start;
}
.tp-fix__phase {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}
.tp-fix__illustration {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
}
.tp-fix__phase-title {
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    color: var(--text-strong);
    font-size: var(--text-xl);
    line-height: var(--leading-heading);
    letter-spacing: var(--tracking-heading);
}
.tp-fix__phase-intro {
    color: var(--text-muted);
    font-size: var(--text-base);
    line-height: var(--leading-body);
}
.tp-fix__steps,
.tp-fix__loop {
    padding-left: var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}
.tp-fix__steps { list-style: disc; }
.tp-fix__loop  { list-style: decimal; }
.tp-fix__steps li,
.tp-fix__loop li {
    color: var(--text-body);
    font-size: var(--text-base);
    line-height: var(--leading-snug);
    padding-left: var(--space-1);
}
.tp-fix__callout {
    background-color: var(--tp-teal-xlight);
    border: var(--border-width) solid var(--tp-teal-light);
    border-left: 3px solid var(--border-accent);
    border-radius: var(--radius-md);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}
.tp-fix__callout-title {
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    color: var(--text-strong);
    font-size: var(--text-base);
}
.tp-fix__callout-list {
    list-style: disc;
    padding-left: var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.tp-fix__callout-list li {
    color: var(--text-body);
    font-size: var(--text-base);
    line-height: var(--leading-snug);
}

.tp-footer__acknowledgement {
    font-size: var(--text-xs);
    color: var(--text-on-dark-muted);
    line-height: var(--leading-body);
    max-width: 36rem;
    text-align: center;
    border-top: var(--border-width) solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-6);
    margin-top: var(--space-2);
}

/* ============================================================
   Why Toolproof section
============================================================ */
.tp-why {
    background-color: var(--surface-page);
    --grain-color: 20, 60, 74;
    padding: var(--space-28) var(--space-6);
}
.tp-why__container {
    max-width: var(--container-max);
    width: 100%;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
}
.tp-why__header {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    align-items: center;
    text-align: center;
}
.tp-why__headline {
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    color: var(--text-strong);
    font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-heading);
}
.tp-why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}
.tp-why-card {
    background-color: var(--surface-card);
    border: var(--border-width) solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-10);
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    box-shadow: var(--shadow-card);
}
.tp-why-card__icon-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--tp-teal-xlight);
    color: var(--tp-teal);
    font-size: 24px;
    flex-shrink: 0;
}
.tp-why-card__headline {
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    color: var(--text-strong);
    font-size: var(--text-lg);
    line-height: var(--leading-heading);
    letter-spacing: var(--tracking-heading);
}
.tp-why-card__body {
    color: var(--text-muted);
    font-size: var(--text-base);
    line-height: var(--leading-body);
}

/* ============================================================
   About / founder section
============================================================ */
.tp-about {
    background-color: var(--surface-page);
    padding: var(--space-28) var(--space-6);
}
.tp-about__container {
    max-width: var(--container-max);
    width: 100%;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
}
.tp-about__eyebrow { color: var(--text-accent); }
.tp-about__body {
    display: grid;
    grid-template-columns: 1fr 340px;
    grid-template-areas: "text image";
    gap: var(--space-16);
    align-items: start;
}
.tp-about__image-wrap {
    grid-area: image;
    align-self: start;
}
.tp-about__image {
    display: block;
    width: 340px;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 3px solid var(--tp-teal);
    box-shadow: 8px 8px 0 var(--tp-oxblood);
}
.tp-about__text {
    grid-area: text;
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}
.tp-about__headline {
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    color: var(--text-strong);
    font-size: clamp(var(--text-xl), 3vw, var(--text-2xl));
    line-height: var(--leading-heading);
    letter-spacing: var(--tracking-heading);
}
.tp-about__text p {
    color: var(--text-body);
    font-size: var(--text-base);
    line-height: var(--leading-body);
}

@media (max-width: 768px) {
    .tp-about__body {
        grid-template-columns: 1fr;
        grid-template-areas:
            "image"
            "text";
    }
    .tp-about__image {
        width: 260px;
        margin: 0 auto;
    }
}

/* ============================================================
   Closing CTA section
   Dark/grain bookend to the hero.
============================================================ */
.tp-closing {
    background-color: var(--surface-dark);
    --grain-color: 255, 255, 255;
    padding: var(--space-28) var(--space-6);
}
.tp-closing__container {
    max-width: var(--container-max);
    width: 100%;
    margin-inline: auto;
    display: flex;
    justify-content: center;
}
.tp-closing__content {
    max-width: 44rem;
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    text-align: center;
}
.tp-closing__headline {
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    color: var(--text-on-dark);
    font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
    line-height: var(--leading-heading);
    letter-spacing: var(--tracking-heading);
}
.tp-closing__body {
    color: var(--text-on-dark-muted);
    font-size: var(--text-lg);
    line-height: var(--leading-snug);
}
.tp-closing__options {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}
.tp-closing__options-intro {
    color: var(--text-on-dark);
    font-weight: var(--weight-semibold);
    font-size: var(--text-base);
}
.tp-closing__options-list {
    list-style: disc;
    padding-left: var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}
.tp-closing__options-list li {
    color: var(--text-on-dark-muted);
    font-size: var(--text-base);
    line-height: var(--leading-snug);
}
.tp-closing__options-list strong { color: var(--text-on-dark); }
.tp-closing__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-4);
    padding-top: var(--space-4);
}
.tp-btn-badge-wrap {
    position: relative;
    display: inline-flex;
}
.tp-badge--overlay {
    position: absolute;
    top: -11px;
    left: 10px;
    z-index: 1;
}
.tp-closing__note {
    color: var(--text-on-dark-muted);
    font-size: var(--text-sm);
    line-height: var(--leading-body);
}

/* === Footer === */
.tp-footer {
    background-color: var(--surface-dark);
    padding: var(--space-12) var(--space-6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
    font-size: var(--text-sm);
    color: var(--text-on-dark-muted);
}

/* ============================================================
   Privacy page
============================================================ */
.tp-privacy-hero {
    background-color: var(--surface-dark);
    --grain-color: 255, 255, 255;
    padding: var(--space-16) var(--space-6) var(--space-12);
}
.tp-privacy-hero__headline {
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    color: var(--text-on-dark);
    font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
    line-height: var(--leading-heading);
    letter-spacing: var(--tracking-heading);
    margin-top: var(--space-3);
}
.tp-privacy-hero__meta {
    color: var(--text-on-dark-muted);
    font-size: var(--text-sm);
    margin-top: var(--space-3);
}
.tp-privacy-body {
    padding: var(--space-16) var(--space-6);
}
.tp-prose-container {
    max-width: 44rem;
    margin-inline: auto;
    width: 100%;
}
.tp-prose {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    color: var(--text-body);
    font-size: var(--text-base);
    line-height: var(--leading-body);
}
.tp-prose h2 {
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    font-size: var(--text-lg);
    color: var(--text-strong);
    letter-spacing: var(--tracking-heading);
    margin-top: var(--space-4);
}
.tp-prose ul {
    list-style: disc;
    padding-left: var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}
.tp-prose a {
    color: var(--text-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.tp-prose a:hover { color: var(--tp-teal-mid); }
.tp-prose__cookie-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-accent);
    font-family: var(--font-body);
    font-size: inherit;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.tp-prose__cookie-btn:hover { color: var(--tp-teal-mid); }

/* === Footer cookie preferences button === */
.tp-footer__legal {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--text-on-dark-muted);
    font-size: var(--text-sm);
}
.tp-footer__legal-link {
    color: var(--text-on-dark-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.tp-footer__legal-link:hover { color: var(--text-on-dark); }
.tp-footer__legal-link:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 3px;
    border-radius: 2px;
}
.tp-footer__cookie-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-on-dark-muted);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.tp-footer__cookie-btn:hover { color: var(--text-on-dark); }
.tp-footer__cookie-btn:focus-visible {
    outline: 2px solid var(--focus-ring);
    outline-offset: 3px;
    border-radius: 2px;
}

/* === Cookie consent modal === */
.tp-consent-backdrop {
    position: fixed;
    inset: 0;
    z-index: 88;
    background: rgba(13, 31, 37, 0.55);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.25s var(--ease-standard);
}
.tp-consent-backdrop--visible { opacity: 1; }

.tp-consent {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 90;
    width: calc(100% - var(--space-8));
    max-width: 460px;
    background: var(--surface-page);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 64px rgba(13, 31, 37, 0.25), 0 4px 16px rgba(13, 31, 37, 0.12);
    opacity: 0;
    transform: translate(-50%, -48%);
    transition: opacity 0.25s var(--ease-standard), transform 0.25s var(--ease-standard);
}
.tp-consent--visible {
    opacity: 1;
    transform: translate(-50%, -50%);
}
.tp-consent__inner {
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}
.tp-consent__header {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}
.tp-consent__header .tp-wordmark {
    font-size: 22px;
}
.tp-consent__title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: var(--text-strong);
    letter-spacing: var(--tracking-heading);
}
.tp-consent__text {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: var(--leading-body);
}
.tp-consent__link {
    color: var(--text-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.tp-consent__link:hover { color: var(--tp-teal-mid); }
.tp-consent__actions {
    display: flex;
    gap: var(--space-3);
    justify-content: flex-end;
}
.tp-consent__decline {
    background: transparent;
    color: var(--text-body);
    border-color: var(--border-subtle);
}
.tp-consent__decline:hover {
    background: var(--surface-band);
    border-color: var(--tp-saltflat-deep);
}
.tp-consent__actions .tp-btn {
    font-size: 13px;
    padding: 9px 18px;
    width: auto;
}

/* === Smooth scroll === */
html { scroll-behavior: smooth; }

/* === Responsive === */
@media (max-width: 768px) {
    .tp-hero,
    .tp-problems,
    .tp-fix,
    .tp-why,
    .tp-about,
    .tp-closing {
        padding-block: var(--space-16);
    }

    .tp-hero {
        background-image:
            linear-gradient(rgba(13, 31, 37, 0.82), rgba(13, 31, 37, 0.82)),
            url('assets/hero-1x1.webp');
        background-position: center top;
    }

    .tp-problems__grid,
    .tp-fix__phases,
    .tp-why__grid {
        grid-template-columns: 1fr;
    }

    .tp-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-6);
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--surface-page);
        border-bottom: var(--border-width) solid var(--border-subtle);
        box-shadow: 0 4px 12px rgba(13, 31, 37, 0.08);
        padding: var(--space-6);
        margin-left: 0;
    }
    .tp-site-nav--open .tp-nav { display: flex; }
    .tp-nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
    }
    .tp-nav__link { font-size: var(--text-sm); }
    .tp-nav__cta {
        text-align: center;
        font-size: 15px;
        padding: 13px 22px;
    }
    .tp-nav__hamburger { display: flex; }

    .tp-sticky-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 80;
        background: var(--action-emphasis);
        color: var(--action-emphasis-text);
        font-family: var(--font-display);
        font-weight: var(--weight-semibold);
        font-size: 15px;
        letter-spacing: var(--tracking-button);
        text-transform: uppercase;
        text-decoration: none;
        padding: 16px 22px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        transform: translateY(100%);
        transition: transform var(--duration-base) var(--ease-standard);
    }
    .tp-sticky-cta--visible { transform: translateY(0); }

    .tp-footer {
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }
}
@media (max-width: 600px) {
    .tp-hero,
    .tp-problems,
    .tp-fix,
    .tp-why,
    .tp-about,
    .tp-closing {
        padding-block: var(--space-10);
    }

    .tp-hero,
    .tp-problems,
    .tp-fix,
    .tp-why,
    .tp-about,
    .tp-closing,
    .tp-site-nav {
        padding-inline: var(--space-5);
    }
    .tp-hero__actions {
        flex-direction: column;
    }
    .tp-hero__actions .tp-btn-badge-wrap {
        width: 100%;
    }
    .tp-wordmark { font-size: 26px; }
    .tp-hero__lead { font-size: var(--text-base); }

    .tp-consent__inner {
        padding: var(--space-6);
    }
    .tp-consent__actions {
        flex-direction: column;
    }
    .tp-consent__actions .tp-btn {
        width: 100%;
        justify-content: center;
    }
    .tp-btn {
        width: 100%;
        justify-content: center;
        padding: 13px 22px;
    }
    .tp-problem-card {
        padding: var(--space-8);
    }
    .tp-hero__eyebrow { display: none; }
}
