/* Agentic Digital LLC — site stylesheet
   Matches dark logo palette: navy/black background, blue + teal accents */

:root {
  --bg: #0a0e1a;
  --bg-elev: #182135;
  --border: #2a3447;
  --text: #f5f7fa;
  --muted: #cdd5df;
  --blue: #60a5fa;
  --blue-hover: #93c5fd;
  --teal: #2dd4bf;
  --max-width: 1100px;
  --radius: 10px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
.brand img, .brand svg { height: 65px; width: auto; display: block; }
.brand-name {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.2px;
}
.brand-name .accent { color: var(--blue); }
.brand-name .tm {
  font-size: 11px;
  vertical-align: super;
  color: var(--muted);
  margin-left: 2px;
}

nav.primary ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}
nav.primary a {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}
nav.primary a:hover { color: var(--blue); text-decoration: none; }
nav.primary a.active { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.05s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-hover); text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  color: var(--teal);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -0.5px;
}
.hero h1 .accent { color: var(--blue); }
.hero p.lead {
  color: #e5e7eb;
  font-size: 19px;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 32px;
}
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section.block { padding: 72px 0; border-bottom: 1px solid var(--border); }
section.block:last-of-type { border-bottom: none; }
section.block h2 {
  font-size: 32px;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}
section.block .section-sub {
  color: #e5e7eb;
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 36px;
  max-width: 720px;
}

/* ---------- Card grid ---------- */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--text);
}
.card p {
  margin: 0;
  color: #e5e7eb;
  font-size: 15px;
  line-height: 1.6;
}
.card .icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-weight: 700;
}

/* ---------- Page header (interior pages) ---------- */
.page-header {
  padding: 64px 0 32px;
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  font-size: 40px;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}
.page-header p {
  color: #e5e7eb;
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  max-width: 720px;
}

/* ---------- Prose (legal pages, About) ---------- */
.prose { padding: 48px 0 72px; max-width: 760px; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; }
.prose h3 { font-size: 17px; margin: 24px 0 8px; }
.prose p, .prose li { color: #ebeef3; line-height: 1.65; }
.prose ul { padding-left: 22px; }
.prose strong { color: var(--text); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
.contact-info p { margin: 0 0 8px; color: var(--muted); }
.contact-info .label {
  display: block;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--teal);
  margin-top: 18px;
  margin-bottom: 4px;
}
.contact-info .value { color: var(--text); font-size: 17px; }

form.contact-form { display: flex; flex-direction: column; gap: 14px; }
form.contact-form label {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
form.contact-form input,
form.contact-form textarea {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 15px;
  width: 100%;
}
form.contact-form input:focus,
form.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
}
form.contact-form textarea { min-height: 140px; resize: vertical; }
form.contact-form .form-note {
  font-size: 13px;
  color: #cdd5df;
  margin-top: 4px;
  line-height: 1.5;
}
form.contact-form .hp-field {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: #07090f;
  padding: 40px 0 28px;
  margin-top: 0;
  font-size: 14px;
  color: var(--muted);
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.site-footer h4 {
  color: var(--text);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 12px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); text-decoration: none; }
.site-footer .legal {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 36px; }
  .hero p.lead { font-size: 17px; }
  section.block { padding: 56px 0; }
  section.block h2 { font-size: 26px; }
  .page-header h1 { font-size: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  nav.primary ul { gap: 14px; }
  nav.primary a { font-size: 14px; }
  .brand-name { font-size: 16px; }
}
@media (max-width: 480px) {
  nav.primary { display: none; }
  .site-header .container { justify-content: center; }
}
