/* ============ Design tokens ============ */
:root {
	--bg: #eae5da;
	--ink: #23211e;
	--ink-strong: #1d1b18;
	--ink-soft: #5e584c;
	--muted: #7a7466;
	--faint: #9c968a;
	--line: #e8e1d4;
	--line-strong: #ddd5c2;
	--surface: #fff;
	--dark: #1e1b17;
	--on-dark: #f5efe3;
	--on-dark-soft: #c9c2b3;
	--gold: #c79a4e;
	--gold-deep: #bd8b3d;
	--gold-ink: #8a6a2e;
	--cream: #f4e9d4;
	--cream-strong: #f2e2c4;
	--link: #a0672f;
	--link-hover: #8a5726;
	--rust: #b0573a;

	--font-display: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-body: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============ Reset & base ============ */
* {
	box-sizing: border-box;
}
html,
body {
	margin: 0;
	padding: 0;
}
body {
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	text-wrap: pretty;
}
h1,
h2,
h3 {
	margin: 0;
	font-family: var(--font-display);
	letter-spacing: -0.02em;
	color: var(--ink-strong);
}
p {
	margin: 0;
}
img {
	display: block;
	max-width: 100%;
}
button {
	font-family: inherit;
	cursor: pointer;
	border: none;
	background: none;
	color: inherit;
}
a {
	color: var(--link);
	text-decoration: none;
}
a:hover {
	color: var(--link-hover);
}

.wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding-left: clamp(20px, 4vw, 40px);
	padding-right: clamp(20px, 4vw, 40px);
}

/* ============ Buttons ============ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	font-size: 15.5px;
	font-weight: 700;
	padding: 15px 26px;
	border-radius: 12px;
	transition: transform 0.1s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn:active {
	transform: scale(0.97);
}
.btn--dark {
	background: var(--dark);
	color: var(--on-dark);
}
.btn--dark:hover {
	background: #2a251e;
	color: var(--on-dark);
}
.btn--gold {
	background: var(--gold);
	color: #2a2620;
}
.btn--ghost {
	background: var(--surface);
	color: #3a352d;
	border: 1px solid var(--line-strong);
}
.btn--text {
	padding: 10px 14px;
	color: var(--ink);
	font-size: 14px;
	font-weight: 700;
}
.btn--text:hover {
	color: var(--link);
}
.btn--small {
	padding: 9px;
	font-size: 12px;
	border-radius: 10px;
}
.btn--block {
	width: 100%;
	padding: 14px;
	font-size: 15px;
}

/* ============ Header ============ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(234, 229, 218, 0.9);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line-strong);
}
.site-header__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding-top: 16px;
	padding-bottom: 16px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 9px;
}
.brand__mark {
	width: 28px;
	height: 28px;
	object-fit: contain;
}
.brand__name {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 19px;
	letter-spacing: -0.02em;
	color: var(--ink-strong);
}
.site-nav {
	display: flex;
	align-items: center;
	gap: clamp(14px, 3vw, 28px);
	flex-wrap: wrap;
}
.nav-link {
	color: var(--ink-soft);
	font-size: 14px;
	font-weight: 700;
}
.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}
.back-link {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--ink-soft);
}

/* ============ Hero ============ */
.hero {
	padding-top: clamp(40px, 8vw, 88px);
	padding-bottom: clamp(30px, 6vw, 64px);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
	gap: clamp(32px, 5vw, 60px);
	align-items: center;
}
.hero-copy__portrait {
	width: 180px;
	height: auto;
	margin: 0 auto 20px;
}
.eyebrow {
	display: inline-block;
	background: var(--cream);
	color: #8a6a2e;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 18px;
}
.hero-copy h1 {
	font-weight: 800;
	font-size: clamp(36px, 5vw, 54px);
	line-height: 1.05;
	margin: 0 0 18px;
}
.hero-copy__lede {
	font-size: clamp(16px, 1.6vw, 18.5px);
	line-height: 1.6;
	color: var(--ink-soft);
	margin: 0 0 30px;
	max-width: 480px;
}
.hero-copy__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
.hero-copy__fineprint {
	margin-top: 22px;
	font-size: 13.5px;
	color: var(--faint);
	font-weight: 600;
}

/* Phone mock */
.phone-stage {
	display: flex;
	justify-content: center;
}
.phone {
	width: 300px;
	height: 620px;
	background: #f2eee6;
	border-radius: 38px;
	overflow: hidden;
	box-shadow: 0 30px 60px -20px rgba(30, 25, 15, 0.35), 0 0 0 8px var(--dark);
	position: relative;
	display: flex;
	flex-direction: column;
}
.phone__topbar {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 16px 18px 12px;
	background: var(--dark);
	flex-shrink: 0;
}
.phone__topbar img {
	width: 20px;
	height: 20px;
	object-fit: contain;
}
.phone__topbar span {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 15px;
	color: var(--on-dark);
	letter-spacing: -0.02em;
}
.phone__body {
	flex: 1;
	padding: 18px 16px 16px;
	overflow: hidden;
}
.phone__greeting {
	font-size: 11.5px;
	color: #9c968a;
	font-weight: 600;
	margin-bottom: 2px;
}
.phone__heading {
	font-weight: 700;
	font-size: 19px;
	margin: 0 0 14px;
}
.phone__card {
	background: linear-gradient(155deg, #f7ecd8, var(--cream-strong));
	border: 1px solid #ecd9ae;
	border-radius: 18px;
	padding: 16px;
	margin-bottom: 16px;
}
.phone__card-top {
	display: flex;
	align-items: center;
	gap: 11px;
	margin-bottom: 12px;
}
.phone__avatar-ring {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: conic-gradient(var(--rust) 100%, #ece5d7 0);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	animation: pulseRing 2.4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
	.phone__avatar-ring {
		animation: none;
	}
}
.phone__avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--surface);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 12px;
	color: #8a6a2e;
}
.phone__contact-name {
	font-weight: 700;
	font-size: 14px;
	color: var(--ink);
}
.phone__contact-meta {
	font-size: 11px;
	color: var(--link);
	font-weight: 700;
}
.phone__card-actions {
	display: flex;
	gap: 8px;
}
.phone__card-actions .btn {
	flex: 1;
}
.phone__section-label {
	font-size: 11.5px;
	font-weight: 700;
	color: var(--faint);
	margin-bottom: 9px;
}
.phone__reminder {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 10px 12px;
	margin-bottom: 9px;
}
.phone__reminder-chip {
	width: 32px;
	height: 32px;
	border-radius: 9px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 11px;
	flex-shrink: 0;
}
.phone__reminder-name {
	flex: 1;
	min-width: 0;
	font-weight: 700;
	font-size: 12px;
	color: var(--ink);
}
.phone__reminder-badge {
	font-size: 9.5px;
	font-weight: 700;
	padding: 4px 8px;
	border-radius: 999px;
	white-space: nowrap;
	flex-shrink: 0;
}
.phone__nav {
	flex-shrink: 0;
	height: 58px;
	background: var(--dark);
	display: flex;
	align-items: stretch;
	justify-content: space-around;
}
.phone__nav-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	flex: 1;
	font-size: 8.5px;
	font-weight: 600;
}
.phone__nav-item svg {
	width: 15px;
	height: 15px;
}

@keyframes pulseRing {
	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(176, 87, 58, 0.35);
	}
	50% {
		box-shadow: 0 0 0 7px rgba(176, 87, 58, 0);
	}
}

/* ============ Story section ============ */
.story {
	padding-top: 0;
	padding-bottom: clamp(50px, 8vw, 80px);
}
.section-intro {
	text-align: center;
	max-width: 620px;
	margin: 0 auto clamp(32px, 5vw, 48px);
}
.section-intro--wide {
	max-width: 600px;
}
.section-intro h2 {
	font-weight: 700;
	font-size: clamp(26px, 3.4vw, 36px);
	margin: 0 0 12px;
}
.section-intro p {
	font-size: 15.5px;
	color: var(--muted);
}
.story-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
}
.card {
	border-radius: 22px;
	padding: clamp(28px, 4vw, 40px);
}
.card--dark {
	background: var(--dark);
	color: var(--on-dark);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.card--cream {
	background: linear-gradient(155deg, #f7ecd8, var(--cream-strong));
	border: 1px solid #ecd9ae;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.card__art {
	width: 88px;
	height: auto;
	margin-bottom: 14px;
}
.card h3 {
	font-weight: 700;
	font-size: 19px;
	margin: 0 0 10px;
}
.card--dark h3 {
	color: var(--on-dark);
}
.card p {
	font-size: 14.5px;
	line-height: 1.65;
}
.card--dark p {
	color: var(--on-dark-soft);
}
.card--cream p {
	color: var(--ink-soft);
}

/* ============ Features ============ */
.section {
	padding-top: clamp(30px, 6vw, 60px);
	padding-bottom: clamp(30px, 6vw, 60px);
}
.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}
.feature-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: 26px;
}
.feature-icon {
	width: 44px;
	height: 44px;
	border-radius: 13px;
	background: var(--cream);
	color: #8a6a2e;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	font-size: 20px;
}
.feature-card h3 {
	font-weight: 700;
	font-size: 17px;
	margin: 0 0 8px;
}
.feature-card p {
	font-size: 14.5px;
	line-height: 1.55;
	color: #7a7466;
}

/* ============ Pricing ============ */
.plan-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
	max-width: 760px;
	margin: 0 auto;
}
.plan {
	border-radius: 22px;
	padding: 30px;
}
.plan--light {
	background: var(--surface);
	border: 1px solid var(--line);
}
.plan--dark {
	background: var(--dark);
	border: 1px solid var(--dark);
	color: var(--on-dark);
}
.plan__name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 18px;
	margin-bottom: 6px;
}
.plan--dark .plan__name {
	color: var(--on-dark);
}
.plan__price-row {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-bottom: 6px;
}
.plan__price {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 42px;
}
.plan--dark .plan__price {
	color: var(--on-dark);
}
.plan__suffix {
	font-size: 15px;
	font-weight: 600;
	color: var(--faint);
}
.plan--dark .plan__suffix {
	color: var(--on-dark-soft);
}
.plan__subline {
	font-size: 13.5px;
	color: var(--faint);
	margin-bottom: 22px;
}
.plan--dark .plan__subline {
	color: var(--on-dark-soft);
}
.plan__perks {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 26px;
}
.plan__perk {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.plan__perk svg {
	flex-shrink: 0;
	margin-top: 2px;
	stroke: var(--faint);
}
.plan--dark .plan__perk svg {
	stroke: var(--gold);
}
.plan__perk span {
	font-size: 14.5px;
	line-height: 1.4;
	color: #3a352d;
}
.plan--dark .plan__perk span {
	color: #e6dfd0;
}

/* ============ FAQ ============ */
.faq-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.faq-item {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 20px 22px;
}
.faq-item h3 {
	font-weight: 700;
	font-size: 15.5px;
	margin: 0 0 6px;
}
.faq-item p {
	font-size: 14px;
	color: var(--muted);
	line-height: 1.55;
}

/* ============ Pricing page ============ */
.pricing-title {
	font-weight: 700;
	font-size: clamp(30px, 4.4vw, 46px);
	margin: 0 0 12px;
}
.pricing-fineprint {
	max-width: 760px;
	margin: 20px auto 0;
	text-align: center;
	font-size: 13.5px;
	color: var(--muted);
}
.pricing-fineprint a,
.limit-note a,
.faq-item a {
	text-decoration: underline;
	text-underline-offset: 2px;
}
.limit-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 20px;
	max-width: 760px;
	margin: 0 auto;
}
.limit-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 24px 26px;
}
.limit-card--paused {
	background: linear-gradient(155deg, #f7ecd8, var(--cream-strong));
	border-color: #ecd9ae;
}
.limit-card h3 {
	font-weight: 700;
	font-size: 17px;
	margin: 0 0 12px;
}
.limit-card ul {
	margin: 0;
	padding-left: 20px;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--ink-soft);
}
.limit-card li + li {
	margin-top: 6px;
}
.limit-note {
	max-width: 760px;
	margin: 20px auto 0;
	background: var(--dark);
	color: var(--on-dark-soft);
	border-radius: 18px;
	padding: 24px 26px;
	font-size: 14.5px;
	line-height: 1.6;
}
.limit-note h3 {
	color: var(--on-dark);
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 8px;
}
.limit-note strong {
	color: var(--on-dark);
}
#downgrading {
	scroll-margin-top: 76px;
}

/* ============ Final CTA ============ */
.cta-band {
	padding: 0 0 clamp(50px, 8vw, 90px);
}
.cta-band__inner {
	background: var(--dark);
	border-radius: 28px;
	padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 60px);
	text-align: center;
}
.cta-band h2 {
	font-weight: 700;
	font-size: clamp(26px, 3.6vw, 38px);
	color: var(--on-dark);
	margin: 0 0 14px;
}
.cta-band p {
	font-size: 16px;
	color: var(--on-dark-soft);
	margin: 0 0 28px;
}

/* ============ Footer ============ */
.site-footer {
	border-top: 1px solid var(--line-strong);
}
.site-footer__row {
	padding: 36px 0;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: center;
	justify-content: space-between;
}
.site-footer__brand {
	display: flex;
	align-items: center;
	gap: 9px;
}
.site-footer__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--gold);
}
.site-footer__copyright {
	font-size: 13px;
	color: var(--faint);
	margin-left: 8px;
}
.site-footer__links {
	display: flex;
	gap: 22px;
	flex-wrap: wrap;
}
.site-footer__links a {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--ink-soft);
}
.site-footer--legal .site-footer__row {
	padding: 28px 0;
}
.site-footer--legal .site-footer__copyright {
	margin-left: 0;
}

/* ============ Checkout page ============ */
.checkout-wrap {
	display: flex;
	justify-content: center;
	padding-top: clamp(40px, 8vw, 88px);
	padding-bottom: 80px;
}
.card--checkout {
	width: 100%;
	max-width: 520px;
	background: var(--surface);
	border: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.card--checkout .card__art {
	width: 120px;
	margin-bottom: 22px;
}
.card--checkout h1 {
	font-weight: 800;
	font-size: clamp(28px, 4vw, 36px);
	line-height: 1.1;
	margin: 0 0 12px;
}
.card--checkout p {
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink-soft);
	max-width: 380px;
}
.checkout-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 30px;
}
.checkout-actions:empty {
	display: none;
}

/* ============ Legal pages ============ */
.legal-main {
	max-width: 720px;
	margin: 0 auto;
	padding: clamp(40px, 7vw, 72px) clamp(20px, 4vw, 40px) 100px;
}
.legal-main .eyebrow--label {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gold-deep);
	margin-bottom: 10px;
}
.legal-main h1 {
	font-weight: 800;
	font-size: clamp(30px, 4vw, 42px);
	margin: 0 0 8px;
}
.legal-updated {
	font-size: 14px;
	color: var(--faint);
	margin: 0 0 40px;
}
.legal-body {
	display: flex;
	flex-direction: column;
	gap: 34px;
	font-size: 15.5px;
	line-height: 1.7;
	color: #3a352d;
}
.legal-body h2 {
	font-weight: 700;
	font-size: 19px;
	margin: 0 0 10px;
}
.legal-body p {
	margin: 0;
}
.legal-perk-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 12px;
}
.legal-perk {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 14px 16px;
}
.legal-perk svg {
	flex-shrink: 0;
	margin-top: 3px;
	stroke: #8a6a2e;
}
.legal-body section {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.legal-body section > h2 {
	margin-bottom: 0;
}
.legal-body h3 {
	font-weight: 700;
	font-size: 16px;
	margin: 10px 0 -2px;
}
.legal-body ul {
	margin: 0;
	padding-left: 22px;
}
.legal-body li {
	margin-bottom: 6px;
}
.legal-body li:last-child {
	margin-bottom: 0;
}
.legal-body a {
	text-decoration: underline;
	text-underline-offset: 2px;
}
.legal-body strong {
	font-weight: 700;
	color: var(--ink-strong);
}
.legal-body .legal-perk-list {
	margin-bottom: 0;
}

/* ============ Section eyebrow label (marketing sections) ============ */
.eyebrow--label {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gold-deep);
	margin-bottom: 10px;
}

/* ============ Anchor targets under sticky header ============ */
#features,
#pricing,
#faq {
	scroll-margin-top: 76px;
}

/* ============ Responsive ============ */
@media (max-width: 640px) {
	.hero-copy {
		text-align: center;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.hero-copy__lede {
		max-width: none;
	}
	.feature-card {
		text-align: center;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.feature-icon {
		margin-left: auto;
		margin-right: auto;
	}
}
