:root {
  --fg: #1a1a1a;
  --muted: #5b6470;
  --bg: #fafaf7;
  --panel: #ffffff;
  --accent: #0a2f6e;     /* navy */
  --teal: #1f8a8a;       /* teal accent */
  --border: #e2e2dc;
  --radius: 12px;
  --maxw: 1040px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Helvetica, Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; max-width: var(--maxw); margin: 0 auto; }
.nav .brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; color: var(--fg); }
.nav .brand img { width: 28px; height: 28px; }
.nav .links a { color: var(--muted); margin-left: 22px; font-size: 15px; }

/* Hero */
.hero { text-align: center; padding: 56px 24px 40px; max-width: 760px; margin: 0 auto; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; margin: 0 0 18px; }
.hero p.sub { font-size: clamp(17px, 2.4vw, 21px); color: var(--muted); margin: 0 0 32px; }

/* Forms / buttons */
form.signup { display: flex; gap: 8px; max-width: 440px; margin: 0 auto; }
input[type="email"] {
  flex: 1; padding: 13px 15px; font-size: 16px; border: 1px solid var(--border);
  border-radius: 8px; background: #fff; color: var(--fg); outline: none; font-family: inherit;
}
input[type="email"]:focus { border-color: var(--accent); }
.btn {
  padding: 13px 20px; font-size: 16px; font-weight: 600; border: 1px solid var(--accent);
  border-radius: 8px; background: var(--accent); color: #fff; cursor: pointer; font-family: inherit;
  display: inline-block; transition: opacity 120ms ease;
}
.btn:hover { opacity: 0.9; text-decoration: none; }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn.ghost { background: transparent; color: var(--accent); }
.status { margin-top: 14px; font-size: 14px; min-height: 1.2em; color: var(--muted); text-align: center; }
.status.success { color: #1f7a3a; }
.status.error { color: #b3261e; }

/* Sections */
section { padding: 48px 0; }
section.alt { background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2.section { font-size: clamp(26px, 4vw, 34px); font-weight: 700; letter-spacing: -0.02em; text-align: center; margin: 0 0 8px; }
p.lead { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 36px; font-size: 17px; }

/* Steps / features grid */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px;
}
.card .ico { font-size: 26px; }
.card h3 { margin: 12px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.step-num { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; }

/* Pricing */
.pricing { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; }
.plan { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.plan.featured { border-color: var(--accent); box-shadow: 0 6px 30px rgba(10,47,110,0.08); }
.plan h3 { margin: 0 0 4px; font-size: 20px; }
.plan .price { font-size: 32px; font-weight: 700; margin: 8px 0; }
.plan .price small { font-size: 15px; font-weight: 400; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; }
.plan li { padding: 6px 0 6px 26px; position: relative; color: var(--fg); font-size: 15px; }
.plan li:before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent);
  background: rgba(10,47,110,0.1); padding: 3px 10px; border-radius: 999px; margin-left: 8px; }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; }
details { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
details summary { font-weight: 600; cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details[open] summary { margin-bottom: 8px; }
details p { margin: 0; color: var(--muted); }

/* Social proof */
.quote { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; color: var(--muted); font-style: italic; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 28px 24px; margin-top: 24px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
footer .links a { color: var(--muted); margin-right: 18px; font-size: 14px; }
footer .copy { color: var(--muted); font-size: 13px; }

/* Article (legal/support) */
.article { max-width: 760px; margin: 0 auto; padding: 40px 24px 60px; }
.article h1 { font-size: clamp(28px, 5vw, 40px); letter-spacing: -0.02em; margin: 0 0 6px; }
.article .updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.article h2 { font-size: 20px; margin: 30px 0 8px; }
.article p, .article li { color: #2a2f36; }
.article ul { padding-left: 22px; }
.article .box { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; }

@media (max-width: 760px) {
  .grid, .grid.two, .pricing { grid-template-columns: 1fr; }
  form.signup { flex-direction: column; }
  .btn { width: 100%; }
  .nav .links a { margin-left: 14px; }
}
