/* Furiosa suite v2 design system, shared with furiosa.com (assets/v2/css/v2.css there).
   Copied, not linked, so furiosasignal.com has no runtime dependency on another host.
   Keep in step with the furiosa.com original when either changes. */

:root {
  /* All values come from suite-tokens.css (loaded first), the one design source for every Furiosa product. */
  --teal:       var(--fs-teal);
  --teal-dark:  var(--fs-teal-dark);
  --teal-ink:   var(--fs-teal-ink);   /* teal for text on white, AA */
  --teal-light: var(--fs-teal-light);
  --teal-mid:   var(--fs-teal-mid);
  --glow:       var(--fs-glow);
  --navy:       var(--fs-navy);
  --navy-light: var(--fs-navy-light);
  --navy-deep:  var(--fs-navy-deep);
  --bg:         var(--fs-bg);
  --white:      var(--fs-white);
  --text:       var(--fs-text);
  --muted:      var(--fs-muted);
  --line:       var(--fs-line);
  --on-dark:    var(--fs-on-dark);
  --on-dark-2:  var(--fs-on-dark-2);
  --dark-line:  var(--fs-dark-line);

  --display: var(--fs-font-display);
  --body:    var(--fs-font-body);
  --max:     1240px;
  --gutter:  clamp(16px, 4vw, 48px);
  --r-lg:    var(--fs-r-lg);
  --r-md:    var(--fs-r-md);
  --ease:    var(--fs-ease);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body.v2 { margin: 0; background: var(--white); color: var(--text); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
:where(.v2) :where(img, video) { display: block; max-width: 100%; height: auto; }
:where(.v2) :where(h1, h2, h3, h4, p, figure, ul, ol, dl, dd) { margin: 0; }
:where(.v2) :where(ul, ol) { padding: 0; list-style: none; }
:where(.v2) :where(a) { color: inherit; }
.v2 :focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 3px; border-radius: 6px; }
.v2 .dark :focus-visible, .v2 .foot :focus-visible, .v2 .nav-on-dark:not(.nav-scrolled) :focus-visible { outline-color: var(--glow); }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }
.i { width: 24px; height: 24px; flex: none; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.display-xl, .display-l, .display-m, .display-s {
  font-family: var(--display); font-weight: 800; letter-spacing: -.035em; text-wrap: balance;
}
.display-xl { font-stretch: 118%; font-size: clamp(2.6rem, 7vw, 6.4rem); line-height: .96; }
.display-l  { font-stretch: 115%; font-size: clamp(2.1rem, 4.6vw, 4rem); line-height: 1; }
.display-m  { font-stretch: 112%; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: -.025em; }
.display-s  { font-stretch: 110%; font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.15; letter-spacing: -.02em; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.55; color: var(--muted); max-width: 40rem; }
.dark .lede { color: var(--on-dark-2); }
.kicker { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: 1rem; color: var(--teal-ink); margin-bottom: 1rem; }
.dark .kicker { color: var(--glow); }
.kicker .i { width: 20px; height: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 700 1rem/1 var(--body); text-decoration: none; border-radius: 999px;
  padding: 1rem 1.5rem; border: 2px solid transparent; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn-sm { padding: .65rem 1.05rem; font-size: .92rem; }
/* Teal buttons carry white text (Adam, 19 Sep 2026). */
.btn-primary { background: var(--fs-btn); color: #fff; }
.btn-primary:hover { background: var(--fs-btn-hover); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-light); }
.btn-ghost { border-color: currentColor; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.dark .btn-ghost { color: #fff; }
.dark .btn-ghost:hover { background: #fff; color: var(--navy-deep); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; padding: 14px var(--gutter) 0; pointer-events: none; }
.nav-in {
  pointer-events: auto; max-width: var(--max); margin: 0 auto; height: 62px;
  display: flex; align-items: center; gap: 1.5rem; padding: 0 .5rem 0 1.1rem;
  border-radius: 999px; background: rgba(255,255,255,.9); border: 1px solid rgba(0,176,198,.3);
  box-shadow: 0 6px 30px rgba(8,47,60,.08); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.nav-logo { display: block; flex: none; }
.nav-logo img { height: 30px; width: auto; }
.nav .logo-dark { display: none; }
.nav-links { display: flex; gap: .2rem; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: .96rem; color: var(--navy); padding: .5rem .8rem; border-radius: 999px; }
.nav-links a:hover, .nav-links a[aria-current] { background: var(--teal-light); }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.nav-login { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--navy); padding: .5rem .6rem; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--teal-light); color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
/* On pages that open on a dark hero */
.nav-on-dark:not(.nav-scrolled) .nav-in { background: rgba(6,30,40,.55); border-color: rgba(127,232,245,.25); box-shadow: none; }
.nav-on-dark:not(.nav-scrolled) .logo-light { display: none; }
.nav-on-dark:not(.nav-scrolled) .logo-dark { display: block; }
.nav-on-dark:not(.nav-scrolled) .nav-links a, .nav-on-dark:not(.nav-scrolled) .nav-login { color: #fff; }
.nav-on-dark:not(.nav-scrolled) .nav-links a:hover, .nav-on-dark:not(.nav-scrolled) .nav-links a[aria-current] { background: rgba(255,255,255,.12); }
.nav-on-dark:not(.nav-scrolled) .nav-toggle { background: rgba(255,255,255,.14); color: #fff; }
.mobile-menu {
  pointer-events: auto; max-width: var(--max); margin: 8px auto 0; padding: .8rem; border-radius: 22px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(8,47,60,.18);
  display: grid; gap: .2rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { text-decoration: none; font-weight: 600; padding: .8rem 1rem; border-radius: 12px; color: var(--navy); }
.mobile-menu a:hover { background: var(--teal-light); }
.mobile-menu .btn { margin-top: .4rem; color: var(--navy-deep); }
.mobile-menu .btn-primary { color: #fff; }

@media (max-width: 980px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Sections ---------- */
.sec { padding-block: clamp(4.5rem, 9vw, 8rem); }
.sec-tint { background: var(--bg); }
.dark { background: var(--navy-deep); color: var(--on-dark); position: relative; isolation: isolate; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.glow-bg::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 45% at 50% 60%, rgba(0,176,198,.22), transparent 70%),
    radial-gradient(35% 30% at 90% 0%, rgba(0,176,198,.14), transparent 70%);
}
.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.2rem clamp(2rem, 5vw, 5rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.sec-head.center .lede { margin-inline: auto; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- Icon badge ---------- */
.ibadge {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: var(--teal-light); color: var(--teal-ink);
}
.dark .ibadge { background: rgba(0,176,198,.14); color: var(--glow); }
.ibadge.solid { background: var(--navy); color: var(--glow); }

/* ---------- Tick grid (for inclusions, never a plain list) ---------- */
.ticks { display: grid; gap: .7rem 1.4rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; line-height: 1.4; }
.ticks .i { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--teal-light); color: var(--teal-ink); margin-top: .05rem; }
.dark .ticks .i { background: rgba(0,176,198,.18); color: var(--glow); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.stat { border-top: 2px solid var(--teal); padding-top: 1rem; }
.stat b { display: block; font-family: var(--display); font-stretch: 118%; font-weight: 800; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -.03em; color: var(--navy); }
.dark .stat b { color: #fff; }
.stat span { display: block; margin-top: .45rem; color: var(--muted); font-size: .96rem; }
.dark .stat span { color: var(--on-dark-2); }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Device frames ---------- */
.browser { border-radius: 12px; overflow: hidden; background: var(--navy-deep); box-shadow: 0 2px 6px rgba(8,47,60,.08), 0 30px 60px -28px rgba(8,47,60,.5); }
.browser-bar { display: flex; justify-content: center; padding: 8px 12px; background: #11394a; }
.browser-url {
  display: inline-flex; align-items: center; gap: .45rem; max-width: 100%;
  background: rgba(255,255,255,.08); color: #e6f4f7; border-radius: 6px; padding: 3px 12px;
  font-size: .8rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.browser-url::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--glow); flex: none; }
.browser img { width: 100%; aspect-ratio: 1400 / 875; object-fit: cover; }
.phone-frame {
  border-radius: 34px; padding: 9px; background: #0b1c24;
  box-shadow: inset 0 0 0 1.5px #2a4a57, 0 40px 80px -30px rgba(0,0,0,.6);
}
.phone-frame > video, .phone-frame > img { border-radius: 26px; width: 100%; aspect-ratio: 540 / 1168; object-fit: cover; background: #0b1c24; }

/* ---------- Video helpers ---------- */
.media { position: relative; }
.vbtn {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .75rem .45rem .55rem;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(6,30,40,.7); color: #fff;
  font: 600 .8rem var(--body); cursor: pointer; backdrop-filter: blur(6px);
}
.vbtn .i { width: 16px; height: 16px; }
.vbtn:hover { background: rgba(6,30,40,.9); }

/* ---------- Gallery of pages (shared by home and features) ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(3.5rem, 6vw, 5.5rem) clamp(2rem, 4vw, 3.5rem); }
.gallery figure { position: relative; padding-right: 7%; }
.gallery .phone-shot {
  position: absolute; right: 0; bottom: -2.2rem; width: 23%;
  border-radius: 16px; border: 4px solid var(--navy-deep); background: var(--navy-deep);
  box-shadow: 0 24px 40px -18px rgba(8,47,60,.6);
}
.gallery figcaption { margin-top: 1.2rem; padding-right: 20%; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.gallery figcaption strong { display: block; color: var(--text); font-size: 1.05rem; }
.dark .gallery figcaption { color: var(--on-dark-2); }
.dark .gallery figcaption strong { color: #fff; }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding-block: clamp(4.5rem, 9vw, 7.5rem); overflow: hidden; }
.cta-band .display-l { max-width: 18ch; margin-inline: auto; }
.cta-band .lede { margin: 1.2rem auto 2rem; }
.cta-band .btn-row { justify-content: center; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; max-width: 52rem; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 1.4rem; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.2rem 0; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 12px; height: 12px; flex: none; border-right: 2.5px solid var(--teal-ink); border-bottom: 2.5px solid var(--teal-ink); transform: rotate(45deg) translateY(-3px); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { padding-bottom: 1.3rem; color: var(--muted); }

/* ---------- Footer ---------- */
.foot { background: var(--navy-deep); color: var(--on-dark-2); padding-block: clamp(3.5rem, 7vw, 5.5rem) 1.8rem; font-size: .95rem; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 3rem; }
.foot-brand img { height: 30px; width: auto; }
.foot-tagline { margin-top: 1.4rem; font-family: var(--display); font-stretch: 115%; font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.05; letter-spacing: -.03em; color: #fff; max-width: 16ch; }
.foot-sub { margin-top: .8rem; }
.foot-social { margin-top: 1.2rem; display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--on-dark); font-weight: 600; }
.foot-social svg { width: 34px; height: 34px; padding: 7px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.foot-cols h2 { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: .8rem; }
.foot-cols a { display: block; text-decoration: none; padding: .3rem 0; color: var(--on-dark-2); }
.foot-cols a:hover, .foot-social:hover { color: var(--glow); }
.foot-bottom { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; font-size: .88rem; }
.foot-bottom ul { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.foot-bottom a { color: var(--on-dark-2); text-decoration: none; }
.foot-bottom a:hover { color: var(--glow); text-decoration: underline; }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr; } .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Reveal: one orchestrated hero load only (pages opt in with .load-seq) ---------- */
.load-seq > * { animation: rise .8s var(--ease) both; }
.load-seq > *:nth-child(2) { animation-delay: .08s; }
.load-seq > *:nth-child(3) { animation-delay: .16s; }
.load-seq > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
