body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 62% 8%, rgba(255, 218, 145, 0.24), transparent 24rem),
    radial-gradient(circle at 20% 34%, rgba(67, 123, 168, 0.18), transparent 28rem),
    linear-gradient(180deg, #061321 0%, #071725 52%, #050d18 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(6, 19, 33, 0.28), rgba(6, 19, 33, 0.84)),
    url("/packages/design-system/assets/vitamoria-sky.svg") center top / cover no-repeat;
  opacity: 0.62;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 48%, rgba(255, 229, 166, 0.14) 49%, transparent 50%),
    radial-gradient(circle at 50% 10%, rgba(255, 236, 186, 0.24), transparent 18rem);
}

.site-header,
.hero-section,
.recent-section,
.how-section,
.split-section,
.journal-section,
.cta-section,
.site-footer {
  width: min(100% - 48px, 1440px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 84px;
  border-bottom: 1px solid rgba(217, 162, 74, 0.24);
  background: rgba(6, 19, 33, 0.76);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--vm-text);
  text-decoration: none;
}

.logo-mark {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--vm-border);
  border-radius: 999px;
  color: var(--vm-gold-light);
  background: radial-gradient(circle, rgba(217, 162, 74, 0.28), rgba(255, 255, 255, 0.04));
  box-shadow: var(--vm-shadow-gold);
}

.logo b {
  display: block;
  color: var(--vm-gold-light);
  font-family: var(--vm-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.logo small {
  display: block;
  margin-top: 4px;
  color: var(--vm-muted);
  font-size: 13px;
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.site-header nav a {
  position: relative;
  color: var(--vm-text);
  text-decoration: none;
  font-size: 14px;
}

.site-header nav a.active,
.site-header nav a:hover {
  color: var(--vm-gold-light);
}

.site-header nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--vm-gold), transparent);
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.language-button {
  padding: 0 14px;
}

.hero-section {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  padding: 56px 28px 40px;
}

.hero-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 0 0 var(--vm-radius-xl) var(--vm-radius-xl);
  background:
    linear-gradient(90deg, rgba(6, 19, 33, 0.84) 0 36%, rgba(6, 19, 33, 0.32) 62%, rgba(6, 19, 33, 0.74) 100%),
    url("/packages/design-system/assets/vitamoria-sky.svg") center / cover;
  box-shadow: inset 0 -120px 120px rgba(6, 19, 33, 0.74);
}

.angel-glow {
  position: absolute;
  right: 24%;
  top: 8%;
  width: 360px;
  height: 470px;
  border-radius: 48% 48% 42% 42%;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(255, 244, 212, 0.72), transparent 24%),
    radial-gradient(ellipse at 24% 34%, rgba(255, 255, 255, 0.35), transparent 28%),
    radial-gradient(ellipse at 77% 31%, rgba(255, 255, 255, 0.42), transparent 30%),
    linear-gradient(180deg, rgba(255, 235, 190, 0.32), rgba(255, 255, 255, 0.04));
  opacity: 0.72;
  filter: blur(1px) drop-shadow(0 0 60px rgba(255, 220, 149, 0.48));
}

.angel-glow::before,
.angel-glow::after {
  content: "";
  position: absolute;
  top: 90px;
  width: 220px;
  height: 270px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.44), rgba(255, 225, 170, 0.05));
  filter: blur(1px);
}

.angel-glow::before {
  left: -170px;
  border-radius: 90% 8% 90% 8%;
  transform: rotate(-26deg);
}

.angel-glow::after {
  right: -170px;
  border-radius: 8% 90% 8% 90%;
  transform: rotate(26deg);
}

.dove {
  position: absolute;
  display: block;
  width: 72px;
  height: 42px;
  border-radius: 55% 45% 50% 50%;
  background: linear-gradient(145deg, #fff, #f5dca7);
  filter: drop-shadow(0 0 24px rgba(255, 232, 174, 0.72));
}

.dove::before,
.dove::after {
  content: "";
  position: absolute;
  background: inherit;
}

.dove::before {
  left: -42px;
  top: -26px;
  width: 88px;
  height: 56px;
  border-radius: 86% 10% 86% 10%;
  transform: rotate(-22deg);
}

.dove::after {
  right: -38px;
  top: -14px;
  width: 60px;
  height: 40px;
  border-radius: 10% 86% 10% 86%;
  transform: rotate(28deg);
}

.dove-one {
  left: 38%;
  top: 90px;
  transform: scale(0.8) rotate(-14deg);
}

.light-gate {
  position: absolute;
  right: 28%;
  bottom: 115px;
  width: 170px;
  height: 260px;
  border: 22px solid rgba(255, 236, 183, 0.54);
  border-bottom: 0;
  border-radius: 100px 100px 0 0;
  box-shadow: 0 0 70px rgba(255, 222, 147, 0.42), inset 0 0 34px rgba(255, 244, 212, 0.46);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 70px 0 160px;
}

.hero-content h1,
.how-section h2,
.split-section h2,
.journal-section h2,
.recent-section h2,
.cta-section h2 {
  margin: 0;
  color: var(--vm-gold-light);
  font-family: var(--vm-display);
  font-weight: 400;
}

.hero-content h1 {
  font-size: clamp(46px, 5.3vw, 76px);
  line-height: 1.16;
}

.hero-content p {
  max-width: 500px;
  margin: 24px 0 0;
  color: #f4f7fb;
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero-actions button {
  min-width: 240px;
  padding: 0 22px;
}

.feature-panel {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 40px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--vm-border);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(11, 28, 45, 0.68);
  backdrop-filter: blur(18px);
}

.feature-panel article {
  min-height: 150px;
  padding: 22px 20px;
  border-right: 1px solid rgba(217, 162, 74, 0.2);
  text-align: center;
}

.feature-panel article:last-child {
  border-right: 0;
}

.feature-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  place-items: center;
  border-radius: 999px;
  color: var(--vm-gold-light);
  background: radial-gradient(circle, rgba(217, 162, 74, 0.3), rgba(255, 255, 255, 0.03));
  box-shadow: var(--vm-shadow-gold);
  font-size: 27px;
}

.candle-icon,
.step-candle,
.mini-candle {
  position: relative;
}

.candle-icon::before,
.step-candle::before,
.mini-candle::before {
  content: "";
  display: block;
  width: 17px;
  height: 28px;
  border-radius: 7px 7px 4px 4px;
  background: linear-gradient(180deg, #fff2cd, #c98728);
}

.candle-icon::after,
.step-candle::after,
.mini-candle::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 7px;
  height: 13px;
  border-radius: 50% 50% 50% 0;
  background: #fff6cf;
  box-shadow: 0 0 16px #ffd987;
  transform: translateX(-50%) rotate(18deg);
}

.feature-panel h2,
.why-grid h3,
.journal-grid h3,
.memorial-card h3 {
  margin: 0;
  color: var(--vm-text);
}

.feature-panel h2 {
  font-size: 16px;
}

.feature-panel p {
  margin: 9px 0 0;
  color: var(--vm-muted);
  font-size: 13px;
  line-height: 1.55;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.recent-section,
.how-section,
.split-section,
.journal-section,
.cta-section {
  padding-top: 56px;
}

.recent-section h2,
.how-section h2,
.journal-section h2 {
  font-size: 28px;
}

.link-button {
  border: 0;
  color: var(--vm-gold-light);
  background: transparent;
}

.memorial-carousel {
  display: grid;
  grid-template-columns: auto repeat(5, minmax(0, 1fr)) auto;
  gap: 18px;
  align-items: center;
}

.round-control {
  width: 44px;
  height: 44px;
  border: 1px solid var(--vm-border);
  border-radius: 999px;
  color: var(--vm-gold-light);
  background: rgba(7, 18, 31, 0.72);
}

.memorial-card,
.journal-grid article,
.why-grid article,
.cta-section,
.quote-card {
  border: 1px solid var(--vm-border);
  border-radius: 14px;
  background: rgba(11, 28, 45, 0.72);
  box-shadow: var(--vm-shadow-soft);
  backdrop-filter: blur(16px);
}

.memorial-card {
  min-height: 245px;
  display: grid;
  align-content: end;
  padding: 16px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(7, 17, 29, 0.92)),
    url("/packages/design-system/assets/vitamoria-sky.svg") center / cover;
}

.portrait {
  display: block;
  width: 120px;
  height: 122px;
  margin: 0 auto 18px;
  border-radius: 46% 46% 40% 40%;
  background:
    radial-gradient(circle at 50% 17%, #fff3d7 0 16%, transparent 17%),
    radial-gradient(circle at 50% 37%, #d8ad83 0 22%, transparent 23%),
    linear-gradient(180deg, #dfe9f4, #9fb1c1);
  box-shadow: 0 0 42px rgba(255, 227, 165, 0.44);
}

.portrait-2 {
  background:
    radial-gradient(circle at 50% 17%, #fff3d7 0 18%, transparent 19%),
    radial-gradient(circle at 50% 37%, #e3c1a8 0 22%, transparent 23%),
    linear-gradient(180deg, #f2e2d5, #adbfcc);
}

.portrait-3,
.portrait-4 {
  background:
    radial-gradient(circle at 50% 17%, #e6d8c6 0 16%, transparent 17%),
    radial-gradient(circle at 50% 37%, #d3a275 0 22%, transparent 23%),
    linear-gradient(180deg, #d5e0ea, #97a5b0);
}

.memorial-card p {
  margin: 8px 0 0;
  color: var(--vm-muted);
}

.memorial-card small {
  margin-top: 12px;
  color: var(--vm-gold-light);
}

.mini-candle {
  display: inline-block;
  width: 14px;
  height: 22px;
  margin-right: 7px;
  vertical-align: -5px;
}

.mini-candle::before {
  width: 14px;
  height: 21px;
}

.mini-candle::after {
  top: -8px;
}

.how-section {
  text-align: center;
}

.how-section h2 {
  position: relative;
  display: inline-block;
}

.how-section h2::before,
.how-section h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 190px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--vm-gold));
}

.how-section h2::before {
  right: calc(100% + 24px);
}

.how-section h2::after {
  left: calc(100% + 24px);
  transform: scaleX(-1);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.steps article {
  position: relative;
  min-height: 150px;
  padding: 0 20px;
  text-align: left;
}

.steps span {
  position: absolute;
  left: 70px;
  top: -7px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  color: var(--vm-bg);
  background: var(--vm-gold-light);
  font-size: 12px;
}

.steps i {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid var(--vm-border);
  border-radius: 999px;
  color: var(--vm-gold-light);
  font-style: normal;
  font-size: 28px;
  background: rgba(217, 162, 74, 0.08);
}

.steps h3,
.steps p {
  margin: 12px 0 0;
}

.steps p {
  color: var(--vm-muted);
  line-height: 1.55;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.quote-card {
  min-height: 300px;
  display: grid;
  align-content: center;
  padding: 44px;
  background:
    linear-gradient(90deg, rgba(6, 19, 33, 0.84), rgba(6, 19, 33, 0.22)),
    url("/packages/design-system/assets/vitamoria-sky.svg") center / cover;
}

.quote-card h2 {
  font-size: 34px;
  line-height: 1.35;
}

.quote-card button {
  width: fit-content;
  margin-top: 28px;
  padding: 0 22px;
}

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

.why-grid article {
  min-height: 130px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.why-grid span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 14px;
  color: var(--vm-gold-light);
  background: rgba(217, 162, 74, 0.11);
  font-size: 26px;
}

.why-grid p {
  margin: 7px 0 0;
  color: var(--vm-muted);
  line-height: 1.5;
}

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

.journal-grid article {
  overflow: hidden;
}

.article-art {
  display: block;
  height: 190px;
  background: url("/packages/design-system/assets/vitamoria-sky.svg") center / cover;
}

.candle-scene {
  background:
    radial-gradient(circle at 50% 62%, rgba(255, 220, 142, 0.56), transparent 22%),
    url("/packages/design-system/assets/vitamoria-sky.svg") center / cover;
}

.tree-scene {
  background:
    linear-gradient(120deg, rgba(6, 19, 33, 0.1), rgba(6, 19, 33, 0.55)),
    url("/packages/design-system/assets/vitamoria-sky.svg") center / cover;
}

.sky-scene {
  background: url("/packages/design-system/assets/vitamoria-sky.svg") center top / cover;
}

.journal-grid h3,
.journal-grid p {
  margin: 18px;
}

.journal-grid p {
  color: var(--vm-muted);
}

.cta-section {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 24px;
}

.cta-art {
  height: 116px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 64%, rgba(255, 221, 143, 0.58), transparent 24%),
    url("/packages/design-system/assets/vitamoria-sky.svg") center / cover;
}

.cta-section h2 {
  font-size: 32px;
}

.cta-section p {
  color: var(--vm-muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr) 1.25fr;
  gap: 34px;
  margin-top: 56px;
  padding: 42px 0 34px;
  border-top: 1px solid rgba(217, 162, 74, 0.18);
}

.site-footer p,
.site-footer a {
  color: var(--vm-muted);
  line-height: 1.6;
}

.site-footer nav {
  display: grid;
  gap: 11px;
  align-content: start;
}

.site-footer b {
  color: var(--vm-text);
}

.subscribe {
  border: 1px solid var(--vm-border);
  border-radius: 14px;
  padding: 20px;
  background: rgba(11, 28, 45, 0.64);
}

.subscribe label {
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 8px;
}

.subscribe input {
  min-width: 0;
  border: 1px solid var(--vm-border-subtle);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--vm-text);
  background: rgba(5, 14, 24, 0.66);
}

.site-modal {
  width: min(540px, calc(100vw - 32px));
  border: 0;
  padding: 26px;
}

.close {
  position: absolute;
  top: 12px;
  right: 12px;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-header nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .feature-panel,
  .memorial-carousel,
  .steps,
  .split-section,
  .journal-grid,
  .cta-section,
  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .feature-panel {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: -80px;
  }

  .hero-content {
    padding-bottom: 120px;
  }
}

@media (max-width: 720px) {
  .site-header,
  .hero-section,
  .recent-section,
  .how-section,
  .split-section,
  .journal-section,
  .cta-section,
  .site-footer {
    width: min(100% - 28px, 560px);
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 12px 0;
  }

  .header-actions {
    justify-content: stretch;
  }

  .header-actions button {
    flex: 1;
  }

  .hero-section {
    min-height: auto;
    padding: 28px 0 0;
  }

  .hero-art {
    border-radius: 0 0 22px 22px;
  }

  .hero-content {
    padding: 64px 18px 120px;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-actions button {
    width: 100%;
  }

  .angel-glow,
  .light-gate {
    display: none;
  }

  .feature-panel,
  .memorial-carousel,
  .steps,
  .split-section,
  .why-grid,
  .journal-grid,
  .cta-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .feature-panel article {
    border-right: 0;
    border-bottom: 1px solid rgba(217, 162, 74, 0.2);
  }

  .round-control {
    display: none;
  }

  .how-section h2::before,
  .how-section h2::after {
    display: none;
  }
}
