:root {
  --ink: #19141a;
  --muted: #645b66;
  --paper: #fffaf7;
  --surface: #ffffff;
  --rose: #b94863;
  --rose-dark: #823348;
  --teal: #0d6f68;
  --teal-dark: #0b4d4b;
  --gold: #c18b31;
  --plum: #3a2335;
  --lavender: #f1e9f2;
  --mint: #e7f2ee;
  --line: #eadfdb;
  --shadow: 0 18px 46px rgba(58, 35, 53, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
ul,
ol {
  color: var(--muted);
}

.skip-link {
  position: absolute;
  top: -50px;
  left: 16px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(234, 223, 219, 0.82);
  background: rgba(255, 250, 247, 0.94);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 36px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 840;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background:
    radial-gradient(circle at 72% 28%, #f4c06a 0 10px, transparent 11px),
    linear-gradient(135deg, var(--rose), var(--teal-dark));
  box-shadow: 0 10px 24px rgba(185, 72, 99, 0.23);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.desktop-nav a,
.mobile-panel a {
  color: #3f3942;
  font-weight: 720;
  font-size: 0.94rem;
  padding: 10px 12px;
  border-radius: var(--radius);
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-panel a:hover,
.mobile-panel a.active {
  background: var(--lavender);
  color: var(--rose-dark);
}

.nav-cta {
  background: var(--ink) !important;
  color: #fff !important;
  margin-left: 4px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.mobile-panel {
  display: none;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto 16px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mobile-panel.open {
  display: grid;
  gap: 2px;
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(25, 20, 26, 0.86) 0%, rgba(25, 20, 26, 0.63) 43%, rgba(25, 20, 26, 0.16) 100%),
    url("hero-dating-community.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  z-index: -1;
  background: linear-gradient(0deg, var(--paper), rgba(255, 250, 247, 0));
}

.hero-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 90px 0 118px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: inherit;
  font-size: 0.78rem;
  line-height: 1.3;
  font-weight: 830;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.45rem, 5.6vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 820;
  cursor: pointer;
}

.button.primary {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 14px 30px rgba(185, 72, 99, 0.26);
}

.button.dark {
  background: var(--ink);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
}

.button.light {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.button:hover {
  transform: translateY(-1px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(var(--max), calc(100% - 36px));
  margin: -76px auto 0;
  position: relative;
  z-index: 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.hero-stat {
  padding: 22px;
  background: var(--surface);
}

.hero-stat strong {
  display: block;
  color: var(--rose-dark);
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1;
}

.hero-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 690;
}

.section {
  padding: 84px 0;
}

.section.compact {
  padding: 54px 0;
}

.band {
  background: #fff;
}

.mint-band {
  background: var(--mint);
}

.plum-band {
  background: var(--plum);
  color: #fff;
}

.plum-band p,
.plum-band li {
  color: rgba(255, 255, 255, 0.78);
}

.container {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2,
.split h2,
.content-main h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 3.6vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.plum-band .section-head h2,
.plum-band .split h2 {
  color: #fff;
}

.section-head p,
.split > p {
  margin: 14px 0 0;
  font-size: 1.04rem;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 30px rgba(58, 35, 53, 0.07);
}

.card.tint {
  background: #fff7f1;
}

.card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.22;
}

.card p {
  margin: 0;
}

.card ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--mint);
  font-size: 0.82rem;
  font-weight: 780;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.feature-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-weight: 880;
}

.feature-item h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.feature-item p {
  margin: 0;
}

.profile-preview {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.profile-cover {
  min-height: 140px;
  background:
    linear-gradient(135deg, rgba(185, 72, 99, 0.8), rgba(13, 111, 104, 0.78)),
    url("hero-dating-community.png") center 42% / cover no-repeat;
}

.profile-body {
  padding: 24px;
}

.profile-body h3 {
  margin: 0 0 8px;
}

.mini-feed {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.mini-post {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf7;
}

.mini-post strong {
  display: block;
  margin-bottom: 4px;
}

.feed-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.filter-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px;
  background: #fff;
  color: var(--muted);
  font-weight: 760;
  cursor: pointer;
}

.filter-button.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.post-card {
  display: grid;
  gap: 14px;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 710;
}

.page-hero {
  padding: 82px 0 52px;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(58, 35, 53, 0.96), rgba(11, 77, 75, 0.88)),
    url("hero-dating-community.png") center / cover no-repeat;
}

.page-hero p {
  max-width: 740px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 720;
}

.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}

.content-main {
  display: grid;
  gap: 24px;
}

.sidebar {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 16px;
}

.link-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.link-list a {
  display: block;
  padding: 12px;
  border-radius: var(--radius);
  background: #fff7f1;
  color: var(--rose-dark);
  font-weight: 760;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--ink);
  background: #fff7f1;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

td {
  color: var(--muted);
}

tr:last-child td {
  border-bottom: 0;
}

.quote {
  margin: 0;
  padding: 26px;
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  background: #fff7f1;
  color: var(--ink);
  font-size: 1.1rem;
}

.quote cite {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.94rem;
  font-style: normal;
  font-weight: 760;
}

.article-list {
  display: grid;
  gap: 18px;
}

.article-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.article-card h2,
.article-card h3 {
  margin: 0;
}

.article-card p {
  margin: 0;
}

.article-meta {
  color: var(--teal-dark);
  font-weight: 800;
  font-size: 0.86rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--ink);
  font-weight: 780;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d8cac6;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  display: none;
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--mint);
  color: var(--teal-dark);
  font-weight: 760;
}

.form-note.show {
  display: block;
}

.legal-content {
  display: grid;
  gap: 24px;
  max-width: 920px;
}

.legal-content h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.legal-content p,
.legal-content li {
  margin-top: 0;
}

.site-footer {
  padding: 58px 0 28px;
  background: #181218;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 0.7fr));
  gap: 26px;
}

.site-footer p,
.site-footer li {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1rem;
}

.footer-links {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 80px 0 118px;
  }

  .hero-stats,
  .grid.three,
  .grid.two,
  .split,
  .content-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 680px) {
  .nav-wrap,
  .mobile-panel,
  .container,
  .hero-inner,
  .hero-stats {
    width: min(100% - 26px, var(--max));
  }

  .hero {
    background:
      linear-gradient(90deg, rgba(25, 20, 26, 0.9) 0%, rgba(25, 20, 26, 0.72) 100%),
      url("hero-dating-community.png") 62% center / cover no-repeat;
  }

  .hero-inner {
    padding: 66px 0 104px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.2rem, 13vw, 3.55rem);
  }

  .section {
    padding: 58px 0;
  }

  .hero-stats {
    margin-top: -52px;
  }

  .hero-stat {
    padding: 18px;
  }

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

  .footer-bottom {
    display: grid;
  }
}
