/* Branch Office Software: "Orbit" brand, chosen 2026-11-04.
   Dark forest ground, cream text, phosphor green for action and signal.
   Type: Space Grotesk (headings), Inter (text), JetBrains Mono (labels and data). */

:root {
  --night: #0C1D15;
  --night-2: #0E2118;
  --pine: #14291E;
  --pine-2: #183224;
  --line: #24402F;
  --line-soft: #1C3426;
  --glass: rgba(10, 24, 17, 0.72);
  --glass-line: #2A4A37;
  --cream: #EFE9D8;
  --text-2: #B7C4BA;
  --fern: #9DB0A3;
  --orbit: #5E7D69;
  --phosphor: #8FE0A8;
  --phosphor-dim: rgba(143, 224, 168, 0.14);
  --teal-glow: rgba(79, 179, 160, 0.20);
  --green-glow: rgba(143, 224, 168, 0.16);
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --radius: 20px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--phosphor); text-underline-offset: 3px; }
a:hover { color: var(--cream); }
:focus-visible { outline: 2px solid var(--phosphor); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.keep { white-space: nowrap; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }

.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--phosphor); color: var(--night); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

/* Shared type */
.eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--phosphor); }
.mono { font-family: var(--mono); }
h1, h2, .display { font-family: var(--display); font-weight: 500; letter-spacing: -0.03em; }
h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.06; }
.section-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 40px; }
.section-head p { color: var(--text-2); font-size: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 10px;
  font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--phosphor); color: var(--night); }
.btn-primary:hover { background: #B4EEC6; color: var(--night); }
.btn-ghost { color: var(--cream); border: 1px solid #2F5240; background: rgba(20, 41, 30, 0.5); }
.btn-ghost:hover { border-color: var(--orbit); color: var(--cream); background: var(--pine); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(12, 29, 21, 0.8);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; }
.brand:hover { color: var(--cream); }
.brand svg { width: 30px; height: 30px; flex: none; }
.mark-ring { stroke: var(--orbit); }
.mark-core { fill: var(--cream); }
.mark-sat { fill: var(--phosphor); }
.sheet .mark-ring { stroke: #7C9483; }
.sheet .mark-core { fill: var(--ink); }
.sheet .mark-sat { fill: var(--accent); }
.brand-name { font: 500 19px/1 var(--display); letter-spacing: -0.01em; }
.brand-sub { font: 500 11px/1 var(--mono); letter-spacing: 0.28em; text-transform: uppercase; color: var(--phosphor); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--text-2); text-decoration: none; font-size: 15px; }
.nav a:not(.btn):hover { color: var(--cream); }
.nav .btn { color: var(--phosphor); border: 1px solid #3D6B4E; background: transparent; }
.nav .btn:hover { background: var(--phosphor-dim); color: var(--cream); }
@media (max-width: 900px) { .nav a:not(.btn) { display: none; } }
@media (max-width: 380px) { .brand-sub { display: none; } }

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(700px circle at 78% 38%, rgba(143, 224, 168, 0.09), transparent 62%),
    radial-gradient(600px circle at 8% 0%, rgba(79, 179, 160, 0.08), transparent 60%);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 64px; }
@media (max-width: 600px) { .hero h1 .keep { white-space: normal; } .hero .wrap { padding-top: 48px; } }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 48px; padding-top: 96px; padding-bottom: 88px; } }
.pill {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #10251A;
  font: 500 12px/1.4 var(--mono); letter-spacing: 0.06em; color: var(--phosphor); text-decoration: none;
}
.pill:hover { border-color: var(--orbit); color: var(--cream); }
.pill::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--phosphor); box-shadow: 0 0 0 4px var(--phosphor-dim); }
.hero h1 { margin-top: 24px; font-size: clamp(42px, 6.4vw, 72px); line-height: 1.0; letter-spacing: -0.035em; }
.lead { margin-top: 24px; max-width: 580px; color: var(--text-2); font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.addr { margin-top: 18px; font: 400 14px/1.4 var(--mono); color: var(--fern); overflow-wrap: anywhere; }

.orbit { position: relative; width: 100%; max-width: 520px; margin-inline: auto; }
.orbit img { width: 100%; height: auto; }
.chip {
  position: absolute; transform: translate(-50%, -50%);
  padding: 6px 10px; border-radius: 8px; white-space: nowrap;
  background: rgba(12, 29, 21, 0.86); border: 1px solid var(--glass-line);
  font: 500 12px/1.2 var(--mono); color: var(--cream);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.7);
}
.chip b { font-weight: 500; color: var(--phosphor); }
.chip-team { left: 22%; top: 84%; }
.chip-branch { left: 80%; top: 34%; }

/* Fact strip */
.facts dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px 32px; padding-block: 8px 24px; }
.facts dt { font: 500 11px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--phosphor); }
.facts dd { margin-top: 6px; font-size: 15px; color: var(--cream); }

/* Sections */
.section { padding-block: 96px; }
.section + .section { padding-top: 24px; }
@media (max-width: 640px) { .section { padding-block: 72px; } }

/* Offers: open rows, no boxes. Big plain heading and text on one side,
   one floating panel on a soft glow on the other, sides alternating. */
.features { display: grid; grid-template-columns: minmax(0, 1fr); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; padding-block: 40px; }
@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; padding-block: 36px; }
  .feature:nth-child(even) .feature-art { order: -1; }
}
.feature h3 { font: 500 clamp(28px, 3.2vw, 38px)/1.08 var(--display); letter-spacing: -0.03em; }
.feature p { margin-top: 16px; max-width: 520px; color: var(--text-2); font-size: 17px; }
.feature .price { margin-top: 18px; font: 500 14px/1.5 var(--mono); color: var(--phosphor); }
.feature-art {
  --gx: 60%; --gy: 55%;
  display: flex; justify-content: center; padding: clamp(24px, 4vw, 44px) clamp(8px, 4vw, 48px);
  background:
    radial-gradient(closest-side at var(--gx) var(--gy), rgba(143, 224, 168, 0.30), rgba(143, 224, 168, 0.08) 55%, transparent),
    radial-gradient(closest-side at calc(100% - var(--gx)) calc(100% - var(--gy)), rgba(79, 179, 160, 0.26), transparent);
}
.feature-art .mock { width: 100%; max-width: 420px; }

/* Mock UI panels inside cards */
.mock {
  border-radius: 14px; border: 1px solid var(--glass-line); background: var(--glass);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(239, 233, 216, 0.04);
  font-size: 14px; overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-bottom: 1px solid var(--line-soft);
  font: 400 12px/1.3 var(--mono); color: var(--fern);
}
.mock-bar .dots { display: inline-flex; gap: 5px; }
.mock-bar .dots i { width: 8px; height: 8px; border-radius: 50%; background: #2A4A37; }
.tag { padding: 2px 8px; border-radius: 6px; background: var(--phosphor-dim); color: var(--phosphor); font: 500 11px/1.6 var(--mono); white-space: nowrap; }
.diff { padding: 10px 0; font: 400 12.5px/1.9 var(--mono); }
.diff div { padding: 0 14px; white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.diff .del { color: var(--fern); background: rgba(239, 233, 216, 0.04); }
.diff .add { color: var(--phosphor); background: rgba(143, 224, 168, 0.09); }
.checks { display: grid; gap: 0; border-top: 1px solid var(--line-soft); }
.checks li { display: flex; align-items: center; gap: 10px; padding: 9px 14px; color: var(--cream); font-size: 14px; }
.checks li + li { border-top: 1px solid var(--line-soft); }
.checks li::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--phosphor-dim) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5 9.5 3.5' fill='none' stroke='%238FE0A8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.checks li span { margin-left: auto; font: 400 12px/1 var(--mono); color: var(--fern); }

/* Pipeline stages */
.stages { padding: 8px 14px 12px; }
.stages li { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 9px 0; }
.stages li::before { content: ""; position: relative; z-index: 1; width: 12px; height: 12px; margin: 5px 0 0 5px; border-radius: 50%; background: var(--phosphor); box-shadow: 0 0 0 4px var(--phosphor-dim); }
.stages li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 24px; bottom: -6px; width: 2px; background: #2F5240; }
.stages li.wait::before { background: var(--night); border: 2px solid var(--phosphor); box-shadow: none; }
.stages b { display: block; font-weight: 500; color: var(--cream); font-size: 14px; }
.stages small { display: block; font: 400 12px/1.5 var(--mono); color: var(--fern); }

/* Monthly note */
.note-rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; font-size: 14px; }
.note-rows li + li { border-top: 1px solid var(--line-soft); }
.state { font: 500 11px/1.6 var(--mono); padding: 1px 8px; border-radius: 6px; white-space: nowrap; }
.state.done { color: var(--phosphor); background: var(--phosphor-dim); }
.state.live { color: var(--cream); background: rgba(239, 233, 216, 0.08); }

/* Pull request */
.pr { padding: 14px; display: grid; gap: 10px; }
.pr-title { font-weight: 600; font-size: 15px; color: var(--cream); line-height: 1.35; }
.pr-meta { font: 400 12px/1.5 var(--mono); color: var(--fern); }
.pr-checks { display: flex; flex-wrap: wrap; gap: 6px; }

/* Integration tree */
.tree { padding: 14px 16px 16px; font-size: 14px; }
.tree-root { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--cream); }
.tree-root::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--phosphor); }
.tree ul { margin: 4px 0 0 5px; }
.tree li { position: relative; padding: 7px 0 7px 24px; color: var(--text-2); }
.tree li::before { content: ""; position: absolute; left: 0; top: calc(50% - 1px); width: 16px; height: 2px; background: #2F5240; }
.tree li::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: #2F5240; }
.tree li:last-child::after { bottom: calc(50% - 1px); }
.tree li span { font: 400 12px/1 var(--mono); color: var(--fern); margin-left: 6px; }

/* Track record */
.record article { display: grid; gap: 8px 48px; padding-block: 28px; border-top: 1px solid var(--line-soft); }
@media (min-width: 820px) { .record article { grid-template-columns: 300px minmax(0, 1fr); padding-block: 36px; } }
.record h3 { font: 500 22px/1.25 var(--display); letter-spacing: -0.02em; }
.record h3 small { display: block; margin-bottom: 6px; font: 500 12px/1.4 var(--mono); letter-spacing: 0.08em; color: var(--phosphor); }
.record p { max-width: 680px; color: var(--text-2); font-size: 17px; }
.tools { display: flex; flex-wrap: wrap; gap: 8px 22px; max-width: 680px; }
.tools li { font: 400 14px/1.6 var(--mono); color: var(--text-2); }

/* How it works */
.steps { display: grid; gap: 40px 48px; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li { counter-increment: step; padding-top: 22px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 16px; font: 500 13px/1 var(--mono); color: var(--phosphor); letter-spacing: 0.1em; }
.steps h3 { font: 500 24px/1.2 var(--display); letter-spacing: -0.02em; margin-bottom: 10px; }
.steps p { color: var(--text-2); font-size: 16.5px; }
.hours { display: grid; gap: 6px 48px; margin-top: 56px; }
@media (min-width: 820px) { .hours { grid-template-columns: 140px minmax(0, 1fr); align-items: baseline; } }
.hours p { max-width: 680px; color: var(--text-2); font-size: 16.5px; }

/* Call to action */
.cta {
  text-align: center;
  padding-block: clamp(56px, 9vw, 112px);
  background:
    radial-gradient(closest-side at 50% 60%, rgba(143, 224, 168, 0.16), transparent),
    radial-gradient(closest-side at 30% 40%, rgba(79, 179, 160, 0.10), transparent);
}
.cta h2 { max-width: 760px; margin-inline: auto; }
.cta .big { display: inline-block; margin-top: 22px; font: 500 clamp(18px, 3.4vw, 30px)/1.3 var(--mono); color: var(--cream); text-decoration-color: var(--orbit); overflow-wrap: anywhere; }
.cta .big:hover { color: var(--phosphor); }
.cta .actions { justify-content: center; }

/* Footer */
.foot { border-top: 1px solid var(--line-soft); margin-top: 24px; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 32px 40px; }
.foot p { font-size: 14px; color: var(--fern); }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.foot nav a { color: var(--text-2); text-decoration: none; }
.foot nav a:hover { color: var(--cream); }
.constellation { display: flex; align-items: center; gap: 12px; color: var(--fern); font: 400 12px/1.3 var(--mono); }
.constellation svg { width: 76px; height: 40px; }

/* 404 */
.lost { min-height: calc(100vh - 69px); min-height: calc(100svh - 69px); display: grid; place-items: center; text-align: center; padding-block: 64px; background: radial-gradient(520px circle at 50% 40%, rgba(143, 224, 168, 0.08), transparent 65%); }
.lost h1 { margin-top: 18px; font-size: clamp(34px, 5.5vw, 56px); line-height: 1.05; max-width: 760px; }
.lost .lead { margin-inline: auto; }
.lost .actions { justify-content: center; }

/* Capability sheet: a cream page on screen, a plain white page in print. */
.cap-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.cap-bar .links { display: flex; flex-wrap: wrap; gap: 10px; }
.sheet {
  --ink: #12241A; --ink-2: #3A4A3F; --accent: #1F6B3E; --rule: #D6CFBC;
  width: calc(100% - 32px); max-width: 8.5in; margin: 24px auto 72px;
  padding: clamp(24px, 6vw, 0.65in);
  background: #F7F3E8; color: var(--ink); border-radius: 6px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  font-size: 14.5px; line-height: 1.5;
}
.sheet a { color: var(--accent); }
.sheet-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.sheet-head .brand { color: var(--ink); }
.sheet-head .brand-sub { color: var(--accent); }
.sheet-head .kind { font: 500 11px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); text-align: right; }
.boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); }
@media (min-width: 720px) { .boxes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.boxes div { padding: 10px 12px 10px 0; }
.boxes dt { font: 500 10px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.boxes dd { margin-top: 2px; font-size: 13px; overflow-wrap: anywhere; }
.sheet section { padding-top: 14px; }
.sheet h1 { font-size: 25px; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.sheet h2 { font: 500 11px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.sheet section > p { margin-top: 6px; color: var(--ink-2); }
.sheet section > h2 + p { margin-top: 0; }
.bands { width: 100%; border-collapse: collapse; }
.bands th, .bands td { text-align: left; vertical-align: top; padding: 6px 0; border-top: 1px solid var(--rule); }
.bands th { width: 150px; padding-right: 16px; font-weight: 600; font-size: 13.5px; }
.bands td { color: var(--ink-2); }
.sheet ul { display: grid; gap: 4px; }
.sheet li { position: relative; padding-left: 16px; color: var(--ink-2); }
.sheet li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

@media print {
  @page { size: letter; margin: 0.45in 0.55in; }
  html, body { background: #fff; }
  .cap-bar, .skip { display: none !important; }
  .sheet { width: auto; max-width: none; margin: 0; padding: 0; background: #fff; box-shadow: none; border-radius: 0; font-size: 10.4pt; }
  .boxes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sheet a { color: var(--ink); text-decoration: none; }
}

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