/* Parable Systems — ultra-minimal marketing site */

:root {
  --bg: #f7f6f3;
  --bg-alt: #efeee9;
  --surface: #ffffff;
  --ink: #0a0a0a;
  --ink-muted: #4a4a4a;
  --ink-faint: #7a7a7a;
  --rule: #d8d6cf;
  --focus: #0a0a0a;
  --max: 68rem;
  --header-h: 4.5rem;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Instrument Sans", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration: none;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.5rem 0.75rem;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  width: auto;
  height: 2.75rem;
  object-fit: contain;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink-muted);
  transition: color 0.2s var(--ease);
}

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

.nav-cta {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--ink);
  color: var(--ink) !important;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--bg) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.25rem;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Typography */

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  max-width: 14ch;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  max-width: 22ch;
}

h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.lede,
.section-intro {
  margin: 0;
  max-width: 38rem;
  color: var(--ink-muted);
  font-size: 1.125rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.btn-primary:hover {
  background: transparent;
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

/* Hero */

.hero {
  padding: clamp(4rem, 12vw, 8rem) 0 clamp(4.5rem, 10vw, 7rem);
  border-bottom: 1px solid var(--rule);
}

.hero-inner {
  max-width: 44rem;
}

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

/* Sections */

.section {
  padding: clamp(4rem, 9vw, 6.5rem) 0;
  border-bottom: 1px solid var(--rule);
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  margin-bottom: 2.75rem;
}

.section-header .section-intro {
  margin-top: 1rem;
}

/* Offers */

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.offer-card {
  padding: 1.75rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--rule);
}

.offer-num {
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}

.offer-card p:last-child {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9875rem;
}

/* Audience */

.audience-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.audience-list li {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.audience-list strong {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.audience-list span {
  color: var(--ink-muted);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}

.about-grid .section-header {
  margin-bottom: 0;
}

.about-body p {
  margin: 0 0 1.25rem;
  color: var(--ink-muted);
}

.about-body p strong {
  color: var(--ink);
  font-weight: 600;
}

.cred-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.cred-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--ink);
  font-size: 0.9875rem;
}

.cred-list li:last-child {
  border-bottom: 1px solid var(--rule);
}

.cred-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 0.4rem;
  height: 1px;
  background: var(--ink);
}

/* Contact */

.section-contact {
  background: var(--ink);
  color: var(--bg);
  border-bottom: 0;
}

.section-contact .eyebrow {
  color: #9a9a9a;
}

.section-contact h2 {
  color: var(--bg);
}

.section-contact .section-intro {
  color: #c8c8c8;
  margin-bottom: 2rem;
}

.section-contact .btn-primary {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}

.section-contact .btn-primary:hover {
  background: transparent;
  color: var(--bg);
  border-color: var(--bg);
}

.contact-inner {
  max-width: 36rem;
}

/* Footer */

.site-footer {
  padding: 1.75rem 0;
  background: var(--ink);
  color: #9a9a9a;
  font-size: 0.8125rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.site-footer a {
  color: #c8c8c8;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--bg);
}

.site-footer p {
  margin: 0;
}

/* Responsive */

@media (max-width: 900px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .audience-list li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.25s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .site-nav li {
    width: 100%;
    border-bottom: 1px solid var(--rule);
  }

  .site-nav li:last-child {
    border-bottom: 0;
    padding-top: 1rem;
  }

  .site-nav a {
    display: block;
    padding: 0.9rem 0;
    font-size: 1rem;
  }

  .nav-cta {
    display: inline-flex !important;
    width: auto;
    padding: 0.65rem 1rem !important;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
