/* SoloPilot landing page.
   Built on the Kinesin Systems page (kinesin.ai): same dark base, type and
   spacing, with a product accent and a light product panel in the way the
   Kinesin page treats Arbour. ekko.ai/assets/styles.css is the same file with
   a different product block; change both together. */

:root {
  /* Kinesin base */
  --bg:          #08080A;
  --bg-alt:      #0A0B0E;
  --surface:     #0D0E12;
  --rule:        #1C1E25;
  --edge:        #23252D;
  --text:        #F1F3F7;
  --muted:       #8A8F9E;
  --placeholder: #6B7080;

  /* product */
  --accent:      #5BD69A;
  --accent-ink:  #06140D;
  --sent-bg:     #0B1D15;
  --pn-bg:       #F4F8F5;
  --pn-alt:      #E8F0EA;
  --pn-ink:      #0E1A14;
  --pn-sub:      #4A5850;
  --pn-edge:     #D5E1D8;
}

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

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

html {
  color-scheme: dark;
  -webkit-tap-highlight-color: transparent;
}

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

a { color: var(--accent); text-decoration: none; transition: color 140ms ease; }
a:hover { color: var(--text); }

.skip-link {
  position: absolute;
  top: -64px;
  left: 16px;
  z-index: 50;
  padding: 11px 20px;
  border-radius: 0 0 10px 10px;
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  transition: top 140ms ease;
}
.skip-link:focus { top: 0; color: var(--bg); }

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

#main:focus { outline: none; }
::placeholder { color: var(--placeholder); }
:target { scroll-margin-top: 84px; }

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

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

.btn {
  display: inline-block;
  border-radius: 9999px;
  font-weight: 600;
  line-height: 1.2;
  touch-action: manipulation;
  transition: background-color 140ms ease, color 140ms ease;
}
.btn--light { background: var(--text); color: var(--bg); }
.btn--light:hover { background: var(--accent); color: var(--accent-ink); }
.btn--sm { font-size: 14px; padding: 10px 20px; }
.btn--lg { font-size: 15px; padding: 15px 28px; }

/* ---------- 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;
}

.brand { display: flex; align-items: center; gap: 10px; color: inherit; }
.brand:hover { color: inherit; }
.brand svg { flex: none; }
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.brand-by { font-size: 13px; font-weight: 500; color: var(--muted); padding-left: 2px; }

@media (max-width: 420px) {
  .brand-by { display: none; }
}

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

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

.hero-inner {
  position: relative;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero-copy { display: grid; gap: 26px; justify-items: start; }

.hero-title {
  margin: 0;
  font-size: clamp(38px, 5.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}

.hero-lede {
  margin: 0;
  max-width: 34em;
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.hero-note { font-size: 14px; color: var(--muted); }

@media (max-width: 899px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- light product panel (shared shell) ---------- */

.panel {
  margin: 0;
  background: var(--pn-bg);
  color: var(--pn-ink);
  border: 1px solid var(--edge);
  border-radius: 18px;
  overflow: hidden;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--pn-edge);
}
.panel-title { font-size: 15px; font-weight: 700; }
.panel-meta  { font-size: 13px; color: var(--pn-sub); }

.panel-foot {
  padding: 14px 22px;
  background: var(--pn-alt);
  border-top: 1px solid var(--pn-edge);
  font-size: 14px;
  color: var(--pn-sub);
}
.panel-foot strong { color: var(--pn-ink); font-weight: 600; }

/* ---------- SoloPilot: client roster ---------- */

.roster { width: 100%; border-collapse: collapse; font-size: 14px; }

.roster th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--pn-sub);
  padding: 12px 10px 10px;
  border-bottom: 1px solid var(--pn-edge);
}
.roster td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--pn-edge);
  vertical-align: middle;
}
.roster tr:last-child td { border-bottom: 0; }
.roster th:first-child, .roster td:first-child { padding-left: 22px; }
.roster th:last-child,  .roster td:last-child  { padding-right: 22px; }
.roster-client { font-weight: 600; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: var(--pn-ink);
}
.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2FA56C;
  flex: none;
}
.status--todo::before { background: #E0A100; }
.status--todo { font-weight: 600; }

/* The one motion on the page: each status settles in, row by row, on load. */
@media (prefers-reduced-motion: no-preference) {
  .roster .status { animation: settle 420ms ease both; }
  .roster tr:nth-child(1) .status { animation-delay: 300ms; }
  .roster tr:nth-child(2) .status { animation-delay: 480ms; }
  .roster tr:nth-child(3) .status { animation-delay: 660ms; }
  .roster tr:nth-child(4) .status { animation-delay: 840ms; }
  .roster tr:nth-child(5) .status { animation-delay: 1020ms; }
}
@keyframes settle {
  from { opacity: 0; transform: translateY(3px); }
  to   { opacity: 1; transform: none; }
}

/* the roster only fits three status columns from tablet up */
@media (max-width: 560px) {
  .roster .col-minutes { display: none; }
}

/* ---------- Ekko: phone ---------- */

.phone {
  margin: 0;
  width: 100%;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
  border: 10px solid #1D2026;
  border-radius: 36px;
  background: var(--pn-bg);
  color: var(--pn-ink);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.phone-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px 14px;
  border-bottom: 1px solid var(--pn-edge);
  font-size: 15px;
  font-weight: 700;
}
.phone-bar span { font-size: 13px; font-weight: 500; color: var(--pn-sub); margin-left: auto; }

.chat { display: grid; gap: 14px; padding: 18px 16px 20px; }

.bubble {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
}
.bubble-who { display: block; font-size: 12px; font-weight: 600; color: var(--pn-sub); margin-bottom: 4px; }

.bubble--ask {
  justify-self: end;
  background: var(--pn-ink);
  color: #FBF7F0;
  border-bottom-right-radius: 4px;
}
.bubble--ask .bubble-who { color: #B9B1A3; }

.bubble--answer {
  justify-self: start;
  background: #FFFFFF;
  border: 1px solid var(--pn-edge);
  border-bottom-left-radius: 4px;
}

.source {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--pn-alt);
  font-size: 12px;
  color: var(--pn-sub);
}
.source-play {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
}
.source strong { color: var(--pn-ink); font-weight: 600; }

/* The one motion on the page: the answer arrives after the question. */
@media (prefers-reduced-motion: no-preference) {
  .bubble--answer { animation: arrive 480ms ease 900ms both; }
}
@keyframes arrive {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- 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);
}

.section-head { display: grid; gap: 14px; max-width: 660px; margin-bottom: 44px; }

.section-title {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.028em;
  font-weight: 700;
  text-wrap: balance;
}

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

/* ---------- feature areas ---------- */

.areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--edge);
  border-radius: 16px;
  overflow: hidden;
}
.areas--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 699px) {
  .areas--two { grid-template-columns: minmax(0, 1fr); }
}

.area {
  background: var(--surface);
  padding: 32px 30px 34px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.area-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--edge);
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}

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

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

@media (max-width: 380px) {
  .areas, .areas--two { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- SoloPilot: today vs with SoloPilot ---------- */

.compare { width: 100%; border-collapse: collapse; font-size: 17px; line-height: 1.5; }

.compare th {
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  padding: 0 24px 16px 0;
  border-bottom: 1px solid var(--edge);
  width: 50%;
}
.compare th:first-child { color: var(--muted); }
.compare th:last-child  { color: var(--accent); }

.compare td {
  padding: 20px 24px 20px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  text-wrap: pretty;
}
.compare td:first-child { color: var(--muted); }

@media (max-width: 640px) {
  .compare, .compare tbody, .compare tr, .compare td { display: block; width: 100%; }
  .compare thead { display: none; }
  .compare tr { padding: 18px 0; border-bottom: 1px solid var(--rule); }
  .compare td { border: 0; padding: 0; }
  .compare td + td { margin-top: 8px; }
  .compare td::before {
    content: attr(data-label);
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
  }
  .compare td:last-child::before { color: var(--accent); }
}

/* ---------- Ekko: problem list ---------- */

.problem {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.problem .section-head { margin-bottom: 0; }

.problem-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--edge); }
.problem-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--edge);
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
}
.problem-list li:last-child { color: var(--text); font-weight: 600; }

@media (max-width: 767px) {
  .problem { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- waitlist ---------- */

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

.waitlist-copy { display: grid; gap: 20px; max-width: 480px; }

.waitlist-list { display: grid; gap: 10px; padding: 4px 0 0; margin: 0; list-style: none; }
.waitlist-list li { display: flex; align-items: baseline; gap: 12px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.waitlist-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 2px;
  flex: none;
  transform: translateY(-2px);
}

.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%;
}

.form-head { display: grid; gap: 6px; }
.form-head-title { font-size: 17px; font-weight: 700; color: var(--text); }
.form-head-sub { font-size: 15px; line-height: 1.55; color: var(--muted); }

.sent {
  display: grid;
  gap: 10px;
  padding: 26px 22px;
  border: 1px solid var(--accent);
  background: var(--sent-bg);
  border-radius: 12px;
}
.sent[hidden] { display: none; }
.sent-title { font-size: 17px; line-height: 1.5; font-weight: 700; 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: 12px; }
.field  { display: grid; gap: 7px; }
.field-label { font-size: 14px; font-weight: 600; 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;
  transition: border-color 140ms ease;
}
.input:focus { border-color: var(--accent); }
.input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

select.input {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.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;
  touch-action: manipulation;
  transition: background-color 140ms ease, color 140ms ease;
}
.submit:hover { background: var(--accent); color: var(--accent-ink); }
.submit:disabled { opacity: 0.6; cursor: default; }
.submit:disabled:hover { background: var(--text); color: var(--bg); }

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

.cf-turnstile { min-height: 65px; }

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

.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: 16px 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}

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

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

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

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