/* Beck marketing site — shared stylesheet
   Plain HTML + CSS, no frameworks, no build step.
   Light/dark via prefers-color-scheme. */

:root {
  --accent: #4A8CDB;
  --accent-strong: #2f6fbd;
  --accent-contrast: #ffffff;

  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-card: #ffffff;
  --border: #e3e8ef;
  --text: #1a2230;
  --text-soft: #4a5568;
  --text-muted: #6b7688;
  --shadow: 0 1px 3px rgba(20, 30, 50, 0.06), 0 8px 24px rgba(20, 30, 50, 0.05);

  --maxw: 1000px;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #5a97e0;
    --accent-strong: #79aef0;
    --accent-contrast: #0b1220;

    --bg: #0e131c;
    --bg-soft: #141b26;
    --bg-card: #171f2b;
    --border: #26303f;
    --text: #eef2f7;
    --text-soft: #c2cbd8;
    --text-muted: #8b96a7;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  margin: 0 0 0.4em;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 2.2em 0 0.6em;
}

h3 {
  font-size: 1.15rem;
  margin: 1.6em 0 0.4em;
}

p {
  margin: 0 0 1em;
  color: var(--text-soft);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

.brand .logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 0.98rem;
}

.nav a {
  color: var(--text-soft);
}

.nav a:hover {
  color: var(--accent-strong);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  background: var(--accent);
  color: var(--accent-contrast);
  border: 1px solid transparent;
  transition: transform 0.06s ease, background 0.15s ease;
}

.btn:hover {
  background: var(--accent-strong);
  text-decoration: none;
  color: var(--accent-contrast);
}

.btn:active {
  transform: translateY(1px);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-strong);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-soft);
  color: var(--accent-strong);
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 48px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%,
      color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%);
}

.hero .tagline {
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto 1.8em;
}

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

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 1.2em;
}

.hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1em;
}

/* ---------- Feature grid ---------- */
.features {
  padding: 24px 0 8px;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 8px;
}

.section-head h2 {
  margin-top: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.35em;
  font-size: 1.08rem;
}

.card p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--text-soft);
}

.card .ico {
  font-size: 1.4rem;
  line-height: 1;
  display: inline-block;
  margin-bottom: 10px;
}

/* ---------- Pro band ---------- */
.band {
  margin: 56px 0 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
}

.band h2 {
  margin-top: 0;
}

.price-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 22px 0 8px;
}

.price {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 22px;
  min-width: 150px;
}

.price .amt {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}

.price .lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Legal / doc pages ---------- */
.doc {
  padding: 40px 0 8px;
}

.doc h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.doc .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: -0.4em;
}

.doc article {
  max-width: 760px;
}

.doc h2 {
  font-size: 1.3rem;
  margin-top: 1.8em;
  padding-top: 0.2em;
}

.doc ul,
.doc ol {
  color: var(--text-soft);
  padding-left: 1.3em;
}

.doc li {
  margin: 0.35em 0;
}

.doc strong {
  color: var(--text);
}

.callout {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 18px 0;
  font-size: 0.96rem;
}

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px 18px;
  margin: 12px 0;
  background: var(--bg-card);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  color: var(--text);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
}

.faq details[open] summary::after {
  content: "\2013";
}

.faq details p {
  margin: 0 0 14px;
}

.contact-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin: 22px 0;
  text-align: center;
}

.contact-box .email {
  font-size: 1.2rem;
  font-weight: 700;
}

/* ---------- Blog ---------- */
.blog .lead {
  max-width: 760px;
  font-size: 1.1rem;
  color: var(--text-soft);
}

.post-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  max-width: 760px;
}

.post-list > li {
  padding: 24px 0;
  border-top: 1px solid var(--border);
}

.post-list > li:first-child {
  border-top: none;
  padding-top: 8px;
}

.post-list h2 {
  margin: 0 0 0.3em;
  font-size: 1.3rem;
}

.post-list h2 a {
  color: var(--text);
}

.post-list h2 a:hover {
  color: var(--accent-strong);
  text-decoration: none;
}

.post-date {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4em;
  letter-spacing: 0.01em;
}

.post-summary {
  margin: 0.3em 0 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.callout.cta {
  margin-top: 32px;
}

.callout.cta a {
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

.site-footer .container {
  padding-top: 32px;
  padding-bottom: 40px;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.footer-links a {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.footer-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-meta p {
  margin: 0.3em 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.disclaimer {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .nav {
    gap: 16px;
    font-size: 0.9rem;
  }
  .hero {
    padding: 48px 0 32px;
  }
}
