/* WithTheFlow marketing landing page — literary mobile style */
:root {
  --bg-color: #fefcf5;
  --bg-warm: #fdf9e8;
  --text-primary: #4a2c11;
  --text-secondary: #8c6b4a;
  --text-muted: #b8a080;
  --accent: #c9a86c;
  --accent-light: #e5d3a8;
  --accent-dark: #4a2c11;
  --border: #e8dfc8;
  --positive: #6b8e23;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-primary);
  background: #fefcf5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Company navigation, matching stablebusiness.io */
.company-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid #e8dfc8;
  background: #fefcf5;
}

.company-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1360px;
  height: 64px;
  margin: 0 auto;
  padding: 0 24px;
}

.product-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #4a2c11;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
}

.product-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.company-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.company-link,
.software-menu summary {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  color: #6b4a2c;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}

.software-menu summary::-webkit-details-marker {
  display: none;
}

.company-link:hover,
.software-menu summary:hover {
  background: #fdf9e8;
  color: #4a2c11;
}

.software-menu {
  position: relative;
}

.software-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(20rem, calc(100vw - 2.5rem));
  padding: 8px;
  border: 1px solid #e8dfc8;
  border-radius: 18px;
  background: #fefcf5;
  box-shadow: 0 10px 32px rgb(0 0 0 / 0.06);
}

.software-panel a {
  display: block;
  padding: 8px 10px;
  border-radius: 12px;
  color: #4a2c11;
  text-decoration: none;
}

.software-panel a:hover {
  background: #fdf9e8;
}

.software-panel strong,
.software-panel span {
  display: block;
}

.software-panel strong {
  font-size: 14px;
  font-weight: 500;
}

.software-panel span {
  margin-top: 2px;
  color: #8c6b4a;
  font-size: 13px;
  line-height: 1.4;
}

.software-group {
  margin: 8px 10px 2px;
  color: #8c6b4a;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

main {
  padding: 64px 24px 80px;
}

@media (min-width: 768px) {
  main {
    padding: 80px 48px 96px;
  }
}

.hero {
  max-width: 56rem;
}

.eyebrow {
  margin: 0;
  color: #8c6b4a;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

h1 {
  max-width: 48rem;
  margin: 16px 0 0;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.subheadline {
  max-width: 36rem;
  margin: 24px 0 0;
  color: #8c6b4a;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.cta-group {
  display: flex;
  margin-top: 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 0.75rem;
  background: #4a2c11;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.btn-primary:hover {
  background: #2e1a0a;
}

.document {
  display: grid;
  margin-top: 56px;
  overflow: hidden;
  border: 1px solid #e8dfc8;
  border-radius: 1.25rem;
  background: #fdf9e8;
}

.document article {
  padding: 32px 24px;
}

.document article + article {
  border-top: 1px solid #e8dfc8;
}

.document h2 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.document p {
  margin: 12px 0 0;
  color: #8c6b4a;
  font-size: 0.875rem;
  line-height: 1.75rem;
}

@media (min-width: 768px) {
  .document {
    grid-template-columns: 1fr 1fr;
  }

  .document article {
    padding: 40px 32px;
  }

  .document article + article {
    border-top: 0;
    border-left: 1px solid #e8dfc8;
  }
}

.site-footer {
  border-top: 1px solid #e8dfc8;
  padding: 32px 24px 48px;
}

.site-footer p {
  margin: 0;
  color: #8c6b4a;
  font-size: 14px;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #2e1a0a;
    color: #fefcf5;
  }

  .company-nav,
  .software-panel {
    background: #2e1a0a;
    border-color: #6b4a2c;
  }

  .product-brand,
  .software-panel a,
  h1,
  .document h2 {
    color: #fefcf5;
  }

  .company-link,
  .software-menu summary,
  .eyebrow,
  .subheadline,
  .document p,
  .site-footer p,
  .software-panel span,
  .software-group {
    color: #e5d3a8;
  }

  .company-link:hover,
  .software-menu summary:hover,
  .software-panel a:hover {
    background: #3a2416;
    color: #fefcf5;
  }

  .btn-primary {
    background: #fefcf5;
    color: #4a2c11;
  }

  .document {
    background: #3a2416;
    border-color: #6b4a2c;
  }

  .document article + article,
  .site-footer,
  .company-nav {
    border-color: #6b4a2c;
  }
}
