:root {
  --bg: #f3f5f8;
  --surface: #ffffff;
  --border: #d9e0e7;
  --text: #1f2937;
  --text-soft: #5b6573;

  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);

  --brand-neutral: #2f3a4a;
  --accent: #e4005a;

  --danger-bg: #fff2f5;
  --danger-border: #f3b8c9;
  --danger-text: #8f1239;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #eef2f6 0%, #f7f9fb 100%);
  color: var(--text);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HERO */
.hero {
  width: calc(100% - 48px);
  max-width: 1280px;
  margin: 28px auto 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero__logo-wrap {
  background: #ffffff;
  padding: 22px 22px 10px;
  border-bottom: 1px solid #edf1f5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__logo {
  width: 100%;
  max-width: 500px;
  height: auto;
}

.hero__content {
  padding: 28px 24px 30px;
  text-align: center;
  background: linear-gradient(135deg, rgba(66, 182, 73, 0.04) 0%, rgba(228, 0, 90, 0.05) 100%);
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f3f6fa;
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.hero__content h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
  color: var(--brand-neutral);
  margin-bottom: 10px;
}

.hero__content p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-soft);
}

/* CATEGORY */
.category {
  margin-bottom: 32px;
}

.category__header {
  margin-bottom: 16px;
}

.category__header h2 {
  font-size: 1.35rem;
  color: var(--brand-neutral);
  margin-bottom: 6px;
}

.category__header p {
  color: var(--text-soft);
  line-height: 1.55;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

/* CARD */
.card {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.11);
  border-color: #c7d2de;
}

.card__icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #f5f7fa;
  border: 1px solid #e4e9ef;
  font-size: 1.4rem;
  margin: 0 auto;
}

.card__body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card__body h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
  color: var(--text);
}

.card__body p {
  color: var(--text-soft);
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 580px;
}

.card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
}

.card__action::after {
  content: "→";
  transition: transform 0.2s ease;
}

.card:hover .card__action::after {
  transform: translateX(3px);
}

/* DANGER CARD */
.card--danger {
  background: var(--danger-bg);
  border-color: var(--danger-border);
}

.card--danger .card__icon {
  background: #fff7f9;
  border-color: #f2c7d3;
}

.card--danger .card__body h3 {
  color: var(--danger-text);
}

.card--danger .card__action {
  color: var(--danger-text);
}

/* FOOTER */
.footer {
  width: 100%;
  max-width: 1280px;
  margin: 20px auto 32px;
  padding: 0 24px;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.92rem;
}

/* TABLET */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* MOBILE */
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    width: calc(100% - 32px);
    margin-top: 16px;
    border-radius: 18px;
  }

  .hero__logo-wrap {
    padding: 18px 16px 8px;
  }

  .hero__content {
    padding: 22px 16px 24px;
  }

  .category {
    margin-bottom: 24px;
  }

  .card {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .card__icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    font-size: 1.2rem;
  }

  .category__header h2 {
    font-size: 1.2rem;
  }

  .card__body h3 {
    font-size: 1rem;
  }

  .card__body p {
    font-size: 0.93rem;
  }

  .footer {
    padding: 0 16px;
  }
}