/* HeatCommand marketing site. Brand tokens from the selected white-led direction (proposal page 7). */
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #0a2540;
  --navy-2: #12355b;
  --blue: #2563eb;
  --blue-soft: #eff4ff;
  --orange: #f97316;
  --orange-dark: #c2410c;
  --orange-soft: #fff4ec;
  --green: #22c55e;
  --green-text: #15803d;
  --green-soft: #ecfdf3;
  --red-text: #b91c1c;
  --red-soft: #fef2f2;
  --grey: #f3f4f6;
  --line: #e5e7eb;
  --text: #0f172a;
  --muted: #475569;
  --subtle: #64748b;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0; color: var(--navy); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.05rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
.accent { color: var(--orange); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand img { height: 32px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 550; font-size: 0.95rem; }
.nav a:hover { color: var(--blue); }
.nav .btn { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 10px;
  font: inherit; font-weight: 650; font-size: 0.97rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-ghost { background: #fff; color: var(--navy); border-color: #cbd5e1; }
.btn-ghost:hover { border-color: var(--navy); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.45); outline-offset: 2px;
}

.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 650; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--blue); background: var(--blue-soft);
  border: 1px solid #dbe6fe; padding: 4px 10px; border-radius: 999px;
}

/* Hero */
.hero { padding: 72px 0 56px; background: linear-gradient(180deg, #fff 0%, #f8fafc 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.hero h1 { margin: 18px 0 18px; }
.hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 34rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 30px 0 0; padding: 0; list-style: none; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--navy); font-weight: 550; font-size: 0.95rem; }
.tick { flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--green-soft); color: var(--green-text); display: grid; place-items: center; }
.tick svg { width: 12px; height: 12px; }

.devices { position: relative; padding: 0 0 40px 0; }
.browser {
  border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid #d7dde6; box-shadow: 0 30px 60px -20px rgba(10, 37, 64, 0.35);
}
.browser-bar { height: 30px; background: #eef1f5; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid #dfe3ea; }
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: #cbd2dc; }
.phone {
  position: absolute; right: -14px; bottom: 0; width: 34%; max-width: 210px;
  border: 7px solid var(--navy); border-radius: 30px; overflow: hidden; background: #fff;
  box-shadow: 0 30px 50px -18px rgba(10, 37, 64, 0.45);
}
.caption { margin-top: 14px; font-size: 0.8rem; color: var(--subtle); }

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 46rem; margin-bottom: 44px; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.alt { background: var(--grey); }

/* Workflow */
.flow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; margin: 0; padding: 0; list-style: none; }
.flow li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; color: var(--navy); font-size: 0.92rem; }
.flow li.key { border-color: #fed7aa; background: var(--orange-soft); color: var(--orange-dark); }
.flow .arrow { border: 0; background: none; padding: 0; color: #94a3b8; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h3 { margin: 16px 0 8px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.card p { color: var(--muted); font-size: 0.95rem; }
.icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.icon.orange { background: var(--orange-soft); color: var(--orange); }
.icon.green { background: var(--green-soft); color: var(--green-text); }
.icon.navy { background: #e8edf4; color: var(--navy); }
.icon svg { width: 22px; height: 22px; }
.badge { font-size: 0.7rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.06em; padding: 3px 8px; border-radius: 999px; background: var(--grey); color: var(--subtle); }

/* Deep dives */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 96px; }
.split.reverse .split-media { order: -1; }
.split h2 { margin-bottom: 16px; }
.split .copy > p { color: var(--muted); font-size: 1.05rem; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; color: var(--text); }
.phones { display: flex; gap: 22px; justify-content: center; }
.phones .phone { position: static; width: 46%; max-width: 250px; }
.phones .phone:nth-child(2) { margin-top: 48px; }

/* Product panels (sample data, drawn from the real product rules) */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.panel-head { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel-head strong { color: var(--navy); }
.panel-body { padding: 18px 20px; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; font-size: 0.93rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; color: var(--navy); font-weight: 550; }
.meter { height: 8px; border-radius: 999px; background: var(--grey); position: relative; margin: 18px 0 8px; }
.meter .fill { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: var(--orange); }
.meter .mark { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--navy); }
.meter-legend { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--subtle); }
.alert { margin-top: 16px; border-left: 3px solid var(--orange); background: var(--orange-soft); padding: 12px 14px; border-radius: 0 8px 8px 0; font-size: 0.9rem; color: #7c2d12; }
.alert strong { display: block; color: var(--orange-dark); margin-bottom: 2px; }
.pill { display: inline-block; font-size: 0.75rem; font-weight: 650; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pill.warn { background: var(--orange-soft); color: var(--orange-dark); }
.pill.ok { background: var(--green-soft); color: var(--green-text); }
.pill.bad { background: var(--red-soft); color: var(--red-text); }
.table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.table th { text-align: left; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--subtle); font-weight: 650; padding: 10px 20px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table .sub { display: block; color: var(--subtle); font-size: 0.8rem; }
.sample { font-size: 0.78rem; color: var(--subtle); margin-top: 10px; }

/* Why band */
.band { background: var(--navy); color: #cbd5e1; }
.band h2 { color: #fff; }
.band .section-head p { color: #cbd5e1; }
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.why h3 { color: #fff; margin: 14px 0 6px; }
.why p { font-size: 0.95rem; }
.why .icon { background: rgba(255, 255, 255, 0.08); color: var(--orange); }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.trust .card h3 { margin-top: 0; }

/* CTA */
.cta { background: var(--blue-soft); border: 1px solid #dbe6fe; border-radius: 18px; padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta p { color: var(--muted); margin-top: 8px; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--navy); color: #94a3b8; padding: 48px 0 32px; font-size: 0.92rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-footer img { height: 28px; width: auto; margin-bottom: 12px; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.site-footer a { color: #e2e8f0; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .legal { width: 100%; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; margin-top: 8px; font-size: 0.82rem; }

/* Contact + prose pages */
.page-head { padding: 64px 0 24px; background: linear-gradient(180deg, #fff 0%, #f8fafc 100%); }
.page-head p { margin-top: 12px; color: var(--muted); font-size: 1.1rem; max-width: 40rem; }
.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; padding: 40px 0 96px; align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: 0.92rem; color: var(--navy); }
.opt { font-weight: 450; color: var(--subtle); }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: #fff;
  border: 1px solid #cbd5e1; border-radius: 10px; padding: 11px 13px; width: 100%; min-height: 46px;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.85rem; color: var(--subtle); grid-column: 1 / -1; }
.notice { border-radius: 10px; padding: 14px 16px; margin-bottom: 22px; font-size: 0.95rem; }
.notice.ok { background: var(--green-soft); border: 1px solid #bbf7d0; color: #14532d; }
.notice.err { background: var(--red-soft); border: 1px solid #fecaca; color: #7f1d1d; }
.notice ul { margin: 6px 0 0; padding-left: 18px; }
.aside { display: grid; gap: 18px; }
.aside .card h3 { margin-top: 0; }
.prose { max-width: 46rem; padding: 32px 0 96px; }
.prose h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.prose p, .prose li { color: #334155; }
.prose p + p { margin-top: 12px; }

/* Responsive */
@media (max-width: 1000px) {
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why, .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: 1fr; }
  .phone { right: 8px; }
}
@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .hero { padding: 44px 0 40px; }
  .hero-points { grid-template-columns: 1fr; }
  .features, .why, .trust, .form { grid-template-columns: 1fr; }
  .cta { padding: 28px 22px; }
  .table th:nth-child(2), .table td:nth-child(2) { display: none; }
  .table th, .table td { padding-left: 14px; padding-right: 14px; }
  .brand img { height: 26px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Pilot status bar: shown on every page so nobody mistakes HeatCommand for a product on sale today. */
.pilot-bar { background: var(--navy); color: #e2e8f0; font-size: 0.88rem; text-align: center; padding: 9px 0; }
.pilot-bar strong { color: #fff; }
.pilot-bar a { color: #fdba74; font-weight: 650; margin-left: 6px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 52rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 650; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 14px; font-size: 1.4rem; font-weight: 400; color: var(--subtle); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* Sticky call to action on phones */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta { display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 6; box-shadow: 0 10px 30px rgba(10, 37, 64, 0.35); }
  body { padding-bottom: 84px; }
  .pilot-bar { font-size: 0.8rem; padding: 8px 0; }
}

/* Hero balance for the longer headline. */
.hero .wrap { grid-template-columns: 1.1fr 1.15fr; }
.hero h1 { font-size: clamp(2.2rem, 3.7vw, 3rem); }
@media (max-width: 1000px) { .hero .wrap { grid-template-columns: 1fr; } }
