/* ============================================================================
   Ithaca Systems — public marketing site
   A deliberately generic, glossy corporate SaaS theme. Looks real; says nothing.
   (The "truth" lives one shade down, in .fineprint, and in `curl ithaca.sh`.)
   ========================================================================== */

:root {
  --ink:        #0e1524;
  --ink-soft:   #43506a;
  --ink-faint:  #8a95a8;
  --line:       #e5e9f0;
  --bg:         #ffffff;
  --bg-soft:    #f6f8fc;
  --bg-tint:    #eef3ff;
  --brand:      #2f6df6;   /* the reassuring corporate blue */
  --brand-dk:   #1f52c9;
  --brand-ink:  #12306f;
  --ok:         #1fa971;   /* "operational" green — the board is always this */
  --amber:      #b98900;
  --radius:     14px;
  --radius-sm:  10px;
  --shadow:     0 1px 2px rgba(16,24,40,.04), 0 8px 28px rgba(16,24,40,.06);
  --shadow-lg:  0 20px 60px rgba(16,24,40,.12);
  --maxw:       1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-dk); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 .4em; }
h3 { font-size: 1.15rem; margin: 0 0 .35em; }
p  { margin: 0 0 1em; color: var(--ink-soft); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin: 0 0 .8em; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 46ch; }
.center { text-align: center; margin-inline: auto; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: .95rem;
  padding: .7em 1.25em; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .08s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(47,109,246,.30); }
.btn-primary:hover { background: var(--brand-dk); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-faint); }
.btn-lg { font-size: 1.02rem; padding: .85em 1.6em; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em;
  color: var(--ink); font-size: 1.12rem; }
.brand:hover { text-decoration: none; }
.brand .mark { display: inline-block; width: 26px; height: 26px; flex: none; }
.brand .mark svg { width: 100%; height: 100%; display: block; }
.brand small { font-weight: 500; color: var(--ink-faint); letter-spacing: .02em; font-size: .72rem; }
.nav-links { display: flex; gap: 22px; margin-left: 8px; }
.nav-links a { color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-spacer { flex: 1; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
@media (max-width: 820px) { .nav-links { display: none; } }

/* ---- sections ---- */
section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.hero { padding: 96px 0 72px; background:
  radial-gradient(1200px 420px at 78% -8%, var(--bg-tint), transparent 60%),
  linear-gradient(180deg, #fff, var(--bg-soft)); border-bottom: 1px solid var(--line); }
.hero .lede { margin-bottom: 1.8em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 1.4em; font-size: .86rem; color: var(--ink-faint); }
.bg-soft { background: var(--bg-soft); }

/* ---- pill / status dot ---- */
.pill { display: inline-flex; align-items: center; gap: .5em; font-size: .8rem; font-weight: 600;
  padding: .35em .8em; border-radius: 999px; background: #eafaf2; color: var(--ok); border: 1px solid #cdeede; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px #d9f4e6; }

/* ---- grids / cards ---- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); }
.card .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--bg-tint); color: var(--brand); margin-bottom: 16px; }
.card p:last-child { margin-bottom: 0; }

/* ---- stats ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat .n { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; color: var(--brand-ink); }
.stat .l { font-size: .9rem; color: var(--ink-faint); }

/* ---- logo cloud ---- */
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 44px;
  opacity: .62; filter: grayscale(1); }
.logos span { font-weight: 800; font-size: 1.15rem; color: var(--ink-soft); letter-spacing: -.01em; }

/* ---- testimonials ---- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); }
.quote blockquote { margin: 0 0 16px; font-size: 1.08rem; color: var(--ink); }
.quote .who { font-size: .88rem; color: var(--ink-faint); }
.quote .who b { color: var(--ink-soft); }

/* ---- CTA band ---- */
.cta-band { background: linear-gradient(135deg, var(--brand-ink), var(--brand)); color: #fff; border-radius: 20px;
  padding: 56px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { opacity: .9; }
.cta-band .btn-primary { background: #fff; color: var(--brand-ink); box-shadow: none; }

/* ---- generic content page ---- */
.page-head { padding: 72px 0 24px; background: linear-gradient(180deg, #fff, var(--bg-soft)); border-bottom: 1px solid var(--line); }
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.6em; }
.prose ul { color: var(--ink-soft); }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 26px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--brand); }
.timeline b { color: var(--ink); }

/* ---- status board (the green lie, moved to its own page) ---- */
.board { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.board .row { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 22px; border-top: 1px solid var(--line); }
.board .row:first-child { border-top: 0; }
.board .svc { font-weight: 600; }
.board .metric { color: var(--ink-faint); font-size: .9rem; margin-left: auto; margin-right: 18px; }
.board .ok { color: var(--ok); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .5em; }

/* ---- careers ---- */
.job-empty { text-align: center; padding: 56px; border: 1px dashed var(--line); border-radius: var(--radius);
  background: var(--bg-soft); color: var(--ink-faint); }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 56px 0 34px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); margin: 0 0 14px; }
.foot-col a { display: block; color: var(--ink-soft); font-size: .92rem; margin-bottom: 9px; }
.foot-bar { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; color: var(--ink-faint); }
/* one shade above the background — the observant will select-all. */
.fineprint { color: #eef1f6; font-size: .8rem; line-height: 1.7; }
.fineprint:hover { color: var(--ink-faint); }   /* it's there if you look */

/* ============================================================================
   Argos — the little assistant. Bottom-right. He is very happy you're here.
   ========================================================================== */
#argos-launch { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 62px; height: 62px;
  border-radius: 50%; border: none; cursor: pointer; background: var(--brand); color: #fff;
  box-shadow: var(--shadow-lg); display: grid; place-items: center; transition: transform .12s ease; }
#argos-launch:hover { transform: scale(1.06); }
#argos-launch svg { width: 34px; height: 34px; }
#argos-launch .ping { position: absolute; top: -3px; right: -3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ok); border: 2px solid #fff; }

#argos-panel { position: fixed; right: 22px; bottom: 96px; z-index: 90; width: 340px; max-width: calc(100vw - 44px);
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  display: none; flex-direction: column; overflow: hidden; }
#argos-panel.open { display: flex; }
.argos-hd { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--bg-tint);
  border-bottom: 1px solid var(--line); }
.argos-hd .av { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; flex: none; }
.argos-hd .av svg { width: 22px; height: 22px; }
.argos-hd .nm { font-weight: 700; font-size: .95rem; line-height: 1.1; }
.argos-hd .rl { font-size: .76rem; color: var(--ink-faint); }
.argos-hd .x { margin-left: auto; background: none; border: none; cursor: pointer; color: var(--ink-faint);
  font-size: 1.3rem; line-height: 1; padding: 4px; }
.argos-log { padding: 14px 14px 6px; height: 300px; overflow-y: auto; background: #fff; }
.abbl { max-width: 84%; padding: 9px 13px; border-radius: 14px; margin-bottom: 10px; font-size: .92rem; }
.abbl.argos { background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.abbl.me { background: var(--brand); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.argos-ts { padding: 6px 14px 2px; }
.argos-foot { border-top: 1px solid var(--line); padding: 10px; display: flex; gap: 8px; }
.argos-foot input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px;
  font: inherit; font-size: .92rem; outline: none; }
.argos-foot input:focus { border-color: var(--brand); }
.argos-foot button { border: none; background: var(--brand); color: #fff; border-radius: 999px; width: 40px;
  cursor: pointer; flex: none; }
.argos-foot button:hover { background: var(--brand-dk); }
