:root {
  --ink: #29364f;
  --blue: #50698e;
  --muted: #7e8899;
  --paper: rgba(255, 255, 255, 0.84);
  --peach: #efaaa0;
  --lavender: #c7b8ed;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #fbfaf8;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Yu Gothic", sans-serif;
  background:
    radial-gradient(circle at 12% 6%, rgba(218, 230, 248, 0.72), transparent 31rem),
    radial-gradient(circle at 95% 18%, rgba(250, 222, 215, 0.68), transparent 30rem),
    radial-gradient(circle at 20% 92%, rgba(226, 217, 246, 0.55), transparent 31rem),
    #fbfaf8;
}

body::before {
  position: fixed;
  z-index: -1;
  top: -38vw;
  left: -20vw;
  width: 116vw;
  height: 116vw;
  max-width: 1100px;
  max-height: 1100px;
  border: 2px solid rgba(150, 172, 207, 0.18);
  border-right-color: rgba(239, 170, 160, 0.42);
  border-bottom-color: rgba(199, 184, 237, 0.36);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

.site-shell,
.article-shell {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 64px 0 40px;
}

.hero {
  padding: 48px 40px;
  border: 1px solid rgba(80, 105, 142, 0.14);
  border-radius: 40px;
  background: var(--paper);
  box-shadow: 0 18px 60px rgba(80, 105, 142, 0.09);
  backdrop-filter: blur(18px);
}

.life-mark {
  position: relative;
  width: 76px;
  height: 76px;
  margin-bottom: 28px;
  border: 6px solid #e5eaf1;
  border-right-color: var(--lavender);
  border-bottom-color: var(--peach);
  border-radius: 50%;
}

.life-mark::after {
  position: absolute;
  right: -7px;
  top: 14px;
  width: 13px;
  height: 13px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--peach);
  content: "";
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(3.2rem, 12vw, 6.4rem);
  font-weight: 750;
  letter-spacing: 0.18em;
  line-height: 1;
}

.lead {
  margin: 28px 0 0;
  font-size: clamp(1.1rem, 3.5vw, 1.45rem);
  font-weight: 600;
  line-height: 1.9;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.link-card {
  display: flex;
  min-height: 132px;
  padding: 26px;
  border: 1px solid rgba(80, 105, 142, 0.14);
  border-radius: 28px;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
  box-shadow: 0 12px 40px rgba(80, 105, 142, 0.07);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  outline: none;
  box-shadow: 0 16px 46px rgba(80, 105, 142, 0.13);
  transform: translateY(-2px);
}

.link-card span {
  color: var(--blue);
  font-weight: 750;
}

.link-card small {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.article-shell {
  padding-top: 36px;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 650;
  text-decoration: none;
}

.article {
  padding: clamp(28px, 7vw, 56px);
  border: 1px solid rgba(80, 105, 142, 0.14);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 60px rgba(80, 105, 142, 0.08);
}

.article h1 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 7vw, 3.6rem);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.article h2 {
  margin: 38px 0 10px;
  color: var(--blue);
  font-size: 1.15rem;
}

.article p,
.article li {
  color: #596476;
  line-height: 1.9;
}

.article ul {
  padding-left: 1.3em;
}

.contact {
  color: var(--blue);
  font-weight: 700;
}

footer {
  padding: 30px 4px 0;
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}

@media (max-width: 560px) {
  .site-shell,
  .article-shell {
    width: min(100% - 28px, 760px);
    padding-top: 28px;
  }

  .hero {
    padding: 34px 26px;
    border-radius: 30px;
  }

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

  .link-card {
    min-height: 104px;
  }
}
