/* fartulex.com : palette Organic de l'app (lib/design/tokens/colors.dart). */
@font-face { font-family: Caprasimo; src: url(/assets/fonts/Caprasimo-Regular.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: Figtree; font-weight: 400; src: url(/assets/fonts/Figtree-400.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: Figtree; font-weight: 600; src: url(/assets/fonts/Figtree-600.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: Figtree; font-weight: 700; src: url(/assets/fonts/Figtree-700.ttf) format("truetype"); font-display: swap; }

:root {
  --bg: #F5EAD8;
  --surface: #EBDDC5;
  --ink: #201E1D;
  --night: #2E2B25;
  --cream: #F9F4ED;
  --text2: #645C50;
  --line: rgba(32, 30, 29, .12);
  --accent: #C67139;
  --link: #8C491A;
  --sage: #56633F;
  --sage-bg: #3D472B;
  --gold: #C9A03E;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 Figtree, system-ui, sans-serif;
}
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.prose { max-width: 720px; }

header.top { padding: 18px 0; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand span { font: 26px/1 Caprasimo, serif; }
nav.links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-weight: 600; font-size: 15px; }
nav.links a { color: var(--ink); text-decoration: none; }
nav.links a:hover { color: var(--accent); }
nav.links .lang { color: var(--text2); }

h1, h2, h3 { font-family: Caprasimo, serif; font-weight: 400; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(38px, 7vw, 64px); }
h2 { font-size: clamp(26px, 4vw, 34px); margin-top: 1.6em; }
h3 { font-size: 21px; margin-top: 1.4em; }

.hero { padding: 40px 0 24px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero .kicker { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: var(--accent); margin-bottom: 12px; }
.hero p.lead { font-size: 20px; color: var(--night); max-width: 34em; }
.hero .icon { justify-self: center; width: min(300px, 70vw); border-radius: 22%; box-shadow: 0 24px 60px -20px rgba(100, 51, 18, .55); }
.soon { display: inline-block; margin-top: 18px; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--cream); font-weight: 600; }

.shots { display: flex; gap: 18px; overflow-x: auto; padding: 28px 4px 36px; scroll-snap-type: x mandatory; }
.shots img { flex: 0 0 auto; width: 220px; border-radius: 26px; scroll-snap-align: start; box-shadow: 0 16px 40px -18px rgba(32, 30, 29, .45); }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding-bottom: 48px; }
.feature { background: var(--surface); border-radius: 22px; padding: 22px 24px; }
.feature h3 { margin-top: 0; }
.feature p { margin: 0; color: var(--night); }

.page { padding: 24px 0 56px; }
.page .updated { color: var(--text2); font-size: 15px; margin-top: -4px; }
.page ul { padding-left: 1.2em; }
.page li { margin: .3em 0; }
.page table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 1em 0; }
.page th, .page td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.page th { font-weight: 700; }
.card { background: var(--surface); border-radius: 18px; padding: 18px 22px; margin: 1.2em 0; }
.card p:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.steps { counter-reset: s; list-style: none; padding-left: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; margin: .7em 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--cream); font-weight: 700; font-size: 15px; display: grid; place-items: center; }

footer.bottom { border-top: 1px solid var(--line); padding: 26px 0 40px; font-size: 14px; color: var(--text2); }
footer.bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; }
footer.bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer.bottom a { color: var(--text2); }
footer.bottom .credit { flex-basis: 100%; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 16px; }
  .hero .icon { order: -1; width: 160px; justify-self: start; }
  .features { grid-template-columns: 1fr; }
  .shots img { width: 180px; border-radius: 22px; }
  header.top .wrap { flex-wrap: wrap; }
  .page table, .page thead, .page tbody, .page tr, .page th, .page td { display: block; }
  .page thead { display: none; }
  .page td { border-bottom: 0; padding: 4px 0; }
  .page tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
}
