/* Poppins — self-hosted (was Google Fonts, which is unreachable from mainland China) */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/poppins-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/poppins-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/poppins-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/poppins-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/poppins-800.woff2') format('woff2');
}

/* Clarabeam — shared styles */

:root {
  --bg: #FAF9F6;
  --ink: #1A1A1C;
  --muted: #6E6E74;
  --accent: #E25842;
  --accent-soft: #FDECE8;
  --border: #E7E5E0;
  --card: #FFFFFF;
  --green-soft: #EAF6EF;
  --green-ink: #1F6B45;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrap { max-width: 800px; margin: 0 auto; padding: 0 26px; }
.wrap-wide { max-width: 1000px; margin: 0 auto; padding: 0 26px; }

/* ---------- header ---------- */
.site-header {
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.site-header .wrap-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.3px;
  color: var(--ink);
  text-decoration: none;
}
.logo span { color: var(--accent); }
.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  margin-left: 24px;
}
.site-header nav a:hover { color: var(--ink); }

/* ---------- typography ---------- */
h1 {
  font-size: 46px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-bottom: 24px;
}
h2 {
  font-size: 31px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.7px;
  margin: 0 0 20px;
}
h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.2px;
}
p { margin-bottom: 18px; color: #33333A; }
p.lead { font-size: 20px; color: var(--muted); line-height: 1.6; }
strong { font-weight: 700; color: var(--ink); }
a { color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 15px; }
.center { text-align: center; }

/* ---------- sections ---------- */
section { padding: 78px 0; }
section.tight { padding: 52px 0; }
section.bordered { border-top: 1px solid var(--border); }
.hero { padding: 90px 0 60px; }

/* ---------- eyebrow ---------- */
.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: transform .12s ease, opacity .12s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 30px 0 16px; }

/* ---------- cards / callouts ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 28px;
}
.callout {
  border-radius: 12px;
  padding: 18px 22px;
  margin: 22px 0;
  font-size: 16px;
  line-height: 1.6;
}
.callout.blue { background: #EDF3FB; color: #1E4778; }
.callout.green { background: var(--green-soft); color: var(--green-ink); }
.callout.warm { background: var(--accent-soft); color: #A63826; }
.callout.warn { background: #FFF6E5; color: #8A5A08; }

/* ---------- lists ---------- */
ul.clean, ol.clean { margin: 0 0 20px 0; padding-left: 0; list-style: none; }
ul.clean li, ol.clean li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: #33333A;
}
ul.clean li::before {
  content: "";
  position: absolute;
  left: 6px; top: 12px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
ol.clean { counter-reset: n; }
ol.clean li { counter-increment: n; }
ol.clean li::before {
  content: counter(n);
  position: absolute;
  left: 0; top: 3px;
  font-weight: 800;
  font-size: 14px;
  color: var(--accent);
}

/* ---------- screenshots ---------- */
.shot {
  margin: 34px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 14px 40px rgba(26,26,28,.09);
}
.shot img { display: block; width: 100%; height: auto; }
.shot-caption {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  margin-top: -22px;
  margin-bottom: 34px;
}

/* ---------- feature rows ---------- */
.feature { margin-bottom: 40px; }
.feature:last-child { margin-bottom: 0; }

/* ---------- pricing ---------- */
.plans { display: grid; gap: 20px; margin: 34px 0 12px; }
.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px 30px 26px;
}
.plan.featured { border: 2px solid var(--accent); }
.plan-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 6px;
}
.plan-name { font-size: 21px; font-weight: 800; letter-spacing: -0.3px; }
.plan-price { font-size: 27px; font-weight: 800; letter-spacing: -0.8px; }
.plan-price small { font-size: 14px; font-weight: 600; color: var(--muted); }
.plan-note { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.plan .btn { width: 100%; text-align: center; margin-top: 18px; }
.badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .9px;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

/* ---------- faq ---------- */
.faq-item { margin-bottom: 30px; }
.faq-item h3 { font-size: 18px; margin-bottom: 8px; }
.faq-item p { margin-bottom: 0; color: #4A4A52; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 46px 0 60px;
  margin-top: 20px;
}
.site-footer .wrap-wide {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer a { color: var(--muted); text-decoration: none; font-size: 15px; }
.site-footer a:hover { color: var(--ink); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- form ---------- */
.form-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 12px; }
input[type=email] {
  flex: 1 1 300px;
  padding: 15px 18px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}
input[type=email]:focus { outline: none; border-color: var(--accent); }

/* ---------- misc ---------- */
.divider { height: 1px; background: var(--border); margin: 40px 0; }
.reveal-box {
  display: none;
  background: var(--green-soft);
  border-radius: 12px;
  padding: 22px;
  margin-top: 20px;
}
.reveal-box.on { display: block; }
.legal h2 { font-size: 24px; margin-top: 40px; }
.legal p, .legal li { font-size: 16px; color: #33333A; }
.legal ul { padding-left: 22px; margin-bottom: 18px; }
.legal li { margin-bottom: 8px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 33px; letter-spacing: -0.8px; }
  h2 { font-size: 25px; }
  section { padding: 54px 0; }
  .hero { padding: 56px 0 40px; }
  .site-header nav a { margin-left: 14px; font-size: 14px; }
}
