/* Profilemo — marketing site
   Layout: navy structural bands carry the brand; white and mist carry the reading;
   the logo's angled cyan slash recurs as the one accent device. Product screenshots
   do the selling, so everything around them stays quiet.
   Single theme on purpose: this is a brand site, not a reading page. */

:root {
	/* Colour — drawn from the logo. Navy 17.3:1 on white, cyan 9.7:1 on navy. */
	--ink:        #011351;   /* brand navy: headings, dark bands */
	--ink-2:      #12266B;   /* navy, one step up, for layered dark panels */
	--ink-soft:   #4A5578;   /* body text on light */
	--spark:      #01D3FE;   /* cyan: fills and marks on navy only, never text on white */
	--spark-ink:  #00698F;   /* cyan family, 6.2:1 on white, for links and small accents */
	--paper:      #FFFFFF;
	--mist:       #F3F6FC;   /* light band, biased toward the navy */
	--mist-2:     #E7EDF8;
	--line:       #DCE4F2;
	--line-dark:  rgba(255, 255, 255, .16);

	/* Type */
	--display: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
	--body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1400px;
	--r: 14px;
	--shadow: 0 24px 60px -34px rgba(1, 19, 81, .55);
	--shadow-lg: 0 40px 90px -40px rgba(1, 19, 81, .6);
}

* { box-sizing: border-box; }

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4 {
	font-family: var(--display);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin: 0;
	text-wrap: balance;
}
p, ul, ol, figure, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

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

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

.skip {
	position: fixed; left: 16px; top: -60px; z-index: 200;
	padding: 10px 18px; border-radius: 8px;
	background: var(--ink); color: #fff; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- Shell ---------- */

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-left: max(20px, env(safe-area-inset-left, 0px));
	padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.band { padding-block: clamp(56px, 7vw, 92px); }
.band-mist { background: var(--mist); }
.band-ink { background: var(--ink); color: #fff; }
.band-ink h1, .band-ink h2, .band-ink h3 { color: #fff; }
.band-tight { padding-block: clamp(40px, 5vw, 64px); }

/* The angled slash from the logo mark, used as the one accent device. */
.slash {
	display: inline-block;
	width: .62em; height: 1em;
	background: var(--spark);
	clip-path: polygon(34% 0, 100% 0, 66% 100%, 0 100%);
	vertical-align: -.1em;
}

/* ---------- Type helpers ---------- */

.eyebrow {
	font-family: var(--display);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--spark-ink);
	display: flex;
	align-items: center;
	gap: 9px;
}
.eyebrow::before {
	content: "";
	width: 15px; height: 13px;
	background: currentColor;
	clip-path: polygon(34% 0, 100% 0, 66% 100%, 0 100%);
	flex: none;
}
.band-ink .eyebrow { color: var(--spark); }

.h-xl { font-size: clamp(34px, 5.4vw, 60px); }
.h-lg { font-size: clamp(28px, 3.9vw, 42px); }
.h-md { font-size: clamp(22px, 2.5vw, 28px); }
.h-sm { font-size: 20px; }

.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-soft); max-width: 58ch; }
.band-ink .lede { color: #C3CEE8; }
.muted { color: var(--ink-soft); }
.band-ink .muted { color: #A9B6D6; }

.head { display: grid; gap: 14px; max-width: 680px; margin-bottom: clamp(32px, 4vw, 48px); }
.head-center { margin-inline: auto; text-align: center; }
.head-center .eyebrow { justify-content: center; }
.head-center .lede { margin-inline: auto; }

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 52px;
	padding: 0 26px;
	border: 2px solid transparent;
	border-radius: 10px;
	font-family: var(--display);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-spark { background: var(--spark); color: var(--ink); }
.btn-ink   { background: var(--ink); color: #fff; }
.btn-ghost { border-color: var(--line); background: var(--paper); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.band-ink .btn-ghost { background: transparent; border-color: var(--line-dark); color: #fff; }
.band-ink .btn-ghost:hover { border-color: #fff; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }

.textlink {
	display: inline-flex; align-items: center; gap: 7px;
	font-weight: 600; color: var(--spark-ink); text-decoration: none;
	border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.band-ink .textlink { color: var(--spark); }
.textlink:hover { opacity: .78; }
/* An inline SVG with no width falls back to a 300px default, which pushes the
   label onto its own lines. Every icon that sits in running text gets a size. */
.textlink svg, .go svg, .btn svg { width: 19px; height: 19px; flex: none; }
.btn-sm svg { width: 17px; height: 17px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */

.site-head {
	position: sticky;
	top: env(safe-area-inset-top, 0px);
	z-index: 60;
	background: var(--ink);
	color: #fff;
}
body::before {
	content: "";
	position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
	z-index: 70; background: var(--ink);
}
.head-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 72px;
}
.brand {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--display); font-weight: 700; font-size: 21px;
	letter-spacing: -0.02em; text-decoration: none; color: #fff;
	flex: none;
}
.brand-mark {
	width: 32px; height: 32px; flex: none;
	display: grid; place-items: center;
	border-radius: 9px; background: #fff; color: var(--ink);
	font-size: 19px; font-weight: 700;
	position: relative; overflow: hidden;
}
.brand-mark::after {
	content: ""; position: absolute; left: 4px; bottom: 0;
	width: 11px; height: 17px; background: var(--spark);
	clip-path: polygon(38% 0, 100% 0, 62% 100%, 0 100%);
}
.brand em { font-style: normal; color: var(--spark); }

.nav-main ul { display: flex; align-items: center; gap: 28px; }
.nav-main a {
	font-size: 16px; font-weight: 500; text-decoration: none; color: #D4DCF0;
	padding-block: 6px;
	transition: color .18s;
}
.nav-main a:hover, .nav-main a[aria-current="page"] { color: #fff; }
.nav-main a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--spark); }

.head-actions { display: flex; align-items: center; gap: 16px; flex: none; }
.login-link { font-weight: 600; font-size: 16px; text-decoration: none; color: #fff; }
.login-link:hover { color: var(--spark); }

.menu-btn {
	display: none;
	width: 44px; height: 44px;
	border: 1px solid var(--line-dark); border-radius: 10px;
	background: none; color: #fff; cursor: pointer;
	align-items: center; justify-content: center;
}
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .ico-close { display: none; }
.menu-btn[aria-expanded="true"] .ico-open { display: none; }
.menu-btn[aria-expanded="true"] .ico-close { display: block; }

@media (max-width: 900px) {
	.menu-btn { display: inline-flex; }
	.nav-main {
		position: absolute; top: 100%; left: 0; right: 0;
		display: none;
		background: var(--ink-2);
		border-top: 1px solid var(--line-dark);
		padding: 8px max(20px, env(safe-area-inset-left, 0px)) 20px;
	}
	.nav-main.open { display: block; }
	.nav-main ul { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-main li a { display: block; padding: 14px 2px; border-bottom: 1px solid var(--line-dark); }
	.head-row { position: relative; }
	.login-link { display: none; }
	.nav-login { display: block !important; }
}
.nav-login { display: none; }

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

.hero {
	background: var(--ink);
	color: #fff;
	position: relative;
	overflow: hidden;
	padding-block: clamp(52px, 6.5vw, 86px) clamp(60px, 7vw, 100px);
}
.hero::after {
	content: "";
	position: absolute; right: -8%; top: -30%;
	width: 52%; height: 150%;
	background: radial-gradient(closest-side, rgba(1, 211, 254, .13), transparent 72%);
	pointer-events: none;
}
.hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(36px, 5vw, 64px);
	align-items: center;
}
.hero-copy { display: grid; gap: 20px; justify-items: start; }
.hero h1 { font-size: clamp(36px, 5.2vw, 58px); }
.hero h1 u { text-decoration: none; color: var(--spark); }
.hero .lede { font-size: clamp(17px, 1.7vw, 20px); }

.badge-row { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 5px 13px; border-radius: 999px;
	background: rgba(255, 255, 255, .09);
	border: 1px solid var(--line-dark);
	font-size: 14px; font-weight: 500; color: #D8E1F5;
}
.badge b { color: var(--spark); font-weight: 600; }

/* The URL claim: the product promise, stated as the thing you type. */
.claim {
	display: flex; align-items: center;
	width: 100%; max-width: 470px;
	background: #fff; border-radius: 12px;
	padding: 7px 7px 7px 16px;
	gap: 6px;
	box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .6);
}
.claim-pre {
	font-family: var(--display); font-weight: 600; font-size: 16px;
	color: var(--ink-soft); flex: none; letter-spacing: -0.01em;
}
.claim input {
	flex: 1; min-width: 0;
	border: 0; outline: none; background: none;
	font-family: var(--display); font-size: 16px; font-weight: 600; color: var(--ink);
	padding: 10px 0;
}
.claim input::placeholder { color: #9AA6C4; font-weight: 500; }
.claim .btn { min-height: 44px; padding: 0 18px; }

@media (max-width: 460px) {
	.claim { flex-wrap: wrap; max-width: none; padding: 10px 10px 10px 14px; row-gap: 10px; }
	.claim input { flex: 1 1 110px; }
	.claim .btn { flex: 1 1 100%; }
}

/* The hero sits on navy, so it takes the dark-band text colours. */
.hero .eyebrow { color: var(--spark); }
.hero .lede { color: #C3CEE8; }
.hero .muted { color: #A9B6D6; }
.hero .textlink { color: var(--spark); }
.hero .btn-ghost { background: transparent; border-color: var(--line-dark); color: #fff; }
.hero .btn-ghost:hover { border-color: #fff; }

.hero-note { font-size: 15px; color: #A9B6D6; }
.hero-note b { color: #fff; font-weight: 600; }

/* The product, shown as two real screens */
.hero-shots { position: relative; min-height: 320px; }
.hero-shots img { border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.1); }
.shot-back {
	width: 88%;
	transform: rotate(-2.2deg);
}
.shot-front {
	position: absolute;
	right: -2%; bottom: -12%;
	width: 62%;
	transform: rotate(2.4deg);
}

@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-shots { min-height: 0; margin-top: 8px; }
	.shot-front { position: static; width: 100%; transform: none; margin-top: 14px; }
	.shot-back { width: 100%; transform: none; }
}

/* ---------- Cards and grids ---------- */

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
/* Exactly three across, so six cards read as two rows rather than an orphan. */
.grid-fix3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-fix3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-fix3 { grid-template-columns: minmax(0, 1fr); } }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
/* Exactly four across, so twelve designs read as three even rows. */
.grid-fix4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid-fix4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px)  { .grid-fix4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .grid-fix4 { grid-template-columns: minmax(0, 1fr); } }

.card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 26px;
	display: flex; flex-direction: column; gap: 10px;
	min-width: 0;
}
.band-mist .card { background: var(--paper); }
.band-ink .card {
	background: var(--ink-2);
	border-color: var(--line-dark);
}
.card h3 { font-size: 20px; }
.card p { color: var(--ink-soft); font-size: 16px; }
.band-ink .card p { color: #B6C2DE; }

.card-link {
	text-decoration: none;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card-link:hover {
	transform: translateY(-3px);
	border-color: #B9C8E6;
	box-shadow: var(--shadow);
}

.icon-tile {
	width: 46px; height: 46px; flex: none;
	display: grid; place-items: center;
	border-radius: 11px;
	background: var(--mist-2); color: var(--ink);
	margin-bottom: 4px;
}
.icon-tile svg { width: 23px; height: 23px; }
.band-ink .icon-tile { background: rgba(1, 211, 254, .16); color: var(--spark); }

/* Role cards */
.role-card { position: relative; }
.role-card .go {
	margin-top: auto; padding-top: 14px;
	font-family: var(--display); font-weight: 600; font-size: 15px;
	color: var(--spark-ink);
	display: inline-flex; align-items: center; gap: 6px;
}
.role-card:hover .go { gap: 10px; }
.role-pic {
	aspect-ratio: 4 / 3;
	border-radius: 10px;
	overflow: hidden;
	background: var(--mist-2);
	margin: -4px -4px 12px;
}
.role-pic img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* Template gallery */
.tpl {
	display: flex; flex-direction: column;
	border: 1px solid var(--line); border-radius: var(--r);
	overflow: hidden; background: var(--paper);
	transition: transform .2s ease, box-shadow .2s ease;
	min-width: 0;
}
.tpl:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tpl-pic { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist-2); border-bottom: 1px solid var(--line); }
.tpl-pic img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.tpl-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.tpl-body h3 { font-size: 18px; }
.tpl-body p { font-size: 15px; color: var(--ink-soft); }
.tpl-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag {
	font-size: 13px; font-weight: 500;
	padding: 3px 11px; border-radius: 999px;
	background: var(--mist); color: var(--ink-soft);
	border: 1px solid var(--line);
}

/* Numbered steps — a real sequence, so the numbers mean something */
.steps { counter-reset: s; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.step { counter-increment: s; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.step::before {
	content: counter(s, decimal-leading-zero);
	font-family: var(--display); font-weight: 700; font-size: 15px;
	color: var(--spark-ink);
	letter-spacing: .08em;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--line);
}
.band-ink .step::before { color: var(--spark); border-bottom-color: var(--line-dark); }
.step h3 { font-size: 19px; }
.step p { color: var(--ink-soft); font-size: 16px; }
.band-ink .step p { color: #B6C2DE; }

/* Checklist */
.checks { display: grid; gap: 11px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; font-size: 16px; }
.checks svg { width: 21px; height: 21px; flex: none; color: var(--spark-ink); margin-top: 2px; }
.band-ink .checks svg { color: var(--spark); }
/* These are problems, not features, so they do not get a tick. */
.pains svg { color: #B03A12; }

/* Pricing */
.price-card {
	border: 2px solid var(--ink);
	border-radius: 18px;
	padding: 32px;
	background: var(--paper);
	display: flex; flex-direction: column; gap: 16px;
	max-width: 440px;
	box-shadow: var(--shadow);
}
.price-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-amt { font-family: var(--display); font-size: 46px; font-weight: 700; letter-spacing: -0.03em; }
.price-per { color: var(--ink-soft); font-size: 16px; }
.price-free {
	display: inline-flex; align-items: center; gap: 8px;
	align-self: flex-start;
	padding: 6px 14px; border-radius: 999px;
	background: var(--ink); color: #fff;
	font-family: var(--display); font-weight: 600; font-size: 14px;
}
.price-free .slash { height: .85em; }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 760px; }
.head-center + .faq { margin-inline: auto; }
.faq details {
	border-bottom: 1px solid var(--line);
	padding: 4px 0;
}
.faq summary {
	cursor: pointer; list-style: none;
	padding: 18px 36px 18px 0;
	font-family: var(--display); font-weight: 600; font-size: 18px;
	position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: ""; position: absolute; right: 6px; top: 50%;
	width: 11px; height: 11px; margin-top: -7px;
	border-right: 2px solid var(--spark-ink); border-bottom: 2px solid var(--spark-ink);
	transform: rotate(45deg);
	transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq p { padding: 0 8px 20px 0; color: var(--ink-soft); font-size: 16px; max-width: 62ch; }

/* Split section: text one side, picture the other */
.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(30px, 4.5vw, 56px);
	align-items: center;
}
.split-flip .split-pic { order: -1; }
.split-pic img { border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line); }
@media (max-width: 860px) {
	.split { grid-template-columns: 1fr; }
	.split-flip .split-pic { order: 0; }
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 22px; }
.stat b { display: block; font-family: var(--display); font-size: 34px; font-weight: 700; letter-spacing: -0.02em; }
.stat span { color: var(--ink-soft); font-size: 15px; }
.band-ink .stat span { color: #A9B6D6; }

/* ---------- Account pages ---------- */

.auth {
	min-height: 100%;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
}
.auth-form {
	padding: clamp(40px, 6vw, 72px) 0;
	display: flex; align-items: center;
}
/* Each half centres its own content, so the two columns meet in the middle
   instead of clinging to the outer edges of a wide screen. */
.auth-form > .wrap, .auth-side > .wrap { max-width: none; display: flex; justify-content: center; }
.auth-inner { width: 100%; max-width: 440px; display: grid; gap: 20px; }
.auth-side {
	background: var(--ink); color: #fff;
	padding: clamp(36px, 5vw, 64px) 0;
	display: flex; align-items: center;
	position: relative; overflow: hidden;
}
.auth-side > .wrap { position: relative; z-index: 1; }
.auth-side::before {
	content: ""; position: absolute; inset: auto -10% -35% -10%; height: 70%;
	background: radial-gradient(60% 100% at 50% 100%, rgba(1, 211, 254, .22), transparent 70%);
	pointer-events: none;
}
.auth-art {
	width: 100%; max-width: 440px; display: grid; gap: 26px;
}
.auth-art img {
	width: 100%; border-radius: 14px; display: block;
	border: 1px solid var(--line-dark);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .34);
}
@media (max-width: 880px) {
	.auth { grid-template-columns: 1fr; }
	.auth-side { order: -1; padding-block: 36px; }
}

.field { display: grid; gap: 7px; }
.field label { font-family: var(--display); font-weight: 600; font-size: 15px; }
.field input, .field select {
	width: 100%;
	min-height: 52px;
	padding: 12px 15px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--paper);
	font: inherit;
	font-size: 16px;
	color: var(--ink);
}
.field input:focus { outline: none; border-color: var(--spark-ink); box-shadow: 0 0 0 3px rgba(0, 105, 143, .14); }
.field .hint { font-size: 14px; color: var(--ink-soft); }
.field-url { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.field-url span { padding: 0 2px 0 14px; color: var(--ink-soft); font-size: 15px; white-space: nowrap; }
.field-url input { border: 0; border-radius: 0; }
.field-url input:focus { box-shadow: none; }

.code-row { display: flex; gap: 10px; }
.code-row input {
	width: 100%; max-width: 64px; text-align: center;
	font-family: var(--display); font-size: 24px; font-weight: 700;
	min-height: 62px; padding: 0;
}

.divider { display: flex; align-items: center; gap: 14px; color: var(--ink-soft); font-size: 14px; }
.divider::before, .divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }

.notice {
	display: flex; gap: 12px;
	padding: 16px 18px; border-radius: 12px;
	background: var(--mist); border: 1px solid var(--line);
	font-size: 15px; color: var(--ink-soft);
}
.notice svg { width: 20px; height: 20px; flex: none; color: var(--spark-ink); margin-top: 2px; }
.notice b { color: var(--ink); }
.notice-warn { background: #FFF6E8; border-color: #F2DDB8; }
.notice-warn svg { color: #9A6400; }

/* GCash panel */
.pay-grid { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(26px, 4vw, 44px); align-items: start; }
@media (max-width: 760px) { .pay-grid { grid-template-columns: 1fr; } }
.qr {
	border: 1px solid var(--line); border-radius: var(--r);
	padding: 20px; background: var(--paper); text-align: center;
	display: grid; gap: 12px; justify-items: center;
}
.qr-box {
	width: 100%; max-width: 240px; aspect-ratio: 1;
	background: var(--mist); border-radius: 10px;
	display: grid; place-items: center; color: var(--ink-soft);
	font-size: 14px; text-align: center; padding: 18px;
	border: 1px dashed var(--line);
}
.ref {
	font-family: var(--display); font-weight: 700; font-size: 26px;
	letter-spacing: .06em;
	padding: 14px 20px; border-radius: 12px;
	background: var(--ink); color: #fff;
	display: inline-flex; align-items: center; gap: 12px;
}
.ref button {
	border: 1px solid var(--line-dark); background: none; color: #fff;
	border-radius: 8px; padding: 6px 12px; cursor: pointer;
	font: inherit; font-size: 14px; font-weight: 600;
}
.ref button:hover { background: rgba(255,255,255,.12); }

/* ---------- Footer ---------- */

.site-foot { background: var(--ink); color: #B6C2DE; padding-block: 52px 32px; font-size: 15px; }
.foot-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
	gap: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 { font-size: 15px; color: #fff; margin-bottom: 12px; letter-spacing: 0; }
.foot-grid ul { display: grid; gap: 9px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: #fff; }
.foot-end {
	display: flex; flex-wrap: wrap; gap: 10px 24px;
	justify-content: space-between; padding-top: 24px;
	font-size: 14px;
}
.foot-note { max-width: 34ch; margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------------------------------------------------------------- prose pages */

.prose { max-width: 70ch; }
.prose h2 {
	font-family: var(--display); font-size: 25px; font-weight: 600;
	letter-spacing: -0.015em; margin: 38px 0 12px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--display); font-size: 19px; font-weight: 600; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 17px; line-height: 1.65; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 7px; }
.prose li::marker { color: var(--spark-ink); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose > :last-child { margin-bottom: 0; }

.toc {
	background: var(--mist); border: 1px solid var(--line); border-radius: 14px;
	padding: 20px 22px; display: grid; gap: 8px; margin-bottom: 34px;
}
.toc p { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 16px; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.toc a { color: var(--spark-ink); font-size: 16px; }

.posts { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.post { background: var(--paper); padding: 26px 4px; display: grid; gap: 8px; }
.post-meta { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.post h2 { font-family: var(--display); font-size: 23px; font-weight: 600; letter-spacing: -0.015em; }
.post h2 a { color: var(--ink); }
.post h2 a:hover { color: var(--spark-ink); }
.post p { color: var(--ink-soft); font-size: 17px; max-width: 68ch; }

.help-group { display: grid; gap: 14px; margin-bottom: 40px; min-width: 0; }
.help-group > h2 {
	font-family: var(--display); font-size: 15px; font-weight: 600; text-transform: uppercase;
	letter-spacing: 0.1em; color: var(--spark-ink);
	padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.help-group:last-child { margin-bottom: 0; }

@media (max-width: 760px) {
	.prose h2 { font-size: 22px; }
	.prose p, .prose li { font-size: 16px; }
	.post h2 { font-size: 20px; }
}

/* ---------------------------------------------------------------- very small phones */

@media (max-width: 380px) {
	.wrap { padding-left: max(14px, env(safe-area-inset-left, 0px)); padding-right: max(14px, env(safe-area-inset-right, 0px)); }
	.head-row { gap: 10px; }
	.head-actions { gap: 8px; }
	.brand { font-size: 18px; }
	.brand-mark { width: 26px; height: 26px; font-size: 15px; }
	.btn-sm { padding: 0 13px; font-size: 14px; }
	.menu-btn { margin-right: -6px; }
}

/* ---------------------------------------------------------------- showcase */

.showcase {
	margin: 0 0 30px;
	border-radius: 18px;
	overflow: hidden;
	background: var(--mist);
	border: 1px solid var(--line);
	box-shadow: 0 30px 70px -40px rgba(1, 19, 81, .55);
}
.showcase img { width: 100%; display: block; }

/* The add-on card sits on the mist band, so it needs its own ground. */
.price-card-alt { background: var(--paper); }
