:root {
  --amber: #f5b441;
  --amber-soft: #fce6b8;
  --leaf: #6e9e43;
  --leaf-dark: #4f7a2b;
  --leaf-soft: #dcebc8;
  --ink: #1b1c1a;
  --ink-soft: #4a4a44;
  --cream: #fff7e8;
  --white: #ffffff;
  --line: 1.5px solid var(--ink);
  --shadow: 4px 4px 0 var(--ink);
  --radius: 18px;
  --wrap: 1080px;
  --font: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

a {
  color: var(--leaf-dark);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--leaf-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.125rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
}

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

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

.skip:focus {
  left: 16px;
  top: 8px;
  z-index: 10;
  background: var(--white);
  border: var(--line);
  padding: 6px 12px;
  border-radius: 8px;
}

.topbar {
  background: var(--amber);
  border-bottom: var(--line);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.3rem;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover {
  text-decoration: underline;
}

.nav .lang {
  border: var(--line);
  border-radius: 999px;
  padding: 2px 12px;
  background: var(--white);
  font-size: 0.9rem;
}

@media (max-width: 560px) {
  .nav .hide-sm {
    display: none;
  }
}

.hero {
  background: var(--amber);
  border-bottom: var(--line);
  padding: 40px 0 56px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero .lead {
  font-size: 1.2rem;
  max-width: 34em;
}

.hero .wordmark {
  width: 100%;
  max-width: 460px;
  justify-self: center;
}

.hero .note {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-top: 14px;
}

@media (max-width: 760px) {
  .hero {
    padding: 24px 0 40px;
  }

  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero .wordmark {
    order: -1;
    max-width: 300px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--leaf-dark);
  color: var(--white);
  border: var(--line);
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.btn:hover {
  color: var(--white);
  background: #456b25;
}

.btn svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.btn.is-soon {
  background: var(--white);
  color: var(--ink);
  box-shadow: none;
  cursor: default;
}

.btn small {
  display: block;
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1.1;
}

.btn .label {
  line-height: 1.2;
  text-align: left;
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: var(--amber-soft);
  border-top: var(--line);
  border-bottom: var(--line);
}

.section .intro {
  max-width: 40em;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.card {
  background: var(--white);
  border: var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card p:last-child {
  margin-bottom: 0;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border: var(--line);
  border-radius: 50%;
  background: var(--amber);
  font-weight: 900;
  font-size: 1.3rem;
}

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

.features .card {
  box-shadow: none;
}

.features h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.features h3::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: none;
  border-radius: 50%;
  background: var(--leaf);
  border: var(--line);
}

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

  .section {
    padding: 40px 0;
  }
}

.shots {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 16px;
  margin: 0 -4px;
  list-style: none;
}

.shots li {
  flex: 0 0 min(62vw, 240px);
  scroll-snap-align: start;
}

.shots img {
  border: var(--line);
  border-radius: 14px;
  background: var(--amber);
  aspect-ratio: 9 / 16;
  width: 100%;
}

.faq details {
  background: var(--white);
  border: var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 12px;
}

.faq summary {
  font-weight: 800;
  cursor: pointer;
}

.faq details p {
  margin: 10px 0 0;
}

.doc {
  padding: 40px 0 56px;
}

.doc .wrap {
  max-width: 780px;
}

.doc h2 {
  font-size: 1.4rem;
  margin-top: 1.8em;
}

.doc h3 {
  margin-top: 1.4em;
}

.doc ul,
.doc ol {
  padding-left: 1.3em;
}

.doc li {
  margin-bottom: 0.4em;
}

.doc .updated {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.doc .card {
  margin: 20px 0;
}

.doc ol.howto {
  font-weight: 600;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: var(--line);
  border-radius: 14px;
  overflow: hidden;
  font-size: 0.97rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid #e6d8bb;
}

th {
  background: var(--amber-soft);
}

tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 600px) {
  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }

  thead {
    display: none;
  }

  tr {
    border-bottom: var(--line);
    padding: 6px 0;
  }

  tr:last-child {
    border-bottom: 0;
  }

  td {
    border: 0;
    padding: 4px 14px;
  }

  td:first-child {
    font-weight: 800;
    padding-top: 10px;
  }

  td:last-child {
    padding-bottom: 10px;
  }
}

.todo {
  background: #ffd6d2;
  border: 1.5px dashed #b3261e;
  border-radius: 6px;
  padding: 0 6px;
  font-weight: 700;
  color: #7a1712;
}

.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 36px 0 28px;
  font-size: 0.95rem;
}

.footer a {
  color: var(--amber);
}

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

.footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.footer h2 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--amber);
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 4px;
}

.footer .legal {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #3a3b37;
  color: #cfc6b3;
}

.footer .todo {
  color: #7a1712;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
