:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-alt: #eef3f9;
  --text: #162033;
  --muted: #5f6f86;
  --line: #d8e1ec;
  --primary: #1f5eff;
  --primary-dark: #194ed4;
  --accent: #0ea5a4;
  --shadow: 0 12px 32px rgba(17, 24, 39, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbff 0%, #f3f6fb 100%);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 251, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(216, 225, 236, 0.7);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), #74a7ff);
  color: white;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(31, 94, 255, 0.24);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.current {
  color: var(--text);
  text-decoration: none;
}

.hero {
  padding: 72px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eaf1ff;
  color: var(--primary-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.15rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 720px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.button-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.button-primary:hover {
  background: var(--primary-dark);
}

.hero-card,
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 28px;
}

.stat-list {
  display: grid;
  gap: 16px;
}

.stat {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.stat:last-child {
  border-bottom: 0;
}

.stat-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.stat-value {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 4px;
}

.section {
  padding: 32px 0 72px;
}

.section-header {
  margin-bottom: 24px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 24px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card-title {
  margin-bottom: 10px;
}

.app-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
}

.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dce9ff, #eef5ff);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 1.1rem;
}

.app-meta {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.95rem;
}

.placeholder-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef7f7;
  color: #0f6f6f;
  font-size: 0.86rem;
  font-weight: 700;
}

.cta {
  padding: 28px;
  background: linear-gradient(135deg, #f0f6ff, #f8fbff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.page-hero {
  padding: 56px 0 18px;
}

.page-intro {
  max-width: 760px;
  color: var(--muted);
}

.content {
  padding: 8px 0 72px;
}

.content-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.content-block + .content-block {
  margin-top: 20px;
}

.list-clean {
  margin: 0;
  padding-left: 20px;
}

.list-clean li + li {
  margin-top: 8px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 40px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.muted {
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    padding: 14px 0;
    flex-direction: column;
  }

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