:root {
  --bg: #020617;
  --bg-alt: #02091f;
  --card: #020a24;
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.16);
  --border-subtle: rgba(148, 163, 184, 0.35);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --muted-soft: #6b7280;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.9);
  --radius-lg: 18px;
  --radius-xl: 24px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.18), transparent 60%),
    linear-gradient(135deg, #020617, #020617 40%, #02091f);
  color: var(--text);
  min-height: 100vh;
}

.page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 2.25rem 1.5rem 3rem;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 1.35rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.45);
  backdrop-filter: blur(24px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
  position: sticky;
  top: 1.25rem;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-logo {
  height: 26px;
  width: auto;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.brand-name {
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f9fafb;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.header-links a {
  text-decoration: none;
  color: inherit;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.header-links a:hover {
  color: #f9fafb;
  border-color: rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
}

.header-pill {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.header-pill-dot {
  display: inline-block;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #f97316, #ea580c);
  box-shadow: 0 0 9px rgba(249, 115, 22, 0.9);
}

/* Layout */

.main {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 1.85rem;
  align-items: stretch;
}

.hero-left {
  padding: 2.1rem 2rem;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top, rgba(15, 118, 110, 0.25), transparent 58%),
              radial-gradient(circle at 110% 20%, rgba(59, 130, 246, 0.25), transparent 55%),
              rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-left::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 10% 10%, rgba(96, 165, 250, 0.12), transparent 60%),
    radial-gradient(circle at 90% 0%, rgba(248, 250, 252, 0.06), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

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

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.hero-eyebrow span {
  width: 36px;
  height: 1px;
  background: linear-gradient(to right, rgba(148, 163, 184, 0.1), rgba(148, 163, 184, 0.8));
}

.hero-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin: 0 0 0.9rem;
  color: #f9fafb;
}

.hero-lede {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.4rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}

.hero-chip {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 0.4rem 0.9rem;
  color: var(--muted-soft);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.7), rgba(17, 24, 39, 0.96));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: centre;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: #0b1120;
  background: radial-gradient(circle at 20% 0%, #fed7aa, #f97316);
  box-shadow:
    0 10px 25px rgba(249, 115, 22, 0.5),
    0 0 0 1px rgba(15, 23, 42, 0.9);
  gap: 0.5rem;
  overflow: hidden;
}

.btn-primary span.plane {
  font-size: 1.2rem;
  transform: translateY(1px);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.7);
}

.btn-secondary-dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.7);
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-soft);
  opacity: 0.9;
}

.hero-right {
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at 0% 0%, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  position: relative;
  overflow: hidden;
}

.hero-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.2), transparent 65%),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.5), transparent 45%);
  pointer-events: none;
}

.hero-right-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  height: 100%;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
}

.hero-right-inner strong {
  color: #e5e7eb;
  font-weight: 600;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: centre;
  gap: 0.75rem;
}

.panel-title {
  font-size: 0.88rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.panel-tag {
  font-size: 0.72rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--muted-soft);
  background: rgba(15, 23, 42, 0.85);
}

.areas {
  background: var(--bg-soft);
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--border-soft);
}

.areas-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.area-pill {
  flex: 1 1 200px;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle at top left, var(--accent-soft), rgba(5, 9, 30, 0.9));
  font-size: 0.86rem;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  min-height: 2.4rem;
  line-height: 1.3;
  text-align: left;
}

.area-pill span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.75;
  white-space: nowrap;
}

/* What we do */

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

.card {
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 1.2rem 1.2rem 1.3rem;
  border: 1px solid var(--border-soft);
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at 0% 0%, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.96));
  padding: 0.95rem 1rem 1rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
}

.about-card strong {
  color: #e5e7eb;
  font-weight: 600;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.3rem;
}

.stat {
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 0.6rem 0.75rem;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.98));
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-bottom: 0.25rem;
}

.stat-value {
  font-size: 1rem;
  font-weight: 600;
  color: #f9fafb;
}

.stat-hint {
  font-size: 0.75rem;
  color: var(--muted);
}

.topics {
  margin-top: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(148, 163, 184, 0.7);
  padding: 0.9rem 1rem;
  background: rgba(15, 23, 42, 0.85);
}

.topics-title {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-bottom: 0.6rem;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  font-size: 0.8rem;
}

.topic-pill {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 0.4rem 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(15, 23, 42, 0.9);
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topic-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.9);
}

/* Follow section */

.follow-section {
  margin-top: 1.5rem;
  padding: 1.3rem 1.3rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.6);
  background:
    radial-gradient(circle at 0% 100%, rgba(249, 115, 22, 0.25), transparent 60%),
    rgba(15, 23, 42, 0.96);
  box-shadow: var(--shadow-soft);
}

.follow-header {
  display: flex;
  align-items: centre;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
}

.follow-title {
  font-size: 1rem;
  font-weight: 600;
  color: #f9fafb;
}

.follow-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 32rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.social-link {
  --size: 2.5rem;
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  color: #f9fafb;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 30% 0%, rgba(248, 250, 252, 0.4), rgba(15, 23, 42, 0.95));
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.9);
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

.social-link span {
  position: relative;
  z-index: 1;
}

.social-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(249, 115, 22, 0.65), transparent 55%);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.social-link:hover {
  transform: translateY(-1px);
  border-color: #fed7aa;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.9);
}

.social-link:hover::after {
  opacity: 1;
}

.social-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--muted-soft);
}

.social-labels span {
  display: inline-flex;
  align-items: centre;
  gap: 0.35rem;
}

.social-label-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(to bottom right, #fed7aa, #f97316);
  box-shadow: 0 0 7px rgba(249, 115, 22, 0.9);
}

/* Contact */

.contact-main {
  gap: 2rem;
}

.contact-form-card {
  margin-top: 0.5rem;
  padding: 1.3rem 1.4rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(circle at 0% 0%, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.96));
  box-shadow: var(--shadow-soft);
}

.contact-form-intro {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0.4rem 0 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem 0.85rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.form-control {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: var(--text);
  padding: 0.75rem 0.85rem;
  font-size: 0.9rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.form-control:focus {
  outline: none;
  border-color: #f97316;
  background: rgba(249, 115, 22, 0.06);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25);
}

.form-textarea {
  min-height: 170px;
  resize: vertical;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--muted-soft);
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.7rem;
}

.contact-list-item {
  padding: 0.75rem 0.8rem;
  border: 1px dashed rgba(148, 163, 184, 0.5);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.75);
}

.contact-list-label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-bottom: 0.2rem;
}

.contact-list-value {
  color: #e5e7eb;
  font-weight: 600;
}

/* Legal pages */

.legal-main {
  gap: 2rem;
}

.legal-section {
  background: radial-gradient(circle at 0% 0%, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.6);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.3rem 1.4rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.legal-section h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f9fafb;
}

.legal-section h3 {
  margin: 0.6rem 0 0.25rem;
  font-size: 0.95rem;
  color: #e5e7eb;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

.legal-list {
  padding-left: 1.2rem;
  margin: 0.25rem 0 0.4rem;
}

.legal-meta {
  font-size: 0.8rem;
  color: var(--muted-soft);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}

/* Responsive tweaks */

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0.85rem 1rem;
    gap: 0.65rem;
  }

  .header-links {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
  }

  .header-links a {
    flex: 0 0 auto;
    padding: 0.4rem 0.9rem;
  }

  .header-pill {
    display: none;
  }
}

/* Footer */

.site-footer {
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--muted-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: centre;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
  align-items: centre;
}

.footer-links a {
  color: var(--muted-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: #e5e7eb;
  text-decoration: underline;
}

/* Responsive tweaks */

@media (max-width: 800px) {
  .site-header {
    border-radius: 18px;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.9rem 1rem;
  }

  .brand-tagline {
    white-space: normal;
  }

  .header-links {
    width: 100%;
    justify-content: space-between;
  }

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

  .hero-left {
    padding: 1.6rem 1.4rem;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 1.4rem 1.1rem 2rem;
  }

  .hero-meta {
    gap: 0.4rem;
  }

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

  .follow-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 420px) {
  .topics-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-links {
    flex-direction: column;
    align-items: stretch;
  }

  .header-links a {
    width: 100%;
    justify-content: centre;
  }
}
