/* Atlas intro — "rings of help"
   Night map teal for the live product, mint paper for explanation,
   marigold for people who help, signal red reserved for SOS only. */

:root {
	--night: #0E2A2F;
	--night-2: #143A41;
	--street: #26535B;
	--fog: #A7C2BE;
	--marigold: #F4A62A;
	--marigold-soft: #F8C66F;
	--signal: #EF4B3F;
	--arrived: #4CC08A;
	--paper: #E6EEE9;
	--mint: #D4E3DB;
	--ink: #0F2629;
	--ink-2: #3D5A5C;
	--white: #FAFCFB;

	--display: "Bricolage Grotesque", "Hind", system-ui, sans-serif;
	--body: "Hind", system-ui, sans-serif;

	/* major-third scale on an 18px base */
	--t-sm: 0.8rem;
	--t-base: 1rem;
	--t-md: 1.25rem;
	--t-lg: 1.5625rem;
	--t-xl: clamp(1.9rem, 1.4rem + 2vw, 2.45rem);
	--t-2xl: clamp(2.4rem, 1.6rem + 3.4vw, 3.8rem);
	--t-hero: clamp(2.7rem, 1.6rem + 4.6vw, 5.2rem);

	--gutter: clamp(16px, 4vw, 56px);
	--max: 1200px;
}

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

html {
	font-size: 18px;
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--body), sans-serif;
	font-size: var(--t-base);
	line-height: 1.6;
	color: var(--ink);
	background: var(--night);
	overflow-x: hidden;
}

h1, h2, h3 {
	font-family: var(--display), sans-serif;
	line-height: 1.08;
	margin: 0;
	font-weight: 800;
	letter-spacing: -0.02em;
}

h2 {
	font-size: var(--t-2xl);
	max-width: 18ch;
}

h3 {
	font-size: var(--t-md);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.25;
}

p {
	margin: 0;
}

p + p {
	margin-top: 0.9em;
}

button {
	font: inherit;
	cursor: pointer;
}

a {
	color: inherit;
}

:focus-visible {
	outline: 3px solid var(--marigold);
	outline-offset: 3px;
	border-radius: 4px;
}

.skip {
	position: absolute;
	left: -9999px;
}

.skip:focus {
	left: 16px;
	top: 16px;
	z-index: 99;
	background: var(--white);
	padding: 8px 14px;
}

.wrap {
	width: 100%;
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.lede {
	font-size: var(--t-md);
	line-height: 1.5;
	max-width: 34em;
}

.fine {
	font-size: var(--t-sm);
	line-height: 1.5;
	opacity: 0.8;
	margin-top: 1.25rem;
	max-width: 40em;
}

section {
	padding: clamp(72px, 10vw, 140px) 0;
}

.paper {
	background: var(--paper);
}

.mint {
	background: var(--mint);
}

.night {
	background: var(--night);
	color: var(--white);
}

.night .lede, .night p {
	color: #D6E4E1;
}

.night h3 {
	color: var(--white);
}

/* ───────── Buttons ───────── */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	border-radius: 999px;
	border: 0;
	background: var(--marigold);
	color: var(--ink);
	font-family: var(--display), sans-serif;
	font-weight: 600;
	font-size: var(--t-base);
	text-decoration: none;
	transition: background .2s;
}

.btn:hover {
	background: var(--marigold-soft);
}

.btn--dark {
	background: var(--ink);
	color: var(--white);
}

.btn--dark:hover {
	background: var(--ink-2);
}

.soon {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	padding: 0 18px;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1.5px rgba(244, 166, 42, .6);
	color: var(--marigold-soft);
	font-family: var(--display), sans-serif;
	font-weight: 600;
	font-size: var(--t-sm);
}

.soon::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--marigold);
}

.soon--hero {
	min-height: 48px;
}

.soon--big {
	position: relative;
	margin-top: 40px;
	min-height: 60px;
	padding: 0 32px;
	font-size: var(--t-md);
}

.linkbtn {
	white-space: nowrap;
	background: none;
	border: 0;
	padding: 0;
	color: var(--fog);
	text-decoration: underline;
	text-underline-offset: 3px;
	font-size: var(--t-sm);
}

/* ───────── Nav ───────── */
.nav {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	gap: 32px;
	padding: 14px var(--gutter);
	background: rgba(14, 42, 47, .86);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: var(--white);
	border-bottom: 1px solid rgba(167, 194, 190, .14);
}

.nav nav {
	display: flex;
	gap: 28px;
	margin-left: auto;
}

.nav nav a {
	text-decoration: none;
	color: #CFE0DC;
	font-size: var(--t-sm);
	font-weight: 500;
}

.nav nav a:hover {
	color: var(--white);
}

.wordmark {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--display), sans-serif;
	font-weight: 800;
	font-size: 1.35rem;
	text-decoration: none;
	letter-spacing: -0.02em;
}

.wordmark svg {
	width: 30px;
	height: 30px;
}

.wm-core {
	fill: var(--signal);
}

.wm-ring {
	fill: none;
	stroke: var(--marigold);
	stroke-width: 2;
}

.wm-ring--outer {
	opacity: .45;
}

/* ───────── Hero ───────── */
.hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	align-items: center;
	gap: 24px;
	min-height: calc(100svh - 69px);
	padding: 56px var(--gutter) 64px;
	max-width: 1440px;
	margin: 0 auto;
	color: var(--white);
	overflow: hidden;
}

.hero__copy {
	position: relative;
	z-index: 2;
	max-width: 600px;
}

.hero h1 {
	font-size: var(--t-hero);
	letter-spacing: -0.035em;
	line-height: 1.02;
	font-variation-settings: "opsz" 96;
}

.hero .lede {
	margin-top: 28px;
	color: #D6E4E1;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 36px;
}

.hindi {
	margin-top: 40px;
	font-size: var(--t-lg);
	color: var(--marigold);
	font-weight: 500;
}

.hindi span {
	font-size: var(--t-base);
	color: var(--fog);
	font-weight: 400;
}

.stage {
	position: relative;
	display: grid;
	justify-items: center;
}

.map {
	width: min(132%, 820px);
	aspect-ratio: 1;
	margin: -60px -16% -40px;
	display: block;
}

/* streets */
.st {
	fill: none;
	stroke: var(--street);
	stroke-width: 1.4;
	stroke-linecap: round;
}

.st--main {
	stroke-width: 4.5;
	stroke: #2E616A;
}

.river {
	fill: none;
	stroke: #173F48;
	stroke-width: 26;
	stroke-linecap: round;
}

.park {
	fill: #17423F;
}

/* rings */
.ring {
	fill: none;
	stroke: var(--marigold);
	stroke-width: 1.5;
	stroke-dasharray: 3 7;
	opacity: 0;
	transform-origin: 0 0;
	transform: scale(.3);
	transition: opacity .6s, transform 1.1s cubic-bezier(.2, .8, .2, 1);
}

.ring.is-on {
	opacity: .6;
	transform: scale(1);
}

.ring--3 {
	stroke: var(--white);
}

.wave {
	fill: none;
	stroke: var(--marigold);
	stroke-width: 2;
	transform-origin: 0 0;
	animation: wave 1.6s ease-out forwards;
}

.wave--3 {
	stroke: var(--white);
}

@keyframes wave {
	from {
		transform: scale(.05);
		opacity: .9;
	}
	to {
		transform: scale(1);
		opacity: 0;
	}
}

/* helpers */
.node {
	transition: fill .4s, opacity .4s;
}

.node--1, .node--2 {
	fill: #3C6C73;
}

.node--3 {
	fill: none;
	stroke: #3C6C73;
	stroke-width: 2;
}

.node.is-lit.node--1, .node.is-lit.node--2 {
	fill: var(--marigold);
}

.node.is-lit.node--3 {
	stroke: var(--white);
	fill: rgba(250, 252, 251, .15);
}

.node.is-here {
	fill: var(--arrived) !important;
	stroke: var(--arrived) !important;
}

.mover {
	fill: var(--marigold);
}

.mover--3 {
	fill: var(--white);
}

.mover.is-here {
	fill: var(--arrived);
}

.route {
	fill: none;
	stroke: var(--marigold);
	stroke-width: 1.2;
	opacity: .55;
	stroke-dasharray: 4 5;
}

.route--3 {
	stroke: var(--white);
}

/* you */
.you__dot {
	fill: var(--signal);
	stroke: var(--night);
	stroke-width: 3;
}

.you__pulse {
	fill: var(--signal);
	opacity: 0;
	transform-origin: 0 0;
}

.is-live .you__pulse {
	animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
	from {
		transform: scale(1);
		opacity: .55;
	}
	to {
		transform: scale(3.4);
		opacity: 0;
	}
}

/* console */
.console {
	position: relative;
	z-index: 3;
	width: min(100%, 440px);
	margin-top: -150px;
	padding: 20px;
	background: rgba(10, 33, 37, .9);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(167, 194, 190, .22);
	border-radius: 20px;
}

.console__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.console__title {
	font-family: var(--display), sans-serif;
	font-weight: 600;
	font-size: var(--t-md);
}

.console__meta {
	font-size: var(--t-sm);
	color: var(--fog);
	line-height: 1.4;
	margin-top: 2px;
}

.sos {
	flex: none;
	width: 76px;
	height: 76px;
	border-radius: 50%;
	border: 0;
	background: var(--signal);
	color: var(--white);
	font-family: var(--display), sans-serif;
	font-weight: 800;
	font-size: 1.15rem;
	letter-spacing: .04em;
	box-shadow: 0 0 0 6px rgba(239, 75, 63, .22), 0 0 0 14px rgba(239, 75, 63, .1);
	transition: transform .15s, box-shadow .3s;
}

.sos:hover {
	transform: scale(1.04);
}

.sos:active {
	transform: scale(.96);
}

.sos:disabled {
	cursor: default;
	transform: none;
	background: #8E3A35;
	box-shadow: none;
}

.levels {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 16px;
}

.lvl {
	min-height: 44px;
	border-radius: 12px;
	border: 1.5px solid rgba(244, 166, 42, .6);
	background: transparent;
	color: var(--marigold-soft);
	font-weight: 600;
	font-size: var(--t-sm);
}

.lvl:hover:not(:disabled) {
	background: rgba(244, 166, 42, .12);
}

.lvl:disabled {
	opacity: .35;
	cursor: default;
}

.subform {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid rgba(167, 194, 190, .18);
}

.subform p {
	font-size: var(--t-sm);
	color: #D6E4E1;
	line-height: 1.45;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 10px;
}

.chips button {
	min-height: 36px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid rgba(250, 252, 251, .35);
	background: transparent;
	color: var(--white);
	font-size: var(--t-sm);
}

.chips button:hover {
	background: rgba(250, 252, 251, .1);
}

.log {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
	display: grid;
	gap: 6px;
	font-size: var(--t-sm);
	line-height: 1.4;
}

.log:empty {
	display: none;
}

.log li {
	display: grid;
	grid-template-columns: 3.2em 1fr;
	gap: 8px;
	color: #D6E4E1;
}

.log time {
	color: var(--fog);
	font-variant-numeric: tabular-nums;
}

.log li.is-good {
	color: #9FE3C1;
}

.console__foot {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid rgba(167, 194, 190, .18);
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
}

.console__foot p {
	font-size: var(--t-sm);
	color: var(--fog);
	line-height: 1.4;
}

/* ───────── Pillars ───────── */
.pillars__grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: clamp(28px, 4vw, 56px);
	margin-top: 56px;
}

.pillar {
	border-top: 2px solid var(--ink);
	padding-top: 24px;
}

.pillar h3 {
	font-size: var(--t-lg);
	margin: 20px 0 10px;
}

.pillar p {
	color: var(--ink-2);
	max-width: 32em;
}

.pillar__art {
	height: 96px;
	width: auto;
	display: block;
}

.pillar--sos .pillar__art {
	height: 140px;
}

.pillar--sos h3 {
	font-size: var(--t-xl);
}

.a-red {
	fill: var(--signal);
}

.a-ring {
	fill: none;
	stroke: var(--ink);
	stroke-width: 1.6;
}

.a-ring--faint {
	stroke-dasharray: 3 5;
}

.a-path {
	fill: none;
	stroke: var(--ink);
	stroke-width: 1.6;
	stroke-dasharray: 4 5;
}

.a-ink, .a-inkfill {
	fill: var(--ink);
}

.a-gold {
	fill: var(--marigold);
}

.a-qr {
	fill: none;
	stroke: var(--ink);
	stroke-width: 1.6;
}

/* ───────── Rings section ───────── */
.rings__grid {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
}

.rings .lede {
	margin-top: 24px;
}

.levelist {
	margin: 40px 0 0;
}

.levelist__row {
	padding: 18px 0;
	border-top: 1px solid rgba(167, 194, 190, .2);
}

.levelist dt {
	font-family: var(--display), sans-serif;
	font-weight: 600;
	font-size: var(--t-md);
	display: flex;
	align-items: center;
	gap: 14px;
}

.levelist dd {
	margin: 6px 0 0 40px;
	color: #CFE0DC;
	max-width: 34em;
}

.pip {
	flex: none;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	position: relative;
	border: 1.5px solid var(--marigold);
}

.pip::after {
	content: "";
	position: absolute;
	inset: 7px;
	border-radius: 50%;
	background: var(--signal);
}

.pip--1 {
	border-color: transparent;
	box-shadow: 0 0 0 1.5px var(--marigold) inset;
}

.pip--2 {
	box-shadow: 0 0 0 4px var(--night), 0 0 0 5.5px var(--marigold);
}

.pip--3 {
	border-color: var(--white);
	box-shadow: 0 0 0 4px var(--night), 0 0 0 5.5px var(--marigold), 0 0 0 9px var(--night), 0 0 0 10.5px var(--white);
}

.rings .levelist + .fine {
	margin-left: 40px;
}

.story {
	background: var(--night-2);
	border-radius: 24px;
	padding: clamp(24px, 3vw, 40px);
}

.story h3 {
	font-size: var(--t-lg);
}

.steps {
	list-style: none;
	counter-reset: step;
	margin: 24px 0 0;
	padding: 0;
	display: grid;
	gap: 20px;
}

.steps li {
	counter-increment: step;
	position: relative;
	padding-left: 48px;
	color: #CFE0DC;
}

.steps li strong {
	color: var(--white);
	font-weight: 600;
}

.steps li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: -2px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-family: var(--display), sans-serif;
	font-weight: 600;
	font-size: var(--t-sm);
	border: 1.5px solid var(--marigold);
	color: var(--marigold);
}

.steps li:last-child::before {
	background: var(--marigold);
	color: var(--ink);
}

.principles {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(24px, 3vw, 40px);
	margin-top: clamp(64px, 8vw, 112px);
}

.principle {
	padding-top: 20px;
	border-top: 1px solid rgba(244, 166, 42, .5);
}

.principle p {
	margin-top: 10px;
	font-size: var(--t-sm);
	line-height: 1.55;
}

/* ───────── Categories ───────── */
.cats__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-areas: "intro pad" "info pad";
	gap: 32px clamp(40px, 6vw, 96px);
	align-items: start;
}

.cats__intro {
	grid-area: intro;
}

.cats__intro p {
	margin-top: 24px;
	color: var(--ink-2);
	max-width: 32em;
}

.pad {
	grid-area: pad;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.catbtn {
	aspect-ratio: 1;
	border-radius: 22px;
	border: 1.5px solid rgba(15, 38, 41, .16);
	background: var(--white);
	color: var(--ink);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 10px;
	font-weight: 500;
	font-size: var(--t-sm);
	line-height: 1.2;
	text-align: center;
	transition: background .2s, color .2s, border-color .2s;
}

.catbtn svg {
	width: 40px;
	height: 40px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.catbtn:hover {
	border-color: var(--ink);
}

.catbtn[aria-pressed="true"] {
	background: var(--signal);
	color: var(--white);
	border-color: var(--signal);
}

.catinfo {
	grid-area: info;
	min-height: 220px;
	border-top: 2px solid var(--ink);
	padding-top: 20px;
}

.catinfo h3 {
	font-size: var(--t-lg);
}

.catinfo p {
	margin-top: 10px;
	color: var(--ink-2);
	max-width: 32em;
}

.catinfo .tag {
	display: inline-block;
	margin-top: 14px;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--mint);
	font-size: var(--t-sm);
	color: var(--ink);
}

.catinfo .tag--no {
	background: transparent;
	box-shadow: inset 0 0 0 1px rgba(15, 38, 41, .3);
}

.subs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 14px;
	padding: 0;
	list-style: none;
}

.subs li {
	font-size: 0.75rem;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--white);
	color: var(--ink-2);
}

.subs li.is-general {
	background: var(--ink);
	color: var(--white);
}

/* ───────── QR ───────── */
.qr__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 6vw, 96px);
	align-items: center;
}

.qr__copy .lede {
	margin-top: 24px;
}

.qr__copy > p:not(.lede) {
	margin-top: 18px;
	color: var(--ink-2);
	max-width: 34em;
}

.report {
	margin: 32px 0 0;
	padding: 0 0 0 20px;
	border-left: 3px solid var(--signal);
}

.report p {
	font-family: var(--display), sans-serif;
	font-size: var(--t-md);
	font-weight: 600;
	line-height: 1.3;
	color: var(--ink);
}

.report footer {
	margin-top: 10px;
	font-size: var(--t-sm);
	color: var(--ink-2);
	max-width: 34em;
}

.phone {
	position: relative;
	justify-self: center;
	width: min(100%, 340px);
}

.phone__screen {
	background: var(--white);
	border-radius: 36px;
	padding: 28px 20px 24px;
	border: 10px solid var(--ink);
	box-shadow: 0 30px 60px -30px rgba(15, 38, 41, .5);
}

.prof {
	display: flex;
	gap: 14px;
	align-items: center;
}

.prof__avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--marigold);
	font-family: var(--display), sans-serif;
	font-weight: 800;
	color: var(--ink);
	flex: none;
}

.prof__avatar--sm {
	width: 48px;
	height: 48px;
}

.prof__name {
	font-family: var(--display), sans-serif;
	font-weight: 600;
	font-size: var(--t-md);
	line-height: 1.2;
}

.prof__id {
	font-size: var(--t-sm);
	color: #2C8A5E;
}

.prof__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 20px;
}

.prof__actions button {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	min-height: 76px;
	padding: 10px 12px;
	border-radius: 14px;
	border: 1px solid rgba(15, 38, 41, .14);
	background: var(--paper);
	color: var(--ink);
	font-size: 0.78rem;
	font-weight: 500;
	line-height: 1.2;
	text-align: left;
}

.prof__actions button.is-red {
	background: var(--signal);
	color: var(--white);
	border-color: var(--signal);
}

.ic {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1.5px solid currentColor;
	position: relative;
}

.ic--sos {
	background: var(--white);
	border-color: var(--white);
}

.ic--lock {
	border-radius: 4px;
}

.ic--add::after {
	content: "+";
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-size: 13px;
	line-height: 1;
}

.ic--call {
	border-radius: 4px 50% 50% 50%;
}

.prof__public, .prof__locked {
	margin-top: 18px;
	font-size: var(--t-sm);
	line-height: 1.45;
}

.prof__public p + p, .prof__locked p + p {
	margin-top: 4px;
}

.prof__label {
	font-weight: 600;
}

.prof__locked {
	padding: 12px;
	border-radius: 12px;
	background: repeating-linear-gradient(-45deg, var(--paper) 0 6px, #DCE7E1 6px 12px);
	color: var(--ink-2);
}

.qrcode {
	position: absolute;
	left: -72px;
	bottom: 56px;
	width: 132px;
	height: 132px;
	padding: 10px;
	background: var(--white);
	border-radius: 16px;
	box-shadow: 0 16px 40px -16px rgba(15, 38, 41, .45);
	transform: rotate(-6deg);
}

/* ───────── People ───────── */
.people__grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: clamp(40px, 6vw, 96px);
	align-items: center;
}

.people .lede {
	margin-top: 24px;
}

.venn {
	width: 100%;
	max-width: 480px;
}

.v-net {
	fill: var(--night-2);
	stroke: rgba(167, 194, 190, .4);
	stroke-width: 1.5;
	stroke-dasharray: 4 6;
}

.v-dep {
	fill: rgba(244, 166, 42, .18);
	stroke: var(--marigold);
	stroke-width: 1.5;
}

.v-em {
	fill: rgba(250, 252, 251, .08);
	stroke: var(--white);
	stroke-width: 1.5;
}

.v-label {
	fill: var(--white);
	font-family: var(--display), sans-serif;
	font-weight: 600;
	font-size: 20px;
	text-anchor: middle;
}

.v-label--sm {
	font-size: 16px;
}

.v-label--xs {
	font-size: 13px;
	fill: var(--marigold-soft);
	font-weight: 400;
	font-family: var(--body), sans-serif;
}

.twocol {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	margin-top: 40px;
}

.twocol p {
	margin-top: 8px;
	font-size: var(--t-sm);
	line-height: 1.55;
}

/* ───────── Privacy ───────── */
.layers {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 56px;
}

.layer {
	padding: 28px clamp(20px, 2.5vw, 32px) 32px;
	min-height: 240px;
}

.layer h3 {
	font-size: var(--t-xl);
	font-weight: 800;
}

.layer__who {
	margin-top: 6px;
	font-weight: 600;
}

.layer p:last-child {
	margin-top: 18px;
	max-width: 26em;
}

.layer--public {
	background: var(--white);
	border-radius: 24px 0 0 24px;
}

.layer--medical {
	background: var(--mint);
}

.layer--private {
	background: var(--ink);
	color: var(--white);
	border-radius: 0 24px 24px 0;
}

.layer--private p {
	color: #D6E4E1;
}

.promises {
	list-style: none;
	margin: 40px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	color: var(--ink-2);
	font-size: var(--t-sm);
}

.promises li {
	padding-left: 22px;
	position: relative;
}

.promises li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .5em;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 1.5px solid var(--ink);
}

/* ───────── Marketplace ───────── */
.market__head .lede {
	margin-top: 24px;
}

.market__demo {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 24px;
	margin-top: 56px;
	align-items: start;
}

.offers {
	background: var(--ink);
	color: var(--white);
	border-radius: 28px;
	padding: clamp(20px, 3vw, 36px);
}

.offers__kicker {
	font-size: var(--t-sm);
	color: var(--fog);
}

.offers__what {
	margin-top: 4px;
	font-family: var(--display), sans-serif;
	font-weight: 600;
	font-size: var(--t-lg);
	line-height: 1.2;
}

.offers__when {
	margin-top: 6px;
	color: #CFE0DC;
}

.offers__note {
	margin-top: 24px;
	padding-top: 18px;
	border-top: 1px solid rgba(167, 194, 190, .22);
	font-size: var(--t-sm);
	color: var(--marigold-soft);
}

.offers__list {
	display: grid;
	gap: 8px;
	margin-top: 14px;
}

.offer {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 14px;
	align-items: center;
	width: 100%;
	padding: 12px 14px;
	border-radius: 16px;
	text-align: left;
	background: rgba(250, 252, 251, .05);
	border: 1.5px solid rgba(167, 194, 190, .22);
	color: var(--white);
	transition: border-color .2s, background .2s;
}

.offer:hover {
	border-color: rgba(244, 166, 42, .6);
}

.offer[aria-checked="true"] {
	border-color: var(--marigold);
	background: rgba(244, 166, 42, .12);
}

.offer__body {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.offer__name {
	font-weight: 600;
}

.offer__pref {
	display: inline-block;
	margin-left: 6px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--arrived);
	color: var(--ink);
	font-size: 0.7rem;
	font-weight: 600;
	vertical-align: 2px;
}

.offer__meta {
	font-size: var(--t-sm);
	color: var(--fog);
	line-height: 1.35;
}

.offer__price {
	font-family: var(--display), sans-serif;
	font-weight: 800;
	font-size: var(--t-md);
	text-align: right;
	line-height: 1.1;
}

.offer__price small {
	display: block;
	font-family: var(--body), sans-serif;
	font-weight: 400;
	font-size: 0.7rem;
	color: var(--fog);
}

.job__status {
	margin-top: 18px;
	min-height: 3em;
	font-size: var(--t-sm);
	color: var(--ink-2);
	line-height: 1.45;
}

.btn:disabled {
	opacity: .35;
	cursor: default;
}

.market__sides {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 80px);
	margin-top: clamp(56px, 7vw, 96px);
}

.market__sides h3 {
	font-size: var(--t-lg);
	padding-bottom: 14px;
	border-bottom: 2px solid var(--ink);
}

.ticks {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
	display: grid;
	gap: 12px;
	color: var(--ink-2);
}

.ticks li {
	position: relative;
	padding-left: 30px;
}

.ticks li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .45em;
	width: 12px;
	height: 7px;
	border-left: 2px solid var(--ink);
	border-bottom: 2px solid var(--ink);
	transform: rotate(-45deg);
}

.trustrow {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(20px, 3vw, 40px);
	margin-top: clamp(56px, 7vw, 96px);
}

.trustrow > div {
	padding-top: 18px;
	border-top: 1px solid rgba(15, 38, 41, .25);
}

.trustrow p {
	margin-top: 8px;
	font-size: var(--t-sm);
	color: var(--ink-2);
	line-height: 1.55;
}

/* ───────── During an SOS ───────── */
.during__grid {
	display: grid;
	grid-template-columns: 1fr 1.25fr;
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
}

.during__list {
	margin: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px clamp(24px, 4vw, 48px);
}

.during__list dt {
	font-family: var(--display), sans-serif;
	font-weight: 600;
	font-size: var(--t-md);
	line-height: 1.25;
}

.during__list dd {
	margin: 8px 0 0;
	color: var(--ink-2);
}

.during__list > div {
	padding-left: 20px;
	border-left: 2px solid var(--marigold);
}

/* ───────── Volunteer ───────── */
.vol__grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: clamp(40px, 6vw, 96px);
	align-items: center;
}

.volunteer .lede {
	margin-top: 24px;
}

.steps--plain {
	margin-top: 36px;
}

.volcard {
	background: var(--night-2);
	border-radius: 28px;
	padding: clamp(20px, 3vw, 32px);
	transition: opacity .3s;
}

.volcard__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	font-weight: 500;
	color: var(--white);
}

.volcard__row + .volcard__row {
	margin-top: 18px;
}

.volcard output {
	font-family: var(--display), sans-serif;
	font-weight: 600;
	color: var(--marigold);
}

.volcard input[type=range] {
	width: 100%;
	accent-color: var(--marigold);
	height: 28px;
	margin-top: 4px;
}

.switch {
	width: 52px;
	height: 30px;
	border-radius: 999px;
	border: 0;
	padding: 3px;
	background: var(--arrived);
	display: flex;
	justify-content: flex-end;
	transition: background .2s;
}

.switch span {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--white);
}

.switch[aria-checked="false"] {
	background: #47676B;
	justify-content: flex-start;
}

.volcard__map {
	display: block;
	width: 100%;
	max-width: 220px;
	margin: 14px auto 6px;
}

.vm-max {
	fill: none;
	stroke: rgba(167, 194, 190, .3);
	stroke-dasharray: 3 5;
}

.vm-ring {
	fill: rgba(244, 166, 42, .14);
	stroke: var(--marigold);
	stroke-width: 1.5;
	transition: r .25s;
}

.vm-you {
	fill: var(--signal);
}

.volcard.is-off .vm-ring {
	fill: none;
	stroke: #47676B;
}

.volcard__label {
	margin-top: 10px;
	font-weight: 500;
	color: var(--white) !important;
}

.volchips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 10px;
}

.volchips button {
	min-height: 34px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid rgba(250, 252, 251, .3);
	background: transparent;
	color: #CFE0DC;
	font-size: var(--t-sm);
}

.volchips button[aria-pressed="true"] {
	background: var(--marigold);
	border-color: var(--marigold);
	color: var(--ink);
	font-weight: 600;
}

.volcard .fine {
	margin-top: 14px;
}

/* ───────── Getting started ───────── */
.startsteps {
	list-style: none;
	counter-reset: s;
	margin: 56px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: clamp(16px, 2.5vw, 32px);
}

.startsteps li {
	counter-increment: s;
	position: relative;
	padding-top: 64px;
}

.startsteps li::before {
	content: counter(s);
	position: absolute;
	top: 0;
	left: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-family: var(--display), sans-serif;
	font-weight: 800;
	border: 2px solid var(--ink);
	background: var(--mint);
}

.startsteps li::after {
	content: "";
	position: absolute;
	top: 22px;
	left: 52px;
	right: -8px;
	border-top: 2px dashed rgba(15, 38, 41, .3);
}

.startsteps li:last-child::after {
	display: none;
}

.startsteps li:last-child::before {
	background: var(--signal);
	border-color: var(--signal);
	color: var(--white);
}

.startsteps p {
	margin-top: 8px;
	font-size: var(--t-sm);
	color: var(--ink-2);
	line-height: 1.55;
}

/* ───────── FAQ ───────── */
.faq__grid {
	display: grid;
	grid-template-columns: 1fr 1.6fr;
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
}

.faq__list details {
	border-top: 1px solid rgba(15, 38, 41, .18);
}

.faq__list details:last-child {
	border-bottom: 1px solid rgba(15, 38, 41, .18);
}

.faq__list summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding: 20px 0;
	font-family: var(--display), sans-serif;
	font-weight: 600;
	font-size: var(--t-md);
	line-height: 1.3;
}

.faq__list summary::-webkit-details-marker {
	display: none;
}

.faq__list summary::after {
	content: "+";
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	border: 1.5px solid var(--ink);
	font-family: var(--body), sans-serif;
	font-size: 1.1rem;
	line-height: 1;
}

.faq__list details[open] summary::after {
	content: "–";
	background: var(--ink);
	color: var(--white);
}

.faq__list details p {
	padding: 0 48px 22px 0;
	color: var(--ink-2);
	max-width: 40em;
}

.job {
	background: var(--white);
	border-radius: 28px;
	padding: clamp(20px, 3vw, 36px);
}

.job__track {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0;
}

.job__track li {
	position: relative;
	padding: 8px 0 8px 36px;
	color: #93A8A7;
	font-weight: 500;
	transition: color .3s;
}

.job__track li::before {
	content: "";
	position: absolute;
	left: 6px;
	top: 50%;
	width: 14px;
	height: 14px;
	margin-top: -7px;
	border-radius: 50%;
	border: 2px solid currentColor;
	background: var(--white);
	transition: background .3s, border-color .3s;
	z-index: 1;
}

.job__track li::after {
	content: "";
	position: absolute;
	left: 12px;
	top: 50%;
	height: 100%;
	width: 2px;
	background: #D3DEDA;
}

.job__track li:last-child::after {
	display: none;
}

.job__track li.is-done {
	color: var(--ink);
}

.job__track li.is-done::before {
	background: var(--arrived);
	border-color: var(--arrived);
}

.job__track li.is-now {
	color: var(--ink);
	font-weight: 600;
}

.job__track li.is-now::before {
	background: var(--marigold);
	border-color: var(--marigold);
	box-shadow: 0 0 0 5px rgba(244, 166, 42, .25);
}

.job__card {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid rgba(15, 38, 41, .12);
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
}

.job__who {
	display: flex;
	gap: 12px;
	align-items: center;
}

.job__name {
	font-weight: 600;
}

.job__trust {
	font-size: var(--t-sm);
	color: var(--ink-2);
}

/* ───────── Pricing ───────── */
.pricing__grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
}

.pricing .lede {
	margin-top: 24px;
}

.pricelist {
	list-style: none;
	margin: 40px 0 0;
	padding: 0;
}

.pricelist li {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding: 14px 0;
	border-top: 1px solid rgba(15, 38, 41, .16);
}

.pricelist li:last-child {
	border-bottom: 1px solid rgba(15, 38, 41, .16);
}

.pricelist strong {
	font-weight: 600;
	text-align: right;
}

.pricelist li:nth-child(-n+3) strong {
	color: #237A52;
}

.calc {
	background: var(--ink);
	color: var(--white);
	border-radius: 28px;
	padding: clamp(24px, 3vw, 40px);
	display: grid;
	gap: 10px;
}

.calc h3 {
	font-size: var(--t-lg);
	margin-bottom: 14px;
}

.calc label {
	display: flex;
	justify-content: space-between;
	font-weight: 500;
	margin-top: 8px;
}

.calc output {
	font-family: var(--display), sans-serif;
	font-weight: 600;
	color: var(--marigold);
}

.calc input[type=range] {
	width: 100%;
	accent-color: var(--marigold);
	height: 28px;
}

.calc__total {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid rgba(167, 194, 190, .25);
}

.calc__total p {
	color: #CFE0DC;
}

.calc__total p + p {
	margin-top: 4px;
}

.calc__total span {
	font-family: var(--display), sans-serif;
	font-weight: 800;
	font-size: var(--t-xl);
	color: var(--white);
	margin-right: 6px;
}

.calc .fine {
	color: var(--fog);
	margin-top: 8px;
}

/* ───────── Join + footer ───────── */
.join {
	background: var(--night);
	color: var(--white);
	position: relative;
	overflow: hidden;
	text-align: center;
	border-top: 1px solid rgba(167, 194, 190, .14);
}

.join__inner {
	position: relative;
	display: grid;
	justify-items: center;
}

.join__rings {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 820px;
	height: 820px;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.join__rings circle {
	fill: none;
	stroke: var(--marigold);
	stroke-width: .8;
	stroke-dasharray: 2 6;
	opacity: .45;
}

.join h2 {
	position: relative;
	font-size: var(--t-hero);
	max-width: 12ch;
}

.join .lede {
	position: relative;
	margin-top: 24px;
	color: #D6E4E1;
}

.foot {
	background: #0A2125;
	color: var(--fog);
	padding: 40px 0;
}

.foot__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 40px;
	align-items: center;
}

.foot .wordmark {
	color: var(--white);
}

.foot p[lang=hi] {
	color: var(--marigold);
}

.foot__domain {
	color: var(--white);
	text-decoration: none;
	font-weight: 500;
}

.foot__domain:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.foot .fine {
	margin: 0 0 0 auto;
}

/* ───────── Responsive ───────── */
@media (max-width: 1020px) {
	.nav nav {
		display: none;
	}

	.nav .soon {
		margin-left: auto;
	}

	.hero {
		grid-template-columns: 1fr;
		min-height: 0;
		padding-top: 40px;
	}

	.stage {
		margin-top: 8px;
	}

	.map {
		width: min(118%, 640px);
		margin: -40px -9% -20px;
	}

	.console {
		margin-top: -120px;
	}

	.pillars__grid {
		grid-template-columns: 1fr;
	}

	.rings__grid, .qr__grid, .people__grid, .pricing__grid, .market__demo, .vol__grid, .during__grid, .faq__grid {
		grid-template-columns: 1fr;
	}

	.trustrow {
		grid-template-columns: 1fr 1fr;
	}

	.startsteps {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.startsteps li {
		padding: 8px 0 0 64px;
		min-height: 44px;
	}

	.startsteps li::after {
		top: 52px;
		bottom: -24px;
		left: 21px;
		right: auto;
		border-top: 0;
		border-left: 2px dashed rgba(15, 38, 41, .3);
	}

	.principles {
		grid-template-columns: 1fr 1fr;
	}

	.cats__grid {
		grid-template-columns: 1fr;
		grid-template-areas: "intro" "pad" "info";
	}

	.pad {
		max-width: 520px;
	}

	.people__grid .venn {
		order: 2;
		justify-self: center;
	}

	.layers {
		grid-template-columns: 1fr;
	}

	.layer {
		min-height: 0;
	}

	.layer--public {
		border-radius: 24px 24px 0 0;
	}

	.layer--private {
		border-radius: 0 0 24px 24px;
	}

	.promises {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.qrcode {
		left: -12px;
	}

}

@media (max-width: 560px) {
	.principles, .twocol, .trustrow, .market__sides, .during__list {
		grid-template-columns: 1fr;
	}

	.offer {
		grid-template-columns: auto 1fr;
	}

	.offer__price {
		grid-column: 2;
		text-align: left;
	}

	.offer__price small {
		display: inline;
		margin-left: 4px;
	}

	.pad {
		gap: 8px;
	}

	.catbtn {
		border-radius: 16px;
		font-size: 0.72rem;
		gap: 6px;
	}

	.catbtn svg {
		width: 28px;
		height: 28px;
	}

	.console {
		padding: 16px;
	}

	.sos {
		width: 64px;
		height: 64px;
	}

	.levelist dd, .rings .levelist + .fine {
		margin-left: 0;
	}

	.qrcode {
		width: 96px;
		height: 96px;
		left: auto;
		right: -6px;
		top: -36px;
		bottom: auto;
		transform: rotate(6deg);
	}

	.foot .fine {
		margin-left: 0;
	}

	.join__rings {
		width: 560px;
		height: 560px;
	}
}

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

	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
	}
}
