:root {
  --bg: #f7f8fb;
  --card: #ffffff;
  --text: #1b1f2a;
  --muted: #5b6475;
  --line: #e6e9ef;
  --accent: #2563eb;
  --accent-dark: #173b8f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

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

.header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  gap: 20px;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.menu {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.menu a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.hero {
  padding: 78px 0 48px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: #eaf1ff;
  color: var(--accent-dark);
  border: 1px solid #d7e5ff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -0.05em;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 720px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid var(--line);
}

.button.primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.button.secondary {
  background: #ffffff;
  color: var(--text);
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 14px 40px rgba(25, 35, 60, 0.08);
}

.panel h2 {
  margin-top: 0;
  font-size: 20px;
}

.section {
  padding: 54px 0;
}

.section-title {
  font-size: 30px;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}

.section-desc {
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 760px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

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

.notice {
  background: #fffaf0;
  border: 1px solid #f1dfb8;
  color: #60420b;
  border-radius: 14px;
  padding: 18px;
}

.footer {
  background: #101624;
  color: #d8deea;
  padding: 34px 0;
  margin-top: 30px;
}

.footer a {
  color: #ffffff;
}

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

.small {
  font-size: 13px;
  color: #aeb7c8;
}

.page {
  padding: 54px 0;
}

.page-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}

.page-card h1 {
  font-size: 38px;
}

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

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .menu {
    justify-content: flex-start;
  }
}
