/* TI PPC Landing — styles. Self-contained (distraction-free template). */

:root {
	--til-gold: #b08d57;
	--til-gold-2: #c6a15b;
	--til-ink: #14181e;
	--til-slate: #1f2733;
	--til-muted: #5b6472;
	--til-line: #e6e9ee;
	--til-surface: #f7f8fa;
	--til-heading: "Cormorant Garamond", Georgia, serif;
	--til-body: "Jost", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

body.til-body {
	margin: 0;
	font-family: var(--til-body);
	color: var(--til-ink);
	background: #fff;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.til-wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.til-btn {
	display: inline-block;
	padding: 15px 28px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 1.05rem;
	text-decoration: none;
	cursor: pointer;
	border: 2px solid transparent;
	transition: transform 0.12s, filter 0.15s, background 0.15s;
	text-align: center;
}
.til-btn:active { transform: translateY(1px); }
.til-btn--gold { background: var(--til-gold); color: #1b1b1b; }
.til-btn--gold:hover { filter: brightness(1.07); }
.til-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.til-btn--ghost:hover { border-color: #fff; }
.til-btn--call { background: #fff; color: var(--til-slate); border-color: var(--til-line); }
.til-btn__num { font-variant-numeric: tabular-nums; }

/* Returning-visitor banner */
.til-welcome {
	background: var(--til-gold);
	color: #1b1b1b;
}
.til-welcome__inner {
	max-width: 760px; margin: 0 auto; padding: 12px 20px;
	display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
	justify-content: space-between;
}
.til-welcome__text { margin: 0; font-size: 1rem; }
.til-welcome__hi { font-weight: 700; }
.til-welcome__name { font-weight: 700; }
.til-welcome__cta { padding: 10px 20px; background: #1b1b1b; color: #fff; }

/* Hero */
.til-hero {
	background: linear-gradient(160deg, var(--til-slate), var(--til-ink));
	color: #fff;
	padding: 64px 0 56px;
	text-align: center;
}
.til-hero__inner { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.til-eyebrow {
	text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.8rem;
	color: var(--til-gold-2); margin: 0 0 14px;
}
.til-hero__title {
	font-family: var(--til-heading); font-weight: 700;
	font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1.08; margin: 0 0 18px;
}
.til-hero__sub { font-size: 1.2rem; color: rgba(255,255,255,0.85); margin: 0 auto 28px; max-width: 52ch; }
.til-hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.til-hero__reassure { margin-top: 20px; font-size: 0.9rem; color: rgba(255,255,255,0.65); }

/* Sections */
.til-help, .til-psypact, .til-form-sec, .til-crisis { padding: 52px 0; }
.til-help h2, .til-psypact h2, .til-form-sec h2 {
	font-family: var(--til-heading); font-size: clamp(1.7rem, 4vw, 2.3rem);
	color: var(--til-slate); margin: 0 0 16px; text-align: center;
}
.til-lead { font-size: 1.12rem; color: var(--til-muted); text-align: center; max-width: 60ch; margin: 0 auto 28px; }

.til-benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.til-benefits li {
	background: var(--til-surface); border: 1px solid var(--til-line);
	border-left: 4px solid var(--til-gold); border-radius: 10px; padding: 16px 18px;
}
.til-benefits__k { display: block; font-family: var(--til-heading); font-size: 1.2rem; color: var(--til-slate); margin-bottom: 3px; }

/* PSYPACT */
.til-psypact { background: var(--til-surface); }
.til-psypact p { font-size: 1.08rem; color: var(--til-muted); max-width: 62ch; margin: 0 auto 14px; text-align: center; }
.til-psypact__note { font-style: italic; }

/* Form */
.til-form-sec__sub { text-align: center; color: var(--til-muted); margin: 0 auto 26px; max-width: 52ch; }
.til-form { max-width: 520px; margin: 0 auto; }
.til-field { margin-bottom: 14px; }
.til-field label { display: block; font-weight: 600; margin-bottom: 5px; color: var(--til-slate); }
.til-field input, .til-field textarea {
	width: 100%; padding: 12px 14px; font-size: 1rem; font-family: inherit;
	border: 1px solid var(--til-line); border-radius: 8px; background: #fff;
}
.til-field input:focus, .til-field textarea:focus { outline: 2px solid var(--til-gold); border-color: var(--til-gold); }
.til-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.til-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--til-muted); margin: 8px 0 18px; }
.til-form__submit { width: 100%; font-size: 1.1rem; }
.til-form__status { text-align: center; min-height: 1.3em; margin: 12px 0 0; font-size: 0.95rem; }
.til-form__status.is-error { color: #b3261e; }
.til-form__status.is-success { color: #1a7f37; }
.til-form__success { text-align: center; max-width: 520px; margin: 0 auto; }
.til-form__success h3 { font-family: var(--til-heading); font-size: 1.8rem; color: var(--til-slate); }

/* Crisis */
.til-crisis { background: #fbf3ee; padding: 26px 0; }
.til-crisis p { text-align: center; margin: 0; color: #6a3b23; font-size: 0.95rem; }
.til-crisis a { color: #a4451f; }

/* Footer */
.til-footer { padding: 24px 0; text-align: center; color: var(--til-muted); font-size: 0.85rem; }
.til-footer a { color: var(--til-muted); }

/* Returning-visitor state tweaks */
body.til-returning .til-hero__title::after { content: ""; }

@media (min-width: 640px) {
	.til-benefits { grid-template-columns: repeat(3, 1fr); }
}
