:root {
  --bg: #f5efe4;
  --surface: #fffaf2;
  --surface-strong: #efe3cf;
  --text: #1f1a14;
  --muted: #65584b;
  --line: rgba(31, 26, 20, 0.12);
  --accent: #b45309;
  --accent-strong: #8a3f05;
  --shadow: 0 24px 60px rgba(60, 36, 10, 0.12);
  --radius: 24px;
  --wrap: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(212, 162, 96, 0.18), transparent 36%),
    linear-gradient(180deg, #fbf7ef 0%, var(--bg) 100%);
  font-family: Georgia, "Times New Roman", serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

main {
  min-height: 100vh;
}

.wrap {
  width: min(calc(100% - 2rem), var(--wrap));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 72px;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 300ms ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  color: #6388ff;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #090d18;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #2c3851;
  transition: color 150ms ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #6388ff;
  transition: width 300ms ease;
}

.nav-links a:hover {
  color: #090d18;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Base button styles matching btn-primary */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 999px;
  transition: all 300ms ease;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #6388ff 0%, #7f67ff 100%);
  color: #ffffff;
  border-color: #6388ff;
  box-shadow: 0 14px 34px rgba(57, 99, 255, 0.18);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #3f67f4 0%, #684cf4 100%);
  border-color: #3f67f4;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(82, 53, 255, 0.3);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 24px;
  height: 24px;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #090d18;
  transition: all 150ms ease;
  transform-origin: center;
}

.mobile-toggle.open span:first-child {
  transform: rotate(45deg) translateY(5.5px);
}

.mobile-toggle.open span:last-child {
  transform: rotate(-45deg) translateY(-5.5px);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #d6deea;
    padding: 1rem 1.5rem;
    z-index: 99;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid #e7edf6;
  }
  .nav-links a::after {
    display: none;
  }
  .nav-actions {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
}

.footer-grid,
.hero-grid,
.two-column {
  display: grid;
  gap: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--accent-strong);
}

.button--ghost {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}

.button--small {
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
}

.hero,
.section {
  padding: 4.5rem 0;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  align-items: start;
}

.eyebrow,
.card-label,
.footer-label {
  margin: 0 0 0.85rem;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
ol,
ul {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  max-width: 10ch;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  max-width: 14ch;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
}

.intro,
.footer-copy,
.card p,
.step-list,
.hero-card li {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-card,
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.82);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.5rem;
}

.bullet-list,
.step-list {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

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

.card {
  padding: 1.5rem;
}

.section--muted {
  background: rgba(255, 250, 242, 0.54);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.two-column {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

.step-list li + li {
  margin-top: 0.85rem;
}

.site-footer {
  padding: 2.5rem 0 4rem;
}

.footer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

@media (max-width: 900px) {
  .site-header .wrap,
  .hero-grid,
  .card-grid,
  .two-column,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-content: flex-start;
  }

  h1 {
    max-width: none;
  }
}

/* ===================================
   Header Dropdown & Sectors Section
   =================================== */
.nav-dropdown-wrapper {
  position: relative;
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: #2c3851;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 150ms ease;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-wrapper:hover .nav-dropdown-trigger {
  color: #090d18;
}

.chevron {
  font-size: 0.625rem;
  transition: transform 150ms ease;
}

.nav-dropdown-wrapper:hover .chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 240px;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 0.75rem 0;
  margin: 0;
  list-style: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transition: all 200ms ease;
  z-index: 1000;
}

.nav-dropdown-wrapper:hover .nav-dropdown,
.nav-dropdown-wrapper:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  color: #2c3851 !important;
  transition: all 150ms ease;
}

.nav-dropdown a:hover {
  background-color: rgba(0, 0, 0, 0.03);
  color: #090d18 !important;
  padding-left: 1.5rem;
}

.sectors-section {
  padding: 4.5rem 0;
  background-color: #ffffff;
  border-top: 1px solid var(--line);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.sector-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 200ms ease;
  height: 100%;
}

.sector-card:hover {
  transform: translateY(-4px);
  border-color: var(--sector-color);
  box-shadow: var(--shadow);
}

.sector-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.sector-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.sector-card p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.sector-cta {
  font-size: 0.875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 150ms ease;
}

.sector-card:hover .sector-cta {
  gap: 0.5rem;
}

.sector-mockup-wrapper {
  width: 100%;
  height: 180px;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 1rem;
  position: relative;
  margin-bottom: 1rem;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sector-mockup-img {
  width: 85%;
  height: auto;
  object-fit: contain;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.sector-card:hover .sector-mockup-img {
  transform: translateY(-6px);
}

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

@media (max-width: 768px) {
  .nav-dropdown {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100%;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 1rem;
    display: none;
  }
  .nav-dropdown-wrapper.open .nav-dropdown {
    display: block;
  }
  .nav-dropdown a {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    padding: 0.75rem 0;
  }
  .nav-dropdown-trigger {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid #e7edf6;
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .sectors-grid {
    grid-template-columns: 1fr;
  }
}
