:root {
  --charcoal: #111111;
  --charcoal-2: #1e1e1e;
  --charcoal-3: #252525;
  --white: #f6f6f6;
  --silver: #d9d9d9;
  --silver-soft: #b9b9b9;
  --silver-dim: #888888;
  --muted: #c6c6c6;
  --line: rgba(217, 217, 217, 0.17);
  --max: 1240px;
  --radius: 28px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  background: var(--charcoal);
  color: var(--white);
  font-family: "Avenir Next", "Montserrat", "Inter", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  width: min(var(--max), calc(100% - clamp(32px, 5vw, 64px)));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
}

.nav {
  width: 100%;
  min-height: 94px;
  padding: calc(16px + env(safe-area-inset-top, 0px)) max(48px, env(safe-area-inset-right, 0px)) 16px max(48px, env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(17, 17, 17, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--silver);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand img {
  width: 68px;
  height: 68px;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
  transform: scale(1.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link,
.mega-trigger,
.nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--silver-soft);
  font: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
}

.mega-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.82;
}

.mega-trigger {
  padding: 0 16px;
  border: 1px solid rgba(217, 217, 217, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.mega-trigger:hover,
.nav-item.mega-open .mega-trigger {
  border-color: rgba(246, 246, 246, 0.48);
  background: rgba(246, 246, 246, 0.14);
}

.nav-link:hover,
.mega-trigger:hover,
.nav-cta:hover {
  color: var(--white);
}

.nav-cta {
  padding: 0 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.nav-item {
  position: relative;
}

.mega {
  position: absolute;
  top: calc(100% + 16px);
  right: -80px;
  width: min(680px, calc(100vw - 64px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(30, 30, 30, 0.92);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-item:hover .mega,
.nav-item:focus-within .mega,
.nav-item.mega-open .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mega a {
  min-height: 68px;
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--muted);
}

.mega a:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.mega strong {
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mega-section {
  grid-column: 1 / -1;
  margin: 4px 4px 0;
  color: var(--silver-dim);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mega span {
  font-size: 0.82rem;
  line-height: 1.45;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--white);
}

.page-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: calc(86px + env(safe-area-inset-top, 0px)) 0 clamp(28px, 5vh, 56px);
  border-bottom: 1px solid rgba(217, 217, 217, 0.2);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hero-image);
  background-position: var(--hero-position, center);
  background-size: cover;
  transform: scale(1.03);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, var(--hero-shade-left, 0.84)), rgba(17, 17, 17, var(--hero-shade-mid, 0.48)) 44%, rgba(17, 17, 17, var(--hero-shade-right, 0.18))),
    linear-gradient(0deg, rgba(17, 17, 17, 0.92), transparent 34%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
}

.hero-copy {
  max-width: 790px;
}

.eyebrow {
  display: block;
  margin-bottom: 18px;
  color: rgba(246, 246, 246, 0.62);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.65rem, 7vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: 12px;
  color: var(--silver);
  font-size: 1rem;
  letter-spacing: 0.16em;
}

.lead {
  max-width: 680px;
  margin-top: 24px;
  color: rgba(246, 246, 246, 0.78);
  font-size: clamp(1.04rem, 1.45vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--white);
  color: var(--charcoal);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.hero-card {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(28, 28, 28, 0.62), rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(24px) saturate(1.12);
  -webkit-backdrop-filter: blur(24px) saturate(1.12);
  box-shadow: var(--shadow);
}

.hero-card ul {
  display: grid;
  gap: 14px;
  list-style: none;
}

.hero-card li {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.hero-card li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hero-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section {
  padding: 100px 0;
}

.page-hero + .section {
  position: relative;
  padding-top: clamp(112px, 10vw, 148px);
  box-shadow: inset 0 54px 88px rgba(0, 0, 0, 0.28);
}

.page-hero + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 246, 246, 0.24), transparent);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: rgba(246, 246, 246, 0.66);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.breadcrumb a {
  color: rgba(246, 246, 246, 0.86);
}

.breadcrumb span:not(:last-child)::after,
.breadcrumb a::after {
  content: "/";
  margin-left: 8px;
  color: rgba(246, 246, 246, 0.36);
}

.section-muted {
  background: var(--charcoal-2);
}

.section-header {
  max-width: 760px;
  margin-bottom: 44px;
}

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

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-item {
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.faq-item h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 0.9rem;
  line-height: 1.35;
}

.faq-item p {
  color: var(--muted);
}

.step-list,
.fact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
}

.step-list li,
.fact-list li {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.step-list strong,
.fact-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card {
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.panel {
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.card p,
.panel p,
.copy p,
.copy li {
  color: var(--muted);
}

.copy {
  max-width: 880px;
}

.copy p {
  margin-bottom: 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: start;
}

.list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.brand-strip {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.brand-strip img {
  width: 100%;
  max-height: 220px;
  aspect-ratio: 1 / 1;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  object-fit: contain;
}

.cta {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--white);
  color: var(--charcoal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer {
  padding: 58px 0;
  border-top: 1px solid var(--line);
  background: var(--charcoal-2);
  color: var(--silver-dim);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 44px;
  margin-bottom: 44px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--silver);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-brand img {
  width: 68px;
  height: 68px;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
  transform: scale(1.08);
}

.footer-col h4 {
  margin-bottom: 18px;
  color: var(--silver);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 10px;
  list-style: none;
}

.footer-col a {
  color: var(--muted);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

@media (max-width: 1060px) {
  .nav-links {
    gap: 18px;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 620px;
  }
}

@media (max-width: 820px) {
  .nav {
    padding: calc(10px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px));
  }

  .brand span {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: calc(92px + env(safe-area-inset-top, 0px));
    left: 14px;
    right: 14px;
    max-height: calc(100dvh - 86px - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(30, 30, 30, 0.98);
    -webkit-overflow-scrolling: touch;
  }

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

  .nav-link,
  .mega-trigger,
  .nav-cta {
    width: 100%;
    justify-content: flex-start;
    min-height: 48px;
  }

  .nav-cta {
    padding: 0 16px;
    border: 1px solid rgba(217, 217, 217, 0.24);
  }

  .mega {
    position: static;
    width: 100%;
    margin-top: 8px;
    padding: 10px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
  }

  .mega-grid,
  .faq-grid,
  .step-list,
  .fact-list,
  .grid {
    grid-template-columns: 1fr;
  }

  .mega a {
    min-height: 56px;
    padding: 12px;
    border-color: rgba(217, 217, 217, 0.11);
    background: rgba(17, 17, 17, 0.18);
  }

  .mega-section {
    margin-top: 8px;
  }

  .page-hero {
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: calc(78px + env(safe-area-inset-top, 0px));
    padding-bottom: 24px;
  }

  .page-hero::before {
    background-position: var(--hero-position-mobile, var(--hero-position, center));
  }

  .page-hero::after {
    background:
      linear-gradient(180deg, rgba(17, 17, 17, 0.22), rgba(17, 17, 17, 0.72) 46%, rgba(17, 17, 17, 0.96)),
      linear-gradient(90deg, rgba(17, 17, 17, 0.72), rgba(17, 17, 17, 0.16));
  }

  .hero-grid {
    gap: 22px;
  }

  .hero-card {
    padding: 18px;
    border-radius: 22px;
  }

  .hero-card ul {
    gap: 8px;
  }

  .hero-card li {
    padding-bottom: 8px;
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .hero-card strong {
    margin-bottom: 2px;
    font-size: 0.7rem;
  }

  .hero-actions {
    width: 100%;
    gap: 10px;
    margin-top: 24px;
  }

  .btn {
    width: 100%;
    min-height: 48px;
  }

  .section {
    padding: 70px 0;
  }

  .page-hero + .section {
    padding-top: 88px;
  }

  .brand-strip {
    grid-template-columns: 1fr;
  }

  .brand-strip img {
    max-width: 180px;
    max-height: 180px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  elevenlabs-convai {
    display: none;
  }

  .page-hero {
    align-items: start;
    padding-top: calc(104px + env(safe-area-inset-top, 0px));
  }

  .container {
    width: calc(100% - 28px);
  }

  h1 {
    font-size: clamp(2rem, 10.5vw, 2.55rem);
  }

  h2 {
    font-size: clamp(1.8rem, 10vw, 2.4rem);
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 0.68rem;
    letter-spacing: 0.2em;
  }

  .lead {
    margin-top: 18px;
    font-size: 0.94rem;
    line-height: 1.48;
  }

  .card {
    padding: 24px;
    border-radius: 18px;
  }
}
