/* Kinesin Systems — stealth page
   Values transcribed from the Claude Design prototype
   "Kinesin Stealth Page v2.dc.html". Do not round or snap to a grid. */

:root {
  --bg:        #08080A;
  --bg-alt:    #0A0B0E;
  --surface:   #0D0E12;
  --rule:      #1C1E25;
  --edge:      #23252D;
  --grid-line: #101218;
  --text:      #F1F3F7;
  --muted:     #8A8F9E;
  --accent:    #38BDF8;
  --placeholder: #6B7080;

  /* Arbour panel (light) */
  --ar-bg:     #F7F9FC;
  --ar-bg-alt: #EEF3F9;
  --ar-ink:    #0F1720;
  --ar-sub:    #48525E;
  --ar-edge:   #DCE4EE;
  --ar-hair:   #CBD4DF;
  --ar-blue:   #4A9EE8;
  --ar-blue-d: #2C82D0;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

body {
  font-family: 'Plus Jakarta Sans', Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--text);
  color-scheme: dark;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--text); }

::placeholder { color: var(--placeholder); }

/* clears the sticky header when jumping to #arbour / #apply */
:target { scroll-margin-top: 84px; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.muted { color: var(--muted); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  border-radius: 9999px;
  font-weight: 600;
  line-height: 1.2;
}

.btn--light { background: var(--text); color: var(--bg); }
.btn--light:hover { background: var(--accent); color: var(--bg); }

.btn--sm { font-size: 14px; padding: 10px 20px; }
.btn--lg { font-size: 15px; padding: 15px 28px; }

.btn--arbour {
  font-size: 15px;
  padding: 13px 26px;
  background: var(--ar-blue);
  color: #FFFFFF;
}
.btn--arbour:hover { background: var(--ar-blue-d); color: #FFFFFF; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 8, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 12px; color: inherit; }
.brand:hover { color: inherit; }
.brand-mark { flex: none; }

.brand-text { display: grid; gap: 3px; }

.brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  margin-right: -0.16em;
}

.brand-sub {
  display: flex;
  justify-content: space-between;
  margin-left: 0.16em;
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-glow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(56, 189, 248, 0) 0%,
    rgba(56, 189, 248, 0.5) 30%,
    rgba(56, 189, 248, 0.5) 70%,
    rgba(56, 189, 248, 0) 100%);
}

.hero-inner {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(72px, 11vw, 128px) 24px clamp(64px, 9vw, 104px);
  display: grid;
  gap: 28px;
  justify-items: start;
}

.hero-title {
  margin: 0;
  max-width: 900px;
  font-size: clamp(38px, 6.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: pretty;
}

.hero-lede {
  margin: 0;
  max-width: 660px;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.teaser {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  border: 1px solid var(--edge);
  background: var(--surface);
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 14px;
}
.teaser:hover { border-color: var(--accent); }

.teaser-brand { display: inline-flex; align-items: center; gap: 8px; }
.teaser-brand svg { flex: none; }
.teaser-name { font-size: 14px; font-weight: 600; color: var(--text); }
.teaser-copy { font-size: 14px; line-height: 1.5; color: var(--muted); }
.teaser-arrow { font-size: 14px; color: var(--accent); }

/* ---------- generic sections ---------- */

.section { border-bottom: 1px solid var(--rule); }
.section--alt { background: var(--bg-alt); }

.section > .container {
  padding-top: clamp(64px, 8vw, 96px);
  padding-bottom: clamp(64px, 8vw, 96px);
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--accent { color: var(--accent); }
.eyebrow--flush { margin-bottom: 0; }

.section-title {
  margin: 0 0 44px;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.028em;
  font-weight: 700;
  text-wrap: pretty;
}
.section-title--wide  { max-width: 620px; }
.section-title--wider { max-width: 640px; }
.section-title--flush { margin-bottom: 0; font-size: clamp(26px, 3.4vw, 40px); }
.section-title--sm    { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.14; }

.section-lede {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---------- problem cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.card {
  border: 1px solid var(--edge);
  background: var(--surface);
  border-radius: 14px;
  padding: 28px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.card-num {
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.card-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.card-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--edge);
  border-radius: 16px;
  overflow: hidden;
}

.step {
  background: var(--surface);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px 48px;
  padding: 32px;
}

.step-head, .step-detail { display: grid; gap: 12px; align-content: start; }

.step-num {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.step-title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.step-body {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
}

.step-note {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--edge);
  border-radius: 8px;
  padding: 8px 13px;
  justify-self: start;
}

/* ---------- Arbour panel ---------- */

.arbour-intro {
  max-width: 640px;
  margin-bottom: 34px;
  display: grid;
  gap: 14px;
}

.arbour-card {
  border: 1px solid var(--edge);
  border-radius: 18px;
  overflow: hidden;
  background: var(--ar-bg);
  color: var(--ar-ink);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.arbour-left {
  padding: clamp(32px, 4.5vw, 56px);
  display: grid;
  gap: 22px;
  align-content: center;
}

.arbour-brand { display: flex; align-items: center; gap: 10px; }
.arbour-brand svg { flex: none; }

.arbour-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ar-ink);
}

.arbour-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.arbour-title span { color: var(--ar-blue); }

.arbour-copy {
  margin: 0;
  max-width: 420px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ar-sub);
  text-wrap: pretty;
}
.arbour-copy--sm { font-size: 15px; }

.arbour-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  padding-top: 2px;
}

.arbour-right {
  background: var(--ar-bg-alt);
  border-top: 1px solid var(--ar-edge);
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  place-items: center;
}

/* The panel splits into two columns once the card can fit 2 x 300px:
   card width = min(1180px, 100vw) - 48px of container padding. */
@media (min-width: 648px) {
  .arbour-right {
    border-top: 0;
    border-left: 1px solid var(--ar-edge);
  }
}

.flow {
  width: 100%;
  max-width: 320px;
  border: 2px solid var(--ar-ink);
  border-radius: 18px;
  background: #FFFFFF;
  padding: 22px 20px;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.flow-quote {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ar-sub);
  text-align: center;
}

.flow-pill {
  background: var(--ar-blue);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  border-radius: 9999px;
  padding: 8px 16px;
}

.flow-line { width: 1px; height: 16px; background: var(--ar-hair); }

.flow-box {
  border: 1px solid var(--ar-hair);
  border-radius: 10px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ar-ink);
  background: var(--ar-bg);
}

.flow-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.flow-option {
  border: 1px solid var(--ar-hair);
  border-radius: 10px;
  padding: 9px 15px;
  font-size: 13px;
  color: var(--ar-sub);
  background: var(--ar-bg);
}

/* ---------- apply ---------- */

.apply {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}

.apply-left { display: grid; gap: 20px; max-width: 480px; }

.apply-list {
  display: grid;
  gap: 10px;
  padding: 4px 0 0;
  margin: 0;
  list-style: none;
}

.apply-item { display: flex; align-items: baseline; gap: 12px; font-size: 16px; line-height: 1.5; }

.apply-dot {
  width: 7px;
  height: 7px;
  background: var(--edge);
  border-radius: 2px;
  flex: none;
}
.apply-dot--on { background: var(--accent); }

.form-card {
  border: 1px solid var(--edge);
  background: var(--surface);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 34px);
  display: grid;
  gap: 18px;
  max-width: 520px;
  width: 100%;
  align-content: start;
}

.form-head { display: grid; gap: 6px; }

.form-head-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.form-head-sub { font-size: 15px; line-height: 1.55; color: var(--muted); }

.sent {
  display: grid;
  gap: 14px;
  padding: 26px 22px;
  border: 1px solid var(--accent);
  background: #0B1A24;
  border-radius: 12px;
  justify-items: start;
}
.sent[hidden] { display: none; }

.sent-eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.sent-title { font-size: 17px; line-height: 1.5; font-weight: 600; color: var(--text); }
.sent-body  { font-size: 15px; line-height: 1.6; color: var(--muted); }

.form { display: grid; gap: 18px; }
.form[hidden] { display: none; }

.fields { display: grid; gap: 11px; }
.field  { display: grid; gap: 7px; }

.field-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--edge);
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', Helvetica, sans-serif;
  font-size: 15px;
  outline: none;
}
.input:focus { border-color: var(--accent); }

.textarea { line-height: 1.5; resize: vertical; }

.submit {
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-family: 'Plus Jakarta Sans', Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.submit:hover { background: var(--accent); }
.submit:disabled { opacity: 0.6; cursor: default; }
.submit:disabled:hover { background: var(--text); }

.form-note { font-size: 13px; line-height: 1.55; color: var(--muted); }

/* Turnstile widget — reserve height so the layout does not jump on load */
.cf-turnstile { min-height: 65px; }

.form-error {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #F0857D;
}
.form-error[hidden] { display: none; }

/* honeypot — off-screen, never shown, never announced */
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- footer ---------- */

.site-footer { background: var(--bg-alt); }

.footer-inner {
  padding-top: 34px;
  padding-bottom: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.footer-brand svg { flex: none; }

.footer-link { font-size: 14px; font-weight: 500; color: var(--muted); }
.footer-link:hover { color: var(--accent); }

/* ---------- focus visibility ---------- */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.arbour-card :focus-visible { outline-color: var(--ar-blue); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
