/* Flowly marketing site — shared styles */

:root {
  --lime: #c9ee62;
  --lime-dark: #a9d43c;
  --ink: #1c2b15;
  --ink-soft: #3c4a35;
  --muted: #6b7566;
  --cream: #f7f3e6;
  --card: #ffffff;
  --border: rgba(28, 43, 21, 0.12);
  --shadow: 0 20px 60px -20px rgba(28, 43, 21, 0.35);
  --radius-lg: 24px;
  --radius-md: 16px;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
}

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

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.site-header {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

nav.site-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

nav.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

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

nav.site-nav a.nav-cta {
  background: var(--ink);
  color: var(--lime);
  padding: 8px 18px;
  border-radius: 999px;
  transition: background 0.15s ease;
}

nav.site-nav a.nav-cta:hover {
  background: var(--ink-soft);
  color: var(--lime);
}

/* Hero */

.hero {
  padding: 72px 0 40px;
  text-align: center;
}

.hero .icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  margin: 0 auto 28px;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero .lede {
  max-width: 640px;
  margin: 0 auto 28px;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.app-store-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.app-store-links img {
  height: 44px;
  width: auto;
}

.hero-shot {
  margin: 48px auto 0;
  max-width: 920px;
}

.hero-shot img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* Feature sections */

.feature {
  padding: 64px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.feature.reverse .feature-copy {
  order: 2;
}

.feature.reverse .feature-media {
  order: 1;
}

.feature-copy .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
  margin: 0 0 10px;
}

.feature-copy h2 {
  font-size: 1.7rem;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.feature-copy p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin: 0;
}

.feature-media img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.feature-media.phone img {
  max-width: 260px;
  margin: 0 auto;
}

.feature-full {
  padding: 24px 0 64px;
  text-align: center;
}

.feature-full .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
  margin: 0 0 10px;
}

.feature-full h2 {
  font-size: 1.7rem;
  margin: 0 0 14px;
}

.feature-full p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.pricing-card {
  max-width: 560px;
  margin: 32px auto 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.pricing-card .price {
  font-size: 2.4rem;
  font-weight: 800;
  margin: 0;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.pricing-card ul {
  text-align: left;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
}

.pricing-card li {
  padding: 8px 0;
  border-top: 1px solid var(--border);
}

.pricing-card li:first-child {
  border-top: none;
}

/* Closing CTA */

.closing {
  padding: 56px 0 80px;
  text-align: center;
}

.closing h2 {
  font-size: 1.6rem;
  margin: 0 0 12px;
}

.closing p {
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.btn {
  display: inline-block;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 999px;
  transition: background 0.15s ease;
}

.btn:hover {
  background: var(--lime-dark);
}

/* Footer */

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}

footer.site-footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

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

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

/* Inner pages (privacy / faq / release notes) */

.page-hero {
  padding: 56px 0 8px;
}

.page-hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
  margin: 0 0 10px;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.page-hero p.dek {
  color: var(--ink-soft);
  max-width: 640px;
  font-size: 1.05rem;
}

.content {
  padding: 24px 0 80px;
}

.content h2 {
  font-size: 1.3rem;
  margin: 40px 0 12px;
}

.content h2:first-child {
  margin-top: 0;
}

.content p,
.content li {
  color: var(--ink-soft);
  font-size: 1rem;
}

.content ul {
  padding-left: 22px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-bottom: 24px;
}

/* FAQ accordion */

.faq-group h2 {
  margin-top: 44px;
}

details.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px 24px;
  margin-bottom: 12px;
}

details.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

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

details.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--muted);
  flex-shrink: 0;
}

details.faq-item[open] summary::after {
  content: "\2212";
}

details.faq-item p {
  margin: 0 0 18px;
}

/* Release notes */

.release-entry {
  border-left: 3px solid var(--lime);
  padding-left: 24px;
  margin-bottom: 44px;
  position: relative;
}

.release-entry .date {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 6px;
}

.release-entry h2 {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.release-entry ul {
  margin: 0;
}

.release-entry li {
  margin-bottom: 8px;
}

.note-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 40px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Responsive */

@media (max-width: 760px) {
  .feature,
  .feature.reverse {
    grid-template-columns: 1fr;
  }

  .feature.reverse .feature-copy,
  .feature.reverse .feature-media {
    order: initial;
  }

  .card {
    padding: 22px 20px;
  }

  details.faq-item {
    padding: 4px 18px;
  }
}
