/*
Theme Name: textgf
Theme URI: https://textgf.com
Author: Warby Prep LLC
Description: Custom theme for textgf, a subscription service for texting a real, U.S.-based person. Activating it creates every page, sets the homepage, and adds sign-up forms that hand off to Stripe Payment Links. Settings live under Appearance → Customize → textgf settings.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: textgf
*/

/* ---------- Tokens ---------- */
:root {
	--ink: #1B2420;
	--ink-2: #27322D;
	--sage: #2F7D5B;
	--sage-dark: #235E45;
	--sage-bright: #3E9C72;
	--mint: #6CC49A;
	--mint-soft: #DDEFE5;
	--sun: #F2C14E;
	--sun-soft: #FBEBC0;
	--paper: #F4F1EA;
	--paper-2: #E9E4D8;
	--white: #FFFFFF;
	--line: #DDD7CA;
	--muted: #4A5751;
	--muted-2: #6B756F;
	--danger: #A3352B;

	--font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
	--font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius-sm: 12px;
	--radius: 20px;
	--radius-lg: 28px;
	--shadow: 0 1px 2px rgba(27, 36, 32, .06), 0 8px 24px rgba(27, 36, 32, .06);
	--wrap: 1200px;
	--gutter: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
html { overflow-x: clip; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--sage-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 {
	font-family: var(--font-display);
	line-height: 1.08;
	letter-spacing: -0.025em;
	margin: 0 0 .5em;
	font-weight: 800;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.4rem; letter-spacing: -0.015em; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto;
	position: fixed; top: 12px; left: 12px; z-index: 1000;
	background: var(--white); color: var(--ink); padding: 12px 18px; border-radius: 10px;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-white { background: var(--white); }
.section-paper-2 { background: var(--paper-2); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-ink h2, .section-ink h3 { color: var(--paper); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
	display: inline-block;
	font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--sage-dark); margin-bottom: 14px;
}
.section-ink .eyebrow { color: var(--sun); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.section-ink .lead { color: #C9D3CD; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px;
	border-radius: 999px; border: 2px solid transparent;
	font-family: var(--font-body); font-weight: 700; font-size: 16px; line-height: 1;
	text-decoration: none; cursor: pointer;
	transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--sage); color: var(--white); }
.btn-primary:hover { background: var(--sage-dark); color: var(--white); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #E8B230; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.section-ink .btn-ghost, .btn-ghost-light { color: var(--paper); border-color: rgba(244, 241, 234, .5); }
.section-ink .btn-ghost:hover, .btn-ghost-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { font-weight: 700; text-decoration: none; color: var(--sage-dark); }
.text-link:hover { text-decoration: underline; color: var(--ink); }
.section-ink .text-link { color: var(--mint); }

/* ---------- Announcement bar ---------- */
.announce { background: var(--ink); color: var(--paper); font-size: 14px; }
.announce .wrap { display: flex; justify-content: center; align-items: center; gap: 14px; min-height: 42px; text-align: center; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.announce strong { color: var(--sun); font-weight: 700; }
.announce a { color: var(--mint); font-weight: 700; text-decoration: none; }
.announce a:hover { color: var(--paper); text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(244, 241, 234, .94);
	backdrop-filter: saturate(1.2) blur(8px);
	-webkit-backdrop-filter: saturate(1.2) blur(8px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(27, 36, 32, .05); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -0.04em; line-height: 1; }
.brand-word span { color: var(--sage); }
.brand-light { color: var(--paper); }
.brand-light:hover { color: var(--paper); }
.brand-light .brand-word span { color: var(--mint); }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-list a, .nav-list .nav-parent {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 14px; border-radius: 999px;
	font-weight: 600; font-size: 16px; color: var(--ink); text-decoration: none;
	background: none; border: 0; cursor: pointer; font-family: inherit; line-height: 1.2;
}
.nav-list a:hover, .nav-list .nav-parent:hover, .nav-list .current > a { background: var(--paper-2); color: var(--ink); }
.nav-parent svg { width: 12px; height: 12px; transition: transform .15s ease; }
.nav-list .has-sub:hover .nav-parent svg, .nav-list .has-sub.is-open .nav-parent svg { transform: rotate(180deg); }
.sub-menu {
	list-style: none; margin: 0; padding: 10px;
	position: absolute; top: calc(100% + 6px); left: -8px; min-width: 260px;
	background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.sub-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu, .has-sub.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border-radius: 12px; width: 100%; }
.sub-menu a small { font-weight: 500; font-size: 13px; color: var(--muted); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
	display: none; width: 48px; height: 48px; border-radius: 999px;
	border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer;
	align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1080px) {
	.nav-toggle { display: inline-flex; }
	.primary-nav {
		position: fixed; inset: 0 0 0 auto; width: min(92vw, 400px); visibility: hidden;
		background: var(--paper); flex-direction: column; align-items: stretch; gap: 20px;
		padding: 96px 24px 32px; overflow-y: auto; z-index: 60;
		opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; box-shadow: -12px 0 40px rgba(0, 0, 0, .12);
	}
	.nav-open .primary-nav { opacity: 1; transform: none; visibility: visible; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
	.nav-list a, .nav-list .nav-parent { width: 100%; justify-content: space-between; padding: 14px 16px; font-size: 18px; border-radius: 14px; }
	.sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 6px 12px; display: none; min-width: 0; }
	.has-sub.is-open > .sub-menu { display: block; }
	.has-sub:hover > .sub-menu { display: none; }
	.has-sub.is-open:hover > .sub-menu { display: block; }
	.header-cta { flex-direction: column; align-items: stretch; }
	.header-cta .btn { width: 100%; }
	.nav-close { position: absolute; top: 20px; right: 20px; }
	.nav-scrim { position: fixed; inset: 0; background: rgba(27, 36, 32, .4); z-index: 55; opacity: 0; visibility: hidden; transition: opacity .2s ease; }
	.nav-open .nav-scrim { opacity: 1; visibility: visible; }
	.header-inner > .header-cta-mobile { display: inline-flex; }
}
@media (min-width: 1081px) { .nav-close, .nav-scrim, .header-cta-mobile { display: none !important; } }
.header-cta-mobile { display: none; }
@media (max-width: 480px) { .header-cta-mobile { display: none !important; } }
body.nav-open { overflow: hidden; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 8px; color: var(--muted-2); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--sage); }
.hero .lead { margin-bottom: 32px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks svg { flex: none; width: 24px; height: 24px; margin-top: 1px; }
.checks-inline { display: flex; flex-wrap: wrap; gap: 14px 28px; }
@media (max-width: 900px) {
	.hero { padding: 48px 0 72px; }
	.hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.page-hero { padding: 56px 0 72px; }
.page-hero .lead { margin-bottom: 28px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; gap: 40px; } .page-hero { padding: 40px 0 56px; } }

/* ---------- Phone / chat ---------- */
.phone {
	position: relative; max-width: 380px; margin: 0 auto;
	background: var(--ink); border-radius: 44px; padding: 14px;
	box-shadow: 0 30px 60px rgba(27, 36, 32, .22);
}
.phone-screen { background: var(--paper); border-radius: 32px; overflow: hidden; }
.phone-top { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 16px 14px; border-bottom: 1px solid var(--line); background: var(--white); }
.phone-avatar { width: 44px; height: 44px; border-radius: 999px; background: var(--sage); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.phone-name { font-weight: 700; font-size: 15px; line-height: 1.2; }
.phone-sub { font-size: 12px; color: var(--muted); line-height: 1.2; }
.chat { display: flex; flex-direction: column; gap: 10px; padding: 20px 16px 24px; }
.chat-card { background: var(--paper-2); border-radius: var(--radius); padding: 24px; }
.bubble { max-width: 82%; padding: 10px 14px; font-size: 15px; line-height: 1.4; border-radius: 18px; }
.bubble.me { align-self: flex-end; background: var(--sage); color: var(--white); border-bottom-right-radius: 5px; }
.bubble.them { align-self: flex-start; background: var(--white); color: var(--ink); border-bottom-left-radius: 5px; box-shadow: 0 1px 1px rgba(0, 0, 0, .04); }
.chat-card .bubble.them { box-shadow: none; }
.chat-meta { font-size: 12px; color: var(--muted); padding: 0 6px; }
.chat-meta.them { align-self: flex-start; }
.chat-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 4px; }
.typing { align-self: flex-start; background: var(--white); border-radius: 18px; border-bottom-left-radius: 5px; padding: 12px 14px; display: inline-flex; gap: 4px; }
.typing span { width: 7px; height: 7px; border-radius: 999px; background: var(--muted-2); animation: tgf-typing 1.2s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes tgf-typing { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .typing span { animation: none; } .btn:hover { transform: none; } html { scroll-behavior: auto; } }

/* ---------- Strip ---------- */
.strip { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 28px 0; }
.strip-item { display: flex; gap: 14px; align-items: flex-start; }
.strip-item svg { flex: none; width: 28px; height: 28px; color: var(--sage); }
.strip-item strong { display: block; font-size: 16px; line-height: 1.3; }
.strip-item span { font-size: 14px; color: var(--muted); line-height: 1.4; }
@media (max-width: 900px) { .strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .strip-grid { grid-template-columns: 1fr; } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card-ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.card-ink h3 { color: var(--paper); }
.card-mint { background: var(--mint-soft); border-color: #C6E3D3; }
.card-sun { background: var(--sun-soft); border-color: #F1DC9E; }

.style-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.style-grid > * { grid-column: span 2; }
.style-grid > *:nth-child(4) { grid-column: 2 / span 2; }
.style-grid.is-four > * { grid-column: span 3; }
.style-grid.is-four > *:nth-child(4) { grid-column: span 3; }
@media (max-width: 980px) { .style-grid > *, .style-grid > *:nth-child(4), .style-grid.is-four > * { grid-column: span 3; } .style-grid > *:nth-child(5):last-child { grid-column: 2 / span 4; } }
@media (max-width: 640px) { .style-grid { grid-template-columns: minmax(0, 1fr); } .style-grid > * { grid-column: 1 / -1 !important; } }

.style-card {
	display: flex; flex-direction: column; gap: 14px;
	padding: 28px; border-radius: var(--radius-lg); text-decoration: none; color: var(--ink);
	border: 1px solid rgba(27, 36, 32, .08); min-height: 280px;
	transition: transform .15s ease, box-shadow .15s ease;
}
.style-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.style-card .style-icon { width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .7); display: flex; align-items: center; justify-content: center; }
.style-card .style-icon svg { width: 28px; height: 28px; }
.style-card h3 { margin: 6px 0 0; font-size: 1.6rem; }
.style-card p { margin: 0; color: inherit; opacity: .85; }
.style-card .text-link { margin-top: auto; color: inherit; }
.tint-sun { background: var(--sun); }
.tint-mint { background: #CDE8D8; }
.tint-ink { background: var(--ink); color: var(--paper); }
.tint-ink:hover { color: var(--paper); }
.tint-ink .style-icon { background: rgba(255, 255, 255, .12); color: var(--sun); }
.tint-cream { background: var(--sun-soft); }
.tint-sage { background: var(--sage); color: var(--white); }
.tint-sage:hover { color: var(--white); }
.tint-sage .style-icon { background: rgba(255, 255, 255, .16); color: var(--white); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step-num {
	width: 52px; height: 52px; border-radius: 999px; background: var(--sun); color: var(--ink);
	display: flex; align-items: center; justify-content: center;
	font-family: var(--font-display); font-weight: 800; font-size: 22px; margin-bottom: 18px;
}
.section-ink .step p { color: #C9D3CD; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.plan {
	position: relative; display: flex; flex-direction: column;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px;
}
.plan.is-featured { border: 2px solid var(--sage); box-shadow: 0 20px 44px rgba(47, 125, 91, .14); }
.plan-badge {
	position: absolute; top: -14px; left: 32px;
	background: var(--sage); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	padding: 6px 12px; border-radius: 999px;
}
.plan-name { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; margin: 0 0 4px; letter-spacing: -0.02em; }
.plan-tag { color: var(--muted); margin: 0 0 20px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan-price strong { font-family: var(--font-display); font-size: 3.2rem; line-height: 1; letter-spacing: -0.04em; }
.plan-price span { color: var(--muted); font-weight: 600; }
.plan-trial { font-size: 14px; font-weight: 700; color: var(--sage-dark); background: var(--mint-soft); display: inline-block; padding: 6px 12px; border-radius: 999px; margin: 8px 0 24px; align-self: flex-start; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.45; }
.plan li svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.plan .btn { margin-top: auto; }
.pricing-foot { margin-top: 32px; text-align: center; color: var(--muted); font-size: 15px; }

/* ---------- Comparison table ---------- */
.table-wrap { position: relative; max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 16px; }
.compare thead th { font-family: var(--font-display); font-size: 1.1rem; background: var(--paper); }
.compare tbody th { font-weight: 600; color: var(--muted); width: 28%; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }

/* ---------- Is / isn't ---------- */
.isnt-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.isnt-list li { display: flex; gap: 12px; align-items: flex-start; }
.isnt-list svg { flex: none; width: 22px; height: 22px; margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; }
.faq summary {
	list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative;
	font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: ""; position: absolute; right: 0; top: 50%; width: 22px; height: 22px; margin-top: -11px;
	background: no-repeat center / 22px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F7D5B' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
	transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 0 22px; color: var(--muted); }
.faq .faq-a p:last-child { margin-bottom: 0; }
.faq-group { margin-bottom: 48px; }
.faq-group h2 { font-size: 1.8rem; margin-bottom: 20px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); padding: 64px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--paper); margin-bottom: 14px; }
.cta-band p { color: #C9D3CD; margin: 0; font-size: 1.1rem; }
.cta-band .btn-row { justify-content: flex-end; }
.cta-band .cta-mark { position: absolute; right: -40px; bottom: -60px; width: 260px; opacity: .08; pointer-events: none; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 40px 28px; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---------- Style detail ---------- */
.style-hero { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.style-hero.tint-ink .lead, .style-hero.tint-sage .lead { color: rgba(255, 255, 255, .82); }
.style-hero.tint-ink .breadcrumbs a, .style-hero.tint-ink .breadcrumbs, .style-hero.tint-sage .breadcrumbs a, .style-hero.tint-sage .breadcrumbs { color: rgba(255, 255, 255, .78); }
.style-hero.tint-ink .eyebrow { color: var(--sun); }
.style-hero.tint-sage .eyebrow { color: var(--sun-soft); }
.style-hero.tint-sun .eyebrow, .style-hero.tint-mint .eyebrow, .style-hero.tint-cream .eyebrow { color: var(--ink); opacity: .75; }
.style-hero.tint-sun .lead, .style-hero.tint-mint .lead, .style-hero.tint-cream .lead { color: var(--ink); opacity: .82; }
.style-hero .style-icon-lg { width: 72px; height: 72px; border-radius: 22px; background: rgba(255, 255, 255, .7); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.style-hero.tint-ink .style-icon-lg { background: rgba(255, 255, 255, .12); color: var(--sun); }
.style-hero.tint-sage .style-icon-lg { background: rgba(255, 255, 255, .16); color: var(--white); }
.style-hero .style-icon-lg svg { width: 38px; height: 38px; }
.tint-ink .btn-ghost, .tint-sage .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .6); }
.tint-ink .btn-ghost:hover, .tint-sage .btn-ghost:hover { background: var(--white); color: var(--ink); }
.tint-sage .btn-primary { background: var(--ink); }
.tint-sage .btn-primary:hover { background: #0F1512; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list svg { flex: none; width: 24px; height: 24px; margin-top: 2px; }
.feature-list strong { display: block; }
.feature-list span { color: var(--muted); }
.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 15px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; }
@media (max-width: 560px) { .form-card { padding: 24px 20px; } }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .fieldset legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.field .hint { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; font-weight: 500; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
	width: 100%; min-height: 52px; padding: 12px 16px;
	border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper);
	font: inherit; font-size: 16px; color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage); background: var(--white); box-shadow: 0 0 0 4px rgba(47, 125, 91, .15); }
.fieldset { border: 0; padding: 0; margin: 0; }
.choice-grid { display: grid; gap: 10px; }
.choice-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .choice-grid.cols-2, .choice-grid.cols-3 { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
	display: flex; flex-direction: column; gap: 2px; height: 100%;
	padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper);
	cursor: pointer; font-weight: 700; margin: 0; transition: border-color .15s ease, background .15s ease;
}
.choice label small { font-weight: 500; color: var(--muted); font-size: 14px; line-height: 1.4; }
.choice label .choice-price { font-family: var(--font-display); font-size: 1.3rem; }
.choice input:checked + label { border-color: var(--sage); background: var(--mint-soft); box-shadow: inset 0 0 0 1px var(--sage); }
.choice input:focus-visible + label { outline: 3px solid var(--sun); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--muted); }
.check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--sage); }
.check strong { color: var(--ink); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 16px 20px; border-radius: 14px; margin-bottom: 24px; font-weight: 600; }
.notice-error { background: #F8E1DE; color: var(--danger); border: 1px solid #EDC1BB; }
.notice-success { background: var(--mint-soft); color: var(--sage-dark); border: 1px solid #C6E3D3; }
.notice-info { background: var(--sun-soft); color: var(--ink); border: 1px solid #F1DC9E; }

.signup-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 32px; align-items: start; }
@media (max-width: 980px) { .signup-layout { grid-template-columns: 1fr; } }
.summary { position: sticky; top: 110px; background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); padding: 32px; }
.summary h3 { color: var(--paper); }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(244, 241, 234, .14); font-size: 15px; }
.summary-row span:first-child { color: #B7C2BC; }
.summary-row strong { text-align: right; }
.summary-total { font-family: var(--font-display); font-size: 2rem; color: var(--sun); }
.summary ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: 14px; color: #C9D3CD; }
.summary li { display: flex; gap: 10px; }
.summary li svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.form-section-title { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.form-section-title .num { width: 30px; height: 30px; border-radius: 999px; background: var(--sun); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.form-section + .form-section { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }

/* ---------- Prose (legal, generic pages) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.7rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.8em; }
.prose li { margin-bottom: .4em; }
.prose a { font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.legal-meta { color: var(--muted); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C9D3CD; padding: 80px 0 32px; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 40px; }
.footer-brand p { margin: 18px 0 24px; max-width: 300px; font-size: 15px; }
.footer-col h2 { font-family: var(--font-body); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--sun); margin: 0 0 16px; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: #E5EAE7; text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-col address { font-style: normal; font-size: 15px; line-height: 1.6; }
.footer-crisis { margin-top: 56px; padding: 20px 24px; border-radius: 16px; background: var(--ink-2); font-size: 15px; color: #E5EAE7; }
.footer-crisis strong { color: var(--sun); }
.footer-bottom { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(244, 241, 234, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: #9FAAA4; }
.footer-bottom a { color: #C9D3CD; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .stat-row { grid-template-columns: 1fr; } }
.value { padding-top: 20px; border-top: 3px solid var(--sage); }
.value h3 { margin-bottom: 8px; }
.icon-circle { width: 56px; height: 56px; border-radius: 18px; background: var(--mint-soft); color: var(--sage-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.icon-circle svg { width: 28px; height: 28px; }
.card-ink .icon-circle { background: rgba(255, 255, 255, .1); color: var(--sun); }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; } .mt-3 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 32px; }
.error-404 { padding: 120px 0; text-align: center; }
.error-404 .brand-mark { width: 96px; height: 96px; margin-bottom: 24px; }
.entry-content > *:first-child { margin-top: 0; }
.sticky-cta { display: none; }
@media (max-width: 760px) {
	.section { padding: 72px 0; }
	.sticky-cta {
		display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
		transform: translateY(140%); transition: transform .25s ease;
	}
	.sticky-cta.is-visible { transform: translateY(0); }
	.sticky-cta .btn { width: 100%; box-shadow: 0 10px 30px rgba(27, 36, 32, .3); }
	body.has-sticky-cta .site-footer { padding-bottom: 96px; }
}
.small svg, .hint svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.phone { color: var(--ink); }
.tint-ink .phone { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 30px 60px rgba(0, 0, 0, .35); }
.isnt-list + .text-link { display: inline-block; margin-top: 20px; }
.footer-crisis a { color: var(--sun); font-weight: 700; }
.card-mint .icon-circle, .card-sun .icon-circle { background: var(--white); }
@media (max-width: 1080px) { .header-inner > .header-cta-mobile { margin-left: auto; margin-right: -12px; } }
