/* Elo & Co, shared styles */
:root {
  --bg: #FAFAF8;
  --bg-panel: #EEF1E9;
  --ink: #222623;
  --ink-soft: #646B64;
  --sage: #7A8570;
  --sage-strong: #728448;
  --sage-bullet: #7B8B65;
  --sage-index: #89927F;
  --lime: #D5ED8C;
  --lime-hover: #C6E476;
  --lime-ink: #26331E;
  --line: #DCE0D7;
  --white: #FAFAF8;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 640px) {
  .wrap { padding: 0 24px; }
}

/* header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.logo .mark { width: 30px; height: 30px; flex-shrink: 0; }
.logo .amp { font-style: italic; font-weight: 400; color: var(--sage); }
.logo-img { height: 36px; width: auto; display: block; }

nav.main-nav {
  display: flex;
  gap: 34px;
  font-size: 15px;
  flex-wrap: wrap;
  row-gap: 8px;
}
nav.main-nav a {
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
nav.main-nav a.active { color: var(--ink); border-bottom-color: var(--sage-strong); }
nav.main-nav a:hover { color: var(--ink); }

/* mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
  .site-header { flex-wrap: nowrap; }
  .nav-toggle { display: flex; }
  nav.main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    row-gap: 0;
    padding: 4px 0 12px;
    z-index: 50;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }
  nav.main-nav a:last-child { border-bottom: none; }
}

.divider { border: none; border-top: 1px solid var(--line); margin: 0; }

/* sector row */
.sector-row {
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 26px 0;
  font-size: 15px;
  color: var(--ink-soft);
}
.sector-row .sep { color: var(--line); }

/* headings */
h1, h2, h3 {
  font-weight: 450;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0;
}
h1 { letter-spacing: -0.065em; }
h3 { font-weight: 500; letter-spacing: -0.025em; }
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 18px;
}
.accent { color: var(--sage); }

/* buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: var(--lime);
  color: var(--lime-ink);
  padding: 16px 24px;
  border-radius: 4px;
  font-weight: 550;
  font-size: 15px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--lime-hover); transform: translateY(-2px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}
.text-link:hover { color: var(--sage); border-color: var(--sage); }

/* hero */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  padding: 64px 0 88px;
  align-items: stretch;
}
.hero-body p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 26px 0 34px;
}
.hero h1 { font-size: 58px; }

.panel {
  background: var(--bg-panel);
  border-radius: 20px;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sector-stack { list-style: none; margin: 0; padding: 0; }
.sector-item { border-top: 1px solid var(--line); }
.sector-item:first-child { border-top: none; }
.sector-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  color: var(--ink);
  transition: gap 0.2s ease;
}
.sector-item:first-child .sector-toggle { padding-top: 4px; }
.sector-toggle:hover { gap: 22px; }
.sector-toggle-left {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.sector-toggle .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--sage-bullet);
  flex-shrink: 0;
}
.sector-caret {
  flex-shrink: 0;
  color: var(--sage);
  display: flex;
  transition: transform 0.25s ease;
}
.sector-toggle[aria-expanded="true"] .sector-caret { transform: rotate(180deg); }
.sector-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.sector-detail-inner { overflow: hidden; }
.sector-detail-inner p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 380px;
}
.sector-item.open .sector-detail { grid-template-rows: 1fr; }
.sector-item.open .sector-detail-inner p { padding-bottom: 24px; }
@media (max-width: 640px) {
  .sector-toggle-left { font-size: 24px; }
}

/* market tags */
.market-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg-panel);
}

/* credibility stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.stat-num {
  font-size: 44px;
  font-weight: 450;
  color: var(--sage);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.stat-label { font-size: 14px; color: var(--ink-soft); line-height: 1.5; max-width: 230px; }
@media (max-width: 860px) {
  .stats-row { grid-template-columns: 1fr; gap: 24px; }
}

/* page intro (non home pages) */
.page-intro { padding: 72px 0 56px; }
.page-intro h1 { font-size: 52px; }
.page-intro p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 560px;
  margin-top: 22px;
}

/* three column feature rows */
.feature-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 34px;
  flex-wrap: wrap;
  gap: 16px;
}
.feature-head h2 { font-size: 34px; max-width: 520px; }
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.three-col > div {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.three-col .num {
  font-size: 13px;
  color: var(--sage-index);
  font-weight: 600;
  margin-bottom: 18px;
  display: block;
}
.three-col h3 { font-size: 21px; margin-bottom: 12px; }
.three-col p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.three-col.four-col { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) {
  .three-col { grid-template-columns: 1fr; }
}
@media (min-width: 861px) and (max-width: 1080px) {
  .three-col.four-col { grid-template-columns: repeat(2, 1fr); gap: 32px 40px; }
}

/* working together / conversation block */
.conversation {
  padding: 64px 0 84px;
}
.conversation h2 { font-size: 38px; max-width: 640px; margin-bottom: 22px; }

/* two column info block (about page) */
.info-block { padding: 44px 0; border-top: 1px solid var(--line); }
.info-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}
.info-grid h2 { font-size: 26px; }
.info-grid dl { margin: 0; }
.info-grid dt {
  font-weight: 600;
  font-size: 16px;
  display: inline;
}
.info-grid dd {
  display: inline;
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.info-grid .row { margin-bottom: 22px; }
@media (max-width: 860px) {
  .info-grid { grid-template-columns: 1fr; }
}

/* founder photo (about page intro) */
.founder-intro {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: center;
}
.founder-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-panel);
  border: 1px solid var(--line);
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.founder-intro-copy p { margin-top: 14px; }
@media (max-width: 720px) {
  .founder-intro { grid-template-columns: 1fr; }
  .founder-photo { max-width: 220px; }
}

/* contact section */
.contact-section {
  background: var(--bg-panel);
  padding: 88px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-grid h1 { font-size: 46px; }
.contact-grid > .contact-copy p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 22px 0 26px;
  max-width: 420px;
}
.contact-email {
  font-weight: 500;
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}
.contact-email:hover { color: var(--sage); border-color: var(--sage); }

.contact-form-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 36px;
}
.contact-form-card .field:last-of-type { margin-bottom: 0; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea {
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  padding: 8px 0;
  color: var(--ink);
  outline: none;
}
.field input:focus, .field textarea:focus { border-color: var(--sage); }
.field input::placeholder, .field textarea::placeholder { color: #A39D8C; }
.field textarea { resize: vertical; min-height: 84px; }

.contact-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.contact-hint { font-size: 13px; color: var(--ink-soft); max-width: 220px; }

@media (max-width: 860px) {
  .contact-grid, .field-row { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; }
  .hero h1 { font-size: 44px; }
}

/* footer */
footer.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 34px 0;
  font-size: 14px;
  color: var(--ink-soft);
  flex-wrap: wrap;
  gap: 16px;
}
footer.site-footer .foot-logo { height: 20px; width: auto; display: block; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-panel);
  color: var(--ink);
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}
.social-link:hover { background: var(--sage); color: var(--bg); }
