/* =========================================================================
   Anovate — main stylesheet
   Palette: navy ink #0C1A2A · charcoal #17232F · paper #F6F6F2
            brass accent #B78A45 · score green/amber/red
   Type:    Bricolage Grotesque (display) · Figtree (body) · IBM Plex Mono (labels)
   ====================================================================== */

:root {
	--ink: #0C1A2A;
	--charcoal: #17232F;
	--panel: #1E2B39;
	--paper: #F6F6F2;
	--paper-soft: #EDEDE7;
	--text: #1C2733;
	--text-soft: #4C5A67;
	--light: #F3F5F7;
	--light-soft: #A9B6C2;
	--brass: #B78A45;
	--brass-deep: #96702F;
	--green: #2E9E62;
	--green-soft: rgba(46, 158, 98, 0.12);
	--amber: #D9A13B;
	--amber-soft: rgba(217, 161, 59, 0.14);
	--red: #BF5147;
	--red-soft: rgba(191, 81, 71, 0.12);
	--line-light: rgba(12, 26, 42, 0.12);
	--line-dark: rgba(243, 245, 247, 0.14);
	--display: "Bricolage Grotesque", Georgia, serif;
	--body: "Figtree", -apple-system, "Segoe UI", sans-serif;
	--mono: "IBM Plex Mono", ui-monospace, monospace;
	--radius: 10px;
	--wrap: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px;
	clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}
.skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--brass); color: #fff; padding: 10px 18px; z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* -------------------------------------------------------------------------
   Typography
   ---------------------------------------------------------------------- */
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.01em; }

.eyebrow {
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--brass);
	margin-bottom: 16px;
}
.eyebrow-light { color: var(--brass); }

.section-title {
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 700;
	margin-bottom: 22px;
	max-width: 21em;
}
.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }

.lede { font-size: 19px; color: var(--text-soft); margin-bottom: 18px; max-width: 46em; }
.lede.center { margin-left: auto; margin-right: auto; text-align: center; }
.lede.strong { color: var(--text); font-weight: 500; }

.fineprint { font-size: 14px; color: var(--text-soft); margin-top: 26px; max-width: 52em; }
.fineprint.center { margin-left: auto; margin-right: auto; text-align: center; }
.fineprint-light { color: var(--light-soft); }

/* -------------------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------------- */
.btn {
	display: inline-block;
	font-family: var(--body);
	font-weight: 600;
	font-size: 16px;
	line-height: 1;
	padding: 16px 26px;
	border-radius: var(--radius);
	text-decoration: none;
	border: 1px solid transparent;
	transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brass); color: #fff; }
.btn-primary:hover { background: var(--brass-deep); }
.btn-ghost { background: transparent; color: var(--light); border-color: var(--line-dark); }
.btn-ghost:hover { border-color: var(--light-soft); }
.btn-ghost-dark { background: transparent; color: var(--text); border-color: var(--line-light); }
.btn-ghost-dark:hover { border-color: var(--text-soft); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-lg { padding: 19px 34px; font-size: 18px; }
.btn-block { display: block; text-align: center; }

/* -------------------------------------------------------------------------
   Header
   ---------------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(12, 26, 42, 0.96);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line-dark);
}
.header-inner {
	display: flex; align-items: center; gap: 28px;
	min-height: 68px;
}
.brand-mark {
	font-family: var(--display);
	font-weight: 700; font-size: 21px;
	color: var(--light); text-decoration: none;
	display: inline-flex; align-items: center; gap: 9px;
}
.brand-dot {
	width: 10px; height: 10px; border-radius: 2px;
	background: var(--brass); display: inline-block;
	transform: rotate(45deg);
}
.site-nav { margin-left: auto; }
.nav-list { display: flex; gap: 26px; }
.nav-list a {
	color: var(--light-soft); text-decoration: none;
	font-size: 15px; font-weight: 500;
	transition: color 0.15s ease;
}
.nav-list a:hover { color: var(--light); }

.nav-toggle {
	display: none;
	margin-left: auto;
	background: none; border: 1px solid var(--line-dark);
	border-radius: 8px; width: 44px; height: 40px;
	cursor: pointer; position: relative;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
	content: ""; display: block; position: absolute;
	left: 11px; width: 22px; height: 2px;
	background: var(--light); border-radius: 2px;
}
.nav-toggle-bar { top: 19px; }
.nav-toggle-bar::before { top: -7px; left: 0; }
.nav-toggle-bar::after { top: 7px; left: 0; }

.mobile-nav { background: var(--ink); border-top: 1px solid var(--line-dark); padding: 18px 24px 26px; }
.mobile-nav-list { margin-bottom: 18px; }
.mobile-nav-list a {
	display: block; padding: 12px 0;
	color: var(--light); text-decoration: none;
	font-size: 17px; font-weight: 500;
	border-bottom: 1px solid var(--line-dark);
}

/* -------------------------------------------------------------------------
   Hero
   ---------------------------------------------------------------------- */
.hero {
	background:
		radial-gradient(1100px 520px at 85% -10%, rgba(183, 138, 69, 0.10), transparent 60%),
		var(--ink);
	color: var(--light);
	padding: 88px 0 96px;
}
.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	gap: 64px;
	align-items: center;
}
.hero-title {
	font-size: clamp(34px, 4.6vw, 56px);
	font-weight: 700;
	margin-bottom: 22px;
}
.hero-sub { font-size: 19px; color: var(--light-soft); margin-bottom: 30px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.hero-support { font-size: 15px; color: var(--light-soft); max-width: 36em; }

/* Signature: call-triage console */
.hero-console {
	background: var(--panel);
	border: 1px solid var(--line-dark);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.console-head {
	display: flex; justify-content: space-between; align-items: center;
	padding: 14px 18px;
	border-bottom: 1px solid var(--line-dark);
	font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
	color: var(--light-soft);
}
.console-live { display: inline-flex; align-items: center; gap: 7px; color: var(--green); }
.live-dot {
	width: 7px; height: 7px; border-radius: 50%;
	background: var(--green);
	animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.35; }
}
.console-list { padding: 8px 0; }
.call {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto auto;
	gap: 4px 12px;
	padding: 14px 18px;
	border-bottom: 1px solid rgba(243, 245, 247, 0.06);
	opacity: 0;
	transform: translateY(8px);
	animation: call-in 0.55s ease forwards;
}
.call:nth-child(1) { animation-delay: 0.25s; }
.call:nth-child(2) { animation-delay: 0.85s; }
.call:nth-child(3) { animation-delay: 1.45s; }
.call:nth-child(4) { animation-delay: 2.05s; }
@keyframes call-in {
	to { opacity: 1; transform: translateY(0); }
}
.call-meta { grid-row: 1 / 3; }
.call-name { display: block; font-weight: 600; font-size: 15px; color: var(--light); }
.call-detail { display: block; font-size: 13px; color: var(--light-soft); margin-top: 2px; }
.call-action {
	grid-column: 2;
	font-family: var(--mono); font-size: 11px;
	color: var(--light-soft); text-align: right;
}
.console-foot {
	padding: 13px 18px;
	font-size: 13px; color: var(--light-soft);
	border-top: 1px solid var(--line-dark);
	background: rgba(0, 0, 0, 0.18);
}

/* Score tags */
.tag {
	font-family: var(--mono);
	font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
	padding: 4px 10px; border-radius: 5px;
	display: inline-block; text-align: center;
	justify-self: end;
}
.tag-green { background: var(--green-soft); color: var(--green); border: 1px solid rgba(46, 158, 98, 0.4); }
.tag-yellow { background: var(--amber-soft); color: var(--amber); border: 1px solid rgba(217, 161, 59, 0.4); }
.tag-red { background: var(--red-soft); color: var(--red); border: 1px solid rgba(191, 81, 71, 0.4); }

/* -------------------------------------------------------------------------
   Sections
   ---------------------------------------------------------------------- */
.section { padding: 96px 0; }
.section-tight { padding-top: 72px; padding-bottom: 72px; }
.section-light { background: var(--paper); }
.section-light + .section-light { padding-top: 0; }
.section-dark { background: var(--charcoal); color: var(--light); }
.section-dark .lede { color: var(--light-soft); }
.section-dark p { color: var(--light-soft); }
.section-dark .section-title { color: var(--light); }

/* Pain grid */
.pain-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 12px;
	margin-top: 42px;
}
.pain-item {
	background: #fff;
	border: 1px solid var(--line-light);
	border-radius: var(--radius);
	padding: 16px 18px;
	font-weight: 500; font-size: 15px;
	display: flex; align-items: center; gap: 12px;
}
.pain-x {
	color: var(--red); font-weight: 700; font-size: 18px;
	line-height: 1;
}

/* Steps grid (dark) */
.steps-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	margin-top: 48px;
}
.step-card {
	background: var(--panel);
	border: 1px solid var(--line-dark);
	border-radius: var(--radius);
	padding: 26px 22px;
}
.step-num {
	font-family: var(--mono); font-size: 12px;
	color: var(--brass); letter-spacing: 0.12em;
}
.step-title { font-size: 21px; margin: 10px 0 8px; color: var(--light); }
.step-text { font-size: 14.5px; color: var(--light-soft); }

/* Flow strip */
.flow-strip {
	display: flex; flex-wrap: wrap; justify-content: center;
	gap: 10px; margin-top: 44px;
	counter-reset: flow;
}
.flow-stage {
	font-family: var(--mono); font-size: 13px;
	background: #fff; border: 1px solid var(--line-light);
	border-radius: 999px; padding: 11px 18px;
	position: relative;
	display: inline-flex; align-items: center; gap: 8px;
}
.flow-stage:not(:last-child)::after {
	content: "→";
	color: var(--brass);
	margin-left: 8px;
}

/* Scoring cards */
.score-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 22px;
	margin-top: 46px;
}
.score-card {
	background: #fff;
	border: 1px solid var(--line-light);
	border-top: 4px solid var(--line-light);
	border-radius: var(--radius);
	padding: 28px 26px;
}
.score-card-green { border-top-color: var(--green); }
.score-card-yellow { border-top-color: var(--amber); }
.score-card-red { border-top-color: var(--red); }
.score-card h3 { font-size: 20px; margin: 14px 0 14px; }
.score-card ul li {
	position: relative;
	padding: 7px 0 7px 22px;
	font-size: 15px; color: var(--text-soft);
	border-bottom: 1px solid rgba(12, 26, 42, 0.06);
}
.score-card ul li:last-child { border-bottom: none; }
.score-card ul li::before {
	content: "—";
	position: absolute; left: 0;
	color: var(--brass);
}

/* Split layouts */
.split {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 64px;
	align-items: center;
}
.split-copy p { margin-bottom: 16px; }

.check-list { margin: 18px 0 20px; }
.check-list li {
	position: relative;
	padding: 8px 0 8px 30px;
	font-size: 15.5px;
}
.check-list li::before {
	content: "✓";
	position: absolute; left: 0; top: 8px;
	color: var(--green);
	font-weight: 700;
}
.section-dark .check-list li { color: var(--light); }

/* Transcript panel */
.transcript {
	background: var(--panel);
	border: 1px solid var(--line-dark);
	border-radius: 14px;
	padding: 28px 26px;
	display: flex; flex-direction: column; gap: 12px;
}
.t-line {
	font-size: 14.5px;
	padding: 12px 16px;
	border-radius: 10px;
	max-width: 88%;
	margin: 0;
}
.t-ai {
	background: rgba(183, 138, 69, 0.12);
	border: 1px solid rgba(183, 138, 69, 0.3);
	color: var(--light) !important;
	align-self: flex-start;
}
.t-caller {
	background: rgba(243, 245, 247, 0.07);
	border: 1px solid var(--line-dark);
	color: var(--light-soft) !important;
	align-self: flex-end;
}
.t-note {
	font-family: var(--mono);
	font-size: 11.5px; letter-spacing: 0.06em;
	color: var(--green) !important;
	background: var(--green-soft);
	border: 1px solid rgba(46, 158, 98, 0.35);
	align-self: stretch; max-width: 100%;
	text-align: center;
}

/* Feature grid */
.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
	gap: 20px;
	margin-top: 44px;
}
.feature-card {
	background: #fff;
	border: 1px solid var(--line-light);
	border-radius: var(--radius);
	padding: 24px 22px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--text-soft); }

/* Before / after */
.ba-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 26px;
	margin-top: 48px;
}
.ba-col {
	border-radius: var(--radius);
	padding: 30px 28px;
	border: 1px solid var(--line-dark);
}
.ba-before { background: rgba(191, 81, 71, 0.07); }
.ba-after { background: rgba(46, 158, 98, 0.07); }
.ba-head {
	font-family: var(--mono); font-size: 13px; font-weight: 500;
	letter-spacing: 0.14em; text-transform: uppercase;
	margin-bottom: 18px;
}
.ba-before .ba-head { color: var(--red); }
.ba-after .ba-head { color: var(--green); }
.ba-col ul li {
	padding: 9px 0 9px 24px;
	position: relative;
	font-size: 15.5px;
	color: var(--light);
	border-bottom: 1px solid rgba(243, 245, 247, 0.07);
}
.ba-col ul li:last-child { border-bottom: none; }
.ba-before ul li::before { content: "×"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.ba-after ul li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* Journey timeline */
.journey { margin-top: 44px; border-left: 2px solid var(--line-light); }
.journey-step {
	position: relative;
	padding: 0 0 34px 34px;
}
.journey-step:last-child { padding-bottom: 0; }
.journey-step::before {
	content: "";
	position: absolute; left: -7px; top: 7px;
	width: 12px; height: 12px; border-radius: 3px;
	background: var(--brass);
	transform: rotate(45deg);
}
.journey-step h3 { font-size: 20px; margin-bottom: 5px; }
.journey-step p { font-size: 15.5px; color: var(--text-soft); }

/* Who grid */
.who-grid {
	display: flex; flex-wrap: wrap; justify-content: center;
	gap: 12px; margin: 40px 0 34px;
}
.who-item {
	background: #fff;
	border: 1px solid var(--line-light);
	border-radius: 999px;
	padding: 12px 22px;
	font-weight: 500; font-size: 15px;
}

/* Credibility / testimonials */
.testimonial-frame {
	background: #fff;
	border: 1px solid var(--line-light);
	border-radius: 14px;
	padding: 26px 24px;
}
.testimonial-intro { font-size: 14.5px; color: var(--text-soft); margin-bottom: 16px; }
.testimonial-placeholder {
	background: var(--paper-soft);
	border: 1px dashed var(--line-light);
	border-radius: var(--radius);
	padding: 40px 20px;
	text-align: center;
	color: var(--text-soft);
	font-family: var(--mono); font-size: 13px;
	margin-bottom: 12px;
}
.testimonial-frame .fineprint { margin-top: 12px; }

/* FAQ */
.faq-list { margin-top: 40px; }
.faq-item {
	background: #fff;
	border: 1px solid var(--line-light);
	border-radius: var(--radius);
	margin-bottom: 10px;
	overflow: hidden;
}
.faq-item summary {
	cursor: pointer;
	padding: 18px 48px 18px 22px;
	font-weight: 600; font-size: 16.5px;
	list-style: none;
	position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: "+";
	position: absolute; right: 20px; top: 50%;
	transform: translateY(-50%);
	font-family: var(--mono); font-size: 20px;
	color: var(--brass);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
	padding: 0 22px 20px;
	font-size: 15.5px; color: var(--text-soft);
}

/* CTA section */
.section-cta {
	background:
		radial-gradient(900px 420px at 50% 120%, rgba(183, 138, 69, 0.12), transparent 65%),
		var(--ink);
	padding: 110px 0;
}
.section-cta .section-title { max-width: none; }
.cta-actions { margin: 34px 0 22px; }

/* -------------------------------------------------------------------------
   Footer
   ---------------------------------------------------------------------- */
.site-footer {
	background: var(--ink);
	color: var(--light-soft);
	padding: 72px 0 36px;
}
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 44px;
	padding-bottom: 44px;
	border-bottom: 1px solid var(--line-dark);
}
.brand-mark-light { color: var(--light); }
.footer-tag { font-size: 14.5px; margin-top: 14px; max-width: 28em; }
.footer-heading {
	font-family: var(--mono);
	font-size: 12px; font-weight: 500;
	letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--light);
	margin-bottom: 16px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
	color: var(--light-soft); text-decoration: none;
	font-size: 14.5px;
}
.footer-links a:hover { color: var(--light); }
.footer-bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between;
	gap: 12px; padding-top: 28px;
	font-size: 13px;
}
.footer-note { max-width: 46em; }

/* Scroll reveal */
.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; }
}

/* -------------------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------------- */
@media (max-width: 960px) {
	.hero-grid, .split { grid-template-columns: 1fr; gap: 48px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.site-nav, .header-cta { display: none; }
	.nav-toggle { display: block; }
}

@media (max-width: 640px) {
	.section { padding: 68px 0; }
	.hero { padding: 60px 0 72px; }
	.ba-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
	.hero-actions .btn { width: 100%; text-align: center; }
	.flow-stage:not(:last-child)::after { content: "↓"; margin-left: 6px; }
	.flow-strip { flex-direction: column; align-items: stretch; }
	.flow-stage { justify-content: space-between; }
}
