:root {
  --bg: #f7f9ff;
  --card: #ffffff;
  --ink: #1f2937;
  --muted: #64748b;
  --brand: #2563eb;
  --brand-dark: #174aa7;
  --accent: #f59e0b;
  --line: #e5e7eb;
  --soft-blue: #eef5ff;
  --soft-yellow: #fff7db;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;

  color: var(--ink);
  background:
    linear-gradient(
      180deg,
      var(--soft-blue) 0%,
      var(--bg) 45%,
      #ffffff 100%
    );

  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  line-height: 1.65;
}

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

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;

  padding: 20px 0;
}

.site-logo {
  position: relative;
  display: inline-block;

  color: var(--ink);
  text-decoration: none;

  font-size: 24px;
  font-weight: 1000;
  line-height: 1.2;
  white-space: nowrap;
}

.site-logo span {
  position: absolute;

  right: -55px;
  bottom: 2px;

  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;

  color: #f5a300;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.top-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

  gap: 18px;
}

.top-nav a {
  color: var(--muted);
  text-decoration: none;

  font-size: 16px;
  font-weight: 700;

  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.top-nav a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

.hero {
  padding: 54px 0 42px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 6px 14px;
  border-radius: 999px;

  color: #8a5200;
  background: var(--soft-yellow);

  font-weight: 900;
}

.hero h1 {
  margin: 18px 0 14px;

  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.05;
}

.hero p {
  max-width: 760px;
  margin: 0 auto 28px;

  color: var(--muted);

  font-size: clamp(17px, 2.5vw, 22px);
}

.button-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

  gap: 12px;
}

.btn {
  display: inline-block;

  padding: 12px 18px;
  border-radius: 16px;

  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
  text-decoration: none;

  font-weight: 900;
}

.btn.secondary {
  color: var(--brand);
  background: #ffffff;
  border: 1px solid #dbeafe;
}

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

  margin: 28px 0 48px;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;

  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.card h2,
.card h3 {
  margin-top: 0;
}

.icon {
  font-size: 38px;
}

.page {
  margin: 24px auto 52px;
}

.page h1 {
  margin-top: 0;

  font-size: 36px;
  line-height: 1.2;
}

.notice {
  padding: 16px 18px;
  border: 1px solid #fed7aa;
  border-radius: 18px;
  margin: 18px 0;

  background: #fff7ed;
}

.note {
  padding: 12px 14px;
  border-left: 4px solid var(--accent);
  border-radius: 12px;

  color: var(--muted);
  background: #fffaf0;
}

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

ul {
  padding-left: 22px;
}

code {
  padding: 2px 6px;
  border-radius: 8px;

  background: #f1f5f9;
}

a {
  color: var(--brand);
}

.site-footer {
  padding: 24px 0;
  border-top: 1px solid var(--line);

  color: var(--muted);

  font-size: 14px;
}

.site-footer a {
  color: var(--muted);
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .top-nav {
    justify-content: flex-start;
  }

  .hero {
    text-align: left;
  }

  .button-row {
    justify-content: flex-start;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}
