/* -----------------------------
   Base & layout
----------------------------- */

:root {
  --color-bg: #050814;
  --color-bg-alt: #0e1222;
  --color-surface: #151a2b;
  --color-border-subtle: rgba(255, 255, 255, 0.06);
  --color-primary: #f5a623;
  --color-primary-soft: rgba(245, 166, 35, 0.16);
  --color-text: #f5f7ff;
  --color-text-muted: #9aa0b8;
  --color-link: #f5a623;
  --color-link-hover: #ffd27a;

  --font-sans: Lato, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --shadow-soft: 0 14px 35px rgba(0, 0, 0, 0.45);
  --shadow-subtle: 0 8px 20px rgba(0, 0, 0, 0.3);

  --max-width: 1120px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(circle at top left, #141a33 0, #050814 55%);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Containers & sections */

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

.section {
  padding: 4rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, #151a2b 0, #050814 80%);
}

.section-inner {
  position: relative;
}

.section-header {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-size: 1.8rem;
}

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

/* Typography */

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.3rem, 3vw + 1.5rem, 3rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.15rem;
  margin-top: 0;
}

p {
  margin: 0 0 1rem;
}

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

a:hover,
a:focus-visible {
  color: var(--color-link-hover);
  text-decoration: underline;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 20, 0.96),
    rgba(5, 8, 20, 0.8),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header a, 
.site-header a:link, 
.site-header a:hover, 
.site-header a:active, 
.site-header a:visited {
  text-decoration: none !important;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.5rem;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  font-size: 30px;
  color: #EFAC20;
}

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

.brand-name {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

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

.main-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.main-nav a {
  position: relative;
  padding-bottom: 0.1rem;
  text-decoration: none;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--color-primary);
  transition: width 0.18s ease-out;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

/* Hero */

.hero {
  padding: 4.5rem 0 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 3rem;
  align-items: center;
}

.hero-copy p {
  color: var(--color-text-muted);
  max-width: 620px;
}

.hero-disclaimer {
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
  max-width: 620px;
  font-size: 0.9rem;
}

.hero-disclaimer strong {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(5, 8, 20, 0.78);
  box-shadow: var(--shadow-subtle);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(135deg, #f5a623, #ffd27a);
  color: #1a1306;
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  filter: brightness(1.05);
  text-decoration: none;
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(10, 12, 24, 0.7);
  color: var(--color-text);
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  background: rgba(21, 26, 43, 0.9);
  text-decoration: none;
}

/* Hero stats */

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

.hero-stats dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

.hero-stats dd {
  margin: 0.1rem 0 0;
  font-size: 0.9rem;
}

/* Hero side panel */

.hero-panel {
  justify-self: flex-end;
  width: 100%;
  max-width: 320px;
  background: radial-gradient(circle at top left, #20263f 0, #111522 60%);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.trust-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--color-primary-soft);
  color: #ffe7aa;
  border: 1px solid rgba(245, 166, 35, 0.45);
}

/* Grids */

.grid {
  display: grid;
  gap: 1.75rem;
}

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

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

.four-col {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.feature-grid,
.principle-grid,
.contact-grid {
  align-items: flex-start;
}
/* Cards */
.feature-card ul,
.feature-card ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}
.section-header h1 {
  margin: 0 0 0.75rem;
}
.feature-card li {
  margin-bottom: 0.25rem;
}
.feature-card,
.principle-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-subtle);
}

.feature-card.legal-entity-callout {
  border-left: 3px solid var(--color-primary);
  background: linear-gradient(
    135deg,
    rgba(245, 166, 35, 0.08),
    rgba(10, 12, 24, 0.9)
  );
}

.feature-card.legal-entity-callout p {
  margin: 0;
  font-size: 0.9rem;
}

.feature-card p,
.principle-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
/* Founder / team profile card */

.profile-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.profile-media {
  flex: 0 0 auto;
}

.profile-media img {
  display: block;
  width: 80px;       /* avatar size */
  height: 80px;      /* avatar size */
  border-radius: 999px;
  object-fit: cover; /* crop instead of squish */
}

.profile-body h3 {
  margin-bottom: 0.25rem;
}

.profile-body .muted {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

/* Stack nicely on small screens */
@media (max-width: 600px) {
  .profile-card {
    align-items: center;
  }
}

/* Contact */

.contact-grid h3 {
  margin-bottom: 0.5rem;
}

.muted {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
/* Tech icon row (implementation technologies) */
.tech-icon-row {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.tech-icon-label {
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.tech-icon-set {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.tech-icon {
  font-size: 1.25rem;
  opacity: 0.9;
}

.tech-icon:hover {
  opacity: 1;
}

/* Stack nicely on small screens */
@media (max-width: 600px) {
  .tech-icon-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #050712;
  padding: 1.4rem 0;
  margin-top: 1.5rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-nav {
  display: flex;
  gap: 1rem;
}

/* -----------------------------
   Responsive
----------------------------- */

@media (max-width: 880px) {
  .header-inner {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

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

  .hero-panel {
    justify-self: stretch;
    max-width: none;
  }

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

  .two-col,
  .three-col,
  .four-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 3rem 0;
  }
}

@media (max-width: 520px) {
  .header-inner {
    padding: 0.75rem 0.5rem;
  }

  .hero {
    padding-top: 3rem;
  }

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

/* Mobile nav toggle (Font Awesome version) */

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(5, 8, 20, 0.9);
  cursor: pointer;
  padding: 0;
  color: white;
}

.nav-toggle .nav-icon {
  font-size: 18px;
}

/* Show only the "bars" icon by default */
.nav-toggle .nav-icon-close {
  display: none;
}

/* When menu is open, swap icons */
.nav-toggle.is-open .nav-icon-bars {
  display: none;
}

.nav-toggle.is-open .nav-icon-close {
  display: inline-block;
}

/* Mobile behavior */

@media (max-width: 880px) {
  .header-inner {
    align-items: center;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    margin: 0;
    padding: 0.75rem 1.5rem 1.25rem;
    background: rgba(5, 8, 20, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: none;
    flex-direction: column;
    gap: 0.75rem;
  }

  .main-nav a {
    padding-bottom: 0;
  }

  .main-nav.main-nav--open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  /* Optional: reduce hero top padding a bit on mobile */
  .hero {
    padding-top: 3.25rem;
  }
}