/* Kynd Agent — kyndagent.com
   Dark to match the app. Left-aligned, asymmetric, no gradients.
   One accent colour, everything else is type and space. */

:root {
  --bg:        #0a0b0d;
  --bg-raised: #101216;
  --line:      rgba(255,255,255,.09);
  --line-soft: rgba(255,255,255,.055);
  --ink:       #e9eaee;
  --ink-dim:   #9aa0ab;
  --ink-faint: #6d7480;
  --accent:    #6a76ff;
  --accent-dim:#4a55d8;
  --green:     #4ec98a;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;

  --gut: clamp(20px, 5vw, 64px);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  max-width: var(--max); margin: 0 auto;
  padding: 22px var(--gut);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -.01em; text-decoration: none;
}
.brand img { border-radius: 6px; }
.nav nav { display: flex; align-items: center; gap: 28px; }
.nav nav a {
  color: var(--ink-dim); text-decoration: none; font-size: 15px;
  transition: color .15s;
}
.nav nav a:hover { color: var(--ink); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 550; font-size: 16px;
  padding: 13px 24px;
  border-radius: 9px;
  border: 1px solid var(--accent-dim);
  transition: background .15s, transform .08s;
}
.btn:hover { background: #7a85ff; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 7px 15px; font-size: 14.5px; }
.nav .btn-sm { color: #fff; }

/* ── Shared bits ──────────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 18px;
}
h1, h2, h3 { letter-spacing: -.035em; font-weight: 620; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(36px, 4.5vw, 54px); }
h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 22px; }
h3 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 10px; }
p  { margin: 0 0 18px; }
.quiet { color: var(--ink-faint); font-size: 15px; line-height: 1.6; }

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 118px) var(--gut);
  border-top: 1px solid var(--line-soft);
}
.section-tight { padding-top: clamp(40px, 5vw, 64px); border-top: 0; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 76px) 0 clamp(56px, 8vw, 104px) var(--gut);
  display: grid;
  grid-template-columns: minmax(0, 50%) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}
.hero-copy { max-width: 580px; }
.lede { color: var(--ink-dim); font-size: 18.5px; margin: 22px 0 30px; }
.cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta-note { color: var(--ink-faint); font-size: 14.5px; }
.cta-note.left { display: block; margin-top: 14px; }
.specs {
  font-family: var(--mono);
  font-size: 12.5px; color: var(--ink-faint);
  margin-top: 30px; padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  line-height: 1.75;
}

/* The screenshot runs off the right edge — deliberately not a centred card. */
.hero-shot {
  margin: 0;
  width: calc(100% + var(--gut) + 6vw);
}
.hero-shot img,
.feature-shot img {
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 70px -28px rgba(0,0,0,.9);
}

/* ── Claim band ───────────────────────────────────────────── */
.band {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-raised);
}
.band-inner {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(52px, 7vw, 86px) var(--gut);
}
.big-claim {
  font-size: clamp(26px, 3.5vw, 40px);
  letter-spacing: -.035em; line-height: 1.16; font-weight: 620;
  max-width: 16ch; margin: 0 0 20px;
}
.band-sub { color: var(--ink-dim); max-width: 62ch; margin: 0; }

/* ── Two-up ───────────────────────────────────────────────── */
.split {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: clamp(28px, 4vw, 64px);
  margin-top: 8px;
}
.split p { color: var(--ink-dim); margin: 0; }

/* ── Feature rows ─────────────────────────────────────────── */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 68px);
  align-items: center;
}
.feature-row.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 44%); }
.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .feature-shot { order: 1; }
.feature-copy p { color: var(--ink-dim); }
.feature-copy .quiet { color: var(--ink-faint); }
.feature-shot { margin: 0; }

/* ── Workbench panel list ─────────────────────────────────── */
.tabs ul { list-style: none; margin: 0; padding: 0; }
.tabs li {
  display: flex; align-items: baseline; gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--ink);
}
.tabs li:last-child { border-bottom: 0; }
.tabs li span {
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--ink-faint);
  margin-left: auto;
  text-align: right;
  max-width: 62%;
  line-height: 1.45;
}

/* ── Archive notice mock ──────────────────────────────────── */
.notice-wrap { margin: 0; }
.notice {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px 18px;
  box-shadow: 0 18px 50px -30px rgba(0,0,0,.9);
  max-width: 420px;
}
.notice-head {
  font-size: 15.5px; font-weight: 580; letter-spacing: -.01em;
  margin: 0 0 8px; color: var(--ink);
}
.notice-body {
  font-size: 14.5px; line-height: 1.55; color: var(--ink-dim);
  margin: 0 0 18px;
}
.notice-actions {
  display: flex; align-items: center; gap: 18px; margin: 0;
  font-size: 14px;
}
.notice-actions span {
  background: var(--accent); color: #fff;
  padding: 8px 15px; border-radius: 7px; font-weight: 520;
}
.notice-actions em { color: var(--ink-faint); font-style: normal; }
.notice-cap { margin: 18px 0 0; max-width: 420px; }

/* ── Lists ────────────────────────────────────────────────── */
.plain-list { list-style: none; padding: 0; margin: 0; max-width: 68ch; }
.plain-list li {
  color: var(--ink-dim);
  padding: 13px 0 13px 26px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.plain-list li:last-child { border-bottom: 0; }
.plain-list li::before {
  content: ""; position: absolute; left: 2px; top: 25px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); opacity: .85;
}
.plain-list.tight li { padding: 9px 0 9px 26px; border-bottom: 0; }
.plain-list.tight li::before { top: 21px; }

/* ── Free vs licence table ────────────────────────────────── */
.section-lede {
  color: var(--ink-dim);
  font-size: 18px;
  max-width: 64ch;
  margin: -6px 0 34px;
}
.table-scroll { overflow-x: auto; margin-bottom: 44px; }

table.tiers {
  width: 100%; min-width: 560px;
  border-collapse: collapse;
}
table.tiers thead th {
  font-family: var(--mono);
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 400;
  text-align: left;
  padding: 0 18px 12px 0;
  border-bottom: 1px solid var(--line);
}
table.tiers thead th:last-child { color: var(--accent); }
table.tiers tbody th {
  text-align: left; font-weight: 450; color: var(--ink);
  padding: 15px 24px 15px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 16px;
}
table.tiers td {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-dim);
  padding: 15px 18px 15px 0;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  width: 26%;
}
table.tiers td.n { color: var(--ink-faint); }
table.tiers td.y { color: var(--ink); }
table.tiers tbody tr td:last-child { color: var(--ink); }
table.tiers thead th:last-child,
table.tiers tbody td:last-child {
  background: rgba(106,118,255,.045);
  padding-left: 16px;
  border-left: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
}

/* ── Pricing ──────────────────────────────────────────────── */
.price-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: clamp(24px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-raised);
  padding: clamp(26px, 4vw, 46px);
  margin-top: 6px;
}
.price {
  font-size: clamp(52px, 7vw, 74px);
  letter-spacing: -.05em; font-weight: 640; line-height: 1;
  margin: 0 0 8px;
}
.price-was { color: var(--ink-faint); font-size: 15px; margin: 0 0 26px; }
.price-was s { color: var(--ink-faint); }
.price-main .btn { margin-top: 26px; }

.price-compare {
  border-left: 1px solid var(--line);
  padding-left: clamp(20px, 3vw, 40px);
}
.price-compare table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.price-compare th {
  text-align: left; font-weight: 500; color: var(--ink);
  padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px;
}
.price-compare td {
  text-align: right; color: var(--ink-dim);
  font-family: var(--mono); font-size: 13.5px;
  padding: 11px 0; border-bottom: 1px solid var(--line-soft);
}
.price-compare tr:first-child th,
.price-compare tr:first-child td { color: var(--ink); }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { max-width: 78ch; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  cursor: pointer; padding: 20px 0; font-size: 17.5px;
  font-weight: 550; letter-spacing: -.015em;
  list-style: none; position: relative; padding-right: 32px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 18px;
  color: var(--ink-faint); font-family: var(--mono); font-size: 19px;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-dim); margin: 0 0 22px; max-width: 70ch; }

/* ── Footer ───────────────────────────────────────────────── */
footer { border-top: 1px solid var(--line-soft); }
.foot-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 46px var(--gut) 66px;
  display: flex; justify-content: space-between; gap: 26px; flex-wrap: wrap;
}
.brand-foot {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; margin: 0;
}
.brand-foot img { border-radius: 5px; }
.foot-inner .quiet { margin: 0; text-align: right; }
.foot-inner a { color: var(--ink-dim); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-right: var(--gut);
    padding-bottom: clamp(40px, 7vw, 64px);
  }
  .hero-shot { width: calc(100% + var(--gut)); }
  .split,
  .feature-row,
  .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-copy,
  .feature-row.reverse .feature-shot { order: initial; }
  .price-card { grid-template-columns: 1fr; }
  .price-compare { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 28px; }
  .foot-inner .quiet { text-align: left; }
}

@media (max-width: 620px) {
  body { font-size: 16.5px; }
  .nav nav { gap: 16px; }
  .nav nav a:not(.btn) { display: none; }
  .cta { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
