﻿:root {
  --ink: #17201d;
  --muted: #5d6862;
  --line: #dfe6e1;
  --paper: #fbfaf6;
  --soft: #eef4ef;
  --accent: #9d5a42;
  --accent-dark: #713c2d;
  --trust: #287467;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(23, 32, 29, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p a,
li a {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 246, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}


.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-menu-toggle {
  display: none;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.nav-menu-list {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  font-size: 15px;
}

.button:hover {
  background: var(--accent-dark);
  text-decoration: none;
}

.button.secondary {
  background: var(--trust);
}

.button.ghost {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid var(--accent);
}

.hero {
  background:
    linear-gradient(90deg, rgba(23, 32, 29, 0.86) 0%, rgba(23, 32, 29, 0.68) 42%, rgba(40, 116, 103, 0.28) 100%),
    url('../images/home/hero-age-gap-dating.webp') center center / cover no-repeat;
  color: var(--white);
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 112px 20px 96px;
  min-height: 640px;
  display: flex;
  align-items: center;
}

.hero-inner > div {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(36px, 6vw, 64px);
  margin: 0 0 18px;
  max-width: 850px;
}

h2 {
  font-size: 30px;
  margin: 0 0 16px;
}

h3 {
  font-size: 20px;
  margin: 0 0 10px;
}

.hero p {
  font-size: 18px;
  max-width: 680px;
}

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

.hero-panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
  padding: 24px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 20px;
}

.section.narrow {
  max-width: 820px;
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(23, 32, 29, 0.06);
}

.callout {
  background: var(--soft);
  border-left: 4px solid var(--trust);
  padding: 18px 20px;
  border-radius: 6px;
}

.comparison {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

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

.comparison th {
  background: var(--soft);
}

.disclosure {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f1f0eb;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .nav {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    padding: 12px 16px;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
  }

  .nav-links {
    position: relative;
    flex: 0 0 auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .nav-menu {
    position: relative;
    order: 1;
  }

  .nav-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu-list {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 20;
    display: none;
    min-width: 220px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open .nav-menu-list {
    display: grid;
    gap: 4px;
  }

  .nav-menu-list a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--ink);
  }

  .nav-menu-list a:hover {
    background: var(--soft);
    text-decoration: none;
  }

  .nav-links > .button,
  .nav-links > button.button {
    order: 2;
    min-height: 40px;
    padding: 9px 14px;
    white-space: nowrap;
  }

  .grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(23, 32, 29, 0.76) 0%, rgba(23, 32, 29, 0.5) 46%, rgba(40, 116, 103, 0.38) 100%),
      url('../images/home/hero-age-gap-dating-mobile.webp') center center / cover no-repeat;
  }

  .hero-inner {
    min-height: 720px;
    padding: 56px 16px 260px;
    align-items: flex-start;
  }

  .hero-inner > div {
    max-width: 100%;
  }

  .comparison {
    display: block;
    overflow-x: auto;
  }
}




.hero-media {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-media img,
.visual-card img,
.wide-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(23, 32, 29, 0.06);
}

.visual-card-body {
  padding: 20px;
}

.visual-card .image-wrap {
  aspect-ratio: 3 / 2;
  background: var(--soft);
}

.wide-visual {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
  background: var(--soft);
}

.visual-band {
  background: #f4f3ee;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

@media (max-width: 820px) {
  .hero-media {
    min-height: 260px;
  }

  .wide-visual {
    aspect-ratio: 4 / 3;
  }
}


.hero .button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(23, 32, 29, 0.4);
}

.hero .button.ghost:hover {
  background: rgba(23, 32, 29, 0.6);
}

.hero .disclosure {
  color: rgba(255, 255, 255, 0.76);
}





.article-figure {
  margin: 28px auto;
  max-width: 920px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(23, 32, 29, 0.06);
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.article-figure figcaption {
  padding: 10px 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
