/* ===========================
   plannng — Brand Stylesheet
   Base grid: 8px
   =========================== */

:root {
  /* Neutrals */
  --ink: #0B1215;
  --slate: #1C2832;
  --steel: #3A4D5C;
  --mist: #8A9DAD;
  --cloud: #C8D5DE;
  --ice: #E8EEF2;
  --white: #F6F8FA;

  /* Primary accent */
  --teal: #0FA68E;
  --teal-light: #14C4A8;
  --teal-muted: #D0F0E8;

  /* Semantic */
  --coral: #E8634A;
  --amber: #E5A220;

  /* Typography */
  --font-sans: 'DM Sans', sans-serif;
  --font-serif: 'Source Serif 4', serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   Header
   =========================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--ice);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.3px;
  color: var(--ink);
  text-decoration: none;
}

.logo-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--teal);
  border-radius: 50%;
  vertical-align: top;
  margin-left: 1px;
  margin-top: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
}

/* ===========================
   Buttons
   =========================== */

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border-radius: 8px;
  padding: 12px 24px;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--teal-light);
}

.btn-secondary {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}

.btn-secondary:hover {
  background: var(--teal-muted);
}

.btn-sm {
  padding: 6px 16px;
  font-size: 13px;
}

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

.btn-ghost:hover {
  color: var(--ink);
}

/* ===========================
   Hero
   =========================== */

.hero {
  padding: 96px 0 80px;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 48px;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: var(--ink);
  max-width: 680px;
  margin: 0 auto 24px;
}

.hero-sub {
  font-size: 17px;
  color: var(--steel);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* ===========================
   Stats bar
   =========================== */

.stats-bar {
  background: var(--ink);
  padding: 32px 0;
}

.stats-inner {
  display: flex;
  justify-content: center;
  gap: 64px;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 36px;
  letter-spacing: -1px;
  color: var(--teal-light);
}

.stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--mist);
  margin-top: 4px;
}

/* ===========================
   Features
   =========================== */

.features {
  padding: 80px 0;
}

.features h2 {
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.3px;
  text-align: center;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 32px 24px;
  border: 1px solid var(--ice);
  border-radius: 8px;
  transition: border-color 0.15s;
}

.feature-card:hover {
  border-color: var(--cloud);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-muted);
  border-radius: 8px;
  color: var(--teal);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-weight: 500;
  font-size: 17px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.65;
}

/* ===========================
   Quote
   =========================== */

.quote-section {
  padding: 64px 0;
  text-align: center;
}

.editorial-quote {
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  color: var(--steel);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
  border-left: 3px solid var(--teal);
  padding-left: 24px;
  text-align: left;
}

/* ===========================
   CTA
   =========================== */

.cta-section {
  background: var(--ice);
  padding: 64px 0;
}

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

.cta-inner h2 {
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
}

.cta-inner p {
  color: var(--steel);
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ===========================
   Footer
   =========================== */

.site-footer {
  background: var(--ink);
  color: var(--mist);
  padding: 48px 0 32px;
}

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

.footer-brand .logo {
  color: var(--white);
  font-size: 20px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--mist);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 24px 0;
}

.footer-links a {
  font-size: 13px;
  color: var(--mist);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  font-size: 12px;
  color: var(--steel);
}

/* ===========================
   Support page
   =========================== */

.page-section {
  padding: 80px 0;
}

.page-section h1 {
  font-weight: 500;
  font-size: 36px;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.page-section h2 {
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.3px;
  margin-top: 32px;
  margin-bottom: 12px;
}

.page-section p {
  color: var(--steel);
  max-width: 640px;
  margin-bottom: 16px;
}

.page-section a {
  color: var(--teal);
  text-decoration: none;
}

.page-section a:hover {
  text-decoration: underline;
}

.support-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--teal);
  background: var(--teal-muted);
  padding: 16px 24px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 8px;
}

.support-email:hover {
  background: var(--teal);
  color: var(--white);
  text-decoration: none;
}

/* ===========================
   Privacy page
   =========================== */

.legal-content {
  max-width: 720px;
}

.legal-content h1 {
  margin-bottom: 8px;
}

.legal-content .last-updated {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--mist);
  margin-bottom: 32px;
}

.legal-content h2 {
  font-weight: 500;
  font-size: 20px;
  color: var(--ink);
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-content p,
.legal-content li {
  color: var(--steel);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal-content li {
  margin-bottom: 6px;
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stats-inner {
    flex-direction: column;
    gap: 24px;
  }

  .stat-number {
    font-size: 28px;
  }

  .site-nav {
    gap: 16px;
  }
}