/* ============================================================
   Human Systems Intelligence™ — humansystemsintelligence.com
   White / silver / soft blue · premium clinical · calm
   ============================================================ */

:root {
  --ink: #1c2733;
  --ink-soft: #45566b;
  --ink-faint: #7a8a9e;
  --blue: #3a7bc8;
  --blue-deep: #2b62a6;
  --blue-ice: #dcebfa;
  --silver: #eef2f7;
  --silver-deep: #e2e8f1;
  --white: #ffffff;
  --card-border: rgba(28, 55, 90, 0.10);
  --card-shadow: 0 1px 2px rgba(20, 40, 70, 0.04), 0 12px 32px rgba(20, 40, 70, 0.07);
  --radius: 18px;
  --maxw: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-deep); text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(28, 55, 90, 0.07);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 28px; height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand svg { width: 30px; height: 30px; }
.brand-word { font-size: 19px; font-weight: 600; letter-spacing: 0.16em; }
.brand-sub {
  font-size: 9px; letter-spacing: 0.14em; color: var(--ink-faint);
  text-transform: uppercase; line-height: 1.35; font-weight: 500;
  border-left: 1px solid var(--silver-deep); padding-left: 10px;
}
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links a {
  font-size: 12px; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--ink-soft);
}
.nav-links a:hover { color: var(--blue-deep); }
.btn {
  display: inline-block; border-radius: 999px; cursor: pointer;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  padding: 11px 24px; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 0; text-transform: uppercase;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(180deg, #3f7ec8, #1f4d8c);
  color: #fff; border: 1px solid rgba(18, 46, 82, 0.6);
  box-shadow: 0 10px 24px rgba(24, 56, 100, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(24, 56, 100, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-ghost {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(231, 238, 247, 0.95));
  color: var(--ink); border: 1px solid rgba(50, 75, 110, 0.4);
  box-shadow: 0 8px 20px rgba(24, 56, 100, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.btn-sm { padding: 9px 18px; font-size: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 600px at 78% 30%, rgba(120, 165, 215, 0.28), transparent 65%),
    linear-gradient(175deg, #fbfcfe 0%, #eef3f9 45%, #e3ebf4 100%);
}
.hero-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 64px 24px 40px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 24px; align-items: center;
  min-height: 620px;
}
.hero h1 {
  font-size: clamp(38px, 5.2vw, 58px); line-height: 1.1;
  font-weight: 500; letter-spacing: -0.005em;
  font-family: "Iowan Old Style", "New York", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}
.hero h1 .tm { font-size: 0.4em; vertical-align: super; font-weight: 500; }
.kicker {
  margin-top: 18px; color: var(--blue-deep); font-weight: 700;
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
}
.hero p.lede { margin-top: 18px; max-width: 46ch; color: var(--ink-soft); font-size: 17px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* Living hero figure */
.hero-figure { position: relative; justify-self: center; width: min(430px, 88%); }
.hero-figure img {
  position: relative; z-index: 2; width: 100%; height: auto;
  /* she breathes on the shared clock — no private keyframe */
  transform: scale(calc(1 + 0.012 * var(--breath, 0.4)));
  transform-origin: 50% 62%;
  will-change: transform;
}
.field-ring {
  position: absolute; border-radius: 50%; z-index: 1;
  border: 1px solid rgba(115, 160, 215, 0.35);
  box-shadow: 0 0 60px rgba(130, 175, 230, 0.25) inset;
}
.field-ring.r1 {
  width: 108%; height: 78%; left: -4%; top: 12%;
  opacity: calc(0.5 + 0.45 * var(--breath2, 0.4));
  transform: scale(calc(1 + 0.02 * var(--breath2, 0.4)));
}
.field-ring.r2 {
  width: 126%; height: 92%; left: -13%; top: 5%;
  border-color: rgba(115, 160, 215, 0.18);
  opacity: calc(0.4 + 0.4 * var(--drift, 0.5));
  transform: scale(calc(1 + 0.015 * var(--drift, 0.5)));
}
.chest-glow {
  position: absolute; z-index: 3; width: 34%; height: 24%;
  left: 33%; top: 30%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 240, 210, 0.75), rgba(255, 240, 210, 0) 70%);
  mix-blend-mode: screen; filter: blur(6px);
  /* the heart-light rides the shared breath */
  opacity: calc(0.42 + 0.45 * var(--breath, 0.4));
}
.spine-shimmer {
  position: absolute; z-index: 3; width: 5%; height: 74%;
  left: 47.5%; top: 8%; pointer-events: none; overflow: hidden;
  border-radius: 999px; mix-blend-mode: screen;
}
.spine-shimmer::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 30%;
  background: linear-gradient(180deg,
    rgba(255, 246, 224, 0) 0%,
    rgba(255, 246, 224, 0.55) 50%,
    rgba(255, 246, 224, 0) 100%);
  filter: blur(4px);
  /* travel period = 2 breaths, so the light climbs in phase with her */
  animation: spinetravel 18s ease-in-out infinite;
}
@keyframes spinetravel {
  0% { top: -32%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: 102%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .spine-shimmer::after { animation: none; opacity: 0.35; top: 30%; }
  .hero-figure img, .field-ring { transform: none; }
}

/* Soft light-wave at the hero's lower edge */
.hero-wave {
  position: absolute; left: 0; right: 0; bottom: -2px; z-index: 4; pointer-events: none;
}
.hero-wave svg { display: block; width: 100%; height: 92px; }

/* Small gold divider star between sections */
.divider-star { display: grid; place-items: center; padding: 34px 0 0; background: var(--white); }
.divider-star svg { width: 20px; height: 20px; animation: twinkle 5.5s ease-in-out infinite; }
@keyframes twinkle {
  0%, 100% { opacity: 0.4; transform: scale(0.88) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.08) rotate(8deg); }
}
@media (prefers-reduced-motion: reduce) { .divider-star svg { animation: none; } }

/* ---------- Trust strip ---------- */
.strip { background: var(--silver); border-top: 1px solid rgba(28,55,90,0.06); border-bottom: 1px solid rgba(28,55,90,0.06); }
.strip-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 26px 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.strip-item { display: flex; gap: 12px; align-items: flex-start; }
.strip-item svg { width: 26px; height: 26px; flex: none; color: var(--blue-deep); }
.strip-item h4 { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.strip-item p { font-size: 12.5px; color: var(--ink-faint); line-height: 1.45; }

/* ---------- Sections ---------- */
section.block { padding: 88px 0; }
section.block.tinted { background: linear-gradient(180deg, #f4f8fc, #e6edf5); }
.eyebrow {
  color: var(--blue-deep); font-weight: 700; font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase;
}
h2.title {
  margin-top: 10px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12;
  font-weight: 650; letter-spacing: -0.01em;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}
p.sub { margin-top: 14px; color: var(--ink-soft); max-width: 62ch; font-size: 16px; }
.center { text-align: center; }
.center p.sub { margin-left: auto; margin-right: auto; }

.checks { margin-top: 26px; display: grid; gap: 12px; list-style: none; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-soft); font-size: 15px; }
.checks svg { width: 20px; height: 20px; flex: none; color: var(--blue); margin-top: 2px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* ---------- Systems grid ---------- */
.sys-grid {
  margin-top: 44px; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.sys-card {
  background: linear-gradient(180deg, #ffffff, #f3f7fb);
  border: 1px solid rgba(95, 120, 152, 0.28);
  border-radius: 20px; padding: 28px 18px; text-align: center;
  box-shadow: 0 2px 4px rgba(25, 50, 85, 0.06), 0 18px 36px rgba(25, 50, 85, 0.12), inset 0 1px 0 #ffffff;
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.sys-card:hover { transform: translateY(-3px); box-shadow: 0 4px 8px rgba(25,50,85,0.07), 0 24px 48px rgba(25,50,85,0.16), inset 0 1px 0 #ffffff; }
.sys-icon {
  width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; color: #4d5f75;
  background: radial-gradient(circle at 38% 28%, #ffffff 0%, #f2f6fa 48%, #d7e1ec 100%);
  border: 1px solid rgba(115, 135, 160, 0.5);
  box-shadow:
    0 10px 22px rgba(30, 55, 90, 0.18),
    inset 0 2px 4px rgba(255, 255, 255, 0.95),
    inset 0 -7px 12px rgba(148, 168, 194, 0.38);
  position: relative;
}
.sys-icon::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(246, 214, 156, 0.6), rgba(246, 214, 156, 0) 70%);
}
.sys-card:hover .sys-icon::before { background: radial-gradient(circle, rgba(246, 214, 156, 0.95), rgba(246, 214, 156, 0) 72%); }
.sys-icon svg { width: 28px; height: 28px; }
.sys-card h3 { font-size: 14.5px; font-weight: 650; line-height: 1.3; }
.sys-card .tm { font-size: 0.62em; vertical-align: super; }
.sys-card p { margin-top: 6px; font-size: 12.5px; color: var(--ink-faint); line-height: 1.45; }

/* ---------- Library cards ---------- */
.lib-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lib-card {
  background: linear-gradient(180deg, #ffffff, #f5f8fc);
  border: 1px solid rgba(95, 120, 152, 0.28);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 2px 4px rgba(25, 50, 85, 0.06), 0 16px 34px rgba(25, 50, 85, 0.11), inset 0 1px 0 #ffffff;
  display: flex; flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.lib-card:hover { transform: translateY(-3px); box-shadow: 0 4px 8px rgba(25,50,85,0.07), 0 22px 46px rgba(25,50,85,0.15), inset 0 1px 0 #ffffff; }
.lib-art {
  height: 120px; display: grid; place-items: center; color: var(--blue-deep);
  background: linear-gradient(160deg, #f3f7fc, #e0eaf5);
  border-bottom: 1px solid rgba(28, 55, 90, 0.06);
}
.lib-art svg { width: 44px; height: 44px; opacity: 0.85; }
.lib-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.lib-body h3 { font-size: 17px; font-weight: 650; }
.lib-body p { margin-top: 6px; color: var(--ink-soft); font-size: 13.5px; flex: 1; }
.lib-link {
  margin-top: 14px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-deep);
}

/* ---------- Professionals ---------- */
.pro-grid { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pro-chip {
  padding: 12px 22px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--ink-soft);
  background: linear-gradient(180deg, #ffffff, #eef3f9);
  border: 1px solid rgba(95, 120, 152, 0.32);
  box-shadow: 0 6px 16px rgba(25, 50, 85, 0.10), inset 0 1px 0 #ffffff;
}

/* ---------- BodyView band ---------- */
.bv-band {
  background:
    radial-gradient(900px 420px at 85% 20%, rgba(90, 140, 200, 0.35), transparent 60%),
    linear-gradient(160deg, #21344c, #17222f);
  color: #eaf1f8; border-radius: 26px; padding: 56px;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center;
  box-shadow: 0 30px 60px rgba(20, 40, 70, 0.25);
}
.bv-band .eyebrow { color: #8fc0f0; }
.bv-band h2 { margin-top: 10px; font-size: clamp(26px, 3vw, 36px); font-weight: 650; line-height: 1.15; }
.bv-band p { margin-top: 14px; color: #b8c9db; font-size: 15.5px; max-width: 50ch; }
.bv-note { margin-top: 12px; font-size: 12.5px; color: #8fa5bb; }

/* ---------- Waitlist / forms ---------- */
.waitlist-form { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.waitlist-form input[type="email"] {
  flex: 1; min-width: 240px; padding: 13px 18px; font-size: 15px;
  border-radius: 999px; border: 1px solid rgba(28, 55, 90, 0.18);
  background: var(--white); color: var(--ink); outline: none;
}
.waitlist-form input[type="email"]:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(58, 123, 200, 0.18); }
.form-note { margin-top: 12px; font-size: 12.5px; color: var(--ink-faint); }

/* ---------- Footer ---------- */
footer {
  background: #f4f7fb; border-top: 1px solid rgba(28, 55, 90, 0.08);
  padding: 56px 0 32px; color: var(--ink-soft);
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin-top: 14px; font-size: 13px; max-width: 34ch; color: var(--ink-faint); }
.foot-tag { margin-top: 6px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-deep); font-weight: 650; }
footer h5 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 14px; }
footer ul { list-style: none; display: grid; gap: 9px; }
footer ul a { color: var(--ink-soft); font-size: 14px; }
footer ul a:hover { color: var(--blue-deep); }
.foot-legal {
  margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(28, 55, 90, 0.08);
  font-size: 12px; color: var(--ink-faint); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ---------- System pages ---------- */
.sys-hero {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(120, 165, 215, 0.22), transparent 65%),
    linear-gradient(180deg, #fbfcfe, #edf2f8);
  text-align: center; padding: 84px 24px 72px;
}
.sys-hero .label {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--blue-deep);
  background: rgba(220, 235, 250, 0.8); border: 1px solid rgba(58, 123, 200, 0.25);
  border-radius: 999px; padding: 7px 16px;
}
.sys-hero .sys-icon { width: 84px; height: 84px; margin: 26px auto 0; }
.sys-hero .sys-icon svg { width: 42px; height: 42px; }
.sys-hero h1 {
  margin-top: 22px; font-size: clamp(32px, 5vw, 48px); font-weight: 500; letter-spacing: -0.005em;
  font-family: "Iowan Old Style", "New York", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}
.sys-hero h1 .tm { font-size: 0.42em; vertical-align: super; font-weight: 500; }
.sys-hero p.desc { margin: 16px auto 0; max-width: 52ch; color: var(--ink-soft); font-size: 17px; }
.soon-grid { margin: 44px auto 0; max-width: 720px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.soon-card {
  background: rgba(255, 255, 255, 0.9); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 26px; text-align: center; box-shadow: var(--card-shadow);
}
.soon-card svg { width: 30px; height: 30px; color: var(--blue-deep); margin: 0 auto 10px; display: block; }
.soon-card h3 { font-size: 15px; font-weight: 650; }
.soon-card p { margin-top: 4px; font-size: 12.5px; color: var(--ink-faint); }
.back-link {
  display: inline-block; margin-top: 36px; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-deep);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 48px; text-align: center; }
  .hero p.lede { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-figure { width: min(360px, 80%); margin-top: 8px; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .sys-grid { grid-template-columns: repeat(2, 1fr); }
  .lib-grid { grid-template-columns: repeat(2, 1fr); }
  .bv-band { grid-template-columns: 1fr; padding: 40px 28px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .sys-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .lib-grid { grid-template-columns: 1fr; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
  section.block { padding: 64px 0; }
  .brand-sub { display: none; }
  .soon-grid { grid-template-columns: 1fr; }
}
