/* -----------------------------------------------------------
   Acuity AI — landing page
   Palette: warm cream + deep navy. Restrained, Apple-leaning.
   ----------------------------------------------------------- */

:root {
  --cream: #faf7f1;
  --cream-dim: #f1ece1;
  --navy: #0e2a47;
  --navy-dark: #081b30;
  --navy-soft: #1a3a5c;
  --ink: #0a1f33;
  --muted: #5a6a7d;
  --border: #e5dfd2;
  --border-strong: #cfc7b4;

  --max: 1080px;
  --pad: clamp(1.25rem, 4vw, 2rem);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;

  --radius: 10px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(10, 31, 51, 0.05);
  --shadow-md: 0 8px 28px rgba(10, 31, 51, 0.08);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--navy);
  text-decoration: none;
  transition: color 160ms var(--ease);
}

a:hover {
  color: var(--navy-soft);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--navy);
  color: var(--cream);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  z-index: 1000;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ----------------------------- Nav ----------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, 0.72);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease),
    background-color 200ms var(--ease);
}

.nav.is-scrolled {
  background: rgba(250, 247, 241, 0.92);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.005em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.brand-word {
  font-size: 17px;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  color: var(--ink);
  opacity: 0.78;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--navy);
}

.nav-cta {
  font-size: 14px;
  padding: 9px 16px;
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
  }
  .nav-inner {
    padding: 12px var(--pad);
  }
}

/* ----------------------------- Buttons ----------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms var(--ease), background 160ms var(--ease),
    color 160ms var(--ease), border-color 160ms var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--navy-dark);
  color: var(--cream);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--cream-dim);
  color: var(--navy);
}

.btn-lg {
  font-size: 17px;
  padding: 18px 30px;
}

/* ----------------------------- Hero ----------------------------- */

.hero {
  padding: clamp(72px, 14vh, 140px) 0 clamp(72px, 12vh, 120px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    900px 480px at 75% -10%,
    rgba(14, 42, 71, 0.06),
    transparent 60%
  );
  pointer-events: none;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-soft);
  margin: 0 0 24px;
}

.display {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 6.4vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 28px;
  max-width: 18ch;
}

.lede {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 58ch;
  margin: 0 0 36px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ----------------------------- Sections ----------------------------- */

.section {
  padding: clamp(72px, 12vh, 128px) 0;
  position: relative;
}

.section + .section {
  border-top: 1px solid var(--border);
}

.section-dark {
  background: var(--navy);
  color: var(--cream);
  border-top-color: transparent !important;
}

.section-dark .section-tag {
  color: rgba(250, 247, 241, 0.65);
}
.section-dark .section-title {
  color: var(--cream);
}
.section-dark .section-sub {
  color: rgba(250, 247, 241, 0.78);
}

.section-head {
  max-width: 64ch;
  margin: 0 0 56px;
}
.section-head-center {
  margin: 0 auto 40px;
  text-align: center;
}

.section-tag {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-soft);
  margin: 0 0 18px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--navy);
  margin: 0 0 20px;
}

.section-sub {
  font-size: clamp(1.05rem, 1.3vw, 1.15rem);
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 62ch;
}

.section-head-center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ----------------------------- Features ----------------------------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease),
    border-color 220ms var(--ease);
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.feature-num {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--navy-soft);
  opacity: 0.55;
  font-size: 18px;
  margin-bottom: 26px;
}

.feature h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 12px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

@media (max-width: 880px) {
  .features {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature {
    padding: 28px 24px;
  }
}

/* ----------------------------- Timeline (Approach) ----------------------------- */

.timeline {
  list-style: none;
  margin: 0 0 64px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.timeline li {
  border-top: 1px solid rgba(250, 247, 241, 0.18);
  padding-top: 22px;
}

.timeline-step {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 247, 241, 0.6);
  margin-bottom: 12px;
}

.timeline h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.32rem;
  letter-spacing: -0.012em;
  color: var(--cream);
  margin: 0 0 12px;
  line-height: 1.2;
}

.timeline p {
  margin: 0;
  color: rgba(250, 247, 241, 0.74);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 1000px) {
  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
  }
}

@media (max-width: 600px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

.quote {
  border-left: 2px solid rgba(250, 247, 241, 0.35);
  padding: 6px 0 6px 24px;
  max-width: 56ch;
}

.quote p {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  color: var(--cream);
}

.quote-attr {
  margin-top: 12px !important;
  font-family: var(--font-sans) !important;
  font-style: normal !important;
  font-size: 13px !important;
  letter-spacing: 0.04em !important;
  color: rgba(250, 247, 241, 0.55) !important;
  text-transform: uppercase;
}

/* ----------------------------- Contact ----------------------------- */

.section-contact {
  background: var(--cream-dim);
}

.contact-cta {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

/* ----------------------------- Footer ----------------------------- */

.footer {
  border-top: 1px solid var(--border);
  background: var(--cream);
  padding: 36px 0 56px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-tag {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
}

.footer-meta {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
  opacity: 0.75;
}

/* ----------------------------- Reduced motion ----------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
