/* Disabled and Dating: Warm Clay (house brief, 1 Dec 2026)
   Sharp corners, cards on white, clay pill tags above every H2. */

@font-face {
  font-family: 'Josefin Sans';
  src: url('/fonts/josefin-sans-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('/fonts/open-sans-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('/fonts/open-sans-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --bg: #fbf5ef;
  --surface: #ffffff;
  --ink: #1f1c1a;
  --muted: #57504a;
  --clay: #b5532f;        /* Join Now */
  --clay-hover: #9a4426;
  --link: #93401f;
  --tint: #f6e6d9;        /* highlight band */
  --tint-deep: #f3e3d6;   /* join band */
  --pill-bg: #f3e3d6;
  --pill-ink: #7a3519;
  --line: #e7d9cc;
  --night: #2a201b;       /* footer, cookie, table head */
  --on-night: #ffffff;
  --on-night-muted: #d9cfc6;
  --on-night-accent: #f3c9b2;
  --font-head: 'Josefin Sans', 'Trebuchet MS', Arial, sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', Arial, sans-serif;
  --hdr-m: 64px;
  --cookie-m: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1.125rem; line-height: 1.7;
}
img, svg { display: block; max-width: 100%; }
strong { font-weight: 600; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 28px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 500; }
.skip-link:focus { left: 12px; top: 12px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; max-width: 100%;
  font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; border-radius: 0; cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--clay); color: #ffffff; border-color: var(--clay); }
.btn-primary:hover { background: var(--clay-hover); border-color: var(--clay-hover); color: #ffffff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #ffffff; }
.btn-sm { min-height: 48px; padding: 0 18px; font-size: 1rem; }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 1.1rem; }

/* ---------- Header: minimal bar, logo left, Log In and Join Now right ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; flex: 0 0 auto; }
.brand-logo { width: 200px; height: auto; }
.mainnav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.mainnav a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem;
  padding: 12px 12px; border-bottom: 3px solid transparent;
}
.mainnav a:hover { color: var(--link); }
.mainnav a.active { border-bottom-color: var(--clay); }
.mainnav a.login-link--menu { display: none; }
.header-cta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.menu-toggle {
  display: none; width: 48px; height: 48px; padding: 0;
  background: var(--surface); border: 2px solid var(--ink); border-radius: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); }

/* ---------- Hero: photo band across the top, copy in a card below ---------- */
.hero { position: relative; background: var(--bg); }
.hero-media { position: relative; overflow: hidden; background: #e9d6c7; height: clamp(320px, 52vh, 580px); }
.hero-media picture, .hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: center; }
.hero-card-wrap { position: relative; margin-top: -84px; }
.hero-card {
  position: relative; max-width: 700px;
  background: var(--surface); border-top: 6px solid var(--clay);
  padding: 30px 34px 32px;
  box-shadow: 0 14px 34px rgba(42, 32, 27, 0.12);
}
.hero-heading {
  font-family: var(--font-head); font-weight: 600; color: var(--ink);
  font-size: clamp(2rem, 3.2vw, 2.7rem); line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.005em;
}
.hero-strapline { color: var(--muted); font-size: 1.15rem; line-height: 1.6; margin: 0 0 22px; }

/* ---------- Sections ---------- */
.section { padding: 3.6rem 0 1.6rem; }
.section--first { padding-top: 3.4rem; }
.band { padding: 3.6rem 0 3.4rem; margin: 2rem 0; }
.band--tint { background: var(--tint); }
.prose { max-width: 760px; }
.prose p { margin: 0 0 1.15em; }
.prose p.lead { font-size: 1.22rem; line-height: 1.65; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; color: var(--ink); letter-spacing: -0.005em; }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); line-height: 1.12; margin: 0 0 0.6em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.18; margin: 0.35em 0 0.55em; }
h3 { font-size: 1.45rem; line-height: 1.25; margin: 0 0 0.45em; }
.prose h3 { margin-top: 1.8em; }

/* Signature: small pill tag above each H2, with a hairline running off to the right */
.tag {
  display: flex; align-items: center; gap: 14px; margin: 0 0 4px;
}
.tag span {
  display: inline-block; background: var(--pill-bg); color: var(--pill-ink);
  font-family: var(--font-body); font-weight: 600; font-size: 0.8rem; line-height: 1;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 7px 14px 6px; border-radius: 999px; white-space: nowrap;
}
.tag::after { content: ""; flex: 1 1 auto; height: 1px; background: var(--line); max-width: 220px; }
.band--tint .tag span, .band--join .tag span { background: var(--surface); }
.band--tint .tag::after { background: #e3c9b6; }

/* In-content links, scoped so buttons keep their colours */
.seo-content a:not(.btn) { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; font-weight: 600; }
.seo-content a:not(.btn):hover { color: var(--ink); text-decoration-thickness: 2px; }

/* ---------- Checklist (home) and feature list (singles) ---------- */
.checklist { list-style: none; margin: 1.6rem 0 1.8rem; padding: 0; display: grid; gap: 12px; max-width: 860px; }
.checklist li {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--clay);
  padding: 16px 20px 16px 62px; line-height: 1.6;
}
.checklist li::before {
  content: ""; position: absolute; left: 20px; top: 19px; width: 24px; height: 24px; background: var(--clay);
}
.checklist li::after {
  content: ""; position: absolute; left: 27px; top: 23px; width: 7px; height: 12px;
  border: solid #ffffff; border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.checklist--two { grid-template-columns: repeat(2, 1fr); max-width: none; }

/* ---------- Tables ---------- */
.table-wrap { margin: 1.6rem 0 2rem; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 1.02rem; line-height: 1.5; }
th, td { text-align: left; vertical-align: top; padding: 14px 16px; border: 1px solid var(--line); }
thead th { background: var(--night); color: var(--on-night); font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.01em; }
tbody th { font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; background: #fdf9f5; white-space: nowrap; }
.compare td:first-child { background: #fdf9f5; }
.compare thead th:first-child { background: var(--clay); }

/* ---------- Split text-and-image band ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split--reverse .split-art { order: -1; }
.split-art { background: var(--surface); border: 1px solid var(--line); padding: 26px; }
.split-art svg { width: 100%; height: auto; }

/* ---------- Three-feature row ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 1.8rem 0 1rem; }
.feature { background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--clay); padding: 24px 24px 10px; }
.feature h3 { margin-top: 0; }
.feature p { margin: 0 0 1em; }

/* ---------- Numbered reasons (singles) ---------- */
.reasons { list-style: none; counter-reset: r; margin: 1.6rem 0 1.6rem; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.reasons li { counter-increment: r; position: relative; background: var(--surface); border: 1px solid var(--line); padding: 20px 22px 18px 78px; line-height: 1.6; }
.reasons li::before {
  content: counter(r); position: absolute; left: 20px; top: 18px; width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--tint); color: var(--pill-ink); border: 2px solid var(--clay);
  font-family: var(--font-head); font-weight: 600; font-size: 1.35rem;
}

/* ---------- Date idea cards (singles) ---------- */
.ideas { list-style: none; margin: 1.6rem 0 1.6rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ideas li { background: var(--surface); border: 1px solid var(--line); border-bottom: 5px solid var(--clay); padding: 20px 20px 18px; line-height: 1.6; }

/* ---------- Final Join band ---------- */
.band--join { background: var(--tint-deep); border-top: 6px solid var(--clay); margin-bottom: 0; }
.join-card { max-width: 780px; }
.join-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--on-night-muted); padding: 3rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer .brand { color: var(--on-night); --logo-accent: var(--on-night-accent); --logo-mark-2: #ffffff; --logo-gap: var(--night); text-decoration: none; padding: 0; }
.footer-title { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; margin: 0 0 10px; color: #ffffff; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer a { color: var(--on-night-accent); text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 8px 0; }
.footer a:hover { color: #ffffff; }
.footer .brand { text-decoration: none; }
.footer-bottom { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.95rem; }

/* ---------- Cookie banner ---------- */
.cookie { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; background: var(--night); color: #ffffff; border-top: 4px solid var(--clay); }
.cookie.show { display: block; }
.cookie-inner { max-width: 1160px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 1rem; line-height: 1.4; }
.cookie-inner a { color: var(--on-night-accent); text-decoration: underline; }
.cookie-accept {
  flex: 0 0 auto; min-height: 48px; padding: 0 22px;
  background: var(--clay); color: #ffffff; border: 0; border-radius: 0;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; cursor: pointer;
}
.cookie-accept:hover { background: var(--clay-hover); }

.notfound { min-height: 40vh; }

/* ---------- Tablet / small desktop: in-flow accordion nav ---------- */
@media (max-width: 1023.98px) {
  .features { grid-template-columns: 1fr 1fr; }
  .ideas { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 959.98px) {
  .header-inner { flex-wrap: wrap; gap: 0 10px; min-height: 0; padding-top: 8px; padding-bottom: 8px; }
  .brand { order: 1; }
  .brand svg, .brand-logo, .brand img { width: clamp(110px, 33vw, 240px); }
  .header-cta { order: 2; margin-left: auto; }
  .login-link--bar { display: none; }
  .menu-toggle { display: inline-flex; }
  .mainnav { order: 3; width: 100%; display: none; margin: 8px 0 0; border-top: 1px solid var(--line); }
  .mainnav.open { display: block; }
  .mainnav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
  .mainnav a.active { border-bottom: 1px solid var(--line); box-shadow: inset 5px 0 0 var(--clay); padding-left: 16px; }
  .mainnav a.login-link--menu { display: block; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split--reverse .split-art { order: 0; }
  .split-art { max-width: 520px; }
}

/* ---------- Phones: hero sized by svh, button pinned to the bottom ---------- */
@media (max-width: 767.98px) {
  .container { padding: 0 16px; }
  .header-inner { min-height: var(--hdr-m); padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
  .header-cta { gap: 8px; }
  .header-cta .btn-sm { min-height: 46px; padding: 0 14px; font-size: 0.98rem; }
  .menu-toggle { width: 46px; height: 46px; }

  .hero {
    display: flex; flex-direction: column;
    min-height: calc(100vh - var(--hdr-m) - var(--cookie-m));
    min-height: calc(100svh - var(--hdr-m) - var(--cookie-m));
  }
  .hero-media { flex: 1 1 auto; min-height: 110px; height: auto; position: relative; }
  .hero-media picture { position: absolute; inset: 0; }
  .hero-card-wrap { flex: 0 0 auto; margin-top: -16px; }
  .hero-card { max-width: none; padding: 16px 16px 16px; border-top-width: 5px; }
  .hero-heading { font-size: clamp(1.6rem, 7.4vw, 2rem); line-height: 1.14; margin-bottom: 8px; }
  .hero-strapline { font-size: 1.02rem; line-height: 1.45; margin-bottom: 12px; }
  .hero-btn { width: 100%; min-height: 52px; }

  .section { padding: 2.4rem 0 0.8rem; }
  .section--first { padding-top: 2.4rem; }
  .band { padding: 2.4rem 0 2.2rem; margin: 1.4rem 0; }
  .prose p.lead { font-size: 1.15rem; }
  h1 { font-size: clamp(1.85rem, 8vw, 2.3rem); }
  h2 { font-size: clamp(1.5rem, 6.4vw, 1.85rem); }
  h3 { font-size: 1.3rem; }

  .checklist li { padding: 14px 16px 14px 54px; }
  .checklist li::before { left: 16px; top: 17px; }
  .checklist li::after { left: 23px; top: 21px; }
  .checklist--two { grid-template-columns: 1fr; }
  .features, .ideas, .reasons { grid-template-columns: 1fr; }
  .reasons li { padding: 18px 16px 16px 70px; }
  .reasons li::before { left: 14px; }

  /* Tables stack into cards on phones */
  .table-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-stack, .table-stack tbody, .table-stack tr, .table-stack th, .table-stack td { display: block; width: 100%; }
  .table-stack tr { margin: 0 0 14px; border: 1px solid var(--line); border-top: 5px solid var(--clay); background: var(--surface); }
  .table-stack th, .table-stack td { border: 0; border-bottom: 1px solid var(--line); white-space: normal; }
  .table-stack td:last-child { border-bottom: 0; }
  .table-stack td::before { content: attr(data-label); display: block; font-weight: 600; font-size: 0.9rem; color: var(--pill-ink); margin-bottom: 2px; }
  .table-stack tbody th { background: #fdf9f5; }

  .join-actions .btn { flex: 1 1 100%; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }

  .cookie { border-top-width: 3px; }
  .cookie-inner { padding: 8px 12px; gap: 10px; font-size: 0.86rem; justify-content: space-between; }
  .cookie-accept { min-height: 48px; padding: 0 16px; font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

/* hero focus (bulk runner v15) */
@media (min-width: 768px) {
  picture img { object-position: 70% 13% !important; }
}
@media (max-width: 767px) {
  picture img { object-position: 50% 50% !important; }
}
