/* ============================================================
   Human Robots — humanrobots.ai
   Light, warm, friendly. Deliberately NOT the limboid.ai system:
   serif display in sentence case, soft shadows instead of
   hairlines, clay accent instead of amber, paper instead of ink.
   ============================================================ */

:root {
  color-scheme: light;

  --paper:      #fbf9f6;
  --paper-2:    #f4efe8;
  --card:       #ffffff;
  --ink:        #191512;
  --ink-2:      #4a423b;
  --muted:      #6d635a;
  --muted-2:    #978c81;

  --clay:       #c2552e;
  --clay-deep:  #a8451f;
  --clay-tint:  #fbeade;
  --line:       #e7e0d6;
  --line-soft:  #f0eae1;

  --sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;

  --gut: clamp(22px, 4.4vw, 72px);
  --r:    22px;
  --r-sm: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  --shadow-sm: 0 1px 2px rgba(25, 21, 18, 0.04), 0 3px 8px rgba(25, 21, 18, 0.04);
  --shadow:    0 2px 4px rgba(25, 21, 18, 0.03), 0 10px 26px rgba(25, 21, 18, 0.06);
  --shadow-lg: 0 4px 10px rgba(25, 21, 18, 0.04), 0 26px 60px rgba(25, 21, 18, 0.10);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 350;
  font-size: 17px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--clay-tint); color: var(--clay-deep); }

a { color: inherit; }
img, svg { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 6px;
}

.hr-skip {
  position: absolute;
  top: -100px; left: var(--gut);
  z-index: 100;
  padding: 11px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  text-decoration: none;
  border-radius: 999px;
}
.hr-skip:focus { top: 14px; }

/* ── display type ─────────────────────────────────────────── */

.hr-hero-title,
.hr-sectitle,
.hr-h3,
.hr-card h3,
.hr-sector h3,
.hr-step h3,
.hr-q summary {
  font-family: var(--display);
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  font-weight: 500;
}

.hr-kicker,
.hr-eyebrow,
.hr-label,
.hr-col-head,
.hr-tech-tag,
.hr-figcaption {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ── topbar ───────────────────────────────────────────────── */

.hr-topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gut);
  border-bottom: 1px solid transparent;
  transition: background 380ms var(--ease), border-color 380ms var(--ease), padding 380ms var(--ease);
}
.hr-topbar.is-stuck {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(251, 249, 246, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.hr-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.015em;
  text-decoration: none;
  color: var(--ink);
  transition: opacity 180ms ease;
}
.hr-brand:hover { opacity: 0.7; }

.hr-brand-mark {
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 4px var(--clay-tint);
  flex: none;
}

.hr-nav { display: flex; gap: clamp(14px, 1.9vw, 28px); }
.hr-nav a {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 200ms ease, border-color 200ms ease;
}
.hr-nav a:hover { color: var(--ink); }
.hr-nav a.is-current { color: var(--ink); border-bottom-color: var(--clay); }

.hr-topcta {
  font-size: 14.5px;
  font-weight: 500;
  color: #fff;
  background: var(--clay);
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: background 220ms ease, transform 220ms var(--ease);
}
.hr-topcta:hover { background: var(--clay-deep); }
.hr-topcta:active { transform: translateY(1px); }

/* ── hero ─────────────────────────────────────────────────── */

.hr-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(110px, 13vh, 152px) var(--gut) clamp(52px, 7vh, 88px);
  background:
    radial-gradient(ellipse 60% 70% at 78% 34%, #ffffff 0%, rgba(255,255,255,0) 66%),
    radial-gradient(ellipse 70% 60% at 8% 88%, var(--clay-tint) 0%, rgba(251,234,222,0) 58%),
    var(--paper);
}

.hr-hero-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.hr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(18px, 2.2vw, 26px);
  padding: 7px 14px 6px;
  border-radius: 999px;
  background: var(--clay-tint);
  color: var(--clay-deep);
  font-size: 11px;
}
.hr-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--clay);
}

.hr-hero-title {
  margin: 0;
  font-size: clamp(46px, 6.2vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.032em;
  font-weight: 500;
}

.hr-hero-lead {
  max-width: 42ch;
  margin: clamp(20px, 2.2vw, 30px) 0 0;
  color: var(--ink-2);
  font-size: clamp(16.5px, 1.22vw, 19.5px);
  line-height: 1.68;
}

.hr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 2.8vw, 36px);
}

.hr-hero-note {
  margin: clamp(18px, 2vw, 24px) 0 0;
  max-width: 40ch;
  color: var(--muted-2);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ── the figure ───────────────────────────────────────────── */

.hr-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 20px; }

.hr-figure-stage {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: clamp(20px, 3vw, 40px) clamp(16px, 3vw, 36px);
  border-radius: 40px;
  background: linear-gradient(168deg, #ffffff 0%, #f7f2ea 100%);
  box-shadow: var(--shadow-lg);
}

.hr-body {
  width: 100%;
  max-width: 300px;
  height: auto;
  max-height: 62svh;
}

.hr-upper  { animation: hr-breathe 6.4s ease-in-out infinite; transform-origin: 190px 320px; }
.hr-eyes   { animation: hr-blink 8.2s ease-in-out infinite; transform-origin: 190px 93px; }
.hr-shadow { animation: hr-shadow 6.4s ease-in-out infinite; transform-origin: 190px 556px; }

@keyframes hr-breathe {
  0%, 100% { transform: translateY(0)      scaleY(1); }
  50%      { transform: translateY(-3.5px) scaleY(1.008); }
}
@keyframes hr-blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95%           { transform: scaleY(0.1); }
}
@keyframes hr-shadow {
  0%, 100% { opacity: 0.13; transform: scaleX(1); }
  50%      { opacity: 0.1;  transform: scaleX(0.96); }
}

.hr-figcaption { color: var(--muted-2); text-align: center; }

/* ── buttons ──────────────────────────────────────────────── */

.hr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 500;
  text-decoration: none;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease,
              transform 220ms var(--ease), box-shadow 220ms ease;
}
.hr-btn:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.hr-btn:active { transform: translateY(0); }

.hr-btn--primary { background: var(--clay); color: #fff; }
.hr-btn--primary:hover { background: var(--clay-deep); }

.hr-btn--quiet { background: transparent; border-color: var(--line); box-shadow: none; }
.hr-btn--quiet:hover { background: var(--card); border-color: var(--muted-2); box-shadow: var(--shadow-sm); }

.hr-btn--full { width: 100%; }
.hr-btn[disabled] { opacity: 0.55; cursor: default; transform: none; }

/* ── section frame ────────────────────────────────────────── */

.hr-section { position: relative; padding: clamp(78px, 11vh, 142px) var(--gut); }
.hr-section--tint { background: var(--paper-2); }

.hr-wrap { width: min(1160px, 100%); margin: 0 auto; }
.hr-wrap--mid { width: min(760px, 100%); }
.hr-wrap--narrow { width: min(600px, 100%); }

.hr-sechead { max-width: 58ch; margin-bottom: clamp(38px, 5vw, 62px); }
.hr-sechead--center { max-width: none; text-align: center; margin-inline: auto; }

.hr-kicker { margin: 0 0 15px; color: var(--clay); }

.hr-sectitle {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.028em;
}

.hr-secsub {
  max-width: 54ch;
  margin: clamp(16px, 1.7vw, 24px) 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.1vw, 18.5px);
}
.hr-sechead--center .hr-secsub { margin-inline: auto; }

.hr-h3 { margin: 0 0 14px; font-size: clamp(22px, 2vw, 30px); line-height: 1.16; }

.hr-note {
  max-width: 58ch;
  margin: clamp(28px, 3.2vw, 42px) auto 0;
  color: var(--muted);
  font-size: 15.5px;
  text-align: center;
}

/* ── cards ────────────────────────────────────────────────── */

.hr-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hr-card {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: clamp(26px, 2.5vw, 34px);
  border-radius: var(--r);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform 300ms var(--ease), box-shadow 300ms ease;
}
.hr-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.hr-card h3 { margin: 0; font-size: 21px; line-height: 1.22; }
.hr-card p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.66; }

/* ── sectors ──────────────────────────────────────────────── */

.hr-sectors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.hr-sector {
  padding: clamp(26px, 2.5vw, 34px);
  border-radius: var(--r);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform 300ms var(--ease), box-shadow 300ms ease;
}
.hr-sector:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.hr-sector h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.22; }
.hr-sector p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.66; }

/* ── panel ────────────────────────────────────────────────── */

.hr-panel {
  margin-top: clamp(30px, 3.4vw, 46px);
  padding: clamp(28px, 3.2vw, 48px);
  border-radius: var(--r);
  background: var(--ink);
  color: #f3ede6;
}
.hr-panel .hr-h3 { color: #fff; }
.hr-panel p { margin: 0 0 1.05em; color: rgba(243, 237, 230, 0.76); font-size: 16.5px; max-width: 66ch; }
.hr-panel p:last-child { margin-bottom: 0; }

/* ── does / doesn't ───────────────────────────────────────── */

.hr-twocol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.hr-col {
  padding: clamp(28px, 2.9vw, 42px);
  border-radius: var(--r);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.hr-col--can { background: var(--clay-tint); box-shadow: none; }

.hr-col-head { margin: 0 0 22px; color: var(--clay-deep); }
.hr-col--cant .hr-col-head { color: var(--muted-2); }

.hr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hr-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}
.hr-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.16em;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--clay);
  /* a small tick, drawn with a mask so it stays crisp at any size */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19 19'%3E%3Cpath d='M5 9.6l3 3 6-6.4' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat,
          linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19 19'%3E%3Cpath d='M5 9.6l3 3 6-6.4' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat,
                linear-gradient(#000 0 0);
          mask-composite: exclude;
}
.hr-list--neg li { color: var(--muted); }
.hr-list--neg li::before {
  background: none;
  top: 0.72em;
  left: 1px;
  width: 15px; height: 1.5px;
  border-radius: 2px;
  background: var(--muted-2);
  -webkit-mask: none;
          mask: none;
}

/* ── how it works ─────────────────────────────────────────── */

.hr-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.hr-step {
  padding: clamp(28px, 2.7vw, 38px);
  border-radius: var(--r);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.hr-step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--clay-tint);
  color: var(--clay-deep);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
}
.hr-step h3 { margin: 0 0 11px; font-size: 22px; line-height: 1.2; }
.hr-step p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.68; }

.hr-tech {
  max-width: 74ch;
  margin: clamp(28px, 3.2vw, 42px) 0 0;
  padding: 24px 28px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.hr-tech-tag {
  display: block;
  margin-bottom: 8px;
  color: var(--muted-2);
  font-size: 10.5px;
}
.hr-tech a { color: var(--clay-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.hr-tech a:hover { color: var(--clay); }

/* ── faq ──────────────────────────────────────────────────── */

.hr-faq { display: grid; gap: 12px; }

.hr-q {
  border-radius: var(--r-sm);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.hr-q summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 58px 22px 26px;
  position: relative;
  font-size: 19px;
  line-height: 1.35;
  color: var(--ink);
}
.hr-q summary::-webkit-details-marker { display: none; }
.hr-q summary::after {
  content: "";
  position: absolute;
  right: 26px; top: 50%;
  width: 11px; height: 11px;
  margin-top: -7px;
  border-right: 2px solid var(--clay);
  border-bottom: 2px solid var(--clay);
  transform: rotate(45deg);
  transition: transform 260ms var(--ease);
}
.hr-q[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.hr-q summary:hover { color: var(--clay-deep); }
.hr-q p {
  margin: 0;
  padding: 0 26px 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
  max-width: 62ch;
}

/* ── waitlist ─────────────────────────────────────────────── */

.hr-waitlist {
  background:
    radial-gradient(ellipse 70% 90% at 50% 4%, #ffffff 0%, rgba(255,255,255,0) 62%),
    var(--paper);
}

.hr-form {
  margin-top: clamp(30px, 3.4vw, 42px);
  display: grid;
  gap: 16px;
  padding: clamp(26px, 3vw, 38px);
  border-radius: var(--r);
  background: var(--card);
  box-shadow: var(--shadow);
}
.hr-field { display: grid; gap: 9px; }
.hr-label { color: var(--muted-2); }

.hr-input {
  width: 100%;
  padding: 16px 18px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 350;
  font-size: 16px;
  line-height: 1.3;
  transition: border-color 200ms ease, background 200ms ease;
  appearance: none;
}
.hr-input::placeholder { color: var(--muted-2); }
.hr-input:hover { border-color: #d9d1c5; }
.hr-input:focus { outline: none; border-color: var(--clay); background: #fff; }
.hr-input:focus-visible { outline: none; }
.hr-input[aria-invalid="true"] { border-color: #c0392b; }

.hr-selectwrap { position: relative; }
.hr-selectwrap::after {
  content: "";
  position: absolute;
  right: 20px; top: 50%;
  width: 7px; height: 7px;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.hr-select { padding-right: 44px; cursor: pointer; }

.hr-hp {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hr-formnote { margin: 2px 0 0; color: var(--muted-2); font-size: 13.5px; line-height: 1.6; text-align: center; }
/* no reserved height — an empty status shouldn't leave a hole under the note,
   but the node stays in the DOM so the live region keeps announcing */
.hr-formstatus { margin: 0; font-size: 14.5px; text-align: center; color: var(--muted); }
.hr-formstatus.is-ok { color: var(--clay-deep); }
.hr-formstatus.is-err { color: #c0392b; }

.hr-form.is-done { gap: 0; }
.hr-form.is-done .hr-field,
.hr-form.is-done #signupBtn,
.hr-form.is-done .hr-formnote { display: none; }
.hr-form.is-done .hr-formstatus {
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--ink);
  padding: 8px 4px;
}

/* ── footer ───────────────────────────────────────────────── */

.hr-footer {
  padding: clamp(42px, 5.5vw, 68px) var(--gut) clamp(36px, 4.6vw, 54px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.hr-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 44px;
}
.hr-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.015em;
}
.hr-footer-line { margin: 0; max-width: 40ch; color: var(--muted); font-size: 15px; line-height: 1.6; }
.hr-footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted-2);
  font-size: 14px;
}
.hr-footer-meta a { color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; transition: color 200ms ease, border-color 200ms ease; }
.hr-footer-meta a:hover { color: var(--ink); border-bottom-color: var(--clay); }

/* ── reveal ───────────────────────────────────────────────── */

.hr-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
  transition-delay: calc(var(--d, 0) * 100ms);
}
.hr-reveal.is-in { opacity: 1; transform: none; }

/* ── responsive ───────────────────────────────────────────── */

@media (max-width: 1080px) {
  .hr-nav { gap: 14px; }
  .hr-nav a { font-size: 14px; }
}

@media (max-width: 1000px) {
  .hr-cards, .hr-sectors, .hr-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hr-hero { min-height: auto; padding-top: 104px; }
  .hr-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hr-figure { order: -1; }
  .hr-figure-stage { border-radius: 32px; }
  .hr-body { max-width: 200px; max-height: 40svh; }
  .hr-hero-lead, .hr-hero-note { max-width: none; }
  .hr-nav { display: none; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 76px; }
  .hr-twocol { grid-template-columns: minmax(0, 1fr); }
  .hr-btn { flex: 1 1 auto; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hr-cards, .hr-sectors, .hr-steps { grid-template-columns: minmax(0, 1fr); }
  .hr-hero-actions { flex-direction: column; align-items: stretch; }
  .hr-brand-name { font-size: 15px; }
  .hr-topcta { padding: 10px 15px; font-size: 13.5px; }
  .hr-q summary { font-size: 17.5px; padding-right: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hr-reveal { opacity: 1; transform: none; transition: none; }
  .hr-upper, .hr-eyes, .hr-shadow { animation: none; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}
