/* ==========================================================================
   BetterHype — brand fonts (Brandon Grotesque, self-hosted from
   data/Brandon_Grotesque, licensed font files supplied directly)
   ========================================================================== */
@font-face { font-family: 'Brandon Grotesque'; src: url('../fonts/brandon-grotesque/Brandon_thin.otf') format('opentype'); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'Brandon Grotesque'; src: url('../fonts/brandon-grotesque/Brandon_thin_it.otf') format('opentype'); font-weight: 100; font-style: italic; font-display: swap; }
@font-face { font-family: 'Brandon Grotesque'; src: url('../fonts/brandon-grotesque/Brandon_light.otf') format('opentype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Brandon Grotesque'; src: url('../fonts/brandon-grotesque/Brandon_light_it.otf') format('opentype'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Brandon Grotesque'; src: url('../fonts/brandon-grotesque/Brandon_reg.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Brandon Grotesque'; src: url('../fonts/brandon-grotesque/Brandon_reg_it.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Brandon Grotesque'; src: url('../fonts/brandon-grotesque/Brandon_med.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Brandon Grotesque'; src: url('../fonts/brandon-grotesque/Brandon_med_it.otf') format('opentype'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Brandon Grotesque'; src: url('../fonts/brandon-grotesque/Brandon_bld.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Brandon Grotesque'; src: url('../fonts/brandon-grotesque/Brandon_bld_it.otf') format('opentype'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Brandon Grotesque'; src: url('../fonts/brandon-grotesque/Brandon_blk.otf') format('opentype'); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Brandon Grotesque'; src: url('../fonts/brandon-grotesque/Brandon_blk_it.otf') format('opentype'); font-weight: 900; font-style: italic; font-display: swap; }

/* ==========================================================================
   BetterHype — design tokens
   Colors and fonts below are the real brand values from data/DESIGN.md,
   cross-confirmed against the color swatch frames on the Figma "research"
   canvas (Frame 910/911/912/913). DESIGN.md was authored for the dashboard
   app surface (dark UI), so these values are applied here in ways that suit
   the light marketing-site wireframe: black/magenta/blue as accents and dark
   surfaces, not as the page background.
   ========================================================================== */
:root {
	--color-ink: #000000;             /* color.surface.base */
	--color-border-strong: #040922;   /* color.border.default */
	--color-accent: #ff00a8;          /* color.surface.raised — primary brand accent */
	--color-accent-secondary: #1825d8; /* color.surface.strong — secondary brand accent */
	--color-text-inverse: #3269ff;    /* color.text.inverse */
	--color-white: #ffffff;           /* color.text.secondary */
	--color-cream: #fbf6ee;
	--color-gray-100: #e5e1da;
	--color-gray-500: #6b6b6b;

	--font-display: 'Brandon Grotesque', 'Roboto Slab', serif;
	--font-body: 'Roboto Slab', Arial, Helvetica, sans-serif;
	--font-accent: 'Rethink Sans', sans-serif;

	--bh-container-width: 1200px;
	--bh-section-padding-y: 96px;
	--bh-radius: 12px;
	--bh-radius-pill: 50px;
	--bh-shadow-1: rgba(0, 0, 0, 0.06) 0px 1px 6px 0px, rgba(0, 0, 0, 0.16) 0px 2px 32px 0px;
}

@media (max-width: 768px) {
	:root {
		--bh-section-padding-y: 56px;
	}
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--color-ink);
	background: var(--color-white);
	line-height: 1.5;
}
h1, h2, h3 { font-family: var(--font-display); margin: 0 0 0.5em; line-height: 1.15; }
p { margin: 0 0 1em; }
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

.bh-container {
	max-width: var(--bh-container-width);
	margin: 0 auto;
	padding: 0 24px;
}

.bh-section { padding: var(--bh-section-padding-y) 0; }

.bh-eyebrow {
	font-family: var(--font-accent);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.8rem;
	color: var(--color-accent);
	margin-bottom: 0.75em;
}

.bh-section__heading { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.bh-section__body { color: var(--color-gray-500); }

.bh-placeholder-image {
	background: var(--color-gray-100);
	border-radius: var(--bh-radius);
	aspect-ratio: 16 / 9;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.bh-placeholder-image img { width: 100%; height: 100%; object-fit: cover; }

/* Buttons */
.bh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	border-radius: var(--bh-radius-pill);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	border: 1px solid transparent;
}
.bh-btn--primary { background: var(--color-ink); color: var(--color-white); }
.bh-btn--secondary { background: transparent; color: var(--color-ink); border-color: var(--color-ink); }
.bh-btn--on-dark { background: transparent; color: var(--color-white); border-color: var(--color-white); }

/* ==========================================================================
   Navbar
   ========================================================================== */
.bh-navbar { border-bottom: 1px solid var(--color-gray-100); background: var(--color-white); position: sticky; top: 0; z-index: 50; }
.bh-navbar__inner { display: flex; align-items: center; gap: 32px; padding-top: 16px; padding-bottom: 16px; }
.bh-navbar__logo { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; text-decoration: none; }
.bh-navbar__menu { flex: 1; }
.bh-navbar__links { display: flex; gap: 24px; }
.bh-navbar__links a { text-decoration: none; font-weight: 500; }
.bh-navbar__links a:hover { color: var(--color-accent-secondary); }
.bh-navbar__toggle { display: none; background: none; border: 0; flex-direction: column; gap: 4px; cursor: pointer; }
.bh-navbar__toggle span { width: 22px; height: 2px; background: var(--color-ink); }

@media (max-width: 768px) {
	.bh-navbar__menu { display: none; }
	.bh-navbar__menu.is-open {
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--color-white);
		border-bottom: 1px solid var(--color-gray-100);
		padding: 16px 24px;
	}
	.bh-navbar__menu.is-open .bh-navbar__links { flex-direction: column; gap: 16px; }
	.bh-navbar__cta { display: none; }
	.bh-navbar__toggle { display: flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.bh-hero__inner { display: grid; grid-template-columns: 1fr; gap: 40px; text-align: center; }
.bh-hero__content { max-width: 720px; margin: 0 auto; }
.bh-hero__heading { font-size: clamp(2rem, 4vw, 3rem); }
.bh-hero__body { color: var(--color-gray-500); font-size: 1.125rem; }
.bh-hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.bh-hero__media { max-width: 960px; margin: 0 auto; width: 100%; }
.bh-hero--compact .bh-hero__media { aspect-ratio: 21 / 9; }

/* ==========================================================================
   Content Layout (image + text)
   ========================================================================== */
.bh-layout__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.bh-layout--image-left .bh-layout__media { order: -1; }
@media (max-width: 768px) {
	.bh-layout__inner { grid-template-columns: 1fr; }
	.bh-layout--image-left .bh-layout__media { order: 0; }
}

/* ==========================================================================
   Feature grid
   ========================================================================== */
.bh-feature-grid__items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.bh-feature-grid__item { text-align: center; }
.bh-feature-grid__icon { width: 48px; height: 48px; margin: 0 auto 16px; }
@media (max-width: 768px) {
	.bh-feature-grid__items { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Two card split
   ========================================================================== */
.bh-two-card-split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bh-two-card-split__card {
	background: var(--color-ink);
	color: var(--color-white);
	border-radius: var(--bh-radius);
	padding: 40px;
}
.bh-two-card-split__card p { color: rgba(255, 255, 255, 0.75); }
@media (max-width: 768px) {
	.bh-two-card-split__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Logo strip
   ========================================================================== */
.bh-logo-strip { padding-top: 32px; padding-bottom: 32px; }
.bh-logo-strip__heading { text-align: center; color: var(--color-gray-500); margin-bottom: 24px; }
.bh-logo-strip__logos { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.bh-logo-strip__logo img { max-height: 28px; width: auto; filter: grayscale(1); opacity: 0.6; }

/* ==========================================================================
   Blog grid
   ========================================================================== */
.bh-blog-grid__header { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.bh-blog-grid__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bh-blog-grid__card {
	display: block;
	text-decoration: none;
	background: var(--color-cream);
	border-radius: var(--bh-radius);
	padding: 24px;
	box-shadow: var(--bh-shadow-1);
}
.bh-blog-grid__tag {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--color-accent);
	margin-bottom: 12px;
}
@media (max-width: 768px) {
	.bh-blog-grid__header { flex-direction: column; align-items: flex-start; }
	.bh-blog-grid__cards { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Team grid
   ========================================================================== */
.bh-team-grid__members { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.bh-team-grid__photo { aspect-ratio: 1 / 1; margin-bottom: 16px; }
.bh-team-grid__name { font-weight: 600; margin-bottom: 0.25em; }
.bh-team-grid__role { color: var(--color-gray-500); }
@media (max-width: 768px) {
	.bh-team-grid__members { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Comparison table
   ========================================================================== */
.bh-comparison-table__table { width: 100%; border-collapse: collapse; }
.bh-comparison-table__table th,
.bh-comparison-table__table td {
	text-align: left;
	padding: 16px;
	border-bottom: 1px solid var(--color-gray-100);
}
.bh-comparison-table__table th:not(:first-child),
.bh-comparison-table__table td:not(:first-child) { text-align: center; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.bh-faq__inner { max-width: 720px; }
.bh-faq__item { border-bottom: 1px solid var(--color-gray-100); padding: 20px 0; }
.bh-faq__item summary { cursor: pointer; font-weight: 600; list-style: none; }
.bh-faq__item summary::-webkit-details-marker { display: none; }
.bh-faq__item p { margin-top: 12px; color: var(--color-gray-500); }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.bh-cta-banner__inner { text-align: center; border-radius: var(--bh-radius); padding: 64px 32px; }
.bh-cta-banner--dark { background: var(--color-ink); color: var(--color-white); }
.bh-cta-banner--dark p { color: rgba(255, 255, 255, 0.75); }
.bh-cta-banner--light { background: var(--color-cream); }

/* ==========================================================================
   Footer
   ========================================================================== */
.bh-footer { border-top: 1px solid var(--color-gray-100); padding: 64px 0 32px; }
.bh-footer__inner { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; margin-bottom: 48px; }
.bh-footer__newsletter { margin-top: 16px; }
.bh-footer__newsletter-form { display: flex; gap: 8px; margin-top: 12px; }
.bh-footer__newsletter-form input {
	flex: 1;
	padding: 10px 14px;
	border: 1px solid var(--color-gray-100);
	border-radius: 999px;
}
.bh-footer__column-heading { font-weight: 600; margin-bottom: 12px; }
.bh-footer__column-links li { margin-bottom: 8px; }
.bh-footer__column-links a { text-decoration: none; color: var(--color-gray-500); }
.bh-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 24px;
	border-top: 1px solid var(--color-gray-100);
	color: var(--color-gray-500);
	font-size: 0.875rem;
}
.bh-footer__socials { display: flex; gap: 16px; }

@media (max-width: 768px) {
	.bh-footer__inner { grid-template-columns: 1fr; }
	.bh-footer__bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
}
