/*------------------------------------------------------------------
[ Click Teams - marketing site ]
Brand colours and type follow the Click Teams app (ClickTeams.Client
global.css): amber #E8A317 with near-black #111111, Outfit headings
and Inter body text. Amber is a fill colour only: as text on white it
fails contrast, so text accents use --amber-text (#8a5a00).
-------------------------------------------------------------------*/

:root {
	--amber: #e8a317;
	--amber-hover: #f0b43a;
	--amber-text: #8a5a00;
	--amber-tint: #fff7e3;
	--amber-soft: #fcebc2;
	--on-amber: #111111;

	--ink: #111111;
	--night: #0b0b0b;
	--night-2: #151515;
	--night-3: #1c1c1c;
	--night-line: #2e2e2e;
	--night-text: #c9c9c9;
	--night-muted: #a8a8a8;

	--text: #3b3d42;
	--muted: #5e6166;
	--line: #e5e5e1;
	--bg: #ffffff;
	--bg-soft: #f7f7f5;

	--online: #22a06b;
	--danger: #b0281a;

	--radius: 14px;
	--radius-lg: 22px;
	--shadow-sm: 0 4px 18px rgba(17, 17, 17, .06);
	--shadow: 0 18px 50px rgba(17, 17, 17, .10);
	--shadow-dark: 0 30px 80px rgba(0, 0, 0, .55);
	--shadow-amber: 0 14px 40px rgba(232, 163, 23, .35);

	--head: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
	--body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--container: 1200px;
	--header-h: 76px;
	--anchor-tuck: 64px; /* of the 96px section padding, leaving a 32px gap */
}

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

/* Menu links land just below the header: sections start with a lot of padding, so tuck most of it
   (--anchor-tuck) under the header instead of showing it as an empty gap. */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - var(--anchor-tuck)); }

body {
	font-family: var(--body);
	color: var(--text);
	background: var(--bg);
	margin: 0;
	line-height: 1.7;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

a { color: var(--amber-text); text-decoration: none; transition: color .2s, background .2s, border-color .2s, transform .2s, box-shadow .2s; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }

p { margin: 0 0 1em; }

img, svg { max-width: 100%; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; width: 100%; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--amber); color: var(--on-amber); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; color: var(--on-amber); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/*--------------------------------------------------------------
# Reusable bits
--------------------------------------------------------------*/
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--night); color: var(--night-text); }
.section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--head);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: var(--amber-text);
	background: var(--amber-tint);
	border: 1px solid var(--amber-soft);
	padding: 6px 15px;
	border-radius: 999px;
	margin-bottom: 18px;
}
.section-dark .eyebrow, .eyebrow.on-dark { color: var(--amber); background: rgba(232, 163, 23, .1); border-color: rgba(232, 163, 23, .28); }

.section-head { max-width: 740px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.section-dark .section-head p { color: var(--night-muted); }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	font-family: var(--head);
	font-weight: 600;
	font-size: 16px;
	padding: 14px 28px;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	line-height: 1;
	white-space: nowrap;
}
.btn-amber { background: var(--amber); color: var(--on-amber); box-shadow: var(--shadow-amber); }
.btn-amber:hover { background: var(--amber-hover); color: var(--on-amber); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2a2a; color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--amber); color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 15px; }

.check-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .tick {
	flex: 0 0 28px; height: 28px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--amber-soft); color: var(--amber-text); font-size: 15px; margin-top: 1px;
}
.section-dark .check-list .tick { background: rgba(232, 163, 23, .16); color: var(--amber); }
.check-list b { color: var(--ink); }
.section-dark .check-list b { color: #fff; }

/*--------------------------------------------------------------
# Header / Nav
--------------------------------------------------------------*/
#header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
	height: var(--header-h);
	display: flex;
	align-items: center;
	background: rgba(11, 11, 11, .72);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: background .3s, border-color .3s, box-shadow .3s;
}
#header.scrolled { background: rgba(11, 11, 11, .94); border-bottom-color: var(--night-line); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; }
.logo img { height: 34px; width: auto; display: block; }

.navbar { display: flex; align-items: center; gap: 6px; }
.navbar ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.navbar a.nav-link {
	display: block;
	color: var(--night-text);
	font-family: var(--head);
	font-weight: 500;
	font-size: 15.5px;
	padding: 8px 13px;
	border-radius: 999px;
}
.navbar a.nav-link:hover, .navbar a.nav-link.active { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 12px; }

.mobile-nav-toggle {
	display: none;
	background: transparent;
	border: 0;
	color: #fff;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	padding: 4px;
}

@media (max-width: 1080px) {
	.mobile-nav-toggle { display: block; }
	.navbar {
		position: fixed;
		inset: var(--header-h) 0 auto 0;
		background: var(--night);
		border-bottom: 1px solid var(--night-line);
		flex-direction: column;
		align-items: stretch;
		padding: 14px 20px 22px;
		gap: 14px;
		transform: translateY(-12px);
		opacity: 0;
		visibility: hidden;
		transition: opacity .2s, transform .2s, visibility .2s;
		max-height: calc(100vh - var(--header-h));
		overflow-y: auto;
	}
	.navbar.open { opacity: 1; visibility: visible; transform: none; }
	.navbar ul { flex-direction: column; align-items: stretch; }
	.navbar a.nav-link { padding: 12px 14px; font-size: 17px; }
	.nav-actions { margin: 0; flex-direction: column; align-items: stretch; }
}

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
#hero {
	position: relative;
	background: var(--night);
	color: var(--night-text);
	padding: calc(var(--header-h) + 72px) 0 110px;
	overflow: hidden;
	isolation: isolate;
}
#hero::before {
	content: "";
	position: absolute;
	z-index: -1;
	width: 900px; height: 900px;
	right: -260px; top: -320px;
	background: radial-gradient(circle, rgba(232, 163, 23, .26) 0%, rgba(232, 163, 23, 0) 62%);
}
#hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
	background-size: 26px 26px;
	-webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
	mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }

.hero-badge {
	display: inline-flex; align-items: center; gap: 9px;
	font-size: 14px; font-weight: 500;
	color: #fff;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .14);
	padding: 7px 16px 7px 10px;
	border-radius: 999px;
	margin-bottom: 26px;
}
.hero-badge .flag { color: var(--amber); }

#hero h1 { color: #fff; font-size: clamp(40px, 5.6vw, 66px); font-weight: 700; margin-bottom: 22px; letter-spacing: -.025em; }
#hero h1 em { font-style: normal; color: var(--amber); }
.hero-lead { font-size: 19px; color: var(--night-text); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-size: 15px; color: var(--night-muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points i { color: var(--amber); }

/*--------------------------------------------------------------
# App mock (hero)
--------------------------------------------------------------*/
.mock-wrap { position: relative; }
.mock-app {
	position: relative;
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--shadow-dark), 0 0 0 1px rgba(255, 255, 255, .08);
	overflow: hidden;
	font-family: var(--body);
	font-size: 13px;
	line-height: 1.45;
	color: var(--ink);
	transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
	transform-origin: left center;
}
.mock-titlebar {
	display: flex; align-items: center; gap: 7px;
	height: 34px; padding: 0 14px;
	background: #f2f2ef;
	border-bottom: 1px solid var(--line);
}
.mock-titlebar span { width: 11px; height: 11px; border-radius: 50%; background: #d9d9d4; }
.mock-titlebar b { margin-left: 10px; font-weight: 500; font-size: 12px; color: var(--muted); }

.mock-body { display: grid; grid-template-columns: 52px 200px 1fr; height: 430px; }

.mock-rail { background: var(--night); display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 14px 0; }
.mock-rail img { width: 30px; height: 30px; }
.mock-rail i { color: #8f8f8f; font-size: 18px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; }
.mock-rail i.on { background: rgba(232, 163, 23, .16); color: var(--amber); }

.mock-convs { background: #f7f7f5; border-right: 1px solid var(--line); padding: 14px 10px; overflow: hidden; }
.mock-site { font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 0 6px; }
.mock-site-name { font-family: var(--head); font-weight: 600; font-size: 14px; padding: 0 6px 10px; }
.mock-sec { font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 10px 6px 6px; }
.mock-row { display: flex; align-items: center; gap: 9px; padding: 7px 6px; border-radius: 10px; }
.mock-row.active { background: var(--amber-soft); }
.mock-row.nudged { background: #fff; box-shadow: inset 3px 0 0 var(--amber); }
.mock-row .nm { flex: 1; min-width: 0; font-weight: 500; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row .badge { background: var(--amber); color: var(--on-amber); font-weight: 700; font-size: 10.5px; border-radius: 999px; padding: 1px 7px; }
.mock-row .bell { color: var(--amber-text); font-size: 13px; }

.av {
	position: relative;
	flex: 0 0 auto;
	width: 28px; height: 28px; border-radius: 50%;
	display: grid; place-items: center;
	font-size: 10.5px; font-weight: 700;
	background: #ecebe4; color: var(--ink);
}
.av.sq { border-radius: 8px; }
.av.a1 { background: #fcebc2; }
.av.a2 { background: #dfe8f5; }
.av.a3 { background: #e3f4ec; }
.av.a4 { background: #f3e1f0; }
.av .dot { position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; border-radius: 50%; background: var(--online); border: 2px solid #f7f7f5; }

.mock-chat { display: flex; flex-direction: column; min-width: 0; }
.mock-chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.mock-chat-head b { font-family: var(--head); font-size: 15px; }
.mock-chat-head small { color: var(--muted); font-size: 11.5px; display: block; line-height: 1.2; }
.mock-chat-head .nudge-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; color: var(--amber-text); }

.mock-msgs { flex: 1; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.msg { display: flex; gap: 8px; align-items: flex-end; max-width: 86%; }
.msg .bubble { background: #f2f2ef; border-radius: 14px 14px 14px 4px; padding: 8px 11px; }
.msg .who { display: block; font-size: 10.5px; font-weight: 600; color: var(--muted); margin-bottom: 1px; }
.msg.mine { align-self: flex-end; }
.msg.mine .bubble { background: var(--amber-soft); border-radius: 14px 14px 4px 14px; }
.msg .time { font-size: 10px; color: var(--muted); margin-left: 6px; }

.mock-composer { margin: 0 14px 14px; display: flex; align-items: center; gap: 8px; border: 1px solid #d4d4d0; border-radius: 12px; padding: 8px 8px 8px 12px; color: var(--muted); }
.mock-composer span { flex: 1; }
.mock-composer i { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--amber); color: var(--on-amber); }

/* Floating nudge toast over the mock */
.mock-nudge {
	position: absolute;
	right: -18px; bottom: -34px;
	width: 290px;
	background: var(--night-3);
	color: #fff;
	border: 1px solid rgba(232, 163, 23, .45);
	border-radius: 16px;
	padding: 16px;
	box-shadow: var(--shadow-dark);
	animation: nudge-in 7s ease-in-out infinite;
}
.mock-nudge-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.mock-nudge-bell {
	position: relative;
	width: 40px; height: 40px; border-radius: 12px;
	display: grid; place-items: center;
	background: var(--amber); color: var(--on-amber); font-size: 19px;
}
.mock-nudge-bell::after {
	content: ""; position: absolute; inset: -5px; border-radius: 15px;
	border: 2px solid var(--amber);
	animation: ring 1.6s ease-out infinite;
}
.mock-nudge b { display: block; font-family: var(--head); font-size: 15px; line-height: 1.25; }
.mock-nudge small { color: var(--night-muted); font-size: 12.5px; }
.mock-nudge .ack { display: block; text-align: center; background: var(--amber); color: var(--on-amber); font-weight: 700; font-size: 13px; border-radius: 10px; padding: 8px; }

@keyframes ring { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.25); opacity: 0; } }
@keyframes nudge-in {
	0%, 8% { transform: translateY(16px); opacity: 0; }
	14%, 86% { transform: none; opacity: 1; }
	94%, 100% { transform: translateY(16px); opacity: 0; }
}

/*--------------------------------------------------------------
# Trust bar
--------------------------------------------------------------*/
.trustbar { background: var(--night-2); border-top: 1px solid var(--night-line); color: var(--night-text); }
.trustbar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.tb-item { display: flex; gap: 14px; align-items: center; }
.tb-item i { flex: 0 0 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(232, 163, 23, .12); color: var(--amber); font-size: 20px; }
.tb-item b { display: block; color: #fff; font-family: var(--head); font-weight: 600; font-size: 16px; line-height: 1.3; }
.tb-item small { color: var(--night-muted); font-size: 13.5px; }

/*--------------------------------------------------------------
# About / problem
--------------------------------------------------------------*/
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { font-size: clamp(30px, 4vw, 44px); }
.split .lead { font-size: 18px; color: var(--muted); }

.swap-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.swap-row { display: grid; grid-template-columns: 1fr 34px 1fr; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px dashed var(--line); }
.swap-row:last-child { border-bottom: 0; }
.swap-row .old { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(176, 40, 26, .5); }
.swap-row .arrow { color: var(--amber-text); text-align: center; font-size: 18px; }
.swap-row .new { color: var(--ink); font-weight: 600; }
.swap-card h3 { font-size: 20px; margin-bottom: 6px; }
.swap-card > p { color: var(--muted); font-size: 15px; margin-bottom: 8px; }

/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 30px 28px;
	transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--amber-soft); }
.feature-card .ico {
	width: 52px; height: 52px; border-radius: 14px;
	display: grid; place-items: center;
	background: var(--amber-tint); color: var(--amber-text);
	border: 1px solid var(--amber-soft);
	font-size: 23px;
	margin-bottom: 18px;
	transition: background .25s, color .25s;
}
.feature-card:hover .ico { background: var(--amber); color: var(--on-amber); border-color: var(--amber); }
.feature-card h3 { font-size: 20px; margin-bottom: 8px; }
.feature-card p { color: var(--muted); margin: 0; font-size: 15.5px; }

/*--------------------------------------------------------------
# Nudge spotlight
--------------------------------------------------------------*/
.nudge-section { position: relative; overflow: hidden; isolation: isolate; }
.nudge-section::before {
	content: ""; position: absolute; z-index: -1;
	width: 760px; height: 760px; left: -280px; bottom: -380px;
	background: radial-gradient(circle, rgba(232, 163, 23, .18) 0%, rgba(232, 163, 23, 0) 62%);
}
.nudge-section .lead { color: var(--night-muted); }

.nudge-stage { display: grid; place-items: center; padding: 30px 0; }
.nudge-card {
	position: relative;
	width: min(100%, 400px);
	background: var(--night-3);
	border: 1px solid rgba(232, 163, 23, .5);
	border-radius: 24px;
	padding: 34px 30px 28px;
	text-align: center;
	box-shadow: 0 0 0 10px rgba(232, 163, 23, .06), 0 0 0 22px rgba(232, 163, 23, .03), var(--shadow-dark);
}
.nudge-card .big-bell {
	position: relative;
	width: 84px; height: 84px; margin: 0 auto 20px;
	border-radius: 24px;
	display: grid; place-items: center;
	background: var(--amber); color: var(--on-amber); font-size: 38px;
	animation: shake 2.4s ease-in-out infinite;
}
.nudge-card .big-bell::before, .nudge-card .big-bell::after {
	content: ""; position: absolute; inset: -8px; border-radius: 30px;
	border: 2px solid var(--amber);
	animation: ring 2s ease-out infinite;
}
.nudge-card .big-bell::after { animation-delay: 1s; }
.nudge-card .from { font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--amber); font-weight: 600; }
.nudge-card h3 { font-size: 26px; margin: 6px 0 4px; }
.nudge-card p { color: var(--night-muted); font-size: 15px; }
.nudge-card .ack-btn { display: block; width: 100%; background: var(--amber); color: var(--on-amber); font-family: var(--head); font-weight: 700; font-size: 16px; border-radius: 14px; padding: 13px; margin-top: 18px; }
.nudge-card .acked { display: flex; justify-content: center; gap: 6px; margin-top: 16px; font-size: 13px; color: var(--night-muted); align-items: center; }
.nudge-card .acked .av { width: 24px; height: 24px; font-size: 9px; border: 2px solid var(--night-3); margin-left: -8px; }
.nudge-card .acked .av:first-child { margin-left: 0; }

@keyframes shake {
	0%, 70%, 100% { transform: rotate(0); }
	74% { transform: rotate(-12deg); }
	78% { transform: rotate(10deg); }
	82% { transform: rotate(-8deg); }
	86% { transform: rotate(6deg); }
	90% { transform: rotate(0); }
}

/*--------------------------------------------------------------
# Steps
--------------------------------------------------------------*/
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 28px 30px; }
.step-num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--amber); font-family: var(--head); font-weight: 700; font-size: 18px; margin-bottom: 18px; }
.step-card h3 { font-size: 21px; margin-bottom: 8px; }
.step-card p { color: var(--muted); margin: 0; font-size: 15.5px; }
.step-card .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; color: var(--text); }
.chip i { color: var(--amber-text); }

/*--------------------------------------------------------------
# Shared computers (lock screen mock)
--------------------------------------------------------------*/
.lock-mock {
	background: var(--night-2);
	border: 1px solid var(--night-line);
	border-radius: var(--radius-lg);
	padding: 34px 30px;
	text-align: center;
	box-shadow: var(--shadow-dark);
}
.lock-mock img { width: 46px; height: 46px; margin-bottom: 10px; }
.lock-mock h3 { color: #fff; font-size: 24px; margin-bottom: 4px; }
.lock-mock > p { color: var(--night-muted); font-size: 14.5px; margin-bottom: 26px; }
.lock-people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lock-person {
	display: flex; flex-direction: column; align-items: center; gap: 8px;
	padding: 16px 6px 14px; border-radius: 16px;
	border: 1px solid var(--night-line);
	background: var(--night-3);
	color: #fff; font-size: 13px; font-weight: 500;
}
.lock-person.selected { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(232, 163, 23, .18); }
.lock-person .av { width: 46px; height: 46px; font-size: 14px; color: var(--ink); }
.lock-person .av .bell { position: absolute; top: -4px; right: -6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--on-amber); font-size: 11px; border: 2px solid var(--night-3); }
.lock-person.other .av { background: transparent; border: 1.5px dashed #555; color: var(--night-muted); font-size: 20px; }
.lock-person small { color: var(--night-muted); font-size: 11.5px; font-weight: 400; margin-top: -6px; }
.pin { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.pin span { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #555; }
.pin span.on { background: var(--amber); border-color: var(--amber); }
.pin-label { color: var(--night-muted); font-size: 13px; margin-top: 10px; }

/*--------------------------------------------------------------
# Security
--------------------------------------------------------------*/
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sec-card { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; }
.sec-card i { flex: 0 0 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--amber); font-size: 20px; }
.sec-card h3 { font-size: 18px; margin-bottom: 6px; }
.sec-card p { color: var(--muted); font-size: 15px; margin: 0; }

/*--------------------------------------------------------------
# Admin portal
--------------------------------------------------------------*/
.admin-mock { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; font-size: 14px; }
.admin-mock-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.admin-mock-head b { font-family: var(--head); font-size: 17px; color: var(--ink); }
.admin-mock-head .btn { margin-left: auto; padding: 8px 14px; font-size: 13px; box-shadow: none; }
.admin-tabs { display: flex; gap: 4px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); overflow-x: auto; }
.admin-tabs span { padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.admin-tabs span.on { background: var(--ink); color: #fff; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 10px 20px; }
.admin-table td { padding: 11px 20px; border-top: 1px solid var(--line); color: var(--ink); vertical-align: middle; }
.admin-table td .who { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.admin-table td small { display: block; color: var(--muted); font-weight: 400; font-size: 12.5px; line-height: 1.2; }
.role { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); }
.role.admin { background: var(--amber-tint); border-color: var(--amber-soft); color: var(--amber-text); }

/*--------------------------------------------------------------
# Click family
--------------------------------------------------------------*/
.family-card {
	display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center;
	background: var(--ink); color: var(--night-text);
	border-radius: var(--radius-lg); padding: 40px 44px;
	position: relative; overflow: hidden; isolation: isolate;
}
.family-card::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -120px; top: -200px; background: radial-gradient(circle, rgba(232, 163, 23, .22), transparent 65%); }
.family-card h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.family-card p { margin: 0; color: var(--night-muted); }
.family-logos { display: flex; align-items: center; gap: 14px; }
.family-logos .tile { width: 70px; height: 70px; border-radius: 18px; display: grid; place-items: center; background: var(--night-3); border: 1px solid var(--night-line); }
.family-logos .tile img { width: 46px; height: 46px; }
.family-logos .plus { color: var(--night-muted); font-size: 22px; }

/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
.pricing-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 44px; }
.pricing-head h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 10px; }
.pricing-head p { color: var(--muted); font-size: 18px; margin: 0; max-width: 620px; }



.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1040px; margin: 0 auto; gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px 26px; transition: transform .25s, box-shadow .25s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.featured { background: var(--ink); border-color: var(--ink); color: var(--night-text); box-shadow: 0 24px 60px rgba(17, 17, 17, .22); }
.plan.featured h3 { color: #fff; }
.plan-tag { position: absolute; top: -13px; left: 26px; background: var(--amber); color: var(--on-amber); font-family: var(--head); font-weight: 700; font-size: 12.5px; letter-spacing: .6px; text-transform: uppercase; padding: 5px 13px; border-radius: 999px; }
.plan h3 { font-size: 22px; margin-bottom: 6px; }
.plan-desc { color: var(--muted); font-size: 14.5px; min-height: 46px; margin-bottom: 20px; line-height: 1.55; }
.plan.featured .plan-desc, .plan.featured .plan-bill { color: var(--night-muted); }
.plan-price { font-family: var(--head); font-weight: 700; font-size: 50px; line-height: 1; color: var(--ink); display: flex; align-items: flex-start; gap: 2px; }
.plan.featured .plan-price { color: var(--amber); }
.plan-price sup { font-size: 22px; margin-top: 7px; top: 0; }
.plan-price .per { font-size: 15px; font-weight: 500; color: var(--muted); align-self: flex-end; margin: 0 0 6px 6px; font-family: var(--body); }
.plan.featured .plan-price .per { color: var(--night-muted); }
.plan-price.custom { font-size: 40px; padding: 5px 0 5px; }
.plan-bill { font-size: 13.5px; color: var(--muted); margin: 10px 0 20px; }
.plan-bill b { color: var(--ink); font-weight: 600; }
.plan.featured .plan-bill b { color: #fff; }
.plan ul { list-style: none; padding: 18px 0 0; margin: auto 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14.5px; }
.plan.featured ul { border-top-color: var(--night-line); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li i { color: var(--amber-text); margin-top: 2px; }
.plan.featured li i { color: var(--amber); }
.plan li b { color: var(--ink); }
.plan.featured li b { color: #fff; }

.plans-incl { max-width: 1040px; margin: 28px auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 30px; }
.plans-incl h4 { font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); font-family: var(--body); font-weight: 600; margin-bottom: 16px; }
.plans-incl ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 24px; }
.plans-incl li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: 14.5px; line-height: 1.5; }
.plans-incl li i { color: var(--amber-text); margin-top: 2px; }

/*--------------------------------------------------------------
# Inquiry
--------------------------------------------------------------*/
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 30px; align-items: start; }
.contact-aside { display: grid; gap: 14px; }
.info { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.info i { flex: 0 0 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--amber-tint); color: var(--amber-text); font-size: 20px; }
.info h3 { font-size: 16px; margin: 0; }
.info p { margin: 0; }
.info a { color: var(--text); }
.info a:hover { color: var(--amber-text); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
	font: inherit; font-size: 15.5px; color: var(--ink);
	background: #fff;
	border: 1px solid #d4d4d0; border-radius: 12px;
	padding: 12px 14px;
	transition: border-color .2s, box-shadow .2s;
	width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(232, 163, 23, .2); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-foot small { color: var(--muted); font-size: 13px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/*--------------------------------------------------------------
# FAQ
--------------------------------------------------------------*/
.faq-wrap { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--amber-soft); box-shadow: var(--shadow-sm); }
.faq-item summary {
	list-style: none;
	cursor: pointer;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 20px 24px;
	font-family: var(--head); font-weight: 600; font-size: 18px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: "\F64D"; /* bi-plus-lg */
	font-family: "bootstrap-icons";
	flex: 0 0 32px; height: 32px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--bg-soft); color: var(--ink); font-size: 15px;
	transition: transform .25s, background .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--amber); color: var(--on-amber); }
.faq-item .answer { padding: 0 24px 22px; color: var(--muted); }
.faq-item .answer p:last-child { margin: 0; }

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer { background: var(--night); color: var(--night-muted); padding: 72px 0 28px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--night-line); }
.footer-brand img { height: 36px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 420px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a, .footer-bottom a { color: var(--night-muted); }
.footer-col a:hover, .footer-bottom a:hover { color: var(--amber); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 14px; }

.back-to-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 90;
	width: 46px; height: 46px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--amber); color: var(--on-amber); font-size: 26px;
	box-shadow: var(--shadow-amber);
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .25s, transform .25s, visibility .25s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { color: var(--on-amber); background: var(--amber-hover); }

/*--------------------------------------------------------------
# Sub-page hero (demo.html)
--------------------------------------------------------------*/
.page-hero {
	position: relative;
	background: var(--night);
	color: var(--night-text);
	padding: calc(var(--header-h) + 64px) 0 72px;
	text-align: center;
	overflow: hidden;
	isolation: isolate;
}
.page-hero::before {
	content: ""; position: absolute; z-index: -1;
	width: 820px; height: 820px; left: 50%; top: -420px; transform: translateX(-50%);
	background: radial-gradient(circle, rgba(232, 163, 23, .24) 0%, rgba(232, 163, 23, 0) 62%);
}
.page-hero::after {
	content: ""; position: absolute; z-index: -1; inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
	background-size: 26px 26px;
	-webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
	mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}
.page-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 56px); letter-spacing: -.025em; margin-bottom: 14px; }
.page-hero p { font-size: 18.5px; max-width: 640px; margin: 0 auto 22px; }
.breadcrumb-nav { display: flex; gap: 10px; justify-content: center; align-items: center; color: var(--night-muted); font-size: 14px; }
.breadcrumb-nav a { color: var(--amber); }
.breadcrumb-nav a:hover { color: #fff; }
.breadcrumb-nav span { color: #555; }

/*--------------------------------------------------------------
# Interactive demo (demo.html)
--------------------------------------------------------------*/
.demo-section { padding-top: 64px; }

.demo-tracker { display: flex; align-items: center; justify-content: center; gap: 10px; max-width: 700px; margin: 0 auto 36px; }
.demo-tracker-line { flex: 1; height: 2px; background: var(--line); }
.demo-tracker-step {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--head); font-weight: 600; font-size: 14px; color: var(--muted);
	white-space: nowrap; transition: color .3s;
}
.demo-tracker-step .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); transition: background .3s, box-shadow .3s; }
.demo-tracker-step.is-done { color: var(--amber-text); }
.demo-tracker-step.is-done .dot { background: var(--amber); }
.demo-tracker-step.is-active { color: var(--ink); }
.demo-tracker-step.is-active .dot { background: var(--ink); box-shadow: 0 0 0 4px rgba(232, 163, 23, .35); }

.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.demo-panel { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.demo-panel-head { display: flex; align-items: center; gap: 10px; padding: 14px 20px; background: var(--bg-soft); border-bottom: 1px solid var(--line); font-family: var(--head); font-weight: 600; color: var(--ink); }
.demo-panel-head i { font-size: 18px; color: var(--amber-text); }
.demo-panel-sub { margin-left: auto; font-family: var(--body); font-weight: 500; font-size: 13px; color: var(--muted); }
.demo-instruction { margin: 0; padding: 14px 20px; border-top: 1px solid var(--line); background: var(--bg-soft); color: var(--text); font-weight: 500; font-size: 14.5px; min-height: 74px; display: flex; align-items: center; gap: 10px; }
.demo-instruction i { color: var(--amber-text); font-size: 17px; }

/* A screen inside a panel */
.demo-screen [hidden] { display: none !important; }
.demo-screen { position: relative; height: 440px; display: flex; flex-direction: column; font-size: 14px; line-height: 1.45; color: var(--ink); overflow: hidden; }

/* Chat window (used on both screens) */
.dchat-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.dchat-head .av { width: 34px; height: 34px; font-size: 12px; }
.dchat-head b { display: block; font-family: var(--head); font-size: 15.5px; line-height: 1.2; }
.dchat-head small { display: block; color: var(--muted); font-size: 12px; line-height: 1.3; }
.dchat-head small .on { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--online); margin-right: 5px; vertical-align: 1px; }
.dchat-msgs { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.dchat-msgs .msg { max-width: 84%; animation: msg-in .3s ease; }
.dchat-msgs .msg .bubble { overflow-wrap: anywhere; }
.dchat-msgs .msg .av { width: 26px; height: 26px; font-size: 10px; }
.dchat-day { align-self: center; font-size: 11.5px; color: var(--muted); background: var(--bg-soft); border-radius: 999px; padding: 2px 10px; }
.dchat-receipt { align-self: flex-end; margin-top: -6px; font-size: 11.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; }
.dchat-receipt.is-nudged { color: var(--amber-text); font-weight: 600; }
.dchat-receipt.is-acked { color: var(--online); font-weight: 600; }
.dchat-system { align-self: center; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; color: var(--amber-text); background: var(--amber-tint); border: 1px solid var(--amber-soft); border-radius: 999px; padding: 4px 12px; animation: msg-in .3s ease; }
.dchat-typing { align-self: flex-start; display: inline-flex; gap: 4px; background: #f2f2ef; border-radius: 14px; padding: 10px 12px; }
.dchat-typing span { width: 6px; height: 6px; border-radius: 50%; background: #9a9a95; animation: typing 1s infinite; }
.dchat-typing span:nth-child(2) { animation-delay: .15s; }
.dchat-typing span:nth-child(3) { animation-delay: .3s; }


.dchat-composer { display: flex; align-items: center; gap: 8px; margin: 0 14px 14px; border: 1px solid #d4d4d0; border-radius: 12px; padding: 5px 5px 5px 12px; transition: border-color .2s, box-shadow .2s; }
.dchat-composer:focus-within { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(232, 163, 23, .2); }
.dchat-composer input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 14px; color: var(--ink); background: transparent; padding: 6px 0; }
.dchat-send { flex: 0 0 34px; height: 34px; border: 0; border-radius: 9px; display: grid; place-items: center; background: var(--amber); color: var(--on-amber); font-size: 15px; cursor: pointer; transition: background .2s; }
.dchat-send:hover { background: var(--amber-hover); }
.dchat-send:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; }

.dnudge-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: inherit; font-family: var(--head); font-size: 13px; font-weight: 600; background: #fff; color: var(--amber-text); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; cursor: pointer; transition: background .2s, border-color .2s, color .2s, box-shadow .2s; }
.dnudge-btn:hover:not(:disabled) { background: var(--amber); border-color: var(--amber); color: var(--on-amber); }
.dnudge-btn.is-ready { border-color: var(--amber); animation: ready-pulse 1.8s ease-out infinite; }
.dnudge-btn:disabled { color: #a0a09b; cursor: not-allowed; }

/* Colleague's screen: practice software with Click Teams in the background */
/* Clinical software on the doctor's screen: deliberately a different app
   (square, blue, classic Windows look) so it doesn't read as Click Teams. */
.dpms { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #f0f0f0; font-family: "Segoe UI", Tahoma, Arial, sans-serif; font-size: 12px; line-height: 1.35; color: #1e1e1e; }
.dpms-title { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 0 0 10px; background: #1c4f8c; color: #fff; }
.dpms-logo { color: #7fd1ff; font-size: 14px; display: grid; }
.dpms-name { flex: 1; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dpms-win { display: flex; height: 100%; }
.dpms-win i { width: 36px; display: grid; place-items: center; font-size: 11px; color: #dbe6f3; }
.dpms-menu { display: flex; gap: 2px; padding: 2px 6px; background: #fff; border-bottom: 1px solid #d9d9d9; }
.dpms-menu span { padding: 2px 7px; }
.dpms-tools { display: flex; align-items: center; gap: 4px; padding: 4px 8px; background: #f7f7f7; border-bottom: 1px solid #cfcfcf; }
.dpms-tools i { width: 24px; height: 22px; display: grid; place-items: center; color: #2b5f9e; font-size: 14px; border: 1px solid transparent; }
.dpms-tools i:first-child { border-color: #a9c4e4; background: #e3eefb; }
.dpms-tools .sep { width: 1px; height: 18px; background: #cfcfcf; margin: 0 4px; }
.dpms-patient { display: flex; align-items: center; gap: 10px; padding: 7px 10px; background: #e6f0fa; border-bottom: 1px solid #b9cfe6; }
.dpms-photo { width: 32px; height: 32px; display: grid; place-items: center; background: #c4d6ea; color: #5a7699; font-size: 18px; }
.dpms-patient b { display: block; font-size: 13px; color: #123a6b; }
.dpms-patient small { color: #4a5a6e; font-size: 11px; white-space: nowrap; }
.dpms-alert { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; background: #fde2e1; border: 1px solid #e8a3a0; color: #9b1c17; font-size: 11px; font-weight: 600; white-space: nowrap; }
.dpms-tabs { display: flex; gap: 2px; padding: 6px 8px 0; background: #f0f0f0; border-bottom: 1px solid #b9b9b9; }
.dpms-tabs span { padding: 4px 10px; border: 1px solid #c8c8c8; border-bottom: 0; background: #e4e4e4; color: #444; }
.dpms-tabs span.on { background: #fff; color: #1e1e1e; font-weight: 600; margin-bottom: -1px; border-color: #b9b9b9; }
.dpms-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 108px 1fr; gap: 6px; padding: 6px; background: #fff; }
.dpms-side { border: 1px solid #cfcfcf; background: #fafafa; overflow: hidden; }
.dpms-side .h { padding: 4px 8px; background: #e9e9e9; border-bottom: 1px solid #cfcfcf; font-weight: 600; }
.dpms-side .row { padding: 4px 8px; border-bottom: 1px solid #ececec; color: #333; white-space: nowrap; }
.dpms-side .row.on { background: #cce4f7; color: #0b3d75; }
.dpms-doc { border: 1px solid #a9a9a9; padding: 8px 10px; overflow: hidden; font-family: Consolas, "Courier New", monospace; font-size: 11.5px; }
.dpms-doc-head { font-family: "Segoe UI", Tahoma, Arial, sans-serif; font-size: 12px; padding-bottom: 6px; margin-bottom: 8px; border-bottom: 1px dotted #bbb; color: #444; }
.dpms-doc-head b { color: #123a6b; }
.dpms-doc p { margin: 0 0 7px; }
.dpms-doc .cursor { display: inline-block; width: 1px; height: 13px; background: #111; margin-left: 1px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.dpms-status { display: flex; gap: 0; background: #e9e9e9; border-top: 1px solid #c8c8c8; color: #444; font-size: 11px; }
.dpms-status span { padding: 3px 10px; border-right: 1px solid #c8c8c8; }
.dpms-status span:last-child { margin-left: auto; border-right: 0; border-left: 1px solid #c8c8c8; }

/* Desktop taskbar along the bottom of each screen */
.dtaskbar { flex: 0 0 46px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #1b1b1b; border-top: 1px solid #2a2a2a; }
.dtaskbar .ti { position: relative; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; color: #a3a3a3; font-size: 15px; transition: background .25s; }
.dtaskbar .ti img { width: 20px; height: 20px; }
.dtaskbar .ti .pms { color: #7fd1ff; }
.dtaskbar .ti::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 6px; height: 3px; border-radius: 2px; background: #6b6b6b; transform: translateX(-50%); transition: width .25s, background .25s; }
.dtaskbar .ti:nth-child(-n+3)::after { display: none; }
.dtaskbar .ti.on { background: #2e2e2e; }
.dtaskbar .ti.on::after { width: 14px; background: var(--amber); }
.dtaskbar .badge { position: absolute; top: -5px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--amber); color: var(--on-amber); font-size: 10.5px; font-weight: 700; line-height: 1; display: grid; place-items: center; border: 2px solid #1b1b1b; transform: scale(0); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.dtaskbar .badge.show { transform: scale(1); }
.dtaskbar .clock { margin-left: auto; color: #c4c4c4; font-size: 12px; }

.dnudge-overlay { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 20px; background: rgba(11, 11, 11, .84); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.dnudge-overlay.show { opacity: 1; }
.dnudge-overlay .nudge-card { width: min(100%, 330px); padding: 26px 22px 20px; box-shadow: 0 0 0 8px rgba(232, 163, 23, .07), var(--shadow-dark); transform: scale(.92); transition: transform .3s cubic-bezier(.3, 1.5, .5, 1); }
.dnudge-overlay.show .nudge-card { transform: none; }
.dnudge-overlay .big-bell { width: 64px; height: 64px; font-size: 29px; border-radius: 20px; margin-bottom: 14px; }
.dnudge-overlay .nudge-card h3 { font-size: 21px; color: #fff; }
.dnudge-overlay .nudge-card p { margin: 0; overflow-wrap: anywhere; }
.dnudge-overlay .ack-btn { border: 0; cursor: pointer; font: inherit; font-family: var(--head); font-weight: 700; transition: background .2s; }
.dnudge-overlay .ack-btn:hover { background: var(--amber-hover); }

.dapp { position: absolute; inset: 0 0 46px 0; z-index: 4; display: flex; flex-direction: column; background: #fff; transform: translateY(14px); opacity: 0; transition: opacity .3s, transform .3s; }
.dapp.show { opacity: 1; transform: none; }

.demo-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.demo-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.demo-legend-item { display: flex; align-items: flex-start; gap: 14px; }
.demo-legend-item > i { flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--amber-tint); border: 1px solid var(--amber-soft); color: var(--amber-text); font-size: 19px; }
.demo-legend-item > i.dark { background: var(--ink); border-color: var(--ink); color: var(--amber); }
.demo-legend-item b { display: block; font-family: var(--head); font-size: 16px; color: var(--ink); }
.demo-legend-item small { color: var(--muted); font-size: 14px; line-height: 1.5; display: block; }
.demo-footnote { text-align: center; color: var(--muted); font-size: 13.5px; margin: 30px 0 0; }

.demo-cta .section-head { margin-bottom: 0; }
.demo-cta .hero-actions { justify-content: center; margin: 30px 0 0; }

@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes typing { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes ready-pulse { 0% { box-shadow: 0 0 0 0 rgba(232, 163, 23, .55); } 100% { box-shadow: 0 0 0 10px rgba(232, 163, 23, 0); } }

/*--------------------------------------------------------------
# Status pages (404 / thank you)
--------------------------------------------------------------*/
.status-page { min-height: 100vh; display: grid; place-items: center; background: var(--night); color: var(--night-text); padding: 40px 20px; text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.status-page::before { content: ""; position: absolute; z-index: -1; width: 800px; height: 800px; left: 50%; top: 50%; transform: translate(-50%, -60%); background: radial-gradient(circle, rgba(232, 163, 23, .2), transparent 62%); }
.status-inner { max-width: 560px; }
.status-inner .logo-img { height: 34px; margin-bottom: 44px; }
.status-icon { width: 84px; height: 84px; border-radius: 24px; margin: 0 auto 24px; display: grid; place-items: center; background: var(--amber); color: var(--on-amber); font-size: 42px; }
.status-code { font-family: var(--head); font-weight: 800; font-size: clamp(90px, 18vw, 150px); line-height: 1; color: var(--amber); margin: 0 0 10px; letter-spacing: -.04em; }
.status-page h1 { color: #fff; font-size: clamp(30px, 5vw, 42px); }
.status-page p { font-size: 18px; color: var(--night-muted); margin-bottom: 30px; }
.status-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/*--------------------------------------------------------------
# Reveal on scroll (added by main.js, so content shows without JS)
--------------------------------------------------------------*/
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
	.mock-nudge { opacity: 1; }
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 1080px) {
	.hero-grid { grid-template-columns: 1fr; gap: 64px; }
	.hero-copy { text-align: center; }
	.hero-lead { margin-left: auto; margin-right: auto; }
	.hero-actions, .hero-points { justify-content: center; }
	.mock-wrap { max-width: 760px; margin: 0 auto; width: 100%; }
	.mock-app { transform: none; }
	.mock-nudge { right: 12px; }
	.features-grid, .security-grid { grid-template-columns: repeat(2, 1fr); }
	.plans-grid { grid-template-columns: repeat(3, 1fr); gap: 26px 16px; }
	.plans-incl ul { grid-template-columns: repeat(2, 1fr); }
	.trustbar .container { grid-template-columns: repeat(2, 1fr); }
	.split { grid-template-columns: 1fr; gap: 44px; }
	.split.reverse > :first-child { order: 2; }
	.family-card { grid-template-columns: 1fr; text-align: center; }
	.family-logos { justify-content: center; }
	.footer-top { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.demo-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
	.demo-legend { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 760px) {
	:root { --header-h: 66px; --anchor-tuck: 48px; } /* of the 72px phone padding, leaving 24px */
	.section { padding: 72px 0; }
	.logo img { height: 28px; }
	#hero { padding-top: calc(var(--header-h) + 48px); padding-bottom: 90px; }
	.hero-lead { font-size: 17px; }
	.mock-body { grid-template-columns: 1fr; height: 400px; }
	.mock-rail, .mock-convs { display: none; }
	.mock-nudge { width: auto; left: 12px; right: 12px; bottom: -40px; }
	.features-grid, .security-grid, .steps-grid { grid-template-columns: 1fr; }
	.trustbar .container { grid-template-columns: 1fr; gap: 16px; }
	.contact-grid { grid-template-columns: 1fr; }
	.form-row { grid-template-columns: 1fr; gap: 0; }
	.form-card { padding: 24px 20px; }
	.plans-grid { grid-template-columns: 1fr; gap: 26px; }
	.plans-incl ul { grid-template-columns: 1fr; }
	.plan-desc { min-height: 0; }
	.lock-people { grid-template-columns: repeat(2, 1fr); }
	.family-card { padding: 34px 24px; }
	.admin-table .hide-sm { display: none; }
	.footer-top { grid-template-columns: 1fr; }
	.swap-row { grid-template-columns: 1fr 24px 1fr; gap: 8px; font-size: 15px; }
	.faq-item summary { font-size: 16.5px; padding: 18px 18px; }
	.faq-item .answer { padding: 0 18px 18px; }
	.page-hero { padding-top: calc(var(--header-h) + 44px); padding-bottom: 56px; }
	.page-hero p { font-size: 16.5px; }
	.demo-section { padding-top: 44px; }
	.demo-tracker { flex-wrap: wrap; gap: 8px 16px; }
	.demo-tracker-line { display: none; }
	.demo-screen { height: 420px; }
	.dpms-body { grid-template-columns: 1fr; }
	.dpms-side, .dpms-alert, .dpms-menu span:nth-child(n+6) { display: none; }
	.dpms-patient > div { min-width: 0; }
	.dpms-patient small { display: block; overflow: hidden; text-overflow: ellipsis; }
	.demo-panel-head { flex-wrap: wrap; row-gap: 0; }
	.demo-panel-sub { margin-left: 28px; flex-basis: 100%; }
}
