/* ============================================================
   OVER-50s LANDING PAGE (/{locale}/dating-over-50), option A.
   Standalone: this is the page's only stylesheet. Larger type and
   targets than the rest of the site, for readers who may be new to
   online dating. Text colours meet 4.5:1 on their backgrounds.
   ============================================================ */

@font-face { font-family: "O50 Display"; src: url("../fonts/Raleway-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "O50 Text"; src: url("../fonts/OpenSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "O50 Text"; src: url("../fonts/OpenSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "O50 Text"; src: url("../fonts/OpenSans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

.o50 {
    --ink: #2a2a3a;
    --ink-soft: #3b3450;
    --navy: #180054;
    --purple: #2E0F7B;
    --violet: #5B2BC4;
    --link: #3B1A9E;
    --pink: #FB698E;
    --lilac: #F3EEFD;
    --mist: #F7F4FD;
    --ground: #FBF9FF;
    --edge: #DDD5EE;
    --tick: #1F7A55;
    margin: 0;
    background: var(--ground);
    color: var(--ink);
    font-family: "O50 Text", "Open Sans", Arial, sans-serif;
    font-size: 20px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

.o50 *, .o50 *::before, .o50 *::after { box-sizing: border-box; }
.o50 img { max-width: 100%; height: auto; }
.o50 a { color: var(--link); }
.o50 a:hover { color: var(--navy); }
.o50 a:focus-visible, .o50 summary:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

.o50 h1, .o50 h2 { font-family: "O50 Display", "Raleway", Arial, sans-serif; font-weight: 800; color: var(--navy); line-height: 1.15; margin: 0; }
.o50 h1 { font-size: clamp(38px, 5.4vw, 58px); margin-bottom: 28px; }
.o50 h2 { font-size: clamp(30px, 3.6vw, 40px); margin-bottom: 24px; }
.o50 h3 { font-size: 24px; line-height: 1.3; color: var(--navy); margin: 0 0 8px; }
/* :where() keeps this reset at element weight, so class rules such as
   .o50-lede can set their own margins (it was silently zeroing them). */
:where(.o50) p { margin: 0; }

.o50-skip { position: absolute; left: -9999px; top: 0; padding: 12px 18px; background: #fff; color: var(--navy); z-index: 10; }
.o50-skip:focus { left: 16px; top: 16px; }

.o50-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.o50-narrow { max-width: 960px; }
.o50-center { text-align: center; }
.o50-nowrap { white-space: nowrap; }

/* Buttons */
.o50-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 56px; padding: 0 30px; border-radius: 28px;
    font-weight: 700; font-size: 20px; line-height: 1.2; text-align: center;
    text-decoration: none; transition: background-color .2s ease, color .2s ease;
}
.o50 .o50-btn-primary { background: var(--pink); color: var(--navy); min-height: 64px; padding: 0 44px; font-size: 22px; border-radius: 32px; }
.o50 .o50-btn-primary:hover, .o50 .o50-btn-primary:focus { background: #ffffff; color: var(--navy); }
.o50 .o50-btn-outline { border: 2px solid #ffffff; color: #ffffff; min-height: 48px; font-size: 18px; }
.o50 .o50-btn-outline:hover, .o50 .o50-btn-outline:focus { background: #ffffff; color: var(--navy); }
.o50-hero .o50-btn-primary:hover, .o50-hero .o50-btn-primary:focus { background: var(--navy); color: #ffffff; }

/* Header */
.o50-header { background: var(--navy); padding: 18px 0; }
.o50-header-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.o50-header img { display: block; width: 120px; height: 44px; }

/* Hero */
.o50-hero { background: var(--lilac); padding: 72px 0 80px; }
.o50-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 56px; align-items: center; }
.o50-hero-single { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.o50-eyebrow { font-weight: 700; font-size: 18px; color: var(--violet); margin-bottom: 20px; }
.o50-lede { font-size: 22px; color: var(--ink-soft); max-width: 34em; margin-bottom: 48px; }
.o50-actions { display: flex; flex-wrap: wrap; gap: 24px 36px; align-items: center; }
.o50-link { font-weight: 600; }
.o50-ticks { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 14px; }
.o50-ticks li { display: flex; gap: 12px; align-items: center; }
.o50-ticks li::before {
    content: ""; flex: 0 0 26px; height: 26px;
    background: no-repeat center / 26px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F7A55' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E");
}
.o50-hero-photo img { display: block; width: 100%; border-radius: 28px; aspect-ratio: 720 / 964; object-fit: cover; }

/* Bands */
.o50-band { padding: 80px 0; }
.o50-white { background: #ffffff; }
.o50-sub { color: var(--ink-soft); margin: -8px 0 40px; }

.o50-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 40px; }
.o50-card { background: var(--mist); border-radius: 24px; padding: 36px; }
.o50-card svg { fill: none; stroke: var(--violet); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.o50-card h3 { margin: 20px 0 12px; font-size: 26px; }
.o50-card p { color: var(--ink-soft); }

.o50-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.o50-steps li { display: flex; gap: 24px; align-items: flex-start; padding: 28px; background: #ffffff; border: 1px solid var(--edge); border-radius: 20px; }
.o50-steps span {
    flex: 0 0 56px; height: 56px; border-radius: 28px; background: var(--navy); color: #ffffff;
    display: flex; align-items: center; justify-content: center;
    font-family: "O50 Display", "Raleway", Arial, sans-serif; font-weight: 800; font-size: 26px;
}
.o50-steps p { color: var(--ink-soft); }

.o50-purple { background: var(--purple); color: #ffffff; }
.o50-purple h2 { color: #ffffff; }
.o50-purple p { color: #EDE6FF; }
.o50-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.o50-promise { background: #ffffff; border-radius: 24px; padding: 36px; }
.o50-promise h3 { margin-bottom: 12px; }
.o50-promise p { color: var(--ink); }

.o50-faq { display: grid; gap: 14px; }
.o50-faq details { background: #ffffff; border: 1px solid var(--edge); border-radius: 16px; padding: 22px 28px; }
.o50-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 22px; color: var(--navy); }
.o50-faq summary::-webkit-details-marker { display: none; }
.o50-faq summary::after { content: "+"; flex: none; font-size: 28px; line-height: 1; transition: transform .2s ease; }
.o50-faq details[open] summary::after { transform: rotate(45deg); }
.o50-faq details p { margin-top: 16px; color: var(--ink-soft); }

.o50-dark { background: var(--navy); color: #ffffff; padding: 88px 0; }
.o50-dark h2 { color: #ffffff; font-size: clamp(32px, 4vw, 44px); }
.o50-dark p { color: #EDE6FF; margin-bottom: 40px; }
.o50-dark .o50-small { font-size: 18px; margin: 32px 0 0; }
.o50-dark .o50-small a { color: #ffffff; font-weight: 700; }
.o50-dark a:focus-visible { outline-color: #ffffff; }
.o50-apps { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 40px; }

.o50-footer { background: #0F0033; color: #D9D0F2; font-size: 16px; padding: 32px 0; }
.o50-footer-row { display: flex; flex-wrap: wrap; gap: 20px 32px; justify-content: space-between; align-items: center; }
.o50-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.o50 .o50-footer a { color: #ffffff; }

/* Tablets and phones */
@media (max-width: 960px) {
    .o50-hero-grid, .o50-split { grid-template-columns: minmax(0, 1fr); }
    .o50-cards { grid-template-columns: minmax(0, 1fr); }
    .o50-hero-photo { max-width: 520px; }
}

@media (max-width: 600px) {
    .o50 { font-size: 19px; }
    .o50-wrap { padding: 0 16px; }
    .o50-hero { padding: 48px 0 56px; }
    .o50-band { padding: 56px 0; }
    .o50-card, .o50-promise { padding: 28px; }
    .o50-steps li { padding: 22px; gap: 18px; }
    .o50-steps span { flex-basis: 48px; height: 48px; font-size: 22px; }
    .o50 .o50-btn-primary { width: 100%; }
    .o50-lede { margin-bottom: 40px; }
    .o50-actions { gap: 28px; }
    .o50-ticks { margin-top: 48px; }
    .o50-faq details { padding: 18px 20px; }
    .o50-faq summary { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .o50 * { transition: none !important; }
}
