/* Clarity landing page — no framework, no build step. */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --text: #1a1d21;
  --text-soft: #5b6169;
  --brand: #2456e6;
  --brand-dark: #1b41ad;
  --border: #e3e6ea;
  --radius: 10px;
  --max: 1040px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101215;
    --bg-alt: #16191d;
    --text: #e8eaed;
    --text-soft: #9aa1a9;
    --brand: #5b86f0;
    --brand-dark: #7da0f4;
    --border: #262a30;
  }
}

* { box-sizing: border-box; margin: 0; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: .5rem; }
h3 { font-size: 1.15rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--border); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: .9rem; padding-bottom: .9rem;
}
.nav nav { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.nav nav a { color: var(--text); }
.brand { font-weight: 700; font-size: 1.2rem; color: var(--text); }

/* Buttons */
.btn {
  display: inline-block; padding: .6rem 1.2rem; border-radius: var(--radius);
  font-weight: 600; border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--text-soft); }
.btn-col { display: flex; flex-direction: column; gap: .6rem; }

/* Hero */
.hero { padding: 5rem 0 4rem; text-align: center; }
.lede { font-size: 1.25rem; color: var(--text-soft); max-width: 40rem; margin: 1rem auto 0; }
.cta-row { display: flex; gap: .8rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }

.fineprint { font-size: .85rem; color: var(--text-soft); margin-top: 1.25rem; }

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }
.section-sub { color: var(--text-soft); margin-bottom: 1.5rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; list-style: none; padding: 0; margin-top: 1.5rem; }
.steps p { color: var(--text-soft); }

/* Billing toggle */
.billing-toggle { display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; }
.toggle-btn {
  padding: .5rem 1.1rem; background: transparent; border: none; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--text-soft);
}
.toggle-btn.active { background: var(--brand); color: #fff; }
.badge { font-size: .72rem; font-weight: 700; opacity: .85; margin-left: .3rem; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; align-items: stretch; }
.plan {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem;
}
.plan-featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.plan ul { padding-left: 1.1rem; color: var(--text-soft); flex-grow: 1; }
.plan li { margin: .3rem 0; }
.price .amount { font-size: 2.1rem; font-weight: 700; }
.price .period { color: var(--text-soft); }
.price .from { color: var(--text-soft); font-size: .95rem; }

/* FAQ */
.faq dt { font-weight: 700; margin-top: 1.25rem; }
.faq dd { margin: .35rem 0 0; color: var(--text-soft); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 2.5rem 0; margin-top: 2rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; }
