/* ==========================================================================
   SHEQ Aegis marketing site — theme tokens match sheq-aegis-vextex-ui
   ========================================================================== */
:root {
  --sheq-bg: #f2f1ec;
  --sheq-surface: #ffffff;
  --sheq-border: #ddd8ce;
  --sheq-navy: #283080;
  --sheq-navy-light: #4d5cc2;
  --sheq-blue: #146a7a;
  --sheq-blue-light: #e6f3f5;
  --sheq-text: #1e2440;
  --sheq-text-muted: #6a6f85;
  --sheq-success: #3d7a52;
  --sheq-warning: #d68a1f;
  --sheq-danger: #b83a3a;
  --sheq-radius: 10px;
  --sheq-font-heading: "Lora", "Georgia", serif;
  --sheq-font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--sheq-font-body);
  color: var(--sheq-text);
  background: var(--sheq-bg);
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3 {
  font-family: var(--sheq-font-heading);
  color: var(--sheq-navy);
  line-height: 1.25;
  margin: 0 0 0.6em;
}
p {
  margin: 0 0 1em;
  color: var(--sheq-text);
}
a {
  color: var(--sheq-blue);
}
ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--sheq-navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: var(--sheq-radius);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--primary {
  background: var(--sheq-navy);
  color: #fff;
}
.btn--primary:hover {
  background: var(--sheq-navy-light);
}
.btn--outline {
  background: transparent;
  color: var(--sheq-navy);
  border-color: var(--sheq-navy);
}
.btn--outline:hover {
  background: var(--sheq-blue-light);
}
.btn--ghost {
  background: transparent;
  color: var(--sheq-navy);
  border-color: var(--sheq-border);
}
.btn--ghost:hover {
  background: var(--sheq-blue-light);
}
.btn--block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 241, 236, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--sheq-border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand__logo {
  height: 34px;
  width: auto;
}
.brand__name {
  font-family: var(--sheq-font-heading);
  font-size: 1.1rem;
  color: var(--sheq-navy);
}
.nav {
  display: flex;
  gap: 28px;
}
.nav a {
  text-decoration: none;
  color: var(--sheq-text);
  font-weight: 500;
}
.nav a:hover {
  color: var(--sheq-navy);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  height: 2px;
  background: var(--sheq-navy);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 40px;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sheq-blue);
  margin-bottom: 12px;
}
.eyebrow--center {
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}
.hero__lead {
  font-size: 1.08rem;
  color: var(--sheq-text-muted);
  max-width: 46ch;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.9rem;
  color: var(--sheq-text-muted);
}
.hero__trust li::before {
  content: "✓ ";
  color: var(--sheq-success);
  font-weight: 700;
}
.hero__art svg {
  width: 100%;
  height: auto;
}

/* ---------- Strip ---------- */
.strip {
  background: var(--sheq-navy);
  color: #fff;
  padding: 28px 0;
}
.strip__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  text-align: center;
}
.strip__item {
  flex: 1 1 200px;
}
.strip__num {
  display: block;
  font-family: var(--sheq-font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}
.strip__item span:last-child {
  color: #d7dcf7;
  font-size: 0.92rem;
}

/* ---------- Sections ---------- */
.section {
  padding: 88px 0;
}
.section--alt {
  background: var(--sheq-surface);
}
.section__title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  text-align: center;
  max-width: 46ch;
  margin: 0 auto 0.5em;
}
.section__title--left {
  text-align: left;
  margin-left: 0;
}
.section__lead {
  text-align: center;
  max-width: 56ch;
  margin: 0 auto 44px;
  color: var(--sheq-text-muted);
}

/* ---------- Feature grid ---------- */
.grid--features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--sheq-surface);
  border: 1px solid var(--sheq-border);
  border-radius: var(--sheq-radius);
  padding: 28px;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.card:hover {
  box-shadow: 0 12px 28px rgba(30, 36, 64, 0.08);
  transform: translateY(-3px);
}
.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4em;
}
.card p {
  color: var(--sheq-text-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--icon-bg, var(--sheq-blue-light));
  color: var(--icon-fg, var(--sheq-blue));
  margin-bottom: 16px;
}
.card__icon svg {
  width: 24px;
  height: 24px;
}

/* ---------- Tag list ---------- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.tag {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--sheq-blue-light);
  color: var(--sheq-blue);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---------- About ---------- */
.about__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about__list {
  margin-top: 20px;
}
.about__list li {
  padding: 10px 0;
  border-top: 1px solid var(--sheq-border);
}
.about__list li:first-child {
  border-top: none;
}

/* ---------- Contact ---------- */
.contact__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
.contact__details {
  margin-top: 20px;
}
.contact__details li {
  padding: 6px 0;
  color: var(--sheq-text-muted);
}
.contact__form {
  background: var(--sheq-surface);
  border: 1px solid var(--sheq-border);
  border-radius: var(--sheq-radius);
  padding: 32px;
}
.form__row {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form__row label {
  font-weight: 600;
  font-size: 0.9rem;
}
.form__row input,
.form__row textarea {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--sheq-border);
  border-radius: 8px;
  background: var(--sheq-bg);
  color: var(--sheq-text);
}
.form__row input:focus,
.form__row textarea:focus {
  outline: none;
  border-color: var(--sheq-navy);
  box-shadow: 0 0 0 3px var(--sheq-blue-light);
}
.form__status {
  min-height: 1.2em;
  font-size: 0.9rem;
  margin: 12px 0 0;
}
.form__status.is-success {
  color: var(--sheq-success);
}
.form__status.is-error {
  color: var(--sheq-danger);
}

/* ---------- Legal pages ---------- */
.legal__inner {
  max-width: 760px;
}
.legal h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}
.legal__updated {
  color: var(--sheq-text-muted);
  font-size: 0.9rem;
}
.legal h2 {
  font-size: 1.25rem;
  margin-top: 1.6em;
}
.legal ul {
  list-style: disc;
  padding-left: 1.4em;
  margin: 0 0 1em;
}
.legal li {
  margin-bottom: 0.5em;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--sheq-border);
  padding: 32px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__nav {
  display: flex;
  gap: 22px;
}
.footer__nav a {
  text-decoration: none;
  color: var(--sheq-text-muted);
  font-size: 0.9rem;
}
.footer__nav a:hover {
  color: var(--sheq-navy);
}
.footer__copy {
  color: var(--sheq-text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__inner,
  .about__inner,
  .contact__inner {
    grid-template-columns: 1fr;
  }
  .about__art {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
  }
  .grid--features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--sheq-bg);
    border-bottom: 1px solid var(--sheq-border);
    flex-direction: column;
    padding: 16px 24px;
    display: none;
    gap: 16px;
  }
  .nav.is-open {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
  .header__actions .btn--ghost {
    display: none;
  }
  .grid--features {
    grid-template-columns: 1fr;
  }
  .strip__inner {
    text-align: left;
  }
}
