/* RowNest marketing site — calm, crafty, warm-neutral + terracotta accent.
   Mirrors the app's design tokens (src/ui/theme.ts). */
:root {
  --paper: #FBF8F4;
  --surface: #FFFFFF;
  --card: #F4EFE8;
  --border: #E7DFD4;
  --accent: #C25B3E;
  --accent-pressed: #A8462C;
  --accent-muted: #F3E0D8;
  --success: #3E7C5A;
  --text: #2B2622;
  --text-secondary: #6E665C;
  --text-muted: #9A9082;
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, Helvetica, Arial, sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-pressed); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251, 248, 244, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav a { margin-left: 22px; color: var(--text-secondary); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; border: none; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--accent-pressed); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--border); }
.btn-ghost:hover { background: var(--accent-muted); color: var(--accent-pressed); }

/* Hero */
.hero { padding: 88px 0 64px; text-align: center; }
.hero img.app-icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 12px 40px rgba(194,91,62,.18); }
.eyebrow {
  display: inline-block; margin: 28px 0 14px; padding: 6px 14px;
  background: var(--accent-muted); color: var(--accent-pressed);
  border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.hero h1 { font-family: var(--rounded); font-size: clamp(36px, 6vw, 60px); line-height: 1.08; letter-spacing: -.02em; }
.hero h1 .accent { color: var(--accent); }
.hero p.lead { font-size: clamp(17px, 2.4vw, 21px); color: var(--text-secondary); max-width: 620px; margin: 20px auto 32px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.note { margin-top: 16px; font-size: 14px; color: var(--text-muted); }

/* Sections */
section { padding: 56px 0; }
.section-title { font-family: var(--rounded); font-size: clamp(28px, 4vw, 40px); text-align: center; letter-spacing: -.02em; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--text-secondary); max-width: 560px; margin: 0 auto 44px; font-size: 17px; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
}
.feature .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-muted); display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--text-secondary); font-size: 15px; }

/* Screenshots */
.shots { background: var(--card); }
.shots-row { display: flex; gap: 20px; overflow-x: auto; padding: 8px 4px 16px; scroll-snap-type: x mandatory; }
.shots-row img { width: 250px; flex: 0 0 auto; border-radius: 28px; border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(43,38,34,.08); scroll-snap-align: center; }

/* Pricing */
.price-card {
  max-width: 460px; margin: 0 auto; text-align: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px 32px;
}
.price-card .amount { font-family: var(--rounded); font-size: 56px; font-weight: 700; letter-spacing: -.02em; }
.price-card .once { display: inline-block; margin-left: 8px; padding: 5px 12px; background: var(--accent-muted); color: var(--accent-pressed); border-radius: 999px; font-size: 14px; font-weight: 600; vertical-align: middle; }
.price-card ul { list-style: none; text-align: left; margin: 26px 0; display: grid; gap: 12px; }
.price-card li { display: flex; gap: 10px; color: var(--text); }
.price-card li::before { content: "✓"; color: var(--success); font-weight: 700; }
.honest { color: var(--success); font-weight: 600; font-size: 15px; margin-top: 6px; }

/* Content pages (support / privacy) */
.page { padding: 56px 0 72px; }
.page h1 { font-family: var(--rounded); font-size: clamp(30px, 5vw, 44px); letter-spacing: -.02em; margin-bottom: 8px; }
.page .updated { color: var(--text-muted); font-size: 14px; margin-bottom: 32px; }
.page h2 { font-size: 22px; margin: 34px 0 10px; }
.page h3 { font-size: 18px; margin: 22px 0 6px; }
.page p, .page li { color: var(--text-secondary); margin-bottom: 12px; }
.page ul { padding-left: 22px; }
.page a { font-weight: 600; }
.callout { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; margin: 22px 0; }
.callout p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--text-muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.site-footer a { color: var(--text-secondary); margin-left: 18px; }
.site-footer a:first-child { margin-left: 0; }

@media (max-width: 600px) {
  .hero { padding: 56px 0 40px; }
  .nav a { margin-left: 16px; }
  .site-footer .wrap { flex-direction: column; text-align: center; }
}
