/* ==========================================================================
   EverInq — About / Technical Overview Stylesheet
   Same design system as the main marketing site (Instrument Sans display,
   IBM Plex Sans body, Spectra 6-derived accent palette) applied to this
   page's denser, spec-sheet layout.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

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

:root {
  --paper:        #FFFFFF;
  --paper-raised: #FAFAF7;
  --ink:          #1C1C1A;
  --ink-soft:     #48473F;
  --ink-faint:    #837F72;
  --rule:         #DEDACE;

  --spectra-red:    #E83528;
  --spectra-yellow: #F5C133;
  --spectra-green:  #4A9E6B;
  --spectra-blue:   #2471A3;

  --accent:      var(--spectra-blue);
  --accent-warm: var(--spectra-red);

  --font-display: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w: 760px;
}

html { background: var(--paper); }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
  padding: 0 16px 48px;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── sticky nav (matches main-site) ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 14px 16px;
  margin: 0 -16px;
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.nav-logo {
  height: 34px;
  width: auto;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}

.nav-links li {
  padding: 0;
}

.nav-links li::before {
  content: none;
}

.nav-links a { text-decoration: none; color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }

.nav-links .portal-link {
  border: 1px solid var(--ink);
  border-radius: 4px;
  padding: 6px 12px;
  color: var(--ink);
}
.nav-links .portal-link:hover { background: var(--ink); color: var(--paper); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
}

@media (max-width: 640px) {
  .site-nav .wrap {
    position: relative;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 6px;
    padding: 16px;
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-links .portal-link {
    width: 100%;
    text-align: center;
  }
}

/* ── rules ── */
hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 32px 0;
}

/* ── page header ── */
.page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 24px;
  margin: 32px 0;
  align-items: start;
}

.page-head h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.page-head-note {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

.page-head-note strong { color: var(--ink); font-weight: 600; }

@media (max-width: 620px) {
  .page-head { grid-template-columns: 1fr; gap: 10px; }
}

/* ── sections ── */
.section { margin-bottom: 0; }

.eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
  font-weight: 500;
}

/* section heading display rows */
.section-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 6px;
  margin-bottom: 4px;
  line-height: 1.1;
}

.hardware-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 6px;
  margin-bottom: 10px;
  line-height: 1.1;
}

.head-word {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
}

.head-word.red   { color: var(--spectra-red);   font-weight: 600; font-style: italic; }
.head-word.blue  { color: var(--spectra-blue);  font-weight: 600; font-style: italic; }
.head-word.green { color: var(--spectra-green); font-weight: 600; font-style: italic; }
.head-word.light { color: var(--ink-faint); font-weight: 400; }
.head-word.sm    { font-size: 22px; }

.head-word.black { color: var(--ink); padding-right: 6px; margin-bottom: 20px; margin-top: 10px; }
.head-word.black img { vertical-align: -1px; }

.section-sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.section-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

p { margin-bottom: 14px; font-size: 14px; color: var(--ink-soft); }

/* ── bullets ── */
ul {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
}

ul li {
  font-size: 13.5px;
  color: var(--ink-soft);
  padding: 3px 0 3px 18px;
  position: relative;
  line-height: 1.6;
}

ul li::before {
  content: '\2013';
  position: absolute;
  left: 0;
  color: var(--rule);
}

ul li strong { color: var(--ink); font-weight: 600; }

/* ── callout / italic expansion note ── */
.callout {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-style: italic;
  color: var(--ink-soft);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 10px 16px;
  background: var(--paper-raised);
  margin: 16px 0 0;
  line-height: 1.65;
}

/* ── partnership section ── */
.partnership-block {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 12px 18px;
  background: var(--paper-raised);
  margin-bottom: 0;
}

.partnership-block p {
  margin-bottom: 10px;
}

.partnership-block p:last-child { margin-bottom: 0; }

/* ── stage row ── */
.stage-block {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 0;
}

.stage-label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
  padding-top: 3px;
  min-width: 52px;
}

.stage-content { font-size: 13px; color: var(--ink-soft); line-height: 1.65; }
.stage-content strong { color: var(--ink); font-weight: 600; }

.waitlist-input {
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--paper-raised);
  color: var(--ink);
  flex: 1;
  min-width: 0;
}

.waitlist-submit {
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--paper);
  background: var(--ink);
  border: none;
  border-radius: 4px;
  margin-left: 8px;
  cursor: pointer;
}
.waitlist-submit:hover { background: var(--accent); }

/* ── footer ── */
footer {
  margin-top: 32px;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
  font-size: 11.5px;
  color: var(--ink-faint);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── responsive ── */
@media (max-width: 520px) {
  .head-word { font-size: 26px; }
  .head-word.sm { font-size: 18px; }
  .stage-block { flex-direction: column; gap: 4px; }
  .hardware-head {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 12px;
  }

  .hardware-head span:first-child {
    display: flex;
    align-items: center;
  }

  .hardware-head .head-word.light {
    font-size: 14px;
    line-height: 1.5;
  }
  .section-head { flex-wrap: nowrap; align-items: center; }
  .section-head span:first-child { flex-shrink: 0; }
  .section-head .head-word.light { font-size: 16px; line-height: 1.3; }
  footer { flex-direction: column; }
}
