:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e5e7eb;
  --border-soft: #eef0f3;
  --text: #0f172a;
  --text-soft: #475569;
  --text-mute: #94a3b8;
  --brand: #0f172a;
  --accent: #0ea5e9;
  --green: #16a34a;
  --radius: 14px;
  --max: 1140px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: -0.01em; font-size: 16px;
}
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0ea5e9 130%);
  display: grid; place-items: center;
  color: #fff; font-size: 13px; font-weight: 800;
  box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, 0 6px 16px -8px rgba(15,23,42,0.5);
}
.nav-links { display: flex; gap: 24px; }
.nav-links a {
  color: var(--text-soft); font-size: 14px; font-weight: 500;
  transition: color .15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: #fff;
  padding: 10px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  transition: transform .15s ease, background .15s ease;
  border: 0; cursor: pointer;
}
.cta:hover { background: #1e293b; }
.cta.outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.cta.outline:hover { background: #f1f5f9; }
@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* Hero */
.hero { padding: 90px 0 70px; }
.hero h1 {
  font-size: clamp(38px, 5.6vw, 60px);
  line-height: 1.05; letter-spacing: -0.025em;
  font-weight: 800; margin: 0 0 22px;
  max-width: 900px;
}
.hero .lead {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--text-soft); max-width: 680px; margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: #ecfdf5; color: #047857;
  font-size: 12px; font-weight: 600;
  border: 1px solid #d1fae5;
  margin-bottom: 24px;
}
.pill .dot {
  width: 7px; height: 7px; border-radius: 999px; background: #10b981;
  box-shadow: 0 0 0 4px rgba(16,185,129,0.18);
}

/* Section primitives */
section { padding: 72px 0; border-top: 1px solid var(--border-soft); }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 14px;
}
h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.1; letter-spacing: -0.02em;
  font-weight: 800; margin: 0 0 18px;
}
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 8px; }
.section-lead {
  color: var(--text-soft); font-size: 17px; max-width: 720px; margin: 0;
}
.section-grid {
  display: grid; gap: 48px;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 860px) {
  .section-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Products grid */
.products {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 36px;
}
.product {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column;
  transition: border-color .15s ease, transform .15s ease;
}
.product:hover { border-color: #cbd5e1; }
.product.featured {
  border-color: #0f172a;
  background: #0f172a; color: #fff;
}
.product.featured h3, .product.featured .price, .product.featured .price-sub { color: #fff; }
.product.featured .feature-list li { color: #cbd5e1; }
.product.featured .feature-list li::before { color: #10b981; }
.product.featured .cta { background: #fff; color: #0f172a; }
.product.featured .cta:hover { background: #f1f5f9; }
.product .tag {
  display: inline-flex; align-self: flex-start;
  background: #eff6ff; color: #1d4ed8;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 14px;
  border: 1px solid #dbeafe;
}
.product.featured .tag {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8; border-color: rgba(14,165,233,0.35);
}
.product .price {
  font-size: 36px; font-weight: 800; letter-spacing: -0.02em;
  margin: 10px 0 2px;
}
.product .price span { font-size: 15px; font-weight: 500; color: var(--text-soft); }
.product .price-sub {
  font-size: 13px; color: var(--text-soft);
  margin-bottom: 18px;
}
.product .desc {
  color: var(--text-soft); font-size: 14.5px; margin: 0 0 18px;
  min-height: 48px;
}
.product.featured .desc { color: #cbd5e1; }
.feature-list {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.feature-list li {
  font-size: 14px; color: var(--text-soft);
  padding-left: 22px; position: relative;
}
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 700;
}
.product .cta { width: 100%; justify-content: center; margin-top: auto; }
@media (max-width: 860px) { .products { grid-template-columns: 1fr; } }

/* Cards (operations / features) */
.cards {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px; margin-top: 36px;
}
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.card .icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: #f1f5f9; color: #0f172a;
  display: grid; place-items: center; margin-bottom: 14px;
}
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--text-soft); font-size: 14.5px; }
@media (max-width: 720px) { .cards { grid-template-columns: 1fr; } }

/* Company info block */
#company { background: var(--bg-alt); }
.info {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.info-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  padding: 22px 24px; border-bottom: 1px solid var(--border-soft);
}
.info-head .title { font-weight: 700; letter-spacing: -0.01em; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #ecfdf5; color: #047857;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  border: 1px solid #d1fae5;
}
.badge .dot { width: 7px; height: 7px; border-radius: 999px; background: #10b981; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.info-row {
  padding: 18px 24px;
  border-top: 1px solid var(--border-soft);
  display: flex; flex-direction: column; gap: 4px;
}
.info-row:nth-child(odd) { border-right: 1px solid var(--border-soft); }
.info-row .k {
  font-size: 12px; font-weight: 600; color: var(--text-mute);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.info-row .v { font-size: 14.5px; color: var(--text); font-weight: 500; }
@media (max-width: 720px) {
  .info-grid { grid-template-columns: 1fr; }
  .info-row:nth-child(odd) { border-right: 0; }
}

/* Contact box */
.contact-box {
  background: #0f172a; color: #fff;
  border-radius: var(--radius);
  padding: 44px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.contact-box h2 { color: #fff; margin: 0 0 8px; }
.contact-box p { color: #cbd5e1; margin: 0; max-width: 520px; }
.contact-box .cta { background: #fff; color: #0f172a; }
.contact-box .cta:hover { background: #f1f5f9; }

/* Long-form page (legal / prose) */
.page {
  padding: 80px 0 60px;
}
.page .wrap { max-width: 780px; }
.page h1 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1; letter-spacing: -0.02em;
  font-weight: 800; margin: 0 0 12px;
}
.page .updated {
  color: var(--text-mute); font-size: 13px; margin: 0 0 40px;
}
.page h2 {
  font-size: 22px; margin: 36px 0 12px;
  letter-spacing: -0.01em;
}
.page h3 { font-size: 17px; margin: 24px 0 8px; }
.page p, .page li { color: var(--text-soft); font-size: 15.5px; line-height: 1.7; }
.page ul { padding-left: 20px; }
.page strong { color: var(--text); }
.callout {
  background: #fff7ed; border: 1px solid #fed7aa;
  color: #9a3412; border-radius: 12px;
  padding: 16px 20px; margin: 24px 0;
  font-size: 14.5px; line-height: 1.6;
}

/* FAQ */
.faq { margin-top: 28px; }
.faq details {
  border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 22px; background: #fff; margin-bottom: 10px;
}
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 15.5px;
  letter-spacing: -0.005em; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 22px; font-weight: 400; color: var(--text-mute);
  transition: transform .15s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin: 14px 0 0; color: var(--text-soft); font-size: 14.5px; line-height: 1.7;
}

/* Footer */
footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--border-soft);
  color: var(--text-soft); font-size: 13px;
  background: var(--bg-alt);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px; margin-bottom: 32px;
}
.footer-grid h4 {
  font-size: 12px; font-weight: 700; color: var(--text-mute);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin: 0 0 14px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: var(--text-soft); font-size: 13.5px; }
.footer-grid a:hover { color: var(--text); }
.footer-grid .about { max-width: 320px; }
.footer-grid .about .brand { margin-bottom: 10px; }
.footer-grid .about p { margin: 0; font-size: 13px; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 20px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  color: var(--text-mute); font-size: 12.5px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
