:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #15130f;
  background: #faf9f7;
  --bg: #faf9f7;
  --surface: #fff;
  --surface-2: #f5f4f1;
  --surface-3: #ecebe7;
  --text: #15130f;
  --text-2: #4a4741;
  --muted: #6e685f;
  --faint: #9b968e;
  --line: #e8e6e1;
  --line-strong: #dedbd4;
  --brand: #3f5c7a;
  --brand-2: #517090;
  --brand-bg: #e4eaf0;
  --amber: #c27a0a;
  --amber-bg: #fbf1dd;
  --green: #3f8f5f;
  --green-bg: #e4f2e8;
  --ring: 0 0 0 3px rgba(63, 92, 122, .22);
  --shadow-1: 0 1px 2px rgba(20, 18, 15, .04), 0 1px 1px rgba(20, 18, 15, .03);
  --shadow-2: 0 8px 24px rgba(20, 18, 15, .08), 0 2px 6px rgba(20, 18, 15, .04);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; overflow-x: hidden; background: var(--bg); }
a { color: inherit; }
a:focus-visible, summary:focus-visible, .button:focus-visible { outline: none; box-shadow: var(--ring); }

/* The public shell follows the compact IntegralORC application bar. */
.site-header {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  padding: 9px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
}
.logo {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 13px;
  border-radius: 7px;
  background: var(--text);
  color: var(--surface);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
}
.header-context {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: var(--text-2);
  font-size: 12px;
  font-weight: 700;
}
nav > a { padding: 9px 11px; border-radius: 7px; text-decoration: none; }
nav > a:hover { background: var(--surface-2); color: var(--text); }
.entry-menu { position: relative; }
.header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 13px;
  border: 1px solid var(--text);
  border-radius: 7px;
  background: var(--text);
  color: var(--surface);
  cursor: pointer;
  list-style: none;
}
.header-login:hover { background: #2b2925; }
.header-login::-webkit-details-marker { display: none; }
.entry-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 5;
  width: 276px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow-2);
}
.entry-options a {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border-radius: 7px;
  text-decoration: none;
}
.entry-options a:hover, .entry-options a:focus-visible { background: var(--surface-2); }
.entry-options strong { color: var(--text); font-size: 12px; }
.entry-options span { color: var(--muted); font-size: 11px; line-height: 1.4; }

main { width: min(1580px, calc(100% - 36px)); margin: 0 auto; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  align-items: stretch;
  gap: 18px;
  min-height: 555px;
  padding: 18px 0;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 5vw, 68px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.eyebrow {
  margin: 0 0 15px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 790px;
  margin-bottom: 22px;
  color: var(--text);
  font-size: clamp(44px, 5.2vw, 78px);
  line-height: .98;
  letter-spacing: -.067em;
}
.hero-lede { max-width: 620px; margin-bottom: 27px; color: var(--text-2); font-size: 17px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--text); color: var(--surface); box-shadow: var(--shadow-1); }
.button-primary:hover { background: #2b2925; }
.button-secondary { border-color: var(--line-strong); background: var(--surface); color: var(--text-2); }
.button-secondary:hover { border-color: var(--brand); background: var(--brand-bg); color: var(--text); }
.hero-note { margin: 13px 0 0; color: var(--faint); font-size: 11px; }
.hero-flow {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 26px clamp(22px, 3.4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
  list-style: none;
}
.hero-flow li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line-strong); }
.hero-flow li:last-child { border-bottom: 0; }
.hero-flow li > span { color: var(--brand); font-family: var(--mono); font-size: 10px; font-weight: 800; }
.hero-flow strong { color: var(--text); font-size: 17px; letter-spacing: -.02em; }
.hero-flow p { margin: 7px 0 7px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.hero-flow small { color: var(--brand); font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 3px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.flow p { display: flex; gap: 24px; margin: 0; color: var(--text-2); font-family: inherit; font-size: 10px; letter-spacing: .02em; }
.flow b { font-weight: 700; }
.solutions { padding: 78px 0 92px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 25px; }
.section-heading .eyebrow { margin: 0; }
.section-heading h2 { max-width: 650px; margin: 0; color: var(--text); font-size: clamp(34px, 4.2vw, 56px); line-height: 1; letter-spacing: -.06em; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.solution-card {
  position: relative;
  min-height: 345px;
  padding: 28px 30px 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-1);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.solution-card::before { position: absolute; inset: 0 auto 0 0; width: 3px; content: ""; background: var(--brand); }
.card-cal::before { background: var(--green); }
.solution-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); transform: translateY(-2px); }
.card-label { display: flex; align-items: center; gap: 9px; margin-bottom: 23px; }
.card-label span { padding: 5px 7px; border-radius: 5px; background: var(--brand-bg); color: #2f4861; font-family: var(--mono); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.card-cal .card-label span { background: var(--green-bg); color: var(--green); }
.card-label small { color: var(--muted); font-size: 11px; font-weight: 700; }
.solution-card h3 { max-width: 530px; margin-bottom: 12px; color: var(--text); font-size: 25px; line-height: 1.13; letter-spacing: -.04em; }
.solution-card p { max-width: 580px; margin-bottom: 18px; color: var(--text-2); font-size: 13px; line-height: 1.6; }
.solution-card ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 24px; padding: 0; list-style: none; }
.solution-card li { padding: 7px 9px; border-radius: 5px; background: var(--surface-2); color: var(--text-2); font-family: var(--mono); font-size: 10px; }
.card-link { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; color: var(--text); font-size: 12px; font-weight: 700; text-decoration: none; }
.card-link:hover { color: var(--brand); }
.card-link span { font-size: 15px; }
footer { display: flex; justify-content: space-between; width: min(1580px, calc(100% - 36px)); margin: 0 auto; padding: 18px 0 25px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
footer span:first-child { color: var(--text-2); font-family: var(--mono); font-weight: 700; letter-spacing: .07em; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: clamp(27px, 7vw, 56px); }
  .hero-flow { padding: 15px clamp(22px, 5vw, 42px); }
  .hero-flow li { padding: 18px 0; }
}
@media (max-width: 620px) {
  .site-header { gap: 10px; min-height: 54px; padding: 8px 12px; }
  .logo { min-height: 32px; padding: 8px 10px; font-size: 12px; }
  .header-context { display: none; }
  nav { gap: 2px; font-size: 11px; }
  nav > a { display: none; }
  .header-login { min-height: 32px; padding: 8px 11px; }
  .entry-options { right: -2px; width: min(276px, calc(100vw - 24px)); }
  main { width: min(100% - 24px, 1580px); }
  .hero { gap: 12px; padding: 12px 0; }
  .hero-copy { padding: 30px 23px 34px; border-radius: 12px; }
  h1 { margin-bottom: 19px; font-size: clamp(42px, 13vw, 59px); }
  .hero-lede { margin-bottom: 22px; font-size: 15px; }
  .hero-actions { display: grid; }
  .button { width: 100%; min-height: 43px; }
  .hero-flow { border-radius: 12px; }
  .hero-flow strong { font-size: 16px; }
  .flow { display: block; padding: 15px 2px; line-height: 1.8; }
  .flow p { flex-wrap: wrap; gap: 3px 17px; }
  .solutions { padding: 58px 0 66px; }
  .section-heading { display: block; margin-bottom: 20px; }
  .section-heading .eyebrow { margin-bottom: 14px; }
  .section-heading h2 { font-size: 36px; }
  .cards { grid-template-columns: 1fr; gap: 12px; }
  .solution-card { min-height: 0; padding: 24px 23px 23px; }
  .solution-card h3 { font-size: 23px; }
  footer { display: grid; gap: 7px; width: min(100% - 24px, 1580px); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } }
