/*
  Conversation Control Series -- shared stylesheet
  Font files must be placed in /assets/fonts/ before launch.
  Download from Google Fonts:
    Archivo (Condensed width, weight 800) -> ArchivoCondensed-ExtraBold.woff2
    Inter (weight 400) -> Inter-Regular.woff2
    Inter (weight 600) -> Inter-SemiBold.woff2
  Use google-webfonts-helper.herokuapp.com to get woff2 + ttf subsets.
*/

@font-face {
  font-family: 'Archivo Condensed';
  src: url('../fonts/ArchivoCondensed-ExtraBold.woff2') format('woff2'),
       url('../fonts/ArchivoCondensed-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Regular.woff2') format('woff2'),
       url('../fonts/Inter-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-SemiBold.woff2') format('woff2'),
       url('../fonts/Inter-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---- Design tokens ---- */
:root {
  --navy:   #141B34;
  --navy-2: #182042;
  --white:  #F4F5F7;
  --muted:  #98A0B5;
  --dim:    #6E7896;
  --gold:   #F0D9A8;
  --amber:  #FF8A2B;
  --line:   rgba(244,245,247,.12);
}

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

/* ---- Base ---- */
body {
  background: var(--navy);
  color: var(--white);
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

/* ---- Layout ---- */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 44px;
}

section {
  padding: 96px 0;
}

.alt-bg {
  background: var(--navy-2);
}

/* ---- Typography ---- */
h1, h2, h3 {
  font-family: 'Archivo Condensed', 'Arial Narrow', Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  font-size: 48px;
  line-height: .98;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}

h2 {
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

h3 {
  font-size: 15px;
  letter-spacing: .14em;
}

p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: 'Inter', Helvetica, Arial, sans-serif;
}

/* ---- Header / Nav ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 44px;
  max-width: 1120px;
  margin: 0 auto;
}

.wordmark {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.wordmark img {
  display: block;
  height: 52px;
  width: auto;
}

.nav {
  display: flex;
  gap: 26px;
  list-style: none;
}

.nav a {
  color: var(--white);
  font-size: 14px;
  letter-spacing: .05em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--white);
}

.menu-toggle svg {
  display: block;
  width: 22px;
  height: 22px;
}

/* ---- Hero content ---- */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 44px 0;
}

.hero-inner {
  max-width: 660px;
}

.hero-wave {
  width: 100%;
  aspect-ratio: 2100 / 727;
  background-image: url('../img/waveform.png');
  background-image: image-set(
    url('../img/waveform.webp') type('image/webp'),
    url('../img/waveform.png') type('image/png')
  );
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  margin-top: 48px;
}

.hero-inner h1 {
  font-size: 76px;
}

.hero-sub {
  font-size: 18px;
  max-width: 490px;
  margin-bottom: 30px;
}

/* ---- Buttons ---- */
.ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: opacity .15s, background .15s;
  cursor: pointer;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  border: none;
  line-height: 1;
}

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

.btn-primary:hover {
  opacity: .88;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(244,245,247,.28);
}

.btn-ghost:hover {
  background: rgba(244,245,247,.08);
}

[aria-disabled="true"] {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---- Tables ---- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 13.5px;
}

th {
  text-align: left;
  padding: 10px 12px 10px 0;
  color: var(--dim);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  font-family: 'Inter', Helvetica, Arial, sans-serif;
}

td {
  padding: 11px 12px 11px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
}

td:first-child {
  color: var(--white);
  font-weight: 700;
  width: 130px;
}

/* ---- Footer ---- */
footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.foot a {
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
  margin-right: 20px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

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

.foot-copy {
  font-size: 11.5px;
  color: var(--dim);
}

/* ---- Focus styles ---- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---- Pull quote ---- */
.pull {
  font-size: 21px;
  line-height: 1.5;
  color: var(--white);
  font-weight: 400;
  max-width: 760px;
  margin-top: 44px;
  padding-left: 22px;
  border-left: 2px solid var(--gold);
  text-transform: none;
  font-family: 'Inter', Helvetica, Arial, sans-serif;
}

/* ---- Page header (non-hero pages) ---- */
.page-header {
  border-bottom: 1px solid var(--line);
}

/* ---- Legal pages ---- */
.legal-body h2 {
  font-size: 18px;
  margin-top: 48px;
  margin-bottom: 12px;
  text-transform: none;
  letter-spacing: 0;
  font-family: 'Inter', Helvetica, Arial, sans-serif;
}

.legal-body p {
  margin-bottom: 16px;
}

.last-updated {
  font-size: 13px;
  color: var(--dim);
  margin-bottom: 48px;
}

/* ---- Mobile ---- */
@media (max-width: 900px) {
  .wrap,
  .topbar,
  .hero-content {
    padding-left: 24px;
    padding-right: 24px;
  }

  h1 { font-size: 33px; }
  .hero-inner h1 { font-size: 52px; }
  h2 { font-size: 26px; }

  section { padding: 64px 0; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-2);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    z-index: 100;
    border-bottom: 1px solid var(--line);
  }

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

  .nav a {
    padding: 14px 24px;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .topbar {
    position: relative;
    z-index: 101;
  }
}

@media (max-width: 700px) {
  .hero-wave {
    aspect-ratio: auto;
    height: 110px;
    margin-top: 24px;
  }
}
