:root {
  --bg: #f7f4ef;
  --card: #ffffff;
  --text: #1f2933;
  --muted: #667085;
  --accent: #1f5f8b;
  --accent-dark: #174a6b;
  --border: #e5e0d8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1040px, 92%);
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 64px 0;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background: rgba(247, 244, 239, 0.92);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.nav-inner {
  width: min(1040px, 92%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.logo {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.kicker {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.05;
  margin: 0 0 20px;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.04em;
}

p {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 22px;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(31, 41, 51, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(31, 41, 51, 0.08);
}

.card h3 {
  font-size: 25px;
  margin: 0 0 8px;
}

.card p {
  font-size: 16px;
  margin-bottom: 0;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: white;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
}

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

.section {
  padding: 110px 0 70px;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}

.rtl {
  direction: rtl;
  text-align: right;
  font-family: Tahoma, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.rtl .nav-inner {
  direction: rtl;
}

.rtl h1,
.rtl h2 {
  letter-spacing: -0.02em;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.tag {
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    gap: 12px;
    font-size: 13px;
  }

  .hero {
    padding-top: 100px;
  }
}
