/* Meeting Copilot marketing + privacy site.
   Obsidian-inspired: committed dark theme, deep violet accent, soft cards, quiet
   borders. Self-contained — no external fonts, scripts, or trackers (matches the
   plugin's privacy stance). Dark only, on purpose — like Obsidian's default. */

:root {
	color-scheme: dark;

	--violet: #7c6cf5;
	--violet-bright: #a996ff;
	--violet-dim: rgba(124, 108, 245, 0.16);

	--bg: #0e0e11;
	--bg-2: #131317;
	--surface: #1a1a1f;
	--surface-2: #1f1f26;
	--border: #2a2a31;
	--text: #dcddde;
	--text-dim: #9a9aa4;
	--text-faint: #6c6c78;

	--radius: 14px;
	--radius-sm: 9px;
	--maxw: 1060px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
		Arial, "Inter", sans-serif;
	--mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font);
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a {
	color: var(--violet-bright);
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

/* ---------- Header ---------- */
header.site {
	position: sticky;
	top: 0;
	z-index: 10;
	backdrop-filter: saturate(140%) blur(12px);
	background: color-mix(in srgb, var(--bg) 82%, transparent);
	border-bottom: 1px solid var(--border);
}
.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 11px;
	font-weight: 650;
	font-size: 1.05rem;
	color: var(--text);
}
.brand:hover {
	text-decoration: none;
}
.brand .logo {
	width: 30px;
	height: 30px;
	flex: none;
}
.nav-links {
	display: flex;
	gap: 26px;
	align-items: center;
	font-size: 0.94rem;
}
.nav-links a {
	color: var(--text-dim);
}
.nav-links a:hover {
	color: var(--text);
	text-decoration: none;
}
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--violet);
	color: #fff;
	padding: 9px 18px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.92rem;
	border: 1px solid transparent;
	transition: transform 0.08s ease, background 0.15s ease;
}
.btn:hover {
	background: var(--violet-bright);
	text-decoration: none;
	transform: translateY(-1px);
}
.btn.ghost {
	background: transparent;
	color: var(--text);
	border-color: var(--border);
}
.btn.ghost:hover {
	background: var(--surface-2);
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	padding: 96px 0 72px;
	overflow: hidden;
	text-align: center;
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(
			620px 320px at 50% -10%,
			var(--violet-dim),
			transparent 70%
		);
	pointer-events: none;
}
.hero h1 {
	font-size: clamp(2.1rem, 5vw, 3.4rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
	margin: 0 auto 18px;
	max-width: 15ch;
	font-weight: 720;
}
.hero h1 .accent {
	background: linear-gradient(120deg, var(--violet-bright), var(--violet));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hero p.lede {
	font-size: clamp(1.05rem, 2.2vw, 1.28rem);
	color: var(--text-dim);
	max-width: 60ch;
	margin: 0 auto 18px;
}
.hero p.about {
	font-size: 1rem;
	color: var(--text-dim);
	max-width: 64ch;
	margin: 0 auto 34px;
}
.hero .cta {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}
.hero .fineprint {
	margin-top: 20px;
	font-size: 0.85rem;
	color: var(--text-faint);
}

/* ---------- Sections ---------- */
section {
	padding: 68px 0;
}
.section-head {
	text-align: center;
	max-width: 60ch;
	margin: 0 auto 48px;
}
.section-head h2 {
	font-size: clamp(1.6rem, 3.4vw, 2.1rem);
	letter-spacing: -0.02em;
	margin: 0 0 12px;
	font-weight: 700;
}
.section-head p {
	color: var(--text-dim);
	margin: 0;
	font-size: 1.05rem;
}

/* ---------- Feature grid ---------- */
.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
	gap: 20px;
}
.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 26px 24px;
	transition: border-color 0.15s ease, transform 0.1s ease;
}
.card:hover {
	border-color: color-mix(in srgb, var(--violet) 45%, var(--border));
	transform: translateY(-2px);
}
.card .icon {
	width: 42px;
	height: 42px;
	border-radius: 11px;
	display: grid;
	place-items: center;
	background: var(--violet-dim);
	color: var(--violet-bright);
	margin-bottom: 16px;
}
.card .icon svg {
	width: 22px;
	height: 22px;
}
.card h3 {
	margin: 0 0 8px;
	font-size: 1.1rem;
	font-weight: 640;
}
.card p {
	margin: 0;
	color: var(--text-dim);
	font-size: 0.96rem;
}

/* ---------- Steps ---------- */
.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 20px;
	counter-reset: step;
}
.step {
	position: relative;
	padding: 26px 24px 24px;
	background: var(--bg-2);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}
.step::before {
	counter-increment: step;
	content: counter(step);
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--violet);
	color: #fff;
	font-weight: 700;
	font-size: 0.95rem;
	margin-bottom: 15px;
}
.step h3 {
	margin: 0 0 7px;
	font-size: 1.05rem;
}
.step p {
	margin: 0;
	color: var(--text-dim);
	font-size: 0.95rem;
}

/* ---------- Privacy banner ---------- */
.privacy-banner {
	background: linear-gradient(
		140deg,
		var(--surface),
		color-mix(in srgb, var(--violet) 12%, var(--surface))
	);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 40px 36px;
	display: flex;
	gap: 26px;
	align-items: center;
	flex-wrap: wrap;
}
.privacy-banner .shield {
	width: 58px;
	height: 58px;
	flex: none;
	color: var(--violet-bright);
}
.privacy-banner .body {
	flex: 1;
	min-width: 260px;
}
.privacy-banner h2 {
	margin: 0 0 8px;
	font-size: 1.45rem;
	letter-spacing: -0.01em;
}
.privacy-banner p {
	margin: 0;
	color: var(--text-dim);
}

/* ---------- Footer ---------- */
footer.site {
	border-top: 1px solid var(--border);
	padding: 40px 0;
	color: var(--text-faint);
	font-size: 0.9rem;
}
.foot {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	align-items: center;
}
.foot-links {
	display: flex;
	gap: 22px;
	flex-wrap: wrap;
}
.foot-links a {
	color: var(--text-dim);
}

/* ---------- Article (privacy page) ---------- */
.article {
	padding: 56px 0 72px;
}
.article .wrap {
	max-width: 760px;
}
.article h1 {
	font-size: clamp(1.9rem, 4vw, 2.6rem);
	letter-spacing: -0.02em;
	margin: 0 0 6px;
}
.article .updated {
	color: var(--text-faint);
	font-size: 0.9rem;
	margin-bottom: 34px;
}
.article h2 {
	font-size: 1.4rem;
	margin: 44px 0 12px;
	letter-spacing: -0.01em;
}
.article h3 {
	font-size: 1.1rem;
	margin: 28px 0 10px;
}
.article p,
.article li {
	color: var(--text);
	font-size: 1rem;
}
.article ul {
	padding-left: 22px;
}
.article li {
	margin: 7px 0;
}
.article code {
	font-family: var(--mono);
	font-size: 0.86em;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: 5px;
	padding: 1px 6px;
}
.article table {
	width: 100%;
	border-collapse: collapse;
	margin: 18px 0;
	font-size: 0.94rem;
	display: block;
	overflow-x: auto;
}
.article th,
.article td {
	border: 1px solid var(--border);
	padding: 10px 12px;
	text-align: left;
	vertical-align: top;
}
.article th {
	background: var(--surface-2);
	font-weight: 620;
}
.callout {
	background: var(--violet-dim);
	border: 1px solid var(--border);
	border-left: 3px solid var(--violet);
	border-radius: var(--radius-sm);
	padding: 16px 20px;
	margin: 22px 0;
}
.callout p {
	margin: 0;
}

/* ---------- Screenshot frames ---------- */
.shot {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface);
	box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.55);
}
.shot .chrome {
	display: flex;
	gap: 7px;
	padding: 11px 14px;
	border-bottom: 1px solid var(--border);
	background: var(--surface-2);
}
.shot .chrome span {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--border);
}
.shot .stage {
	aspect-ratio: 16 / 10;
	display: grid;
	place-items: center;
	background: repeating-linear-gradient(
			-45deg,
			transparent,
			transparent 12px,
			var(--violet-dim) 12px,
			var(--violet-dim) 13px
		),
		var(--bg-2);
	color: var(--text-faint);
	font-size: 0.9rem;
	text-align: center;
	padding: 20px;
}
.shot img {
	display: block;
	width: 100%;
	height: auto;
}
.shot.hero-shot {
	max-width: 900px;
	margin: 46px auto 0;
}

/* ---------- Alternating feature rows ---------- */
.feature-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 52px;
	align-items: center;
	padding: 48px 0;
}
.feature-row + .feature-row {
	border-top: 1px solid var(--border);
}
.feature-row.reverse .copy {
	order: 2;
}
.feature-row .eyebrow-sm {
	display: inline-block;
	font-size: 0.78rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--violet-bright);
	font-weight: 650;
	margin-bottom: 12px;
}
.feature-row h3 {
	font-size: clamp(1.4rem, 2.8vw, 1.85rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 14px;
}
.feature-row > .copy > p {
	color: var(--text-dim);
	font-size: 1.05rem;
	margin: 0 0 18px;
}
.feature-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 10px;
}
.feature-list li {
	position: relative;
	padding-left: 30px;
	color: var(--text);
	font-size: 0.98rem;
}
.feature-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--violet-dim);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a996ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
}

/* ---------- Requirements / install / FAQ ---------- */
.tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
}
.tile {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 20px 22px;
}
.tile h4 {
	margin: 0 0 6px;
	font-size: 1rem;
}
.tile p {
	margin: 0;
	color: var(--text-dim);
	font-size: 0.94rem;
}
.codeblock {
	font-family: var(--mono);
	font-size: 0.9rem;
	background: var(--bg-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 14px 18px;
	color: var(--text);
	overflow-x: auto;
	margin: 14px 0;
}
.install-cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 22px;
}
.faq {
	max-width: 760px;
	margin: 0 auto;
	display: grid;
	gap: 14px;
}
.faq details {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 4px 20px;
}
.faq summary {
	cursor: pointer;
	font-weight: 600;
	padding: 16px 0;
	list-style: none;
	position: relative;
	padding-right: 28px;
}
.faq summary::-webkit-details-marker {
	display: none;
}
.faq summary::after {
	content: "+";
	position: absolute;
	right: 2px;
	top: 14px;
	font-size: 1.4rem;
	color: var(--violet-bright);
	line-height: 1;
}
.faq details[open] summary::after {
	content: "\2013";
}
.faq details p {
	margin: 0 0 18px;
	color: var(--text-dim);
	font-size: 0.97rem;
}

@media (max-width: 820px) {
	.feature-row {
		grid-template-columns: 1fr;
		gap: 26px;
	}
	.feature-row.reverse .copy {
		order: 0;
	}
}

@media (max-width: 640px) {
	.nav-links {
		display: none;
	}
	.hero {
		padding: 68px 0 52px;
	}
	section {
		padding: 52px 0;
	}
}
