/* Elavris Lite showcase: shared styles. No external fonts, images or scripts. */

:root {
  color-scheme: light;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #1d2428;
  --muted: #5b676d;
  --line: #e2e0d8;
  --accent: #0f5f5a;
  --accent-ink: #ffffff;
  --notice-bg: #edf3f0;
  --notice-line: #cad7d0;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

img {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 16px;
}

/* top bar */
.topbar { border-bottom: 1px solid var(--line); }
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand { font-weight: 700; letter-spacing: 0.01em; color: var(--ink); text-decoration: none; }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* hero */
.hero { padding: 48px 0 32px; }
h1 { margin: 0 0 16px; font-size: clamp(32px, 5.5vw, 48px); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.lead { margin: 0 0 24px; font-size: clamp(18px, 2.3vw, 21px); color: var(--muted); max-width: 42em; }

/* hero buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 16px;
}
.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
}
.btn-primary:hover { opacity: 0.9; }
.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover { border-color: var(--accent); }

/* two panel figure */
.two-panel {
  margin: 0;
}
.panels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.panels-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: block;
  background: var(--surface);
}
figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* sections */
section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
h2 {
  margin: 0 0 16px;
  font-size: clamp(22px, 3.5vw, 28px);
  letter-spacing: -0.01em;
}
p { margin: 0 0 16px; }

.body-lg {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 24px;
}

/* overview section */
.overview-content {
  max-width: 70ch;
  text-align: left;
}
.eyebrow-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}
.overview-part {
  margin-bottom: 32px;
}
.overview-part:last-child {
  margin-bottom: 0;
}
.overview-part p {
  margin: 0;
  line-height: 1.65;
}
.figure-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 20px 0 0;
}
.figure-col {
  padding: 16px 20px 16px 0;
  text-align: left;
}
.figure-col:not(:last-child) {
  border-right: 1px solid var(--line);
  padding-right: 20px;
}
.figure-col:not(:first-child) {
  padding-left: 20px;
}
.figure-num {
  display: block;
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 4px;
}
.figure-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.figure-source {
  font-size: 13px;
  color: var(--muted);
  margin: 16px 0 32px;
  line-height: 1.4;
}

/* split blocks */
.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.split-text h2 { margin-bottom: 12px; }
.split-text p { margin: 0; color: var(--muted); font-size: 17px; }

.split-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: block;
  background: var(--surface);
}

/* quote card */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 24px;
}
.quote-card blockquote {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
}

/* results strip / tiles */
.results-strip {
  padding: 48px 0;
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}
.result-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.stat-number {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 8px;
  display: block;
}
.stat-label {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}
.results-note {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin: 24px 0 0;
}
.results-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.results-note a:hover { color: var(--ink); }

/* tables */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0;
}
.spec-table, .results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
}
.spec-table th, .spec-table td,
.results-table th, .results-table td {
  padding: 12px 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.spec-table th, .results-table th {
  background: var(--surface);
  font-weight: 600;
  color: var(--ink);
}
.spec-table th[scope="row"] {
  width: 28%;
  color: var(--ink);
  font-weight: 600;
  background: var(--bg);
}

/* steps list */
.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0 0;
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  counter-increment: step-counter;
  position: relative;
}
.step-card::before {
  content: counter(step-counter);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}
.step-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* examples cards */
.examples-group {
  margin: 32px 0 0;
}
.examples-group h3 {
  font-size: 18px;
  margin: 0 0 16px;
  color: var(--ink);
}
.examples-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 16px 0;
}
.example-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.example-text {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin: 0;
}
.example-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  display: block;
  background: var(--bg);
}
.example-reply {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  font-style: italic;
  background: var(--bg);
  border-left: 3px solid var(--accent);
  padding: 10px 14px;
  border-radius: 4px;
}
.card-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.group-note {
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0 0;
}

/* limitations */
.limits-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0 0;
}
.limit-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 20px;
}
.limit-item p {
  margin: 0;
  font-size: 15px;
}
.limit-item .next-line {
  margin-top: 6px;
  color: var(--accent);
  font-weight: 500;
}

/* principle block */
.principle-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0 32px;
}
.principle-block p {
  margin: 0;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.6;
}

/* vertical timeline */
.timeline {
  position: relative;
  margin: 32px 0 48px;
  padding-left: 54px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-marker {
  position: absolute;
  left: -54px;
  top: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.timeline-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
}
.timeline-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.timeline-card > p {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 20px;
}
.phase-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--notice-bg);
  border: 1px solid var(--notice-line);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checklist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
}
.checklist-text {
  flex: 1;
}
.status-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}

/* milestone card */
.milestone-container {
  margin: 40px 0;
  position: relative;
}
.milestone-card {
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(15, 95, 90, 0.06);
}
.milestone-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.milestone-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  letter-spacing: -0.01em;
}
.milestone-card > p {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 20px;
}

/* trust grid */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.trust-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.trust-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--ink);
}
.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* closing section */
.closing-section, .closing-cta {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.closing-section h2, .closing-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 4vw, 32px);
  letter-spacing: -0.01em;
}
.motto {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  color: var(--accent);
  margin: 0 auto 16px;
  max-width: 42em;
}
.closing-lead, .closing-cta p {
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 18px;
  max-width: 42em;
}
.closing-cta a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.closing-cta a:hover { color: var(--ink); }

.regulatory-note {
  font-size: 14px !important;
  color: var(--muted) !important;
  margin-top: 12px !important;
}

/* two doors */
.doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
}
.door {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
}
.door:hover { border-color: var(--accent); }
.door h3 { margin: 0; font-size: 20px; }
.door p { margin: 0; color: var(--muted); font-size: 16px; }
.door .go { margin-top: 8px; color: var(--accent); font-weight: 600; font-size: 15px; }

a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* disclaimer line */
.disclaimer {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin: 32px 0 0;
}

/* footer */
footer {
  margin-top: 48px;
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
footer h2 { font-size: 15px; margin: 0 0 6px; color: var(--ink); letter-spacing: 0; }
footer p { margin: 0 0 16px; }
footer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
footer a:hover { color: var(--ink); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: 32px; }
  .panels-grid { grid-template-columns: 1fr; }
  .split-block { grid-template-columns: 1fr; gap: 20px; padding: 36px 0; }
  .image-left-text-right .split-text { order: -1; }
  .results-grid { grid-template-columns: 1fr; gap: 16px; }
  .steps-list { grid-template-columns: 1fr; gap: 16px; }
  .examples-grid { grid-template-columns: 1fr; gap: 16px; }
  .doors { grid-template-columns: 1fr; }
  .nav { gap: 14px; }
  .spec-table th[scope="row"] { width: 38%; }
  .timeline { padding-left: 40px; }
  .timeline::before { left: 15px; }
  .timeline-marker { left: -40px; width: 30px; height: 30px; font-size: 13px; }
  .checklist-item { flex-direction: column; align-items: flex-start; gap: 8px; }
  .status-tag { align-self: flex-start; }
  .trust-grid { grid-template-columns: 1fr; }
  .figure-strip { grid-template-columns: 1fr; }
  .figure-col { padding: 14px 0; }
  .figure-col:not(:last-child) { border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; }
  .figure-col:not(:first-child) { padding-left: 0; }
}
