/* Self-contained stylesheet for infinitisoft.com — a small, static,
   no-build-step site (same convention as runwayretirement.com's
   /blog and /legal), deployed as its own Render Static Site service so
   it can carry its own custom domain. Deliberately its own visual
   identity, not Runway's warm retirement palette — this is the parent
   consulting/software company, a different audience (engineering/AI
   clients, not retirees). */

@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap");

:root {
  --bg: #f7f8fa;
  --bg-raised: #ffffff;
  --ink: #0f1a2b;
  --ink-soft: #566073;
  --accent: #3567d6;
  --accent-soft: #dde6fb;
  --border: #e2e5eb;
  --font-display: "Space Grotesk", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --bg-raised: #121c2e;
    --ink: #e9edf5;
    --ink-soft: #9aa4b8;
    --accent: #6c96ec;
    --accent-soft: #1c2c4a;
    --border: #253352;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
}
.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }

nav.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 880px;
  margin: 0 auto;
  padding: 24px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 28px; height: 28px; border-radius: 6px; flex: none; }
.brand-text { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.site-nav-actions a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  margin-left: 22px;
  font-weight: 500;
}
.site-nav-actions a:hover { color: var(--ink); }

header.hero {
  padding: 56px 0 40px;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.hero p {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0;
}

main { padding-bottom: 60px; }

section { padding: 36px 0; }
section.divided { border-top: 1px solid var(--border); }

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.section-sub { color: var(--ink-soft); margin: 0 0 26px; max-width: 60ch; }
p { margin: 0 0 16px; font-size: 16px; color: var(--ink); }
a { color: var(--accent); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 720px) {
  .service-grid { grid-template-columns: 1fr; }
}
.service-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  margin: 0 0 8px;
}
.service-card p { font-size: 14.5px; margin: 0; color: var(--ink-soft); }

.product-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 26px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.product-card:hover { border-color: var(--accent); }
.product-mark {
  flex: none;
  width: 46px;
  height: 46px;
}
.product-body { flex: 1; min-width: 0; }
.product-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 4px;
}
.product-body p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.product-arrow { flex: none; font-size: 20px; color: var(--accent); }

.fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 6px;
}
.fact {
  min-width: 140px;
}
.fact-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.fact-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
}

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px 50px;
}
footer.site-footer .wrap {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
footer.site-footer p { margin: 0; font-size: 13px; color: var(--ink-soft); }
footer.site-footer a { color: var(--ink-soft); font-size: 13px; text-decoration: none; }
footer.site-footer a:hover { color: var(--ink); }
