/*
 * Hail of a Tool: How it works / Real AI / Meet GAIL / Storm season / Plans / About
 * Same look as the home page: storm sky, navy glass cards, ice-blue accents, steel buttons,
 * Russo One headings, Barlow text. Loaded only on those six pages.
 */

body.hs-site {
	height: auto;
	min-height: 100%;
	background: var(--navy-900);
	color: var(--text);
	font-family: var(--body);
}
html:has(body.hs-site) { height: auto; background: var(--navy-900); }

.hs-wrap { position: relative; min-height: 100vh; display: flex; flex-direction: column; isolation: isolate; }

/* Storm backdrop (fixed, so it stays put while the page scrolls) */
.hs-bg { position: fixed; inset: 0; z-index: -3; background: var(--navy-900) center / cover no-repeat; transform: scale(1.04); }
.hs-shade {
	position: fixed; inset: 0; z-index: -2;
	background:
		linear-gradient(100deg, rgba(5, 12, 29, 0.92) 0%, rgba(6, 15, 36, 0.8) 50%, rgba(8, 20, 46, 0.6) 100%),
		linear-gradient(180deg, rgba(5, 12, 29, 0.2) 60%, rgba(5, 12, 29, 0.9) 100%);
}
.hs-bolt { position: fixed; top: 0; right: 0; z-index: -1; height: min(60vh, 520px); width: auto; opacity: 0.55; mix-blend-mode: screen; pointer-events: none; }
@media (max-width: 860px) { .hs-bolt { height: 36vh; opacity: 0.4; } }

/* ---------- Header: the shared top bar (see style.css .hoat-top), full width like the home page ---------- */
.hs-wrap > .hoat-top { padding-bottom: 14px; }

/* Buttons: same as the home page */
.hs-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px;
	padding: 11px 24px; border: 0; border-radius: var(--radius); cursor: pointer; text-decoration: none;
	font-family: var(--head); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-900);
	background: linear-gradient(180deg, #ffffff 0%, #dbe6f4 45%, #a9b8cc 100%);
	box-shadow: 0 10px 28px rgba(111, 177, 255, 0.28), inset 0 -2px 0 rgba(0, 0, 0, 0.15);
	transition: transform 0.12s, box-shadow 0.12s;
}
.hs-btn:hover { color: var(--navy-900); transform: translateY(-1px); box-shadow: 0 14px 34px rgba(111, 177, 255, 0.4), inset 0 -2px 0 rgba(0, 0, 0, 0.15); }
.hs-btn svg { width: 18px; height: 18px; }
.hs-btn--lg { min-height: 52px; padding: 14px 36px; font-size: 17px; }

/* ---------- Page body ---------- */
.hs-main { flex: 1; width: 100%; max-width: 1520px; margin: 0 auto; padding: clamp(28px, 5vw, 56px) var(--pad) clamp(40px, 6vw, 72px); display: grid; gap: clamp(28px, 4vw, 48px); align-content: start; }
.hs-section { min-width: 0; }
.hs-section--card { padding: clamp(24px, 4vw, 48px); }

.hs-eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
	font-weight: 700; font-size: clamp(12px, 1.1vw, 14px); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ice);
}
.hs-eyebrow::before { content: ""; width: 34px; height: 2px; background: linear-gradient(90deg, var(--ice), transparent); }
.hs-h2 {
	margin: 0; font-family: var(--head); font-weight: 400; text-transform: uppercase;
	font-size: clamp(30px, 4.4vw, 56px); line-height: 1.02; letter-spacing: 0.005em;
	color: var(--white); text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.hs-lead { margin: 18px 0 0; max-width: 36em; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.5; color: var(--steel); }
.hs-fine { margin: 14px 0 0; font-size: 14px; color: var(--steel-2); }

/* ---------- Cards (navy glass, like the home page tiles and form box) ---------- */
.hs-card {
	position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 12px; backdrop-filter: blur(6px);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(156, 199, 255, 0.06);
	overflow: hidden;
}
.hs-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--ice-2), var(--steel), var(--ice-2)); }

/* ---------- How it works ---------- */
.hs-steps { list-style: none; margin: clamp(22px, 3vw, 34px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 20px); }
.hs-step { padding: clamp(20px, 2.4vw, 28px); box-shadow: none; }
.hs-step::before { display: none; }
.hs-step__num { display: block; font-family: var(--head); font-size: 28px; line-height: 1; color: var(--ice); margin-bottom: 14px; }
.hs-step h3 { margin: 0 0 8px; font-family: var(--head); font-weight: 400; font-size: clamp(16px, 1.5vw, 19px); text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.2; color: var(--white); }
.hs-step p { margin: 0; color: var(--steel); font-size: 16px; line-height: 1.5; }

/* ---------- Real AI table ---------- */
.hs-tablewrap { margin-top: clamp(22px, 3vw, 34px); overflow-x: auto; }
.hs-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 17px; }
.hs-table thead th { padding: 14px 16px; font-family: var(--head); font-weight: 400; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); border-bottom: 2px solid var(--ice-2); }
.hs-table thead th:last-child { color: var(--ice); }
.hs-table tbody th, .hs-table tbody td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.hs-table tbody th { width: 30%; font-weight: 700; color: var(--white); }
.hs-table tbody td { color: var(--steel); }
.hs-table tbody tr:last-child th, .hs-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- Meet GAIL ---------- */
.hs-gail { margin-top: clamp(26px, 4vw, 44px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 20px); }
.hs-gail__item { background: rgba(16, 34, 74, 0.6); border: 1px solid var(--line); border-radius: 8px; padding: clamp(18px, 2.2vw, 26px); }
.hs-gail__item h3 { margin: 0 0 8px; font-family: var(--head); font-weight: 400; font-size: clamp(16px, 1.5vw, 19px); text-transform: uppercase; letter-spacing: 0.03em; color: var(--ice); }
.hs-gail__item p { margin: 0; color: var(--text); font-size: 17px; }

/* ---------- Storm season ---------- */
.hs-storm { margin-top: clamp(26px, 4vw, 44px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); }
.hs-storm__item { border-top: 3px solid var(--ice-2); padding-top: 18px; }
.hs-storm__item h3 { margin: 0 0 8px; font-family: var(--head); font-weight: 400; font-size: clamp(18px, 1.7vw, 22px); text-transform: uppercase; letter-spacing: 0.03em; color: var(--white); }
.hs-storm__item p { margin: 0; color: var(--steel); font-size: 17px; }

/* ---------- Plans ---------- */
.hs-plans { margin-top: clamp(24px, 3.4vw, 38px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); align-items: stretch; }
.hs-plan { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; }
.hs-plan h2 { margin: 0; font-family: var(--head); font-weight: 400; text-transform: uppercase; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.1; color: var(--white); }
.hs-plan__for { margin: 12px 0 0; color: var(--steel); }
.hs-plan__cta { margin: 24px 0 22px; }
.hs-plan__cta .hs-btn { width: 100%; max-width: 320px; }
.hs-plan ul { margin: 0; padding: 0 0 0 20px; display: grid; gap: 8px; color: var(--text); }
.hs-plan li::marker { color: var(--ice); }
.hs-plan--power { border-color: var(--ice-2); background: linear-gradient(180deg, rgba(16, 34, 74, 0.85), rgba(8, 18, 40, 0.85)); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--ice-2), 0 0 44px rgba(111, 177, 255, 0.18); }
.hs-note { margin: 22px 0 0; max-width: 46em; color: var(--steel-2); font-size: 16px; }

/* ---------- About ---------- */
.hs-founders { font-style: italic; color: var(--steel-2); }

/* ---------- Discovery card ---------- */
.hs-cta { padding: clamp(26px, 4vw, 48px); }
.hs-cta .hs-h2 { font-size: clamp(26px, 3.6vw, 44px); }
.hs-cta__row { margin: 24px 0 0; }

/* ---------- Footer ---------- */
.hs-footer { font-size: 13px; color: var(--steel-2); border-top: 1px solid var(--line); }
.hs-footer__in { max-width: 1520px; margin: 0 auto; padding: 18px var(--pad); display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.hs-footer a { color: var(--steel); text-decoration: none; }
.hs-footer a:hover { color: var(--white); }
.hs-footer__links { display: flex; gap: 16px; }

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
	.hs-steps, .hs-gail, .hs-storm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Phone ---------- */
@media (max-width: 680px) {
	.hs-steps, .hs-gail, .hs-storm, .hs-plans { grid-template-columns: 1fr; }
	.hs-storm { gap: 22px; }
	.hs-table tbody th { width: 38%; }
	.hs-cta__row .hs-btn { width: 100%; }
	.hs-footer__in { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
	.hs-btn { transition: none; }
	.hs-btn:hover { transform: none; }
}

/* ---------- Text typed into the page in the WordPress editor ---------- */
.hs-editor .entry-content > :first-child { margin-top: 0; }
.hs-editor .entry-content > :last-child { margin-bottom: 0; }
.hs-editor h2, .hs-editor h3, .hs-editor h4 { font-family: var(--head); font-weight: 400; text-transform: uppercase; color: var(--white); line-height: 1.15; }
.hs-editor p, .hs-editor li { color: var(--steel); font-size: 17px; }
.hs-editor a { color: var(--ice); }
.hs-editor img { max-width: 100%; height: auto; border-radius: 8px; }

/* ---------- About: founder card ---------- */
.hs-founder { display: grid; grid-template-columns: minmax(220px, 340px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 48px); align-items: start; }
.hs-founder__photo { margin: 0; position: sticky; top: 24px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
.hs-founder__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.hs-founder__text .hs-h2 { font-size: clamp(28px, 3.6vw, 44px); }
.hs-founder__intro { margin: 18px 0 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; font-weight: 600; color: var(--white); }
.hs-founder__p { margin: 16px 0 0; max-width: 46em; font-size: 17px; line-height: 1.6; color: var(--steel); }
@media (max-width: 860px) {
	.hs-founder { grid-template-columns: 1fr; }
	.hs-founder__photo { position: static; max-width: 340px; }
}

/* FAQ (SEO) */
.hs-faq__list { display: grid; gap: 14px; margin-top: 22px; }
.hs-faq__item { background: rgba(16, 34, 74, 0.6); border: 1px solid var(--line); border-radius: 8px; padding: clamp(18px, 2.2vw, 26px); }
.hs-faq__item h3 { margin: 0 0 8px; font-family: var(--head); font-weight: 400; font-size: clamp(16px, 1.5vw, 19px); letter-spacing: 0.02em; color: var(--ice); }
.hs-faq__item p { margin: 0; color: var(--text); font-size: 17px; }
.hs-footer__contact { color: var(--steel-2); }
.hs-footer__contact a { text-decoration: underline; }
