/* Daimond landing page.
   Reuses the app's warm palette (see www/css/variables.css) and the pink diamond
   brand mark. Dark is the primary look; a polished light theme follows the
   viewer's prefers-color-scheme. Vanilla CSS, no external requests. */

/* ---- Oxanium: the Daimond wordmark's typeface, for display headings.
   Embedded locally (TrueType) so the page still makes no external request. ---- */
@font-face {
	font-family: 'Oxanium';
	src: url('../assets/fonts/Oxanium-SemiBold.ttf') format('truetype');
	font-weight: 600;
	font-display: swap;
}

/* ---- Design tokens: dark (default) ---- */
:root {
	--bg:            #15120F;   /* Primary background. */
	--bg-2:          #1E1A16;   /* Raised surface. */
	--bg-3:          #241F1A;   /* Cards. */
	--border:        #332C25;
	--border-2:      #3F372E;
	--text:          #ECE6DC;
	--text-2:        #A79E92;
	--text-3:        #736A5F;
	--accent:        #D2604F;   /* Terracotta. */
	--accent-hover:  #E07A67;
	--accent-text:   #E9A392;
	--pink:          #F98596;   /* Diamond pink. */
	--pink-soft:     #FCCFD4;
	--good:          #67B9A2;   /* Semantic: a corner closed. */
	--radius:        8px;
	--radius-lg:     14px;
	--radius-xl:     22px;
	--font:          system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--font-display:  'Oxanium', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--shadow:        0 18px 50px rgba(0, 0, 0, 0.45);
	--maxw:          1200px;
	/* Which wordmark shows: white on dark. */
	--word-dark:     block;   /* white glyphs, for dark bg */
	--word-light:    none;    /* grey glyphs, for light bg */
	--glow-a:        rgba(210, 96, 79, 0.30);
	--glow-b:        rgba(249, 133, 150, 0.22);
}

/* ---- Light theme, when the viewer prefers it ---- */
@media (prefers-color-scheme: light) {
	:root {
		--bg:            #FBF9F5;
		--bg-2:          #FFFFFF;
		--bg-3:          #FFFFFF;
		--border:        #E7E1D6;
		--border-2:      #D6CEBF;
		--text:          #211C18;
		--text-2:        #6B635A;
		--text-3:        #9A9187;
		--accent:        #A6322A;
		--accent-hover:  #C24A38;
		--accent-text:   #7E2A20;
		--good:          #1F8F73;
		--shadow:        0 18px 50px rgba(74, 58, 44, 0.14);
		--word-dark:     none;
		--word-light:    block;
		--glow-a:        rgba(166, 50, 42, 0.16);
		--glow-b:        rgba(249, 133, 150, 0.28);
	}
}

/* ---- Reset-ish base ---- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
/* Oxanium Semi-Bold (the wordmark weight) carries the display headings and labels. */
h1, h2, .eyebrow, .section-title { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.005em; }
.eyebrow { letter-spacing: 0.08em; }

p { margin: 0; }

.wrap {
	width: 100%;
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: clamp(20px, 5vw, 40px);
}

.nowrap { white-space: nowrap; }

/* ---- Buttons ---- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.1;
	/* Base padding, so size-less buttons (the full-width pricing CTAs) still
	   breathe; the size classes below override for the header and hero. */
	padding: 0.8rem 1.6rem;
	border-radius: 999px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
	white-space: nowrap;
}
.btn:focus-visible {
	outline: 2px solid var(--accent-text);
	outline-offset: 3px;
}
.btn-sm  { padding: 0.55rem 1.15rem; font-size: 0.94rem; }
.btn-lg  { padding: 1.02rem 2.2rem;  font-size: 1.05rem; }
.btn-primary {
	background: var(--accent);
	color: #fff;
	box-shadow: 0 8px 24px -8px var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }
.btn-ghost {
	background: transparent;
	color: var(--text);
	border-color: var(--border-2);
}
.btn-ghost:hover { border-color: var(--accent-text); color: var(--accent-text); transform: translateY(-2px); }
.btn-block { display: flex; width: 100%; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ---- Brand marks ---- */
.brand-mark { width: 28px; height: 28px; }
.brand-word { height: 22px; width: auto; }
.word-on-dark  { display: var(--word-dark); }
.word-on-light { display: var(--word-light); }

/* ---- Header ---- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--bg) 82%, transparent);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 62px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }

/* ---- Hero ---- */
/* The hero is committed to the dark daybreak scene in either theme, so its text
   is forced light here regardless of the page theme below it. */
.hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	min-height: clamp(560px, 84vh, 860px);
	display: flex;
	align-items: center;
	background: #060507;
	--text:   #F2ECE2;
	--text-2: #CDC2B4;
	--text-3: #8d8478;
	--border: rgba(255, 255, 255, 0.14);
	/* The hero is a dark scene in BOTH page themes, so pin the whole accent palette
	   to its dark-theme (bright) values. Otherwise, under prefers-color-scheme:
	   light, --accent-text becomes a dark maroon and the gradient words render dark
	   (only visible to viewers whose browser is in light mode). */
	--accent:       #D2604F;
	--accent-hover: #E07A67;
	--accent-text:  #E9A392;
	/* Force the light colour onto the hero itself. Overriding --text alone is not
	   enough: the title has no colour of its own and would otherwise inherit the
	   page's already-computed colour, which is dark under prefers-color-scheme:
	   light, leaving the headline near-invisible on the dark scene. */
	color: var(--text);
}
/* Text overlaid on the dark night side of the full-background scene. The .wrap
   holds it to the page gutter (aligned with the header); hero-inner sits at the
   left of that centred container and stays narrow to clear the flyer. */
.hero-wrap {
	position: relative;
	z-index: 2;
	width: 100%;
	/* A more generous left gutter for the overlaid text than the page default,
	   so the headline is not jammed against the edge on the full-bleed hero. */
	padding-inline: clamp(28px, 6vw, 76px);
}
.hero-inner {
	max-width: 470px;
	text-align: left;
	padding-block: clamp(40px, 8vh, 96px);
	text-shadow: 0 1px 24px rgba(0, 0, 0, 0.6);
}
.eyebrow {
	display: inline-block;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent-text);
	background: color-mix(in srgb, var(--accent) 14%, transparent);
	border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	margin-bottom: 1.5rem;
}
.hero-title {
	font-size: clamp(2.2rem, 4.4vw, 3.5rem);
	font-weight: 600;
	line-height: 1.04;
	margin-bottom: 1.3rem;
}
/* Gradient-filled display words. The earlier Firefox failure was not the font
   and not the clip: it was the hero's inherited text-shadow, which Firefox
   paints through the transparent glyphs and renders black. So we cancel the
   text-shadow on these words and get depth from a drop-shadow instead, which
   plays fine with background-clip:text on every engine. */
.grad {
	/* Explicit colours (not theme variables) so the gradient is identical in light
	   and dark browser modes: deep rose on the left, brightening steadily to soft
	   pink on the right (no bright peak in the middle). */
	background-image: linear-gradient(95deg, #C13B57 0%, #FCE0E6 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	text-shadow: none;
}
/* Gradient text for a section that takes the page background, rather than the
   hero's scene. .grad is deliberately pinned to fixed hex because the hero is
   dark under both colour schemes; a page section is not, so its pale end
   disappears into a light page. This variant flips with the scheme instead,
   keeping both ends contrasting against whatever the page is. */
.grad-page {
	background-image: linear-gradient(95deg, #C13B57 0%, #FCE0E6 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	text-shadow: none;
}
@media (prefers-color-scheme: light) {
	/* Both ends stay dark against the light page: deep maroon to deep rose. */
	.grad-page { background-image: linear-gradient(95deg, #7E2A20 0%, #C13B57 100%); }
}

.hero-sub {
	font-size: clamp(1.05rem, 2.2vw, 1.28rem);
	color: var(--text-2);
	max-width: 640px;
	margin-inline: auto;
	margin-bottom: 2.2rem;
}
.cta-row {
	display: flex;
	gap: 1rem;
	justify-content: flex-start;
	flex-wrap: wrap;
	margin-bottom: 2.4rem;
}
.hero-badges {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0.7rem 1.4rem;
	justify-content: flex-start;
	flex-wrap: wrap;
	color: var(--text-2);
	font-size: 0.95rem;
}
.hero-badges li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-badges li::before {
	content: "";
	width: 7px; height: 7px;
	border-radius: 999px;
	background: var(--pink);
	flex: none;
}

/* Daybreak splash: the scene fills the right column; it fades into the dark text
   column at the seam so the two halves read as one image. */
.sky {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}
.sky-art {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 12% center;
	display: block;
}
/* Darken the left half so the overlaid text stays crisp, letting the flyer and
   the diamond stay bright on the right. */
.sky-scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(4,4,7,0.95) 0%, rgba(4,4,7,0.86) 26%, rgba(4,4,7,0.5) 46%, rgba(4,4,7,0.1) 62%, rgba(4,4,7,0) 74%);
}

/* On a narrow screen the wide scene stacks below the text instead of cropping. */
@media (max-width: 760px) {
	/* Stack: the scene as a full-width banner at the very top, text beneath it. */
	.hero { display: block; min-height: 0; }
	.sky {
		position: relative;
		height: auto;
	}
	.sky-art {
		position: relative;
		width: 100%;
		height: auto;
		object-fit: initial;
	}
	.sky-scrim { display: none; }
	.hero-inner {
		max-width: none;
		margin: 0 auto;
		text-align: center;
		text-shadow: none;
		padding: clamp(32px, 5vh, 48px) clamp(20px, 5vw, 40px) clamp(36px, 7vh, 64px);
	}
	.cta-row, .hero-badges { justify-content: center; }
}

/* ---- Section scaffolding ---- */
section { position: relative; }
/* Anchored targets clear the sticky header (62px) when jumped to. Applied to
   main#top too, where it simply clamps the jump to the very top of the page. */
section[id], main[id] { scroll-margin-top: 76px; }
/* Every band gets the same vertical rhythm. Matched on the element rather than
   a list of classes, so a new section cannot be added with no padding and end up
   flush against its separator rule. The hero sets its own and is excluded. */
main > section:not(.hero) {
	padding-block: clamp(56px, 9vw, 100px);
}
.features { border-top: 1px solid var(--border); background: var(--bg-2); }
.how { background: var(--bg); }

/* ---- Runaway protection: four measures, a 2x2 of cards ---- */
/* Selector doubled so it beats the later `.grid { repeat(3, 1fr) }` rule. */
.safety { background: var(--bg-2); border-top: 1px solid var(--border); }
.grid.safety-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 920px; margin-inline: auto; }

/* ---- Diamonds: the memory story ---- */
/* Raised, like the feature grid above it, so the pair reads as one block split
   by a rule (the same pattern as pricing into thename). This keeps the base
   colour arriving at .how, which marks that boundary by colour alone. */
.diamonds { background: var(--bg-2); border-top: 1px solid var(--border); }
.diamonds-inner { max-width: 760px; text-align: center; margin-inline: auto; }
.diamonds .section-title { margin-bottom: 1rem; }
.diamonds-lede {
	color: var(--text-2);
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	line-height: 1.55;
	max-width: 62ch;
	margin-inline: auto;
}
/* Worked examples, shaped like the rail of diamonds they describe: a name, its tags,
   and what it holds. The band is centred, so the block centres while its text
   stays ranged left, which is what keeps a list of names scannable. */
.diamonds-eg-lead {
	color: var(--text-2);
	max-width: 58ch;
	margin: 2rem auto 0;
	font-size: 1.02rem;
}
.diamonds-eg {
	list-style: none;
	margin: 1.1rem auto 1.5rem;
	padding: 0;
	display: grid;
	gap: 1rem;
	max-width: 58ch;
	text-align: left;
}
.diamonds-eg li {
	display: grid;
	gap: 0.25rem;
	padding-left: 0.9rem;
	border-left: 2px solid var(--border-2);
}
.eg-head { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.eg-name { color: var(--text); font-weight: 600; font-size: 1.05rem; }
.eg-tag {
	color: var(--accent-text);
	background: var(--bg);
	border: 1px solid var(--border-2);
	border-radius: 999px;
	padding: 0.08rem 0.5rem;
	font-size: 0.76rem;
	letter-spacing: 0.02em;
}
.eg-what { color: var(--text-2); font-size: 1.02rem; }

/* The rail, shot from the running app: the whole list, and the same list
   filtered to one tag. Side by side where there is room, stacked where there is
   not. Swapped by colour scheme on the same --word-dark/--word-light switch the
   wordmark uses, because a raster cannot follow the theme the way the rest of
   the page does. */
.diamonds-shots {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 1.2rem;
	flex-wrap: wrap;
	margin: 2.2rem 0 1.6rem;
}
/* 320 not the shot's native 336: the band's column is 680 inside its padding,
   and two natives plus a gap overflow it by a hair, which wraps the pair into a
   stack. Basis is the display width, so they sit side by side here and still
   wrap to a stack on a narrow screen. */
.diamonds-shot { margin: 0; flex: 0 1 320px; max-width: 320px; }
.diamonds-shot img {
	display: var(--word-dark);
	width: 100%;
	height: auto;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}
.diamonds-shot .shot-on-light { display: var(--word-light); }
.diamonds-foot { color: var(--text-3); font-size: 0.92rem; max-width: 60ch; margin-inline: auto; }
.pricing { border-top: 1px solid var(--border); background: var(--bg-2); }
.section-title {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 800;
	text-align: center;
}
.section-lead {
	text-align: center;
	color: var(--text-2);
	font-size: 1.1rem;
	max-width: 620px;
	margin: 1rem auto 0;
}

/* ---- Feature grid ---- */
.grid {
	list-style: none;
	margin: 3rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.1rem;
}
.card {
	background: var(--bg-3);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.7rem;
	transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
	transform: translateY(-4px);
	border-color: var(--border-2);
	box-shadow: var(--shadow);
}
@media (prefers-reduced-motion: reduce) { .card:hover { transform: none; } }
.card-ic {
	display: inline-flex;
	width: 46px; height: 46px;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: color-mix(in srgb, var(--accent) 16%, transparent);
	margin-bottom: 1.1rem;
}
.card-ic svg {
	width: 24px; height: 24px;
	fill: none;
	stroke: var(--accent-text);
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.card h3 { font-size: 1.22rem; margin-bottom: 0.5rem; }
.card p { color: var(--text-2); font-size: 0.98rem; }

/* ---- How it works diagram ---- */
.diagram {
	margin-top: 3rem;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: stretch;
	gap: 0.5rem;
}
.node {
	background: var(--bg-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.6rem;
}
.how .node { background: var(--bg-3); }
.node-device { border-color: color-mix(in srgb, var(--pink) 45%, var(--border)); }
.node-server { border-color: var(--border-2); }
.node-tag {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--accent-text);
	margin-bottom: 0.7rem;
}
.node-server .node-tag { color: var(--text-3); }
.node h3 { font-size: 1.15rem; margin-bottom: 0.9rem; }
.node ul {
	margin: 0 0 0.9rem;
	padding-left: 1.15rem;
	color: var(--text-2);
	font-size: 0.96rem;
}
.node li { margin-bottom: 0.35rem; }
.node-note {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--accent-text);
	margin: 0;
	padding-top: 0.6rem;
	border-top: 1px dashed var(--border-2);
}
.node-server .node-note { color: var(--text-2); }

.link {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 130px;
	padding: 0 0.3rem;
}
.link-svg { width: 120px; height: 70px; }
.link-svg .wire {
	fill: none;
	stroke: var(--accent);
	stroke-width: 2;
	stroke-dasharray: 5 5;
}
.link-svg marker path { fill: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
	.link-svg .wire { animation: flow 1.4s linear infinite; }
	@keyframes flow { to { stroke-dashoffset: -20; } }
}
.link-labels {
	list-style: none;
	margin: 0.6rem 0 0;
	padding: 0;
	text-align: center;
	font-size: 0.82rem;
	color: var(--text-3);
	line-height: 1.5;
}

/* ---- How it works: steps + architecture ---- */
.how-eyebrow { display: table; margin: 0 auto 1rem; }
.steps-flow {
	list-style: none;
	margin: 3rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.3rem;
	text-align: left;
}
.step-n {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--accent) 16%, transparent);
	color: var(--accent-text);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.15rem;
	margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.18rem; margin-bottom: 0.4rem; }
.step p { color: var(--text-2); font-size: 0.96rem; }
.step em { color: var(--accent-text); font-style: normal; font-weight: 600; }
.how-arch { margin-top: 3.6rem; }
.how-arch-h {
	text-align: center;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.4rem, 2.6vw, 1.85rem);
	margin-bottom: 0.6rem;
}
.how-arch-lead { text-align: center; color: var(--text-2); font-size: 1.05rem; max-width: 640px; margin: 0 auto; }
.how-arch .diagram { margin-top: 2.4rem; }

/* ---- Free vs credits split ---- */
.how-cost { margin-top: 3.6rem; }
.how-cost-h {
	text-align: center;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.4rem, 2.6vw, 1.85rem);
	margin-bottom: 0.6rem;
}
.how-cost-lead { text-align: center; color: var(--text-2); font-size: 1.05rem; max-width: 660px; margin: 0 auto; }
.cost-grid {
	margin-top: 2.4rem;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.3rem;
}
.cost-col {
	background: var(--bg-3);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.7rem;
}
.cost-free { border-color: color-mix(in srgb, var(--good) 34%, var(--border)); }
.cost-credits { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.cost-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.2rem; }
.cost-ic {
	display: inline-flex; flex: none;
	width: 44px; height: 44px;
	align-items: center; justify-content: center;
	border-radius: 12px;
}
.cost-free .cost-ic { background: color-mix(in srgb, var(--good) 16%, transparent); }
.cost-credits .cost-ic { background: color-mix(in srgb, var(--accent) 16%, transparent); }
.cost-ic svg { width: 24px; height: 24px; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cost-free .cost-ic svg { stroke: var(--good); }
.cost-credits .cost-ic svg { stroke: var(--accent-text); }
.cost-tag {
	display: inline-block;
	font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
	color: var(--good);
	margin-bottom: 0.1rem;
}
.cost-tag-credits { color: var(--accent-text); }
.cost-col h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; line-height: 1.2; }
.cost-list { list-style: none; margin: 0; padding: 0; }
.cost-list li {
	position: relative;
	padding-left: 1.7rem;
	margin-bottom: 0.6rem;
	color: var(--text-2);
	font-size: 0.98rem;
}
.cost-list li:last-child { margin-bottom: 0; }
.cost-list li::before {
	content: "";
	position: absolute; left: 0; top: 0.4em;
	width: 11px; height: 6px;
	border-left: 2px solid var(--good);
	border-bottom: 2px solid var(--good);
	transform: rotate(-45deg);
}
.cost-list-credits li::before { border-color: var(--accent-text); }

/* ---- Pricing ---- */
.price-grid {
	margin-top: 3rem;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.3rem;
	max-width: 780px;
	margin-inline: auto;
}
.price-card {
	position: relative;
	background: var(--bg-3);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 2rem 1.8rem;
	display: flex;
	flex-direction: column;
}
.price-card-feature {
	border-color: var(--accent);
	box-shadow: 0 0 0 1px var(--accent), var(--shadow);
}
.ribbon {
	position: absolute;
	top: -0.8rem;
	right: 1.4rem;
	background: var(--accent);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
}
.price-card h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.price { margin-bottom: 1.2rem; }
.price-num { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; }
.price-per { color: var(--text-3); font-size: 1rem; font-weight: 600; }
.price-list {
	list-style: none;
	margin: 0 0 1.6rem;
	padding: 0;
	flex: 1;
}
.price-list li {
	position: relative;
	padding-left: 1.6rem;
	margin-bottom: 0.6rem;
	color: var(--text-2);
	font-size: 0.97rem;
}
.price-list li::before {
	content: "";
	position: absolute;
	left: 0; top: 0.5em;
	width: 11px; height: 6px;
	border-left: 2px solid var(--accent-text);
	border-bottom: 2px solid var(--accent-text);
	transform: rotate(-45deg);
}

.price-note {
	margin: 1.9rem auto 0;
	max-width: 660px;
	text-align: center;
	color: var(--text-2);
	font-size: 0.98rem;
	line-height: 1.6;
}
.price-note strong { color: var(--text); font-weight: 600; }

/* ---- Comparison ---- */
.compare { border-top: 1px solid var(--border); background: var(--bg); }
.cmp-wrap { overflow-x: auto; margin: 1.6rem 0 0.9rem; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.cmp {
	width: 100%;
	min-width: 720px;
	border-collapse: collapse;
	font-size: 0.96rem;
	font-variant-numeric: tabular-nums;
}
.cmp thead td { background: transparent; border: none; }
.cmp th[scope="col"] {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--text-2);
	text-align: center;
	vertical-align: bottom;
	padding: 16px 14px 14px;
	line-height: 1.2;
	border-bottom: 1px solid var(--border-2);
}
.cmp th.cmp-us {
	color: var(--pink);
	background: var(--pink-soft-bg, color-mix(in srgb, var(--pink) 12%, transparent));
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}
.cmp th[scope="row"] {
	text-align: left;
	font-weight: 500;
	color: var(--text);
	padding: 13px 16px 13px 20px;
	white-space: nowrap;
}
.cmp tbody tr { border-top: 1px solid var(--border); }
.cmp td {
	text-align: center;
	padding: 13px 14px;
	color: var(--text-3);
	white-space: nowrap;
}
.cmp td.y { color: var(--good); font-weight: 600; }
.cmp td.p { color: var(--accent-text); }
.cmp td.n { color: var(--text-3); }
.cmp td.us {
	color: var(--pink);
	font-weight: 700;
	background: color-mix(in srgb, var(--pink) 10%, transparent);
}
.cmp tbody tr:last-child td.us { border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; }
.cmp-note { color: var(--text-3); font-size: 0.9rem; max-width: 70ch; }

/* On a phone the four-way table cannot fit at a readable size, so each feature
   becomes a card and every cell is labelled with its column. Nothing scrolls
   sideways. Column labels come from each cell's data-label. */
@media (max-width: 600px) {
	.cmp-wrap { overflow: visible; border: none; border-radius: 0; }
	.cmp { min-width: 0; display: block; font-size: 0.96rem; }
	.cmp thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); }
	.cmp tbody, .cmp tbody tr, .cmp th[scope="row"], .cmp td { display: block; }
	.cmp tbody tr {
		border: 1px solid var(--border);
		border-radius: var(--radius-lg);
		background: var(--bg-2);
		padding: 0.35rem 1rem 0.7rem;
		margin-bottom: 0.85rem;
	}
	.cmp th[scope="row"] {
		white-space: normal;
		padding: 0.75rem 0 0.6rem;
		font-weight: 600;
		font-size: 1.02rem;
		border-bottom: 1px solid var(--border);
		margin-bottom: 0.4rem;
	}
	.cmp td {
		display: flex;
		justify-content: space-between;
		align-items: baseline;
		gap: 1rem;
		text-align: right;
		white-space: normal;
		padding: 0.34rem 0;
		background: none !important;
		border-radius: 0 !important;
	}
	.cmp td::before {
		content: attr(data-label);
		color: var(--text-2);
		font-weight: 500;
		text-align: left;
	}
	.cmp td.us { color: var(--pink); font-weight: 700; }
	.cmp td.us::before { color: var(--text); }
}

/* ---- Verify ---- */
.trust { background: var(--bg); border-top: 1px solid var(--border); }
.verify-inner { max-width: 760px; }
.trust-ic {
	display: inline-flex;
	width: 54px; height: 54px;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	margin-bottom: 1.1rem;
	background: color-mix(in srgb, var(--pink) 18%, transparent);
}
.trust-ic svg {
	width: 28px; height: 28px;
	fill: none;
	stroke: var(--pink);
	stroke-width: 1.6;
	stroke-linejoin: round;
	stroke-linecap: round;
}
.trust h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 0.7rem; }
.verify-lede { color: var(--text-2); font-size: 1.08rem; max-width: 62ch; margin-bottom: 1.6rem; }
.verify-list { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 0.9rem; }
.verify-list li {
	color: var(--text-2);
	padding-left: 1.6rem;
	position: relative;
	font-size: 1.02rem;
}
.verify-list li::before {
	content: "";
	position: absolute;
	left: 0; top: 0.55em;
	width: 9px; height: 9px;
	border-radius: 3px;
	background: var(--good);
}
.verify-list b { color: var(--text); font-weight: 600; }
.verify-foot { color: var(--text-3); font-size: 0.92rem; max-width: 60ch; }

/* ---- What it is: chat + coworker ---- */
.whatis { background: var(--bg); }
.whatis-inner { max-width: 760px; text-align: center; margin-inline: auto; }
.whatis .section-title { margin-bottom: 1rem; }
.whatis-lede {
	color: var(--text-2);
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	line-height: 1.55;
	max-width: 62ch;
	margin-inline: auto;
}

/* ---- The name: diamond + daimon ---- */
.thename { background: var(--bg-2); border-top: 1px solid var(--border); }
.thename-inner { max-width: 720px; }
.thename .section-title { margin-bottom: 1rem; }
.thename-lede { color: var(--text-2); font-size: clamp(1.05rem, 1.8vw, 1.2rem); max-width: 64ch; }

/* ---- We use it too / community and evolution ---- */
.evolve { border-top: 1px solid var(--border); background: var(--bg); }
.evolve-inner { max-width: 720px; }
.evolve .eyebrow { margin-bottom: 1.9rem; }
.evolve-logo { display: block; width: fit-content; margin: 0 0 1.8rem; transition: opacity 0.15s ease; }
.evolve-logo:hover { opacity: 0.82; }
.evolve-logo img { height: 72px; width: auto; }
.logo-on-dark  { display: var(--word-dark); }
.logo-on-light { display: var(--word-light); }
.evolve h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-bottom: 0.9rem; }
.evolve-lede { color: var(--text-2); font-size: clamp(1.05rem, 1.8vw, 1.2rem); max-width: 64ch; }
.evolve-lede + .evolve-lede { margin-top: 1.1rem; }
.evolve em { color: var(--accent-text); font-style: normal; font-weight: 600; }

/* ---- Closing CTA ---- */
.closing {
	text-align: center;
	background:
		radial-gradient(60% 120% at 50% 0%, color-mix(in srgb, var(--accent) 20%, transparent) 0%, transparent 70%),
		var(--bg-2);
	border-top: 1px solid var(--border);
}
.closing-inner { max-width: 640px; }
.closing h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; margin-bottom: 0.8rem; }
.closing p { color: var(--text-2); font-size: 1.1rem; margin-bottom: 2rem; }

/* ---- Footer ---- */
.site-footer {
	background: var(--bg);
	border-top: 1px solid var(--border);
	padding-block: 2.4rem;
}
.footer-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.2rem;
}
.footer-brand { display: inline-flex; align-items: center; gap: 9px; }
.footer-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-links a { color: var(--text-2); font-size: 0.95rem; }
.footer-links a:hover { color: var(--accent-text); }
.footer-legal {
	width: 100%;
	color: var(--text-3);
	font-size: 0.85rem;
	border-top: 1px solid var(--border);
	padding-top: 1.2rem;
	margin-top: 0.2rem;
	line-height: 1.7;
}

/* ---- Responsive ---- */
@media (max-width: 880px) {
	.grid { grid-template-columns: repeat(2, 1fr); }
	.steps-flow { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1.3rem; }
	.diagram { grid-template-columns: 1fr; gap: 0.4rem; }
	/* Between the two stacked cards, lay the connector out as a row: the arrows
	   (rotated to point up and down) beside the list of what crosses. */
	.link {
		flex-direction: row;
		align-items: center;
		justify-content: center;
		min-width: 0;
		gap: 1.1rem;
		padding: 1.3rem 0;
	}
	.link-svg { transform: rotate(90deg); width: 54px; height: 38px; flex: none; }
	.link-labels { margin: 0; text-align: left; }
}
@media (max-width: 560px) {
	.grid { grid-template-columns: 1fr; }
	.grid.safety-grid { grid-template-columns: 1fr; }
	.steps-flow { grid-template-columns: 1fr; }
	.cost-grid { grid-template-columns: 1fr; }
	.price-grid { grid-template-columns: 1fr; }
	.cta-row .btn { flex: 1 1 auto; }
	.trust-inner { flex-direction: column; }
	.brand-word { height: 20px; }
}

/* The points of light live inside the artwork now, in splash.svg, so that the
   figure and the gem pass in front of them. Nothing behind the <img> can show:
   the artwork carries its own opaque background. */
