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

:root {
  --navy-900: #0a1628;
  --navy-800: #111d33;
  --navy-700: #1a2a45;
  --navy-600: #243757;
  --slate-500: #64748b;
  --slate-400: #8494a7;
  --slate-300: #a3b1c2;
  --slate-200: #c5cdd8;
  --slate-100: #e8ebf0;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --accent: #c9a84c;
  --accent-light: #dfc06e;
  --accent-dim: rgba(201, 168, 76, 0.15);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--navy-900);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── Animations ─── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Header ─── */
header {
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--white);
  text-decoration: none;
}

.logo-accent {
  color: var(--accent);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.85rem;
  color: var(--slate-300);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-contact-mobile {
  display: none;
}

.nav-cta {
  padding: 0.5rem 1.25rem !important;
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 4px;
  color: var(--accent) !important;
  transition: all 0.2s ease !important;
}

.nav-cta:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--accent) !important;
  color: var(--accent-light) !important;
}

/* ─── Hero ─── */
.hero {
  padding: 11rem 0 6rem;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, black 20%, transparent 70%);
}

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

.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  right: 5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--navy-600), transparent);
}

.hero-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s ease both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 680px;
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--slate-400);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  font-weight: 300;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-cta {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy-900);
  background: var(--accent);
  text-decoration: none;
  border-radius: 4px;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
  animation: fadeInUp 0.7s ease 0.3s both;
}

.hero-cta:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(201, 168, 76, 0.3);
}

/* ─── Section labels ─── */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--navy-900);
  margin-bottom: 0;
}

/* ─── Solutions ─── */
.solutions {
  padding: 6rem 0;
  background: var(--off-white);
  position: relative;
}

.solutions::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--slate-200), transparent);
}

.solutions .section-heading {
  margin-bottom: 3.5rem;
  max-width: 480px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.solution-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 2px;
  background: var(--accent);
  border-radius: 0 0 2px 2px;
  opacity: 0.25;
  transition: opacity 0.3s ease;
}

.solution-card:hover {
  border-color: var(--slate-200);
  box-shadow: 0 8px 30px rgba(10, 22, 40, 0.07);
  transform: translateY(-2px);
}

.solution-card:hover::before {
  opacity: 1;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--navy-900);
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.solution-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
}

.card-lead {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy-800) !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.55;
}

.solution-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--slate-400);
}

/* ─── About ─── */
.about {
  padding: 6rem 0;
  background: var(--white);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--slate-200), transparent);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
  position: relative;
}

.about-layout::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent-dim);
  transform: translateX(-50%);
}

.about-intro .section-heading {
  line-height: 1.3;
}

.about-content {
  padding-left: 2rem;
}

.about-content p {
  font-size: 1rem;
  color: var(--slate-500);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* ─── Contact ─── */
.contact {
  padding: 6rem 0;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--navy-600), transparent);
}

.contact::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.contact .section-label {
  color: var(--accent);
}

.contact-heading {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contact p {
  font-size: 1rem;
  color: var(--slate-400);
  line-height: 1.75;
  margin-bottom: 2rem;
  font-weight: 300;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-link {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  transition: all 0.2s ease;
  width: fit-content;
}

.contact-link:hover {
  color: var(--accent-light);
  border-color: var(--accent-light);
}

.contact-location {
  font-size: 0.85rem !important;
  color: var(--slate-400) !important;
  margin-bottom: 0 !important;
  font-weight: 400 !important;
}

/* ─── Footer ─── */
footer {
  padding: 2rem 0;
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--white);
}

.footer-legal p {
  font-size: 0.78rem;
  color: var(--slate-400);
  margin-bottom: 0;
}

/* ─── Privacy ─── */
.privacy-hero {
  padding: 8rem 0 3rem;
  background: var(--navy-900);
  position: relative;
}

.privacy-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--navy-600), transparent);
}

.privacy-hero h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.privacy-hero .privacy-date {
  font-size: 0.85rem;
  color: var(--slate-400);
  margin-bottom: 0.5rem;
}

.privacy-hero .privacy-summary {
  font-size: 1rem;
  color: var(--slate-300);
  font-weight: 300;
}

.privacy-body {
  padding: 3.5rem 0 6rem;
  background: var(--white);
}

.privacy-content {
  max-width: 720px;
  margin: 0 auto;
}

.privacy-toc {
  margin-bottom: 3rem;
  padding: 1.5rem 2rem;
  background: var(--off-white);
  border: 1px solid var(--slate-100);
  border-radius: 8px;
}

.privacy-toc p {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.privacy-toc ol {
  list-style: decimal;
  padding-left: 1.25rem;
}

.privacy-toc li {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--slate-500);
}

.privacy-toc a {
  color: var(--navy-800);
  text-decoration: none;
  transition: color 0.2s ease;
}

.privacy-toc a:hover {
  color: var(--accent);
}

.privacy-content h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--navy-900);
  margin: 2.5rem 0 1rem;
  padding-top: 1rem;
}

.privacy-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-800);
  margin: 1.5rem 0 0.5rem;
}

.privacy-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--slate-500);
  margin-bottom: 1rem;
}

.privacy-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.privacy-content ul li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--slate-500);
  padding-left: 1.25rem;
  position: relative;
}

.privacy-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

.privacy-content a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  transition: all 0.2s ease;
}

.privacy-content a:hover {
  color: var(--accent-light);
  border-color: var(--accent-light);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-links a {
  font-size: 0.78rem;
  color: var(--slate-400);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-legal-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-sep {
  color: var(--slate-400);
  font-size: 0.78rem;
}

/* ─── Focus ─── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

a:focus-visible {
  border-radius: 2px;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

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

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .solutions,
  .about,
  .contact {
    padding: 4rem 0;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .solutions .section-heading {
    margin-bottom: 2.5rem;
  }

  .section-heading {
    font-size: 1.6rem;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-layout::after {
    left: 0;
    right: 0;
    top: auto;
    bottom: auto;
    width: auto;
    height: 2px;
    transform: none;
    position: relative;
    order: 1;
  }

  .about-content {
    padding-left: 0;
    order: 2;
  }

  .contact-heading {
    font-size: 1.6rem;
  }

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

  .nav-links {
    gap: 1.5rem;
  }

  .nav-contact-desktop {
    display: none !important;
  }

  .nav-contact-mobile {
    display: list-item;
  }

  .privacy-hero {
    padding: 7rem 0 2.5rem;
  }

  .privacy-hero h1 {
    font-size: 1.8rem;
  }

  .privacy-body {
    padding: 2.5rem 0 4rem;
  }

  .privacy-toc {
    padding: 1.25rem 1.5rem;
  }

  .footer-legal-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .footer-sep {
    display: none;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .solutions-grid {
    gap: 1.25rem;
  }

  .solution-card {
    padding: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .solution-card:hover,
  .hero-cta:hover {
    transform: none;
  }
}
