/* Absender website in the shadcn/ui manner: zinc neutrals, 1px borders,
   rounded cards, one typeface. Self-hosted font and pictures only: the page
   makes no request to another server. */

@font-face {
	font-family: 'Geist';
	src: url('fonts/Geist-Variable.woff2') format('woff2');
	font-weight: 100 900;
	font-display: swap;
}

/* shadcn/ui "zinc" neutrals with Absender's petrol as the primary colour.
   The scheme follows the system unless the visitor picked one: then
   <html data-theme="light|dark"> (theme.js, site.js). The dark values are
   written twice, for the system setting and for the explicit choice. */
:root {
	color-scheme: light;
	--background: #ffffff;
	--foreground: #09090b;
	--card: #ffffff;
	--muted: #f4f4f5;
	--muted-foreground: #71717a;
	--border: #e4e4e7;
	--input: #e4e4e7;
	--primary: #0f766e;
	--primary-foreground: #ffffff;
	--primary-soft: #f0fdfa;
	--accent: #f4f4f5;
	--ring: #14b8a6;
	--ok: #15803d;
	--ok-bg: #f0fdf4;
	--warn: #a16207;
	--warn-bg: #fefce8;
	--bad: #b91c1c;
	--bad-bg: #fef2f2;
	/* Chart series, the app's colour-vision-checked pair (frontend/src/app.css). */
	--chart-pass: #2a78d6;
	--chart-fail: #eb6834;
	--radius: 0.5rem;

	--font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(72px, 9vw, 128px);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme='light']) {
		color-scheme: dark;
		--background: #09090b;
		--foreground: #fafafa;
		--card: #09090b;
		--muted: #18181b;
		--muted-foreground: #a1a1aa;
		--border: #27272a;
		--input: #27272a;
		--primary: #2dd4bf;
		--primary-foreground: #042f2e;
		--primary-soft: #042f2e;
		--accent: #27272a;
		--ring: #2dd4bf;
		--ok: #4ade80;
		--ok-bg: #052e16;
		--warn: #facc15;
		--warn-bg: #2a2306;
		--bad: #f87171;
		--bad-bg: #2c0b0b;
		--chart-pass: #3987e5;
		--chart-fail: #d95926;
	}
}
:root[data-theme='dark'] {
	color-scheme: dark;
	--background: #09090b;
	--foreground: #fafafa;
	--card: #09090b;
	--muted: #18181b;
	--muted-foreground: #a1a1aa;
	--border: #27272a;
	--input: #27272a;
	--primary: #2dd4bf;
	--primary-foreground: #042f2e;
	--primary-soft: #042f2e;
	--accent: #27272a;
	--ring: #2dd4bf;
	--ok: #4ade80;
	--ok-bg: #052e16;
	--warn: #facc15;
	--warn-bg: #2a2306;
	--bad: #f87171;
	--bad-bg: #2c0b0b;
	--chart-pass: #3987e5;
	--chart-fail: #d95926;
}

*,
*::before,
*::after {
	box-sizing: border-box;
	border-color: var(--border);
}

html {
	scroll-padding-top: 72px;
}

body {
	margin: 0;
	background: var(--background);
	color: var(--foreground);
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	font-feature-settings: 'ss01' on;
}

h1,
h2,
h3,
p,
figure,
ul,
dl,
dd {
	margin: 0;
}

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

a {
	color: inherit;
}

svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

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

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin: 0 auto;
	padding: 0 var(--gutter);
}

h1 {
	font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.035em;
}
h2 {
	font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.025em;
}
h3 {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
}

.lead {
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--muted-foreground);
}
.muted {
	color: var(--muted-foreground);
}
.small {
	font-size: 0.875rem;
	line-height: 1.5;
}

/* ---- Button ---- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 36px;
	padding: 0 16px;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 500;
	white-space: nowrap;
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: var(--radius);
	cursor: pointer;
	transition: background-color 150ms, color 150ms, border-color 150ms, transform 150ms var(--ease);
}
.btn:active {
	transform: translateY(1px);
}
.btn-lg {
	height: 44px;
	padding: 0 24px;
	font-size: 0.9375rem;
}
.btn-block {
	width: 100%;
}
.btn-primary {
	background: var(--primary);
	color: var(--primary-foreground);
}
.btn-primary:hover {
	background: color-mix(in srgb, var(--primary) 88%, var(--background));
}
.btn-outline {
	background: var(--background);
	border-color: var(--input);
}
.btn-outline:hover,
.btn-ghost:hover {
	background: var(--accent);
}
.btn-ghost {
	background: transparent;
}

/* ---- Card, badge, input ---- */

.card {
	background: var(--card);
	border: 1px solid var(--border); /* taste-skill-ignore: shadcn border, the requested style */
	border-radius: calc(var(--radius) + 4px);
	box-shadow: 0 1px 2px rgb(0 0 0 / 0.05); /* taste-skill-ignore: shadcn card shadow-sm */
}
.card-header {
	padding: 24px 24px 0;
}
.card-title {
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: -0.01em;
}
.card-description {
	margin-top: 4px;
	font-size: 0.875rem;
	color: var(--muted-foreground);
}
.card-content {
	padding: 24px;
}

.badge {
	display: inline-flex;
	align-items: center;
	height: 22px;
	padding: 0 8px;
	font-size: 0.75rem;
	font-weight: 500;
	white-space: nowrap;
	border-radius: 999px;
	border: 1px solid transparent;
}
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-bad { background: var(--bad-bg); color: var(--bad); }

.label {
	display: block;
	margin-bottom: 8px;
	font-size: 0.875rem;
	font-weight: 500;
}
.input {
	width: 100%;
	height: 40px;
	padding: 0 12px;
	font: inherit;
	font-size: 1rem;
	color: inherit;
	background: transparent;
	border: 1px solid var(--input); /* taste-skill-ignore: shadcn border, the requested style */
	border-radius: var(--radius);
	transition: border-color 150ms, box-shadow 150ms;
}
.input::placeholder {
	color: var(--muted-foreground);
}
.input:focus-visible {
	outline: none;
	border-color: var(--ring);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--ring) 35%, transparent); /* taste-skill-ignore: focus ring */
}

/* ---- Header ---- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	background: color-mix(in srgb, var(--background) 92%, transparent);
	border-bottom: 1px solid var(--border); /* taste-skill-ignore: shadcn border, the requested style */
}
.header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: 60px;
}
.wordmark {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	letter-spacing: -0.01em;
	text-decoration: none;
}
.logo {
	width: 22px;
	height: 22px;
	color: var(--primary);
}
.nav-links {
	display: flex;
	gap: 24px;
	list-style: none;
	padding: 0;
	font-size: 0.875rem;
}
.nav-links a {
	color: var(--muted-foreground);
	text-decoration: none;
	transition: color 150ms;
}
.nav-links a:hover {
	color: var(--foreground);
}
.header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

/* Colour scheme: system, light or dark. Shown only with script, which is
   what makes it work. */
.theme-switch {
	display: none;
	gap: 2px;
	padding: 3px;
	background: var(--muted);
	border-radius: var(--radius);
}
.js .theme-switch {
	display: inline-flex;
}
.theme-switch button {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	padding: 0;
	color: var(--muted-foreground);
	background: transparent;
	border: 0;
	border-radius: calc(var(--radius) - 2px);
	cursor: pointer;
	transition: color 150ms, background-color 150ms;
}
.theme-switch button:hover {
	color: var(--foreground);
}
.theme-switch button[aria-pressed='true'] {
	color: var(--foreground);
	background: var(--background);
	box-shadow: 0 1px 2px rgb(0 0 0 / 0.08); /* taste-skill-ignore: shadcn active segment */
}
.theme-switch svg {
	width: 15px;
	height: 15px;
}

/* ---- Hero ---- */

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 64px;
	align-items: center;
	padding-top: clamp(56px, 8vw, 112px);
	padding-bottom: var(--section);
}
@media (min-width: 961px) {
	/* The first screen holds the hero and nothing else, centred. */
	.hero {
		min-height: calc(100svh - 61px);
		padding-top: 48px;
		padding-bottom: 48px;
	}
}
.hero h1 {
	max-width: 14ch;
}
.hero .lead {
	margin-top: 20px;
	max-width: 52ch;
}
.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}
.facts-inline {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin-top: 28px;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
	color: var(--muted-foreground);
}
.facts-inline li,
.checklist li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.facts-inline svg,
.checklist svg {
	width: 16px;
	height: 16px;
	flex: none;
	color: var(--primary);
}

.record .card-content {
	display: grid;
	gap: 16px;
}
.record .label {
	margin-bottom: -8px;
}
.record-fields {
	display: grid;
	border: 1px solid var(--border); /* taste-skill-ignore: shadcn border, the requested style */
	border-radius: var(--radius);
	background: var(--muted);
	font-size: 0.875rem;
}
.record-fields div {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 12px;
	padding: 10px 12px;
}
.record-fields div + div {
	border-top: 1px solid var(--border); /* taste-skill-ignore: shadcn border, the requested style */
}
.record-fields dt {
	color: var(--muted-foreground);
}
.record-fields dd {
	overflow-wrap: anywhere;
	font-variant-numeric: tabular-nums;
}
#record-note.invalid {
	color: var(--bad);
}

/* The stage on the right of the hero: the example overview on a muted
   field, the latest report above it and the visitor's record in front. */
.hero-stage {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto auto;
	padding: 40px 0 0 40px;
}
.stage-field {
	position: absolute;
	inset: 0 -24px 48px 0;
	background: var(--muted);
	border-radius: calc(var(--radius) + 12px);
}
.app-card {
	position: relative;
	grid-column: 1 / 3;
	grid-row: 1 / 3;
	padding: 20px;
	font-size: 0.875rem;
}
.app-head {
	display: flex;
	align-items: center;
	gap: 8px;
}
.app-domain {
	font-weight: 600;
}
.app-range {
	margin-left: auto;
	padding: 2px 8px;
	font-size: 0.75rem;
	color: var(--muted-foreground);
	background: var(--muted);
	border-radius: 6px;
}
.app-kpi {
	margin-top: 14px;
}
.app-big {
	font-size: 2.25rem;
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}
.app-chart {
	margin-top: 14px;
}
.app-chart svg {
	display: block;
	width: 100%;
	height: 72px;
	stroke: none;
}
.bar-pass {
	fill: var(--chart-pass);
}
.bar-fail {
	fill: var(--chart-fail);
}
.app-chart figcaption {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 14px;
	margin-top: 8px;
}
.legend {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.legend-note {
	flex-basis: 100%;
}
.key {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 2px;
}
.key-pass {
	background: var(--chart-pass);
}
.key-fail {
	background: var(--chart-fail);
}
.app-senders {
	display: grid;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}
.app-senders li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 0;
}
.app-senders li + li {
	border-top: 1px solid var(--border); /* taste-skill-ignore: shadcn border, the requested style */
}

/* The latest report, floating above the overview's top edge. */
.toast {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px 12px 12px;
	min-width: 290px;
	box-shadow: 0 10px 28px rgb(0 0 0 / 0.12); /* taste-skill-ignore: it floats over the card */
	transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}
.toast.swap {
	opacity: 0;
	transform: translateY(-6px);
}
.toast-icon {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	flex: none;
	color: var(--primary-foreground);
	background: var(--primary);
	border-radius: var(--radius);
}
.toast-icon svg {
	width: 18px;
	height: 18px;
}
.toast-text {
	display: grid;
	font-size: 0.875rem;
	line-height: 1.35;
}

/* The visitor's own record, in front at the lower left. */
.hero-stage .record {
	position: relative;
	z-index: 1;
	grid-column: 1 / 3;
	grid-row: 3;
	width: min(100%, 460px);
	margin: -12px 0 0 -40px;
	box-shadow: 0 12px 32px rgb(0 0 0 / 0.12); /* taste-skill-ignore: it lies on top of the overview */
}
.hero-stage .record .card-header {
	padding: 18px 18px 0;
}
.hero-stage .record .card-content {
	gap: 10px;
	padding: 16px 18px 18px;
}

/* ---- Sections ---- */

.section {
	padding-top: var(--section);
	padding-bottom: var(--section);
}
.section-muted {
	background: var(--muted);
	border-top: 1px solid var(--border); /* taste-skill-ignore: shadcn border, the requested style */
	border-bottom: 1px solid var(--border); /* taste-skill-ignore: shadcn border, the requested style */
}
.section-muted .card {
	background: var(--background);
}
.section-head {
	max-width: 640px;
	margin-bottom: 40px;
}
.section-head .lead {
	margin-top: 12px;
}

/* ---- Tabs (CSS only: radios and labels) ---- */

.tabs > input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.tabs-list {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 4px;
	background: var(--muted);
	border-radius: var(--radius);
}
.tabs-list label {
	padding: 6px 12px;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--muted-foreground);
	border-radius: calc(var(--radius) - 2px);
	cursor: pointer;
	transition: background-color 150ms, color 150ms;
}
.tabs-list label:hover {
	color: var(--foreground);
}
.tab-panel {
	display: none;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
	column-gap: 40px;
	row-gap: 32px;
	align-items: start;
	margin-top: 16px;
	padding: 32px;
	overflow: hidden;
}
.tab-text h3 {
	font-size: 1.5rem;
	letter-spacing: -0.02em;
}
.tab-text {
	display: contents;
}
.tab-text p {
	max-width: 60ch;
}
/* The app itself, whole, in a window on a muted field under the text. */
.tab-shot {
	grid-column: 1 / -1;
	margin: 0 -32px -32px;
	padding: 40px 32px;
	background: var(--muted);
}
.window {
	max-width: 1040px;
	margin: 0 auto;
	overflow: hidden;
	background: var(--background);
	border: 1px solid var(--border); /* taste-skill-ignore: app window edge, like the cards */
	border-radius: var(--radius);
}
.window-bar {
	padding: 8px 16px;
	font-size: 0.8125rem;
	text-align: center;
	color: var(--muted-foreground);
	background: var(--muted);
}
.window img {
	display: block;
	width: 100%;
	height: auto;
}
/* Each screenshot exists light and dark; the page shows the one that
   matches its scheme. Hidden images with loading="lazy" are not fetched. */
.shot-dark {
	display: none;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme='light']) .shot-light {
		display: none;
	}
	:root:not([data-theme='light']) .shot-dark {
		display: contents;
	}
}
:root[data-theme='dark'] .shot-light {
	display: none;
}
:root[data-theme='dark'] .shot-dark {
	display: contents;
}
#step-1:checked ~ .tabs-list label[for='step-1'],
#step-2:checked ~ .tabs-list label[for='step-2'],
#step-3:checked ~ .tabs-list label[for='step-3'],
#step-4:checked ~ .tabs-list label[for='step-4'],
#step-5:checked ~ .tabs-list label[for='step-5'] {
	background: var(--background);
	color: var(--foreground);
	box-shadow: 0 1px 2px rgb(0 0 0 / 0.08); /* taste-skill-ignore: shadcn active tab */
}
#step-1:focus-visible ~ .tabs-list label[for='step-1'],
#step-2:focus-visible ~ .tabs-list label[for='step-2'],
#step-3:focus-visible ~ .tabs-list label[for='step-3'],
#step-4:focus-visible ~ .tabs-list label[for='step-4'],
#step-5:focus-visible ~ .tabs-list label[for='step-5'] {
	outline: 2px solid var(--ring);
	outline-offset: 2px;
}
#step-1:checked ~ .panel-1,
#step-2:checked ~ .panel-2,
#step-3:checked ~ .panel-3,
#step-4:checked ~ .panel-4,
#step-5:checked ~ .panel-5 {
	display: grid;
}

/* ---- Sender list (table-like) ---- */

.board {
	overflow: hidden;
}
.board-head,
.row-head {
	display: grid;
	grid-template-columns: minmax(0, 3fr) 1fr 1fr 1fr 96px;
	gap: 16px;
	align-items: center;
	padding: 0 20px;
}
.board-head {
	height: 44px;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--muted-foreground);
	border-bottom: 1px solid var(--border); /* taste-skill-ignore: shadcn border, the requested style */
}
.board-head span:last-child {
	text-align: right;
}
.row + .row {
	border-top: 1px solid var(--border); /* taste-skill-ignore: shadcn border, the requested style */
}
.row-head {
	width: 100%;
	min-height: 52px;
	font: inherit;
	font-size: 0.9375rem;
	color: inherit;
	text-align: left;
	background: none;
	border: 0;
	cursor: pointer;
	font-variant-numeric: tabular-nums;
	transition: background-color 150ms;
}
.row-head:hover {
	background: color-mix(in srgb, var(--muted) 60%, transparent);
}
.row-name {
	font-weight: 500;
}
.row-fact {
	color: var(--muted-foreground);
}
.row-head .badge {
	justify-self: end;
}
.row-detail {
	display: none;
	padding: 0 20px 16px;
	max-width: 72ch;
	font-size: 0.9375rem;
}
.row.open {
	background: color-mix(in srgb, var(--muted) 60%, transparent);
}
.row.open .row-detail {
	display: block;
}

/* ---- One sheet per domain ---- */

.features {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
	gap: 64px;
	align-items: start;
}
.feature-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px 40px;
	padding: 0;
	list-style: none;
}
.feature {
	padding-left: 16px;
	border-left: 2px solid var(--border);
	transition: border-color 150ms;
}
.feature p {
	margin-top: 4px;
	color: var(--muted-foreground);
	font-size: 0.9375rem;
}
.feature:hover {
	border-left-color: var(--primary);
}

.plate {
	overflow: hidden;
	font-size: 0.875rem;
}
.part {
	padding: 16px 20px;
	transition: background-color 150ms;
}
.part + .part {
	border-top: 1px solid var(--border); /* taste-skill-ignore: shadcn border, the requested style */
}
.plate-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 600;
	font-size: 0.9375rem;
}
.big {
	margin-top: 8px;
	font-size: 2.25rem;
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}
.part .muted.small {
	margin-top: 4px;
}
.part > .muted.small:first-child {
	margin: 0 0 8px;
}
.code-box {
	padding: 6px 10px;
	background: var(--muted);
	border-radius: calc(var(--radius) - 2px);
}
.item {
	padding: 4px 0 4px 10px;
	border-left: 2px solid var(--ring);
}
.item + .item {
	margin-top: 6px;
}
.item-warn {
	border-left-color: var(--warn);
}
.segmented {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	padding: 3px;
	background: var(--muted);
	border-radius: calc(var(--radius) - 2px);
	text-align: center;
}
.segmented span {
	padding: 4px 0;
	color: var(--muted-foreground);
	border-radius: calc(var(--radius) - 4px);
}
.segmented .on {
	background: var(--background);
	color: var(--foreground);
	font-weight: 500;
}
.switch-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 500;
}
.switch {
	position: relative;
	width: 36px;
	height: 20px;
	background: var(--primary);
	border-radius: 999px;
}
.switch::after {
	content: '';
	position: absolute;
	top: 2px;
	right: 2px;
	width: 16px;
	height: 16px;
	background: var(--primary-foreground);
	border-radius: 50%;
}

/* A feature and the part of the sheet it describes light up together. */
.features:has(.f-rate:hover) .p-rate,
.features:has(.f-addr:hover) .p-addr,
.features:has(.f-advice:hover) .p-advice,
.features:has(.f-policy:hover) .p-policy,
.features:has(.f-alerts:hover) .p-alerts,
.features:has(.f-digest:hover) .p-digest {
	background: var(--muted);
}

/* ---- Data ---- */

.data-top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
	gap: 64px;
	align-items: end;
	margin-bottom: 40px;
}
.data-top .section-head {
	margin-bottom: 0;
}
.data-photo {
	overflow: hidden;
	border: 1px solid var(--border); /* taste-skill-ignore: shadcn border, the requested style */
	border-radius: calc(var(--radius) + 4px);
}
.data-photo img {
	filter: grayscale(1);
}
.table-card {
	overflow-x: auto;
}
.table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}
.table th {
	height: 44px;
	padding: 0 20px;
	text-align: left;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--muted-foreground);
	border-bottom: 1px solid var(--border); /* taste-skill-ignore: shadcn border, the requested style */
}
.table td {
	padding: 14px 20px;
	vertical-align: top;
}
.table tbody tr + tr td {
	border-top: 1px solid var(--border); /* taste-skill-ignore: shadcn border, the requested style */
}
.table td:first-child {
	font-weight: 500;
}
.table tbody tr {
	transition: background-color 150ms;
}
.table tbody tr:hover {
	background: color-mix(in srgb, var(--muted) 60%, transparent);
}

.alert {
	display: flex;
	gap: 12px;
	margin-top: 24px;
	padding: 16px;
	background: var(--background);
	border: 1px solid var(--border); /* taste-skill-ignore: shadcn border, the requested style */
	border-radius: calc(var(--radius) + 4px);
	font-size: 0.9375rem;
}
.alert svg {
	width: 18px;
	height: 18px;
	flex: none;
	margin-top: 2px;
}
.alert-title {
	font-weight: 500;
}

/* ---- Price ---- */

.price {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
	gap: 64px;
	align-items: center;
}
.price .section-head {
	margin-bottom: 0;
}
.price-amount {
	display: flex;
	align-items: baseline;
	gap: 8px;
}
.price-amount span:first-child {
	font-size: 2.75rem;
	font-weight: 700;
	letter-spacing: -0.04em;
}
.checklist {
	display: grid;
	gap: 12px;
	margin: 24px 0;
	padding: 0 24px;
	list-style: none;
	font-size: 0.9375rem;
}
.price-card .btn-block {
	width: calc(100% - 48px);
	margin: 0 24px 24px;
}

/* ---- FAQ (accordion) ---- */

.faq {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
	gap: 64px;
	align-items: start;
}
.accordion details {
	border-bottom: 1px solid var(--border); /* taste-skill-ignore: shadcn border, the requested style */
}
.accordion summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	font-weight: 500;
	cursor: pointer;
	list-style: none;
}
.accordion summary::-webkit-details-marker {
	display: none;
}
.accordion summary:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}
.accordion summary svg {
	width: 16px;
	height: 16px;
	flex: none;
	color: var(--muted-foreground);
	transition: transform 200ms var(--ease);
}
.accordion details[open] summary svg {
	transform: rotate(180deg);
}
.accordion details p {
	padding-bottom: 18px;
	max-width: 62ch;
	color: var(--muted-foreground);
}

/* ---- Call to action ---- */

.cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 48px;
	background: var(--primary);
	color: var(--primary-foreground);
	border-radius: calc(var(--radius) + 8px);
}
.cta .lead {
	margin-top: 8px;
	color: color-mix(in srgb, var(--primary-foreground) 70%, var(--primary));
}
.cta .btn-primary {
	background: var(--primary-foreground);
	color: var(--primary);
}
.cta .btn-primary:hover {
	background: color-mix(in srgb, var(--primary-foreground) 88%, var(--primary));
}

/* ---- Footer ---- */

.site-footer {
	border-top: 1px solid var(--border); /* taste-skill-ignore: shadcn border, the requested style */
}
.footer-inner {
	padding-top: 40px;
	padding-bottom: 40px;
}
.footer-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
}
.footer-links a {
	color: var(--muted-foreground);
	text-decoration: none;
}
.footer-links a:hover {
	color: var(--foreground);
}
.credits {
	margin-top: 24px;
	max-width: 110ch;
	font-size: 0.8125rem;
	color: var(--muted-foreground);
}

/* ---- Legal pages ---- */

.legal-text {
	max-width: 70ch;
	padding-top: 64px;
	padding-bottom: 96px;
}
.legal-text h1 {
	margin-bottom: 32px;
}
.legal-text h2 {
	margin: 32px 0 8px;
	font-size: 1.25rem;
}

/* ---- Tablet and phone ---- */

@media (max-width: 960px) {
	.nav-links {
		display: none;
	}
	.hero,
	.features,
	.data-top,
	.price,
	.faq {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.plate,
	.data-photo,
	.price-card {
		max-width: 480px;
	}
	.tab-panel {
		grid-template-columns: 1fr;
		row-gap: 12px;
		padding: 24px 24px 0;
	}
	.tab-shot {
		margin: 12px -24px -24px;
		padding: 32px 24px;
	}
	.cta {
		flex-direction: column;
		align-items: flex-start;
		padding: 32px;
	}
}

@media (max-width: 600px) {
	/* Phones get the app's phone layout, at about the size of a phone. */
	.window {
		max-width: 280px;
		border-radius: 20px;
	}
	.header-actions .btn-ghost {
		display: none;
	}
	.feature-list {
		grid-template-columns: 1fr;
	}
	.board-head {
		display: none;
	}
	.board-head,
	.row-head {
		grid-template-columns: minmax(0, 1fr) auto;
		padding: 0 16px;
	}
	.row-fact {
		display: none;
	}
	.row-detail {
		padding: 0 16px 16px;
	}
	.tabs-list {
		display: flex;
	}
	.table thead {
		display: none;
	}
	.table,
	.table tbody,
	.table tr,
	.table td {
		display: block;
		width: 100%;
	}
	.table tr {
		padding: 12px 16px;
	}
	.table tbody tr + tr td {
		border-top: 0;
	}
	.table tbody tr + tr {
		border-top: 1px solid var(--border); /* taste-skill-ignore: shadcn border, the requested style */
	}
	.table td {
		padding: 2px 0;
	}
	.table td:not(:first-child) {
		color: var(--muted-foreground);
		font-size: 0.875rem;
	}
}

/* ---- Motion: content is visible without script; moves only with it ---- */

.js [data-reveal] {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 600ms var(--ease), transform 600ms var(--ease);
	transition-delay: var(--delay, 0ms);
}
.js [data-reveal].in {
	opacity: 1;
	transform: none;
}


@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.js [data-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.btn,
	.accordion summary svg {
		transition: none;
	}
}
.legal-text h3 {
	margin: 24px 0 6px;
}
.legal-text p + p {
	margin-top: 12px;
}
.legal-list {
	display: grid;
	gap: 8px;
	margin: 12px 0;
	padding-left: 20px;
}
.legal-text .table-card {
	margin-top: 12px;
}
.legal-text .table-card + p {
	margin-top: 12px;
}

/* ---- Hero stage on narrow screens ---- */

@media (max-width: 960px) {
	.hero-stage {
		max-width: 560px;
	}
}
@media (max-width: 600px) {
	.hero-stage {
		min-height: 0;
		padding: 56px 0 0;
	}
	.stage-field {
		inset: 24px -16px 72px;
		border-radius: 0;
	}
	.app-card {
		margin: 0 4px;
	}
	.toast {
		left: 12px;
		right: 12px;
		min-width: 0;
	}
	.hero-stage .record {
		width: auto;
		margin: -12px 0 0;
	}
}
@media (prefers-reduced-motion: reduce) {
	.toast {
		transition: none;
	}
}

/* Sections focused by the in-page links are where the keyboard continues;
   they need no frame. */
section[tabindex='-1']:focus {
	outline: none;
}

/* On small phones the header keeps the colour switch; its action is the
   hero's first button, right below. */
@media (max-width: 480px) {
	.js .header-actions .btn-primary {
		display: none;
	}
}
