/* =============================================================================
   Concord WABA — concord-waba.concordtechnosoft.com
   Palette and type follow concordtechnosoft.com so the two read as one company.
   Deliberately no WhatsApp green: we do not claim an official association.
   ========================================================================== */

:root {
	--navy: #0b1e42;
	--navy-2: #14295a;
	--blue-deep: #2860a8;
	--blue-bright: #18b8f8;
	--blue-ink: #1c4a86;

	--paper: #ffffff;
	--paper-alt: #f4f7fb;
	--ink: #1a2233;
	--ink-soft: #5b6577;
	--line: #e2e8f1;

	--shell: 1200px;
	--narrow: 780px;

	--font-display: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, sans-serif;

	--radius: 12px;
	--radius-lg: 20px;

	/* Chat mockup. Green because colour is information here — a reader
	   recognises what they are looking at before reading a word. We depict a
	   conversation; we do not reproduce the WhatsApp logo. */
	--chat-head: #075e54;
	--chat-bg: #efeae2;
	--chat-in: #ffffff;
	--chat-out: #d9fdd3;
	--chat-ink: #111b21;
	--chat-time: #667781;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.18; margin: 0; letter-spacing: -0.015em; }
p { margin: 0 0 1rem; }
a { color: var(--blue-deep); }
img { max-width: 100%; height: auto; }

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

.shell { width: min(100% - 2.5rem, var(--shell)); margin-inline: auto; }
.narrow { max-width: var(--narrow); }

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--alt { background: var(--paper-alt); }
.section--dark { background: var(--navy); color: rgba(255, 255, 255, 0.82); }
.section--dark h2, .section--dark h3 { color: #fff; }

/* Eyebrow — sentence case, not tracked-out caps. */
.eyebrow {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--blue-deep);
	margin: 0 0 0.6rem;
}
.section--dark .eyebrow { color: var(--blue-bright); }

h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }

.lede { font-size: 1.12rem; color: var(--ink-soft);  }
.section--dark .lede { color: rgba(255, 255, 255, 0.75); }

/* ----------------------------------------------------------------- buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.6rem;
	border-radius: 8px;
	border: 1px solid transparent;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn--primary { background: var(--blue-bright); color: var(--navy); }
.btn--primary:hover { background: #0aa4e0; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn--ghost:hover { border-color: var(--blue-bright); color: var(--blue-bright); }
.btn--outline { border-color: var(--blue-deep); color: var(--blue-deep); background: transparent; }
.btn--outline:hover { background: var(--blue-deep); color: #fff; }
.btn--wide { width: 100%; padding-block: 1rem; }

/* -------------------------------------------------------------------- head */
/* White, because the logo is drawn for a light background — deep blue on navy
   is close to unreadable. */
.masthead {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0.9rem 0; }

/* Section links. Hidden on narrow screens, where the page is a scroll anyway
   and the trial button is the thing that matters. */
.nav { display: none; gap: 1.4rem; margin-inline: auto; }
.nav a {
	color: var(--ink-soft);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 500;
	padding: 0.3rem 0;
	border-bottom: 2px solid transparent;
	white-space: nowrap;
	transition: color 0.16s ease, border-color 0.16s ease;
}
.nav a:hover { color: var(--navy); border-bottom-color: var(--blue-bright); }

/* Anchored sections must clear the sticky header. */
[id] { scroll-margin-top: 5rem; }
.wordmark { display: inline-flex; line-height: 0; }
.wordmark img { height: 34px; width: auto; }
.masthead .btn { padding: 0.6rem 1.15rem; font-size: 0.95rem; }

/* -------------------------------------------------------------------- hero */
.hero {
	background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 55%, var(--blue-ink) 100%);
	color: #fff;
	padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem);
	overflow: hidden;
}
.hero__grid { display: grid; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem); color: #fff; margin-bottom: 1rem; max-width: 15ch; }
.hero__sub { font-size: 1.15rem; color: rgba(255, 255, 255, 0.8); max-width: 48ch; margin-bottom: 1.8rem; }
.hero__label { font-size: 0.92rem; color: var(--blue-bright); font-weight: 600; margin-bottom: 0.9rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.4rem; }
.hero__note { font-size: 0.92rem; color: rgba(255, 255, 255, 0.62); margin: 0; }

/* --------------------------------------------------------------- the thread
   The one bold element on the page: a real conversation, styled the way the
   reader already recognises. Everything else stays quiet. */
.thread {
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(4, 12, 30, 0.5);
	width: 100%;
	max-width: 400px;
	margin-inline: auto;
	background: var(--chat-bg);
}
.thread__head {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.75rem 0.9rem;
	background: var(--chat-head);
}
.thread__avatar {
	width: 2.3rem;
	height: 2.3rem;
	border-radius: 50%;
	background: #fff;
	object-fit: contain;
	padding: 3px;
	flex: none;
}
.thread__name { font-weight: 600; color: #fff; font-size: 0.97rem; line-height: 1.25; }
.thread__status { font-size: 0.78rem; color: rgba(255, 255, 255, 0.7); }

.thread__body {
	padding: 0.9rem;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.bubble {
	max-width: 86%;
	padding: 0.5rem 0.7rem 0.35rem;
	border-radius: 8px;
	font-size: 0.92rem;
	line-height: 1.45;
	margin-bottom: 0.5rem;
	color: var(--chat-ink);
	box-shadow: 0 1px 1px rgba(11, 20, 26, 0.13);
	position: relative;
}
.bubble--in { background: var(--chat-in); border-top-left-radius: 2px; align-self: flex-start; }
.bubble--out { background: var(--chat-out); border-top-right-radius: 2px; align-self: flex-end; }
.bubble time { display: block; font-size: 0.68rem; color: var(--chat-time); text-align: right; margin-top: 0.15rem; }

.bubble__menu { list-style: none; margin: 0.5rem 0 0.15rem; padding: 0; }
/* While the conversation is playing, messages arrive one at a time and stack
   up from the bottom, the way a real thread does. Taking the unsent ones out
   of flow entirely is what lets the container fill upward. */
.thread--playing .bubble { display: none; }
.thread--playing .bubble.is-shown { display: block; animation: arrive 0.26s ease both; }

@keyframes arrive {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}

.typing {
	display: none;
	align-self: flex-start;
	width: fit-content;
	gap: 0.22rem;
	padding: 0.7rem 0.75rem;
	background: var(--chat-in);
	border-radius: 8px;
	border-top-left-radius: 2px;
	box-shadow: 0 1px 1px rgba(11, 20, 26, 0.13);
	margin-bottom: 0.5rem;
}
.typing.is-shown { display: flex; }
.typing span {
	width: 0.42rem;
	height: 0.42rem;
	border-radius: 50%;
	background: #9aa6ad;
	animation: typing 1.2s infinite ease-in-out;
}
.typing span:nth-child(2) { animation-delay: 0.18s; }
.typing span:nth-child(3) { animation-delay: 0.36s; }

@keyframes typing {
	0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
	30% { opacity: 1; transform: translateY(-0.18rem); }
}

@media (prefers-reduced-motion: reduce) {
	.thread--playing .bubble { display: block; animation: none; }
	.typing { display: none !important; }
}

.bubble__menu li {
	padding: 0.45rem 0.5rem;
	margin-top: 0.25rem;
	border-top: 1px solid #eceff1;
	font-size: 0.89rem;
	color: #027eb5;
	text-align: center;
	font-weight: 500;
}

/* -------------------------------------------------------------------- proof
   Deliberately quiet — a claim this strong does not need decoration. */
.proof { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof__list { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.proof__list li {
	position: relative;
	padding-left: 1.9rem;
	color: var(--navy);
	font-size: 1.02rem;
}
.proof__list li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: -0.05rem;
	color: var(--blue-deep);
	font-weight: 700;
}
.proof__note { margin: 1.8rem 0 0; font-size: 0.95rem; color: var(--ink-soft); font-style: italic; }

/* ------------------------------------------------------------- benefit list
   A ruled list rather than a grid of identical cards. */
.benefits { display: grid; gap: 0; margin-top: 2rem; }
.benefit { padding: 1.4rem 0; border-top: 1px solid var(--line); }
.benefit:last-child { border-bottom: 1px solid var(--line); }
.benefit h3 { color: var(--navy); }
.benefit p { color: var(--ink-soft); margin: 0; max-width: 64ch; }

/* --------------------------------------------------------------- bot detail */
.bot__flow { margin-top: 2.2rem; }
.bot__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: branch; }
.bot__menu li {
	counter-increment: branch;
	display: grid;
	gap: 0.3rem;
	padding: 1.3rem 1.3rem 1.3rem 3.4rem;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	position: relative;
}
.bot__menu li::before {
	content: counter(branch);
	position: absolute;
	left: 1.3rem;
	top: 1.3rem;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: var(--blue-bright);
	color: var(--navy);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.8rem;
	display: grid;
	place-items: center;
}
.bot__menu strong { color: #fff; font-weight: 600; }
.bot__menu span { font-size: 0.94rem; color: rgba(255, 255, 255, 0.68); }
.bot__menu .soon { color: var(--blue-bright); font-size: 0.82rem; font-weight: 600; }

.pullquote {
	margin: 2.2rem 0 0;
	padding: 1.4rem 1.6rem;
	border-left: 3px solid var(--blue-bright);
	background: rgba(24, 184, 248, 0.07);
	font-size: 1.08rem;
	color: #fff;
	border-radius: 0 8px 8px 0;
}
.pullquote p:last-child { margin: 0; }

/* ------------------------------------------------------------------ add-ons */
.addons { display: grid; gap: 1.4rem; margin-top: 2rem; align-items: start; }
.addon { padding: 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.addon h3 { color: var(--navy); margin-bottom: 0.5rem; }
.addon p { color: var(--ink-soft); font-size: 0.97rem; }
.addon p:last-child { margin-bottom: 0; }
.addon--advice { background: var(--navy); border-color: var(--navy); }
.addon--advice h3, .addon--advice p { color: #fff; }
.addon--advice p { color: rgba(255, 255, 255, 0.8); }

/* ----------------------------------------------------------------- platform */
.platform { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0.1rem; }
.platform li { padding: 0.8rem 0 0.8rem 1.8rem; border-bottom: 1px solid var(--line); position: relative; }
.platform li::before {
	content: "";
	position: absolute;
	left: 0.15rem;
	top: 1.35rem;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--blue-bright);
}
.platform .soon { color: var(--blue-deep); font-weight: 600; }

/* -------------------------------------------------------------------- plans */
.plans { display: grid; gap: 1.5rem; margin-top: 2rem; }
.plan { padding: 1.9rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); display: flex; flex-direction: column; }
.plan ul { flex: 1; }
.plan--managed { border-color: var(--blue-deep); border-width: 2px; }
.plan h3 { font-size: 1.4rem; color: var(--navy); margin-bottom: 0.3rem; }
.plan__for { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 1.2rem; }
.plan ul { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.plan li { padding: 0.45rem 0 0.45rem 1.6rem; position: relative; font-size: 0.98rem; }
.plan li::before { content: "\2713"; position: absolute; left: 0; color: var(--blue-deep); font-weight: 700; }
.plan__note { font-size: 0.88rem; color: var(--ink-soft); text-align: center; margin: 0.8rem 0 0; }

.pricing-note { margin-top: 1.8rem; padding: 1.3rem 1.5rem; background: var(--paper-alt); border-radius: var(--radius); font-size: 0.98rem; }
.pricing-note p:last-child { margin: 0; }

/* --------------------------------------------------------------- onboarding
   Numbered because this genuinely is a sequence. */
.steps { list-style: none; counter-reset: step; margin: 2.2rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.steps li {
	counter-increment: step;
	position: relative;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.4rem 1.4rem 1.4rem 1.5rem;
	border-top: 3px solid var(--blue-bright);
}
.steps li::before {
	content: counter(step, decimal-leading-zero);
	display: block;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.5rem;
	color: var(--blue-bright);
	line-height: 1;
	margin-bottom: 0.6rem;
}
.steps strong { display: block; color: var(--navy); font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 0.2rem; }
.steps p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }

/* --------------------------------------------------------------- compliance */
.rules { display: grid; gap: 1.1rem; margin-top: 2.2rem; }
.rule {
	padding: 1.4rem;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius);
}
.rule strong { color: #fff; display: block; margin-bottom: 0.35rem; font-family: var(--font-display); font-size: 1.02rem; }
.rule p { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; }

/* Same structure on a light background. */
.rules--light .rule { background: var(--paper); border-color: var(--line); }
.rules--light .rule strong { color: var(--navy); }
.rules--light .rule p { color: var(--ink-soft); }
.rules--light { margin-top: 2rem; }

/* A closing remark after a section, narrower than the content above it. */
.aside { margin-top: 2rem; max-width: 64ch; color: var(--ink-soft); }
.section--dark .aside { color: rgba(255, 255, 255, 0.78); }

/* The signup intro links sit on navy. */
.signup .lede a { color: var(--blue-bright); }

/* --------------------------------------------------------------------- faqs */
.faqs { margin-top: 2rem; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
	cursor: pointer;
	padding: 1.15rem 2.2rem 1.15rem 0;
	font-weight: 600;
	color: var(--navy);
	position: relative;
	list-style: none;
	font-family: var(--font-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+";
	position: absolute;
	right: 0.3rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.3rem;
	color: var(--blue-bright);
	line-height: 1;
}
.faq[open] summary::after { content: "\2013"; }
.faq p { margin: 0 0 1.15rem; color: var(--ink-soft);  }

/* --------------------------------------------------------------------- form */
.signup { background: var(--navy); color: #fff; }
.signup__grid { display: grid; gap: 2.5rem; align-items: start; }
.signup h2 { color: #fff; }
.form { background: #fff; border-radius: var(--radius-lg); padding: 1.8rem; color: var(--ink); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.92rem; font-weight: 600; color: var(--navy); margin-bottom: 0.35rem; }
.field .req { color: var(--blue-deep); }
.field input, .field select, .field textarea {
	width: 100%;
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--line);
	border-radius: 8px;
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--ink);
	background: #fff;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-bright); outline: none; box-shadow: 0 0 0 3px rgba(24, 184, 248, 0.18); }
.field--half { display: grid; gap: 1.1rem; }
.form__note { font-size: 0.88rem; color: var(--ink-soft); text-align: center; margin: 0.9rem 0 0; }
.form__turnstile { margin-bottom: 1.1rem; }

.alert { padding: 0.9rem 1.1rem; border-radius: 8px; margin-bottom: 1.2rem; font-size: 0.95rem; }
.alert--ok { background: #e7f7ed; color: #1a6b38; border: 1px solid #b6e3c6; }
.alert--bad { background: #fdecec; color: #8f2626; border: 1px solid #f3c4c4; }

/* ------------------------------------------------------------------- footer */
.site-foot { background: #071634; color: rgba(255, 255, 255, 0.55); padding: 2.5rem 0; font-size: 0.92rem; }
.site-foot a { color: rgba(255, 255, 255, 0.75); }
.site-foot a:hover { color: var(--blue-bright); }
.site-foot__inner { display: grid; gap: 1rem; }
.site-foot__links { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.site-foot p { margin: 0; }

/* ---------------------------------------------------------------- responsive */
@media (min-width: 720px) {
	.field--half { grid-template-columns: 1fr 1fr; }
	.addons { grid-template-columns: repeat(2, 1fr); }
	.plans { grid-template-columns: repeat(2, 1fr); }
	.rules { grid-template-columns: repeat(2, 1fr); }
	.bot__menu { grid-template-columns: repeat(2, 1fr); }
	.platform { grid-template-columns: repeat(2, 1fr); gap: 0 2.5rem; }
	.benefits { grid-template-columns: repeat(2, 1fr); gap: 0 3rem; }
	.proof__list { grid-template-columns: repeat(2, 1fr); gap: 0.8rem 2.5rem; }
	.benefit:nth-child(2) { border-top: 1px solid var(--line); }
	.steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
	.nav { display: flex; }
}

@media (min-width: 980px) {
	.hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
	.rules { grid-template-columns: repeat(4, 1fr); }
	.rules--light { grid-template-columns: repeat(2, 1fr); }
	/* Five cards read better across five columns than four plus an orphan. */
	.rules--five { grid-template-columns: repeat(5, 1fr); }
	.steps { grid-template-columns: repeat(5, 1fr); }
	.bot__menu { grid-template-columns: repeat(3, 1fr); }
	.signup__grid { grid-template-columns: 0.85fr 1fr; gap: 4rem; }
	.addon--advice { grid-column: 1 / -1; }
}
