:root {
  color-scheme: light;
  --ink: #111113;
  --muted: #8d8a8d;
  --line: rgba(17, 17, 19, 0.09);
  --paper: #f7f7f4;
  --card: #ffffff;
  --soft: #f0efec;
  --blue: #0a84ff;
  --shadow: 0 18px 44px rgba(16, 15, 13, 0.09);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.55;
}

.page-shell {
  width: min(780px, calc(100% - 28px));
  margin: 0 auto;
  padding: 20px 0 28px;
}

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border-radius: 0 0 34px 34px;
  color: #fff;
  background: #141212;
  box-shadow: var(--shadow);
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__overlay {
  background:
    linear-gradient(180deg, rgba(13, 12, 12, 0.16) 0%, rgba(13, 12, 12, 0.26) 48%, rgba(13, 12, 12, 0.72) 100%),
    radial-gradient(circle at 50% 95%, rgba(0, 0, 0, 0.4), transparent 34%);
}

.hero__topline {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(22px);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero__topline img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  object-fit: cover;
}

.hero h1 {
  position: absolute;
  right: 30px;
  bottom: 86px;
  left: 30px;
  z-index: 2;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 10vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.3);
}

.hero p {
  position: absolute;
  right: 30px;
  bottom: 34px;
  left: 30px;
  z-index: 2;
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2.8vw, 1.28rem);
  font-weight: 600;
}

.content-card {
  margin-top: 18px;
  padding: clamp(22px, 5vw, 34px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 10px 32px rgba(24, 20, 17, 0.06);
}

.content-card h1 {
  margin-top: 0;
  font-size: clamp(1.85rem, 5vw, 2.8rem);
  line-height: 1;
}

.content-card h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.content-card p,
.content-card li {
  color: var(--muted);
  font-size: 1rem;
}

.content-card a {
  color: var(--blue);
  font-weight: 700;
}

.content-card ul {
  padding-left: 1.2rem;
}

.link-grid {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.link-grid a {
  position: relative;
  display: block;
  min-height: 92px;
  padding: 16px 48px 16px 76px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 24px rgba(24, 20, 17, 0.05);
  text-decoration: none;
}

.link-grid a::before {
  content: attr(data-icon);
  position: absolute;
  top: 50%;
  left: 16px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  color: var(--ink);
  background: var(--soft);
  transform: translateY(-50%);
  font-size: 1.25rem;
}

.link-grid a::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--muted);
  transform: translateY(-50%);
  font-size: 2rem;
  line-height: 1;
}

.link-grid strong {
  display: block;
  margin-bottom: 2px;
  font-size: 1.15rem;
}

.link-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 20px 0 4px;
  color: var(--muted);
}

.footer-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: inherit;
  background: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 720px) {
  .page-shell {
    width: 100%;
    padding-top: 0;
  }

  .hero {
    min-height: 660px;
    border-radius: 0 0 24px 24px;
  }

  .hero h1,
  .hero p {
    right: 24px;
    left: 24px;
  }

  .content-card {
    margin: 14px 12px 0;
  }

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

  .footer-nav {
    flex-wrap: wrap;
  }
}
