:root {
  --white: #ffffff;
  --soft: #f8f3ea;
  --mist: #f1f5f8;
  --ink: #1f2a32;
  --muted: #5e6870;
  --teal: #243b5a;
  --teal-dark: #26364c;
  --coral: #9b3d4f;
  --gold: #b78b45;
  --line: rgba(31, 42, 50, 0.14);
  --shadow: 0 20px 56px rgba(31, 42, 50, 0.18);
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.58;
}

a {
  color: inherit;
}

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

.top-note {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 9px 18px;
  background: #243b5a;
  color: var(--white);
  font-size: 15px;
  text-align: center;
}

.site-header {
  position: fixed;
  top: 42px;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 28px rgba(31, 42, 50, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #243b5a, #9b3d4f);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 700;
}

.brand-text {
  font-weight: 800;
  font-size: 20px;
  color: var(--teal-dark);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #34424b;
  font-size: 16px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--coral);
}

.member-link {
  padding: 11px 18px;
  border: 2px solid var(--coral);
  border-radius: 6px;
  color: var(--teal-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 160px clamp(18px, 5vw, 72px) 72px;
  text-align: center;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.74) 0%, rgba(255, 250, 243, 0.62) 46%, rgba(255, 250, 243, 0.8) 100%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.18), rgba(183, 139, 69, 0.22));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 870px;
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
a,
span {
  overflow-wrap: break-word;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  font-weight: 700;
}

h1 {
  font-size: clamp(48px, 7vw, 86px);
}

h2 {
  font-size: clamp(32px, 4vw, 54px);
}

h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.24;
}

p {
  margin: 0;
}

.hero-content p:not(.eyebrow) {
  max-width: 690px;
  margin: 22px auto 0;
  color: #39444d;
  font-size: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
}

.button-primary {
  background: var(--coral);
  color: var(--white);
}

.button-primary:hover {
  background: #bd5144;
}

.button-secondary {
  border: 2px solid rgba(38, 54, 76, 0.24);
  background: rgba(255, 255, 255, 0.82);
  color: var(--teal-dark);
}

.member-note {
  font-size: 16px !important;
}

.section {
  padding: 90px clamp(18px, 5vw, 72px);
}

.local,
.safety,
.seo {
  position: relative;
}

.section-read-more {
  justify-self: end;
  align-self: end;
}

.read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 2px solid var(--coral);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--coral);
  font-weight: 900;
  text-decoration: none;
}

.read-more:hover {
  background: var(--coral);
  color: var(--white);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  background: var(--white);
}

.section-intro {
  grid-column: 1 / -1;
  max-width: 940px;
  margin-bottom: 10px;
}

.feature-strip article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(31, 42, 50, 0.07);
}

.feature-strip img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.feature-strip div {
  padding: 28px;
}

.feature-strip p,
.story p,
.local p,
.safety p,
.seo p,
.faq p,
.seo-map p {
  color: var(--muted);
}

.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(30px, 7vw, 90px);
  align-items: center;
  background: var(--soft);
}

.story-copy {
  max-width: 820px;
}

.story-copy p:not(.eyebrow) {
  margin-top: 22px;
  font-size: 21px;
}

.story-stat {
  border-left: 4px solid var(--coral);
  padding-left: 28px;
}

.story-stat strong {
  display: block;
  color: var(--teal-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 92px;
  line-height: 0.9;
}

.story-stat span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 800;
}

.local {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: 34px clamp(34px, 6vw, 90px);
  align-items: start;
}

.local-copy {
  grid-row: span 2;
}

.local-copy p:not(.eyebrow) {
  margin-top: 22px;
}

.local-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mist);
}

label span {
  display: block;
  margin-bottom: 6px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 15px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 15px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

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

.file-upload {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  background: var(--white);
}

.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 5px;
  background: var(--teal);
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
}

.file-name {
  color: var(--muted);
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.geo-grid a {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
}

.geo-grid a:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.safety {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 90px);
  background: #f7edf0;
  color: var(--ink);
}

.safety p {
  margin-top: 22px;
  color: var(--muted);
}

.safety ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.safety li {
  position: relative;
  padding: 18px 0 18px 34px;
  border-bottom: 1px solid rgba(155, 61, 79, 0.18);
  font-weight: 800;
}

.safety li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--gold);
}

.seo-heading {
  max-width: 780px;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 38px;
}

.seo-grid article {
  border-top: 3px solid var(--teal);
  padding-top: 22px;
}

.seo-map {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 80px);
  background: var(--soft);
  color: var(--ink);
}

.seo-map-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 250, 243, 0.94) 0%, rgba(255, 250, 243, 0.86) 52%, rgba(255, 250, 243, 0.7) 100%),
    url("https://images.pexels.com/photos/3754299/pexels-photo-3754299.jpeg?auto=compress&cs=tinysrgb&w=1600") center / cover;
  transform: scale(1.02);
}

.seo-map > div:not(.seo-map-bg),
.seo-map nav {
  position: relative;
  z-index: 1;
}

.seo-map p {
  margin-top: 18px;
  color: var(--muted);
}

.seo-map nav {
  display: grid;
  gap: 12px;
  align-content: start;
}

.seo-map a {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(38, 54, 76, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
}

.seo-map a:hover {
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--coral);
}

.faq {
  background: var(--soft);
}

.faq h2 {
  margin-bottom: 26px;
}

details {
  max-width: 920px;
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
}

summary::marker {
  color: var(--coral);
}

details p {
  margin-top: 12px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 46px clamp(18px, 5vw, 72px);
  background: #f8f3ea;
  color: var(--ink);
}

.site-footer p,
.site-footer small {
  display: block;
  max-width: 620px;
  margin-top: 8px;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-content: start;
}

.site-footer a {
  color: var(--teal-dark);
  text-decoration: none;
}

.country-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
  margin-top: 18px;
}

.country-flags span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid rgba(38, 54, 76, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 800;
}

.subpage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.subpage-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--teal-dark);
  font-weight: 800;
}

.subpage-nav a {
  text-decoration: none;
}

.article-page {
  background: var(--soft);
}

.article-hero {
  position: relative;
  min-height: 380px;
  padding: 86px clamp(18px, 5vw, 72px) 54px;
  overflow: hidden;
  background: var(--soft);
}

.article-hero::before,
.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.article-hero::before {
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 58% auto;
}

.article-hero::after {
  background: linear-gradient(90deg, rgba(255, 250, 243, 0.98) 0%, rgba(255, 250, 243, 0.92) 44%, rgba(255, 250, 243, 0.38) 74%, rgba(255, 250, 243, 0.08) 100%);
}

.local-singles-page .article-hero::before {
  background-image: url("local-singles-couple.jpg");
}

.safety-page .article-hero::before {
  background-image: url("safety-couple.jpg");
}

.dating-guides-page .article-hero::before {
  background-image: url("dating-guides-couple.jpg");
}

.article-hero > * {
  position: relative;
  z-index: 1;
}

.article-hero h1 {
  max-width: 760px;
  color: var(--ink);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.article-hero p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 21px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.45fr);
  gap: clamp(28px, 5vw, 62px);
  padding: 54px clamp(18px, 5vw, 72px) 90px;
}

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

.article-list article,
.article-upload {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(31, 42, 50, 0.06);
}

.article-list article {
  padding: 26px;
}

.article-list h2,
.article-upload h2 {
  font-size: 30px;
}

.article-list p {
  margin-top: 10px;
  color: var(--muted);
}

.article-upload {
  align-self: start;
  padding: 26px;
}

.article-upload form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.article-upload button {
  min-height: 54px;
  border: 0;
  border-radius: 6px;
  background: var(--coral);
  color: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.article-upload button:hover {
  background: #7f3040;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .member-link {
    border: 0;
    color: #34424b;
  }

  .feature-strip,
  .story,
  .local,
  .safety,
  .seo-grid,
  .seo-map,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .local-copy {
    grid-row: auto;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 17px;
  }

  .top-note {
    position: static;
  }

  .site-header {
    top: 0;
  }

  .brand-text {
    max-width: 220px;
    font-size: 16px;
  }

  .hero {
    min-height: 86vh;
    padding-top: 128px;
  }

  .hero-content p:not(.eyebrow) {
    font-size: 19px;
  }

  .hero-actions,
  .local-search,
  .geo-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .story-stat strong {
    font-size: 74px;
  }

  .site-footer {
    flex-direction: column;
  }

  .subpage-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-hero {
    padding-top: 330px;
  }

  .article-hero::before {
    background-position: top center;
    background-size: 100% auto;
  }

  .article-hero::after {
    background: linear-gradient(180deg, rgba(255, 250, 243, 0.18) 0%, rgba(255, 250, 243, 0.72) 45%, rgba(255, 250, 243, 0.98) 70%, rgba(255, 250, 243, 1) 100%);
  }

  .article-hero h1 {
    max-width: 100%;
  }
}
