/* flicase.com site. Built from concept B "Le jour J" (design step 6, validation 3) with the pricing page of concept A.
   Tokens copied from docs/design/systeme/flicase.css. Keep simple file names here: build.mjs adds the content hash. */
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(fonts/barlow-condensed-latin-600-normal.215a93c6.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(fonts/barlow-condensed-latin-700-normal.3787a5a4.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(fonts/barlow-latin-400-normal.b0a8ad37.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(fonts/barlow-latin-500-normal.cd759df8.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(fonts/barlow-latin-600-normal.4b52ddd4.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-mono-latin-400-normal.08949f72.woff2) format("woff2"); }

:root {
  --f-title: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-text: "Barlow", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --bg: #F4F2EC; --surface: #FFFFFF; --surface-2: #EEEBE3;
  --ink: #18191B; --muted: #6A6862; --muted-2: #A9A69E; --line: #DCD8CE;
  --accent: #F2C300; --accent-hover: #E0B400; --on-accent: #18191B;
  --ok: #1E7A4C; --bad: #C42B2B;
  --s-bg: #111214; --s-surface: #1C1D20; --s-ink: #F4F2EC; --s-muted: #A3A19B; --s-line: #2E2F33;
  --r-s: 3px; --r-l: 4px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --gutter: 40px; --max: 1240px;
}
@media (max-width: 1023px) { :root { --gutter: 32px; } }
@media (max-width: 599px) { :root { --gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.5 var(--f-text); font-variant-numeric: tabular-nums; overflow-x: clip; }
h1, h2, h3 { font-family: var(--f-title); font-weight: 700; margin: 0; line-height: 1.02; letter-spacing: .005em; text-wrap: balance; }
p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.mono { font-family: var(--f-mono); }
.quiet { color: var(--muted); font-size: 14px; }
.ic { width: 18px; height: 18px; flex: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 10; background: var(--accent); padding: 8px 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px; border-radius: var(--r-s); font: 600 16px/1 var(--f-text); text-decoration: none; border: 1px solid transparent; white-space: nowrap; transition: transform 120ms var(--ease-out), background-color 120ms; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-hover); }
.btn.ghost { border-color: var(--ink); color: var(--ink); }
.btn.big { height: 56px; padding: 0 24px; font-size: 18px; }
.btn.small { height: 40px; padding: 0 14px; font-size: 15px; }
.btn.small .ic { display: none; }
.tlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.tlink .ic { width: 16px; height: 16px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand img { height: 28px; width: auto; }
.nav { display: flex; gap: 24px; flex: 1; }
.nav a { text-decoration: none; font-weight: 500; font-size: 16px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-bottom-color: currentColor; }
.head-end { display: flex; align-items: center; gap: 16px; }
.lang { font: 600 14px/1 var(--f-mono); text-decoration: none; padding: 8px 4px; }
.btn .s { display: none; }
@media (max-width: 899px) {
  .head-in { display: grid; grid-template-columns: auto 1fr auto; height: auto; padding-top: 12px; padding-bottom: 0; row-gap: 8px; column-gap: 12px; }
  .brand { grid-column: 1; }
  .head-end { grid-column: 3; gap: 10px; }
  .nav { grid-column: 1 / -1; grid-row: 2; gap: 18px; padding-bottom: 6px; flex-wrap: wrap; }
  .nav a { font-size: 15px; }
  html { scroll-padding-top: 110px; }
}
@media (max-width: 599px) {
  .btn .l { display: none; } .btn .s { display: inline; }
  .brand img { height: 24px; }
  .nav { gap: 14px; }
  .nav a { font-size: 14px; }
}

/* Screenshots */
.shot { margin: 0; }
.shot img { width: 100%; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); }
.shot.phone img { border-radius: 6px; border-color: #2E2F33; }
.shot figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }

/* Ticks list */
.ticks li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks .ic { margin-top: 4px; color: var(--ok); }
.ticks li.no { color: var(--muted); }
.ticks li.no .ic { color: var(--muted); }

/* Section titles */
.sec-title { font-size: 40px; text-transform: uppercase; }
.sec-sub { color: var(--muted); margin-top: 10px; max-width: 62ch; }
@media (max-width: 599px) { .sec-title { font-size: 30px; } }

/* Page head (pricing, techs, legal) */
.page-head { padding: 72px 0 40px; }
.page-head h1 { font-size: 64px; text-transform: uppercase; max-width: 16ch; }
.page-head .sub { margin-top: 16px; font-size: 19px; max-width: 56ch; color: var(--muted); }
@media (max-width: 767px) { .page-head { padding: 40px 0 24px; } .page-head h1 { font-size: 40px; } .page-head .sub { font-size: 17px; } }

/* Pricing */
.pricing { padding-bottom: 32px; }
.plan h2 { font-size: 28px; text-transform: uppercase; }
.amount { font: 700 64px/1 var(--f-title); margin-top: 12px; }
.amount span { font: 500 16px/1 var(--f-text); color: var(--muted); margin-left: 10px; }
.alt { margin-top: 8px; color: var(--muted); min-height: 1.5em; }
.plan .ticks { margin: 20px 0 24px; }
.plan .note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.vat { margin-top: 24px; font-size: 14px; color: var(--muted); }
.compare { padding: 56px 0; border-top: 1px solid var(--line); }
.tbl-wrap { margin-top: 28px; overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; min-width: 0; }
.cmp th, .cmp td { text-align: left; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font: 600 14px/1.2 var(--f-text); color: var(--muted); }
.cmp tbody th { font: 700 22px/1.1 var(--f-title); width: 46%; }
.cmp tbody th span { display: block; font: 400 14px/1.4 var(--f-text); color: var(--muted); margin-top: 6px; }
.cmp td { font-size: 17px; white-space: nowrap; }
.cmp tr.us td { font-weight: 400; }
.notes { margin-top: 20px; font-size: 14px; color: var(--muted); }
.notes li { padding: 4px 0; }
.notes a { display: inline-flex; gap: 6px; align-items: center; color: var(--ink); }
.notes .ic { width: 14px; height: 14px; }
@media (max-width: 599px) {
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; }
  .cmp tr { border-bottom: 1px solid var(--line); padding: 12px 0; }
  .cmp th, .cmp td { border: 0; padding: 4px 0; white-space: normal; }
  .cmp td::before { content: attr(data-label) " "; color: var(--muted); font-family: var(--f-text); }
  .cmp tbody th { width: 100%; }
}

/* FAQ */
.faq-wrap { padding: 64px 0; }
.faq { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.faq > div { padding: 18px 0; border-top: 1px solid var(--line); }
.faq dt { font-weight: 600; font-size: 18px; }
.faq dd { margin-top: 6px; color: var(--muted); }
@media (max-width: 767px) { .faq { grid-template-columns: 1fr; } }

/* Facts (techs) */
.facts { padding: 56px 0; }
.facts-list { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 40px; }
.facts-list > div { border-top: 2px solid var(--ink); padding-top: 14px; }
.facts-list dt { font: 700 22px/1.1 var(--f-title); text-transform: uppercase; }
.facts-list dd { margin-top: 8px; color: var(--muted); }
@media (max-width: 899px) { .facts-list { grid-template-columns: 1fr; row-gap: 28px; } }

/* Final call */
.final { padding: 64px 0; border-top: 1px solid var(--line); }
.final-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.final h2 { font-size: 40px; text-transform: uppercase; max-width: 20ch; }
.final p { margin-top: 8px; color: var(--muted); max-width: 52ch; }
@media (max-width: 599px) { .final h2 { font-size: 30px; } }


/* Footer */
.site-foot { background: var(--ink); color: var(--s-ink); padding: 48px 0 56px; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-brand img { height: 28px; width: auto; }
.foot-brand p { margin-top: 14px; max-width: 36ch; }
.site-foot .quiet { color: var(--s-muted); }
.site-foot h2 { font: 600 13px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--s-muted); }
.site-foot ul { margin-top: 14px; }
.site-foot li { padding: 4px 0; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
@media (max-width: 767px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* Appear once (only when motion is allowed and JS runs) */
html.motion [data-appear] { opacity: 0; transform: translateY(8px); }
html.motion [data-appear].in { opacity: 1; transform: none; transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:active { transform: none; } }


.c-b .site-head { background: var(--s-bg); color: var(--s-ink); border-bottom-color: var(--s-line); }
.dark { background: var(--s-bg); color: var(--s-ink); }
.dark .sub, .dark .price-line, .dark .sec-sub, .dark p { color: var(--s-muted); }
.dark h1, .dark h2, .dark h3 { color: var(--s-ink); }
.dark .shot figcaption { color: var(--s-muted); }
.dark .tlink { color: var(--s-ink); }
.dark .btn.ghost { border-color: var(--s-ink); color: var(--s-ink); }

/* Hero */
.c-b .hero { padding: 64px 0 0; overflow: hidden; }
.c-b .hero-in { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; }
.c-b .hero-text { padding-bottom: 80px; }
.c-b .hero h1 { font-size: 96px; text-transform: uppercase; line-height: .95; }
.c-b .hero .sub { margin-top: 24px; font-size: 19px; max-width: 46ch; }
.c-b .actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.c-b .price-line { margin-top: 18px; font-size: 15px; }
.hero-phones { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; max-width: 520px; justify-self: end; margin-bottom: -1px; }
.hero-phones .shot:first-child { transform: translateY(-48px); }
.hero-phones .shot figcaption { display: none; }
.hero-phones .shot:last-child figcaption { display: block; }
.hero-phones .shot img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
@media (max-width: 1279px) { .c-b .hero h1 { font-size: 76px; } }
@media (max-width: 1023px) {
  .c-b .hero-in { grid-template-columns: 1fr; gap: 24px; }
  .c-b .hero-text { padding-bottom: 24px; }
  .hero-phones { justify-self: start; max-width: 480px; }
  .hero-phones .shot:first-child { transform: none; }
}
@media (max-width: 599px) {
  .c-b .hero { padding-top: 36px; }
  .c-b .hero h1 { font-size: 50px; }
  .c-b .hero .sub { font-size: 17px; }
  .hero-phones { gap: 12px; }
}

/* Timeline */
.day { padding: 88px 0 40px; }
.timeline { margin-top: 48px; position: relative; }
.timeline li { display: grid; grid-template-columns: 200px 4fr 6fr; gap: 40px; padding: 40px 0; border-top: 1px solid var(--line); align-items: start; }
.timeline li.phone { grid-template-columns: 200px 4fr 6fr; }
.timeline li.phone .shot { max-width: 220px; }
.timeline .when { font-size: 15px; padding-top: 6px; }
.timeline .when::before { content: ""; display: block; width: 12px; height: 12px; background: var(--ink); margin-bottom: 12px; }
.timeline li:nth-child(3) .when::before { background: var(--bad); }
.timeline h3 { font-size: 34px; text-transform: uppercase; }
.timeline .what p { margin-top: 10px; color: var(--muted); max-width: 40ch; }
@media (max-width: 1023px) {
  .timeline li, .timeline li.phone { grid-template-columns: 160px 1fr; }
  .timeline .shot { grid-column: 2; }
}
@media (max-width: 599px) {
  .day { padding-top: 56px; }
  .timeline li, .timeline li.phone { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .timeline .shot { grid-column: 1; }
  .timeline li.phone .shot { max-width: 220px; }
  .timeline h3 { font-size: 28px; }
  .timeline .when { display: flex; align-items: center; gap: 10px; padding: 0; }
  .timeline .when::before { margin: 0; }
}

/* More */
.more { padding: 64px 0; border-top: 2px solid var(--ink); }
.more-in { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; margin-top: 32px; align-items: start; }
.more-lists { display: grid; gap: 32px; }
.more-lists h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 12px; }
@media (max-width: 1023px) { .more-in { grid-template-columns: 1fr; } }

/* Price band */
.price-b { padding: 72px 0; }
.price-b-in { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.price-b .amount { font-size: 140px; color: var(--s-ink); }
.price-b .amount span { color: var(--s-muted); }
.price-b h2 { font-size: 40px; text-transform: uppercase; margin-bottom: 16px; }
.price-b p + p { margin-top: 8px; }
.price-b .actions { margin-top: 28px; }
@media (max-width: 1023px) { .price-b-in { grid-template-columns: 1fr; gap: 24px; } .price-b .amount { font-size: 88px; } }
@media (max-width: 599px) { .price-b .amount { font-size: 72px; } .price-b h2 { font-size: 30px; } }

/* Numbered FAQ */
.faq.num { grid-template-columns: 1fr; max-width: 860px; }
.faq.num > div { display: grid; grid-template-columns: 56px 1fr; }
.faq.num .n { font: 400 15px/1.6 var(--f-mono); color: var(--muted); grid-row: span 2; }

/* Technicians page (dark) */
.techs { padding: 24px 0 72px; }
.c-b .page-head.dark { padding-bottom: 32px; }
.steps-b { margin-top: 32px; }
.steps-b li { display: grid; grid-template-columns: 72px 5fr 4fr; gap: 32px; padding: 28px 0; border-top: 1px solid var(--s-line); align-items: start; }
.steps-b .n { font-size: 32px; color: var(--s-ink); line-height: 1; }
.steps-b h3 { font-size: 28px; text-transform: uppercase; }
.steps-b .what p { margin-top: 8px; max-width: 44ch; }
.steps-b .shot { max-width: 240px; }
@media (max-width: 767px) {
  .steps-b li { grid-template-columns: 48px 1fr; gap: 16px; }
  .steps-b .shot { grid-column: 2; max-width: 220px; }
  .steps-b .n { font-size: 24px; }
  .steps-b h3 { font-size: 24px; }
}

/* Pricing page: two plans side by side in one ruled block (from concept A) */
.plans { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.plan { padding: 28px 32px 32px 0; }
.plan.paid { padding-left: 32px; border-left: 1px solid var(--line); }
.plan .note + .note { margin-top: 4px; }
@media (max-width: 767px) {
  .plans { grid-template-columns: 1fr; }
  .plan.paid { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .plan { padding-right: 0; }
}

/* Desk screenshots: a readable crop on phones (picture source), full screen above */
.shot picture { display: block; }

/* Legal pages */
.legal { padding: 8px 0 72px; }
.legal-in { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 56px; }
.lnav ul { position: sticky; top: 104px; border-top: 2px solid var(--ink); }
.lnav li { border-bottom: 1px solid var(--line); }
.lnav a { display: block; padding: 10px 0; text-decoration: none; font-weight: 500; }
.lnav a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.legal-text { overflow-wrap: anywhere; }
.legal-text h2 { font-size: 28px; text-transform: uppercase; margin: 40px 0 12px; }
.legal-text h3 { font-size: 21px; margin: 28px 0 8px; }
.legal-text p, .legal-text ul, .legal-text ol, .legal-text table { margin-top: 12px; }
.legal-text ul { list-style: disc; padding-left: 22px; }
.legal-text ol { list-style: decimal; padding-left: 22px; }
.legal-text li { padding: 2px 0; }
.legal-text table { border-collapse: collapse; width: 100%; font-size: 15px; display: block; overflow-x: auto; }
.legal-text th, .legal-text td { text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-text code { font-family: var(--f-mono); font-size: .9em; }
.placeholder { border-top: 2px solid var(--ink); padding-top: 20px; }
.placeholder p { margin-top: 8px; color: var(--muted); }
.back { margin-top: 40px; }
@media (max-width: 899px) { .legal-in { grid-template-columns: 1fr; gap: 24px; } .lnav ul { position: static; } }

/* 404 */
.nf { padding: 96px 0 120px; }
.nf p { margin-top: 12px; color: var(--muted); }
.nf .actions { margin-top: 28px; display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
