:root {
  color-scheme: dark;
  --navy: #0a1220;
  --surface: #1e293b;
  --text: #f0f7ff;
  --muted: #94a3b8;
  --teal: #2ec4b6;
  --cyan: #5eead4;
  --orange: #f97316;
  --line: rgba(46, 196, 182, .15);
  --radius-control: 12px;
  --radius-card: 16px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; color: var(--text); background: var(--navy); font-size: 16px; line-height: 1.6; }
[hidden] { display: none !important; }
a { color: var(--cyan); text-underline-offset: 5px; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; }
h1, h2, h3, p, figure, dl { margin: 0; }
h1 { font-size: clamp(36px, 4.1vw, 52px); line-height: 1.1; letter-spacing: -.02em; font-weight: 650; }
h2 { font-size: 32px; line-height: 1.2; letter-spacing: -.01em; font-weight: 600; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 500; }
p { color: var(--muted); }
p + p { margin-top: 16px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; }
::selection { color: var(--navy); background: var(--cyan); }
.container { width: min(calc(100% - 96px), 1180px); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 100; padding: 12px 20px; background: var(--text); color: var(--navy); border-radius: var(--radius-control); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(10, 18, 32, .97); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 80px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; white-space: nowrap; font-size: 22px; font-weight: 600; letter-spacing: -.03em; }
.brand img { width: 32px; height: 32px; object-fit: contain; }
.brand-weight { font-weight: 400; }
.desktop-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 48px; color: var(--muted); font-size: 14px; text-decoration: none; }
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: var(--cyan); }
.header-cta { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 10px 16px; border: 1.5px solid var(--teal); border-radius: var(--radius-control); text-decoration: none; font-size: 14px; font-weight: 600; }
.menu-toggle, .mobile-nav { display: none; }
.hero { padding-top: 88px; padding-bottom: 72px; }
.hero h1 { margin-block: 20px 28px; }
.eyebrow { color: var(--cyan); font-size: 13px; letter-spacing: .05em; }
.hero-description { max-width: 760px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; max-width: 100%; padding: 12px 20px; border: 1.5px solid var(--teal); border-radius: var(--radius-control); font-size: 14px; line-height: 1.5; font-weight: 650; text-align: center; text-decoration: none; transition: transform .15s, background-color .15s; }
.button-primary { color: var(--navy); background: var(--orange); border-color: var(--orange); }
.button-primary:hover { background: #fb923c; border-color: #fb923c; transform: translateY(-2px); }
.button-secondary { color: var(--cyan); background: transparent; }
.button-secondary:hover, .header-cta:hover { color: var(--cyan); background: #142b35; transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.development-note { color: var(--muted); font-size: 14px; }
.hero > .development-note { margin-top: 20px; max-width: 760px; }
.section { padding-block: 72px; border-top: 1px solid var(--line); }
.section-heading { max-width: 780px; margin-bottom: 32px; }
.section-heading h2 { margin-block: 12px 20px; }
.screenshot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.screenshot-card { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); }
.screenshot-card > a { display: block; border-radius: 8px; }
.screenshot-card img { width: 100%; height: auto; display: block; border-radius: 8px; }
.screenshot-card figcaption { padding-top: 24px; }
.screenshot-card h3 { margin-bottom: 12px; }
.screenshot-card small { display: block; color: var(--muted); font-size: 13px; margin-top: 16px; }
.inline-link { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; margin-top: 24px; font-size: 14px; font-weight: 600; text-decoration: none; }
.inline-link:hover { text-decoration: underline; }
.studio-section { background: #0f1c2c; }
.studio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.studio-grid h2 { margin-top: 16px; }
.other-software-card { margin-top: 32px; padding-block: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-block: 1px solid var(--line); }
.other-software-card h3 { margin-bottom: 12px; }
.other-software-card > span { white-space: nowrap; }
#other-software > h2 { margin-top: 12px; }
.contact-section { background: #0f1c2c; }
.contact-section h2 { margin-block: 12px 20px; }
.contact-section p { max-width: 720px; }
.contact-section .button { margin-top: 28px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 40px 24px; }
.footer-top { display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.footer-top > a:last-child { display: inline-flex; align-items: center; min-height: 48px; font-size: 14px; }
.footer-top > p { font-size: 14px; }
.footer-bottom { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-bottom a { min-height: 48px; display: inline-flex; align-items: center; }
.product-hero { padding-top: 32px; }
.product-hero .back-link { margin-top: 0; margin-bottom: 32px; }
.product-hero h1 { max-width: 1000px; }
#workflow > h2 { margin-bottom: 32px; }
.report-note { max-width: 800px; margin-top: 28px; }
.module-group { margin-top: 40px; }
.module-group > p { margin-top: 12px; }
.group-title { color: var(--cyan); }
.module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.module-grid > div { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); }
.module-grid dt { font-size: 20px; line-height: 1.3; font-weight: 500; }
.module-grid dd { margin: 12px 0 0; color: var(--muted); }
.experimental-section { background: #0f1c2c; }
.experimental-section h2 { margin-block: 12px 24px; }
.experimental-section p { max-width: 800px; }
@media (max-width: 1000px) {
  .container { width: calc(100% - 48px); }
  .desktop-nav { gap: 16px; }
  .header-inner { gap: 16px; }
  .header-cta { display: none; }
}
@media (max-width: 767px) {
  html { scroll-padding-top: 90px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 72px; justify-content: space-between; }
  .brand { font-size: 20px; }
  .desktop-nav { display: none; }
  .menu-toggle { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; background: transparent; border: 1.5px solid var(--teal); border-radius: var(--radius-control); }
  .menu-toggle span { display: block; height: 2px; width: 18px; background: var(--text); }
  .mobile-nav.is-open { display: flex; flex-direction: column; padding-block: 12px 24px; max-height: calc(100dvh - 72px); overflow-y: auto; }
  .mobile-nav > a { min-height: 48px; display: flex; align-items: center; padding: 12px 16px; text-decoration: none; }
  .mobile-nav > .button { margin-top: 12px; }
  .hero { padding-top: 48px; padding-bottom: 48px; }
  h1 { font-size: 36px; }
  .actions { align-items: stretch; }
  .actions .button { width: 100%; }
  .section { padding-block: 48px; }
  .screenshot-grid, .studio-grid, .module-grid { grid-template-columns: 1fr; gap: 12px; }
  .screenshot-card { padding: 20px; }
  .studio-grid { gap: 28px; }
  .other-software-card { flex-direction: column; align-items: flex-start; }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 4px; }
  .product-hero { padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* FiFit's own identity within Other software. */
.fifit-feature-card{background:linear-gradient(120deg,#171327,#101622);border-color:#655184;gap:28px}
.fifit-card-identity{display:flex;align-items:flex-start;gap:20px;min-width:0}
.fifit-card-identity>img{flex-shrink:0;border-radius:16px}
.fifit-card-identity p{max-width:650px}
.fifit-feature-link{color:#bdaaff;flex-shrink:0;min-height:48px;display:inline-flex;align-items:center;gap:10px;white-space:nowrap}
@media(max-width:767px){.fifit-card-identity{gap:16px}.fifit-card-identity>img{width:48px;height:48px;border-radius:12px}.fifit-feature-link{white-space:normal}}
