/* Gabriel Jossic: business home page.
   One stylesheet, system fonts only, no external requests, no JavaScript.
   Light and dark palettes follow prefers-color-scheme. Contrast ratios noted are against --bg. */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-soft: #fbfbfd;
  --bg-alt: #f5f5f7;
  --surface: #ffffff;
  --ink: #1d1d1f;          /* 16.8:1 */
  --muted: #6e6e73;        /* 5.1:1; 4.6:1 on --bg-alt */
  --line: #d2d2d7;
  --hairline: rgba(0, 0, 0, .08);
  --accent: #0071e3;       /* button fill; white text 4.6:1 */
  --accent-hover: #0077ed;
  --accent-press: #006edb;
  --link: #0066cc;         /* 5.6:1 */
  --accent-tint: rgba(0, 113, 227, .09);
  --header-bg: rgba(251, 251, 253, .78);
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px -12px rgba(0, 0, 0, .14);
  --focus: #0071e3;
  --radius: 20px;
  --radius-sm: 12px;
  --wrap: 68rem;
  --measure: 42rem;
  --ease: cubic-bezier(.25, .1, .25, 1);
  /* system-ui comes after named sans faces: on some Linux desktops it maps to a serif UI font. */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI", Roboto,
    "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", Arial, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-soft: #0a0a0b;
    --bg-alt: #111113;
    --surface: #1c1c1e;
    --ink: #f5f5f7;        /* 19:1 */
    --muted: #a1a1a6;      /* 8.2:1; 6.6:1 on --surface */
    --line: #38383c;
    --hairline: rgba(255, 255, 255, .1);
    --accent: #0071e3;
    --accent-hover: #0a7cf0;
    --accent-press: #0066cc;
    --link: #2997ff;       /* 7.0:1 on black, 5.6:1 on --surface */
    --accent-tint: rgba(41, 151, 255, .14);
    --header-bg: rgba(10, 10, 11, .72);
    --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 16px 40px -16px rgba(0, 0, 0, .8);
    --focus: #2997ff;
  }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
a { color: var(--link); text-decoration: none; text-underline-offset: .18em; transition: color .2s var(--ease); }
a:hover { text-decoration: underline; }
p a, li a, dd a { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
p a:hover, li a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { color: var(--ink); margin: 0 0 .5em; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.5rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; }
h2 { font-size: clamp(1.85rem, 1.3rem + 2.2vw, 3rem); line-height: 1.1; letter-spacing: -.028em; }
h3 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -.012em; }
p, ul, ol { margin: 0 0 1em; }
p { text-wrap: pretty; }
strong { font-weight: 600; }
svg { display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.narrow { max-width: calc(var(--measure) + 5rem); }
.small { font-size: .875rem; color: var(--muted); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--bg);
  padding: .6rem 1rem; border-radius: var(--radius-sm); transition: top .2s var(--ease); }
.skip:focus { top: .75rem; text-decoration: none; }

/* Header: sticky, translucent, hairline */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.25rem; }
.id { display: flex; align-items: baseline; gap: .9rem; min-width: 0; }
.brand { color: var(--ink); font-weight: 600; font-size: 1.0625rem; letter-spacing: -.015em; white-space: nowrap; }
.brand:hover { text-decoration: none; opacity: .8; }
.tagline { color: var(--muted); font-size: .8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-header nav { display: flex; align-items: center; gap: .25rem; }
.site-header nav a { color: var(--ink); font-size: .875rem; padding: .35rem .7rem; border-radius: 999px; opacity: .82;
  transition: opacity .2s var(--ease), background-color .2s var(--ease); }
.site-header nav a:hover { opacity: 1; text-decoration: none; background: var(--hairline); }
.site-header nav a.lang { opacity: 1; border: 1px solid var(--line); margin-left: .4rem; font-weight: 500; }
@media (max-width: 52rem) { .tagline { display: none; } }
@media (max-width: 40rem) { .site-header nav a.nav-optional { display: none; } }

/* Sections */
section { padding: clamp(4.5rem, 3rem + 6vw, 8rem) 0; }
.band-soft { background: var(--bg-soft); }
.band-alt { background: var(--bg-alt); --ring: var(--bg-alt); }
.section-head { text-align: center; max-width: 46rem; margin: 0 auto clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head p { color: var(--muted); font-size: 1.1875rem; line-height: 1.5; margin: 0; }
.eyebrow { display: block; color: var(--muted); font-size: .9375rem; font-weight: 500; letter-spacing: .005em; margin: 0 0 1.1rem; }

/* Hero */
.hero { text-align: center; padding: clamp(5rem, 3rem + 9vw, 10rem) 0 clamp(4.5rem, 3rem + 6vw, 8rem); background: var(--bg-soft);
  border-bottom: 1px solid var(--hairline); }
.hero h1 { max-width: 19ch; margin: 0 auto .4em; }
.lede { font-size: clamp(1.1875rem, 1rem + .8vw, 1.5rem); line-height: 1.4; color: var(--muted); max-width: 40rem;
  margin: 0 auto; letter-spacing: -.01em; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 1.75rem; margin-top: 2.25rem; }
.disclosure-inline { font-size: .875rem; color: var(--muted); max-width: 34rem; margin: 2.75rem auto 0; }

.hero .eyebrow, .hero h1, .hero .lede, .hero .actions, .hero .disclosure-inline { animation: rise .8s var(--ease) both; }
.hero h1 { animation-delay: .06s; }
.hero .lede { animation-delay: .14s; }
.hero .actions { animation-delay: .22s; }
.hero .disclosure-inline { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Buttons and links with chevrons */
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.875rem;
  background: var(--accent); color: #fff; font-size: 1.0625rem; font-weight: 500; letter-spacing: -.01em;
  padding: .7rem 1.45rem; border-radius: 999px; text-decoration: none;
  transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.button:hover { background: var(--accent-hover); text-decoration: none; color: #fff; box-shadow: 0 6px 18px -6px rgba(0, 113, 227, .55); }
.button:active { background: var(--accent-press); transform: scale(.98); }
.more { font-size: 1.0625rem; color: var(--link); display: inline-flex; align-items: center; gap: .2em; }
.more::after { content: ""; width: .42em; height: .42em; border: solid currentColor; border-width: 1.6px 1.6px 0 0;
  transform: rotate(45deg); margin-left: .2em; transition: transform .2s var(--ease); }
.more:hover::after { transform: translateX(3px) rotate(45deg); }

/* Services: 2x2 cards */
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
@media (min-width: 56rem) { .grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.service {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem); display: flex; flex-direction: column;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.service:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: transparent; }
.icon { width: 2.75rem; height: 2.75rem; border-radius: var(--radius-sm); background: var(--accent-tint); color: var(--link);
  display: grid; place-items: center; margin-bottom: 1.4rem; }
.icon svg { width: 1.375rem; height: 1.375rem; }
.service h3 { font-size: 1.375rem; margin-bottom: .55em; }
.service > p { color: var(--muted); }
.label { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink);
  margin: .6rem 0 .8rem; padding-top: 1.2rem; border-top: 1px solid var(--hairline); }
.note { font-size: .9375rem; color: var(--muted); margin: auto 0 0; padding-top: .4rem; }
.tools { text-align: center; color: var(--muted); max-width: 40rem; margin: clamp(2.5rem, 2rem + 2vw, 3.5rem) auto 0; }

.ticks { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.ticks li { position: relative; padding-left: 1.75rem; margin-bottom: .65rem; font-size: 1rem; line-height: 1.55; }
.ticks li::before { content: ""; position: absolute; left: .3rem; top: .32em; width: .34rem; height: .7rem;
  border: solid var(--link); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.plain { padding-left: 1.25rem; }
.plain li { margin-bottom: .55rem; }
.plain li::marker { color: var(--muted); }

/* How it works: horizontal sequence */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 2.25rem 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 36rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 54rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 70rem) { .steps { grid-template-columns: repeat(5, 1fr); gap: 1.75rem; } }
.steps li { position: relative; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.steps li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--ring, var(--bg)); }
.steps h3 { font-size: 1.0625rem; margin-bottom: .45em; }
.steps p { color: var(--muted); font-size: .9688rem; line-height: 1.55; margin: 0; }

/* Pricing and AI: two calm panels */
.duo { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
@media (min-width: 56rem) { .duo { gap: 1.5rem; } }
.panel { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: clamp(1.75rem, 1.2rem + 2vw, 3rem); }
.panel h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); }
.panel p:last-child { margin-bottom: 0; }

/* FAQ */
.faq { max-width: var(--measure); margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; font-size: 1.1875rem; font-weight: 600; letter-spacing: -.012em; border-radius: 6px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: .55rem; height: .55rem; border: solid var(--muted);
  border-width: 0 1.6px 1.6px 0; transform: translateY(-25%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(15%) rotate(-135deg); }
.faq summary:hover { color: var(--link); }
.faq details p { color: var(--muted); margin: -.25rem 0 1.4rem; padding-right: 2rem; }

/* Final call to action */
.cta { text-align: center; }
.cta p { color: var(--muted); font-size: 1.1875rem; max-width: 36rem; margin-left: auto; margin-right: auto; }
.cta .actions { margin-top: 1.75rem; }

/* Legal documents with a sticky table of contents */
.doc { display: grid; gap: 3rem; padding-top: clamp(3rem, 2rem + 4vw, 5.5rem); padding-bottom: clamp(4rem, 3rem + 4vw, 7rem); }
.toc { display: none; }
@media (min-width: 64rem) {
  .doc { grid-template-columns: 14.5rem minmax(0, var(--measure)); justify-content: center; gap: 4.5rem; }
  .toc { display: block; position: sticky; top: 5.25rem; align-self: start; max-height: calc(100vh - 6.5rem); overflow-y: auto;
    padding-right: .5rem; }
}
.toc-title { font-size: .8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: .9rem 0 .8rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc li { margin: 0; }
.toc a { text-decoration: none; display: block; color: var(--muted); font-size: .875rem; line-height: 1.4; padding: .4rem 0 .4rem 1rem;
  margin-left: -1px; border-left: 1px solid transparent; transition: color .2s var(--ease), border-color .2s var(--ease); }
.toc a:hover { color: var(--ink); border-left-color: var(--ink); text-decoration: none; }
.legal { max-width: var(--measure); min-width: 0; }
.legal h1 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem); margin-bottom: .35em; }
.legal > .small:first-of-type { padding-bottom: 2rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.legal h2 { font-size: 1.375rem; letter-spacing: -.018em; line-height: 1.25; margin: 2.4em 0 .6em; }
.legal h3 { font-size: 1.0625rem; margin: 1.8em 0 .4em; }
.legal p, .legal li { line-height: 1.7; }
.page-head { padding: clamp(5rem, 3rem + 8vw, 9rem) 0; text-align: center; }
.page-head .narrow { margin: 0 auto; }

/* Footer */
.site-footer { background: var(--bg-alt); color: var(--muted); font-size: .8125rem; line-height: 1.6;
  padding: 2.75rem 0 2.25rem; border-top: 1px solid var(--hairline); }
.site-footer a { color: var(--ink); }
.site-footer p { margin: 0 0 .5em; }
.footer-grid { display: grid; gap: 2rem 3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  padding-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
@media (min-width: 52rem) { .footer-grid { grid-template-columns: 2fr 1fr; } }
.footer-title { font-size: .8125rem; font-weight: 600; letter-spacing: 0; color: var(--ink); margin: 0 0 .75em; line-height: 1.4; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .5em; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.site-footer .ai-note { margin-top: 1.5rem; color: var(--muted); max-width: 52rem; }
.site-footer .small { font-size: .8125rem; max-width: 52rem; }

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .service:hover { transform: none; }
}

/* Print */
@media print {
  .site-header, .toc, .skip { display: none; }
  .hero, section, .doc { padding: 1.5rem 0; }
  .service:hover { box-shadow: none; transform: none; }
}
