/* OPERICS — marketing site stylesheet.
   Minimal, clean, brand-forward. The app itself has its own UI; this is only
   the public marketing site. */
:root {
  --ops-primary: #0E7C7B;      /* teal, matches the app's primary */
  --ops-primary-dark: #095958;
  --ops-accent: #F59E0B;
  --ops-ink: #0F172A;
  --ops-slate: #475569;
  --ops-slate-light: #94A3B8;
  --ops-bg: #FFFFFF;
  --ops-bg-soft: #F8FAFC;
  --ops-border: #E2E8F0;
  --ops-radius: 12px;
  --ops-radius-sm: 8px;
  --ops-maxw: 1120px;
  --ops-maxw-narrow: 680px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ops-ink);
  background: var(--ops-bg);
  line-height: 1.6;
  font-size: 17px;
}
a { color: var(--ops-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 0.5em; }
h3 { font-size: 1.2rem; margin: 0 0 0.4em; }

.container { max-width: var(--ops-maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--ops-maxw-narrow); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--ops-slate); max-width: 60ch; }
.muted { color: var(--ops-slate-light); font-size: 0.9rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--ops-border); background: var(--ops-bg); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { font-weight: 800; font-size: 1.3rem; letter-spacing: 0.04em; color: var(--ops-ink); }
.main-nav { display: flex; gap: 20px; }
.main-nav a { color: var(--ops-slate); font-weight: 500; }
.main-nav a:hover { color: var(--ops-ink); text-decoration: none; }
.lang-switch { margin-left: auto; font-size: 0.85rem; color: var(--ops-slate-light); }
.lang-switch a { color: var(--ops-slate); }
.lang-active { font-weight: 700; color: var(--ops-primary) !important; }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 24px; border-radius: var(--ops-radius-sm);
  font-weight: 600; font-size: 1rem; cursor: pointer; border: 2px solid transparent;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--ops-primary); color: #fff; }
.btn-primary:hover { background: var(--ops-primary-dark); text-decoration: none; }
.btn-ghost { border-color: var(--ops-border); color: var(--ops-ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ops-slate-light); text-decoration: none; }

/* Hero */
.hero { padding: 96px 0 80px; background: linear-gradient(180deg, var(--ops-bg-soft), var(--ops-bg)); }
.hero-accent { color: var(--ops-primary); }
.hero .lead { margin: 24px 0 32px; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* Features */
.features { padding: 80px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; margin-top: 40px; }
.feature h3 { color: var(--ops-primary); }
.feature p { color: var(--ops-slate); margin: 0; }

/* Pricing */
.pricing { padding: 80px 0; background: var(--ops-bg-soft); }
.pricing .lead { margin-bottom: 48px; }
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.tier { background: var(--ops-bg); border: 1px solid var(--ops-border); border-radius: var(--ops-radius); padding: 32px; }
.tier-highlight { border-color: var(--ops-primary); box-shadow: 0 4px 24px rgba(14,124,123,.12); }
.tier-price { font-size: 2.5rem; font-weight: 800; margin: 8px 0 24px; }
.tier-period { font-size: 1rem; font-weight: 400; color: var(--ops-slate); }
.tier ul { list-style: none; padding: 0; margin: 0 0 24px; }
.tier li { padding: 6px 0 6px 28px; position: relative; color: var(--ops-slate); }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--ops-primary); font-weight: 700; }

/* Contact + legal */
.contact, .legal { padding: 80px 0; }
.contact-form { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; color: var(--ops-slate); }
.contact-form input, .contact-form textarea {
  padding: 12px; border: 1px solid var(--ops-border); border-radius: var(--ops-radius-sm);
  font-family: var(--font); font-size: 1rem; color: var(--ops-ink);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--ops-primary); border-color: var(--ops-primary); }
.success { color: var(--ops-primary); font-weight: 600; }
.error { color: #DC2626; }

/* Footer */
.site-footer { border-top: 1px solid var(--ops-border); padding: 32px 0; color: var(--ops-slate); font-size: 0.9rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { color: var(--ops-slate); }

/* 404 */
.not-found { padding: 120px 0; }
.not-found h1 { font-size: 5rem; color: var(--ops-primary); margin: 0; }

/* Mobile */
@media (max-width: 640px) {
  .header-inner { gap: 12px; }
  .main-nav { gap: 12px; font-size: 0.95rem; }
  .lang-switch { font-size: 0.8rem; }
  .hero { padding: 64px 0 48px; }
  .cta-row .btn { flex: 1; min-width: 140px; text-align: center; }
}
