/*
	Payday Plan :: Site
	---------------------------------------
	One stylesheet for the marketing site and the blog.  Tokens first,
	then base, then components in the order the pages use them.
	---------------------------------------*/



/*	Tokens
---------------------------------------*/
:root{

	--ledger:		#15161c;			/*	Background — the night-before-payday blue-black.  */
	--ledger-2:		#1b1d25;
	--ledger-3:		#232631;
	--edge:			#2b2e3a;
	--paper:		#f4f1e9;			/*	Ink on dark; the background of light panels.  */
	--paper-soft:	#b6b2a7;
	--paper-faint:	#827e74;
	--gold:			#f2b43c;			/*	Payday gold — the one accent.  */
	--gold-deep:	#c98a12;
	--gold-soft:	rgba(242, 180, 60, .14);
	--paid:			#4fd08f;
	--paid-soft:	rgba(79, 208, 143, .14);
	--late:			#f06b5a;

	--radius:		18px;
	--radius-sm:	12px;
	--gutter:		clamp(16px, 4vw, 32px);
	--max:			1160px;
	--prose:		700px;

	--font:			'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mono:			'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

	color-scheme: dark;

}



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

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

body{
	margin: 0;
	background: var(--ledger);
	color: var(--paper);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	font-feature-settings: 'ss01', 'tnum';
	overflow-x: hidden;
}

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

a{ color: inherit; text-decoration-color: rgba(242, 180, 60, .5); text-underline-offset: 3px; }
a:hover{ text-decoration-color: var(--gold); }

h1, h2, h3, h4{ margin: 0; line-height: 1.12; letter-spacing: -.025em; font-weight: 650; text-wrap: balance; }

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

:focus-visible{ outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

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

.skip{ position: absolute; left: -999px; top: 8px; z-index: 50; padding: 8px 12px; background: var(--gold); color: var(--ledger); border-radius: 8px; }
.skip:focus{ left: 8px; }

.eyebrow{ font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }

.lede{ font-size: clamp(18px, 2.1vw, 21px); color: var(--paper-soft); max-width: 640px; }

.gold{ color: var(--gold); }
.muted{ color: var(--paper-soft); }

.sr{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }



/*	Buttons
---------------------------------------*/
.btn{
	display: inline-flex; align-items: center; gap: 8px;
	min-height: 46px; padding: 0 20px;
	border: 1px solid var(--edge); border-radius: 999px;
	background: var(--ledger-2); color: var(--paper);
	font: 600 15px/1 var(--font); text-decoration: none;
	transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{ border-color: var(--paper-faint); transform: translateY(-1px); }
.btn.primary{ background: var(--gold); border-color: var(--gold); color: var(--ledger); box-shadow: 0 8px 30px rgba(242, 180, 60, .25); }
.btn.primary:hover{ background: #f6c35e; }
.btn.small{ min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn .arrow{ transition: transform .15s ease; }
.btn:hover .arrow{ transform: translateX(3px); }



/*	Header
---------------------------------------*/
.site-head{
	position: sticky; top: 0; z-index: 20;
	background: rgba(21, 22, 28, .82);
	backdrop-filter: saturate(1.4) blur(14px);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid rgba(43, 46, 58, .6);
}
.site-head .wrap{ display: flex; align-items: center; gap: 24px; min-height: 68px; }

.brand{ display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 19px; letter-spacing: -.025em; }
.brand img{ width: 32px; height: 32px; }
.brand b{ color: var(--gold); font-weight: 650; }

.nav{ display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a{ padding: 8px 12px; border-radius: 999px; color: var(--paper-soft); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a.on{ color: var(--paper); background: var(--ledger-2); }
.nav .btn{ margin-left: 8px; color: var(--ledger); }

.menu-toggle{ display: none; margin-left: auto; background: none; border: 1px solid var(--edge); color: var(--paper); border-radius: 10px; width: 42px; height: 42px; font-size: 20px; }

@media (max-width: 860px){
	.menu-toggle{ display: inline-grid; place-items: center; }
	.nav{ position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 20px; background: var(--ledger); border-bottom: 1px solid var(--edge); display: none; }
	.nav.open{ display: flex; }
	.nav a{ padding: 12px; }
	.nav .btn{ margin: 8px 0 0; justify-content: center; }
}



/*	Hero
---------------------------------------*/
.hero{ position: relative; padding: clamp(56px, 9vw, 112px) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.hero::before{
	content: ''; position: absolute; inset: -40% -10% auto; height: 120%;
	background: radial-gradient(closest-side, rgba(242, 180, 60, .16), transparent 70%);
	pointer-events: none;
}
.hero .wrap{ position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1{ font-size: clamp(40px, 6.4vw, 72px); letter-spacing: -.035em; }
.hero h1 em{ font-style: normal; color: var(--gold); }
.hero .lede{ margin-top: 22px; }
.hero .ctas{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .fine{ margin-top: 18px; font-size: 14px; color: var(--paper-faint); }

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



/*	Product mock-ups (HTML, so they stay crisp and honest)
---------------------------------------*/
.device{
	position: relative;
	background: linear-gradient(180deg, var(--ledger-2), var(--ledger));
	border: 1px solid var(--edge);
	border-radius: 26px;
	padding: 18px;
	box-shadow: 0 40px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .02) inset;
}
.device .bar{ display: flex; gap: 6px; margin-bottom: 14px; }
.device .bar i{ width: 10px; height: 10px; border-radius: 50%; background: var(--edge); }

.card{ background: var(--ledger-3); border: 1px solid var(--edge); border-radius: var(--radius-sm); padding: 14px 16px; }
.card + .card{ margin-top: 10px; }

.free{ display: flex; align-items: center; gap: 16px; }
.free .amount{ font-size: 34px; font-weight: 700; letter-spacing: -.03em; color: var(--paid); font-variant-numeric: tabular-nums; }
.free .label{ font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--paper-faint); }
.free .sub{ font-size: 13px; color: var(--paper-soft); }

.bills{ list-style: none; margin: 0; padding: 0; }
.bills li{ display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 10px 2px; border-top: 1px solid var(--edge); font-size: 15px; }
.bills li:first-child{ border-top: 0; }
.bills .tick{ width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--paper-faint); display: grid; place-items: center; }
.bills .paid .tick{ background: var(--paid); border-color: var(--paid); }
.bills .paid .tick::after{ content: ''; width: 9px; height: 5px; border: 2.5px solid var(--ledger); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.bills .paid .name{ color: var(--paper-faint); }
.bills .paid .name s{ text-decoration-color: rgba(130, 126, 116, .6); }
.bills .meta{ display: block; font-size: 12px; color: var(--paper-faint); }
.bills .amt{ font-variant-numeric: tabular-nums; font-weight: 600; }
.chip{ display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; background: var(--gold-soft); color: var(--gold); }
.chip.paid{ background: var(--paid-soft); color: var(--paid); }

.typed{ font-family: var(--mono); font-size: 14px; line-height: 1.55; color: var(--paper); background: var(--ledger); border: 1px solid var(--edge); border-radius: var(--radius-sm); padding: 14px 16px; }
.typed .caret{ display: inline-block; width: 8px; height: 17px; vertical-align: -3px; background: var(--gold); animation: blink 1s steps(1) infinite; }
@keyframes blink{ 50%{ opacity: 0; } }

.proposal{ display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; }
.proposal .box{ width: 20px; height: 20px; border-radius: 6px; background: var(--gold); margin-top: 2px; position: relative; }
.proposal .box::after{ content: ''; position: absolute; left: 6px; top: 3px; width: 6px; height: 10px; border: solid var(--ledger); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.proposal strong{ display: block; }
.proposal span{ color: var(--paper-soft); }

@media (prefers-reduced-motion: reduce){ .typed .caret{ animation: none; } html{ scroll-behavior: auto; } }



/*	Sections
---------------------------------------*/
.section{ padding: clamp(64px, 9vw, 120px) 0; }
.section.tight{ padding: clamp(40px, 6vw, 72px) 0; }
.section.alt{ background: var(--ledger-2); border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); }
.section-head{ max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2{ font-size: clamp(30px, 4.4vw, 48px); margin-top: 10px; }
.section-head p{ margin-top: 16px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede{ margin-left: auto; margin-right: auto; }

.split{ display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.flip > :first-child{ order: 2; }
@media (max-width: 900px){ .split{ grid-template-columns: 1fr; } .split.flip > :first-child{ order: 0; } }

.points{ list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.points li{ display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--paper-soft); }
.points li::before{ content: ''; width: 18px; height: 18px; margin-top: 4px; border-radius: 6px; background: var(--gold-soft); box-shadow: inset 0 0 0 1.5px var(--gold); }
.points strong{ color: var(--paper); font-weight: 600; }



/*	Feature grid
---------------------------------------*/
.grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px){ .grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px){ .grid{ grid-template-columns: 1fr; } }

.tile{
	display: flex; flex-direction: column; gap: 10px;
	padding: 24px; border-radius: var(--radius);
	background: var(--ledger-2); border: 1px solid var(--edge);
	text-decoration: none; transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.tile:hover{ transform: translateY(-3px); border-color: rgba(242, 180, 60, .45); background: var(--ledger-3); }
.tile .ico{ width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); }
.tile .ico svg{ width: 22px; height: 22px; }
.tile h3{ font-size: 20px; }
.tile p{ color: var(--paper-soft); font-size: 15px; }
.tile .more{ margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--gold); }



/*	Steps
---------------------------------------*/
.steps{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 860px){ .steps{ grid-template-columns: 1fr; } }
.step{ padding: 28px; border-radius: var(--radius); border: 1px solid var(--edge); background: var(--ledger); counter-increment: step; }
.step::before{ content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--ledger); font-weight: 700; margin-bottom: 18px; }
.step h3{ font-size: 21px; }
.step p{ margin-top: 10px; color: var(--paper-soft); font-size: 15px; }



/*	Cascade visual (debt section)
---------------------------------------*/
.cascade{ display: grid; gap: 10px; }
.debt{ display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--ledger-3); border: 1px solid var(--edge); }
.debt .name{ font-weight: 600; }
.debt .when{ font-size: 13px; color: var(--paper-faint); }
.debt .track{ grid-column: 1 / -1; height: 8px; border-radius: 99px; background: var(--edge); overflow: hidden; }
.debt .track i{ display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--gold-deep), var(--gold)); border-radius: inherit; }
.debt.cleared .track i{ background: var(--paid); }
.freed{ padding: 14px 16px; border-radius: var(--radius-sm); border: 1px dashed var(--gold); background: var(--gold-soft); font-size: 15px; }
.freed strong{ color: var(--gold); }



/*	Quote-free proof: principles band
---------------------------------------*/
.principles{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--edge); border: 1px solid var(--edge); border-radius: var(--radius); overflow: hidden; }
.principles div{ background: var(--ledger); padding: 26px; }
.principles h3{ font-size: 17px; }
.principles p{ margin-top: 8px; font-size: 14px; color: var(--paper-soft); }
@media (max-width: 900px){ .principles{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .principles{ grid-template-columns: 1fr; } }



/*	Posts
---------------------------------------*/
.posts{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px){ .posts{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px){ .posts{ grid-template-columns: 1fr; } }

.post-card{ display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius); background: var(--ledger-2); border: 1px solid var(--edge); text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.post-card:hover{ transform: translateY(-3px); border-color: rgba(242, 180, 60, .45); }
.post-card h3{ font-size: 21px; }
.post-card p{ color: var(--paper-soft); font-size: 15px; }
.post-card .meta{ margin-top: auto; padding-top: 8px; font-size: 13px; color: var(--paper-faint); }

.post-card.featured{ grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; padding: clamp(24px, 4vw, 44px); background: radial-gradient(120% 140% at 100% 0%, rgba(242, 180, 60, .14), transparent 55%), var(--ledger-2); }
.post-card.featured h3{ font-size: clamp(26px, 3.4vw, 38px); }
.post-card.featured .art{ aspect-ratio: 16 / 10; border-radius: var(--radius-sm); background: var(--ledger); border: 1px solid var(--edge); display: grid; place-items: center; overflow: hidden; }
@media (max-width: 760px){ .post-card.featured{ grid-template-columns: 1fr; } }

.cat{ display: inline-block; align-self: flex-start; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--gold-soft); color: var(--gold); text-decoration: none; }

.filters{ display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters a{ padding: 8px 14px; border-radius: 999px; border: 1px solid var(--edge); text-decoration: none; font-size: 14px; color: var(--paper-soft); }
.filters a.on, .filters a:hover{ color: var(--ledger); background: var(--gold); border-color: var(--gold); }



/*	Article / prose
---------------------------------------*/
.article-head{ padding: clamp(48px, 7vw, 96px) 0 clamp(24px, 4vw, 40px); }
.article-head .wrap{ max-width: calc(var(--prose) + 2 * var(--gutter)); }
.article-head h1{ font-size: clamp(34px, 5.4vw, 56px); margin-top: 14px; letter-spacing: -.03em; }
.article-head .lede{ margin-top: 18px; }
.article-head .meta{ margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--paper-faint); }
.crumbs{ font-size: 14px; color: var(--paper-faint); }
.crumbs a{ color: var(--paper-soft); text-decoration: none; }
.crumbs a:hover{ color: var(--gold); }

.prose{ max-width: var(--prose); margin: 0 auto; padding: 0 var(--gutter) clamp(56px, 8vw, 96px); box-sizing: content-box; font-size: 18px; line-height: 1.72; color: #e6e2d8; }
.prose > * + *{ margin-top: 1.1em; }
.prose h2{ margin-top: 2.1em; font-size: 28px; color: var(--paper); }
.prose h3{ margin-top: 1.8em; font-size: 21px; color: var(--paper); }
.prose h2 + *, .prose h3 + *{ margin-top: .7em; }
.prose strong{ color: var(--paper); font-weight: 600; }
.prose ul, .prose ol{ padding-left: 1.3em; }
.prose li + li{ margin-top: .45em; }
.prose li::marker{ color: var(--gold); }
.prose hr{ border: 0; border-top: 1px solid var(--edge); margin: 2.4em 0; }
.prose code{ font-family: var(--mono); font-size: .88em; padding: 2px 6px; border-radius: 6px; background: var(--ledger-3); }
.prose a{ color: var(--paper); }

.prose blockquote{ margin-left: 0; margin-right: 0; padding: 16px 20px; border-left: 3px solid var(--edge); color: var(--paper-soft); }
.prose .tip{ border: 1px solid rgba(242, 180, 60, .35); border-left: 3px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--gold-soft); color: var(--paper); }
.prose .note{ border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--ledger-2); }
.prose blockquote > * + *{ margin-top: .6em; }

.prose .example{ position: relative; margin-top: 1.4em; padding: 34px 18px 16px; border-radius: var(--radius-sm); background: var(--ledger); border: 1px solid var(--edge); font-family: var(--mono); font-size: 15px; line-height: 1.6; white-space: pre-wrap; color: var(--paper); }
.prose .example::before{ content: 'Typed into Payday Plan'; position: absolute; top: 10px; left: 18px; font: 600 11px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.prose .example.screen{ font-family: var(--font); background: var(--ledger-2); }
.prose .example.screen::before{ content: 'On screen'; color: var(--paper-faint); }
.prose pre:not(.example){ overflow-x: auto; padding: 16px; border-radius: var(--radius-sm); background: var(--ledger-2); font-size: 15px; }

.prose .shot{ margin: 1.6em 0; }
.prose .shot a{ display: block; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--edge); box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }
.prose .shot img{ width: 100%; height: auto; }
.prose .shot figcaption{ margin-top: 10px; font-size: 14px; color: var(--paper-faint); text-align: center; }
.prose .shot.phone a{ max-width: 320px; margin: 0 auto; border-radius: 28px; }
@media (min-width: 900px){ .prose .shot:not(.phone){ margin-left: -60px; margin-right: -60px; } }

.prose ol{ list-style: none; padding-left: 0; counter-reset: s; }
.prose ol > li{ position: relative; padding-left: 44px; counter-increment: s; }
.prose ol > li::before{ content: counter(s); position: absolute; left: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--ledger); font: 700 14px/28px var(--font); text-align: center; }

.prose table{ width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; display: block; overflow-x: auto; }
.prose th, .prose td{ padding: 10px 12px; border-bottom: 1px solid var(--edge); text-align: left; white-space: nowrap; }
.prose th{ font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--paper-faint); font-weight: 600; }

.toc{ max-width: var(--prose); margin: 0 auto 24px; padding: 0 var(--gutter); box-sizing: content-box; }
.toc details{ border: 1px solid var(--edge); border-radius: var(--radius-sm); padding: 14px 18px; background: var(--ledger-2); }
.toc summary{ cursor: pointer; font-weight: 600; font-size: 15px; }
.toc ol{ margin: 10px 0 0; padding-left: 1.2em; color: var(--paper-soft); font-size: 15px; }
.toc a{ text-decoration: none; }
.toc a:hover{ color: var(--gold); }

.article-foot{ max-width: var(--prose); margin: 0 auto; padding: 0 var(--gutter) 40px; box-sizing: content-box; }
.disclaimer{ font-size: 13px; color: var(--paper-faint); border-top: 1px solid var(--edge); padding-top: 18px; }



/*	Feature page
---------------------------------------*/
.feature-hero{ padding: clamp(48px, 7vw, 96px) 0 clamp(24px, 4vw, 48px); }
.feature-hero .ico{ width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); margin-bottom: 20px; }
.feature-hero .ico svg{ width: 28px; height: 28px; }
.feature-hero h1{ font-size: clamp(36px, 5.6vw, 60px); letter-spacing: -.03em; }
.feature-hero .lede{ margin-top: 18px; }

.next-prev{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: var(--prose); margin: 0 auto; padding: 0 var(--gutter) clamp(56px, 8vw, 96px); box-sizing: content-box; }
.next-prev a{ padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--edge); text-decoration: none; background: var(--ledger-2); }
.next-prev a:hover{ border-color: rgba(242, 180, 60, .45); }
.next-prev span{ display: block; font-size: 13px; color: var(--paper-faint); }
.next-prev strong{ font-weight: 600; }
.next-prev .next{ text-align: right; grid-column: 2; }
@media (max-width: 560px){ .next-prev{ grid-template-columns: 1fr; } .next-prev .next{ grid-column: 1; } }



/*	FAQ
---------------------------------------*/
.faq{ max-width: 800px; margin: 0 auto; display: grid; gap: 10px; }
.faq details{ border: 1px solid var(--edge); border-radius: var(--radius-sm); background: var(--ledger-2); padding: 18px 22px; }
.faq summary{ cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker{ display: none; }
.faq summary::after{ content: '+'; color: var(--gold); font-weight: 500; }
.faq details[open] summary::after{ content: '−'; }
.faq details p{ margin-top: 12px; color: var(--paper-soft); font-size: 16px; }



/*	CTA band
---------------------------------------*/
.cta{ position: relative; overflow: hidden; border-radius: 28px; padding: clamp(40px, 6vw, 72px); background: radial-gradient(120% 160% at 0% 0%, rgba(242, 180, 60, .22), transparent 55%), var(--ledger-2); border: 1px solid var(--edge); display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; }
.cta h2{ font-size: clamp(28px, 4vw, 44px); }
.cta p{ margin-top: 12px; color: var(--paper-soft); }
.cta .ctas{ display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px){ .cta{ grid-template-columns: 1fr; } }



/*	Brand page
---------------------------------------*/
.swatches{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px){ .swatches{ grid-template-columns: repeat(2, 1fr); } }
.swatch{ border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--edge); }
.swatch i{ display: block; height: 96px; background: var(--c); }
.swatch div{ padding: 12px 14px; background: var(--ledger-2); font-size: 14px; }
.swatch strong{ display: block; }
.swatch code{ font-family: var(--mono); color: var(--paper-faint); font-size: 13px; }

.logo-row{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px){ .logo-row{ grid-template-columns: 1fr; } }
.logo-box{ display: grid; place-items: center; min-height: 180px; border-radius: var(--radius); border: 1px solid var(--edge); background: var(--ledger-2); }
.logo-box.light{ background: var(--paper); color: var(--ledger); }
.logo-box.gold{ background: var(--gold); color: var(--ledger); }
.logo-box .brand{ font-size: 26px; }
.logo-box .brand img{ width: 44px; height: 44px; }
.logo-box.light .brand b{ color: var(--gold-deep); }
.logo-box.gold .brand b{ color: var(--ledger); }

.dos{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px){ .dos{ grid-template-columns: 1fr; } }
.dos > div{ padding: 22px; border-radius: var(--radius); border: 1px solid var(--edge); background: var(--ledger-2); }
.dos h3{ font-size: 17px; }
.dos ul{ margin: 12px 0 0; padding-left: 1.2em; color: var(--paper-soft); font-size: 15px; }
.dos li + li{ margin-top: 6px; }
.dos .yes h3{ color: var(--paid); }
.dos .no h3{ color: var(--late); }



/*	Footer
---------------------------------------*/
.site-foot{ border-top: 1px solid var(--edge); padding: 56px 0 40px; margin-top: 40px; font-size: 15px; }
.site-foot .cols{ display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 760px){ .site-foot .cols{ grid-template-columns: 1fr 1fr; } .site-foot .cols > :first-child{ grid-column: 1 / -1; } }
.site-foot h4{ font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--paper-faint); font-weight: 600; margin-bottom: 12px; }
.site-foot ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot a{ color: var(--paper-soft); text-decoration: none; }
.site-foot a:hover{ color: var(--paper); }
.site-foot .tag{ margin-top: 14px; color: var(--paper-soft); max-width: 340px; }
.site-foot .legal{ margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--edge); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--paper-faint); font-size: 13px; }



/*	Reveal on scroll (progressive: content shows without JS)
---------------------------------------*/
.js .reveal{ opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .js .reveal{ opacity: 1; transform: none; transition: none; } }



/*	Guide layout — gist first, contents rail, side-by-side steps
---------------------------------------*/
.read-progress{ position: fixed; left: 0; right: 0; top: 0; z-index: 30; height: 3px; pointer-events: none; }
.read-progress i{ display: block; height: 100%; width: var(--read, 0%); background: linear-gradient(90deg, var(--gold-deep), var(--gold)); transition: width .1s linear; }

.article-head .meta a{ color: var(--gold); text-decoration: none; }

.article-grid{ display: grid; grid-template-columns: 220px minmax(0, var(--prose)); gap: 56px; justify-content: center; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.article-grid .prose{ max-width: none; margin: 0; padding: 0 0 clamp(40px, 6vw, 72px); }
.article-grid.after .prose{ padding-top: clamp(48px, 7vw, 88px); }

.rail{ position: sticky; top: 96px; align-self: start; font-size: 14px; padding-top: 6px; }
.rail-label{ font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--paper-faint); margin-bottom: 12px; }
.rail ol{ list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--edge); }
.rail li a{ display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--paper-faint); text-decoration: none; line-height: 1.35; }
.rail li a:hover{ color: var(--paper); }
.rail li a.on{ color: var(--paper); border-left-color: var(--gold); }

.in-short{ margin-bottom: 40px; padding: 22px 24px; border-radius: var(--radius); background: radial-gradient(120% 140% at 100% 0%, rgba(242, 180, 60, .12), transparent 55%), var(--ledger-2); border: 1px solid var(--edge); }
.in-short .label{ font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.in-short ul{ margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 16px; color: var(--paper); }
.in-short li{ display: grid; grid-template-columns: 20px 1fr; gap: 10px; line-height: 1.5; }
.in-short li::before{ content: ''; width: 14px; height: 14px; margin-top: 5px; border-radius: 4px; background: var(--paid-soft); box-shadow: inset 0 0 0 1.5px var(--paid); }

@media (max-width: 1040px){
	.article-grid{ grid-template-columns: minmax(0, var(--prose)); gap: 0; }
	.rail{ display: none; }
	.article-grid > div:first-child:empty{ display: none; }
}

.walkthrough{ margin: 8px 0 0; padding: clamp(56px, 8vw, 96px) 0; background: var(--ledger-2); border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); scroll-margin-top: 70px; }
.wt-head{ max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.wt-head h2{ font-size: clamp(30px, 4vw, 44px); margin-top: 10px; }
.wt-lead{ margin-top: 14px; color: var(--paper-soft); font-size: 18px; line-height: 1.65; }
.wt-lead > * + *{ margin-top: .8em; }
.wt-lead pre.example, .wt-steps pre.example{ position: relative; margin-top: 1em; padding: 34px 18px 16px; border-radius: var(--radius-sm); background: var(--ledger); border: 1px solid var(--edge); font-family: var(--mono); font-size: 15px; white-space: pre-wrap; color: var(--paper); }
.wt-lead pre.example::before, .wt-steps pre.example::before{ content: 'Typed into Payday Plan'; position: absolute; top: 10px; left: 18px; font: 600 11px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }

.wt-steps{ font-size: 17px; line-height: 1.65; color: #e6e2d8; }
.wt-steps strong{ color: var(--paper); font-weight: 600; }
.wt-steps a{ color: var(--paper); }
.wt-steps > ol{ list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 14px; }
.wt-steps > ol > li{ position: relative; counter-increment: s; padding: 22px 24px 22px 70px; border-radius: var(--radius); background: var(--ledger); border: 1px solid var(--edge); }
.wt-steps > ol > li::before{ content: counter(s); position: absolute; left: 22px; top: 22px; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--ledger); font: 700 15px/32px var(--font); text-align: center; }
.wt-steps > ol > li > * + *{ margin-top: .7em; }
.wt-steps ul{ padding-left: 1.2em; }
.wt-steps ul li + li{ margin-top: .35em; }
.wt-steps ul li::marker{ color: var(--gold); }
.wt-steps blockquote{ margin: .8em 0 0; padding: 12px 16px; border-left: 3px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--gold-soft); }

.wt-steps .shot{ margin: 0; }
.wt-steps .shot a{ display: block; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--edge); }
.wt-steps .shot img{ width: 100%; height: auto; }
.wt-steps .shot figcaption{ margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--paper-faint); }
.wt-steps .shot.phone a{ max-width: 260px; margin: 0 auto; border-radius: 24px; }

/*	A step with a screenshot: words left, picture right. */
@media (min-width: 900px){
	.wt-steps > ol > li:has(> figure){ display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); column-gap: 32px; grid-auto-flow: row dense; align-items: start; }
	.wt-steps > ol > li:has(> figure) > *{ grid-column: 1; margin-top: 0; }
	.wt-steps > ol > li:has(> figure) > * + :not(figure){ margin-top: .7em; }
	.wt-steps > ol > li:has(> figure) > figure{ grid-column: 2; grid-row: span 6; }
	.wt-steps > ol > li:has(> figure) > figure + figure{ margin-top: 14px; }
}

@media (max-width: 600px){
	.wt-steps > ol > li{ padding: 18px 16px 18px 52px; }
	.wt-steps > ol > li::before{ left: 14px; top: 18px; width: 28px; height: 28px; font-size: 14px; line-height: 28px; }
	.wt-steps .shot{ margin-left: -36px; }
	.in-short{ padding: 18px; }
}
