/* Kanbannn landing page.
   Palette is lifted straight from the app icon: #16161C ground, #F2A93B mark. */

:root {
  --ink:        #16161C;
  --ink-2:      #1C1C24;
  --ink-3:      #23232E;
  --line:       #2E2E3A;
  --amber:      #F2A93B;
  --amber-dim:  #C4862C;
  --text:       #E8E8EE;
  --text-2:     #A0A0B0;
  --text-3:     #6E6E80;

  --blue:    #6C9EF8;
  --green:   #5BC98C;
  --yellow:  #E8C55A;
  --magenta: #C58CF0;
  --cyan:    #5FC9D6;
  --red:     #F07A6E;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1120px;
  --r: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Warm glow behind the fold, so the page isn't a flat black rectangle. */
body::before {
  content: "";
  position: fixed;
  inset: -20% 0 auto -20%;
  height: 620px;
  background: radial-gradient(60% 70% at 30% 20%, rgba(242, 169, 59, 0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

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

code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 6px;
  color: var(--text);
  white-space: nowrap;
}

em { font-style: normal; color: var(--text); font-weight: 600; }

/* ── Nav ─────────────────────────────────────────────────────────────── */

/* Full-bleed bar, wrap-width contents — a max-width on .nav itself would leave
   the backdrop as a floating rectangle with transparent gutters. */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(22, 22, 28, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px 28px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.nav-brand:hover { text-decoration: none; }
.nav-brand img { border-radius: 7px; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  color: var(--text-2);
  font-size: 15px;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ── Buttons ─────────────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--amber);
  color: #14140F;
  padding: 13px 26px;
  font-size: 16px;
}
.btn-primary:hover { background: #FFBB4D; transform: translateY(-1px); }

.btn-small {
  border: 1px solid var(--line);
  background: var(--ink-2);
  color: var(--text) !important;
  padding: 7px 16px;
  font-size: 14px;
}
.btn-small:hover { border-color: var(--amber-dim); background: var(--ink-3); }

/* ── Hero ────────────────────────────────────────────────────────────── */

.hero { padding: 76px 0 48px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--amber);
  margin: 0 0 20px;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 6vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.lede {
  margin: 0 0 30px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 46ch;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-meta {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-3);
}

.fineprint {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--text-3);
}

/* ── Board mock ──────────────────────────────────────────────────────── */

.board {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--ink-2);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.board-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--ink-3);
}
.dot { width: 11px; height: 11px; border-radius: 50%; display: block; }
.dot-r { background: #F0655A; }
.dot-y { background: #E8B14A; }
.dot-g { background: #56C361; }
.board-title {
  margin-left: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
}

.board-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px;
}

.col { min-width: 0; }
.col-fade { opacity: 0.55; }

.col-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 10px;
  padding: 0 2px;
}
.count {
  font-family: var(--mono);
  font-weight: 500;
  background: var(--ink-3);
  border-radius: 4px;
  padding: 0 5px;
  font-size: 11px;
}

.card {
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 11px 12px;
  margin-bottom: 10px;
}
.card p {
  margin: 7px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
}
.card-live { border-color: rgba(242, 169, 59, 0.45); }

.tag {
  font-family: var(--mono);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 5px;
  display: inline-block;
}
.tag-blue    { color: var(--blue);    background: rgba(108, 158, 248, 0.14); }
.tag-green   { color: var(--green);   background: rgba(91, 201, 140, 0.14); }
.tag-yellow  { color: var(--yellow);  background: rgba(232, 197, 90, 0.14); }
.tag-magenta { color: var(--magenta); background: rgba(197, 140, 240, 0.14); }
.tag-cyan    { color: var(--cyan);    background: rgba(95, 201, 214, 0.14); }

.agent {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--amber);
}
.agent i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.agent-wait { color: var(--text-3); }

.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.25; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── Sections ────────────────────────────────────────────────────────── */

.section { padding: 88px 0; }
.section-alt {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title {
  margin: 0 0 44px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-3);
}

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

.feature {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 24px;
  transition: border-color 0.15s ease;
}
.feature:hover { border-color: #3C3C4C; }
.feature h3 {
  margin: 0 0 12px;
  font-size: 18px;
  letter-spacing: -0.015em;
  font-weight: 650;
}
.feature p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-2);
}

/* ── Steps ───────────────────────────────────────────────────────────── */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  counter-reset: step;
}
.steps li { min-width: 0; }
.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--amber-dim);
  color: var(--amber);
  font-family: var(--mono);
  font-size: 14px;
  margin-bottom: 16px;
}
.steps h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.015em;
  font-weight: 650;
}
.steps p {
  margin: 0;
  color: var(--text-2);
  font-size: 15.5px;
}

/* ── Install ─────────────────────────────────────────────────────────── */

.install-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.specs {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  border-top: 1px solid var(--line);
  max-width: 420px;
}
.specs li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.specs li span:first-child { color: var(--text-3); }
.specs li span:last-child { font-family: var(--mono); font-size: 14px; }

.note {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-left: 2px solid var(--amber-dim);
  border-radius: 12px;
  padding: 24px;
}
.note h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.note h3 + p { margin: 0 0 22px; }
.note p:last-child { margin-bottom: 0; }
.note p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2);
}

/* ── Footer ──────────────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-3);
}
.footer a { color: var(--text-2); }
.footer a:hover { color: var(--amber); }

/* ── Responsive ──────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .hero-grid,
  .install-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 56px 0 72px; }
  .section { padding: 64px 0; }
  .lede { max-width: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap, .nav-inner { padding-left: 20px; padding-right: 20px; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
  .board-cols { grid-template-columns: 1fr 1fr; }
  .col:last-child { display: none; }
  .btn-primary { display: block; text-align: center; }
  .cta-row { display: block; }
  .cta-meta { display: block; margin-top: 12px; }
}
