/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--white);
  background: var(--navy);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ===== Design tokens ===== */
:root {
  --navy:         #0d1821;
  --navy-2:       #111f2e;
  --navy-3:       #162436;
  --amber:        #cf8248;
  --amber-2:      #e8a06a;
  --amber-dim:    rgba(207,130,72,0.12);
  --amber-border: rgba(207,130,72,0.25);
  --steel:        #4a7fa5;
  --white:        #f5f0eb;
  --muted:        #7a8fa0;
  --border:       rgba(255,255,255,0.07);
}

/* ===== Utility ===== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 640px) {
  .container { padding: 0 24px; }
}

/* ===== Nav ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(13, 24, 33, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 1px;
}
.nav-express {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--amber);
}
.nav-brand {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--white);
}
.dot-ai {
  font-family: 'Space Mono', monospace;
  font-weight: 400;
  color: var(--amber);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 8px;
  background: var(--amber);
  color: var(--navy);
  box-shadow: 0 4px 24px rgba(207,130,72,0.30);
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover {
  background: var(--amber-2);
  transform: translateY(-2px);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 110;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 640px) {
  nav { padding: 0 24px; }
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 64px 0 0 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 48px;
    gap: 28px;
    background: rgba(13, 24, 33, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 18px; }

  .nav-cta { display: none; }
  .nav-links.open ~ .nav-cta { display: none; }
}

/* ===== Footer ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 56px 48px 40px;
  text-align: center;
}
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  gap: 1px;
  margin-bottom: 24px;
}
.footer-express {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--amber);
}
.footer-brand {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--white);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-links a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 640px) {
  footer { padding: 40px 24px 32px; }
  .footer-links { gap: 16px; }
}

/* ===== Shared button styles ===== */
.btn-primary {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 10px;
  background: var(--amber);
  color: var(--navy);
  box-shadow: 0 4px 24px rgba(207,130,72,0.30);
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover {
  background: var(--amber-2);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 10px;
  background: transparent;
  color: var(--amber);
  border: 1px solid var(--amber-border);
  transition: background 0.2s, transform 0.2s;
}
.btn-secondary:hover {
  background: var(--amber-dim);
  transform: translateY(-2px);
}

/* ===== Section headings ===== */
.section-heading {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 34px;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 16px;
}
.section-subheading {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 48px;
}

@media (max-width: 640px) {
  .section-heading { font-size: 26px; }
  .section-subheading { font-size: 15px; }
}
