/* ai.lilysys.com — plain static stylesheet
   Family DNA: Inter Tight / Inter, slate text, neutral backgrounds.
   Own identity: indigo/violet accent (bioinformatics owns green). */

:root {
  /* Brand */
  --accent: #7C5CE0;
  --accent-ink: #5b3fc4;
  --accent-soft: #efeaff;
  --accent-glow: rgba(124, 92, 224, 0.18);

  /* Ink / neutrals (shared with family) */
  --ink: #1b2230;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e7ecf0;

  /* Surfaces */
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --bg-tint: #faf9ff;

  /* Type */
  --font-head: 'Inter Tight', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Layout */
  --maxw: 1120px;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 32px rgba(16, 24, 40, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 84px 0; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 14px;
}
.lede { font-size: 1.18rem; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px var(--accent-glow); }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); }

/* Cards */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.16s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d8d3f5; }

.pill {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.grid { display: grid; gap: 22px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.bg-alt { background: var(--bg-alt); }
.bg-tint { background: var(--bg-tint); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.narrow { max-width: 640px; }
.narrow-md { max-width: 780px; }
.products-grid, .steps-grid, .why-grid { margin-top: 48px; }
.muted-note { margin-top: 28px; color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--accent); display: inline-flex; align-items: center; }
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 1.15rem; }
.brand-name .b-quick { color: var(--ink); }
.brand-name .b-ai { color: var(--accent); }
.brand-by { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.66rem; color: var(--muted); letter-spacing: .02em; margin-top: 2px; }
.brand-sub { color: var(--accent-ink); }
/* larger, roomier brand in the header (footer keeps the compact defaults above) */
.bar .brand { gap: 11px; }
.bar .brand-mark svg { width: 30px; height: 30px; }
.bar .brand-name { font-size: 1.5rem; }
.bar .brand-by { font-size: 0.72rem; margin-top: 5px; }
.nav { display: none; gap: 26px; }
.nav a { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); }
.nav a:hover { color: var(--accent-ink); text-decoration: none; }
.actions { display: flex; align-items: center; gap: 16px; }
.family-link { display: none; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--muted); }
@media (min-width: 860px) {
  .nav { display: flex; }
  .family-link { display: inline; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(900px 420px at 75% -10%, var(--accent-glow), transparent 60%),
    linear-gradient(180deg, var(--bg-tint), #fff 70%);
}
.hero h1 { margin-top: 18px; }
.grad {
  background: linear-gradient(92deg, var(--accent), #a78bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede { margin-top: 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.trust { margin-top: 46px; }
.trust > span { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.logos { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 14px; }
.logo { font-family: var(--font-head); font-weight: 700; color: var(--ink-soft); opacity: 0.75; }

/* ---------- Products ---------- */
.products-grid { margin-top: 18px; margin-bottom: 8px; }

/* "Start here" banner */
.start-here {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 40px 0 8px;
  padding: 26px 30px;
  border-radius: var(--radius);
  border: 1px solid #d8d3f5;
  background: linear-gradient(120deg, var(--accent-soft), var(--bg-tint));
  transition: transform 0.16s ease, box-shadow 0.2s ease;
}
.start-here:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.sh-main h3 { margin: 12px 0 6px; }
.sh-main p { margin: 0; color: var(--ink-soft); max-width: 62ch; }
.sh-cta {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent-ink);
  white-space: nowrap;
}
@media (max-width: 720px) {
  .start-here { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* Category label */
.cat-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 40px 0 4px;
}

/* Compact product card */
.pcard { display: flex; flex-direction: column; }
.pcard.is-featured { border-color: var(--accent); box-shadow: 0 12px 36px var(--accent-glow); }
.pcard h3 { margin: 14px 0 8px; font-size: 1.15rem; }
.p-pitch { color: var(--muted); font-size: 0.96rem; margin-bottom: 18px; }
.pcard-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.pcard-foot .meta { font-family: var(--font-head); font-weight: 600; font-size: 0.84rem; color: var(--ink-soft); }
.p-cta { font-family: var(--font-head); font-weight: 700; white-space: nowrap; }

/* ---------- Steps ---------- */
.step-n { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--accent); display: block; margin-bottom: 8px; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 36px; }
.faq { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0;
  font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--accent-ink); font-weight: 700; }
.faq[open] summary::after { content: '–'; }
.faq p { color: var(--muted); margin: 0 0 16px; }

/* ---------- CTA band + lead form ---------- */
.cta-band {
  display: grid; gap: 36px; align-items: center;
  grid-template-columns: 1fr;
  background: linear-gradient(120deg, var(--accent-ink), var(--accent) 70%, #9a7cf0);
  border-radius: 22px;
  padding: 46px;
}
@media (min-width: 860px) { .cta-band { grid-template-columns: 1.05fr 0.95fr; } }
.cta-h { color: #fff; }
.cta-p { color: rgba(255, 255, 255, 0.88); max-width: 48ch; }
.cta-mail-line { color: rgba(255, 255, 255, 0.88); margin: 0; }
.cta-mail-line a { color: #fff; font-weight: 600; text-decoration: underline; }

.lead-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 18px 50px rgba(16, 24, 40, 0.18);
}
.lead-form label { display: flex; flex-direction: column; gap: 6px; }
.lead-form label span {
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--ink);
}
.lead-form label em { color: var(--muted); font-style: normal; font-weight: 400; }
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-alt);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: #fff;
}
.lead-form textarea { resize: vertical; }
.lead-submit { justify-content: center; margin-top: 4px; }
.lead-fineprint { margin: 0; text-align: center; font-size: 0.82rem; color: var(--muted); }
.lead-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-status { margin: 4px 0 0; text-align: center; font-size: 0.9rem; color: var(--muted); min-height: 1.2em; }
.lead-status.error { color: #b91c1c; font-weight: 500; }
.lead-status.success { color: var(--accent-ink); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: 0.95rem; }
.f-top { display: grid; gap: 36px; grid-template-columns: 1fr; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .f-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.brand-col p { margin-top: 12px; color: var(--muted); max-width: 36ch; }
.site-footer .mark { color: var(--accent); }
.site-footer .sub { color: var(--accent-ink); }
.f-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.f-col ul { list-style: none; margin: 0; padding: 0; }
.f-col li { margin-bottom: 12px; }
.family li { display: flex; flex-direction: column; }
.family a { font-family: var(--font-head); font-weight: 600; color: var(--ink-soft); }
.family a[aria-current='page'] { color: var(--accent-ink); }
.note { font-size: 0.82rem; color: var(--muted); }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; color: var(--muted); font-size: 0.86rem; }

/* ---------- Mobile polish ---------- */
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  section { padding: 56px 0; }
  .hero { padding: 56px 0 44px; }
  /* the big 46px padding cramped the form on small screens */
  .cta-band { padding: 24px; border-radius: 16px; gap: 24px; }
  .lead-form { padding: 20px; }
  /* 16px inputs stop iOS Safari from zooming in on focus */
  .lead-form input, .lead-form select, .lead-form textarea { font-size: 16px; }
  .card { padding: 22px; }
  /* keep the larger brand readable but sitting neatly next to the button */
  .bar { height: 60px; }
  .bar .brand-name { font-size: 1.3rem; }
  .bar .brand-mark svg { width: 26px; height: 26px; }
}
