:root {
  --bg: #ffffff; --bg-alt: #f6f8fb; --ink: #0f1629; --ink-soft: #39435a; --muted: #6b7280; --line: #e6e9ef;
  --brand: #1f6fd6; --teal: #10b9d6; --purple: #8b5cf6; --amber: #ca9a2e;
  --card1: #0F1629; --card2: #0A1020; --card-border: rgba(255,255,255,0.08);
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65; -webkit-font-smoothing: antialiased; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
.label { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); margin: 0 0 14px; }
.label::before { content: "// "; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 18px; font-weight: 800; letter-spacing: -0.01em; }

/* Nav */
header.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.logo { height: 48px; width: auto; display: block; }
.foot-brand { font-weight: 800; font-size: 18px; color: #fff; }
nav.links { display: flex; gap: 30px; }
nav.links a { font-size: 15px; font-weight: 600; color: var(--ink-soft); padding: 6px 0; border-bottom: 2px solid transparent; }
nav.links a:hover { color: var(--ink); }
nav.links a.active { color: var(--teal); border-color: var(--teal); }
@media (max-width: 860px) { nav.links { display: none; } }

.btn { display: inline-block; font-weight: 700; font-size: 15px; padding: 13px 26px; border-radius: 10px; letter-spacing: 0.02em; cursor: pointer; border: none; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #1b2740; }
.btn-teal { background: var(--teal); color: #04212a; }
.btn-teal:hover { filter: brightness(1.06); }

/* Hero (home) */
.hero { padding: 72px 0 64px; }
.hero .grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.2vw, 54px); line-height: 1.08; margin: 0 0 22px; font-weight: 800; letter-spacing: -0.02em; }
.hero p { font-size: 18px; color: var(--ink-soft); max-width: 560px; margin: 0 0 18px; }
.hero .cta { margin-top: 12px; }
.hero-art { background: linear-gradient(150deg, #0b1c3a 0%, #0a1226 100%); border-radius: 18px; min-height: 320px; position: relative; overflow: hidden; box-shadow: 0 24px 60px rgba(11,28,58,0.28); }
.hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.8; }
@media (max-width: 860px) { .hero .grid { grid-template-columns: 1fr; } .hero-art { min-height: 220px; } }

/* Page hero (sub-pages) */
.page-hero { background: #0b1220; color: #fff; padding: 62px 0; }
.page-hero .label { color: #62b6ff; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 46px); margin: 0 0 12px; font-weight: 800; letter-spacing: -0.01em; }
.page-hero p { font-size: 18px; color: #aab4c9; max-width: 640px; margin: 0; }

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 34px; }
@media (max-width: 820px) { .cols3 { grid-template-columns: 1fr; } }
.sol { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 30px 26px; }
.sol h3 { margin: 0 0 10px; font-size: 21px; font-weight: 700; }
.sol p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* How it works (dark) */
.steps-sec { background: #0b1220; color: #e7ecf5; padding: 78px 0; }
.steps-sec .label { color: #62b6ff; }
.steps-sec h2 { color: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step .num { font-size: 40px; font-weight: 800; color: rgba(98,182,255,0.35); line-height: 1; }
.step h3 { margin: 10px 0 8px; font-size: 20px; color: #fff; font-weight: 700; }
.step p { margin: 0; color: #a9b4c9; font-size: 15.5px; }

/* Tool cards */
.tools-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
@media (max-width: 1000px) { .tools-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tools-grid { grid-template-columns: 1fr; } }
.tcard { background: linear-gradient(160deg, var(--card1) 0%, var(--card2) 100%); border: 1px solid var(--card-border);
  border-radius: 16px; padding: 26px 22px; color: #e7ecf5; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.tcard.live:hover { transform: translateY(-4px); border-color: rgba(16,185,214,0.45); }
.tcard.beta:hover { transform: translateY(-4px); border-color: rgba(139,92,246,0.45); }
.tcard.soon { opacity: 0.82; }
.badge { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; border: 1px solid transparent; }
.badge.live { color: #10b9d6; background: rgba(16,185,214,0.12); border-color: rgba(16,185,214,0.4); }
.badge.beta { color: #a78bfa; background: rgba(139,92,246,0.14); border-color: rgba(139,92,246,0.4); }
.badge.soon { color: #d6b451; background: rgba(202,154,46,0.12); border-color: rgba(202,154,46,0.4); }
.tcard h3 { margin: 0 0 4px; font-size: 22px; font-weight: 800; color: #fff; }
.tcard .cat { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 14px; }
.tcard.live .cat { color: #10b9d6; }
.tcard.beta .cat { color: #a78bfa; }
.tcard.soon .cat { color: #9aa3b2; }
.tcard p { margin: 0 0 20px; color: #aab4c8; font-size: 15px; flex: 1; }
.tcard .go { font-weight: 700; font-size: 15px; }
.tcard.live .go { color: #10b9d6; }
.tcard.beta .go { color: #a78bfa; }
.tcard.soon .go { color: #d6b451; cursor: default; }

/* CTA band + footer */
.cta-band { padding: 66px 0; text-align: center; }
.cta-band p { font-size: 18px; color: var(--ink-soft); max-width: 620px; margin: 0 auto 26px; }
footer { background: #0b1220; color: #93a0b7; padding: 40px 0; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
footer a { color: #cfd8e6; }
footer a:hover { color: #fff; }
footer .small { font-size: 13.5px; }

/* About */
.founder { display: grid; grid-template-columns: 130px 1fr; gap: 28px; align-items: start; max-width: 820px; margin: 34px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px; }
.founder .avatar { width: 130px; height: 130px; border-radius: 16px; object-fit: cover; object-position: center top; background: linear-gradient(150deg,#1f6fd6,#0b1c3a); display: block; }
.founder h3 { margin: 0; font-size: 24px; }
.founder .role { color: var(--teal); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 4px 0 12px; }
.founder p { margin: 0; color: var(--ink-soft); font-size: 16px; }
@media (max-width: 620px) { .founder { grid-template-columns: 1fr; } .founder .avatar { width: 92px; height: 92px; font-size: 30px; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px 28px; display: flex; flex-direction: column; position: relative; }
.plan.popular { border-color: var(--teal); box-shadow: 0 18px 44px rgba(16,185,214,0.14); }
.plan .tier { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.plan .pop-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--teal); color: #04212a; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; }
.plan .price { font-size: 40px; font-weight: 800; margin: 14px 0 2px; letter-spacing: -0.02em; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan .sub { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; }
.plan li { font-size: 15px; }
.plan li.inc::before { content: "✓ "; color: var(--teal); font-weight: 800; }
.plan li.exc { color: #9aa3b2; }
.plan li.exc::before { content: "– "; color: #c3c9d4; }
.plan .btn { text-align: center; }

/* ============================================================
   Index card grid. Used by solutions.html, tools.html, and the
   "What We've Built" section on the home page.

   auto-fit, so the same markup goes from 2 entries to 3 or 4
   without touching CSS. Adding a launch is one more .sol-card.
   ============================================================ */
.sol-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px; margin-top: 38px; }
.sol-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 34px 30px; display: flex; flex-direction: column; transition: transform .2s, border-color .2s, box-shadow .2s; }
.sol-card:hover { transform: translateY(-3px); border-color: var(--teal); box-shadow: 0 16px 40px rgba(16,185,214,0.12); }
.sol-card .cat { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin: 0 0 8px; }
.sol-card h3 { margin: 0 0 8px; font-size: 28px; font-weight: 800; letter-spacing: -0.01em; }
.sol-card .tagline { margin: 0 0 16px; font-size: 16.5px; font-weight: 600; color: var(--ink-soft); }
.sol-card p.body { margin: 0 0 22px; color: var(--muted); font-size: 15.5px; flex: 1; }
.sol-card .go { font-weight: 700; font-size: 15.5px; color: var(--brand); }
.sol-card:hover .go { color: var(--teal); }
.sol-card .for { margin: 0 0 20px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.sol-card .for strong { color: var(--ink-soft); font-weight: 700; }
/* Names of what is inside, for the home page's two summary cards. */
.sol-card .contains { margin: 0 0 20px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.sol-card .contains strong { color: var(--ink-soft); font-weight: 700; }

/* ============================================================
   Solution detail pages (kempt.html, minded.html, and any future
   single-solution page). All classes prefixed sd- to avoid
   colliding with the marketing sections above.
   ============================================================ */

/* Hero additions */
.page-hero .sd-hero-cta { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.sd-trust { background: #071019; border-bottom: 1px solid rgba(255,255,255,0.06); color: #8fa3bd; padding: 16px 0; font-size: 14.5px; }
.sd-trust .wrap { display: flex; gap: 10px; align-items: center; justify-content: center; text-align: center; flex-wrap: wrap; }
.sd-trust strong { color: #10b9d6; font-weight: 700; }

/* The problem */
.sd-problem { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 34px; max-width: 900px; margin-inline: auto; }
@media (max-width: 760px) { .sd-problem { grid-template-columns: 1fr; } }
.sd-problem li { list-style: none; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 10px; padding: 16px 18px; font-size: 15.5px; color: var(--ink-soft); }
.sd-problem-list { padding: 0; margin: 0; }

/* Screenshot frame */
.sd-shot { margin: 40px auto 0; max-width: 940px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(11,28,58,0.16); background: #fff; }
.sd-shot img { display: block; width: 100%; height: auto; }
.sd-shot-ph { background: linear-gradient(150deg, #0f1c33 0%, #0a1020 100%); color: #7f8ea6; min-height: 300px; display: flex; align-items: center; justify-content: center; font-size: 14.5px; text-align: center; padding: 30px; }
.sd-caption { text-align: center; color: var(--muted); font-size: 14px; margin: 14px auto 0; max-width: 620px; }

/* Feature rows, alternating */
.sd-feat { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 56px; }
.sd-feat:first-of-type { margin-top: 40px; }
.sd-feat:nth-child(even) .sd-feat-text { order: 2; }
@media (max-width: 860px) { .sd-feat { grid-template-columns: 1fr; gap: 24px; } .sd-feat:nth-child(even) .sd-feat-text { order: 0; } }
.sd-feat-text h3 { font-size: 25px; font-weight: 800; margin: 0 0 12px; letter-spacing: -0.01em; }
.sd-feat-text p { margin: 0 0 14px; color: var(--ink-soft); font-size: 16px; }
.sd-feat-text p:last-child { margin-bottom: 0; }
.sd-feat-text .sd-because { color: var(--muted); font-size: 15px; }
.sd-feat-art { background: linear-gradient(150deg, #0f1c33 0%, #0a1020 100%); border-radius: 14px; min-height: 230px; display: flex; align-items: center; justify-content: center; color: #7f8ea6; font-size: 13.5px; text-align: center; padding: 24px; }

/* Feature cards, used when there is no screenshot to sit beside the text.
   .sd-feat above is the with-artwork version and is kept for pages that
   still use it. */
.sd-feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
@media (max-width: 860px) { .sd-feats { grid-template-columns: 1fr; } }
.sd-feat-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 30px 28px; }
.sd-feat-card h3 { font-size: 21px; font-weight: 800; margin: 0 0 12px; letter-spacing: -0.01em; line-height: 1.25; }
.sd-feat-card p { margin: 0 0 14px; color: var(--ink-soft); font-size: 15.5px; }
.sd-feat-card p:last-child { margin-bottom: 0; }
.sd-feat-card .sd-because { color: var(--muted); font-size: 14.5px; border-top: 1px solid var(--line); padding-top: 14px; }
/* Odd one out spans both columns so the grid never ends on a ragged half-row. */
.sd-feats .sd-feat-card:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Alert artifact */
.sd-alert { max-width: 620px; margin: 36px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 18px 44px rgba(11,28,58,0.14); }
.sd-alert-bar { background: #f2f5f9; border-bottom: 1px solid var(--line); padding: 12px 18px; font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.sd-alert-bar strong { color: var(--ink); font-weight: 700; }
.sd-alert-body { padding: 22px 24px; }
.sd-alert-body h4 { margin: 0 0 12px; font-size: 17px; font-weight: 800; }
.sd-alert-body p { margin: 0 0 10px; font-size: 15px; color: var(--ink-soft); }
.sd-alert-body p:last-child { margin-bottom: 0; }
.sd-alert-body code { background: #f2f5f9; border-radius: 5px; padding: 2px 7px; font-size: 13.5px; color: var(--ink); }

/* Integrations */
.sd-chips { display: flex; flex-wrap: wrap; gap: 11px; justify-content: center; margin-top: 32px; max-width: 820px; margin-inline: auto; }
.sd-chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }

/* Audience: for / not for */
.sd-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 36px; }
@media (max-width: 820px) { .sd-fit { grid-template-columns: 1fr; } }
.sd-fit-col { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px 26px; }
.sd-fit-col.no { background: var(--bg-alt); }
.sd-fit-col h3 { margin: 0 0 16px; font-size: 19px; font-weight: 800; }
.sd-fit-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.sd-fit-col li { font-size: 15px; color: var(--ink-soft); padding-left: 26px; position: relative; }
.sd-fit-col li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.sd-fit-col.no li { color: var(--muted); }
.sd-fit-col.no li::before { content: "✗"; color: #c3c9d4; }

/* Hard rule / trust block */
.sd-rule { background: #0b1220; color: #e7ecf5; padding: 70px 0; }
.sd-rule .label { color: #62b6ff; }
.sd-rule h2 { color: #fff; }
.sd-rule .sd-rule-lede { max-width: 760px; margin: 0 auto 30px; text-align: center; color: #a9b4c9; font-size: 16.5px; }
.sd-rule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .sd-rule-grid { grid-template-columns: 1fr; } }
.sd-rule-item { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); border-radius: 12px; padding: 24px 22px; }
.sd-rule-item h3 { margin: 0 0 9px; font-size: 17px; color: #fff; font-weight: 700; }
.sd-rule-item p { margin: 0; color: #a9b4c9; font-size: 14.5px; }

/* FAQ */
.sd-faq { max-width: 800px; margin: 36px auto 0; }
.sd-faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.sd-faq summary { cursor: pointer; padding: 18px 22px; font-size: 16.5px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.sd-faq summary::-webkit-details-marker { display: none; }
.sd-faq summary::after { content: "+"; color: var(--teal); font-weight: 800; font-size: 21px; line-height: 1; flex-shrink: 0; }
.sd-faq details[open] summary::after { content: "–"; }
.sd-faq summary:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; border-radius: 12px; }
.sd-faq .sd-answer { padding: 0 22px 20px; color: var(--ink-soft); font-size: 15.5px; }
.sd-faq .sd-answer p { margin: 0 0 12px; }
.sd-faq .sd-answer p:last-child { margin: 0; }

/* Closing CTA with two paths */
.sd-close .sd-close-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; margin-top: 8px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h3 { font-size: 20px; margin: 0 0 10px; }
.contact-info p { color: var(--ink-soft); margin: 0 0 16px; }
.contact-info a { color: var(--brand); font-weight: 600; }
form.cform { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
form.cform label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 6px; }
form.cform .field { margin-bottom: 18px; }
form.cform input, form.cform textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 15px; font-family: inherit; color: var(--ink); background: #fbfcfe; }
form.cform input:focus, form.cform textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
form.cform textarea { min-height: 130px; resize: vertical; }
form.cform .btn { width: 100%; }
