:root {
  --brand-navy: #071a3f;
  --brand-navy-dark: #020b20;
  --brand-teal: #00a6a6;
  --brand-bg: #f5f7fb;
  --brand-card: #ffffff;
  --border-subtle: #d9e2f2;
  --text-main: #1f2933;
  --text-muted: #6b7280;
  --radius-lg: 14px;
  --radius-md: 10px;
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.15);
}

/* Global */

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-main);
  background: var(--brand-bg);
}

a {
  color: var(--brand-teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-navy);
}

.logo-tagline {
  font-size: 11px;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  gap: 12px;
  font-size: 13px;
}

.main-nav a {
  color: var(--text-muted);
  padding: 6px 8px;
  border-radius: 999px;
}

.main-nav a:hover {
  background: var(--brand-bg);
  color: var(--brand-navy);
}

.header-cta {
  display: flex;
  gap: 8px;
}

/* Buttons */

.btn-primary,
.btn-outline,
.btn-text {
  font-size: 13px;
  border-radius: 999px;
  padding: 8px 16px;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-teal);
  color: #ffffff;
  border-color: var(--brand-teal);
}

.btn-primary:hover {
  background: #009090;
  border-color: #009090;
}

.btn-outline {
  background: #ffffff;
  color: var(--brand-navy);
  border-color: var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--brand-teal);
  color: var(--brand-teal);
}

.btn-text {
  background: transparent;
  color: var(--brand-teal);
  border: none;
  padding-left: 0;
}

/* Hero */

.hero {
  background: radial-gradient(
      circle at top left,
      rgba(0, 166, 166, 0.12),
      transparent 55%
    ),
    linear-gradient(to bottom, #ffffff, #f4f6fb);
  padding: 40px 0 60px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero-eyebrow {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.hero h1 {
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--brand-navy);
}

.hero p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin: 18px 0 10px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.hero-meta span {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
  background: #000;
}

.hero-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 12px 14px;
  font-size: 12px;
}

.hero-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--brand-navy);
}

/* Sections */

.section-header {
  margin-bottom: 16px;
}

.section-header h2 {
  margin: 0 0 6px;
  font-size: 22px;
  color: var(--brand-navy);
}

.section-header p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* Criteria cards */

.criteria-section {
  padding: 32px 0 12px;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.info-card {
  background: var(--brand-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 14px 14px 12px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
  color: inherit;
}

.info-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--brand-navy);
}

.info-card p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.pill {
  display: inline-block;
  padding: 3px 9px;
  font-size: 11px;
  border-radius: 999px;
  background: rgba(0, 166, 166, 0.08);
  color: var(--brand-teal);
}

/* Tools */

.tools-section {
  padding: 28px 0;
  background: var(--brand-bg);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tool-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 16px 16px 14px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.04);
}

.tool-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--brand-navy);
}

.tool-card p {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.tool-card a {
  font-size: 13px;
}

/* Content hub */

.content-section {
  padding: 32px 0 50px;
  background: #ffffff;
}

.content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
}

.content-image img {
  width: 100%;
  height: auto;
}

.content-body {
  padding: 12px 14px 14px;
}

.content-body h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--brand-navy);
}

.content-body p {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.content-body a {
  font-size: 13px;
}

/* Footer */

.site-footer {
  background: var(--brand-navy-dark);
  color: #cbd5f5;
  padding-top: 26px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(148, 163, 199, 0.4);
}

.footer-col h4 {
  margin: 0 0 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e5edff;
}

.footer-col a {
  display: block;
  font-size: 12px;
  color: #cbd5f5;
  margin-bottom: 4px;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding: 10px 0 14px;
  font-size: 11px;
  color: #9ca3c7;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

/* Chat widget */

.chat-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  border-radius: 999px;
  background: var(--brand-navy);
  color: #ffffff;
  border: none;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  font-size: 13px;
  z-index: 100;
}

.chat-launcher-icon {
  font-size: 16px;
}

.chat-launcher-label {
  display: inline-block;
}

/* Chat panel */

.chat-panel {
  position: fixed;
  right: 24px;
  bottom: 86px;
  width: 340px;
  max-height: 520px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-subtle);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 100;
}

.chat-panel.chat-open {
  display: flex;
}

.chat-header {
  background: var(--brand-navy);
  color: #ffffff;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.chat-title {
  font-size: 14px;
  font-weight: 600;
}

.chat-subtitle {
  font-size: 11px;
  opacity: 0.85;
}

.chat-close {
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
}

.chat-messages {
  flex: 1;
  padding: 10px;
  background: #f5f7fb;
  overflow-y: auto;
}

.chat-msg {
  max-width: 90%;
  padding: 7px 9px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  white-space: pre-wrap;
}

.chat-msg-bot {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  margin-right: auto;
}

.chat-msg-user {
  background: #dbeafe;
  margin-left: auto;
}

.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-top: 1px solid var(--border-subtle);
  background: #ffffff;
}

.chat-input-row textarea {
  flex: 1;
  resize: none;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  padding: 6px 8px;
  font-size: 13px;
}

/* Responsive tweaks */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .card-grid,
  .tool-grid,
  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .card-grid,
  .tool-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chat-panel {
    right: 12px;
    left: 12px;
    width: auto;
  }

  .chat-launcher {
    right: 12px;
    bottom: 16px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}