/**
 * Recurrr homepage.
 *
 * Loaded only on the homepage, on top of custom.css (which supplies the
 * palette, the type families and the nav / footer). Everything here is
 * namespaced .hp-* so no other page can pick it up by accident.
 *
 * One recurring idea runs through the page: the terracotta ring from the logo.
 * It is the orbit behind the hero, the dot on a calendar day, and the sun that
 * closes the page. Things that come round again.
 */

/* ============================================
   TOKENS
   ============================================ */

.hp {
    --hp-card: #fffdf8;
    --hp-card-2: #faf8f1;
    --hp-line: #e2ddcd;
    --hp-line-soft: #ece8db;
    --hp-ink: var(--color-ink);
    --hp-text: var(--color-text-secondary);
    --hp-muted: var(--color-text-muted);
    --hp-accent: var(--color-accent);
    --hp-accent-ink: var(--color-accent-dark);
    --hp-accent-soft: rgba(var(--color-accent-rgb), 0.12);
    --hp-olive: #46523d;
    --hp-olive-soft: #e3e7d9;
    --hp-band: #f1eee4;
    --hp-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 40px 90px -30px rgba(58, 53, 39, 0.28), 0 10px 28px rgba(58, 53, 39, 0.06);
    --hp-shadow-sm: 0 1px 2px rgba(21, 23, 19, 0.04), 0 10px 26px -12px rgba(58, 53, 39, 0.16);
    --hp-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    display: block;
    overflow-x: clip;
}

[data-bs-theme='dark'] .hp {
    --hp-card: #151d1a;
    --hp-card-2: #121916;
    --hp-line: #27332d;
    --hp-line-soft: #1f2a25;
    --hp-ink: #eef0ea;
    --hp-text: #b4bbb0;
    --hp-muted: #7f887d;
    --hp-accent-ink: #eb9068;
    --hp-olive: #a9b998;
    --hp-olive-soft: #1f2b22;
    --hp-band: #111815;
    --hp-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 40px 90px -30px rgba(0, 0, 0, 0.7), 0 10px 28px rgba(0, 0, 0, 0.25);
    --hp-shadow-sm: 0 10px 26px -12px rgba(0, 0, 0, 0.5);
}

.hp-wrap {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

/* ============================================
   SHARED TYPE
   ============================================ */

.hp-h1,
.hp-h2 {
    font-family: var(--font-family-display);
    font-weight: 400;
    color: var(--hp-ink);
    text-wrap: balance;
}

.hp-h1 em,
.hp-h2 em {
    font-style: italic;
    color: var(--hp-accent);
}

.hp-h2 {
    font-size: clamp(2.15rem, 4.4vw, 3.6rem);
    line-height: 1.02;
    letter-spacing: -0.012em;
    margin: 0;
    max-width: 17ch;
}

.hp-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hp-accent-ink);
    margin-bottom: 1.25rem;
}

.hp-kicker::before {
    content: "";
    width: 1.75rem;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}

.hp-sub {
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--hp-text);
    max-width: 54ch;
    margin: 1.25rem 0 0;
}

.hp-section {
    padding: clamp(4.5rem, 9vw, 8rem) 0;
    position: relative;
}

.hp-head {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.hp-head-center {
    text-align: center;
}

.hp-head-center .hp-h2,
.hp-head-center .hp-sub {
    margin-inline: auto;
}

.hp-head-center .hp-kicker::after {
    content: "";
    width: 1.75rem;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}

.hp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--hp-accent-ink);
    text-decoration: none;
    border-bottom: 1px solid rgba(var(--color-accent-rgb), 0.35);
    padding-bottom: 0.1rem;
    transition: border-color 0.2s ease, gap 0.2s var(--hp-ease);
}

.hp-link:hover {
    color: var(--hp-accent-ink);
    border-bottom-color: currentColor;
    gap: 0.65rem;
}

/* The one filled button gets a little depth. custom.css strips button
   shadows with !important, hence the same here. */
.hp .hp-cta {
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset, 0 14px 28px -12px rgba(var(--color-accent-rgb), 0.75) !important;
}

.hp .hp-cta:hover {
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset, 0 18px 34px -12px rgba(var(--color-accent-rgb), 0.85) !important;
}

/* Scroll reveals: quicker and shorter than the site default, so a fast
   scroll never lands on a blank stretch. */
html.js .hp .reveal,
html.js .hp .reveal-stagger > * {
    transform: translateY(14px);
    transition-duration: 0.6s;
}

/* ============================================
   HERO
   ============================================ */

.hp-hero {
    position: relative;
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem);
    text-align: center;
    isolation: isolate;
}

.hp-hero-copy {
    position: relative;
    z-index: 1;
}

.hp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.95rem 0.4rem 0.7rem;
    border-radius: 999px;
    background: var(--hp-card);
    border: 1px solid var(--hp-line-soft);
    box-shadow: var(--hp-shadow-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--hp-text);
    margin-bottom: 2rem;
}

.hp-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hp-accent);
    box-shadow: 0 0 0 0 rgba(var(--color-accent-rgb), 0.5);
    animation: hp-pulse 2.8s ease-out infinite;
}

.hp-h1 {
    font-size: clamp(2.9rem, 7vw, 5.9rem);
    line-height: 0.97;
    letter-spacing: -0.02em;
    max-width: 11.2em;
    margin: 0 auto;
}

.hp-lead {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    line-height: 1.6;
    color: var(--hp-text);
    max-width: 34em;
    margin: 1.75rem auto 0;
    text-wrap: pretty;
}

.hp-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.75rem;
    margin-top: 2.5rem;
}

.hp-assurances {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1.5rem;
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    font-size: 0.875rem;
    color: var(--hp-muted);
}

.hp-assurances li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.hp-assurances li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--hp-accent);
    opacity: 0.7;
}

/* Load-in: the copy settles line by line, then the stage rises. */
html.js .hp-hero-copy > *,
html.js .hp-stage {
    animation: hp-rise 0.9s var(--hp-ease) both;
}

html.js .hp-hero-copy > :nth-child(2) { animation-delay: 0.06s; }
html.js .hp-hero-copy > :nth-child(3) { animation-delay: 0.14s; }
html.js .hp-hero-copy > :nth-child(4) { animation-delay: 0.22s; }
html.js .hp-hero-copy > :nth-child(5) { animation-delay: 0.28s; }
html.js .hp-stage { animation-delay: 0.36s; animation-duration: 1.1s; }

html.js .hp-orbits {
    animation: hp-fade 2.4s ease 0.3s both;
}

/* Orbits: the logo's ring, repeated outwards, with a few things going round. */
.hp-stage-wrap {
    position: relative;
    margin-top: clamp(3.5rem, 6.5vw, 5.5rem);
}

.hp-orbits {
    position: absolute;
    left: 50%;
    top: 0;
    width: 1400px;
    height: 1400px;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(circle at center, #000 22%, transparent 68%);
    mask-image: radial-gradient(circle at center, #000 22%, transparent 68%);
}

.hp-orbits > circle {
    stroke: rgba(var(--color-accent-rgb), 0.3);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.hp-orbit {
    transform-box: view-box;
    transform-origin: center;
    animation: hp-spin 90s linear infinite;
}

.hp-orbit-2 { animation-duration: 130s; animation-direction: reverse; }
.hp-orbit-3 { animation-duration: 170s; }
.hp-orbit-4 { animation-duration: 220s; animation-direction: reverse; }

.hp-orbit-dot {
    fill: var(--hp-accent);
}

.hp-orbit-ring {
    stroke: var(--hp-accent);
    stroke-width: 2;
    fill: var(--color-paper);
}

[data-bs-theme='dark'] .hp-orbit-ring {
    fill: var(--recurrr-dark-900);
}

.hp-stage-wrap::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: min(1100px, 100vw);
    height: 620px;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(var(--color-accent-rgb), 0.16), transparent);
    z-index: -1;
    pointer-events: none;
}

/* ---- The stage: a schedule, an email, this month ---- */

.hp-stage {
    position: relative;
    max-width: 1010px;
    margin-inline: auto;
    background: var(--hp-card);
    border: 1px solid var(--hp-line);
    border-radius: 22px;
    box-shadow: var(--hp-shadow);
    text-align: left;
    overflow: hidden;
}

.hp-when {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.15rem 1.6rem;
    border-bottom: 1px solid var(--hp-line-soft);
    min-height: 4.6rem;
}

.hp-when-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--hp-accent-soft);
    color: var(--hp-accent-ink);
    font-size: 1.125rem;
}

.hp-when-label {
    flex: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hp-muted);
}

.hp-when-text {
    font-family: var(--font-family-display);
    font-size: clamp(1.35rem, 2.6vw, 1.95rem);
    line-height: 1.1;
    color: var(--hp-ink);
    white-space: nowrap;
}

.hp-when-text::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-left: 3px;
    vertical-align: -0.12em;
    background: var(--hp-accent);
    animation: hp-blink 1.05s steps(1) infinite;
}

.hp-when-chips {
    display: grid;
    margin-left: auto;
    justify-items: end;
}

.hp-chipset,
.hp-nextset {
    grid-area: 1 / 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    visibility: hidden;
}

.hp-chipset.is-on,
.hp-nextset.is-on {
    visibility: visible;
}

.hp-chip,
.hp-next-chip {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(5px);
}

.hp-chip {
    background: var(--hp-olive-soft);
    color: var(--hp-olive);
}

.is-on > .hp-chip,
.is-on > .hp-next-chip {
    opacity: 1;
    transform: none;
    transition: opacity 0.4s var(--hp-ease), transform 0.4s var(--hp-ease);
}

.is-on > :nth-child(2) { transition-delay: 0.07s; }
.is-on > :nth-child(3) { transition-delay: 0.14s; }

/* While the schedule is being retyped, what it means is not known yet. */
.hp-stage.is-typing .hp-chip,
.hp-stage.is-typing .hp-next-chip {
    opacity: 0;
    transform: translateY(5px);
    transition-duration: 0.15s;
    transition-delay: 0s;
}

.hp-stage-body {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
}

/* Email */
.hp-mail {
    display: grid;
    grid-template-rows: 1fr auto;
    padding: 0.6rem 1.6rem 1.25rem;
}

.hp-mail-pane {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.hp-mail-pane.is-on {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s var(--hp-ease) 0.12s, transform 0.6s var(--hp-ease) 0.12s;
}

.hp-mail-row {
    display: grid;
    grid-template-columns: 5.25rem minmax(0, 1fr);
    align-items: baseline;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--hp-line-soft);
    font-size: 1rem;
    line-height: 1.55;
}

.hp-mail-row-body {
    border-bottom: 0;
    min-height: 6.4rem;
}

.hp-mail-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--hp-muted);
}

.hp-mail-to {
    justify-self: start;
    padding: 0.12rem 0.65rem;
    border-radius: 999px;
    background: var(--hp-band);
    border: 1px solid var(--hp-line-soft);
    font-size: 0.875rem;
    color: var(--hp-ink);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hp-mail-from {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--hp-text);
}

.hp-mail-from .ti {
    font-size: 1.125rem;
    color: var(--hp-accent);
}

.hp-mail-subject {
    font-weight: 600;
    color: var(--hp-ink);
}

.hp-mail-body {
    color: var(--hp-text);
}

.hp-mail-foot {
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--hp-line-soft);
    font-size: 0.8125rem;
    color: var(--hp-muted);
}

.hp-from {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hp-from .ti {
    font-size: 1rem;
}

.hp-status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 600;
    color: var(--hp-olive);
}

.hp-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #5f9a57;
    box-shadow: 0 0 0 0 rgba(95, 154, 87, 0.55);
    animation: hp-pulse-green 2.4s ease-out infinite;
}

/* Calendar */
.hp-cal {
    padding: 1.35rem 1.6rem 1.25rem;
    border-left: 1px solid var(--hp-line-soft);
    background: var(--hp-card-2);
}

.hp-cal-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.hp-cal-head strong {
    font-family: var(--font-family-display);
    font-weight: 400;
    font-size: 1.25rem;
    color: var(--hp-ink);
}

.hp-cal-legend {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--hp-muted);
}

.hp-cal-legend i {
    width: 8px;
    height: 8px;
    border-radius: 3px;
    margin-left: 0.45rem;
}

.hp-cal-legend .is-sent { background: var(--hp-olive); opacity: 0.55; }
.hp-cal-legend .is-next { background: var(--hp-accent); opacity: 0.45; }

.hp-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
}

.hp-cal-dow {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--hp-muted);
    padding-bottom: 0.2rem;
}

.hp-cal-day {
    display: grid;
    place-items: center;
    height: 2.3rem;
    border-radius: 9px;
    font-size: 0.8125rem;
    font-variant-numeric: tabular-nums;
    color: var(--hp-text);
    transition: background-color 0.35s ease, color 0.35s ease, transform 0.35s var(--hp-ease);
}

.hp-cal-day.is-past {
    color: var(--hp-muted);
}

.hp-cal-day.is-today {
    box-shadow: inset 0 0 0 1.5px var(--hp-ink);
    color: var(--hp-ink);
    font-weight: 600;
}

.hp-cal-day.is-hit {
    background: var(--hp-accent-soft);
    color: var(--hp-accent-ink);
    font-weight: 600;
    transition-delay: calc(var(--i) * 14ms);
    animation: hp-pop 0.5s var(--hp-ease) both;
    animation-delay: calc(var(--i) * 14ms);
}

/* Today's has gone out already, like the ones before it. */
.hp-cal-day.is-hit.is-past,
.hp-cal-day.is-hit.is-today {
    background: var(--hp-olive-soft);
    color: var(--hp-olive);
}

/* The very next send is the only solid one. */
.hp-cal-day.is-hit.is-next {
    background: var(--hp-accent);
    color: var(--color-on-accent);
    box-shadow: 0 6px 14px -6px rgba(var(--color-accent-rgb), 0.8);
}

.hp-cal-day.is-hit.is-today {
    box-shadow: inset 0 0 0 1.5px var(--hp-ink), inset 0 0 0 3px var(--hp-card-2);
}

.hp-next {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.7rem;
    margin-top: 1rem;
    padding-top: 0.95rem;
    border-top: 1px solid var(--hp-line-soft);
}

.hp-next-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--hp-muted);
}

.hp-next .hp-nextset {
    grid-area: 1 / 2;
    flex-wrap: nowrap;
    overflow: hidden;
}

.hp-next-chip {
    background: var(--hp-card);
    border: 1px solid var(--hp-line);
    color: var(--hp-ink);
    font-size: 0.75rem;
    padding: 0.22rem 0.6rem;
}

.hp-next-chip small {
    font-size: inherit;
    font-weight: 500;
    color: var(--hp-muted);
}

.hp-stage-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0 0.45em;
    padding: 0.95rem 1.6rem 1.05rem;
    border-top: 1px solid var(--hp-line-soft);
    font-family: var(--font-family-display);
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    line-height: 1.2;
    color: var(--hp-ink);
}

.hp-tally strong {
    display: inline-block;
    min-width: 1.9ch;
    text-align: right;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
    color: var(--hp-accent);
}

.hp-tally-once em {
    color: var(--hp-accent);
}

/* ============================================
   WORKS-WITH STRIP
   ============================================ */

.hp-logos {
    padding: 1rem 0 2rem;
    text-align: center;
}

.hp-logos-label {
    font-size: 0.875rem;
    color: var(--hp-muted);
    margin-bottom: 1.6rem;
}

.hp-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

.hp-marquee-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: hp-marquee-logos 60s linear infinite;
}

/* The provider logos are one-colour marks; ink them and let them sit back. */
.hp-marquee-track img {
    height: 40px;
    width: auto;
    filter: brightness(0);
    opacity: 0.5;
    transition: opacity 0.25s ease;
}

.hp-marquee-track img:hover {
    opacity: 0.85;
}

[data-bs-theme='dark'] .hp-marquee-track img {
    filter: brightness(0) invert(1);
    opacity: 0.55;
}

.hp-ph {
    display: inline-block;
    margin-top: 2rem;
    opacity: 0.6;
    filter: grayscale(1);
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.hp-ph:hover {
    opacity: 1;
    filter: none;
}

.hp-ph img {
    display: block;
    height: 44px;
    width: auto;
}

.hp-ph-dark,
[data-bs-theme='dark'] .hp-ph-light {
    display: none !important;
}

[data-bs-theme='dark'] .hp-ph-dark {
    display: block !important;
}

/* ============================================
   WHY: the wall of recurring emails
   ============================================ */

.hp-wall {
    display: grid;
    gap: 1rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.hp-wall-row {
    overflow: hidden;
    padding: 0.2rem 0;
}

.hp-wall-track {
    display: flex;
    gap: 0.85rem;
    width: max-content;
    animation: hp-marquee 140s linear infinite;
}

.hp-wall-row-2 .hp-wall-track {
    animation-duration: 170s;
    animation-direction: reverse;
}

.hp-wall-row-3 .hp-wall-track {
    animation-duration: 105s;
}

.hp-wall:hover .hp-wall-track {
    animation-play-state: paused;
}

.hp-note {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.75rem 0.7rem 1rem;
    border-radius: 14px;
    background: var(--hp-card);
    border: 1px solid var(--hp-line);
    box-shadow: var(--hp-shadow-sm);
    white-space: nowrap;
    font-size: 1rem;
    transition: transform 0.3s var(--hp-ease), border-color 0.3s ease;
}

.hp-note:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--color-accent-rgb), 0.5);
}

.hp-note > .ti {
    font-size: 1.125rem;
    color: var(--hp-accent);
}

.hp-note-subject {
    font-weight: 600;
    color: var(--hp-ink);
}

.hp-note-when {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: var(--hp-band);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--hp-text);
}

.hp-note-when .ti {
    font-size: 0.875rem;
    color: var(--hp-muted);
}

.hp-reasons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem 3rem;
    margin-top: clamp(3.5rem, 6vw, 5rem);
}

.hp-reason {
    padding-top: 1.4rem;
    border-top: 1px solid var(--hp-line);
}

.hp-reason-num {
    display: block;
    font-family: var(--font-family-display);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--hp-accent);
    margin-bottom: 0.75rem;
}

.hp-reason h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--hp-ink);
    margin-bottom: 0.6rem;
}

.hp-reason p {
    color: var(--hp-text);
    margin: 0;
    line-height: 1.65;
}

.hp-more {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    margin-top: 3.25rem;
    font-size: 1rem;
    color: var(--hp-muted);
}

/* ============================================
   HOW IT WORKS: three steps that play themselves
   ============================================ */

.hp-how {
    background: var(--hp-band);
    border-block: 1px solid var(--hp-line-soft);
}

.hp-tabs {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}

.hp-tablist {
    display: grid;
}

.hp-tab {
    position: relative;
    display: grid;
    grid-template-columns: 2.6rem minmax(0, 1fr);
    gap: 0.25rem;
    padding: 1.5rem 0 1.6rem;
    background: none;
    border: 0;
    text-align: left;
    color: inherit;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.35s ease;
}

.hp-tab:hover,
.hp-tab.is-on {
    opacity: 1;
}

.hp-tab:focus-visible {
    outline: 2px solid var(--hp-accent);
    outline-offset: 4px;
    border-radius: 6px;
}

.hp-tab-num {
    font-family: var(--font-family-display);
    font-style: italic;
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--hp-accent);
}

.hp-tab-copy strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--hp-ink);
    margin-bottom: 0.4rem;
}

.hp-tab-copy > span {
    display: block;
    color: var(--hp-text);
    line-height: 1.6;
}

.hp-tab-bar {
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: var(--hp-line);
    overflow: hidden;
}

.hp-tab-bar span {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--hp-accent);
    transform: scaleX(0);
    transform-origin: left;
}

.hp-tab.is-on .hp-tab-bar span {
    transform: scaleX(1);
}

/* While the steps are playing on their own, the bar is the timer. */
.hp-tabs.is-playing .hp-tab.is-on .hp-tab-bar span {
    animation: hp-fill var(--hp-step, 6s) linear both;
}

.hp-panels {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    position: sticky;
    top: 6.5rem;
}

.hp-panel {
    grid-area: 1 / 1;
    min-height: 27rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: var(--hp-card);
    border: 1px solid var(--hp-line);
    border-radius: 22px;
    box-shadow: var(--hp-shadow);
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}

.hp-panel.is-on {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s var(--hp-ease), transform 0.6s var(--hp-ease);
    pointer-events: auto;
}

.hp-panel-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem 0.9rem;
    font-family: var(--font-family-display);
    font-size: 1.5rem;
    line-height: 1.2;
    color: var(--hp-ink);
    margin-bottom: 1.4rem;
}

.hp-panel-title span {
    font-family: var(--font-family-base);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    background: var(--hp-accent-soft);
    color: var(--hp-accent-ink);
}

.hp-panel-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1.4rem 0 0;
    font-size: 0.875rem;
    color: var(--hp-muted);
}

/* 1: accounts */
.hp-account {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    padding: 0.95rem 1.1rem;
    border: 1px solid var(--hp-line-soft);
    border-radius: 14px;
    background: var(--hp-card-2);
}

.hp-account + .hp-account {
    margin-top: 0.6rem;
}

.hp-account-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 11px;
    background: var(--hp-band);
    font-size: 1.25rem;
    color: var(--hp-text);
}

.hp-account.is-connected .hp-account-icon {
    background: var(--hp-accent-soft);
    color: var(--hp-accent-ink);
}

.hp-account > span {
    display: grid;
    min-width: 0;
    line-height: 1.35;
}

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

.hp-account small {
    font-size: 0.8125rem;
    color: var(--hp-muted);
}

.hp-account em {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-style: normal;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    color: #4d8546;
}

.hp-account em.is-add {
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--hp-line);
    color: var(--hp-text);
    background: var(--hp-card);
}

.hp-account.is-connected {
    border-color: rgba(95, 154, 87, 0.4);
    background: var(--hp-card);
    box-shadow: var(--hp-shadow-sm);
}

/* 2: say when */
.hp-say-input {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.15rem;
    border-radius: 14px;
    border: 1.5px solid rgba(var(--color-accent-rgb), 0.55);
    background: var(--hp-card);
    box-shadow: 0 0 0 5px var(--hp-accent-soft);
    font-family: var(--font-family-display);
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    line-height: 1.2;
    color: var(--hp-ink);
}

.hp-say-input .ti {
    font-size: 1.25rem;
    color: var(--hp-accent);
}

.hp-say-parsed {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--hp-muted);
}

.hp-say-parsed b {
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: var(--hp-olive-soft);
    color: var(--hp-olive);
    font-weight: 600;
}

.hp-say-also {
    margin: 1.75rem 0 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--hp-muted);
}

.hp-say-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hp-say-list li {
    padding: 0.6rem 0.9rem;
    border-radius: 11px;
    border: 1px dashed var(--hp-line);
    font-family: var(--font-family-display);
    font-size: 1.125rem;
    line-height: 1.25;
    color: var(--hp-text);
}

/* 3: a year of it */
.hp-year-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.25rem;
    padding: 1.1rem 0.9rem 1.25rem;
    border-radius: 14px;
    background: var(--hp-card-2);
    border: 1px solid var(--hp-line-soft);
}

.hp-year-month {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 0.45rem;
}

.hp-year-month span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hp-muted);
    margin-bottom: 0.15rem;
}

.hp-year-month i {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 1.5px solid var(--hp-line);
}

.hp-year-month i.is-sent {
    border-color: var(--hp-accent);
    background: var(--hp-accent);
}

.hp-year-month i.is-next {
    border-color: var(--hp-accent);
    animation: hp-pulse 2.4s ease-out infinite;
}

.hp-year-month.is-now span {
    color: var(--hp-accent-ink);
}

.hp-panel.is-on .hp-year-month i.is-sent {
    animation: hp-pop 0.45s var(--hp-ease) both;
    animation-delay: calc(0.25s + var(--i) * 40ms);
}

.hp-year-log {
    display: grid;
    gap: 0.1rem;
    margin-top: 1.15rem;
}

.hp-year-log > div {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.2rem;
    border-bottom: 1px solid var(--hp-line-soft);
    font-weight: 600;
    color: var(--hp-ink);
}

.hp-year-log > div:last-child {
    border-bottom: 0;
}

.hp-year-log .ti {
    color: #5f9a57;
    font-size: 1.125rem;
}

.hp-year-log span {
    margin-left: auto;
    font-weight: 400;
    color: var(--hp-muted);
    font-size: 0.875rem;
}

.hp-year-log .is-next,
.hp-year-log .is-next .ti {
    color: var(--hp-accent-ink);
}

/* ============================================
   CASE STUDY
   ============================================ */

.hp-case {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    padding: clamp(2rem, 5.5vw, 4.75rem);
    border-radius: 28px;
    color: #f4f2ea;
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(185, 85, 48, 0.28), transparent 60%),
        linear-gradient(155deg, #14170f 0%, #232a1d 55%, #2f3826 100%);
    position: relative;
    overflow: hidden;
}

/* A slice of the ring, top right. */
.hp-case::after {
    content: "";
    position: absolute;
    right: -170px;
    top: -170px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(240, 160, 112, 0.28);
    box-shadow: 0 0 0 70px rgba(240, 160, 112, 0.035), 0 0 0 71px rgba(240, 160, 112, 0.16);
    pointer-events: none;
}

.hp-case > * {
    position: relative;
    z-index: 1;
}

.hp-case .hp-h2 {
    color: #fff;
    max-width: 14ch;
    margin-bottom: 1.5rem;
}

.hp-case .hp-h2 em,
.hp-kicker-light {
    color: #f0a480;
}

.hp-case p {
    color: rgba(244, 242, 234, 0.74);
    line-height: 1.7;
    max-width: 48ch;
}

.hp-checks {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: grid;
    gap: 0.5rem;
    color: #f4f2ea;
}

.hp-checks li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.hp-checks li::before {
    content: "";
    flex: none;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: rgba(240, 164, 128, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0a480' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.hp-math {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 0 2.25rem;
    margin: 0 0 2.25rem;
    padding: 1.4rem 0;
    border-block: 1px solid rgba(255, 255, 255, 0.12);
}

.hp-math > div + div {
    padding-left: 2.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hp-math dt {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(244, 242, 234, 0.55);
    margin-bottom: 0.3rem;
}

.hp-math dd {
    margin: 0;
    font-family: var(--font-family-display);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1;
    color: rgba(244, 242, 234, 0.8);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.hp-math small {
    font-family: var(--font-family-base);
    font-size: 0.8125rem;
    color: rgba(244, 242, 234, 0.5);
    margin-left: 0.15rem;
}

.hp-math .is-total dd {
    color: #f6b393;
}

/* Thread */
.hp-thread {
    background: #fffdf8;
    color: #151713;
    border-radius: 18px;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.65);
    overflow: hidden;
    transform: rotate(1.2deg);
}

.hp-thread-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid #ece8db;
    font-size: 1rem;
}

.hp-thread-bar .ti {
    color: #6b6e64;
}

.hp-thread-bar span {
    margin-left: auto;
    font-size: 0.8125rem;
    color: #6b6e64;
}

.hp-msg {
    display: grid;
    grid-template-columns: 2.1rem minmax(0, 1fr);
    gap: 0.8rem;
    padding: 0.95rem 1.2rem;
    border-bottom: 1px solid #ece8db;
}

.hp-msg:last-child {
    border-bottom: 0;
}

.hp-msg p {
    margin: 0.15rem 0 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #55594f;
    max-width: none;
}

.hp-msg-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.hp-msg-head time {
    font-size: 0.75rem;
    color: #6b6e64;
    white-space: nowrap;
}

.hp-avatar {
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background: #46523d;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.hp-avatar.a2 { background: #b95530; }
.hp-avatar.a3 { background: #7c8a9e; }
.hp-avatar.a4 { background: #b08d4a; }

.hp-msg-auto {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.6rem;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    background: rgba(185, 85, 48, 0.11);
    color: #a04a29;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Replies arrive one after the other once the thread scrolls into view. */
html.js .hp-thread .hp-msg:not(.is-first) {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s var(--hp-ease), transform 0.6s var(--hp-ease);
}

html.js .hp-thread.is-in .hp-msg {
    opacity: 1;
    transform: none;
}

html.js .hp-thread.is-in .hp-msg:nth-child(3) { transition-delay: 0.5s; }
html.js .hp-thread.is-in .hp-msg:nth-child(4) { transition-delay: 1.1s; }
html.js .hp-thread.is-in .hp-msg:nth-child(5) { transition-delay: 1.7s; }

/* ============================================
   PRIVACY
   ============================================ */

.hp-trust-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(2.5rem, 6vw, 5.5rem);
    align-items: center;
}

.hp-facts {
    list-style: none;
    padding: 0;
    margin: 2.5rem 0 0;
    display: grid;
    gap: 1.25rem;
}

.hp-facts li {
    display: grid;
    grid-template-columns: 2.6rem minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.hp-facts .ti {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 12px;
    background: var(--hp-olive-soft);
    color: var(--hp-olive);
    font-size: 1.25rem;
}

.hp-facts strong {
    display: block;
    font-weight: 600;
    color: var(--hp-ink);
}

.hp-facts span {
    color: var(--hp-text);
}

.hp-consent {
    position: relative;
    display: grid;
    place-items: center;
    padding: 2.5rem 0;
}

.hp-consent::before {
    content: "";
    position: absolute;
    width: min(30rem, 100%);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(var(--color-accent-rgb), 0.3);
    box-shadow: 0 0 0 3.5rem rgba(var(--color-accent-rgb), 0.04), 0 0 0 calc(3.5rem + 1px) rgba(var(--color-accent-rgb), 0.14);
}

.hp-consent-card {
    position: relative;
    width: min(25.5rem, 100%);
    padding: 1.75rem 1.75rem 1.4rem;
    background: var(--hp-card);
    border: 1px solid var(--hp-line);
    border-radius: 22px;
    box-shadow: var(--hp-shadow);
}

.hp-consent-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--hp-line-soft);
    font-size: 1.125rem;
    color: var(--hp-text);
}

.hp-consent-head strong {
    color: var(--hp-ink);
}

.hp-consent-mark {
    flex: none;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    border: 2px solid var(--hp-ink);
    position: relative;
}

/* The logo's ball, sitting on its orbit. */
.hp-consent-mark::after {
    content: "";
    position: absolute;
    top: -0.1rem;
    right: -0.1rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: var(--hp-accent);
}

.hp-consent-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hp-consent-card li {
    display: grid;
    grid-template-columns: 1.6rem minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--hp-line-soft);
}

.hp-consent-card li > .ti {
    display: grid;
    place-items: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    font-size: 1rem;
    margin-top: 0.1rem;
}

.hp-consent-card li span {
    display: grid;
    line-height: 1.4;
}

.hp-consent-card li strong {
    font-weight: 600;
    color: var(--hp-ink);
}

.hp-consent-card li small {
    font-size: 0.8125rem;
    color: var(--hp-muted);
}

.hp-consent-card .is-yes > .ti {
    background: #5f9a57;
    color: #fff;
}

.hp-consent-card .is-no > .ti {
    border: 1.5px solid var(--hp-line);
    color: var(--hp-muted);
}

.hp-consent-card .is-no strong {
    color: var(--hp-muted);
    text-decoration: line-through;
    text-decoration-color: rgba(var(--color-accent-rgb), 0.7);
    text-decoration-thickness: 1.5px;
}

.hp-consent-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.2rem;
    font-size: 0.8125rem;
    color: var(--hp-muted);
}

.hp-consent-allow {
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    background: var(--hp-ink);
    color: var(--hp-card);
    font-weight: 600;
    white-space: nowrap;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.hp-voices {
    background: var(--hp-band);
    border-block: 1px solid var(--hp-line-soft);
}

.hp-quotes {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.1rem;
}

.hp-quote {
    grid-column: span 5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.75rem;
    margin: 0;
    padding: 1.75rem;
    background: var(--hp-card);
    border: 1px solid var(--hp-line);
    border-radius: 20px;
    box-shadow: var(--hp-shadow-sm);
    transition: transform 0.35s var(--hp-ease), box-shadow 0.35s ease;
}

.hp-quote:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px -24px rgba(58, 53, 39, 0.3);
}

.hp-quote:nth-child(n + 4) {
    grid-column: span 6;
}

.hp-quote.is-lead {
    grid-column: span 7;
    grid-row: span 2;
    padding: clamp(1.75rem, 4vw, 3rem);
    position: relative;
}

.hp-quote.is-lead::before {
    content: "\201C";
    display: block;
    font-family: var(--font-family-display);
    font-size: 6rem;
    line-height: 0.6;
    height: 2.6rem;
    color: var(--hp-accent);
}

.hp-quote blockquote {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--hp-ink);
}

.hp-quote.is-lead blockquote {
    font-family: var(--font-family-display);
    font-size: clamp(1.6rem, 2.9vw, 2.35rem);
    line-height: 1.18;
    letter-spacing: -0.005em;
}

.hp-quote figcaption {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.hp-quote img {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    object-fit: cover;
    flex: none;
}

.hp-quote figcaption span {
    display: grid;
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--hp-muted);
}

.hp-quote figcaption strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--hp-ink);
}

/* ============================================
   A NOTE FROM THE MAKER
   ============================================ */

.hp-letter {
    position: relative;
    max-width: 42rem;
    margin-inline: auto;
    padding: clamp(2rem, 6vw, 4rem);
    background: var(--hp-card);
    border: 1px solid var(--hp-line);
    border-radius: 6px;
    box-shadow: var(--hp-shadow);
    font-family: var(--font-family-display);
    font-size: clamp(1.2rem, 2vw, 1.42rem);
    line-height: 1.5;
}

.hp-letter p {
    color: var(--hp-ink);
    margin-bottom: 1.1em;
}

.hp-letter a {
    color: var(--hp-accent-ink);
    text-decoration: underline;
    text-decoration-color: rgba(var(--color-accent-rgb), 0.4);
    text-underline-offset: 3px;
}

.hp-letter em {
    color: var(--hp-accent-ink);
}

.hp-letter-hi {
    font-size: 1.5em;
    line-height: 1.1;
    padding-right: 6rem;
}

.hp-letter-sign {
    display: grid;
    margin: 2rem 0 0 !important;
    font-style: italic;
    font-size: 1.45em;
    line-height: 1.2;
}

.hp-letter-sign span {
    font-family: var(--font-family-base);
    font-style: normal;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    color: var(--hp-muted);
    margin-top: 0.35rem;
}

/* Postmark */
.hp-letter-stamp {
    position: absolute;
    top: clamp(1.25rem, 4vw, 2.5rem);
    right: clamp(1.25rem, 4vw, 2.5rem);
    display: grid;
    place-items: center;
    width: 5.6rem;
    height: 5.6rem;
    border-radius: 50%;
    border: 1.5px solid var(--hp-accent);
    outline: 1px solid var(--hp-accent);
    outline-offset: 3px;
    color: var(--hp-accent);
    opacity: 0.75;
    transform: rotate(11deg);
    font-family: var(--font-family-base);
}

.hp-letter-stamp span {
    display: grid;
    justify-items: center;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    line-height: 1.25;
}

.hp-letter-stamp b {
    font-family: var(--font-family-display);
    font-weight: 400;
    font-size: 1.5rem;
    letter-spacing: 0;
    line-height: 1.05;
}

/* ============================================
   DUSK: pricing, and the end of the day
   ============================================ */

.hp-dusk-section {
    padding: 0 1.5rem;
}

.hp-dusk {
    position: relative;
    max-width: 1132px;
    margin-inline: auto;
    border-radius: 28px;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
    color: #f4f2ea;
    background: linear-gradient(180deg, #0c0e0a 0%, #141811 34%, #262519 58%, #4b3122 78%, #7d4429 100%);
}

/* At night the sky would melt into the page; a hairline keeps it an object. */
[data-bs-theme='dark'] .hp-dusk {
    outline: 1px solid #27332d;
    outline-offset: -1px;
}

.hp-dusk-copy {
    position: relative;
    z-index: 2;
    padding: clamp(3.5rem, 8vw, 6rem) 1.5rem 0;
}

.hp-dusk .hp-h2 {
    color: #fff;
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    max-width: none;
}

.hp-dusk .hp-h2 em {
    color: #f6b393;
}

.hp-dusk-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.38rem 0.95rem;
    border-radius: 999px;
    background: rgba(240, 164, 128, 0.14);
    border: 1px solid rgba(240, 164, 128, 0.35);
    color: #f6c4ab;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}

.hp-dusk-lead {
    max-width: 40em;
    margin: 1.4rem auto 0;
    font-size: 1.125rem;
    line-height: 1.65;
    color: rgba(244, 242, 234, 0.76);
}

.hp-dusk-lead strong {
    color: #fff;
}

.hp-dusk .hp-dusk-clock,
.hp-dusk-copy > p:not(.hp-dusk-lead) {
    margin-top: 1.75rem;
}

.hp-dusk-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.hp-land {
    display: block;
    width: 100%;
    height: clamp(260px, 30vw, 420px);
    margin-top: -1.5rem;
    position: relative;
    z-index: 1;
}

.hp-stars circle {
    fill: #fbe9dc;
    opacity: 0.8;
    animation: hp-twinkle 5s ease-in-out infinite;
}

.hp-stars circle:nth-child(2n) { animation-delay: 1.3s; }
.hp-stars circle:nth-child(3n) { animation-delay: 2.6s; animation-duration: 7s; }

.hp-sun-ring {
    fill: none;
    stroke: #e58450;
    stroke-width: 34;
}

.hp-sun-glow {
    transform-box: fill-box;
    transform-origin: center;
    animation: hp-breathe 9s ease-in-out infinite;
}

.hp-trail {
    fill: none;
    stroke: rgba(255, 255, 255, 0.16);
    stroke-width: 1.2;
    stroke-dasharray: 2 9;
    stroke-linecap: round;
}

.hp-plane path {
    fill: #f7f5ef;
}

/* ============================================
   KEYFRAMES
   ============================================ */

@keyframes hp-rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes hp-fade { from { opacity: 0; } }
@keyframes hp-spin { to { transform: rotate(360deg); } }
@keyframes hp-blink { 50% { opacity: 0; } }
@keyframes hp-marquee { to { transform: translateX(calc(-50% - 0.425rem)); } }
@keyframes hp-marquee-logos { to { transform: translateX(calc(-50% - 1.5rem)); } }
@keyframes hp-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hp-twinkle { 50% { opacity: 0.25; } }
@keyframes hp-breathe { 50% { transform: scale(1.08); opacity: 0.8; } }

@keyframes hp-pop {
    0% { transform: scale(0.6); }
    60% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

@keyframes hp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(var(--color-accent-rgb), 0.5); }
    70%, 100% { box-shadow: 0 0 0 9px rgba(var(--color-accent-rgb), 0); }
}

@keyframes hp-pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(95, 154, 87, 0.55); }
    70%, 100% { box-shadow: 0 0 0 8px rgba(95, 154, 87, 0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991.98px) {
    .hp-stage-body,
    .hp-tabs,
    .hp-case,
    .hp-trust-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hp-cal {
        border-left: 0;
        border-top: 1px solid var(--hp-line-soft);
    }

    .hp-when {
        flex-wrap: wrap;
        row-gap: 0.6rem;
    }

    .hp-when-chips {
        flex-basis: 100%;
        margin-left: 0;
        justify-items: start;
    }

    .hp-panels {
        position: static;
    }

    .hp-panel {
        min-height: 0;
    }

    .hp-reasons {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .hp-thread {
        transform: none;
    }

    .hp-quote,
    .hp-quote.is-lead,
    .hp-quote:nth-child(n + 4) {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .hp-consent {
        padding: 1rem 0;
    }
}

@media (max-width: 575.98px) {
    .hp-wrap {
        padding-inline: 1.1rem;
    }

    .hp-when,
    .hp-mail,
    .hp-cal,
    .hp-stage-foot {
        padding-inline: 1.1rem;
    }

    .hp-when-label {
        display: none;
    }

    .hp-mail-row {
        grid-template-columns: 4.4rem minmax(0, 1fr);
        font-size: 0.875rem;
    }

    .hp-mail-row-body {
        min-height: 7.6rem;
    }

    .hp-from {
        font-size: 0.75rem;
    }

    .hp-next .hp-nextset > :nth-child(3) {
        display: none;
    }

    .hp-actions .btn {
        width: 100%;
    }

    .hp-say-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .hp-year-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        row-gap: 1rem;
    }

    .hp-math {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }

    .hp-math > div + div {
        padding-left: 0;
        border-left: 0;
    }

    .hp-account em.is-add {
        display: none;
    }

    .hp-letter-hi {
        padding-right: 5rem;
    }

    .hp-letter-stamp {
        width: 4.6rem;
        height: 4.6rem;
    }

    .hp-dusk-section {
        padding: 0 0.6rem;
    }

    .hp-dusk-actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hp *,
    .hp *::before,
    .hp *::after {
        animation: none !important;
        transition: none !important;
    }

    .hp-marquee,
    .hp-wall-row {
        overflow-x: auto;
    }

    .hp-plane {
        display: none;
    }
}

/* ============================================
   SMALL-SCREEN FIT
   ============================================ */

.hp-account > span {
    flex: 1 1 0;
}

.hp-account strong,
.hp-account small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hp-account em {
    flex: none;
}

.hp-thread-bar > span,
.hp-msg-head time {
    flex: none;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .hp-eyebrow {
        font-size: 0.75rem;
    }

    .hp-account {
        gap: 0.7rem;
        padding-inline: 0.85rem;
    }
}

/* ============================================
   OTHER PAGES
   Pricing, the landing pages, examples and the blog borrow the homepage's
   hero, steps and closing scene. This is the skin for what sits in between,
   so their existing cards, tables and FAQs read as the same family.
   ============================================ */

.hp-hero-plain {
    padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.hp-hero .hp-price-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--hp-muted);
}

.hp-hero .hp-price-note + .hp-assurances {
    margin-top: 0.6rem;
}

.hp-hero .deal-clock {
    margin-top: 2rem;
    border-radius: 20px;
    background: linear-gradient(155deg, #14170f 0%, #232a1d 100%);
}

.hp-hero .deal-clock + .hp-assurances {
    margin-top: 1.75rem;
}

.hp-dusk-note {
    margin-top: 1.1rem;
    font-size: 0.875rem;
    color: rgba(244, 242, 234, 0.6);
}

.hp-dusk .hp-h2 {
    max-width: 20ch;
    margin-inline: auto;
}

/* Sections that kept their Bootstrap markup */
.hp-lp-section {
    padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.hp-page h2.display-6,
.hp-page h2.display-5 {
    font-family: var(--font-family-display);
    font-weight: 400 !important;
    font-size: clamp(2rem, 3.8vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.012em;
    color: var(--hp-ink);
    text-wrap: balance;
    max-width: 20ch;
    margin-inline: auto;
}

.hp-page .text-center > h2.display-6 + p {
    max-width: 38em;
    margin: 1rem auto 0;
    color: var(--hp-text);
}

.hp-page .card {
    background: var(--hp-card);
    border: 1px solid var(--hp-line);
    border-radius: 20px;
    box-shadow: var(--hp-shadow-sm) !important;
}

.hp-page .card h3 {
    font-size: 1.125rem;
    font-weight: 600 !important;
    color: var(--hp-ink);
}

.hp-page .card .text-muted {
    color: var(--hp-text) !important;
    line-height: 1.6;
}

.hp-page .row > [class*="col-"] > .card.h-100 {
    transition: transform 0.4s var(--hp-ease), box-shadow 0.4s var(--hp-ease), border-color 0.4s ease;
}

.hp-page .row > [class*="col-"] > .card.h-100:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--color-accent-rgb), 0.35);
    box-shadow: var(--hp-shadow) !important;
}

.hp-page .lp-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 13px;
    background: var(--hp-accent-soft);
    color: var(--hp-accent-ink);
    font-size: 1.25rem;
}

/* "In short": a note on paper, set in the serif. */
.hp-page .card:not(.lp-pivot) > .card-body > h2.h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600 !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hp-accent-ink);
    margin-bottom: 1.1rem !important;
}

.hp-page .card:not(.lp-pivot) > .card-body > h2.h3 .ti {
    font-size: 1rem;
}

.hp-page .card:not(.lp-pivot) > .card-body > .fs-4 {
    font-family: var(--font-family-display);
    font-size: clamp(1.3rem, 2.2vw, 1.6rem) !important;
    line-height: 1.4 !important;
    color: var(--hp-ink);
}

.hp-page .card:not(.lp-pivot) > .card-body > .fs-4 strong {
    font-weight: 400;
    font-style: italic;
    color: var(--hp-accent);
}

/* "The gap": the dark panel, with a slice of the ring. */
.hp-page .lp-pivot {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    color: #f4f2ea;
    background:
        radial-gradient(60% 90% at 100% 0%, rgba(185, 85, 48, 0.28), transparent 60%),
        linear-gradient(155deg, #14170f 0%, #232a1d 55%, #2f3826 100%);
}

.hp-page .lp-pivot::after {
    content: "";
    position: absolute;
    right: -150px;
    top: -150px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    border: 1px solid rgba(240, 160, 112, 0.28);
    box-shadow: 0 0 0 56px rgba(240, 160, 112, 0.035), 0 0 0 57px rgba(240, 160, 112, 0.16);
    pointer-events: none;
}

.hp-page .lp-pivot .card-body {
    position: relative;
    z-index: 1;
}

.hp-page .lp-pivot h2.h3 {
    display: block;
    font-family: var(--font-family-display);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 400 !important;
    letter-spacing: -0.01em;
    text-transform: none;
    line-height: 1.1;
    color: #fff;
}

.hp-page .lp-pivot p {
    font-family: inherit;
    font-size: 1.125rem !important;
    line-height: 1.7;
    color: rgba(244, 242, 234, 0.78);
    max-width: 44em;
}

.hp-page .lp-pivot .feature-badge {
    color: #f0a070;
}

/* Comparison table */
.hp-page .lp-table {
    --tblr-table-bg: transparent;
    margin: 0;
}

.hp-page .lp-table th,
.hp-page .lp-table td {
    padding: 1rem 1.4rem;
    border-color: var(--hp-line-soft);
    color: var(--hp-ink);
    background: transparent;
}

.hp-page .lp-table thead th {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hp-muted);
    background: var(--hp-card-2);
}

.hp-page .lp-table .col-recurrr {
    background: var(--hp-accent-soft);
}

.hp-page .lp-table thead .col-recurrr {
    color: var(--hp-accent-ink);
}

.hp-page .lp-table tbody tr:last-child td {
    border-bottom: 0;
}

.hp-page .lp-table .ti-check {
    color: var(--hp-accent);
}

.hp-page .lp-table td:not(.col-recurrr) .ti-check {
    color: var(--hp-olive);
}

.hp-page .lp-table .ti-x {
    color: var(--hp-muted);
    opacity: 0.6;
}

/* FAQs: native <details> on the landing pages, Bootstrap's accordion on pricing. */
.hp-page .landing-faq details.card {
    border-radius: 16px;
    margin-bottom: 0.6rem !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hp-page .landing-faq details.card:hover,
.hp-page .landing-faq details[open].card {
    border-color: rgba(var(--color-accent-rgb), 0.35);
}

.hp-page .landing-faq summary {
    padding: 1.15rem 1.4rem;
    font-size: 1.125rem;
    font-weight: 600 !important;
    color: var(--hp-ink);
}

.hp-page .landing-faq details .card-body.pt-0 {
    padding: 0 1.4rem 1.3rem;
    line-height: 1.7;
}

.hp-page .accordion {
    --tblr-accordion-bg: var(--hp-card);
    --tblr-accordion-active-bg: var(--hp-card);
    --tblr-accordion-border-color: var(--hp-line);
    display: grid;
    gap: 0.6rem;
}

.hp-page .accordion-item {
    background: var(--hp-card);
    border: 1px solid var(--hp-line) !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: var(--hp-shadow-sm);
}

.hp-page .accordion-button {
    padding: 1.15rem 1.4rem;
    background: var(--hp-card);
    color: var(--hp-ink);
    font-size: 1.125rem;
}

.hp-page .accordion-button:not(.collapsed) {
    background: var(--hp-card);
    color: var(--hp-ink);
    box-shadow: none;
}

.hp-page .accordion-body {
    padding: 0 1.4rem 1.3rem;
    color: var(--hp-text);
    line-height: 1.7;
}

.hp-faq-section {
    background: var(--hp-band);
    border-block: 1px solid var(--hp-line-soft);
}

/* Pricing plans */
.hp-plans {
    padding: clamp(3rem, 5vw, 4.5rem) 0 clamp(4rem, 8vw, 7rem);
}

.hp-page .plan-card {
    background: var(--hp-card);
    border: 1px solid var(--hp-line);
    border-radius: 24px;
    padding: 2.25rem 2rem 2rem;
    box-shadow: var(--hp-shadow-sm);
}

.hp-page .plan-card.is-featured {
    border: 0;
    color: #f4f2ea;
    background:
        radial-gradient(70% 55% at 100% 0%, rgba(185, 85, 48, 0.3), transparent 62%),
        linear-gradient(160deg, #14170f 0%, #232a1d 55%, #2f3826 100%);
    box-shadow: var(--hp-shadow);
}

@media (min-width: 992px) {
    .hp-page .plan-card.is-featured {
        margin-block: -1rem;
        height: calc(100% + 2rem);
        padding-block: 3.25rem 3rem;
    }
}

/* The ring again, behind the featured plan's price. */
.hp-page .plan-card.is-featured::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
    background:
        radial-gradient(circle at calc(100% + 30px) -30px, transparent 119px, rgba(240, 160, 112, 0.3) 120px, rgba(240, 160, 112, 0.05) 121px, rgba(240, 160, 112, 0.05) 175px, rgba(240, 160, 112, 0.2) 176px, transparent 177px);
    pointer-events: none;
}

.hp-page .plan-card > * {
    position: relative;
}

.hp-page .plan-card > .plan-ribbon {
    position: absolute;
}

.hp-page .plan-name {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hp-page .plan-price strong {
    font-family: var(--font-family-display);
    font-weight: 400;
    font-size: clamp(2.6rem, 4vw, 3.4rem);
    letter-spacing: -0.02em;
    line-height: 1;
}

.hp-page .plan-list li {
    padding-block: 0.5rem;
}

[data-bs-theme='dark'] .hp-page .plan-card:not(.is-featured) {
    background: var(--hp-card);
    border-color: var(--hp-line);
}

[data-bs-theme='dark'] .hp-page .plan-card.is-featured {
    box-shadow: 0 0 0 1px rgba(240, 160, 112, 0.25), var(--hp-shadow);
}

@media (max-width: 575.98px) {
    .hp-page .lp-table th,
    .hp-page .lp-table td {
        padding: 0.8rem 0.75rem;
        font-size: 0.875rem;
    }
}

/* Index pages (examples, blog): a quieter header than the hero. */
.hp-page-head {
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.hp-page-head .hp-h1,
.hp-h1.hp-h1-sm {
    font-size: clamp(2.4rem, 5.2vw, 4.25rem);
}

.hp-h1.hp-h1-sm {
    margin: 0 0 1rem;
    text-align: left;
    max-width: 20ch;
}

.hp-page-head .hp-lead {
    margin-inline: auto;
}

html.js .hp-page-head > * {
    animation: hp-rise 0.9s var(--hp-ease) both;
}

html.js .hp-page-head > :nth-child(2) { animation-delay: 0.06s; }
html.js .hp-page-head > :nth-child(3) { animation-delay: 0.14s; }

.hp-index .facet-badge {
    background: var(--hp-card);
    border: 1px solid var(--hp-line);
    border-radius: 999px;
    transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s var(--hp-ease);
}

.hp-index .facet-badge:hover {
    border-color: rgba(var(--color-accent-rgb), 0.5);
    color: var(--hp-accent-ink);
    transform: translateY(-1px);
}

.hp-index h2.h3 {
    font-family: var(--font-family-display);
    font-weight: 400 !important;
    font-size: 1.75rem;
    letter-spacing: -0.01em;
    color: var(--hp-ink);
}


/* Links that draw their own underline shouldn't get the browser's as well. */
.hp a.hp-link:hover,
.hp a.hp-ph:hover {
    text-decoration: none;
}

/* The founder, next to the signature. */
.hp-letter-by {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin-top: 2rem;
}

.hp-letter-by img {
    flex: none;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 3px var(--hp-card), 0 0 0 4px rgba(var(--color-accent-rgb), 0.55);
}

.hp-letter-by .hp-letter-sign {
    margin: 0 !important;
}

/* ============================================
   READING PAGES
   Articles, single examples, help and legal: the same paper, type and
   cards, with nothing moving. People are here to read.
   ============================================ */

.hp-title {
    font-family: var(--font-family-display);
    font-weight: 400;
    font-size: clamp(2.1rem, 4.4vw, 3.4rem);
    line-height: 1.06;
    letter-spacing: -0.014em;
    color: var(--hp-ink);
    text-wrap: balance;
    margin: 0 0 1.25rem;
}

.hp-read .hp-title + .lead,
.hp-read .hp-title + p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--hp-text) !important;
    max-width: 40em;
}

.hp-read .breadcrumb {
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
}

.hp-read .breadcrumb-item a {
    color: var(--hp-accent-ink);
}

.hp-read .breadcrumb-item a:hover {
    color: var(--hp-ink);
}

.hp-read .article-content {
    color: var(--hp-ink);
}

.hp-read .card .article-content h1,
.hp-read .card .article-content h2,
.hp-read .card .article-content h3,
.hp-read .card .legal-content h2,
.hp-read .card .legal-content h3 {
    font-family: var(--font-family-display);
    font-weight: 400 !important;
    letter-spacing: -0.01em;
    line-height: 1.15;
    color: var(--hp-ink);
}

.hp-read .card .article-content h2,
.hp-read .card .legal-content h2 {
    font-size: clamp(1.7rem, 2.8vw, 2.1rem);
    margin-top: 2.75rem;
}

.hp-read .card .article-content h3,
.hp-read .card .legal-content h3 {
    font-size: clamp(1.35rem, 2.2vw, 1.6rem);
    margin-top: 2.25rem;
}

.hp-read .card .article-content h4 {
    font-size: 1.125rem;
    font-weight: 600 !important;
    color: var(--hp-ink);
}

.hp-read .article-content > :first-child {
    margin-top: 0;
}

.hp-read .article-content a {
    color: var(--hp-accent-ink);
    text-decoration-color: rgba(var(--color-accent-rgb), 0.4);
    text-underline-offset: 3px;
}

.hp-read .article-content a:hover {
    color: var(--hp-accent-ink);
    text-decoration-color: currentColor;
}

.hp-read .article-content blockquote {
    border-left: 2px solid var(--hp-accent);
    font-family: var(--font-family-display);
    font-size: 1.25em;
    line-height: 1.45;
    color: var(--hp-ink);
}

.hp-read .article-content pre,
.hp-read .article-content code {
    background-color: var(--hp-band);
}

.hp-read .article-content th {
    background-color: var(--hp-card-2);
}

.hp-read .article-content th,
.hp-read .article-content td {
    border-color: var(--hp-line);
}

.hp-read .article-content img {
    border-radius: 14px;
    border: 1px solid var(--hp-line-soft);
}

.hp-read .card-body.bg-primary-lt {
    background: var(--hp-card-2) !important;
    border-radius: inherit;
}

.hp-read .card-header,
.hp-read .card-footer {
    border-color: var(--hp-line-soft);
}

/* "Use this example": the dark panel. */
.hp-read .hp-use .card-body {
    padding: clamp(1.75rem, 4vw, 2.5rem);
}

.hp-read .hp-use h2 {
    font-family: var(--font-family-display);
    font-weight: 400;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    letter-spacing: -0.01em;
}

/* Help index */
.hp-read .list-group-item {
    background: transparent;
    border-color: var(--hp-line) !important;
    color: var(--hp-ink);
    transition: padding 0.3s var(--hp-ease);
}

.hp-read .list-group-item:hover {
    background: transparent;
    padding-left: 0.5rem !important;
}

.hp-read a.list-group-item-action:hover .fw-medium {
    color: var(--hp-accent-ink);
}

.hp-read .list-group-item .fw-medium {
    font-size: 1.125rem;
    font-weight: 600 !important;
}

/* Example detail: keep the card header on one line on a phone. */
.hp-read .card-header > .fw-medium {
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .hp-read .card-header {
        gap: 0.5rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hp-read .card-header .btn {
        padding-left: 0.8rem;
        padding-right: 0.8rem;
        white-space: nowrap;
    }

    .hp-read .card-header .btn .ti {
        display: none;
    }
}

/* ------------------------------------------------------------------
   The brief: the short answer and the gap behind it, as one spread.
   ------------------------------------------------------------------ */
.hp-brief-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
    max-width: 1040px;
    margin-inline: auto;
    padding-top: clamp(1.75rem, 3.5vw, 2.75rem);
    border-top: 1px solid var(--hp-line);
}

.hp-brief .hp-kicker {
    margin: 0 0 1.25rem;
}

.hp-brief-say p {
    font-family: var(--font-family-display);
    font-size: clamp(1.6rem, 2.9vw, 2.25rem);
    line-height: 1.22;
    letter-spacing: -0.01em;
    color: var(--hp-ink);
    margin: 0;
    text-wrap: pretty;
}

.hp-brief-say p + p {
    margin-top: 1.1rem;
}

.hp-brief-say strong {
    font-weight: 400;
    font-style: italic;
    color: var(--hp-accent);
}

.hp-brief-more {
    padding-left: clamp(1.5rem, 3.5vw, 3rem);
    border-left: 1px solid var(--hp-line);
    /* Line the heading up with the first line of the answer. */
    margin-top: 2.6rem;
}

.hp-brief-title {
    font-family: inherit;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1.35;
    color: var(--hp-ink);
    margin: 0 0 0.7rem;
}

.hp-brief-more p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--hp-muted);
    margin: 0 0 1.25rem;
}

.hp-brief-more p strong {
    font-weight: 600;
    color: var(--hp-ink);
}

.hp-brief-more .hp-link {
    display: inline;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 899.98px) {
    .hp-brief-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.75rem;
    }

    .hp-brief-more {
        margin-top: 0;
        padding-left: 1.25rem;
    }
}

/* Comparison table: clip the tinted cells to the card's corners. */
.hp-page .card > .table-responsive {
    border-radius: inherit;
}

.hp-brief {
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hp-brief-more .hp-link {
    font-weight: 500;
}

/* Index pages: let each group of cards start on its own breath. */
.hp-index > .section.pb-0 {
    padding-bottom: clamp(1.5rem, 3vw, 2.5rem) !important;
}

.hp-index > .section.pt-4 {
    padding-top: clamp(2.5rem, 4.5vw, 4rem) !important;
    padding-bottom: 0 !important;
}

/* The last list on the page keeps its distance from the closing scene. */
.hp-index > .section.pt-4:has(+ .hp-dusk-section),
.hp-index > .section.pt-4:last-child {
    padding-bottom: clamp(4rem, 8vw, 7rem) !important;
}

.hp-index > .section.pt-4 > .container-xl > .d-flex.mb-3 {
    margin-bottom: 1.75rem !important;
}

.hp-index .example-card .card-body {
    padding: 1.5rem 1.5rem 1rem;
}

.hp-index .example-card .card-footer {
    padding: 0 1.5rem 1.5rem;
}

@media (max-width: 479.98px) {
    .hp-eyebrow {
        font-size: 0.6875rem;
        gap: 0.4rem;
        padding: 0.35rem 0.7rem 0.35rem 0.55rem;
        white-space: nowrap;
        letter-spacing: -0.005em;
    }
}

/* Generated article covers */
.hp-cover {
    display: block;
    width: 100%;
    height: 100%;
}

/* ============================================
   BRAND & PRESS PAGE (/brand)
   ============================================ */

.hp-brand .hp-actions .btn .ti {
    margin-right: 0.4rem;
}

.hp-brand-section {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.hp-brand-band {
    background: var(--hp-band);
}

.hp-brand-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.hp-brand-images {
    display: grid;
    gap: 1.25rem;
}

.hp-brand-tile {
    margin: 0;
    border: 1px solid var(--hp-line);
    border-radius: 16px;
    background: var(--hp-card);
    overflow: hidden;
}

.hp-brand-tile > img {
    display: block;
    width: 100%;
    height: auto;
}

.hp-brand-stage {
    display: grid;
    place-items: center;
    min-height: 13rem;
    padding: 2rem;
}

.hp-brand-stage img {
    max-width: 100%;
    height: auto;
}

/* The logo tiles keep their own ground in both themes: that is the point. */
.hp-brand-stage.is-paper { background: #f7f5ef; }
.hp-brand-stage.is-night { background: linear-gradient(180deg, #0c0e0a 0%, #141811 60%, #262519 100%); }

.hp-brand-tile figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.1rem;
    border-top: 1px solid var(--hp-line-soft);
    font-size: 0.9375rem;
    color: var(--hp-ink);
}

.hp-brand-tile figcaption strong {
    font-weight: 600;
}

.hp-brand-tile figcaption a {
    margin-left: 0.9rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--hp-accent-ink);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.hp-brand-tile figcaption a:hover {
    border-bottom-color: currentColor;
}

.hp-brand-rules {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 2rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--hp-text);
}

.hp-brand-rules .ti {
    margin-right: 0.5rem;
    color: var(--hp-olive);
}

.hp-brand-rules .ti-x {
    color: var(--hp-accent-ink);
}

.hp-brand-swatches {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}

.hp-brand-swatch {
    display: grid;
    gap: 0.15rem;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    color: var(--hp-ink);
    cursor: pointer;
}

.hp-brand-chip {
    display: block;
    height: 5.5rem;
    margin-bottom: 0.6rem;
    border-radius: 14px;
    border: 1px solid var(--color-line-control);
    background: var(--swatch);
    transition: transform 0.2s var(--hp-ease);
}

.hp-brand-swatch:hover .hp-brand-chip {
    transform: translateY(-2px);
}

.hp-brand-swatch:focus-visible {
    outline: 2px solid var(--color-focus);
    outline-offset: 4px;
    border-radius: 14px;
}

.hp-brand-swatch strong {
    font-weight: 600;
    font-size: 0.9375rem;
}

.hp-brand-swatch code {
    font-size: 0.8125rem;
    color: var(--hp-text);
    background: none;
    padding: 0;
}

.hp-brand-swatch small {
    font-size: 0.8125rem;
    color: var(--hp-muted);
}

.hp-brand-type {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--hp-line);
}

.hp-brand-serif {
    margin: 0;
    font-family: "Instrument Serif", Georgia, serif;
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    line-height: 1.05;
    letter-spacing: -0.012em;
    color: var(--hp-ink);
}

.hp-brand-serif em {
    color: var(--hp-accent);
}

.hp-brand-sans {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--hp-ink);
}

.hp-brand-type-note {
    margin: 0.9rem 0 0;
    font-size: 0.875rem;
    color: var(--hp-muted);
}

.hp-brand-type-note a {
    color: var(--hp-accent-ink);
}

.hp-brand-about {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
}

.hp-brand-copies {
    display: grid;
    gap: 1rem;
}

.hp-brand-copy {
    padding: 1.25rem 1.4rem 1.4rem;
    border: 1px solid var(--hp-line);
    border-radius: 16px;
    background: var(--hp-card);
}

.hp-brand-copy header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.6rem;
}

.hp-brand-copy header strong {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hp-muted);
}

.hp-brand-copy header button {
    padding: 0;
    border-width: 0 0 1px;
    background: none;
    font-size: 0.875rem;
}

.hp-brand-copy p {
    margin: 0;
    color: var(--hp-ink);
    line-height: 1.6;
}

.hp-brand-facts {
    margin: 0;
}

.hp-brand-facts > div {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--hp-line);
}

.hp-brand-facts > div:first-child {
    padding-top: 0;
}

.hp-brand-facts dt {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hp-muted);
}

.hp-brand-facts dd {
    margin: 0.2rem 0 0;
    color: var(--hp-ink);
}

.hp-brand-facts a {
    color: var(--hp-accent-ink);
}

@media (max-width: 991.98px) {
    .hp-brand-grid { grid-template-columns: 1fr; }
    .hp-brand-swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hp-brand-about { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 575.98px) {
    .hp-brand-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hp-brand-type,
    .hp-brand-rules { grid-template-columns: 1fr; }
}
