/* Eric Scott AI LLC — parent company site
   Dark professional. System font stack only (no Google Fonts). */

:root {
  --bg: #0b0c0e;
  --bg-2: #12141a;
  --surface: #171a21;
  --surface-2: #1e222b;
  --ink: #eceae4;
  --ink-soft: #c8c4ba;
  --muted: #8f918a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #8fb4d4;
  --accent-dim: rgba(143, 180, 212, 0.14);
  --fade: #b7f34a;
  --exe: #c9a08a;
  --radius: 14px;
  --max: 70rem;
  --measure: 40rem;
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --header-h: 4rem;
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.1em 0.35em;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--bg);
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip:focus {
  left: var(--gutter);
  top: 0.5rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 12, 14, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 0.95rem;
}
.wordmark:hover {
  color: var(--ink);
}
.wordmark-mark {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
}
.wordmark-llc {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}
.nav a {
  color: inherit;
  text-decoration: none;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}
.nav-cta {
  background: var(--accent);
  color: var(--bg) !important;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  text-decoration: none !important;
}
.nav-cta:hover {
  filter: brightness(1.08);
  color: var(--bg) !important;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem var(--gutter) 1rem;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }
}

/* Hero / page heads */
.hero,
.page-head {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
}

.eyebrow,
.kicker {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.display {
  margin: 0;
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.display-xl {
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  max-width: 14ch;
}
.display-l {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  max-width: 16ch;
}
.display-m {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  max-width: 22ch;
}

.lede {
  margin: 1.1rem 0 0;
  color: var(--ink-soft);
  font-size: 1.125rem;
  line-height: 1.55;
  max-width: 42rem;
}

.lede-wide {
  max-width: 46rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: filter 0.15s var(--ease), background 0.15s var(--ease);
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  filter: brightness(1.08);
  color: var(--bg);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: var(--surface);
  color: var(--ink);
}

/* Sections */
.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.section-tight {
  padding: 1.5rem 0 2.5rem;
}

.split {
  display: grid;
  gap: 2rem;
}
.split-hero {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}
.split-2 {
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.split-aside {
  grid-template-columns: minmax(10rem, 14rem) 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}

@media (max-width: 820px) {
  .split-hero,
  .split-2,
  .split-aside {
    grid-template-columns: 1fr;
  }
}

.hero-aside,
.card,
.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.hero-aside dl {
  margin: 0;
}
.hero-aside dt {
  margin: 0 0 0.25rem;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-aside dd {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.hero-aside dd:last-child {
  margin-bottom: 0;
}

.stack > * + * {
  margin-top: 1rem;
}

.stack p,
.prose p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  max-width: var(--measure);
}
.stack p:last-child,
.prose p:last-child {
  margin-bottom: 0;
}

.prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--ink-soft);
  max-width: var(--measure);
}
.prose li + li {
  margin-top: 0.4rem;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0 auto;
}

/* Brand cards */
.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 720px) {
  .brand-grid {
    grid-template-columns: 1fr;
  }
}

.brand-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
}
.brand-card h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}
.brand-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  flex: 1;
}
.brand-tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
}
.brand-tag.exe {
  color: var(--exe);
  border-color: rgba(201, 160, 138, 0.35);
  background: rgba(201, 160, 138, 0.08);
}
.brand-tag.fade {
  color: var(--fade);
  border-color: rgba(183, 243, 74, 0.3);
  background: rgba(183, 243, 74, 0.07);
}
.brand-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.brand-links a {
  text-decoration: none;
}
.brand-links a:hover {
  text-decoration: underline;
}

/* Feature / fact grid */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 720px) {
  .fact-grid {
    grid-template-columns: 1fr;
  }
}
.fact {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
}
.fact strong {
  display: block;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}
.fact span {
  color: var(--muted);
  font-size: 0.92rem;
}

.note-banner {
  background: var(--accent-dim);
  border: 1px solid rgba(143, 180, 212, 0.28);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.note-banner strong {
  color: var(--ink);
}

.interest {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 1.25rem 0 1.5rem;
  max-width: 44rem;
}
.interest-label {
  margin: 0 0 0.4rem;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.interest p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.page {
  width: min(48rem, calc(100% - 2 * var(--gutter)));
  margin: 2rem auto 4rem;
}
.page h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.page h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}
.page > p,
.page li {
  color: var(--ink-soft);
}
.page > p {
  margin: 0 0 1rem;
}

/* Contact */
.contact-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.contact-list .label {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.contact-list a,
.contact-list span.value {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.contact-list a:hover {
  color: var(--accent);
}

.address-block {
  margin-top: 0.15rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.45;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 2.25rem 0 2.5rem;
  background: var(--bg-2);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.footer-nav a {
  color: inherit;
  text-decoration: none;
}
.footer-nav a:hover {
  color: var(--ink);
}
.footer-bottom {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-bottom p {
  margin: 0;
}
.footer-legal {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.8rem;
}
.footer-legal a {
  color: var(--muted);
  text-decoration: none;
}
.footer-legal a:hover {
  color: var(--ink);
}

body {
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
