/* GCOS demo landing — gcos.exitsaas.com (deployed to assets/css/demo.css).
   Steel-and-amber construction palette; no external fonts, no outside network. */
:root {
	--ink: #16202b;
	--steel: #24384d;
	--steel-deep: #101c2a;
	--amber: #e8a020;
	--amber-deep: #c9820a;
	--paper: #f5f2ec;
	--line: #d8d2c6;
	--muted: #5d6b7a;
}
* { box-sizing: border-box; margin: 0; }
body {
	font-family: Georgia, 'Times New Roman', serif;
	color: var(--ink);
	background: var(--paper);
	line-height: 1.5;
	font-size: 17px;
}
h1, h2, h3, .brand, .kicker, .btn-solid, .btn-ghost, .topnav, .strip, label, .form-status {
	font-family: 'Avenir Next', 'Segoe UI', 'Trebuchet MS', Verdana, sans-serif;
}

/* Hero */
.hero {
	background:
		linear-gradient(160deg, rgba(16, 28, 42, 0.96) 0%, rgba(36, 56, 77, 0.94) 60%, rgba(16, 28, 42, 0.97) 100%),
		repeating-linear-gradient(-45deg, #1a2a3c 0 22px, #16242f 22px 44px);
	color: #f2f0ea;
	padding-bottom: 84px;
}
.topnav {
	display: flex; justify-content: space-between; align-items: center;
	max-width: 1160px; margin: 0 auto; padding: 20px 24px;
}
.brand { font-size: 1.5rem; font-weight: 700; letter-spacing: 0.04em; }
.brand span { color: var(--amber); }
.nav-actions { display: flex; gap: 10px; }
.hero-inner { max-width: 900px; margin: 0 auto; padding: 72px 24px 0; text-align: center; }
.kicker {
	text-transform: uppercase; letter-spacing: 0.28em; font-size: 0.8rem;
	color: var(--amber); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.14; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--amber); }
.lede { max-width: 700px; margin: 22px auto 0; font-size: 1.15rem; color: #d5d9de; }
.hero-cta { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cta-note { font-size: 0.9rem; color: #aeb8c2; }

.btn-solid {
	display: inline-block; background: var(--amber); color: var(--steel-deep);
	border: 0; border-radius: 4px; padding: 13px 30px; font-size: 1.02rem; font-weight: 700;
	text-decoration: none; cursor: pointer; transition: background 0.15s, transform 0.15s;
}
.btn-solid:hover { background: var(--amber-deep); transform: translateY(-1px); }
.btn-ghost, .linklike {
	background: transparent; color: inherit; border: 1px solid rgba(242, 240, 234, 0.45);
	border-radius: 4px; padding: 8px 16px; font-size: 0.92rem; text-decoration: none; cursor: pointer;
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.linklike { border: 0; padding: 0; color: var(--amber-deep); text-decoration: underline; font-size: inherit; }

/* Proof strip */
.strip {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px;
	background: var(--line); border-block: 1px solid var(--line);
	max-width: 1160px; margin: -46px auto 0; box-shadow: 0 14px 34px rgba(16, 28, 42, 0.18);
}
.strip-item { background: #fffdf8; padding: 22px 26px; display: flex; flex-direction: column; gap: 4px; }
.strip-item strong { font-size: 1.02rem; }
.strip-item span { color: var(--muted); font-size: 0.92rem; }

/* Features */
.features { max-width: 1160px; margin: 0 auto; padding: 72px 24px 20px; }
.features h2, .pitch h2, .request-card h2 { font-size: 1.75rem; font-weight: 800; }
.feature-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 18px; margin-top: 28px;
}
.feature {
	background: #fffdf8; border: 1px solid var(--line); border-top: 3px solid var(--steel);
	padding: 22px 24px; border-radius: 4px;
}
.feature h3 { font-size: 1.06rem; margin-bottom: 8px; color: var(--steel); }
.feature p { font-size: 0.97rem; color: #37424e; }

/* Pitch */
.pitch { background: var(--steel); color: #eef0f2; margin-top: 56px; }
.pitch-inner { max-width: 820px; margin: 0 auto; padding: 56px 24px; text-align: center; }
.pitch p { margin-top: 16px; font-size: 1.1rem; color: #ccd4db; }

/* Request */
.request { padding: 72px 24px 84px; }
.request-card {
	max-width: 760px; margin: 0 auto; background: #fffdf8; border: 1px solid var(--line);
	border-radius: 6px; padding: 40px 44px; box-shadow: 0 10px 30px rgba(16, 28, 42, 0.08);
}
.request-card > p { margin-top: 10px; color: var(--muted); }
.form-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 14px 18px; margin: 24px 0 20px;
}
.form-grid .wide { grid-column: 1 / -1; }
label { display: flex; flex-direction: column; gap: 5px; font-size: 0.9rem; font-weight: 600; color: var(--steel); }
input[type="text"], input[type="email"], input[type="tel"] {
	height: 38px; border: 1px solid #b9b2a4; border-radius: 4px; padding: 0 11px;
	font-size: 0.98rem; font-family: inherit; background: #fff;
}
input:focus { outline: 2px solid var(--amber); outline-offset: 0; border-color: var(--amber-deep); }
.form-status { margin-top: 12px; font-weight: 600; min-height: 1.3em; }
.form-status.ok { color: #2c6e3f; }
.form-status.err { color: #a02c2c; }
.form-error { background: #f8e7e7; border: 1px solid #a02c2c; color: #7c1f1f; padding: 9px 12px; border-radius: 4px; margin: 12px 0; font-size: 0.95rem; }
.alt-entry { margin-top: 18px; font-size: 0.95rem; color: var(--muted); }

/* Modal */
.modal-backdrop {
	position: fixed; inset: 0; background: rgba(16, 28, 42, 0.72);
	display: flex; align-items: center; justify-content: center; z-index: 50; padding: 20px;
}
/* display:flex above would override the hidden attribute — without this the
   modal is open on load and cannot close. */
.modal-backdrop[hidden] { display: none; }
.modal {
	background: #fffdf8; border-radius: 6px; padding: 34px 36px; max-width: 430px; width: 100%;
	position: relative; box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4);
}
.modal h2 { font-size: 1.35rem; }
.modal form { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.modal input[type="text"] { text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }
.modal .tos { flex-direction: row; align-items: flex-start; gap: 9px; font-weight: 400; font-size: 0.86rem; color: var(--muted); }
.modal .tos input { margin-top: 3px; }
.modal-x {
	position: absolute; top: 10px; right: 14px; background: none; border: 0;
	font-size: 1.7rem; color: var(--muted); cursor: pointer; line-height: 1;
}

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 26px 24px; text-align: center; color: var(--muted); font-size: 0.92rem; }
.foot a { color: var(--steel); }

@media (max-width: 640px) {
	.request-card { padding: 28px 20px; }
	.topnav { flex-direction: column; gap: 12px; }
}
