/*
Theme Name: WP Helpdesk Pre-Launch
Theme URI: https://helpdeskwp.com/
Author: ABC Digital Club
Author URI: https://helpdeskwp.com/
Description: Pre-launch sales page for Helpdesk (WP Helpdesk) by ABC Digital Club. Captures launch-list signups, explains every feature in depth, is SEO-friendly and makes no external requests. Replace with the marketing site theme once Helpdesk launches.
Version: 1.5.3
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wphd-presale
*/

/* ------------------------------------------------------------------ */
/* Reset + base                                                        */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 24px; }
body {
	margin: 0;
	background: #FAFAF8;
	color: #1B2621;
	font-family: Georgia, 'Iowan Old Style', 'Times New Roman', serif;
	font-size: 18px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #2B6F5C; }
h1, h2, h3 {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	font-weight: 600;
	line-height: 1.15;
	margin: 0 0 0.5em;
	color: #1B2621;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Visible keyboard focus everywhere — never suppressed */
a:focus-visible, button:focus-visible, input:focus-visible, .wphd-skip-link:focus {
	outline: 3px solid #2B6F5C;
	outline-offset: 2px;
}

/* Standard WP accessibility utility — visually hidden, still available
   to screen readers. This theme has no parent theme to inherit it from. */
.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;
}

.wphd-container {
	max-width: 1040px;
	margin: 0 auto;
	padding: 0 24px;
}


/* ------------------------------------------------------------------ */
/* Tokens (sales page)                                                 */
/* ------------------------------------------------------------------ */
:root {
	--hd-bg: #FAFAF8;
	--hd-surface: #FFFFFF;
	--hd-sunk: #F1EFE9;
	--hd-ink: #1B2621;
	--hd-ink-2: #3A453F;
	--hd-muted: #5B6660;
	--hd-line: #D8D4C8;
	--hd-accent: #2B6F5C;
	--hd-accent-dark: #235A4A;
	--hd-accent-soft: #E3EFEA;
	--hd-amber: #8A5A10;
	--hd-amber-soft: #FBF1DF;
	--hd-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--hd-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
	--hd-red: #A13B2A;
	--hd-code: #E6EBE8;
	--hd-code-key: #8FCBB7;
	--hd-shadow: 0 1px 2px rgba(27,38,33,.06), 0 12px 32px -12px rgba(27,38,33,.18);
}
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.01em; }
summary:focus-visible { outline: 3px solid #2B6F5C; outline-offset: 2px; }

.wphd-container {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */
.wphd-site-header {
	padding: 20px 0;
	border-bottom: 1px solid var(--hd-line);
}
.wphd-site-header .wphd-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.wphd-wordmark {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--hd-display);
	font-weight: 700;
	font-size: 20px;
	color: var(--hd-ink);
	text-decoration: none;
}
.wphd-wordmark svg { flex: none; }
.hd-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0 8px;
	align-items: center;
	font-family: var(--hd-display);
	font-size: 15px;
}
.hd-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 8px;
	color: var(--hd-ink-2);
	text-decoration: none;
}
.hd-nav a:hover { color: var(--hd-accent); text-decoration: underline; }
.wphd-wordmark { min-height: 44px; }
.hd-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--hd-display);
	font-size: 13px;
	font-weight: 500;
	padding: 5px 12px;
	margin-left: 6px;
	border-radius: 999px;
	background: var(--hd-accent-soft);
	color: var(--hd-accent-dark);
}
.hd-pill::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--hd-accent);
	animation: hd-pulse 2s ease-in-out infinite;
}
@keyframes hd-pulse { 50% { opacity: .35; } }
@media (max-width: 720px) {
	.wphd-site-header .wphd-container { gap: 4px; }
	.hd-nav { width: 100%; margin: 0 -8px; font-size: 14px; }
	.hd-pill { display: none; }
}

/* Skip link: visible only on keyboard focus */
.wphd-skip-link { position: absolute; left: 12px; top: -100px; z-index: 100000; background: var(--hd-ink); color: #fff; padding: 12px 18px; min-height: 44px; border-radius: 6px; font-family: var(--hd-display); text-decoration: none; }
.wphd-skip-link:focus { top: 12px; clip: auto; clip-path: none; width: auto; height: auto; margin: 0; overflow: visible; }

/* Shared section bits */
.hd-eyebrow {
	font-family: var(--hd-display);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--hd-accent);
}
.hd-section { padding: 88px 0; }
.hd-section--flush { padding-top: 0; }
.hd-head {
	display: grid;
	gap: 14px;
	max-width: 640px;
	margin-bottom: 44px;
}
.hd-head h2 { font-size: clamp(28px, 3.6vw, 38px); margin: 0; }
.hd-head p { color: var(--hd-ink-2); margin: 0; }
.hd-check { color: var(--hd-accent); flex: none; }

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */
.wphd-hero-sub {
	font-size: 19px;
	color: var(--hd-ink-2);
	max-width: 56ch;
	margin: 0;
}
.hd-hero { padding: 72px 0 88px; overflow: hidden; }
.hd-hero .wphd-container {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 56px;
	align-items: center;
}
.hd-hero-copy { display: grid; gap: 22px; min-width: 0; }
.hd-hero h1 { font-size: clamp(36px, 5.2vw, 56px); max-width: 14ch; margin: 0; }
.hd-hero h1 em { font-style: normal; color: var(--hd-accent); }
.hd-ticks {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	padding: 0;
	margin: 0;
	list-style: none;
	font-family: var(--hd-display);
	font-size: 14px;
	color: var(--hd-ink-2);
}
.hd-ticks li { display: flex; align-items: center; gap: 8px; }
@media (max-width: 900px) {
	.hd-hero .wphd-container { grid-template-columns: 1fr; }
	.hd-hero h1 { max-width: 18ch; }
}

/* ------------------------------------------------------------------ */
/* Signup form                                                         */
/* ------------------------------------------------------------------ */
.wphd-signup-form {
	display: flex;
	gap: 10px;
	max-width: 520px;
	flex-wrap: wrap;
}
.wphd-signup-form input[type="email"] {
	flex: 1 1 240px;
	min-height: 48px;
	min-width: 0;
	padding: 14px 16px;
	font-size: 17px;
	font-family: inherit;
	border: 1px solid #66716A;
	border-radius: 10px;
	background: #fff;
	color: var(--hd-ink);
}
.wphd-signup-form input[type="email"]::placeholder { color: #5B6660; opacity: 1; }
.wphd-signup-btn {
	min-height: 48px;
	padding: 14px 22px;
	font-family: var(--hd-display);
	font-weight: 600;
	font-size: 16px;
	background: var(--hd-accent);
	color: #fff;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	transition: background .15s ease, transform .15s ease;
}
.wphd-signup-btn:hover { background: var(--hd-accent-dark); transform: translateY(-1px); }
.wphd-form-note { font-size: 14px; color: var(--hd-muted); margin: 0; }
.wphd-form-message { margin: 0; font-family: var(--hd-display); font-size: 15px; }
.wphd-form-message.wphd-success { color: var(--hd-accent-dark); }
.wphd-form-message.wphd-error { color: var(--hd-red); }
.wphd-form-message { scroll-margin-top: 24px; }
/* Honeypot — off-screen, not display:none (some bots specifically check for that) */
.wphd-hp-field { position: absolute; left: -9999px; top: -9999px; }

/* ------------------------------------------------------------------ */
/* Ticket mock (hero illustration)                                     */
/* ------------------------------------------------------------------ */
.hd-mock {
	background: var(--hd-surface);
	border: 1px solid var(--hd-line);
	border-radius: 16px;
	box-shadow: var(--hd-shadow);
	overflow: hidden;
	min-width: 0;
	animation: hd-rise .7s ease-out both;
}
@keyframes hd-rise { from { transform: translateY(14px); opacity: .4; } to { transform: none; opacity: 1; } }
.hd-mock-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--hd-line);
	background: var(--hd-sunk);
}
.hd-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--hd-line); }
.hd-mock-url { margin-left: auto; font-family: var(--hd-mono); font-size: 12px; color: var(--hd-muted); }
.hd-mock-body { padding: 20px; display: grid; gap: 16px; }
.hd-mock-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.hd-mock-title h3 { font-size: 17px; margin: 0; }
.hd-mock-title small { display: block; font-family: var(--hd-mono); font-size: 12px; color: var(--hd-muted); margin-top: 4px; }
.hd-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.hd-chip { font-family: var(--hd-display); font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 6px; }
.hd-chip--open { background: var(--hd-accent-soft); color: var(--hd-accent); }
.hd-chip--high { background: var(--hd-amber-soft); color: var(--hd-amber); }
.hd-msg { display: grid; grid-template-columns: 32px 1fr; gap: 10px; font-size: 15px; line-height: 1.5; }
.hd-avatar {
	width: 32px; height: 32px; border-radius: 50%;
	display: grid; place-items: center;
	font-family: var(--hd-display); font-size: 13px; font-weight: 600;
	background: var(--hd-sunk); color: var(--hd-ink-2);
}
.hd-avatar--agent { background: var(--hd-accent); color: #fff; }
.hd-bubble { background: var(--hd-sunk); border-radius: 4px 12px 12px 12px; padding: 10px 12px; min-width: 0; }
.hd-bubble b { font-family: var(--hd-display); font-size: 13px; font-weight: 600; display: block; margin-bottom: 2px; }
.hd-bubble--note { background: var(--hd-amber-soft); border: 1px dashed var(--hd-amber); }
.hd-bubble--note b { color: var(--hd-amber); }
.hd-collide {
	display: flex; align-items: center; gap: 8px;
	font-family: var(--hd-display); font-size: 13px; color: var(--hd-muted);
	padding-top: 10px; border-top: 1px solid var(--hd-line);
}
.hd-typing { display: inline-flex; gap: 3px; }
.hd-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--hd-muted); animation: hd-blink 1.2s infinite; }
.hd-typing i:nth-child(2) { animation-delay: .2s; }
.hd-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes hd-blink { 50% { opacity: .2; } }

/* ------------------------------------------------------------------ */
/* Value strip                                                         */
/* ------------------------------------------------------------------ */
.hd-strip { border-top: 1px solid var(--hd-line); border-bottom: 1px solid var(--hd-line); background: var(--hd-surface); padding: 28px 0; }
.hd-strip .wphd-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hd-strip .wphd-container > div { display: grid; gap: 4px; }
.hd-strip strong { font-family: var(--hd-display); font-size: 17px; }
.hd-strip span { font-size: 15px; color: var(--hd-muted); }
@media (max-width: 820px) { .hd-strip .wphd-container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .hd-strip .wphd-container { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ */
/* Features                                                            */
/* ------------------------------------------------------------------ */
.hd-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hd-feature {
	background: var(--hd-surface);
	border: 1px solid var(--hd-line);
	border-radius: 14px;
	padding: 26px;
	display: grid;
	gap: 12px;
	align-content: start;
	transition: border-color .2s ease, transform .2s ease;
}
.hd-feature:hover { border-color: var(--hd-accent); transform: translateY(-2px); }
.hd-icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--hd-accent-soft); color: var(--hd-accent); }
.hd-feature h3 { font-size: 19px; margin: 0; }
.hd-feature h3 a { color: inherit; text-decoration: none; }
.hd-feature h3 a:hover { color: var(--hd-accent); text-decoration: underline; }
.hd-feature .hd-more { font-family: var(--hd-display); font-size: 14px; font-weight: 600; align-self: end; display: inline-flex; align-items: center; min-height: 44px; }
.hd-feature ul { margin: 0; padding-left: 18px; font-size: 15px; color: var(--hd-ink-2); display: grid; gap: 4px; }
@media (max-width: 900px) { .hd-features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .hd-features { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ */
/* AI assistant                                                        */
/* ------------------------------------------------------------------ */
.hd-ai { background: var(--hd-sunk); border-top: 1px solid var(--hd-line); border-bottom: 1px solid var(--hd-line); }
.hd-ai .wphd-container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hd-ai-copy { display: grid; gap: 18px; min-width: 0; }
.hd-ai-copy h2 { font-size: clamp(28px, 3.6vw, 38px); margin: 0; }
.hd-ai-copy p { color: var(--hd-ink-2); margin: 0; }
.hd-ai-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hd-ai-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 16px; color: var(--hd-ink-2); }
.hd-ai-list svg { margin-top: 5px; }
.hd-ai-card { background: var(--hd-surface); border: 1px solid var(--hd-line); border-radius: 14px; box-shadow: var(--hd-shadow); padding: 20px; display: grid; gap: 12px; min-width: 0; }
.hd-ai-label { font-family: var(--hd-display); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--hd-muted); }
.hd-ai-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.hd-ai-actions span { font-family: var(--hd-display); font-size: 13px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--hd-line); color: var(--hd-ink-2); }
.hd-ai-actions span.is-on { border-color: var(--hd-accent); color: var(--hd-accent); background: var(--hd-accent-soft); }
.hd-ai-out { font-size: 15px; line-height: 1.55; background: var(--hd-sunk); border-radius: 10px; padding: 14px; color: var(--hd-ink-2); }
.hd-ai-out b { font-family: var(--hd-display); font-size: 13px; color: var(--hd-ink); }
.hd-providers { font-family: var(--hd-mono); font-size: 12px; color: var(--hd-muted); }
@media (max-width: 900px) { .hd-ai .wphd-container { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ */
/* Extensions                                                          */
/* ------------------------------------------------------------------ */

/* ------------------------------------------------------------------ */
/* Jump links ("On this page")                                         */
/* ------------------------------------------------------------------ */
.hd-jump { margin-top: 36px; display: grid; gap: 10px; }
.hd-jump p { margin: 0; font-family: var(--hd-display); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--hd-muted); }
.hd-jump ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hd-jump a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
	font-family: var(--hd-display); font-size: 14px; font-weight: 500;
	color: var(--hd-ink-2); text-decoration: none;
	background: var(--hd-surface); border: 1px solid var(--hd-line); border-radius: 999px;
}
.hd-jump a:hover { border-color: var(--hd-accent); color: var(--hd-accent-dark); }

/* ------------------------------------------------------------------ */
/* Deep-dive sections                                                  */
/* ------------------------------------------------------------------ */
.hd-dive { border-top: 1px solid var(--hd-line); }
.hd-dive--alt { background: var(--hd-sunk); }
.hd-dive .hd-head { max-width: 720px; margin-bottom: 36px; }
.hd-dive-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.hd-dive-grid--flip { grid-template-columns: .85fr 1.15fr; }
.hd-dive-grid--flip .hd-dive-main { order: 2; }
.hd-dive-main, .hd-dive-side { min-width: 0; }
.hd-dive-side { display: grid; gap: 16px; }
.hd-sub { font-size: 13px; font-family: var(--hd-display); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--hd-muted); margin: 0 0 14px; }
.hd-sub--gap { margin-top: 28px; }
.hd-sprite { position: absolute; }
.hd-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hd-rows li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16px; color: var(--hd-ink-2); line-height: 1.55; }
.hd-rows li > svg { margin-top: 5px; }
.hd-rows strong { font-family: var(--hd-display); font-weight: 600; color: var(--hd-ink); }
.hd-rows code, .hd-faq code, .hd-extcard code, .hd-why code { font-family: var(--hd-mono); font-size: .86em; background: var(--hd-sunk); border: 1px solid var(--hd-line); border-radius: 5px; padding: 1px 5px; color: var(--hd-ink); overflow-wrap: anywhere; }
.hd-dive--alt .hd-rows code { background: var(--hd-surface); }
.hd-why {
	margin: 36px 0 0; padding: 18px 22px; border-left: 4px solid var(--hd-accent);
	background: var(--hd-accent-soft); border-radius: 0 12px 12px 0; color: var(--hd-ink); font-size: 17px;
}
.hd-why strong { font-family: var(--hd-display); color: var(--hd-accent-dark); margin-right: 6px; }
@media (max-width: 900px) {
	.hd-dive-grid, .hd-dive-grid--flip { grid-template-columns: 1fr; gap: 32px; }
	.hd-dive-grid--flip .hd-dive-main { order: 0; }
}

/* ------------------------------------------------------------------ */
/* Mock panels (HTML/CSS only)                                         */
/* ------------------------------------------------------------------ */
.hd-panel { background: var(--hd-surface); border: 1px solid var(--hd-line); border-radius: 14px; box-shadow: var(--hd-shadow); padding: 18px; display: grid; gap: 12px; min-width: 0; font-size: 15px; color: var(--hd-ink-2); }
.hd-panel-label { font-family: var(--hd-display); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--hd-muted); }
.hd-panel p { margin: 0; }
.hd-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.hd-tab { font-family: var(--hd-display); font-size: 13px; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--hd-line); color: var(--hd-ink-2); }
.hd-tab.is-on { border-color: var(--hd-accent); background: var(--hd-accent-soft); color: var(--hd-accent-dark); font-weight: 600; }
.hd-tab.is-note { border-color: var(--hd-amber); background: var(--hd-amber-soft); color: var(--hd-amber); font-weight: 600; }
.hd-field { display: grid; gap: 4px; }
.hd-field > span { font-family: var(--hd-display); font-size: 12px; font-weight: 600; color: var(--hd-muted); }
.hd-input { border: 1px solid #66716A; border-radius: 8px; padding: 8px 10px; background: #fff; color: var(--hd-ink); font-size: 14px; min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hd-input small { font-family: var(--hd-mono); font-size: 12px; color: var(--hd-muted); }
.hd-input--locked { background: var(--hd-sunk); }
.hd-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 8px 0; border-top: 1px solid var(--hd-line); font-size: 14px; }
.hd-line:first-of-type { border-top: 0; }
.hd-line b { font-family: var(--hd-display); font-weight: 600; color: var(--hd-ink); }
.hd-badge { font-family: var(--hd-display); font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--hd-accent-soft); color: var(--hd-accent-dark); white-space: nowrap; }
.hd-badge--amber { background: var(--hd-amber-soft); color: var(--hd-amber); }
.hd-badge--plain { background: var(--hd-sunk); color: var(--hd-ink-2); border: 1px solid var(--hd-line); }
.hd-note-text { font-size: 13px; color: var(--hd-muted); }
.hd-flow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.hd-flow .hd-arrow { color: var(--hd-muted); font-family: var(--hd-mono); font-size: 13px; }
.hd-timer { font-family: var(--hd-mono); font-size: 22px; font-weight: 600; color: var(--hd-ink); }
.hd-btn-mock { display: inline-block; font-family: var(--hd-display); font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 8px; background: var(--hd-accent); color: #fff; }
.hd-btn-mock--ghost { background: transparent; color: var(--hd-accent-dark); border: 1px solid var(--hd-accent); }
.hd-mini { width: 100%; border-collapse: collapse; font-size: 14px; }
.hd-mini th, .hd-mini td { text-align: left; padding: 7px 8px; border-top: 1px solid var(--hd-line); vertical-align: top; }
.hd-mini thead th { border-top: 0; font-family: var(--hd-display); font-size: 12px; color: var(--hd-muted); letter-spacing: .04em; text-transform: uppercase; }
.hd-mini tbody th { font-weight: 600; font-family: var(--hd-display); color: var(--hd-ink); white-space: nowrap; }
.hd-mini .is-closed { color: var(--hd-muted); }
.hd-code { background: var(--hd-ink); color: var(--hd-code); border-radius: 14px; padding: 18px; font-family: var(--hd-mono); font-size: 13px; line-height: 1.7; overflow-x: auto; min-width: 0; white-space: pre; }
.hd-code .k { color: var(--hd-code-key); }
.hd-code .c { color: #B7C1BB; }
.hd-steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hd-steps li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; font-size: 14px; }
.hd-steps li::before { content: counter(s); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--hd-accent); color: #fff; font-family: var(--hd-display); font-weight: 600; font-size: 13px; }

/* ------------------------------------------------------------------ */
/* Extension cards                                                     */
/* ------------------------------------------------------------------ */
.hd-extcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.hd-extcard { background: var(--hd-surface); border: 1px solid var(--hd-line); border-radius: 14px; padding: 24px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.hd-extcard h3 { font-size: 19px; margin: 0; display: flex; align-items: center; gap: 8px; }
.hd-extcard h3::before { content: "+"; font-family: var(--hd-mono); color: var(--hd-accent); }
.hd-extcard > p { margin: 0; color: var(--hd-ink); font-size: 16px; font-weight: 600; font-family: var(--hd-display); line-height: 1.35; }
.hd-extcard ul { margin: 0; padding-left: 18px; font-size: 15px; color: var(--hd-ink-2); display: grid; gap: 6px; }
.hd-extcard .hd-note-text { margin: 0; }

/* ------------------------------------------------------------------ */
/* Complete checklist                                                  */
/* ------------------------------------------------------------------ */
.hd-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.hd-checkcard { background: var(--hd-surface); border: 1px solid var(--hd-line); border-radius: 14px; padding: 6px 18px 12px; min-width: 0; }
.hd-checkcard table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hd-checkcard caption { text-align: left; font-family: var(--hd-display); font-weight: 600; font-size: 17px; color: var(--hd-ink); padding: 14px 0 8px; }
.hd-checkcard th, .hd-checkcard td { text-align: left; padding: 7px 0; border-top: 1px solid var(--hd-line); vertical-align: top; }
.hd-checkcard thead th { border-top: 0; font-family: var(--hd-display); font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--hd-muted); }
.hd-checkcard tbody th { font-weight: 400; color: var(--hd-ink-2); padding-right: 12px; }
.hd-checkcard td { white-space: nowrap; font-family: var(--hd-display); font-size: 13px; color: var(--hd-muted); text-align: right; }
@media (max-width: 800px) { .hd-checklist { grid-template-columns: 1fr; } }

@media (max-width: 640px) {
	.hd-dive .hd-head { margin-bottom: 28px; }
	.hd-why { padding: 16px; font-size: 16px; }
	.hd-extcard { padding: 20px; }
}

/* ------------------------------------------------------------------ */
/* Own vs rent                                                         */
/* ------------------------------------------------------------------ */
.hd-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hd-col { border-radius: 14px; padding: 28px; display: grid; gap: 14px; align-content: start; }
.hd-col--rent { border: 1px solid var(--hd-line); }
.hd-col--own { background: var(--hd-accent); color: #fff; }
.hd-col--own h3, .hd-col--own .hd-check { color: #fff; }
.hd-col h3 { font-size: 20px; margin: 0; }
.hd-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 16px; }
.hd-col li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.hd-col--own svg { margin-top: 5px; }
.hd-col--rent li { color: var(--hd-ink-2); }
@media (max-width: 700px) { .hd-compare { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ */
/* FAQ                                                                 */
/* ------------------------------------------------------------------ */
.hd-faq { max-width: 760px; display: grid; gap: 10px; }
.hd-faq details { border: 1px solid var(--hd-line); border-radius: 12px; background: var(--hd-surface); }
.hd-faq summary {
	cursor: pointer; list-style: none; padding: 18px 22px; min-height: 44px;
	font-family: var(--hd-display); font-weight: 600; font-size: 17px;
	display: flex; justify-content: space-between; gap: 16px;
}
.hd-faq summary::-webkit-details-marker { display: none; }
.hd-faq summary::after { content: "+"; font-family: var(--hd-mono); color: var(--hd-accent); transition: transform .2s ease; }
.hd-faq details[open] summary::after { transform: rotate(45deg); }
.hd-faq details p, .hd-faq details ul { padding: 0 22px 20px; margin: 0; color: var(--hd-ink-2); font-size: 16px; }

/* ------------------------------------------------------------------ */
/* Final CTA                                                           */
/* ------------------------------------------------------------------ */
.hd-final { padding: 0 0 96px; }
.hd-final-box {
	background: var(--hd-ink);
	color: var(--hd-bg);
	border-radius: 20px;
	padding: 56px clamp(24px, 5vw, 64px);
	display: grid;
	gap: 18px;
	justify-items: start;
	position: relative;
	overflow: hidden;
}
.hd-final-box h2 { color: var(--hd-bg); font-size: clamp(28px, 4vw, 42px); max-width: 18ch; margin: 0; }
.hd-final-box p { margin: 0; }
.hd-final-box .wphd-hero-sub { color: #C9D1CC; }
.hd-final-box .hd-eyebrow { color: #8FCBB7; }
.hd-final-box .wphd-signup-form { width: 100%; position: relative; z-index: 1; }
.hd-final-box .wphd-signup-form input[type="email"] { border-color: transparent; }
.hd-final-box .wphd-form-note { color: #C9D1CC; }
.hd-final-box::after {
	content: "#1042";
	position: absolute; right: -10px; bottom: -34px;
	font-family: var(--hd-display); font-weight: 700; font-size: 150px; line-height: 1;
	color: var(--hd-bg); opacity: .06; pointer-events: none;
}

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */
.wphd-site-footer { border-top: 1px solid var(--hd-line); padding: 28px 0 40px; font-size: 14px; color: var(--hd-muted); }
.wphd-site-footer .wphd-container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.wphd-site-footer a { color: var(--hd-muted); display: inline-flex; align-items: center; min-height: 44px; }
.wphd-content { padding: 60px 0; max-width: 720px; }
.wphd-content-wide { padding: 60px 0; }
.wphd-content .wphd-hero-sub { font-size: 18px; }
.wphd-content ul { padding-left: 1.2em; }
.wphd-content li { margin-bottom: .6em; }
.wphd-content h2 { margin-top: 1.6em; font-size: clamp(24px, 3vw, 30px); }

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */
@media (max-width: 640px) {
	.wphd-container { padding: 0 16px; }
	.hd-hero { padding: 48px 0 56px; }
	.hd-section { padding: 56px 0; }
	.hd-section--flush { padding-top: 0; }
	.wphd-signup-form { flex-direction: column; }
	.wphd-signup-form input[type="email"], .wphd-signup-btn { width: 100%; flex: 0 0 auto; }
}
