:root {
  --bg: #fbfaf7;
  --bg-alt: #f1eee7;
  --text: #1d1d1f;
  --muted: #5d5d66;
  --accent: #2f6fde;
  --accent-text: #ffffff;
  --border: #ddd8cd;
  --warn-bg: #fff4e0;
  --warn-border: #e2a33b;
  --yes: #1e7a3c;
  --no: #b3261e;
  --code-bg: rgba(0, 0, 0, 0.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14151a;
    --bg-alt: #1c1e25;
    --text: #e8e8ec;
    --muted: #a3a3ad;
    --accent: #6ea0ff;
    --accent-text: #0d1220;
    --border: #2e313b;
    --warn-bg: #2b2112;
    --warn-border: #c48a2c;
    --yes: #6fd08e;
    --no: #ff8a80;
    --code-bg: rgba(255, 255, 255, 0.08);
  }
}

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

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

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

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

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

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
}

code {
  background: var(--code-bg);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h2 {
  font-size: 1.6rem;
  margin: 0 0 0.8rem;
}

h3 {
  font-size: 1.05rem;
  margin: 0 0 0.3rem;
}

figure {
  margin: 0;
}

figcaption {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

main > section.wrap {
  margin-top: 3.5rem;
}

/* Hero */

.hero {
  padding-top: 3.5rem;
  text-align: center;
}

.eyebrow {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  margin: 0 0 1rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 auto 1.6rem;
}

.actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 2.5rem;
}

.button {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
}

.hero-image {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-image img {
  border-radius: 12px;
  width: 100%;
}

/* Sections */

.split {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

.flow {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  overflow-x: auto;
}

.flow code {
  background: none;
  padding: 0;
}

.phone img {
  border-radius: 14px;
  border: 1px solid var(--border);
}

.phone.center {
  max-width: 300px;
  margin: 2rem auto 0;
  text-align: center;
}

.cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.cards li {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.1rem 1.2rem;
}

.cards p {
  margin: 0;
  color: var(--muted);
}

.pipeline {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 1.5rem 0;
}

.pipeline li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.1rem 3rem;
  display: flex;
  flex-direction: column;
}

.pipeline li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pipeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(1rem - 1px);
  top: 2.2rem;
  bottom: 0.2rem;
  width: 2px;
  background: var(--border);
}

.pipeline span {
  color: var(--muted);
}

.note {
  border-left: 3px solid var(--accent);
  padding-left: 0.9rem;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 300px));
  gap: 32px;
  justify-content: center;
  margin-top: 2rem;
}

.table {
  overflow-x: auto;
  margin: 1.2rem 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 320px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--bg-alt);
}

td small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.yes {
  color: var(--yes);
  font-weight: 600;
}

.no {
  color: var(--no);
  font-weight: 600;
}

.languages {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.languages li {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  font-size: 0.95rem;
}

.links {
  padding-left: 1.2rem;
}

footer {
  margin-top: 4rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  main > section.wrap {
    margin-top: 2.5rem;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split .phone {
    max-width: 280px;
    margin: 0 auto;
    text-align: center;
  }

  .gallery {
    grid-template-columns: minmax(0, 300px);
  }

}
