:root {
  --rose: #c41e3a;
  --rose-deep: #8e1530;
  --gold: #c8a24a;
  --gold-light: #e8d5a3;
  --ink: #1b0f14;
  --muted: #6b5560;
  --cream: #fbf6f1;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

section[id] {
  scroll-margin-top: 6.5rem;
}

body {
  min-height: 100vh;
}

button {
  cursor: pointer;
}

.site-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at top right, rgba(196, 30, 58, 0.07), transparent 34%),
    radial-gradient(circle at 12% 80%, rgba(200, 162, 74, 0.08), transparent 28%),
    var(--cream);
}

.top-bar {
  background: linear-gradient(90deg, #1b0f14, #8e1530);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 0;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.86);
}

.top-bar a:hover {
  color: #fff;
}

#site-header {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-bottom: 1px solid rgba(27, 15, 20, 0.06);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.3s ease;
}

#site-header.is-scrolled,
#site-header.is-open {
  box-shadow: 0 10px 30px rgba(27, 15, 20, 0.08);
}

#site-header .brand-name,
#site-header .brand-tag,
#site-header .nav-link {
  color: #3a2a30;
}

#site-header .brand-tag {
  display: block;
}

#site-header .nav-link::after {
  background: var(--rose);
}

#site-header .btn-ghost {
  color: var(--ink);
  border-color: rgba(27, 15, 20, 0.12);
  background: #fff;
}

[hidden] {
  display: none !important;
}

.logo-mark {
  display: grid;
  height: 2.45rem;
  width: 2.45rem;
  place-items: center;
  flex-shrink: 0;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--rose), var(--rose-deep));
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 18px rgba(196, 30, 58, 0.28);
}

.brand-tag {
  margin-top: -2px;
  opacity: 0.72;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: var(--rose);
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.btn-primary,
.btn-ghost,
.btn-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: #fff;
  padding: 0.72rem 1.3rem;
  box-shadow: 0 10px 24px rgba(196, 30, 58, 0.28);
}

.btn-primary:hover,
.btn-search:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid rgba(27, 15, 20, 0.12);
  background: rgba(255, 255, 255, 0.7);
  padding: 0.72rem 1.15rem;
}

.hero {
  min-height: 58vh;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 8, 12, 0.78) 0%, rgba(17, 8, 12, 0.42) 52%, rgba(17, 8, 12, 0.2) 100%),
    linear-gradient(180deg, rgba(17, 8, 12, 0.12), rgba(17, 8, 12, 0.55));
}

.hero-pill {
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.95rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.live-dot {
  height: 0.45rem;
  width: 0.45rem;
  border-radius: 99px;
  background: #86efac;
  box-shadow: 0 0 0 4px rgba(134, 239, 172, 0.2);
}

.search-wrap {
  margin-top: -6.5rem;
  position: relative;
  z-index: 4;
  padding-bottom: 1rem;
}

.search-card {
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.97);
  padding: 1.55rem 1.55rem 1.3rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.4rem;
  color: var(--ink);
}

.hero-stats p:last-child {
  color: var(--muted);
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: 1.2rem;
    padding: 1.2rem 1.4rem;
    box-shadow: 0 12px 30px rgba(27, 15, 20, 0.05);
  }
}

.looking-toggle {
  display: inline-flex;
  border-radius: 999px;
  background: #f6ecef;
  padding: 0.25rem;
}

.toggle-btn {
  border-radius: 999px;
  padding: 0.45rem 1.05rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.toggle-btn.is-active {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 8px 16px rgba(196, 30, 58, 0.25);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  height: 3.05rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(27, 15, 20, 0.12);
  background: #fff;
  padding: 0 0.9rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  font-family: inherit;
}

.field textarea {
  height: auto;
  min-height: 7.5rem;
  padding: 0.85rem 0.9rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(196, 30, 58, 0.22);
  border-color: var(--rose);
}

.btn-search {
  height: 3.05rem;
  margin-top: 1.35rem;
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: #fff;
  box-shadow: 0 12px 24px rgba(196, 30, 58, 0.25);
}

.trust-bar {
  border-top: 1px solid rgba(27, 15, 20, 0.05);
  border-bottom: 1px solid rgba(27, 15, 20, 0.05);
  background: #fff;
  padding: 1.1rem 0;
  margin-top: 1.5rem;
}

.section {
  padding: 5.2rem 0;
}

.section-kicker {
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.05rem);
  line-height: 1.12;
}

.steps-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  position: relative;
  border-radius: 1.5rem;
  background: #fff;
  padding: 1.7rem 1.5rem;
  border: 1px solid rgba(27, 15, 20, 0.06);
  box-shadow: 0 16px 40px rgba(27, 15, 20, 0.05);
}

.step-num {
  margin-bottom: 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: var(--gold);
}

.step-card h3 {
  margin-bottom: 0.45rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
}

.step-card p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.chip {
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.chip.is-active {
  background: var(--ink);
  color: #fff;
}

.profile-card {
  overflow: hidden;
  border-radius: 1.45rem;
  background: #fff;
  box-shadow: 0 18px 40px rgba(27, 15, 20, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.profile-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(27, 15, 20, 0.14);
}

.profile-media {
  position: relative;
  height: 17.5rem;
}

.profile-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.profile-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 2.4rem 1rem 0.9rem;
  background: linear-gradient(180deg, transparent, rgba(16, 8, 12, 0.82));
  color: #fff;
}

.profile-overlay h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  line-height: 1.1;
}

.verified-tick {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--rose);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
}

.profile-card .meta {
  padding: 1rem 1.15rem 1.2rem;
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  background: #f8e9ed;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--rose-deep);
}

.profile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.btn-connect,
.btn-view {
  height: 2.45rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.btn-connect {
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  color: #fff;
}

.btn-view {
  border: 1px solid rgba(27, 15, 20, 0.12);
  background: #fff;
  color: var(--ink);
}

.profile-empty {
  margin-top: 1.5rem;
  border-radius: 1.2rem;
  background: #fff;
  padding: 1.4rem;
  text-align: center;
  color: var(--muted);
}

.community-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .community-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .community-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.community-card {
  min-height: 7.4rem;
  border-radius: 1.25rem;
  padding: 1.15rem;
  text-align: left;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(17, 8, 12, 0.25), rgba(17, 8, 12, 0.72)),
    linear-gradient(135deg, #8e1530, #c8a24a);
  box-shadow: 0 14px 30px rgba(27, 15, 20, 0.12);
  transition: transform 0.2s ease;
}

.community-card:nth-child(2) {
  background:
    linear-gradient(160deg, rgba(17, 8, 12, 0.2), rgba(17, 8, 12, 0.7)),
    linear-gradient(135deg, #1f3a5f, #c41e3a);
}

.community-card:nth-child(3) {
  background:
    linear-gradient(160deg, rgba(17, 8, 12, 0.18), rgba(17, 8, 12, 0.68)),
    linear-gradient(135deg, #3d2b1f, #c8a24a);
}

.community-card:nth-child(4) {
  background:
    linear-gradient(160deg, rgba(17, 8, 12, 0.2), rgba(17, 8, 12, 0.7)),
    linear-gradient(135deg, #245c3a, #c41e3a);
}

.community-card:nth-child(5) {
  background:
    linear-gradient(160deg, rgba(17, 8, 12, 0.18), rgba(17, 8, 12, 0.68)),
    linear-gradient(135deg, #5a2a48, #c8a24a);
}

.community-card:nth-child(6) {
  background:
    linear-gradient(160deg, rgba(17, 8, 12, 0.2), rgba(17, 8, 12, 0.72)),
    linear-gradient(135deg, #16324f, #c8a24a);
}

.community-card:hover {
  transform: translateY(-4px);
}

.community-card span {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
}

.community-card small {
  opacity: 0.8;
}

.feature-card,
.story-card,
.plan-card,
.safety-card {
  border-radius: 1.4rem;
}

.feature-card {
  background: #fff;
  padding: 1.55rem;
  border: 1px solid rgba(27, 15, 20, 0.06);
  box-shadow: 0 14px 32px rgba(27, 15, 20, 0.04);
}

.feature-card h3,
.story-card h3 {
  margin-bottom: 0.5rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
}

.feature-card p,
.story-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.icon-wrap {
  margin-bottom: 1.1rem;
  display: grid;
  height: 2.6rem;
  width: 2.6rem;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--rose);
  font-weight: 700;
  border: 1px solid rgba(196, 30, 58, 0.12);
}

.story-card {
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 40px rgba(27, 15, 20, 0.08);
}

.story-media {
  height: 15rem;
  overflow: hidden;
}

.story-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.story-card:hover img {
  transform: scale(1.05);
}

.story-body {
  padding: 1.25rem 1.3rem 1.4rem;
}

.story-meta {
  margin-bottom: 0.35rem;
  font-size: 0.72rem !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold) !important;
}

.app-banner {
  background:
    radial-gradient(circle at right, rgba(200, 162, 74, 0.2), transparent 36%),
    linear-gradient(135deg, #1b0f14, #8e1530);
  padding: 4.5rem 0;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.7rem 1.1rem;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}

.phone-frame {
  margin-left: auto;
  width: min(18rem, 100%);
  border-radius: 1.8rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 1.6rem;
  color: #fff;
}

.phone-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.55rem;
}

.phone-pills {
  display: flex;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.phone-pills span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
}

.plan-card {
  position: relative;
  background: #fff;
  padding: 1.8rem 1.6rem;
  border: 1px solid rgba(27, 15, 20, 0.08);
  box-shadow: 0 16px 40px rgba(27, 15, 20, 0.05);
}

.plan-card.is-featured {
  background: linear-gradient(180deg, #1b0f14, #3a171f);
  color: #fff;
  transform: translateY(-6px);
}

.plan-ribbon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  padding: 0.2rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
}

.plan-name {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.plan-price {
  margin: 0.45rem 0 1rem;
  font-size: 2.7rem;
  line-height: 1;
}

.plan-price span {
  font-size: 0.95rem;
  color: inherit;
  opacity: 0.6;
}

.plan-card ul {
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.plan-card.is-featured ul {
  color: rgba(255, 255, 255, 0.78);
}

.plan-card.is-featured .btn-primary {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.safety-list {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
}

.safety-list li::before {
  content: "✓ ";
  color: var(--rose);
  font-weight: 700;
}

.safety-card {
  background: var(--cream);
  padding: 2rem;
  border: 1px solid rgba(27, 15, 20, 0.06);
}

.footer {
  background: #14090d;
  color: #fff;
}

.footer h3 {
  margin-bottom: 0.9rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer a,
.footer p {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.footer a:hover {
  color: #fff;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.1rem 1.25rem 1.35rem;
  text-align: center;
}

.footer-legal a,
.footer-legal p {
  display: inline;
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.members-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(13.5rem, 16.5rem);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
  scroll-snap-type: x mandatory;
}

.members-scroller::-webkit-scrollbar {
  height: 6px;
}

.members-scroller::-webkit-scrollbar-thumb {
  background: rgba(196, 30, 58, 0.28);
  border-radius: 99px;
}

.member-card {
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: 1.35rem;
  background: #fff;
  box-shadow: 0 14px 32px rgba(27, 15, 20, 0.08);
}

.member-card img {
  height: 11.5rem;
  width: 100%;
  object-fit: cover;
}

.member-body {
  padding: 0.85rem 1rem 1rem;
}

.member-body h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  line-height: 1.15;
}

.online-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #15803d;
}

.online-dot::before {
  content: "";
  height: 0.45rem;
  width: 0.45rem;
  border-radius: 99px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
}

.blog-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  overflow: hidden;
  border-radius: 1.4rem;
  background: #fff;
  box-shadow: 0 16px 36px rgba(27, 15, 20, 0.07);
  transition: transform 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card img {
  height: 11.5rem;
  width: 100%;
  object-fit: cover;
}

.blog-card .blog-body {
  padding: 1.15rem 1.2rem 1.3rem;
}

.blog-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  line-height: 1.2;
}

.blog-card a.read-more {
  display: inline-flex;
  margin-top: 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose);
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(142, 21, 48, 0.94), rgba(27, 15, 20, 0.92)),
    radial-gradient(circle at right, rgba(200, 162, 74, 0.35), transparent 46%);
  color: #fff;
  padding: 3.4rem 0 3.6rem;
}

.page-hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
}

.page-shell {
  padding: 3.4rem 0 4.2rem;
}

.legal-doc {
  max-width: 48rem;
  margin: 0 auto;
  display: grid;
  gap: 1.4rem;
  color: var(--muted);
  line-height: 1.75;
}

.legal-doc h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.legal-doc a,
.article-block a {
  color: var(--rose);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
  max-width: 48rem;
  margin: 0 auto;
}

.faq-list details {
  border-radius: 1.1rem;
  background: #fff;
  padding: 1rem 1.15rem;
  box-shadow: 0 10px 28px rgba(27, 15, 20, 0.06);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}

.faq-list details p {
  margin-top: 0.7rem;
  color: var(--muted);
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.contact-card,
.office-card {
  border-radius: 1.4rem;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 16px 36px rgba(27, 15, 20, 0.07);
}

.office-list {
  display: grid;
  gap: 1rem;
}

.article-block {
  max-width: 46rem;
  margin: 0 auto 2.5rem;
}

.article-block img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border-radius: 1.3rem;
  margin-bottom: 1.1rem;
}

.article-block h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.article-block p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0.8rem;
}

.mobile-menu {
  display: none;
  position: relative;
  z-index: 60;
  margin: 0 1rem 1rem;
  gap: 0.85rem;
  border-radius: 1.25rem;
  background: #fff;
  padding: 1.2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
}

.mobile-menu.is-open {
  display: grid;
}

@media (min-width: 1024px) {
  .mobile-menu.is-open {
    display: none;
  }
}

.mobile-menu a {
  font-weight: 600;
  color: var(--ink);
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
  border-radius: 99px;
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

.mobile-dock {
  position: sticky;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(27, 15, 20, 0.08);
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  backdrop-filter: blur(16px);
}

.mobile-dock button {
  height: 2.8rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(27, 15, 20, 0.12);
  background: #fff;
}

.mobile-dock .is-primary {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  align-items: start;
  background: rgba(16, 8, 12, 0.58);
  padding: 1rem;
  overflow-y: auto;
}

@media (min-width: 640px) {
  .modal {
    align-items: center;
  }
}

.modal-card {
  position: relative;
  width: min(28rem, 100%);
  margin: 1.5rem auto;
  border-radius: 1.5rem;
  background: #fff;
  padding: 1.85rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.profile-modal-card {
  width: min(36rem, 100%);
}

.profile-detail {
  display: grid;
  gap: 1rem;
}

.profile-detail img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  border-radius: 1.1rem;
}

@media (min-width: 640px) {
  .profile-detail img {
    height: 16rem;
  }
}

.modal-close {
  position: absolute;
  right: 0.7rem;
  top: 0.55rem;
  z-index: 2;
  display: grid;
  height: 2.4rem;
  width: 2.4rem;
  place-items: center;
  border-radius: 999px;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.92);
}

.toast {
  position: fixed;
  bottom: 4.5rem;
  left: 50%;
  z-index: 90;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 0.8rem 1.2rem;
  font-size: 0.9rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  max-width: calc(100% - 2rem);
}

@media (min-width: 1024px) {
  .toast {
    bottom: 1.25rem;
  }
}

@media (max-width: 1023px) {
  .plan-card.is-featured {
    transform: none;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
  }

  .search-wrap {
    margin-top: -4.5rem;
  }

  .search-card {
    padding: 1.15rem;
  }

  .search-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-search {
    margin-top: 0.2rem;
  }

  .profile-media {
    height: 15.5rem;
  }

  .section {
    padding: 3.6rem 0;
  }

  main {
    padding-bottom: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .profile-card,
  .community-card,
  .story-card img,
  .btn-primary,
  .btn-search {
    transition: none;
  }
}
