/* ==========================================================================
   HomeFront Planner — design tokens
   Warm, calm, civilian. No government chrome.
   ========================================================================== */

:root {
	--sand: #f6f1ea;
	--sand-deep: #efe8de;
	--paper: #ffffff;
	--ink: #1c1917;
	--stone: #57534e;
	--stone-2: #78716c;
	--sage: #2f5d50;
	--sage-deep: #24483e;
	--sage-wash: #e8f0ed;
	--sage-line: #cfe0d9;
	--clay: #c45c26;
	--clay-strong: #b85220;
	--clay-deep: #a84a1d;
	--clay-wash: #f8e7dc;
	--line: #e7e2da;
	--line-strong: #d8d2c8;
	--good: #2f6f4e;
	--caution: #b45309;
	--alert: #b42318;
	--alert-wash: #fdecea;
	--radius-sm: 8px;
	--radius: 12px;
	--radius-lg: 18px;
	--radius-xl: 24px;
	--shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.05);
	--shadow-pop: 0 18px 40px -18px rgba(28, 25, 23, 0.28), 0 2px 8px rgba(28, 25, 23, 0.06);
	--font-head: "Fraunces", Georgia, "Times New Roman", serif;
	--font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	--tap: 46px;
}

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

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

body {
	margin: 0;
	background: var(--sand);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

h1,
h2,
h3,
h4 {
	margin: 0;
	font-family: var(--font-head);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.18;
	color: var(--ink);
}

h1 {
	font-size: clamp(2.1rem, 5vw, 2.9rem);
}

h2 {
	font-size: clamp(1.5rem, 3.4vw, 2.05rem);
}

h3 {
	font-size: 1.2rem;
	letter-spacing: -0.01em;
}

p {
	margin: 0;
}

a {
	color: var(--sage);
	text-decoration-color: rgba(47, 93, 80, 0.35);
	text-underline-offset: 2px;
}

a:hover {
	text-decoration-color: currentColor;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

button {
	font: inherit;
}

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

:focus-visible {
	outline: 3px solid rgba(47, 93, 80, 0.42);
	outline-offset: 2px;
	border-radius: 4px;
}

.wrap {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
}

.skip-link {
	position: absolute;
	left: 12px;
	top: -80px;
	z-index: 200;
	background: var(--ink);
	color: var(--paper);
	padding: 10px 14px;
	border-radius: var(--radius-sm);
	font-weight: 600;
	transition: top 120ms ease;
}

.skip-link:focus {
	top: 12px;
}

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

/* ==========================================================================
   Shared pieces
   ========================================================================== */

.eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sage);
	margin-bottom: 10px;
}

.mini-label {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--stone);
}

.section {
	padding: 78px 0;
}

.section-head {
	max-width: 640px;
	margin-bottom: 34px;
}

.section-head h2 {
	margin-bottom: 10px;
}

.section-head p {
	color: var(--stone);
	font-size: 1.06rem;
}

.section-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--stone);
	margin: 0 0 14px;
}

.fine-note {
	margin-top: 22px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
	font-size: 13px;
	color: var(--stone);
}

.opsec-mini {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--stone);
	padding: 10px 12px;
	background: var(--sand-deep);
	border-radius: var(--radius-sm);
}

.opsec-mini svg {
	flex-shrink: 0;
	margin-top: 1px;
	color: var(--stone-2);
}

.page-flash {
	padding-top: 18px;
}

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: var(--tap);
	padding: 11px 18px;
	border: 1px solid transparent;
	border-radius: 10px;
	background: transparent;
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
	white-space: nowrap;
}

.btn:active {
	transform: translateY(1px);
}

.btn-primary {
	background: var(--clay-strong);
	border-color: var(--clay-strong);
	color: #fff;
	box-shadow: 0 1px 2px rgba(28, 25, 23, 0.08);
}

.btn-primary:hover {
	background: var(--clay-deep);
	border-color: var(--clay-deep);
	color: #fff;
}

.btn-secondary {
	background: var(--paper);
	border-color: var(--sage-line);
	color: var(--sage);
}

.btn-secondary:hover {
	background: var(--sage-wash);
	border-color: var(--sage);
	color: var(--sage-deep);
}

.btn-ghost {
	background: transparent;
	color: var(--ink);
	border-color: transparent;
}

.btn-ghost:hover {
	background: var(--sand-deep);
	color: var(--ink);
}

.btn-danger {
	background: var(--alert);
	border-color: var(--alert);
	color: #fff;
}

.btn-danger:hover {
	background: #971c13;
	border-color: #971c13;
	color: #fff;
}

.btn-sm {
	min-height: 38px;
	padding: 8px 13px;
	font-size: 14px;
}

.btn-lg {
	min-height: 52px;
	padding: 14px 24px;
	font-size: 17px;
}

.btn-block {
	width: 100%;
}

.btn[disabled] {
	opacity: 0.55;
	cursor: not-allowed;
}

.link-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: none;
	border: 0;
	padding: 2px 0;
	color: var(--sage);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

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

.link-danger {
	color: var(--alert);
}

.icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--paper);
	color: var(--stone);
	cursor: pointer;
}

.icon-btn:hover {
	background: var(--sand);
	color: var(--ink);
}

.icon-btn-quiet {
	border-color: transparent;
	background: transparent;
	color: var(--stone-2);
	width: 34px;
	height: 34px;
}

.icon-btn-quiet:hover {
	background: var(--sand-deep);
	color: var(--alert);
}

.link-summary {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--sage);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

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

/* Badges + progress ------------------------------------------------------ */

.badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 9px;
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

.badge-sage {
	background: var(--sage-wash);
	color: var(--sage-deep);
}

.badge-clay {
	background: var(--clay-wash);
	color: #8a4b1f;
}

.badge-stone {
	background: var(--sand-deep);
	color: var(--stone);
}

.badge-good {
	background: #e3f0e8;
	color: var(--good);
}

.progress-block {
	width: 100%;
}

.progress-track {
	height: 7px;
	border-radius: 999px;
	background: var(--line);
	overflow: hidden;
}

.progress-fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: var(--sage);
	transition: width 240ms ease;
}

.progress-label {
	margin-top: 6px;
	font-size: 12.5px;
	color: var(--stone);
	font-weight: 600;
}

.ring {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ring-label {
	position: absolute;
	font-size: 13px;
	font-weight: 700;
	color: var(--sage);
}

/* Notices, flash, forms -------------------------------------------------- */

.notice {
	display: flex;
	gap: 12px;
	padding: 13px 15px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
	font-size: 14px;
	line-height: 1.55;
	margin: 18px 0;
}

.notice-icon {
	flex-shrink: 0;
	margin-top: 1px;
}

.notice-title {
	font-weight: 700;
	margin-bottom: 2px;
}

.notice-caution {
	background: var(--clay-wash);
	border-color: #f0d3bf;
	color: #6b3a17;
}

.notice-caution .notice-title {
	color: var(--caution);
}

.flash {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 12px 14px;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	margin-bottom: 20px;
	font-size: 14.5px;
	line-height: 1.5;
}

.flash p {
	margin: 0;
}

.flash-icon {
	flex-shrink: 0;
	margin-top: 1px;
}

.flash-body {
	display: grid;
	gap: 4px;
}

.flash-link {
	font-weight: 700;
	font-size: 14px;
	word-break: break-all;
}

.flash-success {
	background: var(--sage-wash);
	border-color: var(--sage-line);
	color: var(--sage-deep);
}

.flash-error {
	background: var(--clay-wash);
	border-color: #f0d3bf;
	color: #6b3a17;
}

.flash-info {
	background: var(--paper);
	color: var(--stone);
}

.form-stack {
	display: grid;
	gap: 16px;
}

.field {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.field > label,
.field > .label-row {
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
}

.label-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.label-link {
	font-size: 13px;
	font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"],
input[type="search"],
select,
textarea {
	width: 100%;
	min-height: var(--tap);
	padding: 11px 13px;
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.4;
	appearance: none;
	transition: border-color 140ms ease, box-shadow 140ms ease;
}

textarea {
	min-height: 88px;
	resize: vertical;
}

select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2357534E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 38px;
}

input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--sage);
	box-shadow: 0 0 0 3px rgba(47, 93, 80, 0.16);
}

input[readonly] {
	background: var(--sand);
	color: var(--stone);
}

input[type="checkbox"],
input[type="radio"] {
	appearance: none;
	-webkit-appearance: none;
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	margin: 0;
	border: 1.5px solid #c9c2b7;
	border-radius: 6px;
	background: var(--paper);
	display: inline-grid;
	place-content: center;
	cursor: pointer;
	transition: background-color 120ms ease, border-color 120ms ease;
}

input[type="radio"] {
	border-radius: 999px;
	width: 20px;
	height: 20px;
}

input[type="checkbox"]::after {
	content: "";
	width: 5px;
	height: 9px;
	border: 2px solid #fff;
	border-top: 0;
	border-left: 0;
	transform: rotate(45deg) translate(-1px, -1px) scale(0);
	transition: transform 120ms ease;
}

input[type="radio"]::after {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #fff;
	transform: scale(0);
	transition: transform 120ms ease;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
	background: var(--sage);
	border-color: var(--sage);
}

input[type="checkbox"]:checked::after,
input[type="radio"]:checked::after {
	transform: rotate(45deg) translate(-1px, -1px) scale(1);
}

input[type="radio"]:checked::after {
	transform: scale(1);
}

input[type="checkbox"]:indeterminate {
	background: var(--sage);
	border-color: var(--sage);
}

.field-help {
	font-size: 13px;
	line-height: 1.5;
	color: var(--stone);
}

.field-error {
	font-size: 13px;
	font-weight: 600;
	color: var(--alert);
}

.form-error {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	background: var(--alert-wash);
	border: 1px solid #f3c9c4;
	color: #7a1b14;
	border-radius: 10px;
	padding: 10px 12px;
	font-size: 14px;
	line-height: 1.45;
	margin-bottom: 16px;
}

.form-error svg {
	flex-shrink: 0;
	margin-top: 1px;
}

.card-form {
	display: grid;
	gap: 14px;
}

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

.field-span {
	grid-column: 1 / -1;
}

.form-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-top: 2px;
}

.agree-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--stone);
	cursor: pointer;
}

.agree-row input {
	margin-top: 2px;
}

.agree-strong {
	color: var(--ink);
	font-weight: 600;
	font-size: 15px;
}

details > summary {
	list-style: none;
}

details > summary::-webkit-details-marker {
	display: none;
}

/* Empty state ------------------------------------------------------------ */

.empty {
	text-align: center;
	padding: 46px 24px;
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.55);
}

.empty-title {
	font-size: 1.35rem;
	margin-bottom: 6px;
}

.empty-body {
	color: var(--stone);
	font-size: 15px;
	max-width: 420px;
	margin: 0 auto;
}

.empty-action {
	margin-top: 18px;
}

/* ==========================================================================
   Public site
   ========================================================================== */

.site-header {
	background: rgba(246, 241, 234, 0.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(231, 226, 218, 0.85);
	position: sticky;
	top: 0;
	z-index: 50;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 72px;
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--ink);
}

.logo-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	background: var(--sage);
	color: #fff;
	flex-shrink: 0;
}

.logo-text {
	font-family: var(--font-head);
	font-size: 21px;
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1;
	white-space: nowrap;
}

.logo-planner {
	color: var(--sage);
}

.logo-text-compact {
	font-size: 18px;
}

.header-nav {
	display: flex;
	align-items: center;
	gap: 22px;
}

.header-link {
	font-size: 15px;
	font-weight: 600;
	color: var(--stone);
	text-decoration: none;
}

.header-link:hover {
	color: var(--ink);
}

.hero {
	position: relative;
	padding: 64px 0 84px;
	background:
		radial-gradient(900px 420px at 82% -8%, rgba(232, 240, 237, 0.95) 0%, rgba(232, 240, 237, 0) 68%),
		var(--sand);
	overflow: hidden;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	gap: 48px;
	align-items: center;
}

.hero-copy h1 {
	font-size: clamp(2.55rem, 5.2vw, 4.05rem);
	line-height: 1.06;
	letter-spacing: -0.035em;
	max-width: 13ch;
}

.hero-sub {
	margin-top: 20px;
	max-width: 36rem;
	font-size: clamp(1.05rem, 1.5vw, 1.2rem);
	line-height: 1.6;
	color: var(--stone);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 26px;
}

.price-note {
	margin-top: 18px;
	font-size: 15px;
	color: var(--stone);
}

.price-note strong {
	color: var(--ink);
}

.hero-points {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
	font-size: 13.5px;
	color: var(--stone);
}

.hero-points li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.hero-art {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.phone-frame {
	width: min(330px, 100%);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 26px;
	padding: 12px;
	box-shadow: 0 30px 70px -34px rgba(28, 25, 23, 0.35), 0 2px 6px rgba(28, 25, 23, 0.04);
}

.phone-bar {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 2px 6px 12px;
	font-size: 11.5px;
	color: var(--stone-2);
	letter-spacing: 0.02em;
}

.phone-inner {
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 18px 16px;
	background: linear-gradient(180deg, #fff 0%, #fff 40%, #fbf8f3 100%);
}

.phone-hi {
	font-family: var(--font-head);
	font-size: 1.45rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	margin-bottom: 12px;
}

.phone-next {
	background: var(--sage-wash);
	border: 1px solid var(--sage-line);
	border-radius: 12px;
	padding: 12px;
}

.phone-task {
	display: flex;
	gap: 9px;
	align-items: flex-start;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	margin-top: 6px;
}

.tick {
	display: inline-block;
	width: 18px;
	height: 18px;
	border: 1.5px solid #b9c9c3;
	border-radius: 5px;
	background: var(--paper);
	flex-shrink: 0;
	margin-top: 1px;
}

.tick.is-done,
.is-done > .tick {
	background: var(--sage);
	border-color: var(--sage);
	position: relative;
}

.is-done > .tick::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 2px;
	width: 4px;
	height: 8px;
	border: 2px solid #fff;
	border-top: 0;
	border-left: 0;
	transform: rotate(45deg);
}

.phone-meta {
	margin-top: 7px;
	font-size: 11.5px;
	color: var(--stone);
}

.phone-count {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 4px 10px;
}

.phone-days {
	font-family: var(--font-head);
	font-size: 2.7rem;
	line-height: 1;
	color: var(--sage);
	letter-spacing: -0.03em;
}

.phone-count-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--stone);
	font-weight: 700;
}

.phone-count-title {
	font-size: 14px;
	font-weight: 600;
}

.phone-tools {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
	margin-top: 8px;
	padding-top: 12px;
	border-top: 1px solid var(--line);
}

.phone-tools span {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--stone);
	background: var(--sand);
	border-radius: 8px;
	padding: 8px 4px;
}

.sample-tag {
	font-size: 12px;
	color: var(--stone-2);
	font-style: italic;
}

.tool-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.tool-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 26px 24px;
	box-shadow: var(--shadow-sm);
	transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.tool-card:hover {
	border-color: var(--sage-line);
	transform: translateY(-2px);
	box-shadow: 0 16px 36px -28px rgba(28, 25, 23, 0.4);
}

.tool-card h3 {
	font-size: 1.32rem;
	margin-bottom: 8px;
}

.tool-card p {
	font-size: 15px;
	color: var(--stone);
	line-height: 1.6;
}

.tool-list {
	list-style: none;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
	display: grid;
	gap: 6px;
	font-size: 13.5px;
	color: var(--stone);
}

.tool-list li {
	position: relative;
	padding-left: 14px;
}

.tool-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 5px;
	height: 5px;
	border-radius: 999px;
	background: var(--clay);
	opacity: 0.7;
}

.sample-section {
	padding-top: 20px;
}

.sample-panel {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 40px;
	align-items: center;
	background: var(--sage-wash);
	border: 1px solid var(--sage-line);
	border-radius: var(--radius-xl);
	padding: 42px;
}

.sample-copy h2 {
	margin-bottom: 12px;
}

.sample-copy p {
	color: #3f5b53;
	font-size: 15.5px;
	max-width: 36rem;
	margin-bottom: 20px;
}

.sample-mini {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 18px;
	box-shadow: 0 16px 40px -30px rgba(28, 25, 23, 0.4);
}

.sample-mini-head {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--stone);
	padding-bottom: 10px;
	border-bottom: 1px solid var(--line);
}

.sample-mini-row {
	display: flex;
	gap: 9px;
	align-items: flex-start;
	font-size: 13.5px;
	padding: 9px 0;
	border-bottom: 1px solid var(--line);
	line-height: 1.45;
}

.sample-mini-row.is-done span:last-child {
	color: var(--stone-2);
	text-decoration: line-through;
}

.sample-mini-row.is-done .tick {
	background: var(--sage);
	border-color: var(--sage);
	position: relative;
}

.sample-mini-row.is-done .tick::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 2px;
	width: 4px;
	height: 8px;
	border: 2px solid #fff;
	border-top: 0;
	border-left: 0;
	transform: rotate(45deg);
}

.sample-mini-count {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding-top: 14px;
	font-size: 12.5px;
	color: var(--stone);
}

.sample-mini-days {
	font-family: var(--font-head);
	font-size: 2rem;
	line-height: 1;
	color: var(--sage);
	letter-spacing: -0.03em;
}

.steps {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	counter-reset: step;
}

.steps li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 22px;
}

.step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	background: var(--clay-wash);
	color: var(--clay-deep);
	font-family: var(--font-head);
	font-size: 1.05rem;
	font-weight: 700;
	flex-shrink: 0;
}

.steps h3 {
	font-size: 1.08rem;
	margin-bottom: 4px;
}

.steps p {
	font-size: 14.5px;
	color: var(--stone);
	line-height: 1.55;
}

.price-section {
	padding-top: 20px;
}

.price-panel {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}

.price-copy {
	padding: 42px;
}

.price-copy h2 {
	margin-bottom: 12px;
}

.price-copy > p {
	color: var(--stone);
	font-size: 15.5px;
	max-width: 36rem;
}

.check-list {
	list-style: none;
	display: grid;
	gap: 9px;
	margin-top: 22px;
	font-size: 15px;
}

.check-list li {
	display: flex;
	gap: 9px;
	align-items: flex-start;
}

.check-list-lg {
	font-size: 15.5px;
	gap: 11px;
}

.price-card {
	background: var(--sage);
	color: var(--sand);
	padding: 38px 34px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.price-eyebrow {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #cfe2da;
}

.price-big {
	font-family: var(--font-head);
	font-size: 3.6rem;
	line-height: 1;
	letter-spacing: -0.04em;
	color: #fff;
	margin: 4px 0 2px;
}

.price-big span {
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0;
	color: #cfe2da;
}

.price-small {
	font-size: 14.5px;
	color: #e3ece7;
	margin-bottom: 14px;
}

.price-card .btn-primary {
	background: #fff;
	border-color: #fff;
	color: var(--sage-deep);
}

.price-card .btn-primary:hover {
	background: var(--sand);
	border-color: var(--sand);
	color: var(--ink);
}

.price-fine {
	font-size: 12px;
	line-height: 1.5;
	color: var(--stone);
	margin-top: 10px;
}

.price-card .price-fine {
	color: #cfe2da;
}

.price-fine-quiet {
	color: var(--stone-2);
}

.faq-wrap {
	max-width: 820px;
}

.faq {
	border-top: 1px solid var(--line-strong);
}

.faq details {
	border-bottom: 1px solid var(--line-strong);
}

.faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 2px;
	font-size: 16.5px;
	font-weight: 600;
	cursor: pointer;
	color: var(--ink);
}

.faq summary::after {
	content: "+";
	font-family: var(--font-head);
	font-size: 1.4rem;
	color: var(--sage);
	line-height: 1;
	transition: transform 160ms ease;
}

.faq details[open] summary::after {
	transform: rotate(45deg);
}

.faq details p {
	padding: 0 2px 20px;
	color: var(--stone);
	font-size: 15px;
	max-width: 64ch;
}

.cta-section {
	padding-top: 20px;
}

.cta-panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	background: var(--clay-wash);
	border: 1px solid #f0d3bf;
	border-radius: var(--radius-xl);
	padding: 36px 40px;
}

.cta-panel h2 {
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin-bottom: 6px;
}

.cta-panel p {
	color: #6b3a17;
	font-size: 15px;
}

.site-footer {
	background: var(--paper);
	border-top: 1px solid var(--line);
	padding: 52px 0 26px;
	margin-top: 72px;
}

.footer-top {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
	gap: 48px;
	padding-bottom: 36px;
	border-bottom: 1px solid var(--line);
}

.footer-tag {
	margin-top: 12px;
	max-width: 30rem;
	font-size: 14px;
	color: var(--stone);
	line-height: 1.6;
}

.footer-cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.footer-cols a {
	display: block;
	font-size: 14px;
	color: var(--stone);
	text-decoration: none;
	padding: 3px 0;
}

.footer-cols a:hover {
	color: var(--sage);
	text-decoration: underline;
}

.footer-head {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink);
	margin-bottom: 8px;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding-top: 22px;
	font-size: 12px;
	color: var(--stone-2);
}

.footer-bottom p {
	max-width: 72ch;
}

.footer-copy {
	white-space: nowrap;
}

/* ==========================================================================
   Sample page
   ========================================================================== */

.sample-banner {
	background: var(--clay-wash);
	border-bottom: 1px solid #f0d3bf;
	padding: 12px 0;
}

.sample-banner-inner {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.sample-banner p {
	font-size: 13.5px;
	color: #6b3a17;
}

.sample-page-inner {
	max-width: 900px;
}

.sample-page-head h1 {
	margin-bottom: 8px;
}

.sample-page-sub {
	color: var(--stone);
	font-size: 15.5px;
	margin-bottom: 20px;
}

.anchor-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 22px 0 8px;
	position: sticky;
	top: 72px;
	z-index: 20;
	padding: 8px 0;
	background: linear-gradient(180deg, var(--sand) 70%, rgba(246, 241, 234, 0));
}

.anchor-pills a {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--stone);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 7px 14px;
	text-decoration: none;
}

.anchor-pills a:hover {
	border-color: var(--sage);
	color: var(--sage);
}

.sample-block {
	margin-top: 34px;
	scroll-margin-top: 130px;
}

.sample-block-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 14px;
}

.sample-block-head h2 {
	font-size: 1.65rem;
	margin-bottom: 4px;
}

.sample-block-head p {
	font-size: 14.5px;
	color: var(--stone);
}

.sample-progress {
	width: 220px;
	flex-shrink: 0;
}

.sample-note {
	margin-top: 12px;
	font-size: 12.5px;
	color: var(--stone-2);
	font-style: italic;
}

.countdown-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.countdown-card {
	position: relative;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 20px;
	box-shadow: var(--shadow-sm);
}

.countdown-card.is-past {
	background: #fbf9f5;
}

.countdown-card.is-past .countdown-number {
	color: var(--stone);
}

.countdown-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 6px;
}

.countdown-kind {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--stone);
	background: var(--sand);
	border-radius: 999px;
	padding: 3px 9px;
}

.countdown-number {
	font-family: var(--font-head);
	font-size: 3rem;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--sage);
	margin: 10px 0 4px;
}

.countdown-number span {
	display: block;
	font-family: var(--font-body);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0;
	color: var(--stone);
	margin-top: 4px;
}

.countdown-title {
	font-family: var(--font-body);
	font-size: 1.02rem;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.35;
}

.countdown-date {
	font-size: 13px;
	color: var(--stone);
	margin-top: 2px;
}

.sample-lists {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	align-items: start;
}

.sample-list {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 18px;
}

.sample-list header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

.sample-list h3 {
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0;
}

.sample-list header > span {
	font-size: 12px;
	color: var(--stone);
	white-space: nowrap;
}

.sample-list .task-list {
	margin-top: 10px;
}

.sample-cta {
	margin-top: 46px;
	text-align: center;
	background: var(--sage-wash);
	border: 1px solid var(--sage-line);
	border-radius: var(--radius-xl);
	padding: 38px 28px;
}

.sample-cta h2 {
	margin-bottom: 8px;
}

.sample-cta p {
	max-width: 40rem;
	margin: 0 auto;
	color: #3f5b53;
	font-size: 15.5px;
}

.sample-cta .btn {
	margin-top: 20px;
}

/* ==========================================================================
   Legal
   ========================================================================== */

.legal-page {
	padding-top: 52px;
}

.legal-inner {
	max-width: 760px;
}

.legal-inner h1 {
	margin-bottom: 6px;
}

.legal-updated {
	font-size: 13px;
	color: var(--stone-2);
	margin-bottom: 26px;
}

.prose {
	color: #2b2724;
	font-size: 16.5px;
	line-height: 1.72;
}

.prose h2 {
	font-size: 1.4rem;
	margin: 34px 0 10px;
}

.prose h3 {
	font-size: 1.1rem;
	margin: 24px 0 8px;
}

.prose p {
	margin: 0 0 14px;
}

.prose ul {
	margin: 0 0 16px;
	padding-left: 22px;
}

.prose li {
	margin: 5px 0;
}

.prose-fine {
	margin-top: 34px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	font-size: 12.5px;
	color: var(--stone-2);
}

.unofficial-mark {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 16px 18px;
	margin-bottom: 26px;
}

.unofficial-mark p {
	font-size: 13px;
	color: var(--stone);
}

/* ==========================================================================
   Focus layout (auth, onboarding, paywall)
   ========================================================================== */

.focus {
	background:
		radial-gradient(760px 380px at 50% -12%, rgba(232, 240, 237, 0.9) 0%, rgba(232, 240, 237, 0) 70%),
		var(--sand);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.focus-header {
	border-bottom: 1px solid rgba(231, 226, 218, 0.8);
}

.focus-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 68px;
}

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

.focus-email {
	font-size: 13px;
	color: var(--stone);
	max-width: 220px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.focus-main {
	flex: 1;
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
	padding: 46px 22px 70px;
}

.focus-wide {
	max-width: 1000px;
}

.focus-footer {
	border-top: 1px solid var(--line);
	padding: 18px 22px 28px;
	max-width: 1000px;
	width: 100%;
	margin: 0 auto;
	font-size: 11.5px;
	color: var(--stone-2);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
}

.focus-footer p {
	max-width: 68ch;
}

.auth-section {
	padding: 8px 0 20px;
}

.auth-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 32px;
	box-shadow: 0 18px 50px -40px rgba(28, 25, 23, 0.45);
}

.auth-card h1 {
	font-size: clamp(1.9rem, 5vw, 2.25rem);
	margin-bottom: 14px;
}

.auth-sub {
	color: var(--stone);
	font-size: 15px;
	line-height: 1.55;
	margin-bottom: 22px;
}

.auth-fine {
	margin-top: 24px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
	font-size: 11.5px;
	line-height: 1.5;
	color: var(--stone-2);
}

.auth-switch {
	margin-top: 18px;
	text-align: center;
	font-size: 14px;
	color: var(--stone);
}

.auth-notice {
	background: var(--sage-wash);
	border: 1px solid var(--sage-line);
	color: var(--sage-deep);
	border-radius: 10px;
	padding: 10px 12px;
	font-size: 14px;
	margin-bottom: 16px;
}

.auth-done {
	display: grid;
	gap: 16px;
	text-align: center;
	font-size: 15px;
	color: var(--stone);
}

.auth-done-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin: 0 auto;
	border-radius: 999px;
	background: var(--sage-wash);
	color: var(--sage);
}

.invite-note {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	background: var(--sage-wash);
	border: 1px solid var(--sage-line);
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 18px;
	font-size: 13.5px;
	color: var(--sage-deep);
}

.invite-note svg {
	flex-shrink: 0;
	margin-top: 1px;
}

/* Onboarding ------------------------------------------------------------- */

.onboarding-head {
	text-align: center;
	margin-bottom: 26px;
}

.onboarding-head h1 {
	font-size: clamp(2rem, 5vw, 2.6rem);
	margin-bottom: 8px;
}

.onboarding-head p {
	color: var(--stone);
	font-size: 15.5px;
	max-width: 34rem;
	margin: 0 auto;
}

.wizard {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 28px;
	box-shadow: 0 22px 60px -44px rgba(28, 25, 23, 0.5);
	max-width: 620px;
	margin: 0 auto;
}

.wizard-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--line);
}

.wizard-count {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--stone);
}

.wizard-dots {
	display: flex;
	gap: 6px;
}

.wizard-dots span {
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: var(--line-strong);
	transition: width 160ms ease, background-color 160ms ease;
}

.wizard-dots span.is-on {
	width: 22px;
	background: var(--sage);
}

.wizard-step h2 {
	font-size: 1.5rem;
	margin-bottom: 6px;
}

.step-sub {
	color: var(--stone);
	font-size: 14.5px;
	margin-bottom: 20px;
}

.wizard-step .field + .field {
	margin-top: 14px;
}

.wizard-actions {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: flex-end;
	margin-top: 24px;
}

.wizard-actions .btn-ghost {
	margin-right: auto;
}

.choice-stack {
	display: grid;
	gap: 10px;
}

.choice {
	position: relative;
	cursor: pointer;
}

.choice input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.choice-body {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 16px;
	border: 1px solid var(--line-strong);
	border-radius: 12px;
	background: var(--paper);
	transition: border-color 140ms ease, background-color 140ms ease;
}

.choice:hover .choice-body {
	border-color: var(--sage-line);
	background: #fcfaf7;
}

.choice input:checked + .choice-body {
	border-color: var(--sage);
	background: var(--sage-wash);
	box-shadow: inset 0 0 0 1px var(--sage);
}

.choice input:focus-visible + .choice-body {
	outline: 3px solid rgba(47, 93, 80, 0.32);
	outline-offset: 2px;
}

.choice-text {
	display: grid;
	gap: 2px;
}

.choice-text strong {
	font-size: 15px;
}

.choice-text span {
	font-size: 13px;
	color: var(--stone);
	line-height: 1.45;
}

.safety-list {
	list-style: none;
	display: grid;
	gap: 10px;
	margin-bottom: 16px;
}

.safety-list li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--stone);
}

.safety-line {
	font-size: 12.5px;
	color: var(--stone-2);
	background: var(--sand);
	border-radius: 8px;
	padding: 10px 12px;
	margin-bottom: 16px;
}

.wizard-fine {
	margin-top: 16px;
	font-size: 11.5px;
	color: var(--stone-2);
	line-height: 1.5;
}

/* Paywall ---------------------------------------------------------------- */

.paywall-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 34px;
	align-items: start;
}

.paywall-copy h1 {
	font-size: clamp(2rem, 4vw, 2.7rem);
	margin-bottom: 10px;
}

.paywall-sub {
	color: var(--stone);
	font-size: 15.5px;
	max-width: 34rem;
}

.paywall-household {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 28px;
	padding: 14px 16px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 12px;
}

.paywall-household p {
	font-size: 13.5px;
	line-height: 1.45;
}

.paywall-household p span {
	color: var(--stone);
}

.paywall-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 26px;
	box-shadow: 0 24px 60px -44px rgba(28, 25, 23, 0.5);
}

.paywall-card .price-big {
	color: var(--ink);
	margin-top: 2px;
}

.paywall-card .price-big span {
	color: var(--stone);
}

.paywall-card .price-small {
	color: var(--stone);
	margin-bottom: 18px;
}

.pay-fine {
	font-size: 11.5px;
	line-height: 1.5;
	color: var(--stone);
	margin-top: 10px;
}

.preview-note {
	background: var(--clay-wash);
	border: 1px solid #f0d3bf;
	border-radius: 10px;
	padding: 11px 12px;
	font-size: 13px;
	line-height: 1.5;
	color: #6b3a17;
	margin-bottom: 12px;
}

.preview-title {
	font-weight: 700;
	margin-bottom: 2px;
	color: var(--caution);
}

/* ==========================================================================
   App shell
   ========================================================================== */

.app {
	background: var(--sand);
}

.app-layout {
	display: grid;
	grid-template-columns: 248px minmax(0, 1fr);
	min-height: 100vh;
}

.sidebar {
	position: sticky;
	top: 0;
	height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--paper);
	border-right: 1px solid var(--line);
	padding: 22px 14px 18px;
	z-index: 30;
}

.side-top {
	padding: 0 8px;
}

.side-nav {
	display: grid;
	gap: 4px;
	margin-top: 26px;
}

.side-link {
	display: flex;
	align-items: center;
	gap: 11px;
	min-height: 44px;
	padding: 0 11px;
	border-radius: 10px;
	color: var(--stone);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.side-link svg {
	color: var(--stone-2);
}

.side-link:hover {
	background: var(--sand);
	color: var(--ink);
}

.side-link.is-active {
	background: var(--sage-wash);
	color: var(--sage-deep);
}

.side-link.is-active svg {
	color: var(--sage);
}

.side-foot {
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.household-chip {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px;
	border-radius: 10px;
	text-decoration: none;
	color: var(--ink);
}

.household-chip:hover {
	background: var(--sand);
}

.avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background: var(--sage-wash);
	color: var(--sage-deep);
	font-weight: 700;
	font-size: 14px;
	flex-shrink: 0;
}

.avatar-lg {
	width: 42px;
	height: 42px;
	font-size: 16px;
}

.household-meta {
	display: grid;
	min-width: 0;
}

.household-name {
	font-size: 13.5px;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.household-sub {
	font-size: 11.5px;
	color: var(--stone-2);
}

.signout-form {
	padding: 4px 6px 0;
}

.app-body {
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.mobile-top {
	display: none;
}

.app-content {
	width: 100%;
	max-width: 860px;
	margin: 0 auto;
	padding: 34px 30px 72px;
}

.tabbar {
	display: none;
}

/* Page header ------------------------------------------------------------ */

.page-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 8px;
}

.page-head h1 {
	font-size: clamp(1.8rem, 3.2vw, 2.2rem);
}

.page-sub {
	margin-top: 4px;
	font-size: 15px;
	color: var(--stone);
	max-width: 46rem;
}

.page-actions {
	display: flex;
	gap: 8px;
	flex-shrink: 0;
	position: relative;
}

.inline-details {
	position: relative;
}

.popover-form {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	z-index: 40;
	width: 330px;
	max-width: calc(100vw - 36px);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 16px;
	box-shadow: var(--shadow-pop);
	display: grid;
	gap: 10px;
}

.menu-form {
	display: grid;
	gap: 8px;
}

.menu-form input,
.menu-form select,
.menu-form textarea {
	width: 100%;
}

/* ==========================================================================
   Home
   ========================================================================== */

.home-head {
	margin-bottom: 18px;
}

.home-head h1 {
	font-size: clamp(2rem, 4vw, 2.5rem);
	margin: 2px 0 4px;
}

.next-card {
	display: grid;
	grid-template-columns: 1fr auto 0.9fr;
	gap: 22px;
	background: var(--sage-wash);
	border: 1px solid var(--sage-line);
	border-radius: var(--radius-lg);
	padding: 22px;
	margin: 20px 0 24px;
}

.next-col {
	min-width: 0;
}

.next-divider {
	width: 1px;
	background: var(--sage-line);
}

.next-title {
	font-family: var(--font-head);
	font-size: 1.28rem;
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.3;
	margin: 6px 0 4px;
	max-width: 30rem;
}

.next-title-sm {
	font-size: 1.15rem;
}

.next-meta {
	font-size: 13px;
	color: var(--stone);
	margin-bottom: 10px;
}

.next-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--sage-deep);
	text-decoration: none;
}

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

.next-days {
	font-family: var(--font-head);
	font-size: 2.9rem;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--sage);
	margin: 4px 0 2px;
}

.next-days span {
	display: block;
	margin-top: 5px;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0;
	color: var(--stone);
}

.next-days-empty {
	color: var(--stone-2);
	opacity: 0.6;
}

.start-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 20px 22px;
	margin-bottom: 24px;
}

.start-card h2 {
	font-size: 1.25rem;
	margin-bottom: 4px;
}

.start-card p {
	color: var(--stone);
	font-size: 14px;
	max-width: 40rem;
}

.start-links {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.chip-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid var(--sage-line);
	background: var(--sage-wash);
	color: var(--sage-deep);
	border-radius: 999px;
	padding: 8px 13px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.chip-link:hover {
	border-color: var(--sage);
}

.tool-grid-app {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.app-tool {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 14px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 14px;
	text-decoration: none;
	color: var(--ink);
	min-height: 78px;
}

.app-tool:hover {
	border-color: var(--sage-line);
	background: #fffdfa;
}

.app-tool-copy {
	display: grid;
	min-width: 0;
	flex: 1;
}

.app-tool-copy strong {
	font-size: 14px;
	font-weight: 700;
}

.app-tool-copy span {
	font-size: 12.5px;
	color: var(--stone);
	line-height: 1.35;
}

.app-tool-badge {
	font-size: 11px;
	font-weight: 700;
	color: var(--sage);
	background: var(--sage-wash);
	border-radius: 999px;
	padding: 3px 8px;
	white-space: nowrap;
}

.app-tool-progress {
	width: 52px;
	flex-shrink: 0;
}

.app-tool-progress .progress-track {
	height: 5px;
}

.nudge {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 14px 16px;
	margin-top: 14px;
	text-decoration: none;
	color: var(--ink);
}

.nudge:hover {
	border-color: var(--sage-line);
	background: #fffdfa;
}

.nudge > span {
	display: grid;
	flex: 1;
}

.nudge strong {
	font-size: 14px;
}

.nudge span span {
	font-size: 13px;
	color: var(--stone);
}

.home-foot {
	margin-top: 28px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 24px;
	font-size: 13px;
	color: var(--stone);
}

.household-line {
	display: flex;
	align-items: center;
	gap: 7px;
}

.household-line svg {
	color: var(--stone-2);
}

.household-line strong {
	color: var(--ink);
}

.lifetime-line {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--stone);
}

.lifetime-line svg {
	color: var(--sage);
}

.lifetime-date {
	color: var(--stone-2);
}

.home-settings {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 600;
	text-decoration: none;
	color: var(--stone);
	font-size: 12.5px;
}

/* ==========================================================================
   PCS plan
   ========================================================================== */

.setup-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 26px;
	margin-top: 18px;
}

.setup-card h2 {
	font-size: 1.45rem;
	margin-bottom: 8px;
}

.setup-card > p {
	color: var(--stone);
	font-size: 15px;
	max-width: 44rem;
	margin-bottom: 20px;
}

.date-form {
	display: grid;
	grid-template-columns: 1fr 1fr auto;
	gap: 14px;
	align-items: end;
}

.date-form-compact {
	grid-template-columns: 1fr 1fr auto;
	margin-top: 10px;
	padding: 14px;
	background: var(--sand);
	border-radius: 10px;
	border: 1px solid var(--line);
}

.phase-preview {
	margin-top: 30px;
}

.phase-strip {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
}

.phase-strip li {
	position: relative;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 16px 14px 14px;
	font-size: 13px;
}

.phase-strip-dot {
	display: block;
	width: 9px;
	height: 9px;
	border-radius: 999px;
	background: var(--sage);
	margin-bottom: 10px;
	box-shadow: 0 0 0 4px var(--sage-wash);
}

.phase-strip strong {
	display: block;
	font-size: 13.5px;
	margin-bottom: 3px;
}

.phase-strip span {
	display: block;
	color: var(--stone);
	line-height: 1.45;
	font-size: 12.5px;
}

.plan-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 20px 22px;
	margin: 18px 0 14px;
}

.plan-window {
	font-family: var(--font-head);
	font-size: 1.5rem;
	letter-spacing: -0.02em;
	margin: 4px 0 2px;
}

.plan-window-sub {
	font-size: 13px;
	color: var(--stone);
}

.plan-tools {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: 0 0 22px;
}

.plan-tools .progress-block {
	max-width: 420px;
}

.phase-stack {
	display: grid;
	gap: 16px;
}

.phase {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 18px 20px;
}

.phase-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--line);
}

.phase-title {
	display: flex;
	gap: 11px;
	align-items: flex-start;
}

.phase-dot {
	display: block;
	width: 9px;
	height: 9px;
	border-radius: 999px;
	background: var(--sage);
	flex-shrink: 0;
	margin-top: 7px;
	box-shadow: 0 0 0 4px var(--sage-wash);
}

.phase-title h2 {
	font-size: 1.18rem;
	letter-spacing: -0.01em;
}

.phase-title p {
	font-size: 12.5px;
	color: var(--stone);
	margin-top: 2px;
}

.phase-count {
	font-size: 11.5px;
	font-weight: 700;
	color: var(--stone);
	background: var(--sand);
	border-radius: 999px;
	padding: 4px 9px;
	white-space: nowrap;
}

.task-list {
	display: grid;
}

.task-row {
	position: relative;
	padding: 2px 0;
	border-bottom: 1px solid var(--line);
}

.task-row:last-child {
	border-bottom: 0;
}

.task {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	min-height: 46px;
	padding: 11px 0;
	cursor: pointer;
	font-size: 15px;
	line-height: 1.45;
}

.task-row .task {
	padding-right: 78px;
}

.sample-list .task {
	padding-right: 0;
}

.task input {
	margin-top: 1px;
}

.task-label {
	flex: 1;
	min-width: 0;
	transition: color 120ms ease;
}

.task.is-done .task-label {
	color: var(--stone-2);
	text-decoration: line-through;
	text-decoration-color: rgba(87, 83, 78, 0.45);
}

.task.is-done input {
	background: var(--sage);
	border-color: var(--sage);
}

.task-side {
	position: absolute;
	right: 0;
	top: 9px;
	display: flex;
	align-items: center;
	gap: 4px;
	background: var(--paper);
	padding-left: 6px;
}

.task:hover .task-side {
	background: #fffdfa;
}

.task.is-done + .task-side,
.task-row:has(.task.is-done) .task-side {
	background: var(--paper);
}

.task-by {
	font-size: 11px;
	font-weight: 700;
	color: var(--sage);
	background: var(--sage-wash);
	border-radius: 999px;
	padding: 2px 7px;
}

.task-more {
	position: relative;
}

.task-more summary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	color: var(--stone-2);
	cursor: pointer;
	list-style: none;
}

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

.task-more summary:hover {
	background: var(--sand);
	color: var(--ink);
}

.task-menu {
	position: absolute;
	right: 0;
	top: calc(100% + 4px);
	z-index: 35;
	width: 300px;
	max-width: calc(100vw - 40px);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 14px;
	box-shadow: var(--shadow-pop);
	display: grid;
	gap: 10px;
	text-align: left;
	cursor: default;
}

.task-menu-wide {
	width: 310px;
}

.task-menu textarea {
	width: 100%;
	min-height: 74px;
}

.task-menu .btn {
	justify-self: start;
}

.task-note {
	margin: 0 0 10px 33px;
	padding: 8px 10px;
	background: var(--sand);
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--stone);
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

.phase-empty {
	padding: 14px 0;
	font-size: 13.5px;
	color: var(--stone-2);
}

.phase-foot {
	margin-top: 6px;
	padding-top: 10px;
	border-top: 1px dashed var(--line-strong);
}

.add-task summary {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--sage);
	cursor: pointer;
	list-style: none;
	padding: 4px 0;
}

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

.add-task-form {
	display: flex;
	gap: 8px;
	margin-top: 8px;
}

.add-task-form input {
	flex: 1;
}

/* ==========================================================================
   Countdowns
   ========================================================================== */

.add-panel {
	margin: 20px 0 24px;
}

.add-panel-summary {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	cursor: pointer;
	list-style: none;
}

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

.add-panel-summary .btn {
	pointer-events: none;
}

.add-panel[open] .add-panel-summary {
	margin-bottom: 14px;
}

.add-panel .card-form {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 20px;
}

/* ==========================================================================
   Lists
   ========================================================================== */

.lists-section {
	margin-bottom: 30px;
}

.list-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.list-card {
	display: grid;
	gap: 10px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 18px;
	text-decoration: none;
	color: var(--ink);
}

.list-card:hover {
	border-color: var(--sage-line);
	box-shadow: 0 14px 34px -30px rgba(28, 25, 23, 0.5);
}

.list-card-top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
}

.list-card-title {
	font-family: var(--font-head);
	font-size: 1.22rem;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.list-card-count {
	font-size: 12px;
	color: var(--stone);
	white-space: nowrap;
}

.list-card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 12.5px;
	color: var(--stone);
}

.template-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.template-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 20px;
}

.template-count {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--stone-2);
}

.template-card h3 {
	font-size: 1.15rem;
	margin: 4px 0 6px;
}

.template-card p {
	font-size: 13.5px;
	color: var(--stone);
	line-height: 1.5;
	flex: 1;
	margin-bottom: 16px;
}

.back-link {
	margin-bottom: 10px;
	font-size: 13.5px;
}

.back-link a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-weight: 600;
	text-decoration: none;
	color: var(--stone);
}

.back-link a:hover {
	color: var(--sage);
}

.list-progress {
	margin: 14px 0 18px;
	max-width: 460px;
}

.task-list-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 4px 20px;
}

.assignee-chip {
	font-size: 11px;
	font-weight: 700;
	color: var(--sage-deep);
	background: var(--sage-wash);
	border-radius: 999px;
	padding: 2px 8px;
	white-space: nowrap;
}

.icon-form {
	display: inline-flex;
}

.add-item-form {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 16px;
	padding: 12px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 14px;
}

.add-item-main {
	display: flex;
	gap: 8px;
	flex: 1;
	min-width: 0;
}

.add-item-main input {
	flex: 1;
	min-width: 0;
}

.add-item-main select {
	width: 130px;
	flex-shrink: 0;
}

/* ==========================================================================
   Settings
   ========================================================================== */

.settings-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 22px;
	margin: 16px 0;
	scroll-margin-top: 80px;
}

.settings-head {
	margin-bottom: 16px;
}

.settings-head h2 {
	font-size: 1.3rem;
	margin-bottom: 3px;
}

.settings-head p {
	font-size: 13.5px;
	color: var(--stone);
}

.settings-details {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
}

.settings-details > summary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--sage);
	cursor: pointer;
	list-style: none;
}

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

.settings-details .card-form {
	margin-top: 14px;
	padding: 16px;
	background: var(--sand);
	border-radius: 10px;
	border: 1px solid var(--line);
}

.member-list {
	list-style: none;
	display: grid;
}

.member-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
}

.member-row:last-child {
	border-bottom: 0;
}

.member-info {
	display: grid;
	flex: 1;
	min-width: 0;
}

.member-info strong {
	font-size: 14.5px;
}

.member-info span {
	font-size: 12.5px;
	color: var(--stone);
	overflow: hidden;
	text-overflow: ellipsis;
}

.invite-box {
	margin-top: 16px;
	background: var(--sand);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 16px;
}

.invite-box h3 {
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0;
	margin-bottom: 4px;
}

.invite-box > p {
	font-size: 13.5px;
	color: var(--stone);
	max-width: 42rem;
}

.invite-form {
	display: flex;
	gap: 10px;
	align-items: flex-end;
	margin-top: 14px;
	flex-wrap: wrap;
}

.invite-form .field {
	flex: 1;
	min-width: 220px;
}

.invite-list {
	list-style: none;
	margin-top: 14px;
	display: grid;
	gap: 6px;
	font-size: 13px;
}

.invite-list li {
	display: flex;
	align-items: center;
	gap: 7px;
	flex-wrap: wrap;
}

.invite-expiry {
	color: var(--stone-2);
	font-size: 12px;
}

.household-full {
	display: flex;
	gap: 8px;
	align-items: center;
	font-size: 13.5px;
	color: var(--stone);
	margin-top: 14px;
	padding: 10px 12px;
	background: var(--sand);
	border-radius: 8px;
}

.billing-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: 10px;
}

.billing-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14.5px;
	font-weight: 700;
}

.billing-sub {
	font-size: 13px;
	color: var(--stone);
	margin-top: 2px;
}

.safety-callout {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	background: var(--clay-wash);
	border: 1px solid #f0d3bf;
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 13.5px;
	line-height: 1.5;
	color: #6b3a17;
	margin-bottom: 14px;
}

.safety-callout svg {
	flex-shrink: 0;
	margin-top: 1px;
	color: var(--caution);
}

.link-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	font-size: 14px;
	margin-top: 12px;
}

.settings-danger {
	border-color: #eed3ce;
}

.danger-details > summary {
	color: var(--alert);
}

.settings-quiet {
	background: transparent;
	border: 0;
	padding: 8px 0;
}

.settings-quiet-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.settings-quiet-row p {
	font-size: 11.5px;
	color: var(--stone-2);
	max-width: 46ch;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1040px) {
	.hero-grid {
		gap: 32px;
	}

	.phase-strip {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.app-layout {
		display: block;
	}

	.sidebar {
		display: none;
	}

	.mobile-top {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		height: 58px;
		padding: 0 16px;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		position: sticky;
		top: 0;
		z-index: 40;
	}

	.app-content {
		padding: 22px 18px 104px;
		max-width: 720px;
	}

	.tabbar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 60;
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		background: rgba(255, 255, 255, 0.97);
		backdrop-filter: blur(10px);
		border-top: 1px solid var(--line);
		padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
	}

	.tab {
		display: grid;
		justify-items: center;
		gap: 2px;
		padding: 6px 2px;
		border-radius: 10px;
		color: var(--stone);
		text-decoration: none;
		font-size: 10.5px;
		font-weight: 600;
	}

	.tab svg {
		color: var(--stone-2);
	}

	.tab.is-active {
		color: var(--sage-deep);
		background: var(--sage-wash);
	}

	.tab.is-active svg {
		color: var(--sage);
	}

	.next-card {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.next-divider {
		width: 100%;
		height: 1px;
	}

	.tool-grid-app {
		grid-template-columns: 1fr;
	}

	.list-cards {
		grid-template-columns: 1fr;
	}

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

	.settings-card {
		padding: 18px;
	}

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

	.phase-strip {
		grid-template-columns: 1fr 1fr;
	}

	.date-form,
	.date-form-compact {
		grid-template-columns: 1fr 1fr;
	}

	.date-form > .btn {
		grid-column: 1 / -1;
	}
}

@media (max-width: 820px) {
	.hero-grid {
		grid-template-columns: 1fr;
	}

	.hero {
		padding: 44px 0 56px;
	}

	.hero-copy h1 {
		max-width: 15ch;
	}

	.hero-art {
		margin-top: 8px;
	}

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

	.sample-panel {
		grid-template-columns: 1fr;
		padding: 28px;
		gap: 24px;
	}

	.price-panel {
		grid-template-columns: 1fr;
	}

	.price-copy {
		padding: 30px 26px;
	}

	.price-card {
		padding: 30px 26px;
	}

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

	.footer-top {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.footer-cols {
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 8px;
	}

	.sample-lists {
		grid-template-columns: 1fr;
	}

	.sample-block-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.sample-progress {
		width: 100%;
	}

	.section {
		padding: 56px 0;
	}

	.cta-panel {
		flex-direction: column;
		align-items: flex-start;
		padding: 28px;
	}

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

	.anchor-pills {
		top: 64px;
	}

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

	.field-span {
		grid-column: auto;
	}

	.plan-summary {
		padding: 18px;
	}

	.plan-window {
		font-size: 1.3rem;
	}

	.plan-tools {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.plan-tools .progress-block {
		max-width: none;
	}
}

@media (max-width: 620px) {
	.header-link-sample {
		display: none;
	}

	.header-nav {
		gap: 14px;
	}

	.header-inner {
		min-height: 64px;
	}

	.logo-text {
		font-size: 19px;
	}

	.wrap {
		padding: 0 18px;
	}

	.hero-copy h1 {
		font-size: clamp(2.15rem, 9vw, 2.85rem);
	}

	.hero-actions .btn {
		flex: 1;
	}

	.sample-panel {
		padding: 22px;
	}

	.section-head {
		margin-bottom: 24px;
	}

	.phase-strip {
		grid-template-columns: 1fr;
	}

	.date-form,
	.date-form-compact {
		grid-template-columns: 1fr;
	}

	.wizard {
		padding: 20px;
	}

	.auth-card {
		padding: 22px;
	}

	.focus-email {
		display: none;
	}

	.task-menu {
		position: fixed;
		left: 16px;
		right: 16px;
		top: auto;
		bottom: 84px;
		width: auto;
		max-width: none;
	}

	.popover-form {
		position: fixed;
		left: 16px;
		right: 16px;
		top: auto;
		bottom: 84px;
		width: auto;
		max-width: none;
	}

	.add-item-form {
		flex-direction: column;
		align-items: stretch;
	}

	.add-item-main {
		flex-direction: column;
	}

	.add-item-main select {
		width: 100%;
	}

	.add-item-form .btn {
		width: 100%;
	}

	.add-task-form {
		flex-direction: column;
	}

	.add-task-form .btn {
		width: 100%;
	}

	.billing-row {
		flex-direction: column;
	}

	.member-row {
		flex-wrap: wrap;
	}

	.settings-quiet-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.sample-banner-inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
	}

	.page-head {
		flex-wrap: wrap;
		align-items: flex-start;
	}

	.page-actions {
		width: 100%;
	}

	.paywall-card {
		padding: 22px;
	}

	.cta-panel {
		padding: 24px;
	}

	.footer-cols {
		grid-template-columns: 1fr;
	}

	.site-footer {
		margin-top: 48px;
	}
}

@media (max-width: 400px) {
	.logo-text {
		font-size: 17.5px;
	}

	.app-content {
		padding-left: 14px;
		padding-right: 14px;
	}

	.tab {
		font-size: 9.5px;
	}

	.tab svg {
		width: 20px;
		height: 20px;
	}
}

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