:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --text: #1e2430;
  --muted: #5d6878;
  --primary: #2f6fed;
  --primary-dark: #1f57c5;
  --border: #dde3ee;
  --shadow: 0 10px 30px rgba(23, 31, 56, 0.08);
  --radius: 16px;
  --container: 1120px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}
.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.nav-links,
.footer-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.hero {
  padding: 4rem 0 3rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
}
h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}
h2 {
  font-size: 1.7rem;
  margin-bottom: 1rem;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.lead {
  font-size: 1.1rem;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.btn {
  display: inline-block;
  border: none;
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  text-decoration: none;
}
.btn-secondary {
  background: #eaf0ff;
  color: var(--primary);
}
.btn-secondary:hover {
  text-decoration: none;
}
.full-width {
  width: 100%;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.section {
  padding: 3.5rem 0;
}
.alt {
  background: #eef3fb;
}
.content-narrow {
  max-width: 800px;
}
.tool-form {
  display: grid;
  gap: 0.85rem;
}
input {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
}
.inline-fields {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: center;
}
.inline-symbol {
  font-weight: 700;
  color: var(--muted);
}
.result-box {
  margin-top: 1rem;
  padding: 1rem;
  background: #f4f7ff;
  border: 1px solid #d8e3ff;
  border-radius: 12px;
  font-weight: 700;
}
.faq-list,
.content-block {
  margin-top: 2rem;
}
.faq-item {
  margin-bottom: 1.25rem;
}
.text-link {
  font-weight: 700;
}
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .hero-grid,
  .cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
  }
  .inline-fields {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 2.5rem;
  }
}
