/* brantuit landing — fonts match live site (Inter + Merriweather Sans) */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Merriweather+Sans:wght@400;600;700&display=swap");

:root {
  --font-heading: "Merriweather Sans", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --color-bg: #ffffff;
  --color-surface: #f4f5f7;
  --color-surface-2: #f9fafb;
  --color-card: #ffffff;
  --color-border: #e5e7eb;
  --color-text: #111827;
  --color-heading: #0f172a;
  --color-muted: #4b5563;
  --color-link: #1d4ed8;
  --color-link-hover: #1e40af;
  --color-subtle: #6b7280;
  --color-btn: #111827;
  --color-btn-text: #ffffff;
  --pad-x: clamp(1rem, 4vw, 2.5rem);
  --maxw: 1120px;
  --section-y: clamp(2.75rem, 7vw, 5.5rem);
  --radius: 8px;
  --bp-nav: 880px;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  body {
    overflow-x: hidden;
  }
}

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

a {
  color: var(--color-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.75em;
  color: var(--color-heading);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
}

h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 1em;
  color: var(--color-muted);
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 1.125rem;
  color: var(--color-muted);
}

.muted {
  color: var(--color-subtle);
  font-size: 0.9rem;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.section--tight {
  padding-top: calc(var(--section-y) * 0.65);
  padding-bottom: calc(var(--section-y) * 0.65);
}

.section--surface {
  background: var(--color-surface);
}

.section--surface-2 {
  background: var(--color-surface-2);
}

.text-center {
  text-align: center;
}

.justify-center {
  justify-content: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Header & mobile nav (checkbox, no JS) —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1rem var(--pad-x);
  flex-wrap: nowrap;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  color: inherit;
}

.logo img {
  height: 36px;
  width: auto;
  max-width: min(200px, 55vw);
  object-fit: contain;
  object-position: left center;
  display: block;
}

.logo:hover img {
  opacity: 0.88;
}

.footer-brand .logo img {
  height: 40px;
  max-width: min(220px, 70vw);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (min-width: 881px) and (max-width: 1024px) {
  .site-nav {
    gap: 0.25rem 1rem;
  }

  .site-nav a {
    font-size: 0.85rem;
  }
}

.site-nav a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-heading);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  background: var(--color-btn);
  color: var(--color-btn-text) !important;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none !important;
}

.nav-cta:hover {
  opacity: 0.92;
  color: var(--color-btn-text) !important;
}

@media (max-width: 880px) {
  .header-inner {
    flex-wrap: nowrap;
    gap: 0.75rem;
  }

  .header-inner--cta-only-nav .site-nav {
    order: 2;
    margin-left: auto;
    flex-basis: auto;
    flex-grow: 0;
    flex-direction: row;
    justify-content: flex-end;
  }

  .header-inner--cta-only-nav .site-nav .nav-cta {
    padding: 0.5rem 0.95rem;
    font-size: 0.85rem;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s, border-color 0.2s;
}

.btn--primary {
  background: var(--color-btn);
  color: var(--color-btn-text);
}

.btn--primary:hover {
  opacity: 0.92;
  color: var(--color-btn-text);
}

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

.btn--ghost:hover {
  border-color: var(--color-subtle);
  color: var(--color-heading);
  background: var(--color-surface);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.5rem;
}

@media (max-width: 520px) {
  .btn-row .btn {
    width: 100%;
    min-height: 48px;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: var(--section-y);
  overflow: hidden;
  min-height: clamp(380px, 52svh, 620px);
  display: flex;
  flex-direction: column;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.22;
  pointer-events: none;
  min-height: 100%;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.85) 45%,
    var(--color-bg) 95%
  );
  pointer-events: none;
}

.hero .container.hero__grid {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
}

@media (min-width: 900px) {
  .hero .container.hero__grid {
    grid-template-columns: 1fr minmax(240px, 0.95fr);
    gap: clamp(1.5rem, 4vw, 3rem);
  }
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__visual .hero__logo {
  width: auto;
  height: auto;
  max-width: min(320px, 88vw);
  max-height: min(140px, 28svh);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 12px 28px rgba(15, 23, 42, 0.1));
}

@media (min-width: 900px) {
  .hero__visual .hero__logo {
    max-width: min(380px, 42vw);
    max-height: min(160px, 35svh);
  }
}

/* —— Feature list / pills —— */
.pill-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pill-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--color-muted);
  font-size: 0.98rem;
}

.pill-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-heading);
  opacity: 0.55;
}

.tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-subtle);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

/* —— Cards —— */
.grid-2 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: clamp(1.15rem, 3vw, 1.5rem);
  height: 100%;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.card h4 {
  margin-bottom: 0.5rem;
  color: var(--color-heading);
}

.card p {
  font-size: 0.92rem;
}

.card--highlight {
  border-color: #dbeafe;
  background: linear-gradient(160deg, #f8fafc 0%, #eff6ff 100%);
  box-shadow: 0 1px 3px rgba(29, 78, 216, 0.08);
}

/* —— Problem / anchor nav —— */
.anchor-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.anchor-row a {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--color-muted);
  text-decoration: none;
}

.anchor-row a:hover {
  border-color: var(--color-subtle);
  color: var(--color-heading);
  background: var(--color-surface);
}

.option-block {
  border-left: 3px solid var(--color-border);
  padding-left: 1.25rem;
  margin-bottom: 2rem;
}

.option-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-subtle);
  margin-bottom: 0.35rem;
}

/* —— Comparison table —— */
.compare-wrap {
  overflow-x: auto;
  margin-top: 2rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-bg);
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--color-border) transparent;
}

.compare-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: clamp(0.8rem, 2.5vw, 0.88rem);
}

.compare-table th,
.compare-table td {
  padding: clamp(0.65rem, 2vw, 0.9rem) clamp(0.5rem, 1.5vw, 0.85rem);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.compare-table thead th {
  font-size: clamp(0.78rem, 2.2vw, 0.88rem);
  border-bottom: 1px solid var(--color-border);
}

.compare-table thead th.compare-th-feature {
  background: var(--color-bg);
  width: 30%;
}

.compare-table thead th.compare-th-muted {
  background: #f4f5f7;
  color: #6b7280;
  font-family: var(--font-body);
  font-weight: 500;
  text-align: center;
}

.compare-table thead th.compare-th-zena {
  background: var(--color-bg);
  color: #1d4ed8;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  white-space: nowrap;
}

.compare-table .compare-th-zena-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.compare-table .compare-zena-mark {
  display: inline-flex;
  color: #1d4ed8;
  line-height: 0;
}

.compare-table .compare-zena-mark svg {
  display: block;
}

.compare-table tbody th[scope="row"] {
  color: var(--color-heading);
  background: var(--color-bg);
  font-weight: 600;
  font-family: var(--font-heading);
  text-align: left;
  font-size: clamp(0.8rem, 2.2vw, 0.9rem);
}

.compare-table tbody td.compare-td-muted {
  background: #f9fafb;
  color: var(--color-muted);
}

.compare-table tbody td.col-highlight {
  background: var(--color-bg);
  color: var(--color-heading);
}

.compare-table .compare-cell-icon {
  text-align: center;
}

.compare-table .compare-check {
  color: var(--color-heading);
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1;
}

.compare-table .compare-cross {
  color: #dc2626;
  font-size: 1.15em;
  font-weight: 700;
  line-height: 1;
}

.compare-table .compare-dash {
  color: #9ca3af;
  font-size: 1.25em;
  font-weight: 400;
  line-height: 1;
}

.compare-table .compare-check-zena {
  color: #60a5fa;
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

/* —— Brief links grid —— */
.brief-grid h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--color-heading);
}

.brief-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.brief-links a {
  display: block;
  padding: 0.7rem 0.9rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-heading);
  text-decoration: none;
  font-size: 0.9rem;
  transition: border-color 0.15s, background 0.15s;
}

.brief-links a:hover {
  border-color: var(--color-link);
  color: var(--color-link);
  background: var(--color-bg);
}

/* —— Media + text rows —— */
.media-row {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-top: 2.5rem;
}

#zena > .container > .media-row:first-child {
  margin-top: 0;
}

@media (min-width: 860px) {
  .media-row {
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }

  .media-row--reverse .media-row__text {
    order: -1;
  }
}

.media-row__img {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  aspect-ratio: 16 / 10;
  margin-inline: auto;
  width: 100%;
  max-width: 560px;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.35rem, 1.5vw, 0.75rem);
}

.media-row__img img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.step-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-subtle);
  margin-bottom: 0.35rem;
}

/* —— Testimonial —— */
.quote {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.quote blockquote {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--color-heading);
}

.quote cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--color-subtle);
}

/* —— Team —— */
.team-card {
  text-align: center;
}

.team-card img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 2px solid var(--color-border);
}

.team-card .role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-subtle);
  margin-bottom: 0.75rem;
}

.team-card a {
  font-size: 0.88rem;
}

/* —— Forms —— */
.form-section {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--color-link);
  outline-offset: 1px;
  border-color: transparent;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--color-subtle);
  margin-top: 1rem;
}

/* —— FAQ —— */
.faq-list details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.65rem;
  background: var(--color-bg);
  padding: 0 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--color-text);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-subtle);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list .faq-answer {
  padding: 0 0 1.15rem;
  color: var(--color-muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 2rem;
  background: var(--color-surface);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.site-footer h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-subtle);
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.92rem;
}

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

.footer-brand p {
  font-size: 0.92rem;
  max-width: 280px;
}

.copyright {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem;
  color: var(--color-subtle);
}

/* —— Page hero (inner pages) —— */
.page-hero {
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  margin-bottom: 0.5rem;
}

/* —— Utility —— */
.stack-lg > * + * {
  margin-top: 1.25rem;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mt-lg {
  margin-top: 2rem;
}

.max-w-prose {
  max-width: 42rem;
}

.max-w-prose-wide {
  max-width: 48rem;
}
