/* Editor for Statamic — charte : noir #191a1b, lime #d4ff4c, police Archivo. */
@font-face { font-family: Archivo; font-weight: 100 900; font-style: normal; font-display: swap; src: url(/fonts/archivo.woff2) format("woff2"); }
@font-face { font-family: Archivo; font-weight: 100 900; font-style: italic; font-display: swap; src: url(/fonts/archivo-italic.woff2) format("woff2"); }

:root {
  --ink: #191a1b;
  --ink-soft: #3a3b3d;
  --muted: #6b6d70;
  --paper: #fbfbf7;
  --paper-2: #f1f2ea;
  --line: #e2e3da;
  --lime: #d4ff4c;
  --lime-2: #c6ef2c;
  --lime-3: #e3fd76;
  --radius: 14px;
  --measure: 68ch;
  --font: Archivo, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55;
  color: var(--ink); background: var(--paper);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, 1080px); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, var(--measure)); margin-inline: auto; }

/* Header */
.site-header { background: var(--ink); color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 0; flex-wrap: wrap; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 1.25rem; align-items: center; font-size: .95rem; font-weight: 500; }
.nav a { text-decoration: none; opacity: .85; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-decoration-color: var(--lime); }
.nav .switch { border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: .2rem .7rem; font-size: .85rem; }

/* Hero */
.hero { background: var(--ink); color: #fff; padding: 3rem 0 0; overflow: hidden; }
.hero .wrap { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.1fr 1fr; } }
.hero h1 { color: #fff; }
.hero .tagline { color: var(--lime); font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 600; margin-bottom: 1rem; }
.hero .intro { color: rgba(255,255,255,.82); max-width: 56ch; font-size: 1.05rem; }
.hero .banner { margin-top: 1rem; }
@media (max-width: 899px) { .hero .banner { max-width: 420px; margin-inline: auto; } }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 2.5rem; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.25rem; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: .98rem; border: 1px solid transparent; }
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: var(--lime-3); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn-soon { background: rgba(255,255,255,.08); color: rgba(255,255,255,.7); cursor: default; }
.btn-ghost.on-paper { border-color: var(--line); color: var(--ink); }

/* Sections */
.section { padding: 3.5rem 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-alt { background: var(--paper-2); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 600; color: var(--muted); margin-bottom: .75rem; }

.features { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); list-style: none; padding: 0; margin: 0; }
.features li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.features li::before { content: ""; display: block; width: 2.5rem; height: .35rem; background: var(--lime); border-radius: 999px; margin-bottom: 1rem; }
.features p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

.shots { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); list-style: none; padding: 0; margin: 0; }
.shots figure { margin: 0; }
.shots img { border-radius: 22px; box-shadow: 0 18px 40px -22px rgba(0,0,0,.45); background: var(--ink); }
.shots figcaption { margin-top: .6rem; font-size: .9rem; color: var(--ink-soft); font-weight: 500; }

.notice { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 1.75rem; }
.notice h2 { color: var(--lime); }
.notice p:last-child { margin-bottom: 0; }

.api { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .api { grid-template-columns: 1fr 1fr; } }
.api ul { padding-left: 1.2rem; }
.api li { margin-bottom: .5rem; }
.api li::marker { color: var(--lime-2); }

/* Prose pages */
.prose { padding: 3rem 0 4rem; }
.prose h1 { margin-bottom: 1.25rem; }
.prose h2 { margin-top: 2.25rem; font-size: 1.35rem; }
.prose a { text-decoration-color: var(--lime-2); text-decoration-thickness: 2px; }
.prose ul { padding-left: 1.2rem; }
.prose em { color: var(--muted); }

/* Form */
.form { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.form label { display: block; font-weight: 600; margin-bottom: .35rem; }
.form input, .form textarea { width: 100%; font: inherit; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; margin-bottom: 1rem; }
.form input:focus, .form textarea:focus { outline: 3px solid var(--lime); outline-offset: 1px; border-color: var(--ink); }
.form textarea { min-height: 9rem; resize: vertical; }
.form .error { color: #b3261e; font-size: .9rem; margin: -.6rem 0 1rem; }
.form .success { background: var(--lime-3); border-radius: 10px; padding: 1rem 1.25rem; font-weight: 500; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn-primary { border: 0; cursor: pointer; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 2.5rem 0; font-size: .9rem; }
.site-footer .wrap { display: grid; gap: 1.25rem; }
.site-footer img { height: 28px; width: auto; }
.site-footer a { color: #fff; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-footer p { margin: 0; }

/* 404 */
.notfound { padding: 5rem 0; text-align: center; }
