@font-face {
	font-family: "Urbanist";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("/fonts/urbanist-latin.woff2") format("woff2");
}

:root {
	--mint: #8de49e;
	--mint-soft: #e3f8e7;
	--ink: #121212;
	--ink-2: #3a3a38;
	--green-deep: #0f6b31;
	--paper: #ffffff;
	--stone: #f4f4f0;
	--lav: #bba9f7;
	--butter: #f6e27a;
	--peach: #f7b8a0;
	--sky: #9fd3f7;
	--r-lg: 40px;
	--r-md: 28px;
	--gutter: clamp(16px, 4vw, 40px);
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--spring: cubic-bezier(0.34, 1.56, 0.64, 1);
	color-scheme: light;
}

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

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family:
		Urbanist,
		system-ui,
		-apple-system,
		"Segoe UI",
		sans-serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

::selection {
	background: var(--ink);
	color: var(--mint);
}

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

a {
	color: inherit;
	text-underline-offset: 0.2em;
	text-decoration-thickness: 2px;
}

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

h1,
h2,
h3 {
	margin: 0;
	text-wrap: balance;
}

p {
	margin: 0;
	text-wrap: pretty;
}

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

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

.skip {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 10;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--ink);
	color: var(--paper);
	font-weight: 700;
}
.skip:focus {
	top: 12px;
}

.icon {
	width: 18px;
	height: 18px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.icon--sm {
	width: 13px;
	height: 13px;
}
.icon--lg {
	width: 32px;
	height: 32px;
	stroke-width: 2;
}

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 24px;
	border: 2px solid var(--ink);
	border-radius: 999px;
	font: inherit;
	font-size: 17px;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color 0.2s var(--ease),
		color 0.2s var(--ease),
		transform 0.2s var(--ease);
}
.btn:active {
	transform: scale(0.97);
}
.btn--dark {
	background: var(--ink);
	color: var(--paper);
}
.btn--dark:hover {
	background: var(--ink-2);
}
.btn--line {
	background: transparent;
	color: var(--ink);
}
.btn--line:hover {
	background: var(--ink);
	color: var(--paper);
}
.btn--sm {
	min-height: 44px;
	padding: 0 18px;
	font-size: 15px;
}
.btn[disabled] {
	opacity: 0.55;
	cursor: default;
}

/* The pill-in-a-pill from the emergency page */
.btn-split {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 64px;
	padding: 6px;
	border: 0;
	border-radius: 999px;
	background: var(--ink);
	color: var(--ink);
	font: inherit;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.2s var(--ease);
}
/* Pressed, not dragged: the whole pill moves as one, nothing slides sideways. */
.btn-split:active {
	transform: scale(0.97);
}
.btn-split__label {
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 26px;
	border-radius: 999px;
	background: var(--mint);
	font-size: 18px;
	font-weight: 800;
	transition: background-color 0.2s var(--ease);
}
.btn-split__tail {
	display: flex;
	align-items: center;
	padding: 0 14px 0 6px;
	color: var(--paper);
}
/* Chevron is the logo's < mirrored: same proportions and stroke weight. */
.btn-split__tail svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 4.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.btn-split:hover .btn-split__label {
	background: var(--mint-soft);
}
/* Label nudges right once on hover. Reduced motion is handled globally below. */
@keyframes arrow-nudge {
	0% {
		transform: translateX(0);
	}
	40% {
		transform: translateX(6px);
	}
	70% {
		transform: translateX(-2px);
	}
	100% {
		transform: translateX(0);
	}
}
.btn-split:hover .btn-split__label {
	animation: arrow-nudge 0.5s var(--ease);
}
.btn-split--sm {
	height: 50px;
	padding: 5px;
}
.btn-split--sm .btn-split__label {
	gap: 8px;
	padding: 0 18px;
	font-size: 16px;
}
.btn-split--sm .btn-split__tail {
	padding: 0 10px 0 2px;
}
.btn-split--sm .btn-split__tail svg {
	width: 20px;
	height: 20px;
}
.btn-split--full {
	width: 100%;
}
.btn-split--full .btn-split__label {
	flex: 1;
	justify-content: center;
}

/* ---------- Nav ---------- */

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 20px;
	background: var(--mint);
	max-width: none;
	padding-inline: max(var(--gutter), calc((100% - 1240px) / 2 + var(--gutter)));
}

.logo {
	display: inline-block;
	text-decoration: none;
	line-height: 0;
}
.logo img {
	height: 40px;
	width: auto;
}
.logo--sm img {
	height: 32px;
}
.ep__logo img {
	height: 26px;
	width: auto;
	display: block;
}

.nav__links {
	display: flex;
	gap: 32px;
	font-size: 16px;
	font-weight: 700;
}
.nav__links a {
	text-decoration: none;
	padding-block: 8px;
	background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 2px no-repeat;
	transition: background-size 0.3s var(--ease);
}
.nav__links a:hover {
	background-size: 100% 2px;
}

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

.hero {
	background: var(--mint);
	padding-block: clamp(24px, 4vw, 56px) clamp(56px, 7vw, 104px);
	overflow: hidden;
}
.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}
.hero__title {
	font-size: clamp(48px, 7.4vw, 96px);
	line-height: 0.96;
	font-weight: 900;
	letter-spacing: -0.035em;
	max-width: 11ch;
}
.hero__lede {
	margin-top: 28px;
	max-width: 34ch;
	font-size: clamp(19px, 1.7vw, 22px);
	line-height: 1.45;
	font-weight: 600;
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-top: 36px;
}
.hero__actions .btn-split {
	height: 72px;
}
.hero__actions .btn-split__label {
	padding: 0 32px;
	font-size: 20px;
}
.hero__actions .btn--line {
	min-height: 72px;
	padding-inline: 30px;
	font-size: 20px;
}
.hero__fine {
	margin-top: 16px;
	font-size: 15px;
	font-weight: 700;
}
.hero__art {
	margin: clamp(28px, 4vw, 44px) 0 0;
	max-width: 640px;
	padding: 8px 12px 0;
	border-radius: var(--r-lg);
	background: var(--paper);
	overflow: hidden;
}
.hero__art img {
	width: 100%;
}

/* Demo phone */
.hero__demo {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding-top: 8px;
}
.demo-tag {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--paper);
	font-size: 14px;
	font-weight: 800;
}
.demo-tag__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #1f9d45;
	animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgb(31 157 69 / 0.5);
	}
	100% {
		box-shadow: 0 0 0 10px rgb(31 157 69 / 0);
	}
}
.demo-hint {
	max-width: 32ch;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
}

.phone {
	position: relative;
	width: min(100%, 380px);
	padding: 12px;
	border-radius: 54px;
	background: var(--ink);
	animation: rise 0.9s var(--ease) both;
}
@keyframes rise {
	from {
		transform: translateY(40px) rotate(2deg);
	}
	to {
		transform: none;
	}
}
.phone__bar {
	position: absolute;
	top: 22px;
	left: 50%;
	z-index: 2;
	transform: translateX(-50%);
	width: 92px;
	height: 26px;
	border-radius: 999px;
	background: var(--ink);
}
.phone__screen {
	height: min(800px, 86vh);
	min-height: 600px;
	overflow-y: auto;
	border-radius: 42px;
	background: var(--mint-soft);
	scrollbar-width: thin;
	scrollbar-color: var(--ink) transparent;
}
.phone__screen:focus-visible {
	outline-color: var(--mint);
	outline-offset: -4px;
	border-radius: 42px;
}

/* Emergency page (ep) inside the phone */
.ep {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 48px 14px 16px;
	font-size: 15px;
}
.ep__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.ep__logo {
	font-size: 18px;
	font-weight: 900;
}
.ep__timer {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 32px;
	padding: 0 12px;
	border-radius: 999px;
	background: var(--ink);
	color: var(--paper);
	font-size: 13px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.ep__hi {
	margin-top: 4px;
	font-size: 28px;
	line-height: 1.05;
	font-weight: 900;
	letter-spacing: -0.02em;
}
.ep__sub {
	font-size: 14px;
	line-height: 1.4;
	font-weight: 600;
}
.ep__card,
.ep__note,
.ep__more {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 14px 12px;
	border-radius: var(--r-md);
}
.ep__card {
	background: var(--paper);
}
.ep__h {
	font-size: 18px;
	font-weight: 900;
	letter-spacing: -0.01em;
}
.ep__label {
	padding: 0;
	font-size: 13px;
	font-weight: 800;
}
.ep__field {
	width: 100%;
	margin-top: -4px;
	height: 42px;
	border: 0;
	border-radius: 999px;
	padding: 0 16px;
	background: var(--stone);
	color: var(--ink);
	font: inherit;
	font-size: 15px;
	font-weight: 600;
}
.ep__field--area {
	height: auto;
	padding: 12px 14px;
	border-radius: 18px;
	line-height: 1.35;
	resize: none;
}
.ep__to {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	border: 0;
}
.ep__to legend {
	margin-bottom: 8px;
}
.ep__contact {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 50px;
	padding: 5px 12px 5px 5px;
	border-radius: 999px;
	background: var(--stone);
	cursor: pointer;
	transition: background-color 0.25s var(--ease);
}
.ep__contact:has(input:checked) {
	background: var(--mint);
}
.ep__contact input {
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: var(--ink);
	cursor: pointer;
}
.ep__who {
	display: flex;
	flex: 1;
	min-width: 0;
	flex-direction: column;
	line-height: 1.2;
}
.ep__who b {
	font-size: 15px;
	font-weight: 800;
}
.ep__who small {
	font-size: 12px;
	font-weight: 600;
}
.ep__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	font-size: 18px;
	font-weight: 900;
}
.ep__avatar--lav {
	background: var(--lav);
}
.ep__avatar--butter {
	background: var(--butter);
}
.ep__avatar--peach {
	background: var(--peach);
}
.ep__avatar--sky {
	background: var(--sky);
}
.ep__avatar--mint {
	background: var(--mint);
}

.ep__send {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	height: 62px;
	margin-top: 2px;
	padding: 6px;
	border: 0;
	border-radius: 999px;
	background: var(--ink);
	font: inherit;
	cursor: pointer;
	overflow: hidden;
}
/* Slide to send: the mint label is the knob, the dark tail is the track.
   app.js adds .is-slider when pointer events exist; without it this is a
   plain submit button. Keyboard (Enter/Space) always sends. */
.ep__send.is-slider {
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}
.ep__send.is-dragging {
	cursor: grabbing;
}
/* Mint trail that grows behind the knob as it slides (--trail set by app.js). */
.ep__send::before {
	content: "";
	position: absolute;
	top: 6px;
	bottom: 6px;
	left: 6px;
	width: var(--trail, 0px);
	border-radius: 999px;
	background: rgba(141, 228, 158, 0.32);
	transition: width 0.5s var(--spring);
}
.ep__send.is-dragging::before {
	transition: none;
}
.ep__send-label {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 8px;
	height: 100%;
	padding: 0 26px;
	border-radius: 999px;
	background: var(--mint);
	box-shadow: inset 0 -4px 0 rgba(18, 18, 18, 0.14);
	color: var(--ink);
	font-size: 17px;
	font-weight: 900;
	white-space: nowrap;
	transition:
		transform 0.5s var(--spring),
		scale 0.2s var(--ease),
		flex-grow 0.7s var(--ease),
		padding 0.7s var(--ease);
}
.ep__send.is-dragging .ep__send-label {
	scale: 1.04 0.94;
	transition: scale 0.2s var(--ease);
}
.ep__send.is-nudge .ep__send-label {
	animation: nudge 0.6s var(--ease);
}
@keyframes nudge {
	0%,
	100% {
		transform: translateX(0);
	}
	35% {
		transform: translateX(26px);
	}
	60% {
		transform: translateX(-3px);
	}
	80% {
		transform: translateX(6px);
	}
}
.ep__send-tail {
	display: flex;
	flex: 1;
	justify-content: center;
	color: var(--mint);
	opacity: calc(1 - var(--p, 0));
	transition: opacity 0.3s var(--ease);
}
.ep__send-tail svg {
	width: 46px;
	height: 30px;
	overflow: visible;
	fill: none;
	stroke: currentColor;
	stroke-width: 3.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.ep__send-tail path {
	transform-box: fill-box;
	animation: chevron 1.4s var(--spring) infinite;
}
.ep__send-tail path:nth-child(2) {
	animation-delay: 0.15s;
}
.ep__send-tail path:nth-child(3) {
	animation-delay: 0.3s;
}
@keyframes chevron {
	0%,
	60%,
	100% {
		opacity: 0.3;
		transform: translateX(0);
	}
	30% {
		opacity: 1;
		transform: translateX(3px);
	}
}
.ep__send.is-sending .ep__send-label,
.ep__send.is-sent .ep__send-label {
	flex-grow: 1;
	justify-content: center;
}
.ep__send.is-sent .ep__send-tail {
	display: none;
}
.ep__send.is-sent .ep__send-label {
	animation: sent-pop 0.5s var(--spring);
}
@keyframes sent-pop {
	0% {
		scale: 0.92;
	}
	60% {
		scale: 1.04;
	}
	100% {
		scale: 1;
	}
}
.ep__send:disabled {
	cursor: default;
}
.ep__send .icon {
	width: 18px;
	height: 18px;
}
.ep__fine {
	text-align: center;
	font-size: 12px;
	font-weight: 700;
}
.ep__contact.is-delivered small {
	font-weight: 800;
}

.ep__note {
	background: var(--lav);
}
.ep__note p {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
}
.ep__more {
	background: var(--ink);
	color: var(--paper);
}
.ep__more p {
	font-size: 13px;
	line-height: 1.45;
	color: #d9d9d9;
}
.ep__more-btn,
.ep__wipe {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 46px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 800;
}
.ep__more-btn {
	background: var(--mint);
	color: var(--ink);
}
.ep__wipe {
	width: 100%;
	border: 2px solid var(--ink);
	background: transparent;
	color: var(--ink);
	font-family: inherit;
	cursor: pointer;
	transition:
		background-color 0.2s var(--ease),
		scale 0.2s var(--ease);
}
.ep__wipe:hover {
	background: var(--paper);
}
.ep__wipe:active {
	scale: 0.97;
}
/* Signed-out screen in the demo phone. */
.ep--wiped {
	min-height: 100%;
	justify-content: center;
	text-align: center;
}
.ep[hidden] {
	display: none;
}
.ep--wiped .ep__hi:focus {
	outline: none;
}
.ep__wiped-mark {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	margin: 0 auto;
	border-radius: 999px;
	background: var(--mint);
	box-shadow: inset 0 -4px 0 rgba(18, 18, 18, 0.14);
	animation: sent-pop 0.5s var(--spring);
}
/* The O< mark from the logo (same geometry as favicon.svg). */
.ep__wiped-mark svg {
	width: 44px;
	height: 28px;
	fill: none;
	stroke: var(--ink);
	stroke-width: 28;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.ep__danger {
	text-align: center;
	font-size: 12px;
	font-weight: 600;
}

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

.section-title {
	font-size: clamp(38px, 5.2vw, 68px);
	line-height: 1;
	font-weight: 900;
	letter-spacing: -0.03em;
	max-width: 16ch;
}

.how {
	padding-block: clamp(72px, 10vw, 140px);
}
.steps {
	display: flex;
	flex-direction: column;
	gap: clamp(48px, 7vw, 96px);
	margin: clamp(48px, 6vw, 80px) 0 0;
	padding: 0;
	list-style: none;
}
.step {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(28px, 5vw, 80px);
	align-items: center;
}
.step--flip .step__art {
	order: 2;
}
.step__art {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	border-radius: var(--r-lg);
	overflow: hidden;
}
.step__art img {
	width: 92%;
	mix-blend-mode: multiply;
}
.step__art--lav {
	background: #e9e2fd;
}
.step__art--mint {
	background: var(--mint-soft);
}
.step__art--key {
	background: var(--butter);
}
.step__n {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--mint);
	font-size: 24px;
	font-weight: 900;
}
.step__text h3 {
	margin-top: 22px;
	font-size: clamp(30px, 3.4vw, 44px);
	line-height: 1.05;
	font-weight: 900;
	letter-spacing: -0.02em;
}
.step__text p {
	margin-top: 16px;
	max-width: 42ch;
	font-size: 19px;
	font-weight: 500;
}

/* key card illustration (pure HTML) */
.key-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: min(82%, 380px);
	padding: 24px 20px;
	border-radius: var(--r-md);
	background: var(--paper);
	transform: rotate(-3deg);
}
.key-card__url {
	align-self: center;
	padding: 6px 16px;
	border-radius: 999px;
	background: var(--stone);
	font-size: 14px;
	font-weight: 800;
}
.key-card__field {
	display: flex;
	flex-direction: column;
	padding: 10px 18px;
	border-radius: 22px;
	background: var(--stone);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.3;
}
.key-card__field small {
	font-size: 12px;
	font-weight: 700;
}
.key-card__go {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	border-radius: 999px;
	background: var(--ink);
	color: var(--paper);
	font-weight: 800;
}

/* Safety */
.safe {
	background: var(--ink);
	color: var(--paper);
	padding-block: clamp(72px, 10vw, 140px);
}
.safe__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
}
.safe__title {
	font-size: clamp(40px, 5.4vw, 72px);
	line-height: 0.98;
	font-weight: 900;
	letter-spacing: -0.03em;
	color: var(--mint);
	position: sticky;
	top: 40px;
}
.safe__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 48px 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.safe__list .icon {
	color: var(--mint);
}
.safe__list h3 {
	margin-top: 18px;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.01em;
}
.safe__list p {
	margin-top: 8px;
	color: #cfcfcb;
	font-size: 17px;
}

/* Family */
.family {
	padding-block: clamp(72px, 10vw, 140px) 0;
}
.family__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(40px, 6vw, 96px);
	align-items: center;
	padding: clamp(32px, 6vw, 80px);
	border-radius: var(--r-lg);
	background: var(--butter);
	max-width: calc(1240px - 2 * var(--gutter));
}
@supports (width: calc(100% - 1px)) {
	.family__inner {
		width: calc(100% - 2 * var(--gutter));
		padding-inline: clamp(24px, 6vw, 80px);
	}
}
.family__copy p {
	margin-top: 20px;
	max-width: 42ch;
	font-size: 19px;
}
.members {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.member {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 72px;
	padding: 8px 20px 8px 8px;
	border-radius: 999px;
	background: var(--paper);
	transition: transform 0.4s var(--ease);
}
.member:nth-child(even) {
	margin-left: clamp(0px, 4vw, 48px);
}
.member .ep__avatar {
	width: 56px;
	height: 56px;
	font-size: 22px;
}
.member span:last-child {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}
.member b {
	font-size: 19px;
	font-weight: 800;
}
.member small {
	font-size: 14px;
	font-weight: 600;
}

/* Pricing */
.pricing {
	padding-block: clamp(72px, 10vw, 140px);
}
.plans {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 20px;
	margin-top: clamp(40px, 5vw, 64px);
}
.plan {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: clamp(28px, 4vw, 44px);
	border-radius: var(--r-lg);
}
.plan--free {
	background: var(--mint);
}
.plan--sms {
	background: var(--lav);
}
.plan h3 {
	font-size: 26px;
	font-weight: 900;
}
.plan__price {
	font-size: clamp(44px, 5vw, 64px);
	line-height: 1;
	font-weight: 900;
	letter-spacing: -0.03em;
}
.plan--sms .plan__price {
	font-size: clamp(34px, 3.6vw, 44px);
}
.plan__price small {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0;
}
.plan > p:not(.plan__price) {
	max-width: 40ch;
	font-size: 17px;
}
.plan .btn {
	align-self: flex-start;
	margin-top: auto;
}
.plan__soon {
	position: absolute;
	top: clamp(28px, 4vw, 44px);
	right: clamp(28px, 4vw, 44px);
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--ink);
	color: var(--paper);
	font-size: 13px;
	font-weight: 800;
}
.ticks {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 4px 0 16px;
	padding: 0;
	list-style: none;
	font-size: 17px;
	font-weight: 700;
}
.ticks li {
	display: flex;
	gap: 12px;
	align-items: baseline;
}
.ticks li::before {
	content: "";
	flex: none;
	width: 18px;
	height: 10px;
	border-left: 3px solid var(--ink);
	border-bottom: 3px solid var(--ink);
	transform: translateY(-3px) rotate(-45deg);
}
.interest {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: auto;
}
.interest__note {
	font-size: 15px;
	font-weight: 700;
}
.interest.is-done .btn {
	background: var(--paper);
	color: var(--ink);
}

/* Join */
.join {
	background: var(--mint);
	padding-block: clamp(72px, 10vw, 140px);
	text-align: center;
}
.join__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.join__title {
	font-size: clamp(44px, 6.6vw, 88px);
	line-height: 0.96;
	font-weight: 900;
	letter-spacing: -0.035em;
	max-width: 13ch;
}
.join__lede {
	margin-top: 24px;
	max-width: 44ch;
	font-size: 20px;
	font-weight: 600;
}
.join__form {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	width: 100%;
	max-width: 620px;
	margin-top: 36px;
}
.join__form input[type="email"] {
	flex: 1 1 280px;
	min-width: 0;
	height: 64px;
	padding: 0 26px;
	border: 2px solid var(--ink);
	border-radius: 999px;
	background: var(--paper);
	color: var(--ink);
	font: inherit;
	font-size: 18px;
	font-weight: 600;
}
.join__form input::placeholder {
	color: #5c5c58;
}
.join__msg {
	min-height: 1.5em;
	margin-top: 16px;
	font-size: 17px;
	font-weight: 800;
}
.join__fine {
	font-size: 15px;
	font-weight: 700;
}

/* Footer */
.foot {
	padding-block: 40px 48px;
	background: var(--paper);
}
.foot__inner {
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.foot__danger {
	padding: 18px 24px;
	border-radius: 999px;
	background: var(--stone);
	text-align: center;
	font-size: 17px;
	font-weight: 600;
}
.foot__danger b {
	font-weight: 900;
}
.foot__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.foot__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	font-size: 16px;
	font-weight: 700;
}

/* ---------- Open dialog ---------- */

.open {
	width: min(100% - 32px, 460px);
	max-height: calc(100dvh - 32px);
	padding: 0;
	border: 0;
	border-radius: var(--r-lg);
	background: var(--paper);
	color: var(--ink);
}
.open::backdrop {
	background: rgb(141 228 158 / 0.92);
}
.open[open] {
	animation: pop 0.45s var(--ease);
}
@keyframes pop {
	from {
		transform: translateY(24px) scale(0.97);
		opacity: 0;
	}
}
.open__form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px 24px 24px;
}
.open__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.open__head h2 {
	font-size: 30px;
	font-weight: 900;
	letter-spacing: -0.02em;
}
.open__close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--stone);
	color: var(--ink);
	cursor: pointer;
}
.open__close:hover {
	background: var(--mint);
}
.open__sub {
	margin-bottom: 8px;
	font-size: 16px;
	font-weight: 600;
}
.open__label {
	margin-top: 4px;
	font-size: 14px;
	font-weight: 800;
}
.open__field {
	width: 100%;
	height: 56px;
	padding: 0 20px;
	border: 2px solid transparent;
	border-radius: 999px;
	background: var(--stone);
	color: var(--ink);
	font: inherit;
	font-size: 18px;
	font-weight: 600;
	transition:
		border-color 0.2s var(--ease),
		background-color 0.2s var(--ease);
}
.open__field:focus {
	outline: none;
	border-color: var(--ink);
	background: var(--paper);
}
.open__field::placeholder {
	color: #6b6b66;
}
.open__pw {
	position: relative;
}
.open__pw .open__field {
	padding-right: 84px;
}
.open__show {
	position: absolute;
	top: 8px;
	right: 8px;
	height: 40px;
	padding: 0 14px;
	border: 0;
	border-radius: 999px;
	background: var(--paper);
	color: var(--ink);
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
}
.open__form .btn-split {
	margin-top: 12px;
}
.open__danger {
	margin-top: 4px;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
}

/* Standalone /open and stub pages */
.page {
	min-height: 100vh;
	min-height: 100dvh;
	background: var(--mint);
}
.stub {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	padding-block: 64px;
	max-width: 640px;
}
.stub h1 {
	font-size: clamp(40px, 8vw, 64px);
	line-height: 1;
	font-weight: 900;
	letter-spacing: -0.03em;
}
.open-page {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	padding: 24px var(--gutter) 48px;
}
.open-page .open__form {
	width: min(100%, 460px);
	border-radius: var(--r-lg);
	background: var(--paper);
}
.open-page .logo {
	align-self: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
	.nav__links {
		display: none;
	}
	.hero__grid,
	.step,
	.safe__grid,
	.family__inner,
	.plans {
		grid-template-columns: minmax(0, 1fr);
	}
	.step--flip .step__art {
		order: 0;
	}
	.hero__title {
		max-width: 12ch;
	}
	.safe__title {
		position: static;
	}
}

@media (max-width: 560px) {
	body {
		font-size: 17px;
	}
	.safe__list {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}
	.hero__actions > * {
		width: 100%;
	}
	.hero__actions .btn-split {
		height: 64px;
	}
	.hero__actions .btn-split__label {
		flex: 1;
		justify-content: center;
		font-size: 18px;
	}
	.hero__actions .btn--line {
		min-height: 64px;
		font-size: 18px;
	}
	.phone {
		border-radius: 46px;
		padding: 10px;
	}
	.phone__screen {
		border-radius: 36px;
		height: 700px;
	}
	.member:nth-child(even) {
		margin-left: 0;
	}
	.foot__danger {
		border-radius: 24px;
	}
	.plan__soon {
		position: static;
		align-self: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
	html {
		scroll-behavior: auto;
	}
}

.open__title {
	font-size: 30px;
	font-weight: 900;
	letter-spacing: -0.02em;
}

/* ---------- Legal and trust pages ---------- */

.doc-hero {
	background: var(--mint);
	padding-block: clamp(32px, 6vw, 72px) clamp(40px, 6vw, 80px);
}
.doc-hero h1 {
	font-size: clamp(44px, 6.4vw, 84px);
	line-height: 0.98;
	font-weight: 900;
	letter-spacing: -0.035em;
	max-width: 14ch;
}
.doc-hero p {
	margin-top: 20px;
	max-width: 52ch;
	font-size: clamp(18px, 1.6vw, 21px);
	font-weight: 600;
}
.doc-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 28px;
}
.doc-tabs a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	border: 2px solid var(--ink);
	border-radius: 999px;
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
}
.doc-tabs a:hover {
	background: var(--paper);
}
.doc-tabs a[aria-current="page"] {
	background: var(--ink);
	color: var(--paper);
}

.doc {
	display: grid;
	grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 96px);
	padding-block: clamp(48px, 7vw, 96px);
}
.doc__toc {
	position: sticky;
	top: 24px;
	align-self: start;
	font-size: 15px;
	font-weight: 700;
}
.doc__toc p {
	margin-bottom: 12px;
	font-weight: 900;
}
.doc__toc ol {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.doc__toc a {
	text-decoration: none;
}
.doc__toc a:hover {
	text-decoration: underline;
}

.doc__body {
	max-width: 70ch;
	font-size: 18px;
	line-height: 1.65;
}
.doc__body > * + * {
	margin-top: 1em;
}
.doc__body h2 {
	margin-top: 2.4em;
	font-size: clamp(28px, 3vw, 36px);
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: -0.02em;
	scroll-margin-top: 24px;
}
.doc__body h3 {
	margin-top: 1.8em;
	font-size: 21px;
	font-weight: 800;
}
.doc__body h2 + *,
.doc__body h3 + * {
	margin-top: 0.6em;
}
.doc__body ul,
.doc__body ol {
	padding-left: 1.3em;
}
.doc__body li + li {
	margin-top: 0.4em;
}
.doc__body li::marker {
	font-weight: 900;
}
.doc__body strong {
	font-weight: 800;
}
.doc__meta {
	font-size: 15px;
	font-weight: 700;
}

.callout {
	padding: 24px 28px;
	border-radius: var(--r-md);
	background: var(--lav);
}
.callout--danger {
	background: var(--ink);
	color: var(--paper);
}
.callout--danger strong {
	color: var(--mint);
}
.callout--butter {
	background: var(--butter);
}
.callout h2,
.callout h3 {
	margin-top: 0;
	font-size: 22px;
}
.callout > * + * {
	margin-top: 0.6em;
}
.callout ul {
	margin-bottom: 0;
}

.ledger {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 24px;
}
.ledger__col {
	padding: 24px;
	border-radius: var(--r-md);
}
.ledger__col--yes {
	background: var(--mint-soft);
}
.ledger__col--no {
	background: var(--stone);
}
.ledger__col h3 {
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 900;
}
.ledger__col ul {
	margin: 0;
	padding-left: 1.2em;
	font-size: 16px;
	line-height: 1.5;
}

.table-wrap {
	overflow-x: auto;
	border-radius: var(--r-md);
	background: var(--stone);
}
.doc__body table {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	font-size: 16px;
	line-height: 1.45;
}
.doc__body th,
.doc__body td {
	padding: 14px 18px;
	text-align: left;
	vertical-align: top;
}
.doc__body thead th {
	font-weight: 900;
	border-bottom: 2px solid var(--ink);
}
.doc__body tbody tr + tr td,
.doc__body tbody tr + tr th {
	border-top: 1px solid #dcdcd6;
}
.doc__body tbody th {
	font-weight: 800;
}
.tag {
	display: inline-block;
	padding: 1px 10px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
}
.tag--yes {
	background: var(--mint);
}
.tag--no {
	background: var(--ink);
	color: var(--paper);
}
.tag--some {
	background: var(--butter);
}

@media (max-width: 860px) {
	.doc {
		grid-template-columns: minmax(0, 1fr);
	}
	.doc__toc {
		position: static;
		padding: 20px 24px;
		border-radius: var(--r-md);
		background: var(--stone);
	}
	.ledger {
		grid-template-columns: minmax(0, 1fr);
	}
}

.safe__more {
	grid-column: 2;
	justify-self: start;
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	padding: 0 24px;
	border: 2px solid var(--mint);
	border-radius: 999px;
	color: var(--mint);
	font-weight: 800;
	text-decoration: none;
	transition:
		background-color 0.2s var(--ease),
		color 0.2s var(--ease);
}
.safe__more:hover {
	background: var(--mint);
	color: var(--ink);
}
.join__fine a {
	font-weight: 800;
}
@media (max-width: 960px) {
	.safe__more {
		grid-column: auto;
	}
}
.open__legal {
	text-align: center;
	font-size: 14px;
	font-weight: 700;
}

/* ---------- Accessibility extras ---------- */

.nav__links a,
.foot__links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}
[id] {
	scroll-margin-top: 24px;
}
@media (forced-colors: active) {
	.btn,
	.btn-split,
	.btn-split__label,
	.ep__send,
	.ep__contact,
	.open__field,
	.join__form input[type="email"],
	.demo-tag,
	.plan,
	.callout,
	.ledger__col {
		border: 2px solid CanvasText;
	}
	.demo-tag__dot {
		forced-color-adjust: none;
	}
}
