/* Captain Crystal — 恋爱甜主题：玫瑰香槟 · 衬线标题 · 心形底纹 */

:root {
  /* 恋爱主色：玫瑰 · 香槟 · 薰衣草雾 */
  --rom-rose: #c97b8f;
  --rom-rose-deep: #a85d72;
  --rom-blush: #fdeef2;
  --rom-petal: #fff5f8;
  --rom-champagne: #faf0e6;
  --rom-lilac: #ede4f5;
  --rom-mist: #e8f0f4;
  --rom-gold: #d4a574;
  --rom-ink: #5a3d4a;
  --rom-ink-soft: #6b5560;
  --primary: var(--rom-rose-deep);
  --accent: var(--rom-rose);
  --muted: #8a6f7a;
  --paper: #fff9fb;
  --card-tint: linear-gradient(155deg, rgba(255, 255, 255, 0.97) 0%, rgba(253, 238, 244, 0.85) 50%, rgba(250, 245, 252, 0.92) 100%);
  --line: rgba(201, 123, 143, 0.18);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 14px 44px rgba(168, 93, 114, 0.1), 0 4px 16px rgba(212, 165, 116, 0.08);
  --font-display: "ZCOOL XiaoWei", "Noto Serif SC", "Songti SC", serif;
  --font-sans: "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-code: "Fira Code", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --heart-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23e8a0b3' fill-opacity='0.11' d='M16 28c-.3 0-.6-.1-.8-.3C7.8 21.2 4 17.3 4 12.5 4 9.5 6.2 7 9.5 7c1.7 0 3.3.8 4.5 2.1C15.2 7.8 16.8 7 18.5 7 21.8 7 24 9.5 24 12.5c0 4.8-3.8 8.7-11.2 15.2-.2.2-.5.3-.8.3z'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.site {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--rom-ink);
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 130% 100% at 0% -5%, rgba(253, 238, 244, 0.95) 0%, transparent 55%),
    radial-gradient(ellipse 90% 80% at 100% 0%, rgba(237, 228, 245, 0.75) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(250, 240, 230, 0.9) 0%, transparent 55%),
    linear-gradient(175deg, #fff5f8 0%, #fff9fb 40%, #faf5ff 100%);
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
}

body.site::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle 380px at 15% 25%, rgba(255, 182, 193, 0.18) 0%, transparent 55%),
    radial-gradient(circle 360px at 88% 30%, rgba(221, 182, 242, 0.14) 0%, transparent 52%),
    radial-gradient(circle 300px at 48% 92%, rgba(255, 218, 185, 0.12) 0%, transparent 50%);
}

body.site::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
  background-image: var(--heart-pattern);
  background-size: 72px 72px;
}

/* 花瓣层在背景之上、内容之下 */
.petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.petal {
  position: absolute;
  top: -32px;
  left: var(--x);
  width: 12px;
  height: 17px;
  margin-left: -6px;
  background: linear-gradient(155deg, rgba(255, 236, 244, 0.98), rgba(248, 196, 214, 0.55) 55%, rgba(237, 200, 220, 0.45));
  border-radius: 55% 45% 60% 40% / 60% 55% 45% 40%;
  opacity: 0.78;
  box-shadow: 0 1px 3px rgba(168, 93, 114, 0.06);
  transform-origin: 50% 50%;
  animation: petal-fall var(--fall, 18s) linear var(--delay, 0s) infinite;
  will-change: transform, opacity;
}

@keyframes petal-fall {
  0% {
    transform: translate3d(0, -12vh, 0) rotate(0deg) scale(var(--sz, 1));
    opacity: 0;
  }
  7% {
    opacity: 0.82;
  }
  85% {
    opacity: 0.55;
  }
  100% {
    transform: translate3d(var(--drift, 20px), 115vh, 0) rotate(calc(540deg * var(--spin, 1))) scale(var(--sz, 1));
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .petals {
    display: none;
  }
}

.site-header,
.main,
.site-footer {
  position: relative;
  z-index: 2;
}

h1,
h2,
h3,
.hero__title,
.site-logo__text,
.dashboard__header h2,
.page-head__title,
.panel__title,
.card__title,
.gallery-card__caption,
.timeline__title,
.metric-card__label {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

a {
  color: var(--rom-rose-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--rom-gold);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: linear-gradient(135deg, var(--rom-rose-deep), #c97b8f);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
  border-radius: 999px;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 252, 254, 0.97), rgba(253, 245, 248, 0.92));
  backdrop-filter: blur(16px);
  box-shadow: 0 6px 28px rgba(168, 93, 114, 0.07);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 400;
  color: var(--rom-ink);
  text-decoration: none;
}

.site-logo__mark {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffd6e0, #f5c6e0 45%, #e8b4d4);
  color: #9b4d63;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  line-height: 1;
  box-shadow:
    0 4px 16px rgba(201, 123, 143, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.site-logo__text {
  max-width: 18rem;
  line-height: 1.25;
  font-size: 1.35rem;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

.site-nav a {
  font-weight: 500;
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
  background: rgba(253, 238, 244, 0.95);
  color: var(--rom-rose-deep);
}

.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(0deg, rgba(255, 250, 252, 0.98), rgba(253, 245, 248, 0.94));
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer__meta {
  margin-top: 0.5rem;
}

.hero {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.hero::before {
  content: "♡";
  position: absolute;
  top: -0.5rem;
  right: 0;
  font-size: 2.5rem;
  color: rgba(201, 123, 143, 0.2);
  pointer-events: none;
  font-family: var(--font-sans);
}

@media (min-width: 900px) {
  .hero--asymmetric {
    grid-template-columns: 1.12fr 0.88fr;
    align-items: start;
  }
}

.hero__primary {
  padding: 0.5rem 0;
}

.hero__title {
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  line-height: 1.2;
  margin: 0.35rem 0 1rem;
  color: var(--rom-rose-deep);
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.9);
}

.hero__desc {
  margin: 0 0 1.25rem;
  max-width: 52ch;
  color: var(--rom-ink-soft);
}

.hero__meta {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.hero__meta div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.5rem;
  border-left: 3px solid transparent;
  border-image: linear-gradient(180deg, var(--rom-rose), var(--rom-gold)) 1;
  padding-left: 0.85rem;
  background: linear-gradient(90deg, rgba(253, 238, 244, 0.55) 0%, transparent 1.5rem);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hero__meta dt {
  font-weight: 600;
  color: var(--muted);
}

.hero__meta dd {
  margin: 0;
}

.hero__viz {
  background: var(--card-tint);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem;
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.hero__viz::after {
  content: "";
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  width: 48px;
  height: 48px;
  background: var(--heart-pattern);
  background-size: contain;
  opacity: 0.35;
  pointer-events: none;
}

.spark svg {
  width: 100%;
  height: auto;
  display: block;
}

.spark__caption {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.eyebrow {
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--rom-rose);
  margin: 0;
}

.dashboard {
  margin: 2.5rem 0;
  padding: 1.65rem;
  border-radius: var(--radius);
  background: var(--card-tint);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  position: relative;
}

.dashboard__header h2 {
  margin: 0 0 0.35rem;
  color: var(--rom-rose-deep);
  font-size: 1.45rem;
}

.dashboard__lede {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.dashboard__grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.35rem;
}

@media (min-width: 800px) {
  .dashboard__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.metric-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.15rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(253, 238, 244, 0.5) 45%, rgba(250, 245, 255, 0.55) 100%);
  box-shadow: 0 6px 20px rgba(168, 93, 114, 0.06);
}

.metric-card__label {
  margin: 0;
  font-size: 1.02rem;
  color: var(--rom-rose-deep);
}

.metric-card__value {
  margin: 0.35rem 0;
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-sans);
  color: var(--rom-rose-deep);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.metric-card__text {
  margin: 0;
  color: var(--rom-ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.timeline {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--line);
}

.timeline__title {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: var(--rom-rose-deep);
}

.timeline__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.timeline__list li {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(253, 238, 244, 0.45));
  border: 1px solid rgba(201, 123, 143, 0.12);
}

.timeline__label {
  font-weight: 600;
  color: var(--rom-ink);
}

.timeline__note {
  color: var(--muted);
  font-size: 0.85rem;
}

.panels__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .panels__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.panel {
  background: var(--card-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  min-height: 10rem;
  box-shadow: 0 8px 24px rgba(168, 93, 114, 0.05);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(168, 93, 114, 0.1);
}

.panel__title {
  margin: 0 0 0.75rem;
  font-size: 1.12rem;
}

.panel__title a {
  text-decoration: none;
}

.panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.panel__meta {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 0.15rem;
}

.page-head__title {
  margin: 0 0 0.75rem;
  color: var(--rom-rose-deep);
  font-size: 1.65rem;
}

.log-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1rem;
}

.log-filters__label {
  color: var(--muted);
  margin-right: 0.25rem;
}

.log-filters__btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.log-filters__btn:hover {
  border-color: rgba(201, 123, 143, 0.35);
  background: rgba(253, 238, 244, 0.6);
}

.log-filters__btn.is-active {
  border-color: var(--rom-rose);
  background: linear-gradient(135deg, var(--rom-rose-deep), #c97b8f);
  color: #fff;
}

.card-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--card-tint);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.card__title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.card__meta {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.card__lead {
  margin: 0.5rem 0 0;
  color: var(--rom-ink-soft);
  line-height: 1.6;
}

.single__head {
  margin-bottom: 1.5rem;
}

.single__title {
  margin: 0.25rem 0;
  color: var(--rom-rose-deep);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.single__meta {
  margin: 0;
  color: var(--muted);
}

.dimensions {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(253, 238, 244, 0.4));
}

.dimensions__row {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.dimensions__key {
  text-transform: none;
}

.bar {
  height: 0.55rem;
  background: rgba(201, 123, 143, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.bar__fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #e8a0b3, #d4a574 50%, #c9a0dc);
  border-radius: inherit;
}

.dimensions__delta {
  margin: 0.5rem 0 0;
  color: var(--muted);
}

.page-summary {
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius);
  margin: 0 0 1.35rem;
  border: 1px solid rgba(251, 207, 232, 0.55);
  background: linear-gradient(135deg, rgba(255, 252, 254, 0.98), rgba(253, 238, 244, 0.65));
  color: var(--rom-ink-soft);
  box-shadow: 0 6px 22px rgba(168, 93, 114, 0.06);
  position: relative;
}

.page-summary::before {
  content: "「";
  position: absolute;
  left: 0.65rem;
  top: 0.4rem;
  font-size: 1.5rem;
  font-family: var(--font-display);
  color: rgba(201, 123, 143, 0.35);
  line-height: 1;
}

.page-summary p {
  margin: 0;
  padding-left: 0.5rem;
  line-height: 1.7;
}

.prose {
  max-width: 72ch;
}

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  color: var(--rom-rose-deep);
  font-weight: 400;
}

.prose pre,
.prose code {
  font-family: var(--font-code);
  font-size: 0.9em;
}

.prose pre {
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(165deg, #5c4554 0%, #6b4d5c 100%);
  color: #fdf2f6;
  overflow-x: auto;
  border: 1px solid rgba(232, 160, 179, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.gallery-figure {
  margin: 0 0 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.gallery-figure figcaption {
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  background: rgba(253, 238, 244, 0.35);
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.gallery-card {
  background: var(--card-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(168, 93, 114, 0.14), 0 6px 14px rgba(212, 165, 116, 0.1);
}

.gallery-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.gallery-card__body {
  padding: 0.9rem 1rem;
}

.gallery-card__caption {
  margin: 0;
  font-size: 1.02rem;
}

.gallery-card__note {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— 首页「我们的空间」布局 —— */
.home--xin {
  margin-top: -0.5rem;
}

.home-landing {
  position: relative;
  text-align: center;
  padding: 1.5rem 0.5rem 2.5rem;
  margin-bottom: 1rem;
}

.home-ecg {
  position: absolute;
  left: 0;
  top: 10%;
  width: 56px;
  height: min(55vh, 320px);
  color: rgba(200, 120, 160, 0.22);
  pointer-events: none;
  z-index: 0;
}

.home-ecg__svg {
  width: 100%;
  height: 100%;
}

.home-title-block {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}

.home-main-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 400;
  color: #8b4a6b;
  margin: 0 0 0.5rem;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.9);
}

.home-main-sub {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.home-brand {
  margin: 0;
  font-size: 0.92rem;
  color: var(--rom-rose);
  letter-spacing: 0.08em;
}

.together-card {
  position: relative;
  z-index: 1;
  max-width: 28rem;
  margin: 0 auto 2rem;
  padding: 1.35rem 1.5rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 200, 220, 0.45);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(168, 93, 114, 0.1);
  backdrop-filter: blur(12px);
}

.together-card__clock {
  margin: 0 0 0.65rem;
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  color: var(--rom-rose-deep);
  line-height: 1.5;
}

.together-card__since {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.avatar-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
  position: relative;
  z-index: 1;
}

.avatar-face {
  box-sizing: border-box;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 200, 220, 0.85);
  box-shadow: 0 8px 24px rgba(168, 93, 114, 0.15);
  background: #fff;
}

.avatar-face--link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 0;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.avatar-face--link:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 28px rgba(168, 93, 114, 0.22);
}

.avatar-face__img {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
}

.avatar-showcase__heart {
  font-size: 1.75rem;
  color: #f472b6;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(244, 114, 182, 0.35));
}

.feature-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 1.15rem 0.85rem;
  text-decoration: none;
  color: var(--rom-ink);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(237, 200, 220, 0.5);
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 20px rgba(168, 93, 114, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 123, 143, 0.35);
  box-shadow: 0 14px 32px rgba(168, 93, 114, 0.12);
  color: var(--rom-rose-deep);
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(253, 238, 244, 0.95), rgba(237, 220, 245, 0.6));
  color: #9d5a8a;
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: inherit;
}

.feature-card__desc {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
  margin: 0;
}

.feature-card:hover .feature-card__desc {
  color: var(--rom-ink-soft);
}

.home-spark-wrap {
  margin: 2rem auto 2.5rem;
  max-width: 420px;
  padding: 0 0.5rem;
}

.home-spark-wrap .spark__caption {
  text-align: center;
}

.home-panels {
  margin-top: 0.5rem;
}

#milestones {
  scroll-margin-top: 5.5rem;
}

@media (max-width: 720px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero::before {
    display: none;
  }

  .home-ecg {
    display: none;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
