/* Shared style for the public ricardo.team site. Plain CSS, no build step. */
:root {
  --orange: #f5700a;
  --orange-deep: #d75a00;
  --orange-bg: #fff5e6;
  --ink: #1f1f1f;
  --ink-soft: #5f5f5f;
  --ink-faint: #8a8a8a;
  --bg: #fafafa;
  --card: #ffffff;
  --border: #e6e6e6;
  --teal: #0e9493;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.wrapper { max-width: 880px; margin: 0 auto; padding: 0 22px; }

/* ── Header ─────────────────────────────────────────────────────────── */
header.site-header {
  background: linear-gradient(180deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: #fff;
  padding: 22px 0;
}
header.site-header .wrapper {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.brand {
  font-size: 26px; font-weight: 900; letter-spacing: -0.5px;
  color: #fff;
}
.brand .sub {
  display: block; font-size: 13px; font-weight: 500;
  letter-spacing: 0.4px; opacity: 0.85; margin-top: 2px;
}
nav.top a {
  color: #fff; font-weight: 600; font-size: 14px;
  margin-left: 18px;
}

/* ── Hero ───────────────────────────────────────────────────────────── */
section.hero {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}
section.hero h1 {
  margin: 0 0 14px 0;
  font-size: 36px; font-weight: 900; line-height: 1.2;
  letter-spacing: -0.6px;
}
section.hero .lede {
  margin: 0 0 22px 0;
  font-size: 17px; color: var(--ink-soft); max-width: 640px;
}
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--orange-bg);
  color: var(--orange-deep);
  font-size: 12px; font-weight: 700; letter-spacing: 0.4px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid #ffdfbf;
}
.badge.teal { background: #e6f7f7; color: var(--teal); border-color: #c6ebe9; }

/* ── Content sections ───────────────────────────────────────────────── */
section.content { padding: 48px 0; }
section.content h2 {
  font-size: 24px; font-weight: 800; margin: 0 0 16px 0; letter-spacing: -0.3px;
}
section.content h3 {
  font-size: 18px; font-weight: 700; margin: 28px 0 10px 0;
}
section.content p { margin: 0 0 14px 0; color: var(--ink-soft); }
section.content ul { padding-left: 20px; }
section.content li { margin: 6px 0; color: var(--ink-soft); }

.feature-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 28px 0;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}
.feature-card h4 {
  margin: 0 0 6px 0; font-size: 15px; font-weight: 700;
  color: var(--ink);
}
.feature-card p {
  margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.5;
}

/* ── Subscribe form ─────────────────────────────────────────────────── */
section.subscribe {
  background: var(--orange-bg);
  border-top: 1px solid #ffdfbf;
  border-bottom: 1px solid #ffdfbf;
  padding: 48px 0;
}
section.subscribe h2 {
  margin: 0 0 8px 0; font-size: 22px; font-weight: 800;
}
section.subscribe p {
  margin: 0 0 18px 0; color: var(--ink-soft); max-width: 560px;
}
form.subscribe-form {
  display: flex; gap: 8px; flex-wrap: wrap; max-width: 520px;
  margin-bottom: 12px;
}
form.subscribe-form input[type=email] {
  flex: 1 1 240px;
  font: inherit; padding: 12px 14px;
  border: 1px solid #d6d6d6; border-radius: 8px;
  background: #fff;
  outline: none;
}
form.subscribe-form input[type=email]:focus {
  border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245,112,10,0.18);
}
form.subscribe-form button {
  font: inherit; font-weight: 700;
  background: var(--orange); color: #fff;
  border: 0; padding: 12px 22px; border-radius: 8px;
  cursor: pointer;
}
form.subscribe-form button:hover { background: var(--orange-deep); }
form.subscribe-form button:disabled { opacity: 0.6; cursor: default; }
.consent {
  font-size: 12px; color: var(--ink-faint); max-width: 520px;
  line-height: 1.5;
}
.consent a { color: var(--orange-deep); }
.subscribe-result {
  margin-top: 14px; font-size: 14px; font-weight: 600;
}
.subscribe-result.ok { color: #15803d; }
.subscribe-result.err { color: #b91c1c; }

/* ── Footer ─────────────────────────────────────────────────────────── */
footer.site-footer {
  background: #1f1f1f; color: #aaa;
  padding: 32px 0 28px 0; font-size: 13px;
}
footer.site-footer a { color: #fff; }
footer.site-footer .wrapper {
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 18px;
}
footer.site-footer .col { min-width: 200px; }
footer.site-footer h5 {
  color: #fff; font-size: 12px; letter-spacing: 0.6px;
  margin: 0 0 10px 0; text-transform: uppercase;
}
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer li { margin: 5px 0; }
.legal {
  border-top: 1px solid #333; margin-top: 26px; padding-top: 16px;
  font-size: 12px; color: #777;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* ── Plain article (for privacy / terms / imprint) ──────────────────── */
article.legal-doc {
  background: #fff; padding: 40px 0;
}
article.legal-doc h1 {
  font-size: 28px; font-weight: 800; margin: 0 0 6px 0; letter-spacing: -0.4px;
}
article.legal-doc .updated {
  color: var(--ink-faint); font-size: 13px; margin: 0 0 22px 0;
}
article.legal-doc h2 {
  font-size: 19px; font-weight: 700; margin: 26px 0 10px 0;
}
article.legal-doc p, article.legal-doc li {
  color: var(--ink-soft); font-size: 15px;
}
article.legal-doc ul { padding-left: 22px; }
