/* Fulo public homepage. Same design language as the console (editorial monochrome, display type, one dark surface
   for the AI), self-contained so the site needs no console assets. */
:root {
  --bg: #fcfcfc; --surface: #ffffff; --surface-2: #f6f6f6; --surface-3: #eeeeee;
  --ink: #141414; --ink-2: #474747; --muted: #737373; --faint: #9d9d9d;
  --line: #ebebeb; --line-2: #dfdfdf; --line-3: #cccccc;
  --dark: #111111; --dark-2: #1c1c1c; --dark-line: #2a2a2a; --dark-muted: #9a9a9a;
  --brand: #e2552b;
  --ok: #1f7a3f; --ok-bg: #f0f8f3; --ok-line: #cfe6d7; --live: #1f9d55;
  --r-sm: 6px; --r: 8px; --r-lg: 12px; --r-xl: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --display: "Space Grotesk", "Geist", "Inter", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-family: var(--font); color: var(--ink); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, blockquote, ol, dl, dd { margin: 0; }
ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
section[id] { scroll-margin-top: 68px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.muted { color: var(--muted); }

/* ---------- nav (dark, sits on the hero) ---------- */
/* solid black (the hero's own colour): no translucency, so it never turns grey over the light sections */
.nav { position: sticky; top: 0; z-index: 10; background: var(--dark); color: #fff; border-bottom: 1px solid #1e1e1e; }
.nav-inner { height: 64px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.mark { width: 28px; height: 28px; border-radius: var(--r); background: var(--brand); color: #fff; display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 15px; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -.035em; }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a { padding: 7px 13px; border-radius: 999px; font-size: 14px; color: #bdbdbd; font-weight: 500; transition: color .15s, background .15s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-actions { display: flex; gap: 8px; margin-left: auto; }
.nav-links + .nav-actions { margin-left: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px;
  font-weight: 500; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, transform .08s; }
.btn:hover { border-color: var(--line-3); background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.light { background: #fff; border-color: #fff; color: var(--dark); }
.btn.light:hover { background: #e9e9e9; border-color: #e9e9e9; }
.btn.outline { background: transparent; border-color: #444; color: #fff; }
.btn.outline:hover { border-color: #777; background: rgba(255, 255, 255, .04); }
.btn.ghost { background: transparent; border-color: transparent; color: #d6d6d6; }
.btn.ghost:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.btn.lg { height: 50px; padding: 0 24px; font-size: 15px; }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 1px; background: var(--brand); }
h1 { font-family: var(--display); font-size: clamp(44px, 5.6vw, 80px); line-height: .96; letter-spacing: -.06em; font-weight: 500; }
h2 { font-family: var(--display); font-size: clamp(34px, 4.6vw, 60px); line-height: 1; letter-spacing: -.055em; font-weight: 500; max-width: 760px; }
h3 { font-family: var(--display); font-size: 21px; letter-spacing: -.035em; font-weight: 500; line-height: 1.2; }
.lede { font-size: 18px; color: var(--muted); max-width: 560px; margin-top: 22px; }

/* ---------- hero (dark) ---------- */
.hero { position: relative; overflow: hidden; background: var(--dark); color: #fff; padding: 96px 0 104px; }
.hero::before { content: ""; position: absolute; right: -10%; top: 10%; width: 900px; height: 900px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(226, 85, 43, .22), transparent); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--dark-line) 1px, transparent 1px), linear-gradient(90deg, var(--dark-line) 1px, transparent 1px);
  background-size: 72px 72px; mask-image: radial-gradient(closest-side at 25% 35%, #000, transparent); -webkit-mask-image: radial-gradient(closest-side at 25% 35%, #000, transparent); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 64px; align-items: center; }
.hero .eyebrow { color: var(--dark-muted); }
.hero .lede { color: #a9a9a9; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; }
.facts { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: #d4d4d4; }
.facts li { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--dark-line); background: rgba(255, 255, 255, .03); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); flex: none; }
.dot.ok { background: var(--live); box-shadow: 0 0 0 3px rgba(31, 157, 85, .18); }
.live-dot { background: var(--live); box-shadow: 0 0 0 3px rgba(31, 157, 85, .2); animation: breathe 1.8s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 3px rgba(31, 157, 85, .22); } 50% { box-shadow: 0 0 0 7px rgba(31, 157, 85, .04); } }

/* the example call: a dark product window with a light confirmation card over it */
.hero-visual { position: relative; display: grid; gap: 0; }
.call { background: var(--dark-2); border: 1px solid #303030; border-radius: var(--r-xl); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9); }
.call-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--dark-line); }
.call-who { display: flex; align-items: center; gap: 12px; }
.call-who b { display: block; font-size: 15px; font-weight: 600; }
.call-who span { font-size: 12.5px; color: var(--dark-muted); }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--dark);
  font-family: var(--display); font-weight: 600; font-size: 15px; }
.live { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--dark-line);
  font-size: 12.5px; color: #d8d8d8; font-variant-numeric: tabular-nums; white-space: nowrap; }
.transcript { padding: 20px 20px 84px; display: grid; gap: 12px; }
.transcript li { display: grid; gap: 4px; max-width: 86%; }
.transcript .who { font-size: 10.5px; font-weight: 600; color: #7d7d7d; text-transform: uppercase; letter-spacing: .08em; }
.transcript p { font-size: 14.5px; line-height: 1.45; padding: 10px 14px; border-radius: 14px; }
.transcript .guest p { background: #2a2a2a; color: #eee; border-top-left-radius: 4px; }
.transcript .agent { justify-self: end; text-align: right; }
.transcript .agent p { background: #fff; color: var(--dark); border-top-right-radius: 4px; text-align: left; }
.transcript .tool { display: flex; align-items: center; gap: 8px; justify-self: center; max-width: none; font-size: 12.5px; color: var(--dark-muted); }
.tool-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 500;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.chip.ok { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok); }
.hero .chip.ok { background: rgba(31, 157, 85, .14); border-color: rgba(31, 157, 85, .35); color: #7ee2a4; }
.confirm { position: relative; margin: -64px 24px 0 48px; padding: 18px 22px; background: #fff; color: var(--ink); border-radius: var(--r-lg);
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .7); }
.confirm-head { display: flex; align-items: center; gap: 12px; }
.confirm-head b { display: block; font-family: var(--display); font-size: 18px; font-weight: 500; letter-spacing: -.03em; }
.confirm-head span { font-size: 12.5px; color: var(--muted); }
.check { width: 30px; height: 30px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; flex: none;
  box-shadow: 0 0 0 5px rgba(31, 122, 63, .12); }
.confirm-grid { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 32px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.confirm-grid dt { font-size: 12px; color: var(--muted); }
.confirm-grid dd { font-size: 15px; font-weight: 500; }
.caption { font-size: 12px; color: #6f6f6f; text-align: center; margin-top: 18px; }

/* ---------- sections ---------- */
.section { padding: 128px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding-bottom: 40px; margin-bottom: 0; }
.section-head > div { flex: 1 1 520px; }
/* how it works: an open band of four steps, hairline separated */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.steps li { display: grid; gap: 12px; align-content: start; padding: 32px 28px 34px; border-left: 1px solid var(--line); }
.steps li:first-child { border-left: 0; padding-left: 0; }
.step-n { font-family: var(--display); font-size: 56px; font-weight: 500; letter-spacing: -.06em; line-height: 1; color: var(--line-3); }
.steps li:hover .step-n { color: var(--brand); }
.step-n { transition: color .2s; }
.steps p { font-size: 15px; color: var(--muted); }
.mini { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; min-height: 30px; }
.mini-line { font-family: var(--display); font-size: 15px; color: var(--ink); letter-spacing: -.01em; }
.mini-muted { font-size: 12.5px; color: var(--muted); }

/* languages: editorial quotes */
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
.quotes { display: grid; border-top: 1px solid var(--line-2); }
.quote { padding: 32px 0; border-bottom: 1px solid var(--line-2); }
.lang { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line-2); }
.quote blockquote { margin-top: 18px; font-family: var(--display); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; letter-spacing: -.035em; }

/* actions: dark connected flow */
.section.dark { background: var(--dark); color: #fff; border-top: 0; position: relative; overflow: hidden; }
.section.dark::before { content: ""; position: absolute; left: -10%; bottom: -40%; width: 800px; height: 800px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(226, 85, 43, .16), transparent); }
.section.dark .wrap { position: relative; }
.section.dark .eyebrow { color: var(--dark-muted); }
.support { flex: 0 1 340px; font-size: 16px; color: #a9a9a9; }
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.node { position: relative; display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: var(--r-xl); border: 1px solid var(--dark-line); background: var(--dark-2); }
.node:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -32px; width: 24px; height: 1px; background: #5a5a5a; }
.node:not(:last-child)::before { content: ""; position: absolute; top: calc(50% - 3px); right: -32px; width: 6px; height: 6px;
  border-top: 1px solid #5a5a5a; border-right: 1px solid #5a5a5a; transform: rotate(45deg); }
.node-icon { width: 40px; height: 40px; border-radius: var(--r); display: grid; place-items: center; background: #fff; color: var(--dark); margin-bottom: 12px; }
.card-n { font-size: 11.5px; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: .09em; }
.node h3 { font-size: 24px; }
.node p { font-size: 15px; color: #a9a9a9; }

/* demo: dark CTA panel with the call orb */
.demo { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center;
  padding: 64px; background: var(--dark); color: #fff; border-radius: 24px; }
.demo::before { content: ""; position: absolute; right: -8%; top: 50%; width: 620px; height: 620px; transform: translateY(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(226, 85, 43, .28), transparent); }
.demo > * { position: relative; }
.demo .eyebrow { color: var(--dark-muted); }
.demo .lede { color: #a9a9a9; }
.demo .btn { margin-top: 32px; }
.note { margin-top: 14px; font-size: 14px; color: #8a8a8a; max-width: 520px; }
.orb { position: relative; width: 168px; height: 168px; margin-right: 40px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--dark);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .05), 0 30px 80px -24px rgba(0, 0, 0, .9); transition: transform .2s var(--ease); }
.orb:hover { transform: scale(1.04); }
.orb span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); animation: ripple 3.6s var(--ease) infinite; }
.orb span:nth-child(2) { animation-delay: 1.2s; }
.orb span:nth-child(3) { animation-delay: 2.4s; }
@keyframes ripple { from { transform: scale(1); opacity: 1; } to { transform: scale(2); opacity: 0; } }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0 0; overflow: hidden; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.footer-links { display: flex; gap: 24px; font-size: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--ink); }
.wordmark { font-family: var(--display); font-weight: 500; font-size: clamp(120px, 24vw, 320px); line-height: .8; letter-spacing: -.07em;
  color: var(--surface-3); margin: 40px 0 -2vw; user-select: none; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .hero { padding: 72px 0 88px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .flow { grid-template-columns: 1fr; gap: 32px; }
  .node:not(:last-child)::after { top: auto; bottom: -24px; right: auto; left: 50%; width: 1px; height: 16px; }
  .node:not(:last-child)::before { top: auto; bottom: -25px; right: auto; left: calc(50% - 3px); transform: rotate(135deg); }
  .demo { grid-template-columns: 1fr; padding: 48px; }
  .orb { margin: 0; justify-self: start; width: 128px; height: 128px; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
  .section { padding: 88px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .nav-actions .ghost { display: none; }
  .hero { padding: 52px 0 64px; }
  .lede { font-size: 16.5px; }
  .cta-row .btn { flex: 1; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-left: 0; padding: 26px 0; }
  .steps li + li { border-top: 1px solid var(--line); }
  .transcript li { max-width: 100%; }
  .confirm { margin: -56px 12px 0; }
  .confirm-grid { grid-template-columns: repeat(2, auto); }
  .demo { padding: 32px 22px; border-radius: 18px; }
  .node { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
