:root {
  --ink:   #1a1a2e;
  --muted: #52525b;
  --faint: #71717a;
  --line:  #e4e4e7;
  --teal:  #2b5e5a;
  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background-color: #e9ebee;
}

.content { max-width: 680px; margin: 0 auto; padding: 2.5em 1.5em; }

.topnav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(233, 235, 238, .92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.topnav-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: .85em 1.5em;
  display: flex;
  align-items: center;
  gap: 1.5em;
}
.topnav-brand {
  display: flex;
  align-items: center;
  gap: .5em;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.topnav-brand:hover { text-decoration: none; }
.topnav-brand img { height: 18px; width: auto; display: block; }
.topnav-links {
  display: flex;
  gap: 1.25em;
  flex: 1;
}
.topnav-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.topnav-links a:hover { color: var(--teal); }
.btn-sm { font-size: 12.5px; padding: .45em .9em; flex-shrink: 0; }

.hero {
  background: linear-gradient(180deg, #1a3b38 0%, #214844 100%);
  color: #fff;
}
.hero-inner {
  min-height: calc(100svh - 8em);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero .lockup img { filter: brightness(0) invert(1); }
.hero .wordmark { color: #fff; }
.hero .tag { color: rgba(255, 255, 255, .65); }
.hero h1 { color: #fff; }
.hero h1 em { color: #6fd6cc; }
.hero .lead { color: rgba(255, 255, 255, .78); }
.hero .btn-secondary { border-color: rgba(255, 255, 255, .3); color: #fff; }
.hero .btn-secondary:hover { border-color: #6fd6cc; color: #6fd6cc; }

.lockup {
  display: flex;
  align-items: center;
  gap: .6em;
  margin-bottom: 1.75em;
}
.lockup img { height: 30px; width: auto; display: block; }
.lockup .wordmark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.01em;
}
.tag {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--faint);
  margin-bottom: 1.5em;
}

h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(32px, 7vw, 48px);
  line-height: 1.1;
  letter-spacing: -.015em;
  margin-bottom: .4em;
}
h1 em { color: var(--teal); }

.lead { font-size: 17px; color: var(--muted); max-width: 46ch; margin-bottom: 1.5em; }

h2 {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--teal);
  margin-top: 2.25em;
  margin-bottom: .75em;
  padding-bottom: .5em;
  border-bottom: 1px solid var(--line);
}

h3 {
  font-weight: 600;
  font-size: 17px;
  margin-top: 1.2em;
  margin-bottom: .3em;
}

p { margin-bottom: .75em; }
.muted { color: var(--muted); font-size: 14px; }

ul, ol { margin-left: 1.5em; margin-bottom: .75em; }
li { margin-bottom: .4em; }

.operate-list {
  list-style: none;
  margin-left: 0;
}
.operate-list li {
  display: flex;
  align-items: flex-start;
  gap: .85em;
  margin-bottom: .6em;
}
.operate-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(43, 94, 90, .1);
  color: var(--teal);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 11.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: .1em;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.cta-row { display: flex; gap: .75em; flex-wrap: wrap; margin: 1.25em 0; }
.btn {
  font-size: 13.5px;
  font-weight: 600;
  padding: .55em 1.1em;
  border-radius: 3px;
  display: inline-block;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: #1e4440; }
.btn-secondary { border: 1px solid var(--line); color: var(--ink); }
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }

.rung { position: relative; border-left: 2px solid var(--teal); padding-left: 1em; margin-bottom: 1.25em; }
.rung-num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 11px;
  color: var(--faint);
  letter-spacing: .04em;
}
.rung .price {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--teal);
  background: rgba(43, 94, 90, .08);
  border-radius: 3px;
  padding: .2em .55em;
  margin-left: .5em;
  vertical-align: middle;
}

.case {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.1em 1.25em;
  margin-bottom: 1.25em;
}
.case-num {
  position: absolute;
  top: 1em;
  right: 1.1em;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 12px;
  color: var(--line);
}
.case h3 { font-size: 19px; margin-top: 0; padding-right: 2em; }
.case .stats { color: var(--teal); font-weight: 600; font-size: 13.5px; margin-bottom: 0; }

details { border-bottom: 1px solid var(--line); padding: .75em 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary {
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::before { content: '+ '; color: var(--teal); font-weight: 700; }
details[open] summary::before { content: '– '; }
details p { margin-top: .5em; margin-bottom: 0; color: var(--muted); }

.centered { text-align: center; }
.centered .cta-row { justify-content: center; }
.centered h2 { border-bottom: none; }
.centered .lead { margin: 0 auto 1em; }

.fine-print { font-size: 12px; }
.fine-print.italic { font-style: italic; }

.team { display: flex; flex-direction: column; gap: .9em; margin-bottom: .75em; }
.member { display: flex; align-items: center; gap: .9em; }
.member p { margin-bottom: 0; }
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--line);
}
.site-footer {
  margin-top: 3em;
  padding-top: 1.5em;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--faint);
}
.site-footer a { color: var(--faint); }
.site-footer a:hover { color: var(--teal); }

.avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--faint);
}

@media (max-width: 600px) {
  .topnav-links { display: none; }
  .topnav-inner { justify-content: space-between; }
}
