/* Weavr, Inc. corporate site - one stylesheet, no build step.
   Brand: the Weavr product's own tokens (light blue #6BBFEA on a dark
   #0b0b14 field) carried onto a formal, mostly light marketing site. */

:root {
  --blue: #6BBFEA;
  --blue-dark: #2E86C1;
  --blue-deep: #1b5e86;
  --blue-soft: #e8f5fc;
  --ink: #0b0b14;
  --ink-2: #14141f;
  --ink-3: #1e1e2e;
  --text: #15192b;
  --text-2: #4b5168;
  --text-3: #7a809a;
  --line: #e3e6ef;
  --line-strong: #c9cedd;
  --bg: #ffffff;
  --bg-2: #f6f8fc;
  --bg-3: #eef2f8;
  --good: #1f9d55;
  --warn: #c7811a;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(11, 11, 20, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.2; letter-spacing: -0.015em; color: var(--text); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 760; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-2); max-width: 56ch; }
.muted { color: var(--text-3); }
.small { font-size: 0.9rem; }
.wrap { width: min(var(--max), 100% - 32px); margin: 0 auto; }
.eyebrow {
  display: inline-block; margin-bottom: 10px; color: var(--blue-dark);
  font-size: 0.78rem; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase;
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand small { font-weight: 600; color: var(--text-3); font-size: 0.78rem; margin-left: 2px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 10px; border-radius: 8px; color: var(--text-2); font-weight: 600; font-size: 0.92rem; white-space: nowrap; }
.nav a:hover { background: var(--bg-3); color: var(--text); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--blue-deep); background: var(--blue-soft); }
.cta-row { display: flex; align-items: center; gap: 8px; }
.nav .cta-row { margin-left: 10px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--text); border-radius: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: #fff; color: var(--text); font: inherit; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; white-space: nowrap; transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(11, 11, 20, 0.1); }
.btn-primary { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-lg { min-height: 50px; padding: 12px 22px; font-size: 1.02rem; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1100px 500px at 15% -10%, rgba(107, 191, 234, 0.28), transparent 60%),
              radial-gradient(900px 400px at 95% 10%, rgba(46, 134, 193, 0.22), transparent 60%), var(--ink);
  color: #fff; padding: 72px 0 64px;
}
.hero h1, .hero h2 { color: #fff; }
.hero .lede { color: rgba(255, 255, 255, 0.78); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; }
.hero .eyebrow { color: var(--blue); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.hero-note { color: rgba(255, 255, 255, 0.6); font-size: 0.88rem; max-width: 60ch; }
.hero-panel {
  background: rgba(20, 20, 31, 0.85); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius); padding: 18px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  font-family: var(--mono); font-size: 0.82rem; line-height: 1.55; color: #cfd6e6;
}
.hero-panel .k { color: var(--blue); }
.hero-panel .c { color: #7a809a; }
.hero-panel .ok { color: #2ed573; }
.hero-panel .row { display: flex; gap: 10px; padding: 4px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.08); }
.hero-panel .row:last-child { border-bottom: 0; }
.hero-panel .t { min-width: 54px; color: #7a809a; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255, 255, 255, 0.78); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  box-shadow: 0 1px 0 rgba(11, 11, 20, 0.02);
}
.card h3 { margin-top: 10px; }
.card p { color: var(--text-2); margin-bottom: 0; }
.card .ic {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px;
  background: var(--blue-soft); color: var(--blue-deep); font-weight: 800;
}
.section-dark .card { background: var(--ink-2); border-color: rgba(255, 255, 255, 0.1); }
.section-dark .card p { color: rgba(255, 255, 255, 0.72); }
.section-dark .card .ic { background: rgba(107, 191, 234, 0.14); color: var(--blue); }
.list { padding-left: 1.2em; margin: 0 0 1em; }
.list li { margin: 6px 0; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 28px; margin: 10px 0; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--good); font-weight: 800; }
.crosses li::before { content: "✕"; color: #c0392b; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.steps { counter-reset: step; display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; }
.step h3 { margin: 4px 0 4px; }
.step p { color: var(--text-2); margin: 0; }
.stat { padding: 18px; border-left: 4px solid var(--blue); background: var(--bg-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.stat strong { display: block; font-size: 1.6rem; color: var(--blue-deep); letter-spacing: -0.02em; }
.quote { font-size: 1.15rem; color: var(--text); border-left: 4px solid var(--blue); padding: 6px 0 6px 20px; margin: 0; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--bg-3); color: var(--text-2); font-size: 0.78rem; font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cta {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-dark)); color: #fff;
  border-radius: var(--radius); padding: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.cta h2 { color: #fff; margin: 0 0 6px; }
.cta p { color: rgba(255, 255, 255, 0.85); margin: 0; }
.cta .btn { background: #fff; color: var(--blue-deep); border-color: #fff; }

/* ---------- tables ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.cmp { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
table.cmp th, table.cmp td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
table.cmp thead th { background: var(--bg-2); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-2); }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp td.w { background: var(--blue-soft); font-weight: 650; }
table.cmp td .sub { display: block; color: var(--text-3); font-weight: 500; font-size: 0.85rem; }
.cmp-legend { color: var(--text-3); font-size: 0.85rem; margin-top: 10px; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.plan.is-featured { border-color: var(--blue-dark); box-shadow: 0 16px 40px rgba(46, 134, 193, 0.16); }
.plan h3 { font-size: 1.05rem; margin: 0; }
.plan .price { margin: 10px 0 2px; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.plan .price small { font-size: 0.95rem; font-weight: 600; color: var(--text-3); }
.plan .usage { color: var(--blue-deep); font-weight: 650; font-size: 0.92rem; margin-bottom: 12px; }
.plan ul { padding: 0; margin: 0 0 18px; list-style: none; flex: 1; }
.plan li { position: relative; padding-left: 22px; margin: 7px 0; font-size: 0.92rem; color: var(--text-2); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--good); font-weight: 800; }
.plan .btn { width: 100%; }
.plans-note { margin-top: 14px; color: var(--text-3); font-size: 0.88rem; }

/* ---------- integrations ---------- */
.logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.logo-tile { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-weight: 700; color: var(--text-2); text-align: center; font-size: 0.92rem; }
.logo-tile small { display: block; font-weight: 500; color: var(--text-3); font-size: 0.75rem; }

/* ---------- prose pages ---------- */
.prose { max-width: 76ch; }
.prose h2 { margin-top: 2em; font-size: 1.4rem; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); }
dl.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 22px; margin: 0; }
dl.facts dt { font-weight: 700; color: var(--text); }
dl.facts dd { margin: 0; color: var(--text-2); }
.notice { padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg-2); color: var(--text-2); font-size: 0.92rem; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: rgba(255, 255, 255, 0.72); padding: 48px 0 28px; margin-top: 48px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.foot a { color: rgba(255, 255, 255, 0.78); display: block; margin: 7px 0; }
.foot a:hover { color: #fff; }
.foot .brand { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }
.foot-bottom a { display: inline; margin: 0 12px 0 0; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1060px) {
  .nav, .top .cta-row { display: none; }
  .menu-btn { display: block; }
  .top.is-open .nav { display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: 68px; padding: 10px 16px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .top.is-open .nav a { padding: 12px; }
  .top.is-open .cta-row { display: flex; flex-direction: column; margin-top: 8px; }
  .top.is-open .cta-row .btn { width: 100%; }
  .hero { padding: 48px 0 44px; }
  .hero-grid, .two, .grid-3, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 52px 0; }
  table.cmp { font-size: 0.88rem; }
  table.cmp th, table.cmp td { padding: 10px 12px; }
}
@media (max-width: 640px) {
  .grid-4, .plans, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { padding: 28px 22px; }
  .hero-panel { font-size: 0.76rem; }
  /* Comparison tables read as stacked rows on a phone - never a side-scroll */
  table.cmp thead { display: none; }
  table.cmp, table.cmp tbody, table.cmp tr, table.cmp td { display: block; width: 100%; }
  table.cmp tr { border-bottom: 2px solid var(--line-strong); padding: 6px 0; }
  table.cmp td { border-bottom: 1px dashed var(--line); padding: 8px 12px; }
  table.cmp td::before { content: attr(data-label); display: block; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 2px; }
  table.cmp td.w::before { color: var(--blue-deep); }
  dl.facts { grid-template-columns: minmax(0, 1fr); }
  .btn { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
