/* ========================================
   HAL Guardian — Page Styles
   Dark, urgent, protector-themed
   ======================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.hg-page {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  background: #fff;
  color: #1b1f23;
  line-height: 1.65;
}

.hg-page img {
  max-width: 100%;
  height: auto;
}

/* Container */
.hg-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
.hg-h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hg-h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hg-lead {
  font-size: clamp(17px, 2.4vw, 21px);
  line-height: 1.55;
}

.hg-text-center { text-align: center; }

/* Hero */
.hg-hero {
  background: linear-gradient(135deg, #0d0f12 0%, #1a1f26 100%);
  color: #fff;
  padding: 64px 24px 56px;
  position: relative;
  overflow: hidden;
}

.hg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(230, 155, 62, 0.12), transparent 50%);
  pointer-events: none;
}

.hg-hero-inner {
  position: relative;
  z-index: 1;
}

.hg-hero-logo {
  max-width: 180px;
  margin: 0 auto 28px;
  display: block;
  filter: drop-shadow(0 8px 30px rgba(230, 155, 62, 0.25));
}

.hg-hero .hg-h1,
.hg-hero .hg-h2 {
  color: #fff;
  margin-bottom: 14px;
}

.hg-hero .hg-lead {
  color: #c9d1d9;
  max-width: 680px;
  margin: 0 auto 28px;
}

.hg-urgency {
  display: inline-block;
  background: rgba(230, 155, 62, 0.15);
  color: #f0a848;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 8px 18px;
  border-radius: 30px;
  margin-bottom: 24px;
  border: 1px solid rgba(230, 155, 62, 0.35);
}

/* Sections */
.hg-section {
  padding: 64px 24px;
}

.hg-section--muted {
  background: #f7f8fa;
}

.hg-section--dark {
  background: #111418;
  color: #fff;
}

/* Body copy */
.hg-copy {
  font-size: 17px;
  color: #333a42;
  margin-bottom: 18px;
}

.hg-section--dark .hg-copy {
  color: #b0b8c1;
}

.hg-copy:last-child {
  margin-bottom: 0;
}

/* Pull quote */
.hg-quote {
  border-left: 4px solid #e69b3e;
  padding: 14px 22px;
  margin: 28px 0;
  background: rgba(230, 155, 62, 0.06);
  font-size: 18px;
  font-weight: 600;
  color: #1b1f23;
}

.hg-quote cite {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  font-style: normal;
  color: #6a737d;
}

/* Buttons */
.hg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-align: center;
}

.hg-btn-primary {
  background: #e69b3e;
  color: #0d0f12;
}

.hg-btn-primary:hover {
  background: #f0a848;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(230, 155, 62, 0.35);
}

.hg-btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.45);
}

.hg-btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.hg-btn-outline-dark {
  background: transparent;
  color: #1b1f23;
  border: 2px solid #1b1f23;
}

.hg-btn-outline-dark:hover {
  background: #1b1f23;
  color: #fff;
}

/* PDF card */
.hg-pdf-card {
  background: #fff;
  border: 1px solid #e3e6ea;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}

.hg-pdf-card__icon {
  width: 56px;
  height: 56px;
  background: #fff5e6;
  color: #c96a1e;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.hg-pdf-card__text {
  flex: 1 1 260px;
}

.hg-pdf-card__text h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.hg-pdf-card__text p {
  font-size: 15px;
  color: #586069;
  margin: 0;
}

.hg-pdf-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Form */
.hg-form-wrap {
  max-width: 560px;
  margin: 0 auto;
}

.hg-form-wrap label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
}

.hg-form-wrap input,
.hg-form-wrap textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d0d7de;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hg-form-wrap input:focus,
.hg-form-wrap textarea:focus {
  outline: none;
  border-color: #e69b3e;
  box-shadow: 0 0 0 3px rgba(230, 155, 62, 0.15);
}

.hg-form-wrap textarea {
  resize: vertical;
  min-height: 120px;
}

.hg-field {
  margin-bottom: 18px;
}

.hg-form-status {
  padding: 14px 16px;
  border-radius: 6px;
  margin-bottom: 18px;
  font-size: 14px;
}

.hg-form-status--success {
  background: #e8f5e9;
  color: #2e7d32;
}

.hg-form-status--error {
  background: #ffebee;
  color: #c62828;
}

.hg-form-wrap button[type="submit"] {
  width: 100%;
}

.hg-form-note {
  text-align: center;
  font-size: 13px;
  color: #6a737d;
  margin-top: 12px;
}

.hg-form-note a {
  color: #c96a1e;
  text-decoration: underline;
}

/* Make the shared contact form match this page's design */
.hg-form-wrap .ito-contact-form-wrapper {
  max-width: 100% !important;
}

.hg-page .ito-btn-primary,
.hg-page .ito-btn-primary:hover {
  background: #e69b3e !important;
  color: #0d0f12 !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  border: none !important;
  transition: all 0.2s ease !important;
}

.hg-page .ito-btn-primary:hover {
  background: #f0a848 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(230, 155, 62, 0.35) !important;
}

/* Footer */
.hg-footer {
  text-align: center;
  padding: 36px 24px;
  font-size: 14px;
  color: #6a737d;
  border-top: 1px solid #e3e6ea;
}

.hg-footer a {
  color: #6a737d;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 640px) {
  .hg-hero { padding: 48px 20px 40px; }
  .hg-section { padding: 48px 20px; }
  .hg-pdf-card { padding: 24px; }
  .hg-btn { width: 100%; }
}
