:root {
  --orange: #f09c00;
  --orange-deep: #d98a00;
  --cream: #fbf1da;
  --ink: #241a0c;
  --muted: #8a7f6f;
  --card: #fffaf0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --orange: #ffad33;
    --orange-deep: #ffbc55;
    --cream: #241a0c;
    --ink: #f6ecdc;
    --muted: #a89880;
    --card: #2e2313;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

header.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 19px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.lang { display: flex; gap: 6px; }
.lang a {
  color: var(--muted); text-decoration: none; font-size: 15px;
  padding: 6px 12px; border-radius: 999px;
}
.lang a.on { background: var(--orange); color: #fff; }

.hero { padding: 40px 0 20px; text-align: center; }
h1, h2, h3, .brand { font-family: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif; }

.hero h1 { font-size: clamp(38px, 7vw, 64px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero p.lead { font-size: clamp(18px, 2.4vw, 22px); color: var(--muted); max-width: 620px; margin: 0 auto 28px; }

.cta { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; }
.cta a {
  display: inline-block; background: var(--orange); color: #fff; text-decoration: none;
  font-size: 18px; font-weight: 600; padding: 15px 34px; border-radius: 999px;
}
.cta a:hover { background: var(--orange-deep); }
.cta small { color: var(--muted); font-size: 14px; }

.shots { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; padding: 30px 0 10px; }
.shots img {
  width: 220px; border-radius: 22px; display: block;
  box-shadow: 0 12px 36px rgba(60, 40, 10, .16);
}

section { padding: 46px 0; }
section h2 { font-size: clamp(26px, 3.6vw, 34px); margin: 0 0 12px; }
section p { max-width: 700px; }
section p.wide { max-width: 820px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 26px; }
.card { background: var(--card); border-radius: 20px; padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.steps { counter-reset: step; margin-top: 26px; padding: 0; list-style: none; }
.steps li { position: relative; padding-left: 52px; margin-bottom: 20px; max-width: 720px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.steps b { display: block; }

.figure-row { display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-start; margin-top: 26px; }
.figure-row img { width: 260px; border-radius: 20px; box-shadow: 0 10px 30px rgba(60, 40, 10, .14); }
/* The diagrams are drawn with dark ink on transparency, so they keep a light
   plate of their own instead of vanishing in dark mode. */
.figure-row img.fig { background: #fbf1da; padding: 12px; width: 300px; box-shadow: none; }

footer {
  border-top: 1px solid rgba(140, 120, 90, .2);
  margin-top: 30px; padding: 28px 0 46px; color: var(--muted); font-size: 15px;
}
footer a { color: var(--muted); }
