:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0a0e1a;
  --muted: #4a5565;
  --border: #e4e7ec;
  --primary: #c2410c;
  --primary-text: #ffffff;
  --accent: #fff4ed;
  --emerald: #00c896;
  --radius: 14px;
  --max: 980px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0e1a;
    --surface: #131929;
    --text: #eef2ff;
    --muted: #a9b4c9;
    --border: #223048;
    --primary: #fb923c;
    --primary-text: #201007;
    --accent: #1a120a;
  }
}

* {
  box-sizing: border-box;
}

/* The class rules below set display; without this a hidden element shows. */
[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.6;
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

header.site {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

header.site .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
}

header.site img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

header.site .name {
  font-weight: 700;
  letter-spacing: 0.2px;
}

header.site .name a {
  color: inherit;
  text-decoration: none;
}

header.site nav {
  margin-left: auto;
  display: flex;
  gap: 18px;
  font-size: 14px;
}

header.site nav a {
  color: var(--muted);
  text-decoration: none;
}

header.site nav a:hover {
  color: var(--text);
}

.hero {
  padding: 72px 0 40px;
  text-align: center;
}

.hero img.logo {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 14px;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgb(194 65 12 / 25%);
}

.hero h1 {
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.1;
  margin: 24px 0 16px;
  letter-spacing: -0.02em;
}

.hero p.lede {
  font-size: clamp(16px, 2.4vw, 20px);
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 30px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
}

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

.button.secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

.hero .muted {
  margin-top: 14px;
}

section {
  padding: 44px 0;
}

h2 {
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.section-lede {
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 26px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.shots {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  align-items: start;
}

.shots figure {
  margin: 0;
}

.shots img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.shots figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.shots .phone img {
  max-height: 520px;
  object-fit: cover;
  object-position: top;
}

@media (max-width: 760px) {
  .shots {
    grid-template-columns: 1fr;
  }

  .shots .phone img {
    max-height: none;
  }
}

.price {
  font-size: 22px;
  font-weight: 700;
  margin: 2px 0 6px;
}

.price .muted {
  font-size: 14px;
  font-weight: 400;
}

.licence {
  background: var(--accent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
}

.licence h2 {
  margin-bottom: 6px;
}

.licence p {
  margin: 0;
  color: var(--muted);
  max-width: 560px;
}

footer.site {
  border-top: 1px solid var(--border);
  margin-top: 20px;
  padding: 28px 0 44px;
  color: var(--muted);
  font-size: 14px;
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

footer.site nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

footer.site a {
  color: var(--muted);
  text-decoration: none;
}

footer.site a:hover {
  color: var(--text);
}

.legal {
  padding: 40px 0 60px;
}

.legal h1 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.legal h2 {
  font-size: 20px;
  margin: 32px 0 8px;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal .updated {
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 640px) {
  header.site nav {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }
}

.badge {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--accent);
  color: var(--primary);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cluster {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
}

.cluster img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.cluster ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.cluster li + li {
  margin-top: 6px;
}

code.hash {
  overflow-wrap: anywhere;
  font-size: 12px;
}

@media (max-width: 640px) {
  .cluster {
    grid-template-columns: 1fr;
  }
}
