/* ============================================================
COMPONENTS — Hero section
All values reference tokens from tokens.css — no px / no
magic numbers.
============================================================ */

/* ================================================================
NAVIGATION (fixed)
================================================================ */

.nav {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: var(--z-overlay);
background: transparent;
backdrop-filter: blur(0.5rem);
border-bottom: 1px solid transparent;
transition: border-color var(--transition-base), background-color var(--transition-base);
}

.nav.nav_has-scrolled {
border-bottom-color: var(--border);
background-color: rgba(243, 239, 230, 0.92);
}

.nav-svg {
color: var(--color-cream);
transition: color var(--transition-base);
}

.nav.nav_has-scrolled .nav-svg {
color: var(--color-black);
}

.nav_buttons-wrapper {
display: flex;
align-items: center;
gap: var(--space-8);
}

.nav_inner {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-6);
padding: 1rem 0rem;
}

.nav_logo {
display: block;
text-decoration: none;
line-height: 0;
}

.nav_logo-img {
display: block;
height: 2rem;
width: auto;
}

.nav_links {
display: flex;
align-items: center;
gap: var(--space-8);
}

.nav_links a {
font-family: var(--font-sans);
font-size: var(--text-base);
font-weight: var(--weight-medium);
color: var(--color-black);
text-decoration: none;
transition: color var(--transition-fast);
}

.nav_links a:hover {
color: var(--color-gray-dark);
}

.nav_cta {
flex-shrink: 0;
background-color: var(--color-nav-cta-bg);
color: var(--color-black);
transition: background-color var(--transition-fast), color var(--transition-fast);
}

.nav_cta .btn_arrow-wrap .btn_arrow---light {
opacity: 0;
}

.nav_cta:hover .btn_arrow-wrap .btn_arrow---dark {
opacity: 0;
}

.nav_cta:hover .btn_arrow-wrap .btn_arrow---light {
opacity: 1;
}

.nav_cta:hover {
background-color: var(--color-gray-dark);
color: var(--color-gray-light);
}

.nav.is-past-hero .nav_cta,
.nav.nav_has-scrolled .nav_cta {
background-color: var(--color-purple-light);
color: var(--color-black);
}

.nav.is-past-hero .nav_cta:hover,
.nav.nav_has-scrolled .nav_cta:hover {
background-color: var(--color-purple-hover);
color: var(--color-black);
}

.nav.is-past-hero .nav_cta:hover .btn_arrow-wrap .btn_arrow---dark,
.nav.nav_has-scrolled .nav_cta:hover .btn_arrow-wrap .btn_arrow---dark {
opacity: 1;
}

.nav.is-past-hero .nav_cta:hover .btn_arrow-wrap .btn_arrow---light,
.nav.nav_has-scrolled .nav_cta:hover .btn_arrow-wrap .btn_arrow---light {
opacity: 0;
}

.nav_color-btn {
display: flex;
align-items: center;
justify-content: center;
width: 2.25rem;
height: 2.25rem;
border-radius: var(--radius-full);
border: 1px solid var(--border);
background: transparent;
color: var(--color-gray-dark);
cursor: pointer;
transition: all var(--transition-fast);
flex-shrink: 0;
}

.nav_color-btn:hover {
background: var(--color-gray-dark);
color: var(--color-cream);
border-color: var(--color-gray-dark);
}

.nav_color-btn:active {
transform: scale(0.92);
}

.nav_color-btn---undo {
opacity: 0.35;
pointer-events: none;
transition: all var(--transition-fast);
}

.nav_color-btn---undo:not([disabled]) {
opacity: 1;
pointer-events: auto;
}

.nav_color-btn---diff {
border-color: var(--color-green);
color: var(--color-green);
}

.nav_color-btn---diff:hover {
background: var(--color-green);
color: var(--color-black);
border-color: var(--color-green);
}

@media (max-width: 767px) {
.nav_inner {
flex-wrap: wrap;
padding: var(--space-3) 0;
}

.nav_links {
order: 3;
width: 100%;
gap: var(--space-4);
flex-wrap: wrap;
}

.nav_cta {
order: 2;
}
}


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

.section.hero {
display: flex;
align-content: center;
align-items: center;
position: relative;
background: var(--color-terracotta-light);
color: var(--color-cream);
padding-top: 4rem;
padding-bottom: 1rem;
min-height: 55rem;
}

.section.hero .hero_heading,
.section.hero .hero_sub,
.section.hero .cta_disclaimer.hero {
color: var(--color-cream);
}

@media (min-width: 1200px) and (min-height: 1200px) {
.hero_columns-wrap {
max-width: 45vw;
}

.hero_column-img {
max-height: 20rem;
}

.hero_chart-line {
transform: scale(0.38);
}
}

@media (min-width: 1200px) and (min-height: 1600px) {
.hero_columns-wrap {
max-width: 40vw;
min-height: 18rem;
}

.hero_columns {
min-height: 18rem;
}

.hero_column-img {
max-height: 16rem;
}

.hero_visual {
min-height: 18rem;
}

.hero_chart-line {
transform: scale(0.32);
}
}

@media (min-width: 1680px) {
.main-wrapper {
--mw-min-margin: 4rem;
}
}

/* Main content wrapper below hero */
.main-wrapper {
--mw-progress: 0;
--mw-min-margin: 0rem;
--mw-anim-margin: 1rem;
position: relative;
z-index: 3;
margin-top: -2rem;
margin-inline: calc(var(--mw-min-margin) + var(--mw-anim-margin) * (1 - var(--mw-progress)));
width: auto;
max-width: 100%;
background-color: var(--color-cream);
border-radius: 1.5rem 1.5rem 0 0;
overflow: hidden;
transition: margin-inline 0.2s ease, border-radius 0.2s ease;
}

/* ================================================================
TABLET — 991px → 768px
Shared layout + per-section tweaks
================================================================ */
@media (max-width: 991px) {

/* Global section padding / containers */
:root {
--section-padding-v: var(--space-16);
}

.section.stats,
.section.problem,
.section.howitworks,
.section.credibility,
.section.team {
padding-top: var(--space-16);
padding-bottom: var(--space-16);
}

.section.highlight {
padding: var(--space-16) 0;
}

.section.cta {
padding: var(--space-16) var(--space-4);
}

.highlight_container,
.credibility_container,
.team_container {
width: 100%;
max-width: calc(100% - 4rem);
}

/* Hero (tablet) */
.section.hero {
min-height: auto;
padding-top: 8rem;
padding-bottom: var(--space-16);
}

.hero_container {
display: flex !important;
flex-direction: column;
align-items: flex-start;
justify-content: flex-start;
}

.hero_content {
width: 100%;
}

/* .hero_visual {
position: relative;
margin-top: -4rem !important
height: auto !important;
width: 100%;
max-width: 100%;
bottom: auto;
right: auto;
} */

.hero_columns-wrap {
width: 75%;
padding: 0;
}

.hero_column {
flex: 1;
min-width: 0;
}

.hero_column-img {
width: 100%;
max-height: none;
}

.hero_columns {
min-height: auto;
}

.hero_chart-line {
left: 0;
bottom: 1rem;
width: 100%;
transform: scale(0.5);
transform-origin: bottom left;
}

.hero_correction---below {
display: none;
}

.hero_correction---inline {
display: block;
font-size: 3.5rem;
margin-top: 0.25rem;
margin-bottom: 0.25rem;
padding-left: 0;
}

/* Highlight (tablet) */
.highlight_content {
padding-bottom: var(--space-8);
}

.highlight_lead {
font-size: 3.2rem;
}

.highlight_pct {
font-size: 5.6rem;
}

.highlight_weekly {
font-size: 4rem;
}

/* Credibility (tablet) */
.credibility_grid {
gap: 1rem;
}

.credibility_grid .howitworks_card {
padding: 1.5rem;
}

/* Integrations (tablet) */
.section.integrations {
padding-inline: 0;
}

.integrations_card-wrap {
width: 100vw;
margin-left: calc(-50vw + 50%);
}

.integrations_logos {
gap: 1rem;
}

/* Team (tablet) */
.team_card {
grid-template-columns: 1fr;
gap: var(--space-6);
justify-items: center;
}

.team_card + .team_card {
margin-top: 0;
}

.team_card---text-right .team_card-content,
.team_card---text-right .team_card-photo-wrap {
order: unset;
}

.team_card-content {
order: 2;
padding: 0;
max-width: 100%;
width: 100%;
text-align: center;
align-items: center;
}

.team_card-photo-wrap {
order: 1;
padding: 1.5rem 0;
justify-content: center;
}

.team_card-links {
justify-content: center;
}

.team_list {
gap: var(--space-12);
}

.team_card-photo {
width: 18rem;
height: 18rem;
}

.team_card---text-left .team_card-photo-wrap::before,
.team_card---text-right .team_card-photo-wrap::before {
width: 18rem;
height: 18rem;
left: 50%;
transform: translateX(-50%) rotate(-2deg);
}

.team_card---text-right .team_card-photo-wrap::before {
transform: translateX(-50%) rotate(2deg);
}

.team_card-role {
font-size: 5.5rem;
}

.team_card-role---ceo {
right: auto;
left: 50%;
transform: translateX(-80%) rotate(-8deg);
}

.team_card-role---cto {
left: 50%;
transform: translateX(-20%) rotate(8deg);
}

/* CTA (tablet) */
.section.cta {
padding-inline: 0;
}

.cta_card {
width: 100vw;
margin-left: calc(-50vw + 50%);
}

}



.hero_container {
display: grid;
grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
align-items: center;
gap: var(--space-16);
position: relative;
}


@media (min-width: 1024px) and (max-height: 900px) {
.hero_container {
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
gap: var(--space-8);
align-items: end;
}

.hero_columns-wrap {
max-width: 56vw;
min-height: 22rem;
}

.hero_columns {
min-height: 22rem;
}

.hero_column-img {
max-height: 24rem;
}

.hero_chart-line {
left: 6rem;
bottom: 3rem;
transform: scale(0.48);
}
}

/* ── Left column ─────────────────────────────────────────── */
.hero_content {
display: flex;
flex-direction: column;
min-width: 0;
}

/* Backed-by badge */
.hero_backed {
margin-bottom: var(--space-8);
}

.hero_backed-img {
height: 1.125rem;
width: auto;
}

/* Headline wrap — relative anchor for correction text */
.hero_headline-wrap {
position: relative;
margin-bottom: var(--space-6);
}

/* Each line forced to stay on one row */
.hero_heading-line {
display: block;
white-space: nowrap;
}

/* "search for" span — anchors the strikethrough SVG */
.hero_strike {
position: relative;
display: inline;
}

/* Hero strikethrough SVG */
.hero_underline-svg {
position: absolute;
left: 0;
top: calc(50% + 0.5rem);
transform: translateY(-50%);
width: 100%;
height: 3.1875rem;
pointer-events: none;
}

/* "find & win more" green correction text */
.hero_correction {
font-family: var(--font-marker);
font-size: var(--text-marker);
color: var(--demo-green);
letter-spacing: var(--tracking-marker);
line-height: 1.05;
text-align: left;
transform: rotate(-0.5deg);
pointer-events: none;
user-select: none;
}

.hero_correction---below {
display: block;
margin-top: -0.5rem;
padding-left: 1rem;
}

.hero_correction---inline {
display: none;
}

.hero_highlight {
font-family: var(--font-marker);
color: #9fff6c;
}

/* Subheading — typography via .t-paragraph-18 */
.hero_sub {
max-width: 29.0625rem;
/* 465px */
padding-block: var(--space-4);
margin-bottom: var(--space-2);
}

/* CTA button group */
.hero_cta-wrap {
display: flex;
align-items: center;
gap: var(--space-2);
margin-top: var(--space-2);
}

/* ── Right column (product screenshot) ────────────────────── */
.hero_visual {
display: flex;
justify-content: flex-end;
align-items: flex-end;
position: relative;
width: 100%;
pointer-events: none;
z-index: 2;
min-width: 0;
}

.hero_product-img {
width: 100%;
/* transform: scale(1.1) !important; */
height: auto;
border-radius: 1rem;
animation: fadeUp 0.6s 0.5s ease both;
}

/* Wrapper for columns + border + arrow */
.hero_columns-wrap {
position: relative;
width: 100%;
max-width: 75vw;
min-height: 28rem;
padding: 0rem 1.5rem;
}

.hero_columns-wrap::after {
content: none;
}

@keyframes borderGrow {
to {
width: 100%;
}
}

.hero_chart-line {
position: absolute;
left: 8rem;
bottom: 4rem;
width: 90%;
height: auto;
transform: scale(0.55);
transform-origin: bottom left;
pointer-events: none;
z-index: var(--z-raised);
}

/* Stacked columns: flex to the right, overlap via negative margin */
.hero_columns {
display: flex;
justify-content: flex-end;
align-items: flex-end;
width: 100%;
min-height: 28rem;
}

.hero_column {
display: block;
line-height: 0;
}

.hero_column:nth-child(2) {
margin-left: -1.25rem;
}

.hero_column:nth-child(3) {
margin-left: -1.25rem;
}

.hero_column:nth-child(4) {
margin-left: -1rem;
}

.hero_column-img {
display: block;
height: auto;
max-height: 30rem;
width: auto;
}

.hero_ticker {
grid-column: 1 / -1;
margin-top: 1rem;
padding: 1rem 0;
border-top: 1px solid rgba(255, 255, 255, 0.12);
display: grid;
grid-template-columns: max-content minmax(0, 1fr);
align-items: center;
gap: 1.5rem;
margin-bottom: -2rem;
}

.hero_ticker-logos {
min-width: 0;
overflow: hidden;
position: relative;
}

.hero_ticker-logos::before,
.hero_ticker-logos::after {
content: "";
position: absolute;
top: 0;
bottom: 0;
width: 3.5rem;
pointer-events: none;
z-index: 1;
}

.hero_ticker-logos::before {
left: 0;
background: linear-gradient(to right, var(--color-terracotta-light) 0%, rgba(196, 111, 80, 0) 100%);
}

.hero_ticker-logos::after {
right: 0;
background: linear-gradient(to left, var(--color-terracotta-light) 0%, rgba(196, 111, 80, 0) 100%);
}

.hero_ticker-track {
display: flex;
align-items: center;
gap: 2rem;
white-space: nowrap;
min-width: max-content;
animation: heroTicker 28s linear infinite;
padding-top: 0;
}

.hero_ticker-label {
font-family: var(--font-sans);
font-size: 1rem;
font-weight: var(--weight-semibold);
color: rgba(249, 246, 239, 0.75);
padding-top: 0;
}

.hero_ticker-logo.smaller, .hero_ticker-logo.smaller  {
height: 1.5rem;
}

.hero_ticker-item {
display: inline-flex;
align-items: center;
gap: 0.5rem;
font-family: var(--font-serif);
font-size: 1.6rem;
line-height: 1;
color: rgba(249, 246, 239, 0.92);
}

.hero_ticker-dot {
width: 0.72rem;
height: 0.72rem;
border-radius: 50%;
background: rgba(249, 246, 239, 0.92);
display: inline-block;
}

.hero_ticker-logo {
height: 2.4rem;
width: auto;
opacity: 0.92;
display: block;
}

.hero_ticker-sep {
width: 1px;
height: 1.75rem;
background: rgba(249, 246, 239, 0.2);
display: inline-block;
}

@keyframes heroTicker {
from { transform: translateX(0); }
to { transform: translateX(-50%); }
}

@media (max-width: 991px) {
.hero_ticker {
margin-top: 0.75rem;
padding: 1rem 0;
padding-bottom: 0;
margin-bottom: -0.5rem;
grid-template-columns: 1fr;
gap: 0.5rem;
}

.hero_ticker-track {
gap: 2rem;
animation-duration: 22s;
}

.hero_ticker-label {
justify-self: center;
text-align: center;
}

.hero_ticker-logos {
margin-bottom: 1rem;
margin-top: 1rem;
}

.hero_ticker-item {
font-size: 1.25rem;
}

.hero_ticker-dot {
width: 0.65rem;
height: 0.65rem;
}

.hero_ticker-logo {
height: 1.875rem;

}
}

/* ================================================================
ANIMATIONS
================================================================ */

/* Entrance: fade up */
@keyframes fadeUp {
from {
opacity: 0;
transform: translateY(1.25rem);
}

to {
opacity: 1;
transform: translateY(0);
}
}

/* SVG draw-in: left → right */
@keyframes svgRevealLR {
from {
clip-path: inset(0 100% 0 0);
}

to {
clip-path: inset(0 0% 0 0);
}
}

/* SVG draw-in: bottom → top */
@keyframes svgRevealBL {
from {
clip-path: inset(100% 0 0 0);
}

to {
clip-path: inset(0% 0 0 0);
}
}

/* Staggered entrance timing */
.hero_backed {
animation: fadeUp 0.5s ease both;
}

.hero_headline-wrap {
animation: fadeUp 0.6s 0.1s ease both;
}

.hero_sub {
animation: fadeUp 0.6s 0.2s ease both;
}

.hero_cta-wrap,
.cta_button---hero {
animation: fadeUp 0.6s 0.3s ease both;
}

.hero_ticker {
animation: fadeUp 0.6s 0.4s ease both;
}

.hero_column:nth-child(1) { animation: fadeUp 0.6s 0.7s ease both; }
.hero_column:nth-child(2) { animation: fadeUp 0.6s 0.8s ease both; }
.hero_column:nth-child(3) { animation: fadeUp 0.6s 0.9s ease both; }
.hero_column:nth-child(4) { animation: fadeUp 0.6s 1s ease both; }

/* Strikethrough starts at 0.75s */
.hero_underline-svg {
animation: svgRevealLR 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.75s both;
}

/* Chart line + correction both start 0.5s into the strikethrough (0.75 + 0.5 = 1.25s) */
.hero_chart-line {
animation: svgRevealBL 1.1s cubic-bezier(0.4, 0, 0.2, 1) 1.25s both;
transform-origin: bottom left;
}

.hero_correction {
clip-path: inset(0 100% 0 0);
animation: drawReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1.25s forwards;
}

@keyframes drawReveal {
to {
clip-path: inset(0 0 0 0);
}
}

/* ── Scroll-triggered entry (reveal on viewport) ───────────── */
@keyframes revealUp {
from {
opacity: 0;
transform: translateY(1.25rem);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.reveal {
opacity: 0;
transform: translateY(1.25rem);
}

.reveal.is-inview {
animation: revealUp 0.6s var(--easing-slow) forwards;
}

.reveal.is-inview[data-delay="100"] { animation-delay: 0.1s; }
.reveal.is-inview[data-delay="150"] { animation-delay: 0.15s; }
.reveal.is-inview[data-delay="200"] { animation-delay: 0.2s; }
.reveal.is-inview[data-delay="300"] { animation-delay: 0.3s; }

.reveal_stagger .reveal_item {
opacity: 0;
transform: translateY(1.25rem);
}

.reveal_stagger.is-inview .reveal_item {
animation: revealUp 0.55s var(--easing-slow) forwards;
}

.reveal_stagger.is-inview .reveal_item:nth-child(1) { animation-delay: 0s; }
.reveal_stagger.is-inview .reveal_item:nth-child(2) { animation-delay: 0.06s; }
.reveal_stagger.is-inview .reveal_item:nth-child(3) { animation-delay: 0.12s; }
.reveal_stagger.is-inview .reveal_item:nth-child(4) { animation-delay: 0.18s; }
.reveal_stagger.is-inview .reveal_item:nth-child(5) { animation-delay: 0.24s; }
.reveal_stagger.is-inview .reveal_item:nth-child(6) { animation-delay: 0.3s; }
.reveal_stagger.is-inview .reveal_item:nth-child(7) { animation-delay: 0.36s; }
.reveal_stagger.is-inview .reveal_item:nth-child(8) { animation-delay: 0.42s; }

/* Opacity-only reveal (for elements that use transform, e.g. tilted cards) */
@keyframes revealFade {
from { opacity: 0; }
to { opacity: 1; }
}

.reveal_stagger.reveal_stagger---opacity .reveal_item {
opacity: 0;
}

.reveal_stagger.reveal_stagger---opacity.is-inview .reveal_item {
animation: revealFade 0.5s var(--easing-slow) forwards;
}


/* ================================================================
STATS SECTION
================================================================ */

.section.stats {
padding-top: 15rem;
padding-bottom: 15rem;
}

.stats_container {
display: flex;
gap: var(--space-8);
align-items: stretch;
}

/* ── Card shell ──────────────────────────────────────────── */
.stats_card {
flex: 1;
display: flex;
flex-direction: column;
border-radius: 0;
overflow: hidden;
min-width: 0;
aspect-ratio: 1 / 1;
}

/* ── Card header ─────────────────────────────────────────── */
.stats_card-header {
display: flex;
align-items: center;
padding: var(--space-6) var(--space-8);
min-height: 5.1875rem;
/* 83px */
}

.stats_card-header---yellow {
background-color: var(--color-yellow-light);
}

.stats_card-header---purple {
background-color: var(--color-purple-card);
}

.stats_card-header---terracotta {
background-color: var(--color-terracotta-dark);
}

/* Category label (DM Mono) */
.stats_label {
font-family: var(--font-mono);
font-size: 1rem;
/* 22px */
font-weight: 500;
letter-spacing: 0.055em;
line-height: var(--leading-tight);
color: var(--color-black);
}

/* ── Card body ───────────────────────────────────────────── */
.stats_card-body {
flex: 1;
display: flex;
flex-direction: column;
justify-content: flex-end;
gap: var(--space-3);
padding: var(--space-12) var(--space-6) var(--space-8);
}

.stats_card-body---yellow {
background-color: var(--color-yellow-body);
}

.stats_card-body---purple {
background-color: var(--color-purple-light);
}

.stats_card-body---terracotta {
background-color: var(--color-terracotta-light);
}

/* ── Stat row (number + symbol) ──────────────────────────── */
.stats_stat {
display: flex;
align-items: baseline;
line-height: 0.7;
letter-spacing: -0.04em;
color: var(--color-black);
}

.stats_number {
font-family: var(--font-serif);
font-size: 6rem;
/* 100px */
font-weight: var(--weight-regular);
font-style: normal;
}

/* The +, %, + symbols rendered in green marker font */
.stats_symbol {
font-family: var(--font-marker);
font-size: 8rem;
/* 150px */
color: var(--color-green);
letter-spacing: 0.02em;
}

/* ── Description — typography via .t-paragraph-16 ────────── */
.stats_desc {
max-width: 20ch;
}

/* ── Scroll-driven card animation (controlled by JS) ─────── */
.stats_card {
will-change: transform;
transition: transform 0.05s linear;
}

/* ================================================================
HIGHLIGHT SECTION — one-line stats + green annotations
================================================================ */

/* ================================================================
   SOLUTION SECTION
   ================================================================ */

.section.solution {
padding: 6rem 0rem;
position: relative;
width: 100%;
}

.solution_container {
width: 80rem;
max-width: calc(100vw - 4rem);
margin-inline: auto;
padding-inline: var(--space-6);
}


.solution_content {
max-width: 58.875rem;
margin-inline: auto;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
}

.solution_label {
font-family: var(--font-mono);
font-size: 1rem;
font-weight: 500;
letter-spacing: 0.04em;
line-height: 1.5;
color: var(--color-black);
}

.solution_heading {
font-family: var(--font-serif);
font-size: 4rem;
font-weight: var(--weight-regular);
line-height: 1.2;
letter-spacing: -0.02em;
color: var(--color-black);
margin-top: var(--space-3);
}

.solution_mark {
position: relative;
display: inline-block;
white-space: nowrap;
}

.solution_circle {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, calc(-50% - 0.5rem)) scale(1.25);
width: 130%;
height: auto;
pointer-events: none;
z-index: 1;
clip-path: inset(0 100% 0 0);
}

.solution_line {
position: absolute;
bottom: -0.15em;
left: -5%;
width: 110%;
height: auto;
pointer-events: none;
z-index: -1;
clip-path: inset(0 100% 0 0);
}

.solution_arrow {
position: absolute;
bottom: -0.6em;
right: -0.2em;
width: 70%;
height: auto;
pointer-events: none;
z-index: -1;
clip-path: inset(0 100% 0 0);
}

/* Animate SVGs when in view */
.solution_content.reveal.is-inview .solution_circle,
.ps-grid.reveal.is-inview .solution_circle {
animation: svgRevealLR 0.9s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.solution_content.reveal.is-inview .solution_line,
.ps-grid.reveal.is-inview .solution_line {
animation: svgRevealLR 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

.solution_content.reveal.is-inview .solution_arrow,
.ps-grid.reveal.is-inview .solution_arrow {
animation: svgRevealLR 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.7s both;
}

.solution_subheading {
font-family: var(--font-sans);
font-size: 1rem;
font-weight: 600;
line-height: 1.5;
color: var(--color-black);
max-width: 45ch;
margin-top: 4rem;
margin-bottom: 4rem;
}

@media (max-width: 991px) {
    .solution_subheading {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .solution_container {
        width: 100%;
        max-width: 100%;
        padding-inline: 0rem;
        }
}

.solution_city {
height: auto;
width: calc(100% - 4rem);
position: absolute;
bottom: 0;
left: 2rem;
right: 2rem;
z-index: 0;
opacity: 0.4;
display: none;
}

@media (max-width: 47.9375em) {
.section.solution {
padding: var(--space-12) var(--space-4);
}

.solution_heading {
font-size: 2rem;
}

.highlight_arrow {
position: static;
margin-top: var(--space-4);
margin-bottom: var(--space-4);
}
}

/* ================================================================
PROBLEM SECTION
================================================================ */

.section.problem {
padding-top: 7.5rem;
padding-bottom: 6rem;
}

.problem_content {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
gap: var(--space-4);
}

.problem_label {
font-family: var(--font-mono);
font-size: 1rem;
font-weight: 500;
letter-spacing: 0.04em;
line-height: 1.5;
color: var(--color-black);
}

.problem_heading {
font-family: var(--font-serif);
font-size: 4rem;
font-weight: var(--weight-regular);
font-style: normal;
line-height: 1.15;
letter-spacing: -0.02em;
color: var(--color-black);
max-width: 26ch;
}

/* ================================================================
HOW IT WORKS SECTION
================================================================ */

.section.howitworks {
padding-top: var(--space-20);
padding-bottom: var(--space-20);
}

/* ── Header (two-column: heading left, description right) ─────── */
.howitworks_header {
display: flex;
flex-direction: column;
gap: var(--space-4);
align-items: center;
text-align: center;
margin-bottom: var(--space-10);
}

.howitworks_header-left {
display: flex;
flex-direction: column;
gap: var(--space-3);
align-items: center;
}

.howitworks_label {
font-family: var(--font-mono);
font-size: var(--text-small);
font-weight: var(--weight-medium);
letter-spacing: 0.04em;
line-height: 1.5;
color: var(--color-black);
}

/* Typography via .t-heading-2 */


.howitworks_desc {
font-family: var(--font-sans);
font-size: var(--text-large);
font-weight: var(--weight-medium);
line-height: var(--leading-normal);
letter-spacing: var(--tracking-tight);
color: var(--color-gray-dark);
max-width: 50ch;
}

/* bp-small: 767px */
@media (max-width: 767px) {
.howitworks_header {
flex-direction: column;
align-items: center;
}

.howitworks_heading {
font-size: 2.5rem;
}
}

/* ── Card grid ──────────────────────────────────────────────── */
.howitworks_grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: var(--space-6);
align-items: stretch;
}

/* bp-small: 767px */
@media (max-width: 767px) {
.howitworks_grid {
grid-template-columns: 1fr;
}
}

/* ── Card ──────────────────────────────────────────────────── */
.howitworks_card {
background: var(--color-white);
border-radius: 1.125rem;
padding: var(--space-8);
display: flex;
flex-direction: column;
gap: var(--space-6);
}

.howitworks_icon {
width: 4rem;
height: 4rem;
flex-shrink: 0;
margin-bottom: 1rem;
}

.howitworks_card-title {
font-family: var(--font-serif);
font-size: 1.75rem;
font-weight: var(--weight-regular);
font-style: normal;
line-height: 1.15;
letter-spacing: -0.04em;
color: var(--color-black);
}

/* Typography via .t-paragraph-14 */

/* ================================================================
HOW IT WORKS — Showcase (auto-switching tabs + image)
================================================================ */

.hiw-showcase {
background: var(--color-gray-light);
border: 1px solid #cfcac1;
border-radius: 1.125rem;
display: grid;
grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
overflow: hidden;
position: relative;
min-height: 30rem;
height: 32rem;
z-index: 10;
}

.hiw-showcase-toggler {
display: none;
z-index: 10;
padding: 0.5rem 1rem;
align-items: center;
gap: 0.5rem;
margin-top: 1rem;
margin-inline: auto;
width: fit-content;
border-radius: 6.25rem;
border: 1px solid #CFCAC1;
background: #EBE6DB;
font-family: var(--font-sans);
font-size: 14px;
font-weight: var(--weight-medium);
color: var(--color-black);
cursor: pointer;
transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.hiw-showcase-toggler:hover {
border-color: var(--color-gray-dark);
background: var(--color-gray-light);
}

.hiw-showcase-toggler:focus-visible {
outline: 2px solid var(--color-terracotta-light);
outline-offset: 2px;
}

.hiw-showcase-tabs {
display: flex;
flex-direction: column;
gap: 2rem;
padding: 2rem;
justify-content: center;
}

.hiw-showcase-tab {
all: unset;
display: flex;
flex-direction: column;
gap: 0.25rem;
cursor: pointer;
opacity: 0.24;
transition: opacity 0.35s ease;
}

.hiw-showcase-tab.active {
opacity: 1;
}

.hiw-showcase-tab:focus-visible {
outline: 2px solid var(--color-terracotta-light);
outline-offset: 4px;
border-radius: 0.25rem;
}

.hiw-showcase-tab-header {
display: flex;
align-items: center;
gap: 0.5rem;
}

.hiw-showcase-progress {
flex-shrink: 0;
width: 1.375rem;
height: 1.375rem;
color: var(--color-terracotta-light);
transition: filter 0.2s ease, opacity 0.2s ease;
}

.hiw-showcase.autoplay-disabled .hiw-showcase-progress {
filter: grayscale(1);
opacity: 0.5;
}

.hiw-showcase.autoplay-disabled .hiw-showcase-tab.active .hiw-showcase-progress {
filter: grayscale(100%);
}

.hiw-showcase-progress-arc {
transition: none;
}

.hiw-showcase-tab:not(.active) .hiw-showcase-progress {
display: none;
}

.hiw-showcase-tab-title {
font-family: var(--font-serif);
font-size: 1.5rem;
font-weight: var(--weight-regular);
line-height: 1.15;
letter-spacing: -0.04em;
color: var(--color-black);
}

.hiw-showcase-tab.active .hiw-showcase-tab-title {
color: var(--color-terracotta-light);
}

.hiw-showcase-tab-desc {
font-family: var(--font-sans);
font-size: 1rem;
font-weight: var(--weight-medium);
line-height: 1.5;
letter-spacing: -0.02em;
color: var(--color-gray-dark);
max-width: 43ch;
}

.hiw-showcase-visual {
position: relative;
overflow: hidden;
/* border-top: 1px solid #cfcac1;
border-right: 0px solid #cfcac1;
border-bottom: 0px solid #cfcac1;
border-left: 1px solid #cfcac1; */
margin: 1rem 0 0 0;
/* border-top-left-radius: 0.75rem; */
}

.hiw-showcase-img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: top left;
opacity: 0;
transform: translateX(1.5rem);
transition: opacity 0.4s ease-out, transform 0.45s ease-out;
border-top: 1px solid #cfcac1;
border-right: 0px solid #cfcac1;
border-bottom: 0px solid #cfcac1;
border-left: 1px solid #cfcac1;
border-top-left-radius: 0.75rem;
}

.hiw-showcase-img.active {
opacity: 1;
transform: translateX(0);
}

/* Mobile: stack vertically */
@media (max-width: 767px) {
.hiw-showcase {
grid-template-columns: 1fr;
height: auto;
min-height: auto;
}

.hiw-showcase-tabs {
padding: 1.5rem;
gap: 1.5rem;
}

.hiw-showcase-tab-title {
font-size: 1.25rem;
}

.hiw-showcase-tab-desc {
max-width: 100%;
font-size: 0.875rem;
}

.hiw-showcase-visual {
border-left: none;
border-top: none;
margin: 0;
border-top-left-radius: 0;
min-height: 16rem;
}

.hiw-showcase-img,
.hiw-showcase-img.active {
border-top: none;
}

.hiw-showcase-img {
object-position: top left;
margin-left: 1rem;
width: calc(100% - 1rem);
}
}

/* ================================================================
HOW IT WORKS — Stacked boxes (tablet/mobile alternative)
================================================================ */

.hiw-boxes {
display: none;
flex-direction: column;
gap: 1.5rem;
}

@media (max-width: 991px) {
.hiw-showcase,
.hiw-showcase-toggler {
display: none !important;
}

.hiw-boxes {
display: flex;
}
}

.hiw-box {
background: var(--color-gray-light);
border: 1px solid #cfcac1;
border-radius: 1.125rem;
overflow: hidden;
}

.hiw-box-text {
padding: 2rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
}

.hiw-box-title {
font-family: var(--font-serif);
font-size: 1.5rem;
font-weight: var(--weight-regular);
line-height: 1.15;
letter-spacing: -0.04em;
color: var(--color-terracotta-light);
}

.hiw-box-desc {
font-family: var(--font-sans);
font-size: 1rem;
font-weight: var(--weight-medium);
line-height: 1.5;
letter-spacing: -0.02em;
color: var(--color-gray-dark);
max-width: 50ch;
}

.hiw-box-img-wrap {
overflow: hidden;
}

.hiw-box-img {
width: calc(100% - 2rem);
margin-left: 2rem;
height: auto;
display: block;
border-top: 1px solid #cfcac1;
border-left: 1px solid #cfcac1;
border-top-left-radius: 0.875rem;
}

@media (max-width: 767px) {
.hiw-box-text {
padding: 1.5rem;
}
.hiw-box-img {
width: calc(100% - 1.5rem);
margin-left: 1.5rem;
}
}

/* ================================================================
HOW IT WORKS — Product demo (tabbed) — from Figma breakdown
================================================================ */

.howitworks_demo-wrap {
margin-top: var(--space-16);
}

/* Demo tokens are defined in tokens.css */

.product-visual {
border-radius: 1rem;
overflow: hidden;
border: 1px solid var(--border);
background: var(--demo-toolbar-bg);
position: relative;
}

.product-visual-inner {
padding: 0.75rem 1rem 1rem 1rem;
position: relative;
}

.product-visual-toolbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
margin-bottom: 0.5rem;
padding: 0.35rem 0;
}

.demo-dots, .demo-dot-right {
display: flex;
gap: 0.3rem;
margin-right: 0.25rem;
}

.product-visual-toolbar .demo-dots span,
.product-visual-toolbar .demo-dot-right span {
width: 0.4375rem;
height: 0.4375rem;
border-radius: 50%;
background: rgba(0, 0, 0, 0.15);
cursor: default;
}

.demo-dot-right span {
width: 0.5rem;
height: 0.5rem;
background: rgba(0, 0, 0, 0.1);
}

.demo-status-bar {
display: none;
}

.demo-status-dot {
width: 0.3125rem;
height: 0.3125rem;
border-radius: 50%;
background: var(--demo-green-muted);
flex-shrink: 0;
}

.product-mockup {
background: transparent;
border-radius: 0;
min-height: auto;
padding: 0;
display: flex;
flex-direction: column;
gap: 0;
}

.product-visual-caption {
font-family: var(--font-sans);
text-align: center;
padding: 1rem 0;
font-size: 0.8rem;
color: var(--demo-gray);
font-style: italic;
}

/* ── Nav & Tabs ───────────────────────────────────────────────── */

.mock-nav {
display: none;
}

.mock-nav-left {
display: flex;
align-items: center;
gap: 0.75rem;
}

.mock-nav-logo {
display: flex;
align-items: center;
}

.mock-nav-logo img {
width: auto;
height: 1rem;
display: block;
opacity: 0.7;
}

.mock-nav-title {
font-family: var(--font-serif);
font-size: 1.375rem;
font-weight: var(--weight-regular);
color: var(--demo-black);
line-height: 1.2;
}

.mock-nav-right {
display: flex;
align-items: center;
gap: 0.75rem;
}

.mock-nav-actions {
display: flex;
gap: 0.35rem;
}

.mock-nav-btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.375rem 0.75rem;
border-radius: 0.375rem;
font-size: 0.75rem;
font-weight: var(--weight-medium);
cursor: default;
white-space: nowrap;
}

.mock-nav-btn--outline {
border: 1px solid #a4593e;
color: #a4593e;
background: transparent;
}

.mock-nav-btn--fill {
border: 1px solid #a4593e;
background: #a4593e;
color: white;
}

.mock-tabs {
display: flex;
gap: 0.25rem;
background: transparent;
flex: 1;
justify-content: center;
}

.mock-tab {
display: flex;
padding: 0.375rem 0.875rem;
justify-content: center;
align-items: center;
color: var(--demo-gray);
font-family: "Switzer Variable", var(--font-sans);
font-size: 0.8125rem;
font-weight: 500;
line-height: 1;
letter-spacing: -0.01em;
cursor: pointer;
transition: all 0.2s ease;
user-select: none;
border-radius: 100vw;
background: transparent;
border: 1px solid var(--border);
}

.mock-tab:hover {
color: var(--demo-charcoal);
}

.mock-tab.active {
border-color: var(--border);
background: var(--demo-white);
color: var(--demo-black);
}

/* ── Tab Content ──────────────────────────────────────────────── */

.mock-tab-viewport {
position: relative;
overflow: hidden;
}

.mock-tab-content {
display: none;
border-radius: 1rem;
overflow: hidden;
height: 100%;
}

.mock-tab-content.active {
display: block;
height: 100%;
}

.mock-tab-content.active > * {
animation: staggerIn 0.4s ease both;
}

.mock-tab-content.active > *:nth-child(1) { animation-delay: 0s; }
.mock-tab-content.active > *:nth-child(2) { animation-delay: 0.04s; }
.mock-tab-content.active > *:nth-child(3) { animation-delay: 0.08s; }
.mock-tab-content.active > *:nth-child(4) { animation-delay: 0.12s; }
.mock-tab-content.active > *:nth-child(5) { animation-delay: 0.16s; }
.mock-tab-content.active > *:nth-child(6) { animation-delay: 0.20s; }
.mock-tab-content.active > *:nth-child(7) { animation-delay: 0.24s; }

@keyframes staggerIn {
from { opacity: 0; transform: translateY(0.5rem); }
to { opacity: 1; transform: translateY(0); }
}

/* ── Proto screens (client preview screenshots + hotspots) ───────── */
.proto-screen {
position: relative;
display: block;
width: 100%;
}

.proto-screen_img {
display: block;
width: 100%;
height: auto;
border-radius: var(--radius-lg);
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.proto-hotspot {
position: absolute;
border: none;
background: transparent;
cursor: pointer;
padding: 0;
z-index: 2;
}

.proto-hotspot:hover,
.proto-hotspot:focus {
outline: 2px solid var(--color-green);
outline-offset: 2px;
}

.proto-hotspot:focus {
outline: 2px solid var(--color-green);
}

.proto-hotspot--rfp-card {
top: 42%;
left: 4%;
width: 92%;
height: 14%;
}

.proto-hotspot--back {
top: 4%;
left: 2%;
width: 12%;
height: 6%;
}

.proto-hotspot--back-detail {
top: 4%;
left: 2%;
width: 14%;
height: 7%;
}

/* ── Proto interactive (Matches / Analysis / Detail) ──────────────── */
.proto-matches,
.proto-analysis,
.proto-detail {
padding: 0;
font-family: var(--font-sans);
font-size: 0.8125rem;
color: var(--demo-black);
background: white;
border-radius: 1rem;
border: 1px solid #ece7e4;
border-top: none;
min-height: 100%;
}

/* ── Summary stats row (table-like) ────────────────────────────── */
.proto-stats-row {
display: flex;
border-bottom: 1px solid #ece7e4;
}

.proto-stat-card {
flex: 1;
padding: 1rem 1.25rem 0.875rem;
border-right: 1px solid #ece7e4;
}

.proto-stat-card:last-child {
border-right: none;
}

.proto-stat-card--active {
border-bottom: 2px solid #a4593e;
}

.proto-stat-label {
display: flex;
align-items: center;
gap: 0.4rem;
font-family: var(--font-sans);
font-size: 0.8125rem;
font-weight: var(--weight-regular);
color: rgba(0, 0, 0, 0.9);
margin-bottom: 0.625rem;
}

.proto-stat-number {
font-family: var(--font-serif);
font-size: 2rem;
font-weight: var(--weight-regular);
line-height: 1;
color: var(--demo-black);
}

.proto-stat-icon,
.proto-stat-badge {
display: inline-flex;
align-items: center;
justify-content: center;
width: 1.125rem;
height: 1.125rem;
border-radius: 0.2rem;
font-size: 0.6rem;
flex-shrink: 0;
}

.proto-stat-icon--terra { background: rgba(225, 169, 149, 0.1); color: #a4593e; }
.proto-stat-icon--amber { background: rgba(200, 129, 8, 0.06); color: #c88108; }
.proto-stat-icon--purple { background: #faf8ff; color: #7c6db5; }

.proto-stat-badge {
font-family: var(--font-serif);
font-size: 0.75rem;
font-weight: var(--weight-regular);
}

.proto-stat-badge--green { background: #ecffe2; color: #2d8000; }
.proto-stat-badge--blue { background: rgba(3, 116, 182, 0.06); color: #0374b6; }

/* ── Filters row ───────────────────────────────────────────────── */
.proto-filters-row {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.75rem 1.125rem;
flex-wrap: wrap;
gap: 0.5rem;
}

.proto-filters-left {
display: flex;
gap: 0.375rem;
flex-wrap: wrap;
}

.proto-pill {
display: inline-flex;
align-items: center;
gap: 0.3rem;
padding: 0.375rem 0.625rem;
border-radius: 100vw;
font-size: 0.8125rem;
font-weight: var(--weight-regular);
cursor: default;
border: 1px solid rgba(0, 0, 0, 0.2);
background: white;
color: rgba(0, 0, 0, 0.6);
}

.proto-pill--active {
background: rgba(205, 111, 78, 0.08);
border-color: #a4593e;
color: #a4593e;
}

.proto-pill--default {
background: white;
border-color: rgba(0, 0, 0, 0.2);
color: rgba(0, 0, 0, 0.6);
}

.proto-filters-right {
display: flex;
align-items: center;
gap: 1rem;
}

.proto-filter-drop {
font-size: 0.8125rem;
color: rgba(0, 0, 0, 0.5);
cursor: default;
white-space: nowrap;
}

.proto-filter-drop small {
font-size: 0.6rem;
margin-left: 0.15rem;
}

.proto-filter-search {
display: flex;
align-items: center;
gap: 0.35rem;
padding: 0.3rem 0.625rem;
border: 1px solid #e5e7eb;
border-radius: 100vw;
background: white;
min-width: 8rem;
}

.proto-filter-search-icon {
font-size: 0.75rem;
color: rgba(0, 0, 0, 0.4);
}

.proto-filter-search-text {
font-size: 0.8125rem;
color: rgba(10, 10, 10, 0.5);
white-space: nowrap;
}

/* ── RFP cards list ────────────────────────────────────────────── */
.proto-rfp-list {
display: flex;
flex-direction: column;
}

.proto-rfp-card {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.875rem 1.25rem;
background: white;
border: none;
border-bottom: 1px solid #ece7e4;
border-radius: 0;
cursor: pointer;
transition: background-color var(--transition-fast);
}

.proto-rfp-card--full {
align-items: flex-start;
gap: 1rem;
padding: 1.125rem 1.25rem;
}

.proto-rfp-card:hover {
background: #faf9f6;
}

.proto-rfp-card:last-child {
border-bottom: 1px solid #ece7e4;
}

/* Grade badge — square, rounded, serif letter */
.proto-rfp-grade {
display: flex;
align-items: center;
justify-content: center;
width: 1.5rem;
height: 1.5rem;
border-radius: 0.25rem;
font-family: var(--font-serif);
font-size: 0.85rem;
flex-shrink: 0;
font-weight: var(--weight-regular);
flex-shrink: 0;
}

.proto-rfp-grade--a {
background: rgba(159, 255, 108, 0.2);
color: #2d8000;
}

.proto-rfp-grade--b {
background: rgba(3, 116, 182, 0.06);
color: #0374b6;
}

/* Grade badge used inline in Analysis/Detail match-grade block */
.proto-block-grade {
display: flex;
align-items: flex-end;
gap: 1.25rem;
}

.proto-block-grade .proto-rfp-grade {
width: 2.875rem;
height: 2.875rem;
font-size: 1.625rem;
border-radius: 0.5rem;
}

/* Card content */
.proto-rfp-content {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 0.2rem;
}

.proto-rfp-date {
font-family: 'DM Mono', monospace;
font-size: 0.6875rem;
color: rgba(0, 0, 0, 0.6);
text-transform: uppercase;
letter-spacing: 0.01em;
}

.proto-rfp-date--urgent {
color: #d5760a;
}

.proto-rfp-title {
margin: 0;
font-family: var(--font-sans);
font-size: 0.9375rem;
font-weight: var(--weight-medium);
line-height: 1.4;
color: #101828;
}

.proto-rfp-tags {
display: flex;
align-items: center;
gap: 0.5rem;
margin-top: 0.1rem;
}

.proto-rfp-tag {
display: inline-flex;
align-items: center;
padding: 0.15rem 0.4rem;
background: rgba(0, 0, 0, 0.06);
border-radius: 0.2rem;
font-size: 0.75rem;
color: rgba(0, 0, 0, 0.6);
}

.proto-rfp-org {
font-size: 0.75rem;
color: rgba(0, 0, 0, 0.6);
}

.proto-rfp-desc {
margin: 0.35rem 0 0;
font-size: 0.8125rem;
line-height: 1.5;
color: rgba(0, 0, 0, 0.5);
}

/* Actions column */
.proto-rfp-actions {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 0.4rem;
flex-shrink: 0;
}

.proto-rfp-action-btns {
display: flex;
gap: 0.2rem;
}

.proto-action-btn {
display: flex;
align-items: center;
justify-content: center;
width: 2rem;
height: 2rem;
border-radius: 0.5rem;
font-size: 0.75rem;
cursor: pointer;
}

.proto-action-btn--review { background: rgba(245, 158, 11, 0.1); color: #d5760a; }
.proto-action-btn--go { background: rgba(45, 128, 0, 0.1); color: #2d8000; }
.proto-action-btn--nogo { background: rgba(217, 48, 6, 0.1); color: #d93006; }

.proto-rfp-details-btn {
display: inline-flex;
align-items: center;
gap: 0.3rem;
padding: 0.4rem 0.75rem;
background: rgba(164, 89, 62, 0.1);
border-radius: 0.4rem;
font-size: 0.75rem;
font-weight: var(--weight-medium);
color: #a4593e;
cursor: pointer;
white-space: nowrap;
}

/* keep old .proto-link for Analysis/Detail tabs */
.proto-link {
background: none;
border: none;
padding: 0;
font-size: inherit;
color: var(--demo-coral);
text-decoration: none;
cursor: pointer;
font-weight: var(--weight-medium);
}

.proto-btn {
padding: 0.35rem 0.65rem;
border: none;
border-radius: 100vw;
font-size: 0.6875rem;
font-weight: var(--weight-medium);
cursor: pointer;
}

.proto-btn--green { background: var(--demo-coral); color: var(--demo-white); }
.proto-btn--blue { background: var(--demo-charcoal); color: var(--demo-white); }

/* Analysis tab */
.proto-analysis-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 0.5rem;
padding: 1.25rem 1.5rem;
border-bottom: 1px solid #ece7e4;
}

.proto-back {
background: none;
border: none;
padding: 0;
font-size: 0.8125rem;
color: #a4593e;
cursor: pointer;
font-weight: var(--weight-medium);
}

.proto-analysis-header-main {
display: flex;
align-items: flex-start;
gap: 0.625rem;
flex: 1;
min-width: 0;
}

.proto-analysis-header-info {
display: flex;
flex-direction: column;
gap: 0.375rem;
flex: 1;
min-width: 0;
}

.proto-analysis-header-actions {
display: flex;
align-items: center;
gap: 0.25rem;
flex-shrink: 0;
}

.proto-action-btn--selected {
border: 1px solid #2d8000;
}

.proto-analysis-title {
margin: 0;
font-family: var(--font-sans);
font-size: 1.125rem;
font-weight: var(--weight-medium);
line-height: 1.4;
color: #101828;
}

.proto-analysis-tabs {
display: flex;
gap: 0.5rem;
padding: 1rem 1.5rem 0;
border-bottom: 1px solid #ece7e4;
}

.proto-analysis-tab {
padding: 0 0.75rem 0.75rem;
font-size: 1rem;
font-weight: normal;
color: rgba(0, 0, 0, 0.6);
cursor: default;
}

.proto-analysis-tab.active {
color: #a4593e;
border-bottom: 2px solid #a4593e;
}

.proto-analysis-content {
padding: 1.25rem 1.5rem;
display: flex;
flex-direction: column;
gap: 1.25rem;
}

.proto-analysis-body--figma {
grid-template-columns: 1fr 46%;
border-top: 1px solid #ece7e4;
}

.proto-analysis-body {
display: grid;
grid-template-columns: 1fr 40%;
gap: 0;
align-items: stretch;
}

.proto-analysis-left {
min-width: 0;
display: flex;
flex-direction: column;
gap: 2.5rem;
padding: 1.5rem;
}

.proto-block {
margin-bottom: 0;
}

.proto-block-title {
margin: 0 0 1rem;
font-size: 1rem;
font-weight: normal;
letter-spacing: normal;
text-transform: none;
color: rgba(0, 0, 0, 0.8);
line-height: 1.2;
}

.proto-block-p {
margin: 0;
font-size: 1rem;
line-height: 1.5;
color: rgba(0, 0, 0, 0.6);
}

.proto-analysis-collapsible {
width: 100%;
}

.proto-analysis-toggle {
width: 100%;
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.125rem 0;
background: none;
border: none;
font-family: var(--font-sans);
font-size: 1rem;
color: rgba(0, 0, 0, 0.8);
cursor: default;
text-align: left;
}

.proto-analysis-toggle-icon {
font-size: 1.2rem;
line-height: 1;
color: rgba(0, 0, 0, 0.65);
transform: translateY(-0.05rem);
}

.proto-checklist {
margin: 0;
padding: 0;
list-style: none;
display: flex;
flex-direction: column;
gap: 0.9rem;
}

.proto-checklist li {
position: relative;
padding-left: 1.75rem;
font-size: 1rem;
line-height: 1.5;
color: rgba(0, 0, 0, 0.65);
}

.proto-checklist li::before {
content: "";
position: absolute;
left: 0;
top: 0.25rem;
width: 0.875rem;
height: 0.875rem;
border: 1.33px solid #15a3f5;
border-radius: 0.25rem;
box-sizing: border-box;
}

.proto-checklist li.is-done {
text-decoration: line-through;
}

.proto-checklist li.is-done::before {
background: #15a3f5;
box-shadow: inset 0 0 0 2px white;
}

.proto-list-green,
.proto-list-yellow,
.proto-list-plain {
margin: 0;
padding-left: 0;
list-style: none;
display: flex;
flex-direction: column;
gap: 0.75rem;
}

.proto-list-green li,
.proto-list-yellow li,
.proto-list-plain li {
font-size: 1rem;
line-height: 1.5;
color: rgba(0, 0, 0, 0.6);
padding-left: 2rem;
position: relative;
}

.proto-list-green li::before,
.proto-list-yellow li::before,
.proto-list-plain li::before {
position: absolute;
left: 0;
top: 0.15em;
width: 1.5rem;
height: 1.5rem;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.75rem;
border-radius: 50%;
}

.proto-list-green li::before { content: "✓"; background: rgba(159, 255, 108, 0.2); color: #2d8000; }
.proto-list-yellow li::before { content: "!"; background: rgba(213, 118, 10, 0.12); color: #d5760a; font-weight: 600; }
.proto-list-plain li::before { content: "○"; background: rgba(0, 0, 0, 0.06); color: rgba(0, 0, 0, 0.4); }

.proto-list-plain li.is-done {
text-decoration: line-through;
}
.proto-list-plain li.is-done::before {
content: "✓";
background: rgba(0, 0, 0, 0.06);
color: rgba(0, 0, 0, 0.3);
}

.proto-analysis-right {
display: flex;
flex-direction: column;
justify-content: space-between;
background: white;
border-left: 1px solid #ece7e4;
min-height: 100%;
}

.proto-explore-center {
display: flex;
flex-direction: column;
gap: 3rem;
margin: auto 0;
text-align: center;
align-items: center;
padding: 3.5rem 3.75rem;
}

.proto-explore-icon {
width: 3rem;
height: 3rem;
flex-shrink: 0;
}

.proto-explore-center-text {
display: flex;
flex-direction: column;
gap: 0.5rem;
align-items: center;
}

.proto-explore-title {
margin: 0;
font-family: var(--font-sans);
font-size: 1.125rem;
font-weight: normal;
color: #2d2d2d;
line-height: 1.2;
}

.proto-explore-desc {
margin: 0;
font-size: 1rem;
color: rgba(0, 0, 0, 0.6);
line-height: 1.5;
max-width: 18.625rem;
}

.proto-explore-btns {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0.5rem;
width: 100%;
}

.proto-explore-btn {
padding: 0.625rem;
border: 1px solid #ece7e4;
border-radius: 0.5rem;
background: white;
font-size: 1rem;
text-align: left;
cursor: pointer;
color: rgba(0, 0, 0, 0.6);
transition: border-color var(--transition-fast);
line-height: 1.2;
}

.proto-explore-btn:hover {
border-color: #a4593e;
}

.proto-explore-input-wrap {
display: flex;
flex-direction: column;
gap: 0;
padding: 0 1rem 2.5rem;
}

.proto-explore-input-box {
display: flex;
flex-direction: column;
gap: 2rem;
padding: 1rem;
border: 1px solid #ece7e4;
border-radius: 0.75rem;
background: white;
}

.proto-explore-input-top {
display: flex;
align-items: flex-end;
justify-content: space-between;
}

.proto-explore-input {
border: none;
padding: 0;
font-size: 1rem;
background: transparent;
color: rgba(0, 0, 0, 0.5);
outline: none;
flex: 1;
line-height: 1.2;
}

.proto-explore-send {
width: 1.5rem;
height: 1.5rem;
border-radius: 50%;
background: #a4593e;
border: none;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 0.75rem;
cursor: pointer;
opacity: 0.6;
flex-shrink: 0;
}

.proto-explore-hint {
font-size: 0.75rem;
color: rgba(0, 0, 0, 0.34);
text-align: center;
line-height: 1rem;
}

/* Detail tab */
.proto-detail-header {
display: flex;
flex-direction: column;
gap: 0.75rem;
padding: 1.125rem 1.25rem;
border-bottom: 1px solid #ece7e4;
}

.proto-detail-title {
margin: 0;
font-family: var(--font-sans);
font-size: 0.9375rem;
font-weight: var(--weight-medium);
line-height: 1.4;
color: #101828;
}

.proto-detail-desc {
margin: 0;
padding: 0.875rem 1.25rem 0;
font-size: 0.8125rem;
line-height: 1.5;
color: rgba(0, 0, 0, 0.5);
}

.proto-questions-due {
margin: 0;
padding: 0.5rem 1.25rem 0;
font-size: 0.8125rem;
color: rgba(0, 0, 0, 0.6);
}

.proto-questions-due strong { color: #d93006; }

.proto-detail-cols {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 0.625rem;
padding: 1rem 1.25rem;
}

.proto-detail-col {
padding: 0.875rem;
border-radius: 0.625rem;
border: 1px solid #ece7e4;
background: white;
}

.proto-detail-col--green { border-left: 3px solid #2d8000; }
.proto-detail-col--yellow { border-left: 3px solid #d5760a; }
.proto-detail-col--blue { border-left: 3px solid #a4593e; }

.proto-detail-col-title {
margin: 0 0 0.5em;
font-size: 0.6875rem;
font-weight: var(--weight-semibold);
letter-spacing: 0.06em;
text-transform: uppercase;
color: rgba(0, 0, 0, 0.5);
}

.proto-detail-col ul {
margin: 0;
padding-left: 0.875rem;
list-style: none;
}

.proto-detail-col li {
margin-bottom: 0.35rem;
font-size: 0.8125rem;
line-height: 1.5;
color: rgba(0, 0, 0, 0.5);
position: relative;
padding-left: 0;
}

.proto-similar {
padding: 0 1.25rem 1.25rem;
}

.proto-similar-title {
margin: 0 0 0.625em;
font-size: 0.6875rem;
font-weight: var(--weight-semibold);
letter-spacing: 0.06em;
text-transform: uppercase;
color: rgba(0, 0, 0, 0.5);
padding-top: 1rem;
border-top: 1px solid #ece7e4;
}

.proto-similar-item {
margin-bottom: 0.625rem;
}

.proto-similar-name {
margin: 0 0 0.15em;
font-family: var(--font-sans);
font-size: 0.8125rem;
font-weight: var(--weight-medium);
color: #a4593e;
}

.proto-similar-item p {
margin: 0;
font-size: 0.8125rem;
line-height: 1.5;
color: rgba(0, 0, 0, 0.5);
}

@media (max-width: 767px) {
.proto-analysis-body {
grid-template-columns: 1fr;
}
.proto-detail-cols {
grid-template-columns: 1fr;
}
}

/* ── Tab 1: Figma-style New matches + project card ───────────────── */
.demo-rfps-layout {
display: grid;
grid-template-columns: auto 1fr;
gap: 1.5rem;
align-items: start;
margin-bottom: 1.25rem;
}

.demo-new-matches {
display: flex;
flex-direction: column;
align-items: center;
padding: 1rem 1.25rem;
min-width: 6rem;
}

.demo-new-matches-num {
font-family: var(--font-serif);
font-size: 2.5rem;
font-weight: var(--weight-regular);
line-height: 1.1;
color: var(--demo-black);
}

.demo-new-matches-label {
font-family: var(--font-sans);
font-size: 0.75rem;
color: var(--demo-gray);
margin-top: 0.25rem;
}

.demo-project-card {
display: grid;
grid-template-columns: 1fr auto;
gap: 1.5rem;
align-items: center;
background: var(--demo-card);
border-radius: 1rem;
padding: 1.5rem;
border: 0.0625rem solid rgba(0, 0, 0, 0.05);
}

.demo-project-card-main {
display: flex;
flex-direction: column;
gap: 0.375rem;
}

.demo-project-location {
font-family: var(--font-sans);
font-size: 0.75rem;
color: var(--demo-gray);
margin: 0;
}

.demo-project-title {
font-family: var(--font-sans);
font-size: 1.25rem;
font-weight: var(--weight-semibold);
line-height: 1.2;
color: var(--demo-black);
margin: 0;
}

.demo-project-value {
font-family: var(--font-sans);
font-size: 1rem;
color: var(--demo-charcoal);
margin: 0;
}

.demo-why-fit {
margin-top: 0.75rem;
}

.demo-why-fit-heading {
display: flex;
align-items: center;
gap: 0.5rem;
font-family: var(--font-sans);
font-size: 0.75rem;
font-weight: var(--weight-medium);
color: var(--demo-charcoal);
margin: 0 0 0.5rem;
}

.demo-why-fit-dot {
width: 0.375rem;
height: 0.375rem;
border-radius: 50%;
border: 0.125rem solid var(--demo-charcoal);
flex-shrink: 0;
background: transparent;
}

.demo-why-fit-list {
list-style: none;
margin: 0;
padding: 0;
font-size: 0.8125rem;
color: var(--demo-charcoal);
line-height: 1.5;
}

.demo-why-fit-list li {
position: relative;
padding-left: 1rem;
margin-bottom: 0.25rem;
}

.demo-why-fit-list li::before {
content: '–';
position: absolute;
left: 0;
color: var(--demo-gray);
}

.demo-project-card-chart {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.75rem;
min-width: 6rem;
}

.demo-chart-bars {
display: flex;
align-items: flex-end;
gap: 0.25rem;
height: 4rem;
}

.demo-chart-bars span {
width: 0.5rem;
min-height: 0.25rem;
border-radius: 0.125rem 0.125rem 0 0;
background: rgba(0, 0, 0, 0.12);
transition: height 0.3s ease;
}

.demo-match-badge {
display: flex;
flex-direction: column;
align-items: center;
}

.demo-match-pct {
font-family: var(--font-sans);
font-size: 1.5rem;
font-weight: var(--weight-bold);
color: var(--demo-black);
line-height: 1.1;
}

.demo-match-label {
font-size: 0.6875rem;
color: var(--demo-gray);
text-transform: lowercase;
margin-top: 0.125rem;
}

.demo-rfps-list {
margin-top: 0.5rem;
}

@media (max-width: 672px) {
.demo-rfps-layout {
grid-template-columns: 1fr;
}
.demo-project-card {
grid-template-columns: 1fr;
}
.demo-project-card-chart {
flex-direction: row;
justify-content: flex-start;
min-width: 0;
}
}

.mock-heading {
font-family: var(--font-serif);
font-size: 1.2rem;
margin-bottom: 0.25rem;
color: var(--demo-black);
}

.mock-subtitle {
font-family: var(--font-sans);
font-size: 0.8rem;
color: var(--demo-gray);
margin-bottom: 0.75rem;
}

.mock-row-meta {
font-size: 0.7rem;
color: var(--demo-gray);
}

/* ── Tab 1: Matched RFPs ──────────────────────────────────────── */

.mock-row {
display: grid;
grid-template-columns: 2fr 0.8fr 0.8fr 0.6fr;
gap: 0.625rem;
padding: 0.625rem 0.75rem;
border-radius: 0.5rem;
font-family: var(--font-sans);
font-size: 0.78rem;
align-items: center;
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
cursor: default;
position: relative;
}

.mock-row.header {
font-weight: 600;
font-size: 0.7rem;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--demo-gray);
border-bottom: 0.0625rem solid rgba(0, 0, 0, 0.06);
border-radius: 0rem;
margin-bottom: 0.5rem;
}

.mock-row:not(.header) {
background: var(--demo-card);
border: 0.0625rem solid rgba(0, 0, 0, 0.06);
margin-bottom: 0.25rem;
border-radius: 0.5rem;
}

.mock-row:not(.header):hover {
border-color: rgba(0, 0, 0, 0.1);
box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.06);
background: var(--demo-white);
}

.mock-row:not(.header):first-of-type:hover {
background: var(--demo-white);
}

.mock-row:not(.header):hover .mock-value {
color: var(--demo-black);
}

.mock-row:not(.header):first-of-type {
border-color: rgba(0, 0, 0, 0.08);
box-shadow: 0 0 0 0.0625rem rgba(114, 212, 61, 0.2);
}

.mock-row:not(.header):first-of-type:hover {
box-shadow: 0 0 0 0.0625rem rgba(114, 212, 61, 0.35), 0 0.25rem 1rem rgba(0, 0, 0, 0.06);
}

.mock-row:not(.header)::before {
content: '';
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 0.1875rem;
height: 0;
background: var(--demo-green-muted);
border-radius: 0 0.1875rem 0.1875rem 0;
transition: height 0.25s ease;
}

.mock-row:not(.header):hover::before,
.mock-row:not(.header):first-of-type::before {
height: 60%;
}

.mock-match {
display: inline-flex;
align-items: center;
gap: 0.25rem;
font-weight: 600;
font-size: 0.75rem;
padding: 0.1875rem 0.5rem;
border-radius: 100px;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}

.mock-row:not(.header):hover .mock-match {
box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
filter: brightness(0.96);
}

.mock-match::after {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
transition: left 0.5s ease;
}

.mock-row:not(.header):hover .mock-match::after {
left: 100%;
}

.match-high {
background: rgba(139, 255, 0, 0.2);
color: var(--color-badge-green);
}

.match-mid {
background: var(--demo-yellow-light);
color: var(--color-badge-yellow);
}

.match-low {
background: rgba(0, 0, 0, 0.05);
color: var(--demo-gray);
}

.mock-deadline {
font-size: 0.75rem;
color: var(--demo-charcoal);
transition: color 0.2s;
}

.mock-row:not(.header):hover .mock-deadline {
color: var(--demo-black);
}

.mock-value {
font-weight: 600;
font-size: 0.78rem;
transition: all 0.25s ease;
display: inline-block;
}

/* ── Tab 2: Pipeline ──────────────────────────────────────────── */

.pipeline-cols {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 0.625rem;
min-height: 13.75rem;
}

.pipeline-col {
display: flex;
flex-direction: column;
gap: 0.5rem;
transition: background 0.25s ease;
border-radius: 0.75rem;
padding: 0.25rem;
margin: -0.25rem;
}

.pipeline-col-header {
font-family: var(--font-sans);
font-size: 0.7rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--demo-gray);
padding-bottom: 0.5rem;
border-bottom: 0.125rem solid rgba(0, 0, 0, 0.06);
display: flex;
justify-content: space-between;
align-items: center;
transition: border-color 0.3s;
}

.pipeline-col:hover .pipeline-col-header {
border-color: var(--demo-lavender);
color: var(--demo-charcoal);
}

.pipeline-col-header .count {
font-size: 0.65rem;
background: rgba(0, 0, 0, 0.05);
padding: 0.125rem 0.4375rem;
border-radius: 100px;
font-weight: 500;
transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pipeline-col:hover .pipeline-col-header .count {
background: var(--demo-lavender-pale);
color: var(--demo-charcoal);
}

.pipeline-card {
font-family: var(--font-sans);
background: var(--demo-card);
border: 0.0625rem solid rgba(0, 0, 0, 0.06);
border-radius: 0.75rem;
padding: 0.75rem;
font-size: 0.75rem;
transition: all 0.2s ease;
cursor: grab;
position: relative;
overflow: hidden;
user-select: none;
-webkit-user-select: none;
}

.pipeline-card:hover {
box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.06);
border-color: rgba(0, 0, 0, 0.1);
background: var(--demo-white);
}

.pipeline-card:active {
cursor: grabbing;
box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.12);
z-index: 2;
}

.pipeline-card.dragging {
opacity: 0.35;
transform: rotate(-1deg);
box-shadow: none;
border: 0.09375rem dashed var(--demo-lavender);
background: var(--demo-lavender-pale);
cursor: grabbing;
transition: opacity 0.2s, transform 0.2s;
}

.pipeline-col.drag-over {
background: rgba(197, 180, 240, 0.06);
outline: 0.125rem dashed var(--demo-lavender);
outline-offset: -0.125rem;
}

.pipeline-col.drag-over .pipeline-col-header {
border-color: var(--demo-lavender);
color: var(--demo-black);
}

.pipeline-col.drag-over .pipeline-col-header .count {
background: var(--demo-lavender);
color: white;
}

.pipeline-drop-indicator {
height: 0.1875rem;
background: var(--demo-lavender);
border-radius: 0.1875rem;
margin: 0.25rem 0;
opacity: 0;
transition: opacity 0.15s ease;
box-shadow: 0 0 0.5rem rgba(197, 180, 240, 0.5);
}

.pipeline-drop-indicator.visible {
opacity: 1;
}

@keyframes cardLand {
0% { transform: translateY(-0.375rem); opacity: 0.6; }
50% { transform: translateY(0.125rem); }
100% { transform: translateY(0); opacity: 1; }
}

.pipeline-card.just-dropped {
animation: cardLand 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.pipeline-card::before {
content: '⠿';
position: absolute;
top: 0.5rem;
right: 0.5rem;
font-size: 0.7rem;
color: rgba(0, 0, 0, 0);
transition: color 0.2s;
line-height: 1;
}

.pipeline-card:hover::before {
color: rgba(0, 0, 0, 0.2);
}

.pipeline-card strong {
font-size: 0.78rem;
display: block;
margin-bottom: 0.1875rem;
transition: color 0.2s;
}

.pipeline-card:hover strong {
color: var(--demo-black);
}

.pipeline-card .meta {
color: var(--demo-gray);
font-size: 0.68rem;
margin-bottom: 0.375rem;
}

.pipeline-card .pip-bar-track {
height: 0.25rem;
background: rgba(0, 0, 0, 0.05);
border-radius: 0.25rem;
overflow: hidden;
}

.pipeline-card .pip-bar-fill {
height: 100%;
border-radius: 0.25rem;
transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.pipeline-card:hover .pip-bar-fill {
filter: brightness(1.2);
box-shadow: 0 0 0.375rem currentColor;
}

/* ── Tab 3: Dashboards ────────────────────────────────────────── */

.dash-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0.625rem;
}

.dash-card {
background: var(--demo-card);
border: 0.0625rem solid rgba(0, 0, 0, 0.06);
border-radius: 1rem;
padding: 1.25rem;
transition: all 0.2s ease;
position: relative;
overflow: hidden;
}

.dash-card:hover {
border-color: rgba(0, 0, 0, 0.1);
box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.06);
background: var(--demo-white);
}

.dash-card-label {
font-family: var(--font-sans);
font-size: 0.7rem;
color: var(--demo-gray);
text-transform: uppercase;
letter-spacing: 0.08em;
font-weight: 600;
margin-bottom: 0.375rem;
transition: color 0.2s;
}

.dash-card:hover .dash-card-label {
color: var(--demo-charcoal);
}

.dash-big-num {
font-family: var(--font-serif);
font-size: 2rem;
line-height: 1.1;
margin-bottom: 0.125rem;
color: var(--demo-black);
}

.dash-delta {
font-family: var(--font-sans);
font-size: 0.72rem;
font-weight: 600;
transition: color 0.2s;
}

.dash-delta.up {
color: var(--color-badge-green);
}

.dash-delta.down {
color: var(--demo-coral);
}

.dash-chart {
display: flex;
align-items: flex-end;
gap: 0.25rem;
height: 3.75rem;
margin-top: 0.75rem;
}

.dash-bar {
flex: 1;
border-radius: 0.25rem 0.25rem 0 0;
min-height: 0.375rem;
transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
cursor: crosshair;
position: relative;
}

.dash-bar:hover {
filter: brightness(0.78);
opacity: 0.95;
border-radius: 0.25rem;
}

.dash-bar::after {
content: '';
position: absolute;
top: -0.1875rem;
left: 50%;
transform: translateX(-50%) scale(0);
width: 0.3125rem;
height: 0.3125rem;
background: var(--demo-black);
border-radius: 50%;
transition: transform 0.2s ease;
}

.dash-bar:hover::after {
transform: translateX(-50%) scale(1);
}

.dash-wide {
grid-column: 1 / -1;
}

.dash-wide-top {
display: flex;
align-items: baseline;
gap: 0.75rem;
}

.dash-wide-desc {
font-family: var(--font-sans);
font-size: 0.82rem;
color: var(--demo-gray);
}

.dash-sparkline {
display: flex;
align-items: flex-end;
gap: 0.1875rem;
height: 2.5rem;
margin-top: 0.625rem;
}

.dash-spark-bar {
width: 100%;
border-radius: 0.1875rem 0.1875rem 0 0;
transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
cursor: crosshair;
background: var(--demo-yellow-light);
}

.dash-spark-bar:hover {
filter: brightness(0.75);
opacity: 0.95;
}

.dash-chat {
display: flex;
align-items: center;
gap: 0.5rem;
margin-top: 0.875rem;
padding: 0.625rem 0.875rem;
background: var(--demo-cream-light);
border-radius: 0.625rem;
border: 0.0625rem solid rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
cursor: text;
}

.dash-chat:hover {
border-color: var(--demo-lavender);
box-shadow: 0 0 0 0.25rem rgba(197, 180, 240, 0.18);
background: var(--demo-white);
}

.dash-chat-input {
font-family: var(--font-sans);
flex: 1;
font-size: 0.78rem;
color: var(--demo-gray);
font-style: italic;
transition: color 0.2s;
}

.dash-chat:hover .dash-chat-input {
color: var(--demo-charcoal);
}

.dash-chat-icon {
width: 1.25rem;
height: 1.25rem;
background: var(--demo-lavender);
border-radius: 0.375rem;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.65rem;
flex-shrink: 0;
transition: all 0.3s ease;
}

.dash-chat:hover .dash-chat-icon {
background: var(--demo-lavender-light);
box-shadow: 0 0 0.5rem rgba(197, 180, 240, 0.4);
}

/* ── Tab 4: Payroll ───────────────────────────────────────────── */

.payroll-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 1rem;
}

.payroll-badge {
font-family: var(--font-sans);
display: inline-flex;
align-items: center;
gap: 0.3125rem;
font-size: 0.7rem;
font-weight: 600;
padding: 0.25rem 0.625rem;
border-radius: 100px;
background: rgba(139, 255, 0, 0.15);
color: var(--color-badge-green);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}

.payroll-badge:hover {
background: rgba(139, 255, 0, 0.3);
box-shadow: 0 0.125rem 0.625rem rgba(139, 255, 0, 0.2);
}

.payroll-table {
font-family: var(--font-sans);
width: 100%;
border-collapse: collapse;
font-size: 0.75rem;
}

.payroll-table th {
text-align: left;
font-size: 0.68rem;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--demo-gray);
font-weight: 600;
padding: 0.5rem 0.625rem;
border-bottom: 0.0625rem solid rgba(0, 0, 0, 0.06);
transition: color 0.2s;
}

.payroll-table thead:hover th {
color: var(--demo-charcoal);
}

.payroll-table tbody tr {
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
cursor: default;
position: relative;
}

.payroll-table tbody tr:hover {
background: rgba(114, 212, 61, 0.08);
}

.payroll-table tbody tr:hover td {
color: var(--demo-black);
}

.payroll-table tbody tr::after {
content: '';
position: absolute;
left: 0;
top: 0;
width: 0.1875rem;
height: 100%;
background: var(--demo-green-muted);
opacity: 0;
transition: opacity 0.2s;
border-radius: 0 0.125rem 0.125rem 0;
}

.payroll-table tbody tr:hover::after {
opacity: 1;
}

.payroll-table td {
padding: 0.625rem;
border-bottom: 0.0625rem solid rgba(0, 0, 0, 0.03);
color: var(--demo-charcoal);
transition: all 0.2s;
}

.payroll-table tbody tr:first-child td {
color: var(--demo-black);
font-weight: 500;
}

.payroll-tag {
display: inline-block;
font-size: 0.65rem;
font-weight: 600;
padding: 0.125rem 0.4375rem;
border-radius: 100px;
transition: all 0.25s ease;
cursor: default;
}

.payroll-table tbody tr:hover .payroll-tag {
box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.1);
filter: brightness(0.97);
}

.tag-compliant {
background: rgba(139, 255, 0, 0.15);
color: var(--color-badge-green);
}

.tag-review {
background: var(--demo-yellow-light);
color: var(--color-badge-yellow);
}

.tag-pending {
background: rgba(0, 0, 0, 0.05);
color: var(--demo-gray);
}

.payroll-footer {
font-family: var(--font-sans);
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 0.875rem;
padding-top: 0.75rem;
border-top: 0.0625rem solid rgba(0, 0, 0, 0.06);
font-size: 0.75rem;
}

.payroll-footer-note {
color: var(--demo-gray);
}

.payroll-download {
font-family: var(--font-sans);
display: inline-flex;
align-items: center;
gap: 0.3125rem;
padding: 0.375rem 0.875rem;
background: var(--demo-black);
color: white;
border-radius: 0.5rem;
font-size: 0.72rem;
font-weight: 500;
cursor: pointer;
transition: all 0.2s ease;
position: relative;
overflow: hidden;
}

.payroll-download:hover {
background: var(--color-black);
box-shadow: 0 0.375rem 1rem rgba(0, 0, 0, 0.25);
}

.payroll-download:active {
opacity: 0.9;
}

.payroll-download::after {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
transition: left 0.5s ease;
}

.payroll-download:hover::after {
left: 100%;
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 900px) {
.product-mockup {
min-height: auto;
}

.mock-row {
grid-template-columns: 1fr;
gap: 0.25rem;
}

.mock-row.header {
display: none;
}

.pipeline-cols {
grid-template-columns: repeat(2, 1fr);
}

.dash-grid {
grid-template-columns: 1fr;
}

.dash-wide {
grid-column: 1;
}

.payroll-table {
font-size: 0.68rem;
display: block;
overflow-x: auto;
}

.payroll-table th,
.payroll-table td {
padding: 0.375rem;
}

.payroll-footer {
flex-direction: column;
gap: 0.5rem;
align-items: flex-start;
}

.mock-tabs {
gap: 0.125rem;
flex-wrap: wrap;
margin-bottom: 2rem;
}

.mock-tab {
font-size: 0.68rem;
padding: 0.25rem 0.625rem;
}
}

/* ================================================================
INTEGRATIONS SECTION — logo cards grid
================================================================ */

.section.integrations {
background: transparent;
padding: 0rem !important;
}

.integrations_card-wrap {
/* background: var(--color-gray-light); */
background: transparent;
/* border: 1px solid #cfcac1; */
border-radius: 1.875rem;
padding: var(--space-16) var(--space-10);
overflow: hidden;
}

.integrations_card-wrap .integrations_heading,
.integrations_card-wrap .integrations_label,
.integrations_card-wrap .integrations_more {
color: var(--color-black);
}

.integrations_inner {
max-width: 81rem;
margin-inline: auto;
display: flex;
flex-direction: column;
align-items: center;
gap: var(--space-12);
}

.integrations_header {
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
gap: var(--space-6);
max-width: 60ch;
}

.integrations_label {
font-family: var(--font-mono);
font-size: var(--text-small);
font-weight: var(--weight-medium);
letter-spacing: 0.04em;
line-height: 1.5;
text-transform: uppercase;
}

.integrations_heading {
max-width: 15ch;
line-height: 1.15;
text-align: center;
}

.integrations_logos {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
width: auto;
}

.integrations_card {
background: var(--color-gray-light);
border: 1px solid #cfcac1;
border-radius: 1.125rem;
display: flex;
align-items: center;
justify-content: center;
padding: 2rem 3rem;
transition: transform var(--transition-fast);
}

.integrations_card:hover {
transform: translateY(-2px);
}

.integrations_logo {
height: 2.75rem;
width: auto;
max-width: 100%;
object-fit: contain;
}

.integrations_more {
font-family: var(--font-sans);
font-size: var(--text-large);
font-weight: var(--weight-semibold);
letter-spacing: -0.02em;
text-align: center;
}

@media (max-width: 991px) {
.integrations_logos {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
}
}

@media (max-width: 47.9375em) {
.section.integrations {
padding-inline: 0;
}

.integrations_card-wrap {
border-radius: 1.25rem;
width: 100vw;
margin-left: calc(-50vw + 50%);
}

.integrations_heading {
font-size: 2rem;
}

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


.integrations_logo {
height: 2.5rem;
}
}

/* ================================================================
   FEATURES SECTION
   ================================================================ */

.section.features {
    padding: var(--space-16) 0;
}

.feat_wrap {
    border-radius: 1.875rem;
    background: var(--color-terracotta-dark);
    overflow: hidden;
}

.feat_inner {
    padding: var(--space-16) var(--space-10);
}

.feat_header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.feat_label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-integrations-accent);
    margin-bottom: var(--space-3);
}

.feat_title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: var(--weight-regular);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-cream);
}

.feat_subtitle {
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    font-weight: var(--weight-medium);
    line-height: 1.5;
    color: var(--color-integrations-text-muted);
    margin-top: var(--space-3);
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

/* Two-column layout */
.feat_cols {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-10);
}

.feat_col-head {
    display: flex;
    align-items: baseline;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.feat_col-num {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--color-integrations-accent);
    opacity: 0.5;
}

.feat_col-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: var(--weight-regular);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-cream);
}

/* Feature rows */
.feat_row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--color-integrations-border);
}

.feat_row:last-child {
    border-bottom: none;
}

.feat_dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: var(--color-integrations-accent);
    flex-shrink: 0;
    opacity: 0.4;
}

.feat_row--live .feat_dot {
    background: var(--color-green);
    opacity: 1;
    box-shadow: 0 0 6px rgba(159, 255, 108, 0.4);
}

.feat_name {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: var(--weight-medium);
    color: var(--color-integrations-text);
    line-height: 1.4;
}

.feat_badge {
    font-family: var(--font-mono);
    font-size: 0.5625rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--color-green);
    color: var(--color-black);
    padding: 0.1875rem 0.5rem;
    border-radius: 100vw;
    margin-left: auto;
    flex-shrink: 0;
    line-height: 1;
}

/* Vertical separator */
.feat_sep {
    width: 1px;
    background: var(--color-integrations-border);
    margin-top: var(--space-10);
}

@media (max-width: 767px) {
    .feat_inner {
        padding: var(--space-10) var(--space-6);
    }

    .feat_title {
        font-size: 2rem;
    }

    .feat_cols {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .feat_sep {
        width: 100%;
        height: 1px;
        margin: var(--space-6) 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .feat_inner {
        padding: var(--space-12) var(--space-8);
    }

    .feat_title {
        font-size: 2.5rem;
    }

    .feat_cols {
        gap: var(--space-6);
    }
}

/* ================================================================
CREDIBILITY / BUILT FOR AEC SECTION
================================================================ */

.section.credibility {
padding-top: 0rem;
padding-bottom: var(--space-24);
}

.credibility_container {
max-width: calc(100vw - 4rem);
margin-inline: auto;
padding-inline: var(--space-6);
}

.credibility_hero {
margin-bottom: var(--space-10);
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
}

.credibility_label {
font-family: var(--font-mono);
font-size: var(--text-small);
font-weight: var(--weight-medium);
letter-spacing: 0.06em;
line-height: 1.5;
color: var(--color-black);
display: block;
margin-bottom: var(--space-2);
}

.credibility_heading {
margin: 0;
}

.credibility_grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: var(--space-10);
align-items: stretch;
}

.credibility_grid .howitworks_card {
gap: var(--space-12);
padding: 1.5rem;
}

.credibility_grid .howitworks_card-title {
margin-bottom: var(--space-2);
}

.credibility_grid > .swiper-wrapper {
display: contents;
}

@media (max-width: 991px) {
.credibility_grid {
display: grid !important;
grid-template-columns: repeat(2, 1fr) !important;
gap: 0rem !important;
}

#credibility-swiper {
gap: 1rem !important;
}

.howitworks_card {
padding: 1.5rem !important;
}

.section.credibility {
    padding-bottom: 0rem !important;
}
}

@media (min-width: 768px) {
.credibility_grid {
display: grid !important;
grid-template-columns: repeat(2, 1fr) !important;
gap: 1rem !important;
}

.credibility_grid > .swiper-wrapper {
display: contents !important;
}
}

@media (max-width: 767px) {
#credibility-swiper {
width: 100vw !important;
margin-left: -1.5rem !important;
padding-left: 1rem !important;
padding-right: 1rem !important;
}

.credibility_container {
width: 100vw;
max-width: 100vw;
margin-left: calc(-50vw + 50%);
}

.credibility_grid {
display: block;
overflow: hidden;
}

.credibility_grid > .swiper-wrapper {
display: flex;
}

.credibility_grid .howitworks_card {
padding: 1.5rem;
flex-shrink: 0;
gap: var(--space-6);
}

.credibility_grid .howitworks_icon {
width: 3.2rem;
height: 3.2rem;
}

.credibility_grid .howitworks_card-title {
font-size: 1.4rem;
}

.section.credibility {
padding: var(--space-16) 0rem;
}
}



/* ================================================================
TEAM SECTION — Figma 2100-3488: clean alternating rows, light beige
================================================================ */

.section.team {
padding-top: var(--space-24);
padding-bottom: var(--space-24);
display: none;
}

.team_container {
max-width: calc(100vw - 4rem);
margin-inline: auto;
padding-inline: var(--space-6);
}

.team_heading {
text-align: center;
margin: 0 0 var(--space-10);
color: var(--color-gray-dark);
}

.team_list {
display: flex;
flex-direction: column;
gap: 0;
}

.team_card + .team_card {
margin-top: -3rem;
}

.team_card {
display: grid;
grid-template-columns: 50% 50%;
gap: 0;
align-items: center;
margin: 0;
}

.team_card---text-right .team_card-content {
order: 2;
}

.team_card---text-right .team_card-photo-wrap {
order: 1;
}

.team_card-content {
display: flex;
flex-direction: column;
gap: var(--space-4);
max-width: 60ch;
padding: 1.5rem 4rem;
}

.team_card-name {
margin: 0;
}

.team_card-desc {
margin: 0;
}

.team_card-links {
display: flex;
align-items: center;
gap: 0.375rem;
margin: 0;
font-size: var(--text-base);
font-weight: var(--weight-regular);
}

.team_card-link {
color: var(--color-gray-dark);
text-decoration: none;
transition: color var(--transition-fast);
}

.team_card-link:hover {
color: var(--color-black);
text-decoration: underline;
}

.team_card-link-sep {
color: var(--color-gray-dark);
opacity: 0.7;
}

.team_card-photo-wrap {
position: relative;
padding: 1.5rem 4rem;
display: flex;
justify-content: center;
}

.team_card---text-left .team_card-photo-wrap::before {
content: '';
position: absolute;
left: 6rem;
bottom: 0rem;
width: 22.5rem;
height: 22.5rem;
background: var(--color-team-terracotta);
transform: rotate(-2deg);
z-index: 0;
border-radius: 0.75rem;
}

.team_card---text-left .team_card-photo-wrap .team_card-photo {
position: relative;
z-index: 1;
}

.team_card---text-right .team_card-photo-wrap::before {
content: '';
position: absolute;
left: 6rem;
bottom: 0rem;
width: 22.5rem;
height: 22.5rem;
background: var(--color-team-purple);
transform: rotate(2deg);
z-index: 0;
border-radius: 0.75rem;
}

.team_card---text-right .team_card-photo-wrap .team_card-photo {
position: relative;
z-index: 1;
}

.team_card-role {
position: absolute;
bottom: -2rem;
font-family: var(--font-marker);
font-size: 7.5rem;
color: var(--color-green);
line-height: 1;
z-index: 10
}

.team_card-role---ceo {
right: 14rem;
bottom: -2rem;
transform: rotate(-8deg);
z-index: 10;
}

.team_card-role---cto {
left: 6rem;
bottom: -1.5rem;
transform: rotate(8deg);
z-index: 10;
}

.team_card-photo {
width: 22.5rem;
height: 22.5rem;
object-fit: cover;
display: block;
filter: grayscale(100%);
border-radius: 0.75rem;
}

@media (max-width: 991px) {
.team_card {
grid-template-columns: 1fr;
gap: var(--space-8);
}

.team_card---text-right .team_card-content,
.team_card---text-right .team_card-photo-wrap {
order: unset;
}

.team_card-content {
order: 2;
}

.team_card-photo-wrap {
order: 1;
padding: 1.5rem 0;
}

.team_card-name {
font-size: 1.5rem;
}

.section.team {
padding: var(--space-16) var(--space-4);
}

.team_list {
display: flex;
flex-direction: column;
gap: var(--space-12);
}
}

/* ================================================================
NOTES SECTION — testimonial flip cards
================================================================ */

.section.notes {
padding: var(--space-24);
}

.notes_container {
display: grid;
grid-template-columns: 1fr 1fr;
align-items: center;
gap: var(--space-16);
width: 77rem;
max-width: calc(100vw - 4rem);
}

@media (max-width: 991px) {
.notes_container {
    width: calc(100vw - 4rem);
    margin-left: -2rem;
    }
}

.notes_left {
display: flex;
flex-direction: column;
gap: var(--space-6);
min-width: 50ch;
}

.notes_heading { margin: 0; }

.notes_right {
position: relative;
overflow: visible;
min-height: 18rem;
width: 100%;
}

.notes_track {
display: flex;
gap: 0.5rem;
position: relative;
}

.notes_card {
flex: 0 0 25rem;
position: relative;
border-radius: 1rem;
overflow: hidden;
will-change: transform, opacity;
transition: transform 0.55s cubic-bezier(.22,.68,0,1), opacity 0.4s ease, filter 0.4s ease;
cursor: grab;
}

.notes_card:active { cursor: grabbing; }

.notes_card-img {
display: block;
width: 100%;
height: auto;
border-radius: 1rem;
}

.notes_nav {
display: flex;
align-items: center;
gap: var(--space-3);
margin-top: 2rem;
}

.notes_nav-btn {
display: flex;
align-items: center;
justify-content: center;
width: 3rem;
height: 3rem;
border-radius: var(--radius-full);
border: 1px solid var(--border);
background: transparent;
cursor: pointer;
transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.notes_nav-btn.disabled {
opacity: 0.5;
}

.notes_nav-btn:hover {
background: var(--color-gray-light);
border-color: var(--color-gray-dark);
}

.notes_nav-btn:active {
transform: scale(0.94);
}

.notes_nav-btn img {
width: 1rem;
height: auto;
display: block;
}

.notes_nav---mobile { display: none; }

@media (max-width: 991px) {
.section.notes {
padding: var(--space-16);
}

.notes_container {
display: flex;
flex-direction: column;
align-items: center;
gap: var(--space-8);
text-align: center;
}

.notes_left {
align-items: center;
order: 0;
width: 100%;
}

.notes_nav---desktop { display: none; }
.notes_nav---mobile { display: flex; justify-content: center; order: 2; }

.notes_right {
min-height: 16rem;
width: 100%;
order: 1;
overflow: visible;
}

.notes_track {
padding-left: calc(50% - 12.5rem);
}
}

@media (max-width: 767px) {
.section.notes {
padding-top: var(--space-12);
padding-bottom: var(--space-12);
}
}

/* ================================================================
TESTIMONIALS v2 (Swiper)
================================================================ */

.section.testimonials {
    padding: var(--space-20) 0;
}

.testimonials_header {
    text-align: center;
    margin-bottom: var(--space-10);
}

.testimonials_inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-8);
}

.testimonials_swiper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.testimonials_swiper .swiper-slide {
    height: auto;
    min-width: 0;
    box-sizing: border-box;
}

.testimonials_card {
    background: var(--color-white);
    border: 1px solid var(--border);
    border-radius: 1.125rem;
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    height: 100%;
}

.testimonials_quote {
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    font-weight: var(--weight-medium);
    line-height: 1.6;
    color: var(--color-black);
    margin: 0;
    flex: 1;
    quotes: none;
}

.testimonials_attr {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    padding-top: var(--space-4);
    border-top: 1px solid var(--border);
}

.testimonials_role {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: var(--weight-semibold);
    color: var(--color-black);
}

.testimonials_company {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: var(--weight-medium);
    color: var(--color-gray-dark);
}

/* Nav below slider — same pattern as .notes_nav (arrow SVGs) */
.testimonials_nav.notes_nav {
    justify-content: center;
    margin-top: 2rem;
}

.testimonials_nav .notes_nav-btn.swiper-button-disabled {
    opacity: 0.5;
    cursor: default;
}

@media (max-width: 767px) {
    .section.testimonials {
        padding: var(--space-12) 0;
    }

    .testimonials_card {
        padding: var(--space-5);
    }

    .testimonials_quote {
        font-size: 1rem;
    }
}

/* ================================================================
BLOG SECTION
================================================================ */

.section.blog {
    padding: var(--space-20) 0;
}

.blog_header {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-10);
    align-items: center;
    text-align: center;
}

.blog_label {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.5;
    color: var(--color-black);
}

.blog_grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-6);
}

.blog_card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border-radius: 1.125rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.blog_card:hover {
}

.blog_card-img-wrap {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-gray-light);
}

.blog_card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog_card:hover .blog_card-img {
    transform: scale(1.03);
}

.blog_card-body {
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.blog_card-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-gray-dark);
}

.blog_card-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: var(--weight-regular);
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: var(--color-black);
    text-decoration: none;
    transition: text-decoration-color 0.2s ease;
}

.blog_card:hover .blog_card-title {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.blog_card-excerpt {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: var(--weight-medium);
    line-height: 1.6;
    color: var(--color-gray-dark);
    opacity: 0.8;
}

.blog_cta {
    display: flex;
    justify-content: center;
    margin-top: var(--space-10);
}

.blog_btn {
    background: var(--color-white);
    color: var(--color-black);
    border: 1px solid var(--border);
    padding: var(--space-3) var(--space-8);
    border-radius: 100vw;
    font-family: var(--font-serif);
    font-size: var(--text-large);
    font-weight: var(--weight-regular);
    letter-spacing: var(--tracking-tight);
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.blog_btn:hover {
    background: var(--color-gray-light);
    border-color: var(--color-gray-dark);
    color: var(--color-black);
}

@media (max-width: 991px) {
    .blog_grid {
        grid-template-columns: 1fr 1fr;
    }

    .blog_card:last-child {
        display: none;
    }
}

@media (max-width: 767px) {
    .section.blog {
        padding: var(--space-12) 0;
    }

    .blog_header {
        margin-bottom: var(--space-6);
    }

    .blog_grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .blog_card:last-child {
        display: flex;
    }

    .blog_card-title {
        font-size: 1.2rem;
    }
}

/* ================================================================
CTA / EARLY ACCESS SECTION
================================================================ */

.section.cta {
padding: var(--space-20) var(--space-4);
}

.cta_container {
margin: 0 auto;
}

.cta_card {
background: var(--color-terracotta-light);
border-radius: 1.875rem;
padding: var(--space-16) var(--space-10);
text-align: center;
position: relative;
overflow: hidden;
}

.cta_card h1,
.cta_card h2,
.cta_card h3,
.cta_card .t-heading-1,
.cta_card .t-heading-2,
.cta_card .t-heading-3,
.cta_card .cta_heading,
.cta_card p,
.cta_card .t-paragraph-14,
.cta_card .t-paragraph-16,
.cta_card .t-paragraph-18 {
color: var(--color-cream);
}

.cta_heading {
font-family: var(--font-serif);
font-size: 3.5rem;
font-weight: var(--weight-regular);
line-height: 1.2;
margin-bottom: var(--space-6);
max-width: 15ch;
margin-left: auto;
margin-right: auto;
}

.cta_heading-line {
display: block;
}

.cta_text {
/* Typography from .t-paragraph-18; color from .cta_card light-text rule above */
margin-bottom: var(--space-8);
max-width: 50ch;
margin-left: auto;
margin-right: auto;
}

.cta_form {
display: flex;
flex-direction: column;
align-items: center;
gap: var(--space-4);
}

.cta_form-group {
display: flex;
width: 100%;
max-width: 28rem;
border: 0.0625rem solid var(--color-cta-border);
border-radius: 100vw;
background: var(--color-nav-cta-bg);
overflow: hidden;
transition: all 0.2s ease;
padding: 0.25rem;
gap: 0.25rem
}

#hero-cta-email {
background: var(--color-nav-cta-bg);
color: black;
}

.section.hero .cta_form-group .cta_button {
background: var(--color-black);
color: var(--color-cream);
}

.cta_form-group:focus-within {
border-color: var(--color-cta-border-focus);
box-shadow: 0 0 0 0.1875rem rgba(209, 194, 161, 0.1);
}

.cta_input {
flex: 1;
padding: 0.875rem 1.25rem;
border: none;
border-radius: 0;
background: var(--color-cta-bg);
color: var(--color-cream);
font-family: var(--font-sans);
font-size: var(--text-base);
transition: all 0.2s ease;
border-radius: 100vw;
}

.cta_input::placeholder {
color: var(--color-cta-placeholder);
}

.cta_input:focus {
outline: none;
background: var(--color-cta-bg-focus);
}

.cta_button {
padding: 0.875rem 1.75rem;
background: var(--color-cta-btn-bg);
color: var(--color-cta-btn-text);
border: none;
border-radius: 100vw;
font-family: var(--font-serif);
font-size: var(--text-large);
font-weight: var(--weight-regular);
letter-spacing: var(--tracking-tight);
cursor: pointer;
transition: all 0.2s ease;
white-space: nowrap;
flex-shrink: 0;
text-decoration: none;
display: inline-block;
text-align: center;
}

.cta_button:hover {
background: var(--color-cta-btn-bg-hover);
}

/* CTA section card: white input pill, purple button */
.cta_card .cta_form-group {
border: none;
background: var(--color-white);
}

.cta_card .cta_form-group:focus-within {
border-color: transparent;
box-shadow: 0 0 0 0.125rem rgba(11, 11, 11, 0.06);
}

.cta_card .cta_input {
background: var(--color-white);
color: var(--color-gray-dark);
}

.cta_card .cta_input::placeholder {
color: rgba(11, 11, 11, 0.4);
}

.cta_card .cta_input:focus {
background: var(--color-white);
}

.cta_card .cta_button {
background: var(--color-purple-light);
color: var(--color-black);
}

.cta_card .cta_button:hover {
background: var(--color-purple-hover);
}

.cta_button:active {
opacity: 0.9;
}

.cta_form.submitting .cta_button {
opacity: 0.7;
cursor: wait;
}

.cta_success {
margin-top: var(--space-4);
padding: var(--space-4);
background: rgba(139, 255, 0, 0.15);
border-radius: 0.5rem;
animation: fadeIn 0.3s ease;
}

.cta_success-text {
/* Typography from .t-paragraph-18; color from .cta_card light-text rule */
margin: 0;
}

.cta_form.success .cta_form-group,
.cta_form.success .cta_disclaimer {
display: none;
}

@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-0.5rem);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.cta_disclaimer {
font-family: var(--font-sans);
font-size: var(--text-small);
color: var(--color-cta-disclaimer);
margin-top: var(--space-2);
text-align: center;
}

.cta_card .cta_disclaimer a {
color: var(--color-cream);
text-decoration: underline;
text-underline-offset: 0.15em;
}

.cta_heading-line---with-marks {
display: inline-flex;
align-items: baseline;
gap: 0.2em;
}

.cta_marks {
display: inline-block;
width: 2rem;
height: auto;
vertical-align: baseline;
pointer-events: none;
flex-shrink: 0;
}

.cta_form-wrap {
position: relative;
}

.cta_line {
position: absolute;
right: 55%;
bottom: 40%;
width: 9.5rem;
max-width: 28vw;
height: auto;
pointer-events: none;
transform: translateX(calc(-100% - 2rem)) translateY(0);
}

/* Responsive */
@media (max-width: 767px) {
.cta_card {
padding: var(--space-12) var(--space-6);
border-radius: 1.25rem;
}

.cta_heading {
font-size: 1.875rem;
}

.cta_text {
font-size: var(--text-base);
}

.cta_form-group {
flex-direction: column;
gap: 0.5rem;
max-width: 100%;
width: 100%;
border-radius: 0rem;
border: none;
background: none;
}

.cta_form {
width: 100%;
max-width: 100%;
}

.cta_form.hero {
width: 100%;
max-width: none;
}


.cta_button {
width: auto;
font-size: 1rem;
}

.cta_input {
min-height: 3.5rem;
font-size: 1rem;
}

.cta_form-group:focus-within {
border: none;
box-shadow: none;
}
}

/* ============================================================
FOOTER
============================================================ */
.footer {
position: relative;
background: var(--color-cream);
color: var(--color-gray-dark);
padding-top: var(--space-12);
}

.footer_notes {
display: none;
position: absolute;
bottom: 0;
left: 0;
width: 100vw;
overflow: hidden;
transform: translateY(100%);
transition: transform 0.7s var(--easing-slow);
}

.footer.is-at-page-bottom .footer_notes {
transform: translateY(0);
}

.footer_notes-img {
width: 100%;
height: auto;
display: block;
object-fit: cover;
object-position: bottom center;
}

.footer_bar {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: var(--space-4);
padding-bottom: var(--space-12);
border-bottom: 1px solid var(--border);
margin-bottom: var(--space-10);
}

.footer_copyright,
.footer_legal a,
.footer_madeby {
font-family: var(--font-sans);
font-size: var(--text-small);
line-height: var(--leading-normal);
color: var(--color-gray-dark);
}

.footer_legal {
display: flex;
align-items: center;
gap: var(--space-6);
}

.footer_legal a,
.footer_madeby {
text-underline-offset: 0.2em;
transition: color var(--transition-fast);
}

.footer_legal a:hover,
.footer_madeby:hover {
color: var(--color-black);
}

.footer_logo-wrap {
display: flex;
justify-content: center;
align-items: flex-end;
min-height: 8rem;
overflow: hidden;
}

.footer_logo {
width: 100%;
height: auto;
object-fit: fill;
object-position: center bottom;
}

.footer_madeby {
text-decoration: underline;
}

.footer_madeby:hover {
text-decoration: none;
}

@media (max-width: 767px) {
.footer_bar {
flex-direction: column;
align-items: flex-start;
text-align: left;
}

.footer_logo {
max-width: 28rem;
}
}


.cta_form.hero {
max-width: 50ch;
display: flex;
flex-direction: column;
align-items: flex-start;
animation: fadeUp 0.6s 0.3s ease both;
margin-top: var(--space-2);
}

.cta_disclaimer.hero {
color: var(--color-gray-dark);
margin-top: -0.25rem;
}

.cta_form.hero .cta_button,
.cta_button---hero {
background: var(--color-purple-light);
text-decoration: none;
display: inline-block;
align-self: flex-start;
}

.cta_form.hero .cta_button:hover,
.cta_button---hero:hover {
background: var(--color-purple-hover);
}


@media (max-width: 991px) {
.howitworks_header {
display: flex;
flex-direction: column;
width: 100%;
justify-content: center;
align-items: center;
}

.howitworks_heading {
max-width: 100%;
}

.howitworks_desc {
max-width: 100%;
}

.howitworks_card {
width: 100%;
max-width: 100%;
}

.highlight_lead {
font-size: 3rem;
}

.highlight_weekly {
font-size: 3.5rem;
}
}

/* ================================================================
MOBILE — 767px and below
================================================================ */
@media (max-width: 767px) {

/* ── Token override ───────────────────────────────────────────── */
:root {
--section-padding-v: var(--space-12);
}

.main-wrapper {
--mw-anim-margin: 0rem;
border-radius: 1rem 1rem 0 0;
}

.highlight_container {
width: 100%;
max-width: calc(100% - 2rem);
}

.credibility_container {
width: 100%;
max-width: 100%;
}

.team_container {
width: 100%;
max-width: calc(100% - 2rem);
}

/* ── Typography ───────────────────────────────────────────────── */
.t-heading-1 {
font-size: 2.5rem;
letter-spacing: -0.06rem;
}

.t-heading-2 {
font-size: 2rem;
letter-spacing: -0.02em;
}

.t-heading-3 {
font-size: 1.5rem;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.section.hero {
padding-top: 6rem;
padding-bottom: var(--space-12);
}

.section.hero .hero_heading {
font-size: 4rem;
}

.hero_heading-line {
white-space: normal;
}

.hero_correction.hero_correction---below {
display: none;
}

.hero_correction.hero_correction---inline {
display: block;
font-size: 2.5rem;
margin-top: 0.25rem;
margin-bottom: 0.25rem;
padding-left: 0;
}

.hero_underline-svg {
height: 2rem;
}

.hero_sub {
max-width: 100%;
}

.hero_columns-wrap {
max-width: 100%;
min-height: auto;
padding: 0;
}

.hero_columns {
min-height: auto;
justify-content: center;
}

.hero_column-img {
max-height: none;
width: 100%;
}

.hero_column {
flex: 1;
min-width: 0;
}

.hero_chart-line {
left: 0;
bottom: 1rem;
width: 100%;
transform: scale(0.5);
transform-origin: bottom left;
}

.cta_form.hero {
align-items: stretch;
width: 100%;
max-width: none;
}

.cta_form.hero .cta_form-group {
flex-direction: column;
gap: 0.5rem;
max-width: 100%;
border: none;
border-radius: 0;
background: none;
padding: 0;
}

.cta_form.hero .cta_input {
background: var(--color-white);
color: var(--color-gray-dark);
min-height: 3.5rem;
border-radius: 100vw;
}

.cta_form.hero .cta_input::placeholder {
color: rgba(11, 11, 11, 0.4);
}

.cta_form.hero .cta_input:focus {
background: var(--color-white);
}

.cta_form.hero .cta_button {
width: auto;
border-radius: 100vw;
}

.cta_disclaimer.hero {
text-align: center;
font-size: 0.75rem;
width: 100%;
}

/* ── Stats ────────────────────────────────────────────────────── */
.section.stats {
padding-top: var(--space-12);
padding-bottom: var(--space-12);
}

.stats_container {
flex-direction: column;
gap: var(--space-4);
}

.stats_card {
aspect-ratio: auto;
}

.stats_number {
font-size: 3.5rem;
}

.stats_symbol {
font-size: 5rem;
}

.stats_card-header {
padding: var(--space-4) var(--space-6);
min-height: auto;
}

.stats_card-body {
padding: var(--space-8) var(--space-6);
}

/* ── Highlight ────────────────────────────────────────────────── */

.section.highlight {
padding-top: 4rem;
}

.highlight_container {
max-width: calc(100vw - 2rem);
padding-inline: 0;
}

.highlight_content {
padding-bottom: 0;
}

.highlight_lead {
font-size: 1.75rem;
line-height: 1.4;
padding: 0rem 1rem;
}

.highlight_pct {
font-size: 2.8rem;
}

.highlight_dollar {
white-space: nowrap;
}

.highlight_weekly {
font-size: 2rem;
margin-bottom: -0.5rem;
}

.highlight_big-num {
position: static;
margin-top: var(--space-6);
font-size: 3rem;
}

.highlight_arrow {
position: static;
width: 12rem;
height: auto;
margin-top: var(--space-4);
margin-bottom: var(--space-4);
}

/* ── Problem ──────────────────────────────────────────────────── */
.section.problem {
padding-top: 4rem;
padding-bottom: 4.5rem;
}

.problem_heading {
font-size: 2rem;
}

/* ── How It Works ─────────────────────────────────────────────── */
.section.howitworks {
padding-top: var(--space-12);
padding-bottom: var(--space-12);
}

.howitworks_header {
margin-bottom: var(--space-8);
}

.howitworks_heading {
max-width: 100%;
}

/* ── Product Demo / Mockup ────────────────────────────────────── */
.howitworks_demo-wrap {
margin-top: var(--space-8);
}

.product-visual-inner {
padding: 0.75rem;
}

.product-mockup {
padding: 1rem;
min-height: auto;
}

.mock-nav {
flex-direction: column;
align-items: flex-start;
gap: 0.5rem;
padding-bottom: 0.75rem;
}

.mock-nav-left {
width: 100%;
}

.mock-nav-logo {
display: none;
}

.mock-nav-right {
width: 100%;
flex-direction: column;
gap: 0.5rem;
}

.mock-nav-actions {
display: none;
}

.mock-nav-title {
font-size: 1.1rem;
}

.mock-tabs {
margin-left: 0;
width: 100%;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
flex-wrap: nowrap;
}

.mock-tabs::-webkit-scrollbar {
display: none;
}

.mock-tab {
font-size: 0.72rem;
padding: 0.375rem 0.75rem;
flex-shrink: 0;
}

.proto-stats-row {
flex-wrap: wrap;
}

.proto-stat-card {
flex: 1 1 45%;
min-width: 0;
}

.proto-filters-row {
flex-direction: column;
align-items: flex-start;
}

.proto-filters-right {
display: none;
}

.proto-rfp-card {
flex-direction: column;
gap: 0.625rem;
}

.proto-rfp-actions {
flex-direction: row;
width: 100%;
justify-content: space-between;
}

.demo-rfps-layout {
grid-template-columns: 1fr;
}

.demo-new-matches {
flex-direction: row;
gap: 0.5rem;
padding: 0.75rem 0;
}

.demo-new-matches-num {
font-size: 2rem;
}

.demo-project-card {
grid-template-columns: 1fr;
}

.demo-project-card-chart {
flex-direction: row;
justify-content: flex-start;
min-width: 0;
}

.mock-row {
grid-template-columns: 1fr;
gap: 0.25rem;
}

.mock-row.header {
display: none;
}

.pipeline-cols {
grid-template-columns: 1fr;
}

.dash-grid {
grid-template-columns: 1fr;
}

.dash-wide {
grid-column: 1;
}

.payroll-header {
flex-direction: column;
gap: 0.5rem;
}

.payroll-table {
font-size: 0.68rem;
display: block;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}

.payroll-table th,
.payroll-table td {
padding: 0.375rem;
white-space: nowrap;
}

.payroll-footer {
flex-direction: column;
gap: 0.5rem;
align-items: flex-start;
}

/* ── Credibility ──────────────────────────────────────────────── */
.section.credibility {
padding: var(--space-12) 0rem;
}

.credibility_hero {
margin-bottom: var(--space-8);
padding-inline: var(--space-4);
}

.credibility_grid {
grid-template-columns: 1fr;
}

.credibility_grid .howitworks_card {
padding: 1.5rem;
}

.credibility_grid .howitworks_icon {
width: 3.2rem;
height: 3.2rem;
}

.credibility_grid .howitworks_card-title {
font-size: 1.4rem;
}

.howitworks_card-body {
font-size: 0.5rem !important;
}

/* ── Team ─────────────────────────────────────────────────────── */
.section.team {
padding: var(--space-12) var(--space-4);
}

.team_heading {
margin-bottom: var(--space-8);
}

.team_list {
gap: var(--space-12);
}

.team_card + .team_card {
margin-top: 0;
}

.team_card {
grid-template-columns: 1fr;
gap: var(--space-6);
}

.team_card---text-right .team_card-content,
.team_card---text-right .team_card-photo-wrap {
order: unset;
}

.team_card-content {
order: 2;
padding: 0;
max-width: 100%;
width: 100%;
text-align: center;
align-items: center;
}

.team_card-links {
justify-content: center;
}

.team_card {
justify-items: center;
}

.team_card-photo-wrap {
order: 1;
padding: 1.5rem 0;
justify-content: center;
}

.team_card-photo {
width: 16rem;
height: 16rem;
}

.team_card---text-left .team_card-photo-wrap::before,
.team_card---text-right .team_card-photo-wrap::before {
width: 16rem;
height: 16rem;
left: 50%;
transform: translateX(-50%) rotate(-2deg);
}

.team_card---text-right .team_card-photo-wrap::before {
transform: translateX(-50%) rotate(2deg);
}

.team_card-role {
font-size: 4.5rem;
}

.team_card-role---ceo {
right: auto;
left: 50%;
transform: translateX(-80%) rotate(-8deg);
}

.team_card-role---cto {
left: 50%;
transform: translateX(-20%) rotate(8deg);
}

.team_card-name {
font-size: 1.5rem;
}

/* ── CTA ──────────────────────────────────────────────────────── */
.section.cta {
padding: var(--space-12) 0;
}

.cta_card {
padding: var(--space-12) var(--space-6);
border-radius: 1.25rem;
width: 100vw;
margin-left: calc(-50vw + 50%);
}

.cta_heading {
font-size: 1.875rem;
}

.cta_text {
font-size: var(--text-base);
}

.cta_line {
display: none;
}

.cta_card .cta_form-group {
flex-direction: column;
gap: 0.5rem;
max-width: 100%;
border: none;
border-radius: 0;
background: none;
padding: 0;
}

.cta_card .cta_input {
min-height: 3.5rem;
border-radius: 100vw;
}

.cta_card .cta_button {
width: auto;
border-radius: 100vw;
}

/* ── Footer ───────────────────────────────────────────────────── */
.footer_bar {
flex-direction: column;
align-items: center;
text-align: center;
gap: var(--space-6);
}

.footer_legal {
gap: var(--space-4);
}

.footer_logo {
max-width: 28rem;
}

.footer_logo-wrap {
min-height: 4rem;
}

}

@media (max-width: 767px) {
.nav-svg {
width: 120px;
height: 21px;
}

.nav_logo-img {
height: 1.25rem;
}

.nav_cta {
font-size: 1rem;
transform: scale(0.75);
transform-origin: right center;
}

.hero_visual {
height: auto;
min-height: auto;
margin-top: 2rem;
left: auto;
}
}

/* ================================================================
LEGAL PAGES (privacy, eula)
================================================================ */

.legal {
padding: 8rem 0 var(--space-20);
}

.legal_container {
width: 48rem;
max-width: calc(100vw - 4rem);
margin-inline: auto;
}

.legal_back {
display: inline-flex;
align-items: center;
gap: var(--space-2);
font-family: var(--font-sans);
font-size: var(--text-small);
font-weight: var(--weight-medium);
color: var(--color-gray-dark);
text-decoration: none;
margin-bottom: var(--space-8);
transition: color var(--transition-fast);
}

.legal_back:hover {
color: var(--color-black);
}

.legal_title {
font-family: var(--font-serif);
font-size: 3rem;
font-weight: var(--weight-regular);
line-height: 1.15;
letter-spacing: -0.02em;
color: var(--color-black);
margin-bottom: var(--space-2);
}

.legal_updated {
font-family: var(--font-mono);
font-size: var(--text-small);
font-weight: var(--weight-medium);
color: var(--color-gray-dark);
opacity: 0.6;
letter-spacing: 0.04em;
margin-bottom: var(--space-12);
display: block;
}

.legal_body h2 {
font-family: var(--font-serif);
font-size: 1.5rem;
font-weight: var(--weight-regular);
line-height: 1.3;
color: var(--color-black);
margin: var(--space-10) 0 var(--space-4);
}

.legal_body h3 {
font-family: var(--font-sans);
font-size: 1.125rem;
font-weight: var(--weight-semibold);
color: var(--color-black);
margin: var(--space-6) 0 var(--space-3);
}

.legal_body p {
font-family: var(--font-sans);
font-size: var(--text-base);
font-weight: var(--weight-regular);
line-height: 1.7;
color: var(--color-gray-dark);
margin-bottom: var(--space-4);
}

.legal_body ul,
.legal_body ol {
padding-left: var(--space-6);
margin-bottom: var(--space-4);
}

.legal_body ul {
list-style: disc;
}

.legal_body ol {
list-style: decimal;
}

.legal_body li {
font-family: var(--font-sans);
font-size: var(--text-base);
line-height: 1.7;
color: var(--color-gray-dark);
margin-bottom: var(--space-2);
}

.legal_body a {
color: var(--color-black);
text-decoration: underline;
text-underline-offset: 0.15em;
}

.legal_body a:hover {
text-decoration: none;
}

@media (max-width: 47.9375em) {
.legal_title {
font-size: 2rem;
}
}


.swiper-button-disabled {
opacity: 0.5 !important;
}

.footer_legal a:hover {
text-decoration: underline;
}

.howitworks_card-body {
font-weight: 500 !important;
font-size: 0.875rem;
}

/* ================================================================
   PROBLEM + SOLUTION COMBINED SECTION
   ================================================================ */

.section.problem-solution {
    padding: 6rem 0;
}

.ps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-8);
    align-items: center;
}

.ps-card {
    padding: var(--space-10);
    border-radius: 1.125rem;
}

.ps-card--problem {
    background: var(--color-gray-light);
}

.ps-card--solution {
    background: var(--color-white);
    border: 1px solid var(--border);
}

.ps-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.5;
    color: var(--color-gray-dark);
    margin-bottom: var(--space-4);
}

.ps-card--solution .ps-label {
    color: var(--color-terracotta-light);
}

.ps-heading {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: var(--weight-regular);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-black);
}

.ps-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    height: 100%;
    justify-content: center;
}

.ps-divider-line {
    width: 1px;
    flex: 1;
    background: var(--border);
}

.ps-divider-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-full);
    background: var(--color-terracotta-light);
    color: var(--color-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .section.problem-solution {
        padding: 4rem 0;
    }

    .ps-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ps-card {
        padding: var(--space-8);
    }

    .ps-divider {
        flex-direction: row;
        height: auto;
        padding: var(--space-4) 0;
    }

    .ps-divider-line {
        width: auto;
        height: 1px;
        flex: 1;
    }

    .ps-heading {
        font-size: 1.5rem;
    }

    .ps-card .solution_mark {
        white-space: normal;
    }
}

@media (max-width: 47.9375em) {
    .section.problem-solution {
        padding: 3rem 0;
    }

    .ps-card {
        padding: var(--space-6);
    }

    .ps-heading {
        font-size: 1.25rem;
    }

    .ps-label {
        font-size: 0.6875rem;
    }

    .ps-divider-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .ps-divider-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* ================================================================
   QUICK STATS BAR
   ================================================================ */

.section.quick-stats {
    padding: 0 0 4rem;
}

.qs-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-10);
    padding: var(--space-8) var(--space-10);
    background: var(--color-white);
    border: 1px solid var(--border);
    border-radius: 1.125rem;
}

.qs-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-1);
}

.qs-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: var(--weight-regular);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--color-terracotta-light);
}

.qs-desc {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: var(--weight-medium);
    color: var(--color-gray-dark);
    max-width: 14ch;
}

.qs-sep {
    width: 1px;
    height: 3rem;
    background: var(--border);
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .qs-row {
        gap: var(--space-6);
        padding: var(--space-6) var(--space-6);
    }

    .qs-number {
        font-size: 2rem;
    }

    .qs-desc {
        font-size: 0.8125rem;
    }
}

@media (max-width: 47.9375em) {
    .section.quick-stats {
        padding: 0 0 3rem;
    }

    .qs-row {
        flex-direction: column;
        gap: var(--space-6);
        padding: var(--space-8) var(--space-6);
    }

    .qs-sep {
        width: 4rem;
        height: 1px;
    }

    .qs-number {
        font-size: 2.25rem;
    }

    .qs-desc {
        max-width: none;
    }
}

#legal-page {
    background-color: var(--color-cream);
}

/* ── Hero floating cards stack ─────────────────────────────── */

.hero_cards-stack {
  position: relative;
  width: 100%;
  height: 34rem;
  animation: fadeUp 0.6s 0.3s ease both;
}

.hero_card {
  position: absolute;
  background: white;
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1), 0 1px 4px rgba(0, 0, 0, 0.06);
  width: 72%;
  min-width: 16rem;
  transition: transform 0.3s ease;
}

.hero_card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero_card-value {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: var(--weight-regular);
  color: #2d8000;
}

.hero_card-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: var(--weight-medium);
  line-height: 1.35;
  color: #101828;
}

.hero_card-meta {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.hero_card .proto-rfp-tag {
  background: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.55);
}

.hero_card-due {
  font-family: 'DM Mono', monospace;
  font-size: 0.6875rem;
  color: rgba(0, 0, 0, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero_card-due--urgent {
  color: #d5760a;
}

.hero_card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  flex-shrink: 0;
}

.hero_card-icon--blue { background: rgba(3, 116, 182, 0.1); color: #0374b6; }
.hero_card-icon--teal { background: rgba(14, 165, 143, 0.1); color: #0ea58f; }
.hero_card-icon--amber { background: rgba(213, 118, 10, 0.1); color: #d5760a; }
.hero_card-icon--purple { background: rgba(149, 132, 220, 0.1); color: #7c6db5; }

.hero_card-body-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

/* Stacked positions - cascading from top-left to bottom-right */
.hero_card--1 {
  top: 0;
  left: 0;
  z-index: 4;
  transform: rotate(-1.5deg);
}

.hero_card--2 {
  top: 25%;
  left: 18%;
  z-index: 3;
  transform: rotate(0.8deg);
}

.hero_card--3 {
  top: 50%;
  left: 6%;
  z-index: 2;
  transform: rotate(-0.5deg);
}

.hero_card--4 {
  top: 72%;
  left: 22%;
  z-index: 1;
  transform: rotate(1.2deg);
}

@media (max-width: 991px) {
  .hero_cards-stack {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }

  .hero_card {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    padding: 1rem 1.25rem;
    transform: none;
  }

  .hero_card--1,
  .hero_card--2,
  .hero_card--3,
  .hero_card--4 {
    top: auto;
    left: auto;
    transform: none;
  }
}

@media (max-width: 767px) {
  .hero_card {
    padding: 0.875rem 1rem;
    gap: 0.35rem;
  }

  .hero_card-title {
    font-size: 0.8125rem;
  }

  .hero_card-value {
    font-size: 0.9375rem;
  }
}

/* ================================================================
   PLATFORM SECTION
   ================================================================ */

.section.platform {
  padding: 6rem 0;
  position: relative;
  width: 100%;
}

.platform_container {
  width: 80rem;
  max-width: calc(100vw - 4rem);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.platform_content {
  max-width: 58.875rem;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.platform_label {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--color-black);
}

.platform_heading {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: var(--weight-regular);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-black);
  margin-top: var(--space-3);
}

.platform_subheading {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-gray-dark);
  max-width: 45ch;
  margin-top: 1.5rem;
}

/* ── Phase flow indicator ──────────────────────────────────── */

.platform_phases-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.platform_phase-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 100vw;
  border: 1px solid #cfcac1;
  background: var(--color-gray-light);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: var(--weight-medium);
  color: var(--color-black);
}

.platform_phase-pill-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-terracotta-light);
  letter-spacing: 0.02em;
}

.platform_phases-arrow {
  width: 1.25rem;
  height: 1.25rem;
  color: #cfcac1;
  flex-shrink: 0;
}

/* ── Phase header ──────────────────────────────────────────── */

.platform-phase {
  margin-bottom: 4rem;
}

.platform-phase:last-child {
  margin-bottom: 0;
}

.platform-phase-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.platform-phase-number {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-terracotta-light);
}

.platform-phase-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: var(--weight-regular);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-black);
}

/* ── Tabbed showcase ───────────────────────────────────────── */

.platform-showcase {
  background: var(--color-gray-light);
  border: 1px solid #cfcac1;
  border-radius: 1.125rem;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  overflow: hidden;
  position: relative;
  min-height: 30rem;
  z-index: 10;
}

.platform-showcase-tabs {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.75rem;
  justify-content: center;
}

.platform-showcase-tab {
  all: unset;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  cursor: pointer;
  opacity: 0.24;
  transition: opacity 0.35s ease;
}

.platform-showcase-tab.active {
  opacity: 1;
}

.platform-showcase-tab:focus-visible {
  outline: 2px solid var(--color-terracotta-light);
  outline-offset: 4px;
  border-radius: 0.25rem;
}

.platform-showcase-tab-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.platform-showcase-progress {
  flex-shrink: 0;
  width: 1.375rem;
  height: 1.375rem;
  color: var(--color-terracotta-light);
}

.platform-showcase-progress-arc {
  transition: none;
}

.platform-showcase-tab:not(.active) .platform-showcase-progress {
  display: none;
}

.platform-showcase-tab-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: var(--weight-regular);
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--color-black);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.platform-showcase-tab.active .platform-showcase-tab-title {
  color: var(--color-terracotta-light);
}

.platform-showcase-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  border-radius: 100vw;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(159, 255, 108, 0.2);
  color: #2d8000;
}

.platform-showcase-tab-desc {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: var(--weight-medium);
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--color-gray-dark);
  max-width: 38ch;
}

/* ── Visual pane ───────────────────────────────────────────── */

.platform-showcase-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.platform-showcase-panel {
  display: none;
}

.platform-showcase-panel.active {
  display: block;
  animation: staggerIn 0.4s ease both;
}

.platform-visual {
  background: white;
  border-radius: 0.75rem;
  border: 1px solid #ece7e4;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  width: 100%;
}

/* ── Mobile stacked cards ──────────────────────────────────── */

.platform-boxes {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
}

.platform-box {
  background: var(--color-gray-light);
  border: 1px solid #cfcac1;
  border-radius: 1.125rem;
  overflow: hidden;
}

.platform-box-text {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.platform-box-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: var(--weight-regular);
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--color-terracotta-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.platform-box-desc {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: var(--weight-medium);
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--color-gray-dark);
  max-width: 50ch;
}

.platform-box-visual {
  padding: 1rem;
}

.platform-box-visual .platform-visual {
  border-radius: 0.75rem;
  border: 1px solid #ece7e4;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* ── Responsive ────────────────────────────────────────────── */

@media (max-width: 991px) {
  .platform-showcase {
    display: none !important;
  }

  .platform-boxes {
    display: flex;
  }

  .platform_container {
    width: 100%;
    max-width: 100%;
    padding-inline: var(--space-4);
  }

  .platform_heading {
    font-size: 3rem;
  }
}

@media (max-width: 767px) {
  .section.platform {
    padding: var(--space-12) var(--space-4);
  }

  .platform_heading {
    font-size: 2rem;
  }

  .platform_phases-flow {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
  }

  .platform_phases-arrow {
    transform: rotate(90deg);
  }

  .platform-phase-title {
    font-size: 1.5rem;
  }

  .platform-box-text {
    padding: 1.5rem;
  }

  .platform-box-visual .platform-visual {
    max-height: 16rem;
  }

  .pv-spec-grid {
    grid-template-columns: 1fr !important;
  }

  .pv-bid-grid {
    grid-template-columns: 1fr !important;
  }

  .proto-analysis-body {
    grid-template-columns: 1fr !important;
  }

  .pv-proposal-body {
    grid-template-columns: 1fr !important;
  }

  .pv-proposal-sections {
    border-right: none !important;
    border-bottom: 1px solid #ece7e4;
  }

  .proto-stats-row {
    flex-wrap: wrap;
  }

  .proto-stat-card {
    min-width: 33%;
  }
}

/* ================================================================
   NETWORK GRAPH SECTION
   ================================================================ */

.section.network-graph {
  padding: 0;
  position: relative;
}

.network-graph_canvas-wrap {
  position: relative;
  width: 100%;
  height: 36rem;
  overflow: hidden;
  background: var(--color-gray-light);
  border-top: 1px solid #cfcac1;
  border-bottom: 1px solid #cfcac1;
}

.network-graph_canvas-wrap canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.network-graph_overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  padding: var(--space-8);
  pointer-events: none;
}

.network-graph_label {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-black);
  margin-bottom: var(--space-3);
}

.network-graph_heading {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: var(--weight-regular);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-black);
  max-width: 18ch;
}

.network-graph_legend {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.network-graph_legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: var(--weight-medium);
}

.network-graph_legend-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.network-graph_cta {
  margin-top: 2rem;
  pointer-events: auto;
}

@media (max-width: 991px) {
  .network-graph_canvas-wrap {
    height: 28rem;
  }

  .network-graph_heading {
    font-size: 2.25rem;
  }
}

@media (max-width: 767px) {
  .network-graph_canvas-wrap {
    height: 24rem;
  }

  .network-graph_heading {
    font-size: 1.75rem;
  }

  .network-graph_legend {
    gap: 0.75rem;
  }

  .network-graph_legend-item {
    font-size: 0.75rem;
  }
}

/* ================================================================
   PLATFORM VISUAL MOCKUPS
   ================================================================ */

/* ── Private Signals ───────────────────────────────────────── */

.pv-signals-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.75rem 1.5rem;
  border-bottom: 1px solid #ece7e4;
  text-align: center;
}

.pv-signals-upload-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(164, 89, 62, 0.08);
  margin-bottom: 0.25rem;
}

.pv-signals-upload-title {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: var(--weight-medium);
  color: #101828;
}

.pv-signals-upload-sub {
  font-size: 0.8125rem;
  color: rgba(0, 0, 0, 0.5);
  max-width: 32ch;
}

.pv-signals-divider {
  padding: 0.625rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid #ece7e4;
}

.pv-signals-fit {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.4rem;
  background: rgba(159, 255, 108, 0.15);
  border-radius: 0.2rem;
  font-size: 0.75rem;
  color: #2d8000;
  font-weight: var(--weight-medium);
}

/* ── Cascade Network ───────────────────────────────────────── */

.pv-network-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #ece7e4;
}

.pv-network-tab {
  padding: 0.75rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: var(--weight-medium);
  color: rgba(0, 0, 0, 0.4);
  cursor: default;
}

.pv-network-tab--active {
  color: #a4593e;
  border-bottom: 2px solid #a4593e;
}

.pv-network-list {
  display: flex;
  flex-direction: column;
}

.pv-network-card {
  padding: 1.25rem;
  border-bottom: 1px solid #ece7e4;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.pv-network-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.pv-network-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.pv-network-card-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: var(--weight-medium);
  line-height: 1.4;
  color: #101828;
}

.pv-network-card-org {
  font-size: 0.8125rem;
  color: rgba(0, 0, 0, 0.5);
}

.pv-network-match-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 100vw;
  font-size: 0.75rem;
  font-weight: var(--weight-medium);
  background: rgba(159, 255, 108, 0.15);
  color: #2d8000;
  white-space: nowrap;
  flex-shrink: 0;
}

.pv-network-card-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.pv-network-due {
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.5);
  margin-left: auto;
}

.pv-network-card-desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.5);
}

.pv-network-card-actions {
  display: flex;
  gap: 0.4rem;
}

/* ── Proposal Writing ──────────────────────────────────────── */

.pv-proposal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #ece7e4;
}

.pv-proposal-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pv-proposal-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
}

.pv-proposal-status {
  color: #2d8000;
  font-weight: var(--weight-medium);
}

.pv-proposal-pages {
  color: rgba(0, 0, 0, 0.5);
}

.pv-proposal-body {
  display: grid;
  grid-template-columns: 12rem 1fr;
  min-height: 20rem;
}

.pv-proposal-sections {
  border-right: 1px solid #ece7e4;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pv-proposal-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: rgba(0, 0, 0, 0.6);
  cursor: default;
}

.pv-proposal-section--done {
  color: rgba(0, 0, 0, 0.8);
}

.pv-proposal-section--active {
  background: rgba(164, 89, 62, 0.06);
  color: #a4593e;
  font-weight: var(--weight-medium);
}

.pv-proposal-section--pending {
  color: rgba(0, 0, 0, 0.3);
}

.pv-proposal-section-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: rgba(159, 255, 108, 0.2);
  color: #2d8000;
  font-size: 0.625rem;
  flex-shrink: 0;
}

.pv-proposal-section-spinner {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  border: 2px solid rgba(164, 89, 62, 0.2);
  border-top-color: #a4593e;
  animation: spin 1s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.pv-proposal-section-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  margin: 0 0.3125rem;
}

.pv-proposal-editor {
  position: relative;
  display: flex;
  flex-direction: column;
}

.pv-proposal-editor-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-bottom: 1px solid #ece7e4;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: var(--weight-medium);
  color: rgba(0, 0, 0, 0.4);
}

.pv-proposal-editor-toolbar span {
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  cursor: default;
}

.pv-proposal-editor-content {
  padding: 1.25rem 1.5rem;
  flex: 1;
}

.pv-proposal-editor-h {
  margin: 0 0 0.75rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: var(--weight-semibold);
  color: #101828;
}

.pv-proposal-editor-p {
  margin: 0 0 0.625rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.6);
}

.pv-proposal-chat-bubble {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: #a4593e;
  color: white;
  border-radius: 100vw;
  font-size: 0.75rem;
  font-weight: var(--weight-medium);
  box-shadow: 0 4px 12px rgba(164, 89, 62, 0.3);
  cursor: default;
}

.pv-proposal-chat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Spec Analysis ─────────────────────────────────────────── */

.pv-spec-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #ece7e4;
  flex-wrap: wrap;
}

.pv-spec-badges {
  display: flex;
  gap: 0.35rem;
}

.pv-spec-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 100vw;
  font-size: 0.6875rem;
  font-weight: var(--weight-medium);
}

.pv-spec-badge--red {
  background: rgba(217, 48, 6, 0.08);
  color: #d93006;
}

.pv-spec-badge--amber {
  background: rgba(213, 118, 10, 0.08);
  color: #d5760a;
}

.pv-spec-badge--green {
  background: rgba(45, 128, 0, 0.08);
  color: #2d8000;
}

.pv-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.pv-spec-card {
  padding: 1.25rem;
  border-bottom: 1px solid #ece7e4;
  border-right: 1px solid #ece7e4;
}

.pv-spec-card:nth-child(2n) {
  border-right: none;
}

.pv-spec-card-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: var(--weight-semibold);
  color: #101828;
  margin-bottom: 0.75rem;
}

.pv-spec-card .proto-list-yellow,
.pv-spec-card .proto-list-green {
  gap: 0.5rem;
}

.pv-spec-card .proto-list-yellow li,
.pv-spec-card .proto-list-green li {
  font-size: 0.8125rem;
  padding-left: 1.5rem;
}

.pv-spec-card .proto-list-yellow li::before,
.pv-spec-card .proto-list-green li::before {
  width: 1.125rem;
  height: 1.125rem;
  font-size: 0.625rem;
}

.pv-spec-procure-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pv-spec-procure-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0;
  font-size: 0.8125rem;
}

.pv-spec-procure-name {
  color: rgba(0, 0, 0, 0.7);
}

.pv-spec-procure-status {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.4rem;
  border-radius: 0.2rem;
  font-size: 0.6875rem;
  font-weight: var(--weight-medium);
}

.pv-spec-procure-status--sent {
  background: rgba(3, 116, 182, 0.08);
  color: #0374b6;
}

.pv-spec-procure-status--pending {
  background: rgba(213, 118, 10, 0.08);
  color: #d5760a;
}

.pv-spec-procure-status--received {
  background: rgba(45, 128, 0, 0.08);
  color: #2d8000;
}

/* ── Bid Leveling ──────────────────────────────────────────── */

.pv-bid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #ece7e4;
}

.pv-bid-count {
  font-size: 0.8125rem;
  color: rgba(0, 0, 0, 0.5);
}

.pv-bid-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.pv-bid-card {
  padding: 1.25rem;
  border-right: 1px solid #ece7e4;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}

.pv-bid-card:last-child {
  border-right: none;
}

.pv-bid-card--best {
  background: rgba(159, 255, 108, 0.04);
}

.pv-bid-card-ribbon {
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  padding: 0.15rem 0.5rem;
  border-radius: 100vw;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(159, 255, 108, 0.2);
  color: #2d8000;
}

.pv-bid-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pv-bid-card-vendor {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: var(--weight-medium);
  color: #101828;
}

.pv-bid-card-total {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: var(--weight-regular);
  color: var(--color-black);
}

.pv-bid-card-items {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0.5rem;
  border-top: 1px solid #ece7e4;
}

.pv-bid-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(0, 0, 0, 0.6);
}

.pv-bid-card-analysis {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 0.5rem 0.625rem;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 0.375rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.6);
}

.pv-bid-analysis-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  font-size: 0.625rem;
  flex-shrink: 0;
}

.pv-bid-analysis-icon--green {
  background: rgba(159, 255, 108, 0.2);
  color: #2d8000;
}

.pv-bid-analysis-icon--amber {
  background: rgba(213, 118, 10, 0.12);
  color: #d5760a;
  font-weight: 600;
}

/* ── Pre-Bid doc icon ──────────────────────────────────────── */

.pv-prebid-doc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: rgba(164, 89, 62, 0.08);
}