/* Solis Lab — core stylesheet */

:root {
  --ink: #1c232d;
  --ink-soft: #445061;
  --muted: #6d7887;
  --paper: #f4f2ec;
  --card: #ffffff;
  --line: #dfdbd1;
  --accent: #0f6a61;
  --accent-deep: #0a4a44;
  --accent-tint: #e2efec;
  --radius: 5px;
  --shadow: 0 1px 2px rgba(28, 35, 45, 0.06), 0 8px 24px rgba(28, 35, 45, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.05rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 600;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  margin: 0 0 1.1rem;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-deep);
}

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

.wrap {
  width: 100%;
  max-width: 1060px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 30;
  background: var(--card);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------------------------------------------------------------- header */

.site-head {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-block: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}

.brand svg,
.brand img {
  display: block;
  width: 34px;
  height: 34px;
}

.brand span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  display: inline-block;
  padding: 0.15rem 0;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
}

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

/* ------------------------------------------------------------------ hero */

.hero {
  padding-block: clamp(3rem, 9vw, 5.5rem);
  border-bottom: 1px solid var(--line);
  background-image: radial-gradient(circle at 88% 12%, var(--accent-tint) 0, transparent 42%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 1rem;
}

.lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 34ch;
}

.hero-art {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-block;
  padding: 0.66rem 1.15rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--accent);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-deep);
  color: #fff;
}

.btn-quiet {
  background: transparent;
  color: var(--accent);
}

.btn-quiet:hover {
  background: var(--accent-tint);
  color: var(--accent-deep);
}

/* --------------------------------------------------------------- layout */

main {
  display: block;
}

.section {
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 46rem;
  margin-bottom: 2rem;
}

.section-head p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card svg,
.card img {
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 0.9rem;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 5vw, 3.5rem);
}

.prose {
  max-width: 68ch;
}

.prose h2:not(:first-child) {
  margin-top: 2.2rem;
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
  margin: 0 0 1.2rem;
}

.prose li {
  margin-bottom: 0.55rem;
  color: var(--ink-soft);
}

.prose li strong {
  color: var(--ink);
}

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.4rem 1.4rem 1.4rem 4.2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
  color: var(--ink-soft);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1.4rem;
  top: 1.35rem;
  font-family: Georgia, serif;
  font-size: 1.15rem;
  color: var(--accent);
}

.steps li strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  padding: 1.1rem 1.4rem;
  background: var(--accent-tint);
  border: 1px solid #c6ded9;
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--accent-deep);
}

.status b {
  font-weight: 600;
}

/* ------------------------------------------------------------------ form */

.form-shell {
  max-width: 520px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 4vw, 2.2rem);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.15rem;
}

.field label {
  font-size: 0.9rem;
  font-weight: 600;
}

.field input {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.62rem 0.7rem;
}

.field input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  background: #fff;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 1rem 0 0;
}

.form-shell .btn {
  width: 100%;
  text-align: center;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

/* ------------------------------------------------------------------ misc */

.faq {
  max-width: 62rem;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}

.faq details[open] summary {
  margin-bottom: 0.6rem;
}

.faq details p {
  margin: 0;
  color: var(--ink-soft);
}

.error-code {
  font-family: Georgia, serif;
  font-size: clamp(3.5rem, 12vw, 6rem);
  line-height: 1;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.site-foot {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: var(--card);
}

.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.6rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.site-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
}

.site-foot a {
  color: var(--ink-soft);
  text-decoration: none;
}

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

@media (max-width: 820px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
  }
}

@media (max-width: 520px) {
  .site-head .wrap {
    align-items: flex-start;
  }

  .actions .btn {
    width: 100%;
    text-align: center;
  }
}
