/* Protween — landing site
 *
 * Design rules baked in here:
 *   - Single accent (CSS var) so a future palette swap is one line.
 *   - No blue/purple gradients, no glassmorphism, no neon glow, no
 *     deep blur shadows, no glowing buttons. Borders are 1px solid,
 *     shadows are flat & subtle.
 *   - Bg = white. Foreground = near-black. Hierarchy via type weight
 *     and size, not via color noise.
 *   - Accent currently deep forest green; the brand color isn't
 *     final, swap `--accent` and `--accent-hover` only.
 */

:root {
  --accent: #1c4232;
  --accent-hover: #143025;
  --fg: #0a0a0a;
  --fg-soft: #2a2a2a;
  --muted: #6b7280;
  --muted-2: #9ca3af;
  --line: #e5e7eb;
  --line-2: #f1f5f4;
  --bg: #ffffff;
  --bg-2: #fafafa;
  --bg-pill: #f3f4f1;
  --max: 1120px;
  --radius: 10px;
  --radius-sm: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
a:hover { border-bottom-color: var(--accent); }

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

/* ---- Header ---- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.brand {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  border-bottom: none;
}
.brand:hover { border-bottom: none; }
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: 8px;
  flex: 1 1 auto;
}
.nav-links a {
  color: var(--fg-soft);
  font-size: 14px;
  border-bottom: none;
}
.nav-links a:hover { color: var(--fg); border-bottom: none; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease;
  white-space: nowrap;
  border-bottom: 1px solid var(--accent);
}
.btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  border-bottom-color: var(--accent-hover);
}
.btn-secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}
.btn-secondary:hover {
  background: var(--bg-2);
  color: var(--fg);
  border-color: var(--muted-2);
}
.btn-lg {
  padding: 14px 24px;
  font-size: 15px;
  border-radius: var(--radius);
}

/* ---- Hero ---- */

.hero {
  padding: 96px 0 64px;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--fg);
  margin: 0 0 22px;
  max-width: 800px;
}
.hero .sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 36px;
}
.hero .cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.hero .platform-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted-2);
}

/* Before/after visual placeholder. */
.compare {
  margin-top: 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.compare-half {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 16px;
  text-align: center;
}
.compare-half.left {
  background:
    repeating-linear-gradient(
      45deg,
      #f4f4f4,
      #f4f4f4 6px,
      #ececec 6px,
      #ececec 12px
    );
}
.compare-half.right {
  background: #f0f6f3;
  color: var(--accent);
}
.compare-divider {
  width: 1px;
  background: var(--line);
}
.compare-caption {
  padding: 14px 20px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--bg);
}

/* ---- Section base ---- */

section { padding: 96px 0; }
section + section { border-top: 1px solid var(--line); }

.eyebrow {
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin: 0 0 12px;
}
.section-title {
  font-size: 36px;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 0 0 18px;
  max-width: 720px;
}
.section-lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 680px;
  margin: 0 0 56px;
}

/* ---- Features ---- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.feature {
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.feature h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.feature p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ---- How it works ---- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg);
}
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.step h4 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
}
.step p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---- Honest scope ---- */

.scope {
  background: var(--bg-2);
}
.scope-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 32px 36px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.scope-card .pill {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--bg-pill);
  padding: 6px 10px;
  border-radius: 4px;
}
.scope-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-soft);
}

/* ---- Pricing ---- */

.pricing-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 44px;
  max-width: 520px;
  background: var(--bg);
}
.price-amount {
  display: baseline;
  font-size: 56px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 6px;
}
.price-unit {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
}
.price-tag {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 28px;
}
.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-list li {
  font-size: 15px;
  color: var(--fg-soft);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.price-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  margin-top: 1px;
}
.price-note {
  font-size: 12.5px;
  color: var(--muted);
  margin: 14px 0 0;
}

/* ---- FAQ ---- */

.faq-list { max-width: 760px; }
.faq-item {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  margin: 0 0 10px;
}
.faq-item p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

/* ---- Footer ---- */

.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 48px 0 40px;
  font-size: 13.5px;
  color: var(--muted);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-row .brand { font-size: 14px; }
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--muted);
  border-bottom: none;
}
.footer-links a:hover { color: var(--fg); border-bottom: none; }
.copyright {
  margin-top: 24px;
  font-size: 12.5px;
  color: var(--muted-2);
}

/* ---- Static legal pages ---- */

.legal {
  padding: 64px 0 96px;
  max-width: 780px;
}
.legal h1 {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 0 0 8px;
}
.legal .updated {
  font-size: 13px;
  color: var(--muted-2);
  margin: 0 0 36px;
}
.legal h2 {
  font-size: 19px;
  font-weight: 600;
  color: var(--fg);
  margin: 40px 0 12px;
}
.legal p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.65; color: var(--fg-soft); }
.legal ul { padding-left: 22px; margin: 0 0 14px; }
.legal li { font-size: 15.5px; line-height: 1.65; color: var(--fg-soft); margin-bottom: 6px; }

/* ---- Responsive ---- */

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

@media (max-width: 720px) {
  .container { padding: 0 22px; }
  .nav-links { display: none; }
  .nav { gap: 16px; height: 56px; }
  .hero { padding: 56px 0 40px; }
  .hero h1 { font-size: 38px; line-height: 1.12; }
  .hero .sub { font-size: 16.5px; }
  .compare { margin-top: 40px; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-divider { display: none; }
  .compare-half + .compare-half { border-top: 1px solid var(--line); }
  section { padding: 56px 0; }
  .section-title { font-size: 28px; }
  .section-lede { font-size: 16px; margin-bottom: 36px; }
  .pricing-card { padding: 30px 26px; }
  .price-amount { font-size: 44px; }
  .scope-card { flex-direction: column; padding: 24px; gap: 14px; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links { gap: 14px 18px; }
}
