/* Voxmera website. Colors match the app (Theme.swift) and the support pages. */
:root {
  color-scheme: light;
  --ink: #293126;
  --muted: #5f6a55;
  --line: #dfe3d6;
  --paper: #f7f6f0;
  --card: #ffffff;
  --accent: #5c6a45;
  --accent-deep: #46523a;
  --sage: #e9eddd;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); }
a:hover { text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; text-wrap: balance; }
h1 { font-size: clamp(32px, 6vw, 52px); letter-spacing: -0.02em; }
h2 { font-size: clamp(22px, 3.4vw, 30px); margin-top: 8px; }
h3 { font-size: 18px; }
p, li, dd, dt { font-size: 17px; }
p { margin: 10px 0; }
ul, ol { padding-inline-start: 22px; margin: 10px 0; }
li { margin: 6px 0; }

.shell { width: min(1040px, calc(100% - 32px)); margin-inline: auto; }
section.shell { padding-block: 36px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 10px; }

.button {
  display: inline-block; padding: 14px 24px; border-radius: 16px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 17px; text-decoration: none;
}
.button:hover { background: var(--accent-deep); }
.button.small { padding: 9px 16px; font-size: 15px; border-radius: 12px; }

.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 40px; align-items: center; }
.hero figure { margin: 0; max-width: 300px; justify-self: center; }
.hero figure img, .shots img { border-radius: 26px; border: 1px solid var(--line); }
.lead { font-size: 20px; color: var(--ink); margin-block: 14px 22px; }
.subtitle { font-size: 21px; font-weight: 600; color: var(--accent-deep); margin: 0; }
.note { color: var(--muted); font-size: 15px; }

.steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; margin: 0; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 50%; background: var(--sage); color: var(--accent-deep); font-weight: 700; }
.steps p { margin: 0; color: var(--muted); }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 20px; justify-content: center; margin-top: 28px; }
.shots figure { margin: 0; }

.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }

.facts dl { margin: 16px 0 0; border: 1px solid var(--line); border-radius: 18px; background: var(--card); overflow: hidden; }
.facts dl > div { display: grid; grid-template-columns: minmax(130px, 220px) minmax(0, 1fr); gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line); }
.facts dl > div:first-child { border-top: 0; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; }

.faq section { padding-block: 16px; border-top: 1px solid var(--line); }
.faq h3 { margin-bottom: 6px; }
.faq p { margin: 0; }

.article { max-width: 760px; }
.article h2 { margin-top: 30px; font-size: 20px; letter-spacing: 0.02em; }

.cta { text-align: center; }
.cta h1, .cta h2 { margin-bottom: 18px; }

.bottom { padding-block: 28px 44px; border-top: 1px solid var(--line); color: var(--muted); }
.bottom p { font-size: 14px; }
.languages { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 14px; }
.languages a { font-size: 14px; text-decoration: none; }
.languages a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; gap: 24px; }
  .hero figure { max-width: 240px; }
  .facts dl > div { grid-template-columns: 1fr; gap: 2px; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
