/* ==========================================================================
   Clubspeed theme styles
   1. Tokens   2. Base   3. Layout   4. Buttons & small parts   5. Header
   6. Hero   7. Sections   8. Pricing   9. Blog & prose   10. Footer   11. Motion
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
	--red: #DF272D;          /* logo red, buttons and accents */
	--red-deep: #B8181E;     /* hover, red text on white */
	--ink: #231F20;          /* logo charcoal, headings and dark sections */
	--steel: #5C5D60;        /* secondary text (logo grey, darkened for contrast) */
	--mist: #F2F3F5;         /* alternate section background */
	--line: #DCDDE1;
	--paper: #FFFFFF;
	--signal: #FFC93C;       /* stickers and badges only */

	--f-head: 'Outfit', 'Helvetica Neue', Arial, sans-serif;
	--f-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

	--wrap: 1200px;
	--gutter: clamp(20px, 4vw, 40px);
	--sec: clamp(64px, 8vw, 112px);
	--skew: -12deg;
	--radius: 10px;
	--header-h: 76px;
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--red-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--ink); margin: 0 0 .5em; line-height: 1.08; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.25rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; color: #fff; }

/* 3. Layout ------------------------------------------------------------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(760px + var(--gutter) * 2); }
.section-lede { font-size: 1.125rem; color: var(--steel); max-width: 60ch; margin-bottom: 2.5rem; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--steel); max-width: 54ch; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin-top: 2rem; }

/* 4. Buttons & small parts ---------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 50px; padding: 0 28px;
	font-family: var(--f-head); font-weight: 700; font-size: 1.02rem; letter-spacing: .01em;
	text-decoration: none; border: 2px solid transparent; border-radius: 6px; cursor: pointer;
	transform: skewX(var(--skew));
	transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn > span { display: inline-block; transform: skewX(calc(var(--skew) * -1)); }
.btn:hover { transform: skewX(var(--skew)) translateX(3px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-deep); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--red-deep); }
.btn--light:hover { background: var(--ink); color: #fff; }

/* Three speed stripes, the brand mark echoed from the logo swoosh */
.stripes { display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.stripes i { display: block; height: 22px; background: var(--red); transform: skewX(var(--skew)); border-radius: 3px; }
.stripes i:nth-child(1) { width: 100%; }
.stripes i:nth-child(2) { width: 72%; opacity: .55; }
.stripes i:nth-child(3) { width: 44%; opacity: .25; }

.sticker {
	position: absolute; z-index: 2;
	display: inline-block; padding: 10px 16px;
	background: var(--signal); color: var(--ink);
	font-family: var(--f-head); font-weight: 800; font-size: .98rem; line-height: 1.1;
	border-radius: 8px; transform: rotate(-6deg);
	box-shadow: 0 10px 24px rgba(35, 31, 32, .18);
}

.checklist { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.checklist .ico {
	width: 26px; height: 26px; padding: 4px; margin-top: 1px;
	color: #fff; background: var(--red); border-radius: 5px; transform: skewX(var(--skew));
}
.checklist strong { font-weight: 700; color: var(--ink); }
.chips { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
	padding: 8px 14px; font-weight: 600; font-size: .95rem;
	background: var(--paper); border: 1.5px solid var(--line); border-left: 4px solid var(--red); border-radius: 6px;
}

/* 5. Header ------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.site-logo img { width: 168px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-menu > li > a,
.menu-toggle-sub {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 14px; font: 600 1rem/1 var(--f-head);
	color: var(--ink); background: none; border: 0; border-radius: 6px; cursor: pointer; text-decoration: none;
}
.nav-menu > li > a:hover, .menu-toggle-sub:hover, .menu-toggle-sub[aria-expanded="true"] { background: var(--mist); color: var(--ink); }
.nav-menu > li.current-menu-item > a, .nav-menu > li.current-menu-item > .menu-toggle-sub { box-shadow: inset 0 -3px 0 var(--red); }
.menu-toggle-sub svg { transition: transform .2s ease; }
.menu-toggle-sub[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub-menu {
	position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
	list-style: none; margin: 0; padding: 10px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: 0 18px 40px rgba(35, 31, 32, .14);
	display: none;
}
.sub-menu.is-open { display: block; }
.is-wide > .sub-menu { left: 50%; transform: translateX(-50%); width: 520px; display: none; grid-template-columns: 1fr 1fr; gap: 0 8px; }
.is-wide > .sub-menu.is-open { display: grid; }
.sub-menu a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 500; }
.sub-menu a:hover, .sub-menu a[aria-current="page"] { background: var(--mist); color: var(--red-deep); }
.site-nav__cta .btn { min-height: 44px; padding: 0 20px; }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; border-radius: 6px; }
.nav-toggle__bars { display: grid; gap: 5px; justify-items: end; }
.nav-toggle__bars i { display: block; height: 3px; background: var(--ink); border-radius: 2px; transform: skewX(var(--skew)); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle__bars i:nth-child(1) { width: 26px; }
.nav-toggle__bars i:nth-child(2) { width: 20px; }
.nav-toggle__bars i:nth-child(3) { width: 14px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(8px) rotate(45deg); width: 24px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); width: 24px; }

@media (max-width: 1020px) {
	.nav-toggle { display: inline-grid; place-items: center; }
	.site-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		display: none; flex-direction: column; align-items: stretch; gap: 0;
		max-height: calc(100vh - var(--header-h)); overflow-y: auto;
		background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
		box-shadow: 0 20px 30px rgba(35, 31, 32, .1);
	}
	.site-nav.is-open { display: flex; }
	.nav-menu { flex-direction: column; align-items: stretch; }
	.nav-menu > li > a, .menu-toggle-sub { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav-menu > li.current-menu-item > a, .nav-menu > li.current-menu-item > .menu-toggle-sub { box-shadow: none; color: var(--red-deep); }
	.sub-menu, .is-wide > .sub-menu { position: static; transform: none; width: auto; min-width: 0; box-shadow: none; border: 0; padding: 6px 0 10px; }
	.is-wide > .sub-menu.is-open { grid-template-columns: 1fr 1fr; }
	.site-nav__cta { padding-top: 18px; }
	.site-nav__cta .btn { width: 100%; }
}

/* 6. Hero --------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 104px); }
.hero__flag { position: absolute; top: 50%; right: -4%; width: min(58vw, 820px); height: auto; transform: translateY(-50%) rotate(-6deg); opacity: .045; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.hero--short .hero__flag { width: min(36vw, 460px); opacity: .05; }
@media (max-width: 860px) { .hero__flag { width: 120vw; right: -40%; opacity: .035; } }
.hero__stripes { position: absolute; top: clamp(28px, 5vw, 64px); right: -60px; width: min(46vw, 620px); opacity: .9; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy h1 { max-width: 15ch; }
.hero__media { position: relative; }
.hero__img { width: 100%; border-radius: var(--radius); background: var(--mist); }
.hero__media .sticker { left: -14px; bottom: 18px; }
.hero--text .hero__stripes { width: min(40vw, 520px); }
.hero--text h1 { max-width: 18ch; }
.hero--center { text-align: center; }
.hero > .wrap { position: relative; z-index: 1; }
.hero--center .hero__stripes { top: auto; bottom: 18px; right: -80px; width: min(28vw, 360px); }
.hero--center h1, .hero--center .lede { margin-inline: auto; }
.hero--short { padding-bottom: clamp(32px, 4vw, 56px); }
.hero--short .hero__stripes { top: 50%; transform: translateY(-50%); width: min(30vw, 380px); }
@media (max-width: 860px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__stripes { opacity: .22; right: -120px; width: 90vw; }
	.hero__media .sticker { left: auto; right: 8px; bottom: -14px; }
}

/* 7. Sections ----------------------------------------------------------- */
.logos { padding: 36px 0 44px; border-block: 1px solid var(--line); }
.logos__title { text-align: center; font-family: var(--f-head); font-weight: 600; color: var(--steel); margin-bottom: 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 90s linear infinite; }
.marquee__group { display: flex; flex: none; align-items: center; list-style: none; margin: 0; padding: 0; }
.marquee__group li { flex: none; padding-right: 64px; }
.marquee:hover .marquee__track { display: flex; width: max-content; animation: marquee 90s linear infinite; }
.marquee__group { display: flex; flex: none; align-items: center; list-style: none; margin: 0; padding: 0; }
.marquee__group li { flex: none; padding-right: 64px; }
.marquee__track img { height: 52px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s ease, opacity .2s ease; }
.marquee__track li:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

.statement { padding: var(--sec) 0 calc(var(--sec) * .4); text-align: center; }
.statement h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
.statement p { font-size: 1.15rem; color: var(--steel); max-width: 62ch; margin-inline: auto; }

.feature { padding: calc(var(--sec) * .65) 0; }
.feature__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature--flip .feature__media { order: 2; }
.feature--full .feature__grid { grid-template-columns: 1fr; max-width: 900px; }
.feature__media {
	background: var(--mist); border-radius: var(--radius); padding: clamp(18px, 3vw, 36px);
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), calc(100% - 44px) 100%, 0 100%);
}
.feature__media img { margin-inline: auto; }
.feature__intro { font-size: 1.1rem; color: var(--steel); }
.feature + .feature { border-top: 1px solid var(--line); }
@media (max-width: 860px) {
	.feature__grid { grid-template-columns: 1fr; }
	.feature--flip .feature__media { order: 0; }
	.feature__media { max-width: 520px; }
}
.custom-note { color: var(--steel); font-style: italic; text-align: center; margin: 0 auto calc(var(--sec) * .5); }

/* Revenue calculator, a timing board */
.calc { padding: var(--sec) 0; background: var(--mist); }
.calc__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.calc__note { font-size: .92rem; color: var(--steel); }
.board {
	position: relative; display: grid; gap: 26px;
	padding: clamp(24px, 3.5vw, 40px); color: #fff;
	background: var(--ink); border-radius: 14px;
	box-shadow: 0 30px 60px rgba(35, 31, 32, .25);
}
.board::before { /* red timing light strip */
	content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 5px;
	background: repeating-linear-gradient(90deg, var(--red) 0 34px, transparent 34px 46px); border-radius: 0 0 4px 4px;
}
.board__inputs { display: grid; gap: 22px; }
.board__results { display: grid; gap: 4px; padding-top: 22px; border-top: 1px dashed #4A4547; }
.board__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 6px 0; }
.board__row span { color: #C9CACD; }
.board__row strong { font: 800 clamp(1.5rem, 2.6vw, 2rem)/1 var(--f-head); font-variant-numeric: tabular-nums; }
.board__row--win strong { color: var(--signal); font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.board__gain { justify-self: start; margin-top: 6px; padding: 6px 12px; background: var(--red); border-radius: 5px; transform: skewX(var(--skew)); font-family: var(--f-head); }
.board__gain > * { display: inline-block; transform: skewX(calc(var(--skew) * -1)); }
.board .btn { justify-self: start; }
@media (max-width: 860px) { .calc__grid { grid-template-columns: 1fr; } }

/* Checklist download */
.download { padding: calc(var(--sec) * .6) 0; }
.download__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: clamp(24px, 3vw, 36px); border: 2px solid var(--ink); border-radius: 14px; }
.download__inner h2 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); margin-bottom: .25em; }
.download__inner p { margin: 0; color: var(--steel); }
.download__tag { display: grid; place-items: center; width: 74px; height: 92px; font: 800 1.1rem var(--f-head); color: #fff; background: var(--red); border-radius: 6px; clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%); transform: rotate(-5deg); }
@media (max-width: 760px) { .download__inner { grid-template-columns: 1fr; } .download__tag { display: none; } }

.modal { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 14px; box-shadow: 0 40px 80px rgba(0, 0, 0, .35); }
.modal::backdrop { background: rgba(35, 31, 32, .6); }
.modal__box { position: relative; padding: 36px clamp(22px, 4vw, 40px) 28px; }
.modal__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--mist); border: 0; border-radius: 8px; cursor: pointer; color: var(--ink); }
.hs-form__loading { color: var(--steel); }

/* Five-step starting grid */
.grid-steps { padding: var(--sec) 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: none; }
.step { position: relative; padding: 22px 20px 24px; background: var(--mist); border-radius: var(--radius); }
.step:nth-child(even) { transform: translateY(28px); } /* staggered like a starting grid */
.step__pos { display: block; font: 800 2.6rem/1 var(--f-head); color: var(--red); margin-bottom: 14px; font-style: italic; }
.step h3 { font-size: 1.1rem; }
.step p { margin: 0; color: var(--steel); font-size: .97rem; }
@media (max-width: 960px) {
	.steps { grid-template-columns: 1fr 1fr; }
	.step:nth-child(even) { transform: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Testimonials */
.quotes { padding: var(--sec) 0; background: var(--mist); }
.quotes__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; align-items: stretch; }
.quote { margin: 0; display: flex; flex-direction: column; gap: 16px; padding: 28px; background: #fff; border-radius: var(--radius); }
.quote .ico { width: 34px; height: 28px; color: var(--red); }
.quote blockquote { margin: 0; flex: 1; }
.quote blockquote p { margin: 0; font-size: 1.02rem; }
.quote figcaption { display: grid; font-size: .95rem; }
.quote figcaption span { color: var(--steel); }
.quote--lead { grid-row: span 2; background: var(--ink); color: #fff; }
.quote--lead blockquote p { font: 600 clamp(1.25rem, 2vw, 1.55rem)/1.35 var(--f-head); letter-spacing: -0.01em; }
.quote--lead figcaption span { color: #C9CACD; }
.quote--lead strong { color: #fff; }
@media (max-width: 900px) { .quotes__grid { grid-template-columns: 1fr; } .quote--lead { grid-row: auto; } }

/* Finish line call to action */
.finish { position: relative; background: var(--red); color: #fff; padding: calc(var(--sec) * .8 + 28px) 0 calc(var(--sec) * .8); overflow: hidden; }
.finish__flag {
	position: absolute; top: 0; left: 0; right: 0; height: 28px;
	background: conic-gradient(var(--ink) 25%, #fff 0 50%, var(--ink) 0 75%, #fff 0) 0 0 / 28px 28px;
}
.finish__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.finish h2 { margin-bottom: .35em; }
.finish p { margin-bottom: 0; }
.finish h2 { color: #fff; max-width: 20ch; }
.finish p { color: #FFE3E4; font-size: 1.12rem; max-width: 50ch; }
.finish .btn-row { justify-content: flex-end; margin-top: 0; }
.finish__phone { display: inline-flex; gap: 8px; align-items: center; color: #fff; font-weight: 600; }
.finish__phone:hover { color: var(--ink); }
@media (max-width: 860px) { .finish__inner { grid-template-columns: 1fr; } .finish .btn-row { justify-content: flex-start; } }

/* Homepage */
.industries { padding: var(--sec) 0; }
.ind-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.ind-tile {
	position: relative; display: flex; align-items: flex-end; min-height: 108px; padding: 18px 20px;
	background: var(--mist); color: var(--ink); text-decoration: none; border-radius: var(--radius); overflow: hidden;
	font: 700 1.15rem/1.15 var(--f-head); transition: background-color .18s ease, color .18s ease;
}
.ind-tile::after { content: ""; position: absolute; top: 18px; right: -10px; width: 64px; height: 12px; background: var(--red); transform: skewX(var(--skew)); transition: width .25s ease; }
.ind-tile:hover { background: var(--ink); color: #fff; }
.ind-tile:hover::after { width: 110px; }
.products { padding: 0 0 var(--sec); }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prod-card { display: flex; flex-direction: column; padding: 30px; border: 2px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .18s ease; }
.prod-card:hover { border-color: var(--red); color: var(--ink); }
.prod-card p { color: var(--steel); flex: 1; }
.prod-card__more { font-weight: 700; color: var(--red-deep); }
@media (max-width: 860px) { .prod-grid { grid-template-columns: 1fr; } }

.stats { padding: calc(var(--sec) * .6) 0; background: var(--ink); color: #fff; }
.stats__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; }
.stat { display: flex; flex-direction: column-reverse; gap: 4px; border-left: 4px solid var(--red); padding-left: 18px; }
.stat dd { margin: 0; font: 800 clamp(2.6rem, 5vw, 4rem)/1 var(--f-head); letter-spacing: -0.03em; }
.stat dt { color: #C9CACD; }
@media (max-width: 700px) { .stats__list { grid-template-columns: 1fr; } }

/* Product page tiles */
.tiles { padding: var(--sec) 0; }
.tiles--alt { background: var(--mist); }
.tiles__head { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: end; margin-bottom: 36px; }
.tiles__head p { color: var(--steel); font-size: 1.1rem; margin: 0; }
.tiles__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tile { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.tile__icon { width: 56px; height: 56px; object-fit: contain; margin-bottom: 14px; }
.tile h3 { font-size: 1.1rem; }
.tile p { margin: 0; color: var(--steel); font-size: .97rem; }
@media (max-width: 760px) { .tiles__head { grid-template-columns: 1fr; } }

/* About */
.prose-section { padding: var(--sec) 0; }
.prose-section__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(28px, 5vw, 72px); }
@media (max-width: 860px) { .prose-section__grid { grid-template-columns: 1fr; } }
.support-band { padding: 0 0 var(--sec); }
.support-band__inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; padding: clamp(24px, 4vw, 48px); background: var(--mist); border-radius: 14px; }
.support-band__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.support-band__list a { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; font-size: 1.1rem; }
@media (max-width: 760px) { .support-band__inner { grid-template-columns: 1fr; } }

/* Roadmap and demo booking */
.roadmap { padding: 0 0 var(--sec); }
.tabs { display: inline-flex; gap: 6px; padding: 6px; background: var(--mist); border-radius: 10px; margin-bottom: 20px; }
.tabs__tab { padding: 12px 20px; font: 600 1rem var(--f-head); background: none; border: 0; border-radius: 7px; cursor: pointer; color: var(--ink); }
.tabs__tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.roadmap__panel iframe { width: 100%; height: 900px; border: 1px solid var(--line); border-radius: var(--radius); }
.roadmap__note { color: var(--steel); font-size: .95rem; margin-top: 12px; }
.meeting { padding: 0 0 var(--sec); }
.meeting__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.meeting__side { position: sticky; top: calc(var(--header-h) + 24px); }
.meeting__embed { min-height: 680px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 860px) { .meeting__grid { grid-template-columns: 1fr; } .meeting__side { position: static; } }

/* 404 */
.lost__code { font: 800 clamp(5rem, 16vw, 12rem)/.9 var(--f-head); font-style: italic; color: transparent; -webkit-text-stroke: 3px var(--red); margin: 0 0 .2em; letter-spacing: -0.05em; }

/* 8. Pricing ------------------------------------------------------------ */
.billing { display: inline-flex; gap: 4px; padding: 5px; margin-top: 1.5rem; background: var(--mist); border-radius: 10px; }
.billing__opt { display: inline-flex; gap: 8px; align-items: center; padding: 11px 20px; font: 600 1rem var(--f-head); color: var(--ink); background: none; border: 0; border-radius: 7px; cursor: pointer; }
.billing__opt.is-on { background: var(--ink); color: #fff; }
.billing__save { padding: 2px 8px; font-size: .8rem; font-weight: 800; background: var(--signal); color: var(--ink); border-radius: 4px; }
.plans { padding: 0 0 var(--sec); }
.plans__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border: 2px solid var(--line); border-radius: 14px; background: #fff; }
.plan--featured { border-color: var(--red); box-shadow: 0 24px 50px rgba(223, 39, 45, .14); }
.sticker--plan { top: -16px; right: 18px; font-size: .9rem; }
.plan__name { font-size: 1.6rem; margin-bottom: .25em; }
.plan__for { color: var(--steel); min-height: 3.2em; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0 0 22px; }
.plan__amount { font: 800 3.2rem/1 var(--f-head); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan__amount--text { font-size: 2.6rem; }
.plan__per { color: var(--steel); font-weight: 600; }
.plan__billed { flex-basis: 100%; color: var(--steel); font-size: .9rem; }
.plan .btn { align-self: flex-start; margin-bottom: 26px; }
.plan__features { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.plan__features li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .97rem; }
.plan__features .ico { width: 20px; height: 20px; margin-top: 2px; }
.plan__features .is-in .ico { color: var(--red); }
.plan__features .is-out { color: #8A8B8F; }
.plan__features .is-out .ico { color: #B3B4B8; }
@media (max-width: 920px) { .plans__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .plan__for { min-height: 0; } }
.custom-plan { padding: 0 0 var(--sec); }
.custom-plan__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; padding: clamp(24px, 4vw, 48px); background: var(--mist); border-radius: 14px; }
.custom-plan__img { max-width: 320px; margin-inline: auto; }
@media (max-width: 760px) { .custom-plan__inner { grid-template-columns: 1fr; } }
.faq { padding: var(--sec) 0; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq__side { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font: 600 1.12rem/1.3 var(--f-head); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev { flex: none; width: 28px; height: 28px; border-radius: 6px; background: var(--mist); position: relative; }
.faq__chev::before, .faq__chev::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--ink); transition: transform .2s ease; }
.faq__chev::after { transform: rotate(90deg); }
.faq__item[open] .faq__chev::after { transform: rotate(0); }
.faq__item p { color: var(--steel); padding-bottom: 18px; margin: 0; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } .faq__side { position: static; } }

/* 9. Blog & prose ------------------------------------------------------- */
.posts { padding: 0 0 var(--sec); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.card__link { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.card__media { aspect-ratio: 16 / 9; background: var(--mist); overflow: hidden; position: relative; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card__link:hover .card__media img { transform: scale(1.03); }
.card__stripes { position: absolute; inset: 30% -10% auto 20%; }
.card__body { padding: 20px 22px 24px; }
.card__body time { font-size: .88rem; color: var(--steel); }
.card__body h2 { font-size: 1.25rem; margin: .35em 0 .5em; }
.card__body p { color: var(--steel); font-size: .97rem; margin: 0; }
.card__link:hover h2 { color: var(--red-deep); }
.card--lead { grid-column: 1 / -1; }
.card--lead .card__link { display: grid; grid-template-columns: 1.2fr 1fr; }
.card--lead .card__media { aspect-ratio: auto; min-height: 300px; }
.card--lead .card__body { padding: clamp(24px, 4vw, 44px); align-self: center; }
.card--lead h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } .card--lead .card__link { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pager .page-numbers { padding: 10px 16px; border-radius: 6px; background: var(--mist); color: var(--ink); text-decoration: none; font-weight: 600; }
.pager .current { background: var(--ink); color: #fff; }
.empty { color: var(--steel); }

.post__head { padding: clamp(40px, 6vw, 80px) 0 28px; }
.post__head h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.post__meta { display: flex; gap: 10px; color: var(--steel); font-size: .95rem; }
.post__author { color: var(--steel); }
.post__hero { margin-bottom: 40px; }
.post__hero img { width: 100%; border-radius: var(--radius); }
.post__nav { display: flex; justify-content: space-between; gap: 20px; padding-block: 40px var(--sec); font-weight: 600; }
.entry { padding-bottom: var(--sec); }

.prose { font-size: 1.07rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.85rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.6em; }
.prose img { border-radius: 8px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--red); font-family: var(--f-head); font-size: 1.25rem; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: .9rem; color: var(--steel); }

/* 10. Footer ------------------------------------------------------------ */
.site-footer { background: var(--ink); color: #C9CACD; padding: clamp(56px, 7vw, 88px) 0 32px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--signal); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr .8fr 1.5fr .8fr; gap: 36px; }
.site-footer h2 { color: #fff; font-size: 1rem; letter-spacing: 0; margin-bottom: 14px; }
.site-footer__logo img { width: 170px; margin-bottom: 20px; }
.site-footer address { font-style: normal; margin-bottom: 14px; }
.site-footer__contact { display: grid; gap: 8px; }
.site-footer__contact a { display: inline-flex; gap: 8px; align-items: center; }
.social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: inline-block; padding: 6px 12px; border: 1px solid #4A4547; border-radius: 6px; font-size: .9rem; }
.social a:hover { border-color: var(--signal); }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-menu a { color: #C9CACD; }
.footer-menu--cols { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.site-footer__base { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; margin-top: 56px; padding-top: 24px; border-top: 1px solid #3A3536; }
.site-footer__tagline { margin: 0; font: 700 1.15rem var(--f-head); color: #fff; font-style: italic; }
.site-footer__badges { display: flex; gap: 14px; align-items: center; }
.site-footer__copy { margin: 0; font-size: .9rem; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* 11. Motion ------------------------------------------------------------ */
/* One orchestrated moment: the hero stripes race in on load. */
.js .hero__stripes i { transform: skewX(var(--skew)) translateX(60%); opacity: 0; }
.js.is-loaded .hero__stripes i { transition: transform .9s cubic-bezier(.2, .8, .2, 1), opacity .5s ease; transform: skewX(var(--skew)); }
.js.is-loaded .hero__stripes i:nth-child(1) { opacity: 1; }
.js.is-loaded .hero__stripes i:nth-child(2) { opacity: .55; transition-delay: .08s; }
.js.is-loaded .hero__stripes i:nth-child(3) { opacity: .25; transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
	.js .hero__stripes i { transform: skewX(var(--skew)); opacity: 1; }
	.js .hero__stripes i:nth-child(2) { opacity: .55; }
	.js .hero__stripes i:nth-child(3) { opacity: .25; }
	.marquee__track { display: flex; width: max-content; animation: marquee 90s linear infinite; }
.marquee__group { display: flex; flex: none; align-items: center; list-style: none; margin: 0; padding: 0; }
.marquee__group li { flex: none; padding-right: 64px; }
	.marquee__track li[aria-hidden="true"] { display: none; }
	.btn:hover { transform: skewX(var(--skew)); }
}

/* 12. Homepage, contact and legal (added with the homepage rebuild) ------ */
.kicker { font: 700 1rem var(--f-head); color: var(--red-deep); margin-bottom: .4em; }
.results { padding: var(--sec) 0; background: var(--ink); color: #fff; }
.results h2 { color: #fff; }
.results__board { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.results__board li { display: flex; flex-direction: column; gap: 6px; padding: 26px 22px; background: #2E292A; border-radius: var(--radius); border-top: 5px solid var(--red); }
.results__board strong { font: 800 clamp(2.6rem, 5vw, 3.8rem)/1 var(--f-head); color: var(--signal); letter-spacing: -0.03em; font-style: italic; }
.results__board span { color: #C9CACD; font-size: 1.05rem; }
@media (max-width: 860px) { .results__board { grid-template-columns: 1fr 1fr; } }
.venues { padding: var(--sec) 0; }
.venues__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.venue { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 14px 14px 18px; background: var(--mist); border-radius: var(--radius); font: 700 1.08rem/1.2 var(--f-head); color: var(--ink); text-decoration: none; transition: background-color .18s ease, color .18s ease; }
.venue__thumb { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border-radius: 8px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.venue:hover { background: var(--ink); color: #fff; }
.chips--links a { color: var(--ink); text-decoration: none; }
.chips--links li:hover { border-color: var(--ink); }
.benefits { padding: var(--sec) 0; }
.about-band { padding: var(--sec) 0; background: var(--mist); }
.numbers { padding: var(--sec) 0; }
.numbers__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 24px; }
.number { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; }
.number__icon { grid-row: span 2; width: 56px; height: 56px; object-fit: contain; }
.number__icon--flag { display: block; border-radius: 6px; background: conic-gradient(var(--ink) 25%, #fff 0 50%, var(--ink) 0 75%, #fff 0) 0 0 / 18px 18px; border: 2px solid var(--ink); transform: skewX(var(--skew)); }
.number strong { font: 800 clamp(2rem, 3.4vw, 2.8rem)/1 var(--f-head); letter-spacing: -0.03em; }
.number span { color: var(--steel); }
@media (max-width: 860px) { .numbers__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .numbers__grid { grid-template-columns: 1fr; } }
.contact { padding: 0 0 var(--sec); }
.contact__grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.contact__form { padding: clamp(24px, 4vw, 40px); border: 2px solid var(--ink); border-radius: 14px; }
.contact__side { display: grid; gap: 16px; }
.contact__card { padding: 24px; background: var(--mist); border-radius: var(--radius); }
.contact__card h2 { font-size: 1.3rem; }
.contact__card address { font-style: normal; }
.contact__card--dark { background: var(--ink); color: #C9CACD; }
.contact__card--dark h2 { color: #fff; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }
.hs-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .hs-form select, .hs-form textarea { width: 100% !important; min-height: 48px; padding: 10px 14px; font: inherit; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; }
.hs-form textarea { min-height: 120px; }
.hs-form label { font-weight: 600; font-size: .95rem; }
.hs-form .hs-form-field { margin-bottom: 16px; }
.hs-form fieldset { max-width: none !important; }
.hs-form .hs-error-msgs { list-style: none; padding: 0; margin: 4px 0 0; color: var(--red-deep); font-size: .9rem; }
.hs-form input[type="submit"] { min-height: 50px; padding: 0 28px; font: 700 1rem var(--f-head); color: #fff; background: var(--red); border: 0; border-radius: 6px; cursor: pointer; }
.hs-form input[type="submit"]:hover { background: var(--red-deep); }
.legal .prose h2 { font-size: 1.5rem; }

/* 13. Calculator controls (prefixed so old-site CSS can't touch them), slogan strip, about band */
.board__inputs { display: grid; gap: 26px; }
.calc-range { display: block; }
.calc-range__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 10px; }
.calc-range__top label { color: #C9CACD; font-weight: 500; }
.calc-range__val { font: 700 1.5rem/1 var(--f-head); font-variant-numeric: tabular-nums; color: #fff; }
.board .calc-range input.calc-range__input { -webkit-appearance: none; appearance: none; position: static; display: block; float: none; width: 100%; height: 28px; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; cursor: pointer; }
.board .calc-range input.calc-range__input::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--red) var(--fill, 50%), #4A4547 var(--fill, 50%)); }
.board .calc-range input.calc-range__input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 6px; background: #fff; border: 4px solid var(--red); transform: skewX(var(--skew)); }
.board .calc-range input.calc-range__input::-moz-range-track { height: 6px; border-radius: 3px; background: #4A4547; }
.board .calc-range input.calc-range__input::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--red); }
.board .calc-range input.calc-range__input::-moz-range-thumb { width: 18px; height: 18px; border-radius: 6px; background: #fff; border: 4px solid var(--red); }
.board .calc-range input.calc-range__input:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }
.about-band__inner { text-align: center; }
.about-band__inner p:not(.kicker) { color: var(--steel); font-size: 1.12rem; }
.about-band__inner .btn-row { justify-content: center; }
.slogan { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 88px) 0; background: #fff; text-align: center; }
.slogan__flag { position: absolute; top: 50%; left: 50%; width: min(110vw, 1100px); height: auto; transform: translate(-50%, -50%) rotate(-4deg); opacity: .05; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); }
.slogan__text { position: relative; margin: 0; white-space: nowrap; font: 800 clamp(1.05rem, 4.2vw, 3.4rem)/1.1 var(--f-head); letter-spacing: -0.03em; font-style: italic; color: var(--ink); }
