:root{
  /* Brand */
  --brand-red: #b91c1c;     /* Red Bud */
  --brand-purple: #a78bfa;  /* Light purple leaves */
  --brand-purple-2:#c4b5fd;
  --brand-green: #22c55e;   /* subtle accent */
  --ink: #0f172a;           /* slate-900 */
  --ink-2: #334155;         /* slate-700 */
  --muted: #64748b;         /* slate-500 */
  --border: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f8fafc;

  --max: 1120px;
  --radius: 18px;
  --radius-sm: 14px;
  --shadow: 0 18px 45px rgba(2,6,23,.10);
  --shadow-sm: 0 10px 25px rgba(2,6,23,.08);

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  background: var(--bg);
  line-height:1.55;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }
img{ max-width:100%; display:block; }

.container{ width:min(var(--max), calc(100% - 48px)); margin:0 auto; }

.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px; width:auto; height:auto; padding:10px 12px;
  background:#fff; border:1px solid var(--border); border-radius:12px;
  z-index:9999;
}

/* Header / Nav (white) */
.header{
  position:sticky; top:0; z-index:50;
  background:#fff;
  border-bottom:1px solid var(--border);
  box-shadow: 0 1px 2px rgba(2,6,23,.04);
  overflow: visible;
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:4px 0;
  min-height:48px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:800;
  letter-spacing:-.2px;
}
.brand .meta{
  display:flex; flex-direction:column; line-height:1.1;
}
.brand .name{ font-size:15px; }
.brand .tag{ font-size:12px; color:var(--muted); margin-top:2px; font-weight:650; }

.logo{
  width:38px; height:38px;
  border-radius:14px;
  background: #fff;
  border:1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display:grid; place-items:center;
}
.logo svg{ width:26px; height:26px; }

.navlinks{ display:flex; gap:10px; align-items:center; }
.navlinks a{
  color: var(--ink-2);
  padding:9px 12px;
  border-radius:999px;
  font-weight:650;
  font-size:14px;
}
.navlinks a:hover{ background: var(--bg-soft); text-decoration:none; }
.navlinks a[aria-current="page"]{
  background: rgba(167,139,250,.16);
  color: var(--ink);
  text-decoration:none;
}

.menu-btn{
  display:none;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: #fff;
  color:var(--ink);
  font-weight:700;
}

.mobile{ display:none; padding:0 0 12px; }
.mobile a{
  display:block;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid transparent;
  color:var(--ink-2);
  font-weight:650;
}
.mobile a:hover{
  border-color: var(--border);
  background: var(--bg-soft);
  text-decoration:none;
}
.mobile a[aria-current="page"]{
  background: rgba(167,139,250,.16);
  border-color: rgba(167,139,250,.25);
  color: var(--ink);
  text-decoration:none;
}
.mobile.open{ display:block; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:11px 14px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  color: var(--ink);
  text-decoration:none;
  font-weight:800;
  box-shadow: 0 1px 0 rgba(2,6,23,.03);
}
.btn:hover{ text-decoration:none; background: var(--bg-soft); }
.btn.primary{
  border-color: rgba(185,28,28,.25);
  background: linear-gradient(135deg, rgba(185,28,28,.12), rgba(167,139,250,.14));
}
.btn.primary:hover{
  border-color: rgba(185,28,28,.35);
}
.btn.ghost{
  background: transparent;
  border-color: var(--border);
}
.btn.small{ padding:9px 12px; font-weight:750; }

/* Hero */
.hero{
  padding:56px 0 22px;
  background:
    radial-gradient(900px 420px at 20% 10%, rgba(167,139,250,.16), transparent 60%),
    radial-gradient(900px 420px at 85% 25%, rgba(185,28,28,.10), transparent 58%),
    linear-gradient(to bottom, #fff, var(--bg-soft));
  border-bottom: 1px solid var(--border);
}
.hero-grid{
  display:grid; gap:22px;
  grid-template-columns: 1.2fr .8fr;
  align-items:stretch;
}
.kicker{
  display:inline-flex; gap:8px; align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(167,139,250,.14);
  border:1px solid rgba(167,139,250,.20);
  color: var(--ink-2);
  font-size:13px;
  font-weight:750;
}
.dot{
  width:8px; height:8px; border-radius:99px;
  background: var(--brand-purple);
  box-shadow: 0 0 0 4px rgba(167,139,250,.18);
}

h1{
  margin:14px 0 10px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height:1.04;
  letter-spacing:-.9px;
}
.lead{
  margin:0;
  font-size: 17px;
  color: var(--muted);
  max-width: 65ch;
}
.cta-row{ display:flex; gap:12px; margin-top:18px; flex-wrap:wrap; }

/* Cards / Sections */
.section{ padding:40px 0; }
.section h2{
  margin:0 0 14px;
  font-size:24px;
  letter-spacing:-.4px;
}
.section .subhead{
  margin:0 0 18px;
  color: var(--muted);
  max-width: 75ch;
}

.card{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card.pad{ padding:18px; }

.grid3{ display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; }
.grid2{ display:grid; grid-template-columns: 1fr 1fr; gap:14px; }

.feature{
  padding:16px;
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.feature .icon{
  width:44px; height:44px;
  border-radius:16px;
  background: rgba(167,139,250,.14);
  border:1px solid rgba(167,139,250,.22);
  display:grid; place-items:center;
  margin-bottom:10px;
}
.feature h3{ margin:0 0 6px; font-size:16px; }
.feature p{ margin:0; color: var(--muted); }

.item{
  padding:16px;
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.item h3{ margin:0 0 6px; }
.item p{ margin:0; color:var(--muted); }
.item ul{ margin:10px 0 0; padding-left:18px; color:var(--muted); }
.item li{ margin:6px 0; }

.badge-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
.badge{
  display:inline-flex;
  font-size:12px;
  color: var(--ink-2);
  border:1px solid var(--border);
  background: var(--bg-soft);
  padding:7px 10px;
  border-radius:999px;
  font-weight:750;
}
.badge.purple{
  border-color: rgba(167,139,250,.24);
  background: rgba(167,139,250,.12);
}

hr.sep{
  border:none;
  border-top:1px solid var(--border);
  margin:20px 0;
}

/* Product spotlight */
.spotlight{
  border:1px solid rgba(167,139,250,.25);
  background: linear-gradient(135deg, rgba(167,139,250,.14), rgba(185,28,28,.08));
}
.product-title{
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
}
.product-title h3{ margin:0; }
.product-title .pill{
  font-size:12px;
  font-weight:800;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(185,28,28,.25);
  background: rgba(185,28,28,.10);
}

/* Forms */
.form{ display:grid; gap:12px; }
label{ font-weight:800; font-size:13px; color:var(--ink-2); }
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: #fff;
  color: var(--ink);
  outline:none;
}
textarea{ min-height:140px; resize:vertical; }
input:focus, textarea:focus{
  border-color: rgba(167,139,250,.55);
  box-shadow: 0 0 0 4px rgba(167,139,250,.16);
}
.helper{ font-size:13px; color:var(--muted); }

/* Footer */
.footer{
  padding:26px 0 40px;
  border-top:1px solid var(--border);
  background:#fff;
  color: var(--muted);
}
.footer-grid{
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap;
}
.footer a{ color:var(--muted); font-weight:650; }
.footer a:hover{ color:var(--ink); text-decoration:none; }
.small{ font-size:13px; color:var(--muted); }

/* Page head */
.pagehead{ padding:44px 0 10px; background: linear-gradient(to bottom, #fff, var(--bg-soft)); border-bottom:1px solid var(--border); }
.pagehead h1{ margin:10px 0 8px; font-size: clamp(28px, 3.6vw, 44px); }
.pagehead p{ margin:0; color:var(--muted); max-width:72ch; }

/* Responsive */
@media (max-width: 920px){
  .hero-grid{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
}
@media (max-width: 760px){
  .navlinks{ display:none; }
  .menu-btn{ display:inline-flex; }
}

.brand img {
  width:144px;
  height:144px;
  object-fit:contain;
  border-radius:10px;
}

/* Keep header compact while allowing a larger logo to visually overlap */
.brand img {
  display:block;
  margin-top: -8px; /* reduced lift so the logo sits lower in the header */
}

.brand-text {
  line-height: 1.05;
  color: var(--ink);
}

.brand-text .redbud {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand-red);
  letter-spacing: -0.4px;
}

.brand-text .tech {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-top:2px;
}

/* Hero override to support white text */
.about-hero {
  background:
    radial-gradient(900px 420px at 20% 10%, rgba(167,139,250,.22), transparent 60%),
    radial-gradient(900px 420px at 85% 25%, rgba(185,28,28,.18), transparent 58%),
    linear-gradient(to bottom, #0f172a, #020617);
  color: #ffffff;
}

.about-hero p {
  color: rgba(255,255,255,.8);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-lockup img {
  width: 56px;
  height: auto;
}

.brand-text {
  line-height: 1.05;
}

.brand-text .redbud {
  font-size: 28px;
  font-weight: 800;
  color: #b91c1c; /* Red Bud red */
  letter-spacing: -0.6px;
}

@media (max-width: 760px) {
  .nav{ padding:10px 0; min-height: auto; }
  .brand img{ width:72px; height:72px; margin-top:0; }
}