/* workdaytracker.com
   The web app's design language, applied to a marketing site: Inter, neutral surfaces,
   one accent (the brand blue), borders instead of shadows, panels that name what they hold.
   Tokens mirror frontend/src/app/theme/tokens.ts. */

:root {
	--n0: #ffffff;
	--n50: #f5f7fa;
	--n100: #eceff4;
	--n200: #dfe4ec;
	--n300: #c9d1dd;
	--n400: #a3aec0;
	--n500: #76839a;
	--n600: #5a6578;
	--n700: #414a5a;
	--n800: #2a313d;
	--n900: #1b2029;
	--n950: #0f141b;
	--blue50: #eef3fc;
	--blue100: #d9e3f8;
	--blue200: #b6c9f0;
	--blue400: #5f87d6;
	--blue600: #1f469e;
	--blue700: #1a3a83;
	--blue900: #10244f;
	--light-blue: #a5c7e7;
	--success: #1b7f4f;
	--success-bg: #dcf3e6;
	--warning: #9a5b00;
	--warning-bg: #fdf0d5;
	--error: #b3261e;
	--error-bg: #fbe3e1;

	--text: var(--n900);
	--text-2: var(--n600);
	--bg: var(--n0);
	--bg-2: var(--n50);
	--line: var(--n200);
	--accent: var(--blue600);
	--accent-hover: var(--blue700);

	--font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--radius: 8px;
	--radius-lg: 12px;
	--container: 1120px;
	--gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.55;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 20px; border-radius: var(--radius); border: 1px solid transparent;
	font-weight: 600; font-size: 1rem; line-height: 1.2; cursor: pointer; white-space: nowrap;
	transition: background-color 120ms ease, border-color 120ms ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--n0); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--n0); color: var(--text); border-color: var(--n300); }
.btn-secondary:hover { border-color: var(--n500); background: var(--n50); }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; }
.btn-sm { padding: 8px 14px; font-size: 0.95rem; }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 30;
	background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 40px; height: 76px; max-width: 1440px; padding: 0 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-weight: 700; letter-spacing: 0.02em; font-size: 1.12rem; flex: none; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand .light { color: var(--light-blue); }
.brand .dark { color: var(--accent); }
.site-nav { display: flex; align-items: center; flex: 1; min-width: 0; }
.nav-primary { display: flex; align-items: center; gap: 2px; }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.site-nav a, .site-nav .menu > button { color: var(--n700); font-weight: 600; font-size: 0.98rem; padding: 10px 14px; border-radius: 8px; line-height: 1.2; }
.site-nav .nav-primary a:hover, .site-nav .nav-actions > a:not(.btn):hover { color: var(--text); background: var(--n100); text-decoration: none; }
.site-nav .menu { position: relative; }
.site-nav .menu > button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; cursor: pointer; font-family: inherit; }
.site-nav .menu > button svg { transition: transform 0.15s; color: var(--n500); }
.site-nav .menu > button:hover, .site-nav .menu.open > button { color: var(--text); background: var(--n100); }
.site-nav .menu.open > button svg { transform: rotate(180deg); }
@media (hover: hover) { .site-nav .menu:hover > button svg { transform: rotate(180deg); } }
.site-nav .nav-actions .btn { padding: 11px 18px; font-size: 0.95rem; }
.site-nav .nav-actions .btn-primary { color: var(--n0); }
.site-nav .nav-actions .btn-primary:hover { background: var(--accent-hover); }
.site-nav .nav-actions .btn-secondary:hover { background: var(--n50); }
.site-nav .dropdown { display: none; position: absolute; top: calc(100% + 10px); left: -6px; grid-template-columns: repeat(2, 300px); gap: 4px 8px; padding: 12px; background: var(--n0); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(27, 32, 41, 0.14), 0 2px 6px rgba(27, 32, 41, 0.06); z-index: 40; }
.site-nav .menu.open .dropdown { display: grid; }
@media (hover: hover) { .site-nav .menu:hover .dropdown { display: grid; } }
.site-nav .dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.site-nav .dropdown .col { display: flex; flex-direction: column; gap: 2px; }
.site-nav .dropdown h5 { margin: 0; padding: 10px 12px 8px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--n500); font-weight: 600; }
.site-nav .dropdown a { display: block; padding: 10px 12px; border-radius: 10px; font-weight: 500; color: var(--text); white-space: normal; }
.site-nav .dropdown a:hover { background: var(--n50); text-decoration: none; }
.site-nav .dropdown a strong { display: block; font-weight: 600; font-size: 0.95rem; color: var(--text); }
.site-nav .dropdown a span { display: block; margin-top: 2px; font-size: 0.85rem; color: var(--text-2); }
.site-nav .dropdown a.all { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 6px; margin: 6px -12px -12px; padding: 14px 24px; border-top: 1px solid var(--line); border-radius: 0 0 16px 16px; background: var(--n50); color: var(--accent); font-weight: 600; }
.site-nav .dropdown a.all:hover { background: var(--blue50); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--n0); cursor: pointer; color: var(--text); }
.nav-toggle svg { margin: 0 auto; }
@media (max-width: 1100px) {
	.site-header .container { gap: 24px; }
	.site-nav a, .site-nav .menu > button { padding: 10px 10px; font-size: 0.95rem; }
	.nav-actions .btn-secondary { display: none; }
	.site-nav .dropdown { grid-template-columns: repeat(2, 268px); }
}
@media (max-width: 900px) {
	.site-header .container { height: 64px; }
	.brand { font-size: 1rem; } .brand img { width: 32px; height: 32px; }
	.nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 64px;
		flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 16px;
		background: var(--n0); border-bottom: 1px solid var(--line);
		max-height: calc(100vh - 64px); overflow-y: auto;
	}
	.site-nav.open { display: flex; }
	.nav-primary, .nav-actions { flex-direction: column; align-items: stretch; gap: 2px; margin: 0; }
	.nav-actions { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); gap: 8px; }
	.nav-actions .btn, .nav-actions .btn-secondary { display: inline-flex; justify-content: center; }
	.site-nav a { padding: 12px; }
	.site-nav .menu > button { display: none; }
	.site-nav .dropdown, .site-nav .menu.open .dropdown { display: grid; position: static; grid-template-columns: 1fr; gap: 2px; padding: 0 0 8px; border: 0; box-shadow: none; border-radius: 0; }
	.site-nav .dropdown h5 { padding: 12px 12px 6px; }
	.site-nav .dropdown a { padding: 10px 12px; }
	.site-nav .dropdown a.all { margin: 4px 0 0; padding: 12px; border: 0; border-radius: 8px; background: none; }
}

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.alt + .section.alt { border-top: 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.center { text-align: center; }
.eyebrow { display: inline-block; margin-bottom: 14px; color: var(--accent); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.lead { margin-top: 18px; font-size: 1.2rem; color: var(--text-2); }
@media (max-width: 700px) { .section { padding: 64px 0; } }

/* Hero */
.hero { padding: 88px 0 0; background: radial-gradient(ellipse 70% 60% at 50% 0%, var(--blue50) 0%, var(--n0) 70%); }
.hero-copy { text-align: center; max-width: 880px; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.08; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { max-width: 640px; margin: 22px auto 0; font-size: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-copy .hero-actions, .hero-actions.center { justify-content: center; }
.hero-note { margin-top: 18px; color: var(--n500); font-size: 0.95rem; }
.hero-visual { position: relative; margin-top: 56px; padding-bottom: 72px; }
.hero-visual .frame { box-shadow: 0 24px 60px -24px rgba(16, 36, 79, 0.35); }
.float {
	position: absolute; right: 0; bottom: 24px; width: min(380px, 80%);
	background: var(--n0); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px;
	box-shadow: 0 16px 40px rgba(27, 32, 41, 0.14);
}
.hero-visual .float { right: 8px; bottom: 32px; }
@media (max-width: 700px) {
	.hero { padding-top: 48px; }
	.hero-visual { margin-top: 36px; padding-bottom: 0; }
	.float, .hero-visual .float { position: static; width: auto; margin: 16px 0 0; box-shadow: none; }
}

/* Browser frame around a screenshot */
.frame { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--n0); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--n100); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--n300); }
.frame-bar span { margin-left: 10px; flex: 1; height: 18px; border-radius: 5px; background: var(--n0); border: 1px solid var(--line); font-size: 11px; line-height: 16px; color: var(--n500); padding: 0 8px; }
.frame img { width: 100%; }

/* Credo: one statement, three steps */
.credo { padding: 88px 0; }
.statement { text-align: center; font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 760px; margin: 0 auto 56px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: step; }
.steps li { text-align: center; }
.step-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--blue50); color: var(--accent); margin-bottom: 16px; }
.steps h3 { font-size: 1.15rem; margin-bottom: 8px; }
.steps h3::before { counter-increment: step; content: counter(step) ". "; color: var(--n400); font-weight: 500; }
.steps p { color: var(--text-2); max-width: 300px; margin: 0 auto; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 32px; } .credo { padding: 64px 0; } }

/* Features: short copy beside a large, bleeding screenshot */
.features { padding: 24px 0 48px; }
.feature { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: center; padding: 56px 0; }
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.feature.flip .feature-copy { order: 2; }
.feature-copy h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 16px; }
.feature-copy p { color: var(--text-2); font-size: 1.1rem; }
/* Three facts as blocks: each in its own bordered box, the title small enough to stay on one line. */
.facts { display: grid; grid-template-columns: repeat(3, minmax(min-content, 1fr)); gap: 10px; margin: 28px 0 0; }
/* A row of two fills the width instead of leaving the third place empty. */
.facts:has(> div:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(min-content, 1fr)); }
.facts > div { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); padding: 13px 12px 12px; }
.facts dt { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; color: var(--text); white-space: nowrap; }
.facts dd { margin: 4px 0 0; color: var(--text-2); font-size: 0.85rem; line-height: 1.35; }
.feature-visual { position: relative; }
.shot { background: var(--blue50); border-radius: 20px; padding: 40px 0 0 40px; overflow: hidden; }
.shot .frame { border-radius: var(--radius-lg) 0 0 0; border-right: 0; border-bottom: 0; box-shadow: 0 20px 50px -20px rgba(16, 36, 79, 0.3); }
.feature.flip .shot { padding: 40px 40px 0 0; }
.feature.flip .shot .frame { border-radius: 0 var(--radius-lg) 0 0; border-right: 1px solid var(--line); border-left: 0; }
.shot.pad { padding: 40px; }
.shot.pad .mock { box-shadow: 0 20px 50px -20px rgba(16, 36, 79, 0.3); }
.feature-visual .float.small { right: 24px; bottom: -28px; width: min(300px, 70%); padding: 14px 16px; }
.feature-visual .float.small .stat-row { margin: 4px 0 8px; gap: 10px; }
.feature-visual .float.small .stat strong { font-size: 1.3rem; }
.feature-visual .float.small .chips { margin-top: 6px; }
@media (max-width: 900px) {
	.feature, .feature.flip { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 40px 0; }
	.feature.flip .feature-copy { order: 0; }
	.shot, .feature.flip .shot { padding: 24px 0 0 24px; }
	.feature.flip .shot .frame { border-radius: var(--radius-lg) 0 0 0; border-left: 1px solid var(--line); border-right: 0; }
	.shot.pad { padding: 20px; }
}

/* Mock cards (the product's own panels, drawn in HTML) */
.mock { background: var(--n0); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; font-size: 0.95rem; }
.mock-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.mock-head h4 { font-size: 1.05rem; font-weight: 600; }
.mock-head small { color: var(--n500); font-size: 0.8rem; }
.mock p { color: var(--text); }
.mock .meta { color: var(--n500); font-size: 0.85rem; }
.mock .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--n50); font-size: 0.8rem; color: var(--text-2); }
.chip.ok { background: var(--success-bg); border-color: transparent; color: var(--success); }
.chip.warn { background: var(--warning-bg); border-color: transparent; color: var(--warning); }
.chip.bad { background: var(--error-bg); border-color: transparent; color: var(--error); }
.chip.info { background: var(--blue50); border-color: transparent; color: var(--accent); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 16px; margin: 8px 0 14px; }
.stat small { display: block; color: var(--n500); font-size: 0.8rem; }
.stat strong { display: block; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.stat em { display: block; font-style: normal; color: var(--text-2); font-size: 0.82rem; }
.mock-rows { display: grid; gap: 8px; margin-top: 10px; }
.mock-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); align-items: center; }
.mock-row:first-child { border-top: 0; }
.mock-row .who { font-weight: 500; }
.mock-row .sub { display: block; color: var(--n500); font-size: 0.82rem; }
.mock-row .score { font-weight: 600; font-size: 1.1rem; }
.mock-row .score small { color: var(--n500); font-weight: 400; font-size: 0.8rem; }
.timeline { display: flex; gap: 2px; margin: 10px 0 4px; }
.timeline i { flex: 1; height: 26px; border-radius: 3px; background: var(--n100); }
.timeline i.s { background: var(--n200); }
.timeline i.r { background: var(--blue200); }
.timeline i.a { background: var(--accent); }
.timeline-axis { display: flex; justify-content: space-between; color: var(--n500); font-size: 0.72rem; }

/* Landing pages from data */
.landing-hero { padding: 72px 0 8px; background: radial-gradient(ellipse 70% 60% at 50% 0%, var(--blue50) 0%, var(--n0) 70%); }
.landing-hero .feature { padding: 0; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; }
.landing-hero h1 { font-size: clamp(2rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.landing-hero + .section { padding-top: 40px; }
.landing-hero .feature-copy .lead { margin-top: 0; font-size: 1.15rem; }
.landing-hero .hero-actions { margin-top: 24px; }
.landing-hero .section-head h1 { font-size: clamp(2rem, 3.8vw, 3rem); }
.landing-hero .section-head .hero-actions { justify-content: center; }
.landing-hero .section-head { padding-bottom: 40px; }
.feature.text-only { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.related { padding: 48px 0; border-top: 1px solid var(--line); }
.related-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--n500); margin-bottom: 12px; }
.related-list { display: flex; flex-wrap: wrap; gap: 10px; }
.related-list a { display: inline-block; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); font-weight: 500; }
.related-list a:hover { border-color: var(--n400); text-decoration: none; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card-grid a { display: flex; flex-direction: column; height: 100%; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--text); background: var(--n0); }
.card-grid a:hover { border-color: var(--n400); text-decoration: none; }
.card-grid h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card-grid p { color: var(--text-2); font-size: 0.98rem; flex: 1; }
.card-grid .more { margin-top: 16px; color: var(--accent); font-weight: 500; }
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .landing-hero { padding-top: 48px; } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } }

/* Pricing: the active-agent example */
.feature.seats { padding-top: 0; }
.seat-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 4px 0 18px; }
.seat-tiles li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 64px; border-radius: var(--radius); border: 1px dashed var(--n300); color: var(--n500); font-weight: 600; font-size: 0.95rem; }
.seat-tiles li small { font-weight: 400; font-size: 0.72rem; }
.seat-tiles li.on { border: 1px solid var(--blue100); background: var(--blue50); color: var(--accent); }
.seat-q { margin: 0 0 8px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--n500); }
.seat-bill { position: relative; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.seat-bill > div { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 16px; }
.seat-bill .them { border-left: 1px solid var(--line); background: var(--n50); padding-left: 28px; }
.seat-bill .us { padding-right: 28px; }
.seat-bill .label { font-weight: 600; font-size: 0.9rem; }
.seat-bill strong { font-size: 1.7rem; letter-spacing: -0.02em; line-height: 1.2; }
.seat-bill .us strong { color: var(--accent); }
.seat-bill .them strong { color: var(--n600); }
.seat-bill .sum { font-size: 0.85rem; color: var(--text); }
.seat-bill small { color: var(--n500); font-size: 0.8rem; }
.seat-bill .vs { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--n0); border: 1px solid var(--line); font-size: 0.75rem; font-weight: 700; color: var(--n600); text-transform: uppercase; }
.seat-diff { margin: 12px 0 0; text-align: center; font-size: 0.9rem; color: var(--text-2); }
.seat-diff strong { color: var(--text); }
@media (max-width: 480px) { .seat-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } .seat-bill strong { font-size: 1.35rem; } }

/* Panels */
.panel { background: var(--n0); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }

/* The rest of the product: icon, title, one line */
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.more-grid li svg { color: var(--accent); margin-bottom: 12px; }
.more-grid h3 { font-size: 1.05rem; margin-bottom: 6px; }
.more-grid p { color: var(--text-2); font-size: 0.98rem; }
.works-with { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); text-align: center; color: var(--text-2); font-size: 0.95rem; line-height: 1.8; }
.works-with span { display: inline-block; margin-right: 10px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--n500); }
@media (max-width: 900px) { .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .more-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Security: four short columns */
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.trust-grid li svg { color: var(--accent); margin-bottom: 12px; }
.trust-grid h3 { font-size: 1.05rem; margin-bottom: 6px; }
.trust-grid p { color: var(--text-2); font-size: 0.98rem; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }

/* Compare table */
.compare { width: 100%; border-collapse: collapse; background: var(--n0); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; font-size: 0.98rem; }
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); max-width: 900px; margin: 0 auto; }
.table-note { margin-top: 14px; text-align: center; color: var(--n500); font-size: 0.85rem; }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; background: var(--n50); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); font-weight: 600; }
.compare td:first-child { font-weight: 500; }
.compare td.us { background: var(--blue50); }
.compare td .yes { font-weight: 600; color: var(--success); }
.compare td .no { color: var(--n500); }
.compare td .part { color: var(--warning); }
.compare td .yes::before { content: "\2713\00a0"; }
.compare td .no::before { content: "\2013\00a0"; }
.compare td .part::before { content: "\25D0\00a0"; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 14px; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan .name { font-size: 1.05rem; font-weight: 600; }
.plan .tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--blue50); color: var(--accent); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; vertical-align: middle; }
.plan .price { font-size: 2.6rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.plan .price small { font-size: 1rem; font-weight: 400; letter-spacing: 0; color: var(--text-2); margin-left: 4px; }
.plan .per { color: var(--text-2); font-size: 0.95rem; margin-top: -6px; }
.plan ul { display: grid; gap: 8px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.plan li svg { color: var(--success); margin-top: 4px; }
.plan .btn { margin-top: auto; }
.plan-note { margin-top: 24px; text-align: center; color: var(--text-2); font-size: 0.95rem; }
.plans.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin-inline: auto; }
@media (max-width: 900px) { .plans, .plans.two { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 760px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--n0); }
.faq summary { padding: 16px 20px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--n500); font-weight: 400; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq .answer { padding: 0 20px 18px; color: var(--text-2); }
.faq .answer p + p { margin-top: 10px; }
.faq .answer ul { margin: 10px 0 0; padding-left: 20px; list-style: disc; display: grid; gap: 4px; }

/* Final call */
.cta-band { background: var(--blue900); color: var(--n0); padding: 96px 0; text-align: center; }
.cta-band .lead { max-width: 560px; margin: 16px auto 0; }
.cta-band h2 { color: var(--n0); }
.cta-band .lead { color: var(--blue200); }
.cta-band .btn-primary { background: var(--n0); color: var(--blue900); }
.cta-band .btn-primary:hover { background: var(--blue50); }
.cta-band .btn-secondary { background: transparent; color: var(--n0); border-color: rgba(255, 255, 255, 0.35); }
.cta-band .btn-secondary:hover { background: rgba(255, 255, 255, 0.08); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--n0); padding: 48px 0 32px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.footer-grid h4 { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--n500); margin-bottom: 12px; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--text-2); }
.footer-grid a:hover { color: var(--text); }
.footer-grid .about { color: var(--text-2); margin-top: 12px; max-width: 360px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--n500); font-size: 0.88rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Video dialog */
dialog.video { border: 0; padding: 0; background: transparent; max-width: min(1000px, 94vw); width: 100%; }
dialog.video::backdrop { background: rgba(15, 20, 27, 0.8); }
dialog.video .inner { position: relative; background: var(--n950); border-radius: var(--radius-lg); overflow: hidden; }
dialog.video video { width: 100%; aspect-ratio: 16 / 9; }
dialog.video .close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.9); color: var(--n900); cursor: pointer; font-size: 1.2rem; line-height: 1; }

/* Article pages: about, contact, help, legal */
.article { padding: 56px 0 88px; }
.article .container { max-width: 820px; }
.article h1 { margin-bottom: 8px; }
.article .meta { color: var(--n500); margin-bottom: 36px; }
.prose { font-size: 1.05rem; }
.prose h1, .prose h2, .prose h3, .prose h4 { margin: 2em 0 0.6em; }
.prose h2 { font-size: 1.6rem; }
.prose h3 { font-size: 1.25rem; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1em 1.4em; padding: 0; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.4em; }
.prose li > ul, .prose li > ol { margin-top: 0.4em; }
.prose img { border: 1px solid var(--line); border-radius: var(--radius); margin: 1em 0; }
.prose video { border-radius: var(--radius); margin: 0 0 1.5em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-top: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--n50); font-weight: 600; }
.prose .note { background: var(--blue50); border: 1px solid var(--blue100); border-radius: var(--radius); padding: 12px 16px; }
.prose .text-center { text-align: center; }
.article-list { display: grid; gap: 12px; }
.article-list a { display: block; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); font-weight: 500; }
.article-list a:hover { border-color: var(--n400); text-decoration: none; }
.article-list time { display: block; color: var(--n500); font-size: 0.85rem; font-weight: 400; margin-top: 4px; }

/* The legal pages are exported from Google Docs with their own class names; give them room. */
.legal .prose p, .legal .prose li { font-size: 1rem; }
.legal .prose ol, .legal .prose ul { margin-left: 1.6em; }
.legal .prose [class*="c"] { font-family: inherit !important; }

/* 404 */
.not-found { text-align: center; padding: 120px 0; }
.not-found .code { font-size: 6rem; font-weight: 700; color: var(--accent); letter-spacing: -0.04em; line-height: 1; }
.not-found p { margin: 16px 0 28px; color: var(--text-2); }

/* Phone: the comparison table fits the screen */
@media (max-width: 600px) {
	.compare { font-size: 0.85rem; }
	.compare th, .compare td { padding: 10px 8px; overflow-wrap: anywhere; }
}

/* Home: the check-ins, both sides of the credo, the founder */
.bubbles { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 14px; max-width: 860px; margin: 0 auto 40px; }
.bubbles li { position: relative; background: var(--blue600); border-radius: 22px; padding: 12px 20px; font-size: 1.1rem; line-height: 1.35; color: var(--n0); }
/* The tail hangs from the bubble's bottom edge, near its left end and mirrored, in the bubble's own colour. */
.bubbles li::after { content: ""; position: absolute; left: 26px; transform: scaleX(-1); top: calc(100% - 1px); width: 26px; height: 17px; background: var(--blue600); clip-path: path("M 0 0 L 22 0 C 21 7 22 12 26 17 C 15 15 5 9 0 0 Z"); }
.bubbles li { transition: opacity 0.45s ease, transform 0.45s ease; }
.bubbles li.out { opacity: 0; transform: translateY(6px); }
/* With the script running: three slots that take turns swapping their question. */
.bubbles.rotating { max-width: 1040px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; justify-items: center; min-height: 112px; }
.bubbles.rotating li { max-width: 330px; text-align: left; }
.bubbles.rotating li:nth-child(2) { margin-top: 18px; }
.checkins .lead.after { max-width: 720px; margin: 0 auto; text-align: center; }
.sides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.side { padding: 32px; }
.side h2 { margin: 6px 0 18px; }
.side ul { display: grid; gap: 12px; }
.side li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; color: var(--text-2); font-size: 1.05rem; }
.side li svg { color: var(--accent); margin-top: 4px; }
.proof { max-width: 760px; margin: 48px auto 0; text-align: center; font-size: 1.15rem; color: var(--text-2); }
.proof strong { display: block; color: var(--text); font-size: 1.4rem; margin-bottom: 6px; }
.founder { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: center; max-width: 900px; margin: 0 auto; }
.founder picture, .founder img { display: block; width: 220px; height: 220px; }
.founder img { border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.founder p { color: var(--text-2); font-size: 1.1rem; margin: 12px 0; max-width: 560px; }
.founder .btn { margin-top: 12px; }
@media (max-width: 900px) {
	.sides { grid-template-columns: 1fr; }
	.founder { grid-template-columns: 1fr; gap: 24px; justify-items: center; text-align: center; }
	.bubbles.rotating { grid-template-columns: 1fr; gap: 10px; min-height: 0; }
	.bubbles.rotating li { min-height: 3.6em; display: flex; align-items: center; }
	.bubbles.rotating li:nth-child(2) { margin-top: 0; }
}
.read-more { margin-top: 20px; font-weight: 500; }
.read-more.center { text-align: center; margin-top: 32px; }

/* Hero picture: two readable cards, the digest and one day's story. */
.hero-cards { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; max-width: 980px; margin: 0 auto; text-align: left; }
.hero-cards .mock { box-shadow: 0 24px 60px -24px rgba(16, 36, 79, 0.35); }
.hero-cards .mock + .mock { margin-top: 48px; }
@media (max-width: 800px) { .hero-cards { grid-template-columns: 1fr; gap: 16px; } .hero-cards .mock + .mock { margin-top: 0; } }
/* The two numbers under the Trust and Freedom panels. */
.numbers { display: flex; justify-content: center; gap: 72px; margin: 56px 0 0; text-align: center; }
.numbers dt { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--accent); }
.numbers dd { margin: 6px 0 0; color: var(--text-2); font-size: 1.05rem; }
.numbers + .proof { margin-top: 36px; }
@media (max-width: 600px) { .numbers { flex-direction: column; gap: 28px; } }
.more-grid h3 a { color: inherit; text-decoration: none; }
.more-grid h3 a:hover { color: var(--accent); text-decoration: underline; }
/* Stacked bubbles need room for the tail above the next one. */
@media (max-width: 900px) { .bubbles.rotating { gap: 26px; } }
/* Digest rows carry the hours worked between the name and the status. */
.mock-row.hours { grid-template-columns: minmax(0, 1fr) auto 104px; }
.mock-row.hours .score { text-align: right; white-space: nowrap; }
.mock-row.hours .chip { justify-self: end; }
.mock-rows + .meta { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
@media (max-width: 480px) {
	.mock-row.hours { grid-template-columns: minmax(0, 1fr) auto; }
	.mock-row.hours .chip { grid-column: 1 / -1; justify-self: start; }
}

/* The eyebrow sits inside the h1 so the page's search term is part of its main heading. */
h1 .eyebrow { display: block; line-height: 1.5; }
/* The landing hero's two columns outrank the phone rule above, so it is restated here. */
@media (max-width: 900px) { .landing-hero .feature { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Day player card: a screen drawn in shapes, a play bar and a strip of thumbnails. */
.player-screen { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--n50); }
.player-top { display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: var(--n100); }
.player-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--n300); }
.player-top span { flex: 1; height: 8px; margin-left: 10px; border-radius: 4px; background: var(--n0); }
.player-body { display: grid; grid-template-columns: 22% 1fr; gap: 12px; padding: 12px; min-height: 150px; }
.player-side, .player-main { display: grid; gap: 8px; align-content: start; }
.player-side b, .player-main b { display: block; height: 9px; border-radius: 4px; background: var(--n200); }
.player-side b.on { background: var(--blue200); }
.player-main b.h { height: 14px; width: 55%; background: var(--n300); }
.player-main b.s { width: 70%; }
.player-bar { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.player-btn { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); position: relative; }
.player-btn::after { content: ""; position: absolute; left: 12px; top: 9px; border-left: 9px solid var(--n0); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.player-track { flex: 1; height: 6px; border-radius: 3px; background: var(--n200); }
.player-track i { display: block; width: 38%; height: 100%; border-radius: 3px; background: var(--accent); }
.player-thumbs { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; margin-top: 12px; }
.player-thumbs i { aspect-ratio: 16 / 10; border-radius: 4px; border: 1px solid var(--line); background: var(--n100); }
.player-thumbs i.on { border: 2px solid var(--accent); background: var(--blue50); }
/* Three fact blocks with longer titles must still fit a phone's width. */
@media (max-width: 480px) { .facts { gap: 8px; } .facts > div { padding: 10px; } .facts dt { font-size: 0.92rem; } }

/* Four figures sit two by two in the narrower hero column, not three and one. */
.landing-hero .stat-row.quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* A tall screenshot (the desktop app's window) is shown small and centred, not full width. */
.shot.tall { display: flex; justify-content: center; }
.shot.tall picture { display: block; width: 100%; }
.shot.tall img { display: block; margin: 0 auto; }
.shot.tall img { width: min(300px, 100%); height: auto; border-radius: 12px; box-shadow: 0 20px 50px -20px rgba(16, 36, 79, 0.35); }
/* A padded card keeps its padding on every side in a flipped row too, where the screenshot rule would bleed it off the edge. */
.feature.flip .shot.pad { padding: 40px; }
@media (max-width: 900px) { .shot.pad, .feature.flip .shot.pad { padding: 20px; } }

/* A plain list under a section's text, such as the system requirements. */
.feature-copy .plain-list { margin: 14px 0 0; padding-left: 1.2em; list-style: disc; color: var(--text-2); font-size: 1.05rem; }
.feature-copy .plain-list li { margin: 6px 0; }

/* Full-width landing sections: two marked lists side by side, or a row of cards. */
.feature.wide { display: block; }
.wide-head { max-width: 760px; margin-bottom: 28px; }
.wide-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 12px; }
.wide-head p { color: var(--text-2); font-size: 1.1rem; }
.marks h3 { font-size: 1.5rem; margin: 6px 0 18px; }
.marks li strong { color: var(--text); font-weight: 600; }
.marks.no { background: var(--bg-2); }
.marks.no li svg { color: var(--n500); }
.info-cards { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-cards.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.info-cards li { display: flex; flex-direction: column; gap: 8px; }
.info-cards h3 { font-size: 1.1rem; }
.info-cards p { color: var(--text-2); font-size: 0.98rem; flex: 1; }
.info-cards .chip { align-self: flex-start; margin-top: 4px; }
@media (max-width: 900px) { .info-cards, .info-cards.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .info-cards, .info-cards.n4 { grid-template-columns: 1fr; } }

/* Eight cards sit four by four. */
.info-cards.n8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .info-cards.n8 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .info-cards.n8 { grid-template-columns: 1fr; } }

/* A heading row that groups the comparison table. */
.compare tr.group th { background: var(--n50); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); font-weight: 600; padding-top: 18px; }
/* On phones the comparison's first column gets enough room that words are not cut in two. */
@media (max-width: 700px) {
	.compare { table-layout: fixed; }
	.compare th:first-child, .compare td:first-child { width: 31%; }
	.compare thead th { font-size: 0.64rem; letter-spacing: 0; }
	.compare th, .compare td { overflow-wrap: break-word; }
}

/* Book a demo: the offer on the left, the booking card on the right. */
.demo-page { padding-bottom: 72px; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.demo-copy h1 { font-size: clamp(2rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.demo-points { display: grid; gap: 14px; margin: 28px 0 0; }
.demo-points li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; color: var(--text-2); font-size: 1.05rem; }
.demo-points li svg { color: var(--accent); margin-top: 5px; }
.demo-points strong { color: var(--text); font-weight: 600; }
.demo-host { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.demo-host picture, .demo-host img { display: block; width: 56px; height: 56px; }
.demo-host img { border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.demo-host p { color: var(--text-2); font-size: 0.98rem; }
.demo-host strong { color: var(--text); }
.demo-card { padding: 28px; box-shadow: 0 24px 60px -30px rgba(16, 36, 79, 0.35); }
.demo-card h2 { font-size: 1.35rem; margin-bottom: 6px; outline: none; }
.demo-steps { display: flex; gap: 8px; margin: 0 0 22px; padding: 0 0 18px; border-bottom: 1px solid var(--line); font-size: 0.85rem; color: var(--n500); }
.demo-steps li { display: flex; align-items: center; gap: 8px; flex: 1; white-space: nowrap; }
.demo-steps li span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--n300); font-size: 0.78rem; font-weight: 600; }
.demo-card[data-step="1"] .demo-steps li[data-for="1"],
.demo-card[data-step="2"] .demo-steps li[data-for="2"],
.demo-card[data-step="3"] .demo-steps li[data-for="3"] { color: var(--text); font-weight: 600; }
.demo-card[data-step="1"] .demo-steps li[data-for="1"] span,
.demo-card[data-step="2"] .demo-steps li[data-for="2"] span,
.demo-card[data-step="3"] .demo-steps li[data-for="3"] span { background: var(--accent); border-color: var(--accent); color: var(--n0); }
.demo-pane { display: none; }
.demo-card[data-step="1"] [data-pane="1"], .demo-card[data-step="2"] [data-pane="2"], .demo-card[data-step="3"] [data-pane="3"] { display: block; }
.demo-tz { color: var(--text-2); font-size: 0.9rem; margin-bottom: 18px; }
.demo-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.demo-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 20px; }
.demo-days button, .demo-slots button { font: inherit; cursor: pointer; border: 1px solid var(--n300); background: var(--n0); color: var(--text); border-radius: var(--radius); padding: 10px 6px; text-align: center; }
.demo-days button span { display: block; font-size: 0.78rem; color: var(--n500); }
.demo-days button strong { display: block; font-size: 0.95rem; font-weight: 600; }
.demo-slots button { font-size: 0.95rem; }
.demo-days button:hover, .demo-slots button:hover { border-color: var(--n500); }
/* The chosen day and time are filled, not just tinted, so the choice does not depend on colour. */
.demo-days button[aria-pressed="true"], .demo-slots button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--n0); font-weight: 600; }
.demo-days button[aria-pressed="true"] span { color: var(--blue100); }
.demo-wide { width: 100%; justify-content: center; }
.demo-wide:disabled { background: var(--n200); color: var(--n500); cursor: not-allowed; }
.demo-alt { margin-top: 14px; text-align: center; }
.demo-notice { background: var(--n100); border-radius: var(--radius); padding: 10px 12px; font-size: 0.92rem; margin: 0 0 14px; }
.demo-loading { display: none; color: var(--text-2); font-size: 0.92rem; }
[data-loading] .demo-loading { display: block; }
[data-loading] .demo-days, [data-loading] .demo-slots, [data-loading] #demo-next { display: none; }
.demo-card [hidden] { display: none !important; }
.demo-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.demo-link { font: inherit; font-size: 0.92rem; background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.demo-chosen { margin: 0 0 18px; padding: 12px 14px; border-radius: var(--radius); background: var(--blue50); color: var(--text); font-size: 0.95rem; font-weight: 500; }
.demo-card form label, .demo-card legend { display: block; font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.demo-card legend { margin-bottom: 6px; padding: 0; }
.demo-card fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.demo-card label small { font-weight: 400; color: var(--n500); }
.demo-card input[type="text"], .demo-card input[type="email"], .demo-card select, .demo-card textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; font: inherit; font-weight: 400; color: var(--text); background: var(--n0); border: 1px solid var(--n300); border-radius: var(--radius); }
.demo-card input:focus, .demo-card select:focus, .demo-card textarea:focus { outline: 2px solid var(--blue400); outline-offset: 1px; border-color: var(--accent); }
.demo-seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.demo-seg label { margin: 0; font-weight: 400; }
.demo-seg input { position: absolute; opacity: 0; pointer-events: none; }
.demo-seg span { display: block; text-align: center; padding: 10px 4px; border: 1px solid var(--n300); border-radius: var(--radius); cursor: pointer; font-size: 0.92rem; white-space: nowrap; }
.demo-seg input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--n0); font-weight: 600; }
.demo-seg input:focus-visible + span { outline: 2px solid var(--blue400); outline-offset: 1px; }
.demo-error { color: var(--error); font-size: 0.9rem; margin: 0 0 12px; }
.demo-done { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--success-bg); color: var(--success); margin-bottom: 14px; }
.demo-when { font-size: 1.15rem; font-weight: 600; margin: 6px 0 12px; }
[data-pane="3"] p { color: var(--text-2); }
[data-pane="3"] .demo-when { color: var(--text); }
.demo-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.demo-while { font-size: 0.95rem; padding-top: 16px; border-top: 1px solid var(--line); }
.demo-mail { margin-top: 32px; text-align: center; color: var(--text-2); }
/* On a phone the booking card comes right after the headline, before the supporting points. */
@media (max-width: 900px) {
	.demo-grid { display: flex; flex-direction: column; gap: 0; }
	.demo-copy { display: contents; }
	.demo-copy h1, .demo-copy .lead { order: 1; }
	.demo-card { order: 2; padding: 20px; margin-top: 28px; }
	.demo-points, .demo-host { order: 3; }
	.demo-points { margin-top: 32px; }
}
@media (max-width: 480px) {
	.demo-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.demo-seg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.demo-steps li { font-size: 0.78rem; gap: 6px; }
	.demo-days button { padding: 8px 2px; }
	.demo-days button strong { font-size: 0.82rem; }
}
