/* YOCOLIX public website. Colours and fonts match lib/theme/ (Elegant Light). */

@font-face { font-family: "Playfair Display"; font-weight: 600; font-display: swap; src: url("fonts/PlayfairDisplay-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Playfair Display"; font-weight: 600; font-style: italic; font-display: swap; src: url("fonts/PlayfairDisplay-SemiBoldItalic.ttf") format("truetype"); }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-display: swap; src: url("fonts/PlayfairDisplay-Bold.ttf") format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 400; font-display: swap; src: url("fonts/PlusJakartaSans-Regular.ttf") format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 500; font-display: swap; src: url("fonts/PlusJakartaSans-Medium.ttf") format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 600; font-display: swap; src: url("fonts/PlusJakartaSans-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 700; font-display: swap; src: url("fonts/PlusJakartaSans-Bold.ttf") format("truetype"); }

/* One look, as in the approved mockup: blush, crimson, burgundy and gold. */
:root {
  --bg: #FFF8F5;
  --bg-tint: #FCEFEA;
  --blush: #FCEDE8;
  --card: #FFFFFF;
  --line: #F1E2DC;
  --text: #2E0A17;
  --text-2: #5E4A50;
  --muted: #7E6A70;
  --ink: #2E0A17;
  --accent: #C8205A;
  --accent-strong: #A0123F;
  --accent-tint: #FBE4EB;
  --gold: #B88D52;
  --on-accent: #FFFFFF;
  --button: linear-gradient(90deg, #CF2A61, #C8205A 55%, #B5174F);
  --brand: #3A0C1F;
  --band: #5A0F2B;
  --band-end: #470A22;
  --band-text: #FFF6F1;
  --shadow: 0 18px 40px rgba(94, 18, 48, .10);
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.65; }
img { max-width: 100%; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.2; }
h3 { font-size: 1.15rem; line-height: 1.3; }
p { margin: 0; }
.wrap { max-width: 1320px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--text-2); }
.small { font-size: .85rem; }
.center { text-align: center; }
h2 { color: var(--ink); }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 28px; border-radius: 999px;
  font-family: var(--body); font-weight: 500; font-size: 1.05rem; text-decoration: none; white-space: nowrap; border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.btn-small { min-height: 48px; min-width: 130px; padding: 0 28px; font-size: 1.12rem; }
.btn-large { min-height: 58px; min-width: 250px; font-size: 1.3rem; }
.btn-primary { background: var(--button); color: var(--on-accent); box-shadow: 0 6px 16px rgba(200, 32, 90, .20); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(200, 32, 90, .26); }
.btn-outline { color: var(--accent); border-color: var(--accent); background: #FFFFFF; }
.btn-outline:hover { background: var(--accent-tint); }
.header-actions .btn-outline { color: var(--ink); min-width: 132px; }
.header-actions .btn-primary { min-width: 154px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* Gold sprigs (decoration only) */
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sprig { position: absolute; width: 120px; height: 240px; pointer-events: none; z-index: 1; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--blush) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header-row { display: flex; align-items: center; gap: 32px; min-height: 85px; }
.brand { display: inline-grid; justify-items: center; color: var(--brand); text-decoration: none; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 3.5rem; letter-spacing: .02em; line-height: .95; }
.brand-sub { display: flex; align-items: center; gap: 14px; margin-top: 4px; font-family: var(--body); font-weight: 500; font-size: 1.1rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink); }
.brand-sub::before, .brand-sub::after { content: ""; width: 40px; height: 1.2px; background: currentColor; }
.brand.small .brand-name { font-size: 2.2rem; }
.brand.small .brand-sub { font-size: .8rem; }
.nav { display: flex; gap: 42px; margin-left: 76px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 1.1rem; font-weight: 400; white-space: nowrap; }
.nav a[aria-current="page"], .nav a:hover { color: var(--accent); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }

/* Hero: the photo fills the right side and melts into the blush sky on the left. */
.hero { position: relative; overflow: hidden; min-height: 438px; display: flex; align-items: center;
  background: linear-gradient(90deg, #FDF0EB 0%, #FBE3DB 30%, #F8D3C6 48%, #F6C7B6 60%); }
.hero-photo { position: absolute; top: 0; bottom: 0; right: 0; width: 60%; margin: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 9%, #000 18%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 9%, #000 18%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: right 35%; display: block; }
.sprig-hero { left: -30px; top: 110px; width: 150px; height: 300px; }
.hero-row { position: relative; z-index: 2; width: 100%; padding-block: 40px 26px; }
.hero-text { max-width: 600px; display: grid; gap: 0; margin-left: 7px; }
.hero h1 { font-weight: 700; font-size: clamp(2.8rem, 5vw, 4.75rem); line-height: .97; color: var(--ink); letter-spacing: -.005em; }
.highlight { color: var(--accent); }
.lead { font-size: 1.3rem; color: var(--ink); line-height: 1.32; margin-top: 26px; }
.cta { display: flex; flex-wrap: wrap; gap: 25px; align-items: center; margin-top: 20px; }
.photo-note { font-size: .78rem; color: var(--band-text); opacity: .6; text-align: center; padding: 26px 20px 0; }

/* Feature strip */
.features { position: relative; overflow-x: clip; background: linear-gradient(180deg, #FFF8F5, #FFFAF8); }
.features-row { display: flex; justify-content: space-between; gap: 24px; padding-block: 18px 24px; padding-left: 22px; padding-right: 20px; }
.feature { display: flex; gap: 18px; align-items: center; }
.feature svg { flex: none; width: 48px; height: 48px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-family: var(--body); font-size: 1.15rem; font-weight: 500; color: var(--ink); line-height: 1.4; }
.feature p { font-size: .95rem; color: var(--muted); line-height: 1.5; }
.sprig-features { right: -20px; top: -40px; width: 120px; height: 150px; transform: rotate(48deg); }

/* Photo row, with the burgundy band's curve sweeping over its lower edge */
.showcase { position: relative; overflow-x: clip; background: #FFFAF8; }
.gallery { position: relative; display: grid; grid-template-columns: 267fr 318fr 265fr 340fr 278fr; gap: 11px; padding: 0 12px; max-width: 1560px; margin: 0 auto; }
.gallery img { width: 100%; height: 212px; object-fit: cover; border-radius: 10px; display: block; }
.band { position: relative; z-index: 2; margin-top: -67px; color: var(--band-text); }
.band-curve { display: block; width: 100%; height: 76px; }
.band-curve .fill { fill: var(--band); }
.band-curve .edge { fill: none; stroke: #FFFAF8; stroke-width: 14; vector-effect: non-scaling-stroke; }
.band-body { position: relative; margin-top: -1px; padding: 18px 0 40px; background: linear-gradient(180deg, var(--band), var(--band-end)); overflow: hidden; }
.sprig-band-left { left: -24px; top: 30px; width: 150px; height: 260px; transform: rotate(14deg); z-index: 3; }
.sprig-band-right { right: -24px; top: 60px; width: 140px; height: 240px; transform: scaleX(-1) rotate(14deg); z-index: 3; }
.band-row { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.band-item { display: grid; justify-items: center; align-content: start; gap: 6px; text-align: center; padding: 6px 24px; color: inherit; text-decoration: none; }
.band-item + .band-item { border-left: 1px solid rgba(255, 246, 241, .2); }
.band-item svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.band-item h3 { font-family: var(--body); font-weight: 500; font-size: 1.32rem; }
.band-item p { font-size: 1.15rem; opacity: .95; max-width: 16ch; line-height: 1.4; }
a.band-item:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

/* Sections */
.section { padding-block: 88px; }
.section.tinted { background: var(--bg-tint); }
.two-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.prose { display: grid; gap: 16px; color: var(--text-2); font-size: 1.05rem; max-width: 62ch; }
.section-lead { color: var(--text-2); max-width: 60ch; margin: 12px auto 0; }
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: grid; gap: 10px; box-shadow: var(--shadow); }
.steps .num { font-family: var(--display); font-size: 1.6rem; color: var(--gold); }
.steps p { color: var(--text-2); font-size: .95rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 34px; color: var(--text); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-tint); }
.checklist li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 5px; height: 9px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 44px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: grid; gap: 10px; align-content: start; }
.plan.featured { border-color: var(--gold); box-shadow: var(--shadow); }
.plan h3 { font-size: 1.4rem; }
.plan-note { font-size: .82rem; color: var(--gold); font-weight: 600; letter-spacing: .02em; }
.plan-price { font-family: var(--display); font-weight: 700; font-size: 1.8rem; color: var(--ink); line-height: 1.1; }
.plan-price span { font-family: var(--body); font-weight: 500; font-size: .95rem; color: var(--text-2); }
.plan ul { margin: 6px 0 0; padding-left: 1.1em; color: var(--text-2); display: grid; gap: 6px; font-size: .95rem; }
.app-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 40px; box-shadow: var(--shadow); }
.app-band h2 { margin-bottom: 10px; }
.store-note { font-size: .85rem; color: var(--muted); }

/* Download YOCOLIX Dating: official store badges once the apps are
   published (tool/build_website.sh), "Coming soon" until then. */
.download { margin-top: 26px; }
.download-title { margin: 0 0 10px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-badge { display: inline-flex; border-radius: 10px; }
.store-badge img { display: block; height: 50px; width: auto; }
.store-badge.google img { height: 74px; margin: -12px -10px; }
.store-badge:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.store-soon { display: inline-flex; flex-direction: column; justify-content: center; min-width: 150px; height: 50px; padding: 0 18px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--card); box-shadow: 0 4px 14px rgba(94, 18, 48, .06); }
.store-soon-name { font-weight: 700; color: var(--ink); font-size: .98rem; line-height: 1.2; }
.store-soon-note { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px; background: var(--bg-tint); }
.footer-row { display: grid; grid-template-columns: auto 1fr; gap: 16px 40px; align-items: start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; justify-content: flex-end; }
.footer-links a { color: var(--text-2); text-decoration: none; font-size: .92rem; }
.footer-links a:hover { color: var(--accent); }
.footer-row > .small { grid-column: 1 / -1; }

/* Line breaks used only on wide screens */
@media (max-width: 1100px) { .wide-only { display: none; } }

/* Smaller laptops */
@media (max-width: 1280px) {
  .nav { gap: 26px; margin-left: 28px; }
  .brand-name { font-size: 2.6rem; }
  .brand-sub { font-size: .85rem; }
  .btn-small { min-width: 0; }
  .features-row { padding-left: 20px; padding-right: 20px; }
}

/* Tablets */
@media (max-width: 980px) {
  .nav { display: none; }
  .features-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery img:nth-child(n+4) { display: none; }
  .band-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .band-item:nth-child(3) { border-left: 0; }
  .two-col { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .steps, .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-left: auto; margin-right: auto; }
}

/* Phones: the photo sits above the text. */
@media (max-width: 680px) {
  .header-row { gap: 12px; min-height: 68px; }
  .brand-name { font-size: 1.75rem; }
  .brand-sub { font-size: .6rem; gap: 8px; letter-spacing: .28em; }
  .brand-sub::before, .brand-sub::after { width: 18px; }
  .header-actions { gap: 8px; }
  .header-actions .btn-outline { display: none; }
  .header-actions .btn-primary { min-width: 0; }
  .btn-small { min-height: 42px; padding: 0 20px; font-size: .98rem; }
  .hero { flex-direction: column; align-items: stretch; min-height: 0; background: linear-gradient(180deg, #F8D3C6, #FDF0EB 55%); }
  .hero-photo { position: relative; inset: auto; width: 100%; height: 300px;
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 28%); mask-image: linear-gradient(0deg, transparent 0%, #000 28%); }
  .hero-photo img { object-position: 62% 35%; }
  .sprig-hero, .sprig-features { display: none; }
  .hero-row { padding-block: 0 40px; }
  .hero-text { margin-left: 0; }
  .hero h1 { font-size: 2.9rem; }
  .lead { font-size: 1.1rem; margin-top: 18px; }
  .cta { gap: 12px; margin-top: 22px; }
  .btn-large { min-width: 0; flex: 1 1 140px; min-height: 54px; font-size: 1.08rem; }
  .features-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 16px; }
  .gallery img { height: 170px; }
  .gallery img:nth-child(3) { display: none; }
  .gallery img:nth-child(n+4) { display: block; }
  .band { margin-top: -40px; }
  .band-curve { height: 48px; }
  .band-body { padding: 28px 0 48px; }
  .band-row { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .band-item + .band-item { border-left: 0; border-top: 1px solid rgba(255, 246, 241, .2); padding-top: 24px; }
  .sprig-band-left, .sprig-band-right { width: 70px; height: 140px; top: auto; bottom: -40px; }
  .photo-note { padding: 32px 48px 0; }
  .section { padding-block: 64px; }
  .app-band { grid-template-columns: minmax(0, 1fr); padding: 28px; }
  .footer-row { grid-template-columns: minmax(0, 1fr); }
  .footer-links { justify-content: flex-start; }
}
[hidden] { display: none !important; }

/* Legal pages (privacy.html, terms.html): contents beside the text on wide
   screens, one readable column on phones. */
.legal { padding-block: 48px 80px; }
.legal-head { max-width: 860px; margin-bottom: 36px; }
.legal-head h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.1; color: var(--ink); margin-bottom: 10px; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 105px; max-height: calc(100vh - 125px); overflow-y: auto; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.toc-title { font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.legal-toc ol { margin: 0; padding-left: 1.2em; font-size: .92rem; line-height: 1.5; }
.legal-toc li + li { margin-top: 6px; }
.legal-toc a { color: var(--text-2); text-decoration: none; }
.legal-toc a:hover { color: var(--accent); text-decoration: underline; }
.legal-body { max-width: 780px; min-width: 0; }
.legal-body section { scroll-margin-top: 105px; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.legal-body section:last-child { border-bottom: 0; }
.legal-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin-bottom: 14px; }
.legal-body h3 { margin: 22px 0 10px; color: var(--ink); }
.legal-body p, .legal-body ul, .legal-body dl { color: var(--text-2); }
.legal-body p + p, .legal-body p + ul, .legal-body ul + p, .legal-body dl + p { margin-top: 12px; }
.legal-body ul { margin: 10px 0 0; padding-left: 1.3em; }
.legal-body li + li { margin-top: 6px; }
.legal-body ul ul { margin-top: 6px; }
.legal-body strong { color: var(--text); }
.legal-body a { overflow-wrap: anywhere; }
.key-points { list-style: none; padding: 20px 22px !important; background: var(--accent-tint); border-radius: 16px; }
.key-points li { padding-left: 26px; position: relative; }
.key-points li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.data-list { margin: 0; }
.data-list dt { font-weight: 700; color: var(--text); margin-top: 16px; }
.data-list dd { margin: 4px 0 0; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.legal-table { width: 100%; border-collapse: collapse; font-size: .95rem; color: var(--text-2); }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.legal-table th { background: var(--bg-tint); color: var(--text); font-weight: 700; }
.legal-table td:first-child { font-weight: 600; color: var(--text); width: 34%; }
.legal-table tr:last-child td { border-bottom: 0; }
/* Draft markers: every one must be resolved and removed before publishing. */
.review { display: inline; background: #FFF1C2; color: #6B4A00; border: 1px dashed #C99A1A; border-radius: 6px; padding: 1px 6px; font-size: .88em; font-weight: 600; }
.review.legal-tag { background: #E9E4FF; color: #3B2A86; border-color: #7A68D6; }
.review-banner { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: #FFF8E1; border: 1px solid #E8CD7A; color: #5A4300; font-size: .95rem; }

@media (max-width: 980px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .legal-toc { position: static; max-height: none; }
  .legal-toc ol { columns: 2; column-gap: 28px; }
  .legal-toc li { break-inside: avoid; }
}
@media (max-width: 680px) {
  .legal { padding-block: 32px 56px; }
  .legal-toc ol { columns: 1; }
  .legal-body section { padding-bottom: 24px; margin-bottom: 24px; }
  .legal-table td:first-child { width: auto; }
  .legal-table th, .legal-table td { padding: 10px 12px; }
}
/* The narrowest phones: long button labels wrap instead of widening the page. */
@media (max-width: 360px) { .btn { white-space: normal; text-align: center; max-width: 100%; } .app-band > * { min-width: 0; } }
