@font-face { font-family: "Bitter"; font-weight: 600; font-display: swap; src: url("../fonts/bitter-600.woff2") format("woff2"); }
@font-face { font-family: "Bitter"; font-weight: 700; font-display: swap; src: url("../fonts/bitter-700.woff2") format("woff2"); }
@font-face { font-family: "Karla"; font-weight: 400; font-display: swap; src: url("../fonts/karla-400.woff2") format("woff2"); }
@font-face { font-family: "Karla"; font-weight: 700; font-display: swap; src: url("../fonts/karla-700.woff2") format("woff2"); }

:root {
  --ink: #1f2a24;
  --muted: #5a645e;
  --line: #e6ddd0;
  --bg: #fbf7f0;
  --card: #ffffff;
  --brand: #154c3c;
  --brand-ink: #ffffff;
  --accent: #b94f22;
  --accent-hover: #9c3f17;
  --accent-ink: #ffffff;
  --soft: #f3ece0;
  --picto-fill: #f6d9bf;
  --picto-stroke: #154c3c;
  --stamp: #1f7a55;
  --paper: #fffdf8;
  --radius: 12px;
  --font-display: "Bitter", Georgia, serif;
  --font-body: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ece7de;
    --muted: #b0a99e;
    --line: #34302a;
    --bg: #171512;
    --card: #211e1a;
    --brand: #8fd1b5;
    --brand-ink: #10241c;
    --accent: #e8875a;
    --accent-hover: #f0a07a;
    --accent-ink: #1a0f08;
    --soft: #1f1c18;
    --picto-fill: #4a3626;
    --picto-stroke: #f1c9a6;
    --stamp: #6fd3a5;
    --paper: #26221d;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font-body); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.site { background: var(--bg); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--ink); text-decoration: none; }
.logo__text span { color: var(--brand); }
.logo svg { width: 26px; height: 30px; }
nav.main { display: flex; align-items: center; gap: 22px; }
nav.main a { color: var(--ink); text-decoration: none; font-size: 16px; }
nav.main a[aria-current="page"] { color: var(--brand); font-weight: 700; }

/* Buttons */
.button {
  display: inline-block; background: var(--accent); color: var(--accent-ink); border: 0;
  padding: 12px 20px; border-radius: 999px; font: 700 16px/1.2 var(--font-body); text-decoration: none; cursor: pointer;
}
.button:hover { background: var(--accent-hover); color: var(--accent-ink); }
.button.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.button.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }

/* Pictograms */
.picto { width: 44px; height: 44px; flex: none; fill: none; stroke: var(--picto-stroke); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
symbol .f { fill: var(--picto-fill); stroke: none; }

/* Hero: photo with the invoice slip on top (signature) */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 48px; line-height: 1.1; margin: 0 0 18px; }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__visual { position: relative; padding-bottom: 48px; }
.hero__photo { border-radius: 20px; overflow: hidden; box-shadow: 0 18px 40px rgba(31, 42, 36, 0.14); }
.hero__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero__visual .slip { position: absolute; left: -28px; bottom: 0; width: min(300px, 78%); }
.credit { font-size: 12px; color: var(--muted); margin-top: 8px; text-align: right; }
.credit a { color: var(--muted); }

/* The slip: a small invoice with a torn edge and a stamp */
.slip {
  --edge: 10px;
  background: var(--paper); color: var(--ink); padding: 18px 20px calc(18px + var(--edge)); font-size: 14px;
  box-shadow: 0 14px 30px rgba(31, 42, 36, 0.18); border-radius: 6px 6px 0 0; transform: rotate(-2deg);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--edge)) no-repeat,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--edge)) var(--edge) repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--edge)) no-repeat,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--edge)) var(--edge) repeat-x;
  position: relative;
}
.slip__head { display: flex; justify-content: space-between; font-weight: 700; font-family: var(--font-display); margin-bottom: 8px; }
.slip__meta { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.slip__row { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed var(--line); font-variant-numeric: tabular-nums; }
.slip__row--total { border-bottom: 0; font-weight: 700; font-size: 16px; }
.stamp {
  position: absolute; right: 14px; top: 38px; transform: rotate(-12deg);
  border: 2.5px solid var(--stamp); color: var(--stamp); border-radius: 8px; padding: 2px 10px;
  font: 700 15px/1.3 var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.85;
}

/* Sections */
section { padding: 64px 0; }
section h2 { font-size: 34px; line-height: 1.2; margin: 0 0 10px; }
section p.intro { color: var(--muted); max-width: 640px; margin: 0 0 32px; font-size: 18px; }
.band { background: var(--soft); }

/* Steps with pictograms and a dashed route between them */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.steps li { position: relative; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 33px; left: 84px; right: -12px; border-top: 2px dashed var(--line);
}
.steps .picto-tile { width: 68px; height: 68px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 14px; }
.steps h3 { font-size: 20px; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--muted); }

/* Feature list beside a photo */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.split__photo { border-radius: 20px; overflow: hidden; position: sticky; top: 24px; }
.split__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.features li { display: flex; gap: 18px; align-items: flex-start; }
.features h3 { font-size: 19px; margin: 2px 0 4px; }
.features p { margin: 0; color: var(--muted); }

/* Pricing */
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin: 0 0 6px; font-size: 22px; }
.card p { margin: 0; color: var(--muted); }
.price { font-family: var(--font-display); font-size: 40px; font-weight: 700; margin: 4px 0 2px; }
.price small { font-family: var(--font-body); font-size: 15px; font-weight: 400; color: var(--muted); }
.card ul { list-style: none; padding: 0; margin: 16px 0 0; }
.card li { padding: 6px 0 6px 28px; position: relative; }
.card li::before {
  content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px;
  border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg);
}
.card.featured { border: 2px solid var(--brand); position: relative; }
.note { color: var(--muted); font-size: 15px; margin: 18px 0 0; }

/* Waitlist */
.signup-box { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.signup-box .picto { width: 72px; height: 72px; }
.signup-box h2 { margin-top: 0; }
form.signup { display: flex; gap: 10px; flex-wrap: wrap; max-width: 540px; }
form.signup input[type=email] {
  flex: 1 1 240px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 999px;
  font: 16px var(--font-body); background: var(--bg); color: var(--ink);
}
.hp { position: absolute; left: -9999px; }
.notice { background: var(--soft); border-left: 4px solid var(--stamp); padding: 12px 16px; margin-bottom: 16px; border-radius: 6px; }
.error { color: #b3261e; font-size: 14px; width: 100%; }
.small { font-size: 14px; color: var(--muted); }

/* Page head with photo strip (legal, credits) */
.pagehead { position: relative; height: 200px; overflow: hidden; }
.pagehead img { width: 100%; height: 100%; object-fit: cover; }
.pagehead::after { content: ""; position: absolute; inset: 0; background: rgba(21, 76, 60, 0.35); }
.legal { max-width: 760px; margin: -64px auto 0; padding: 36px 32px 48px; background: var(--card); border-radius: 20px 20px 0 0; position: relative; z-index: 1; }
.legal h1 { font-size: 36px; margin-top: 8px; }
.legal h2 { font-size: 22px; margin-top: 32px; }
.draft-banner { background: #fff1d6; color: #5c4400; padding: 10px 16px; border-radius: var(--radius); font-size: 15px; }
.credits { list-style: none; padding: 0; display: grid; gap: 18px; }
.credits li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; }
.credits img { border-radius: 8px; aspect-ratio: 3 / 2; object-fit: cover; }

/* Footer */
footer.site { background: var(--brand); color: var(--brand-ink); padding: 40px 0 48px; font-size: 15px; margin-top: 0; }
footer.site .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
footer.site a { color: var(--brand-ink); margin-right: 16px; }
footer.site .logo { color: var(--brand-ink); }
footer.site .logo__text span, footer.site .logo span { color: var(--brand-ink); opacity: 0.8; }
footer.site p { margin: 10px 0 0; opacity: 0.9; }

@media (max-width: 860px) {
  .hero .wrap, .split, footer.site .wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .hero .wrap { gap: 32px; }
  .hero h1 { font-size: 34px; }
  .hero__visual .slip { left: 12px; width: 76%; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .steps li { display: grid; grid-template-columns: 68px 1fr; gap: 0 16px; }
  .steps li:not(:last-child)::after { display: none; }
  .steps .picto-tile { grid-row: span 2; margin: 0; }
  .split__photo { position: static; }
  .split__photo img { aspect-ratio: 3 / 2; }
  .grid2 { grid-template-columns: 1fr; }
  .signup-box { grid-template-columns: 1fr; padding: 24px; }
  .legal { margin-top: -40px; padding: 28px 20px 40px; }
  nav.main a:not(.button) { display: none; }
  section { padding: 48px 0; }
  section h2 { font-size: 28px; }
}
