/* YOCOLIX public website. Colours and fonts match lib/theme/. */

@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: 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"); }

:root {
  --rose: #F0507F;
  --rose-deep: #D9366B;
  --blush: #FFE4EC;
  --lavender: #B9A3F5;
  --lavender-soft: #EDE6FF;
  --background: #FFF5F8;
  --card: #FFFFFF;
  --divider: #F2DDE5;
  --text: #2D1B2E;
  --text-secondary: #7D6578;
  --rose-gradient: linear-gradient(135deg, #FF86A9, #F0507F, #D9366B);
  --heart-gradient: linear-gradient(135deg, #FF7DA4, #F0507F, #B57BEA);
  --shadow: 0 14px 30px rgba(240, 80, 127, .14);
  --display: "Playfair Display", Georgia, serif;
  --body: "Plus Jakarta Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 16px/1.6 var(--body);
  color: var(--text);
  background: linear-gradient(#FFE3EC, var(--background) 40%, #F7F1FF);
  background-color: var(--background);
  min-height: 100vh;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--rose-deep); }
:focus-visible { outline: 3px solid var(--lavender); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1120px, 100%); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 14px; z-index: 10; }

/* Header */
.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand span {
  font: 700 24px/1 var(--display); letter-spacing: 1.5px;
  background: var(--heart-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav a.link { text-decoration: none; font-weight: 600; color: var(--text); padding: 10px 14px; border-radius: 999px; }
.nav a.link:hover { background: rgba(255, 255, 255, .7); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px;
  font: 700 16px/1 var(--body); letter-spacing: .3px; text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.btn-primary { color: #fff; background: var(--rose-gradient); box-shadow: 0 10px 24px rgba(240, 80, 127, .32); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(240, 80, 127, .4); }
.btn-ghost { color: var(--rose-deep); background: #fff; box-shadow: var(--shadow); }
.btn-small { min-height: 42px; padding: 10px 18px; font-size: 15px; }
@media (max-width: 420px) { .nav a.link { padding: 10px 8px; } .btn-small { padding: 10px 14px; } }

/* Hero */
.hero { padding: 32px 0 64px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 56px 0 96px; } .hero .wrap { grid-template-columns: 1.05fr .95fr; } }
.eyebrow { font: italic 600 20px/1.3 var(--display); color: var(--rose-deep); margin: 0 0 8px; }
h1 { font: 700 clamp(40px, 7vw, 64px)/1.08 var(--display); margin: 0 0 18px; letter-spacing: -.5px; }
h1 em { font-style: normal; background: var(--heart-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2vw, 19px); color: var(--text-secondary); max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { font-size: 14px; color: var(--text-secondary); margin: 16px 0 0; }

/* Hero art: two tilted profile cards and the logo, like the app's welcome screen. */
.art { position: relative; width: min(420px, 100%); aspect-ratio: 1 / .92; margin: 0 auto; }
.profile {
  position: absolute; top: 4%; width: 46%; aspect-ratio: 1 / 1.32;
  background: #fff; border-radius: 28px; padding: 6px; box-shadow: 0 14px 30px rgba(240, 80, 127, .18);
}
.profile::before { content: ""; position: absolute; inset: 6px; border-radius: 23px; background: var(--g); }
.profile.left { left: 4%; transform: rotate(-7.5deg); --g: linear-gradient(135deg, #FFB3C9, #F0507F); }
.profile.right { right: 4%; transform: rotate(7.5deg); --g: linear-gradient(135deg, #D9CCFF, #9F86F0); }
.profile svg.person { position: absolute; left: 50%; bottom: 14%; width: 56%; transform: translateX(-50%); opacity: .9; }
.chip {
  position: absolute; left: 50%; top: 9%; transform: translateX(-50%);
  background: rgba(255, 255, 255, .92); color: var(--text); border-radius: 999px;
  padding: 4px 12px; font-size: 13px; font-weight: 600; white-space: nowrap;
}
.art .logo { position: absolute; left: 50%; bottom: 0; width: 40%; transform: translateX(-50%); filter: drop-shadow(0 10px 18px rgba(240, 80, 127, .35)); }

/* Sections */
section { padding: 56px 0; }
h2 { font: 700 clamp(30px, 4.5vw, 40px)/1.15 var(--display); margin: 0 0 12px; text-align: center; }
.section-lead { color: var(--text-secondary); text-align: center; max-width: 36em; margin: 0 auto 36px; }
.grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border-radius: 28px; padding: 26px; box-shadow: var(--shadow); }
.card h3 { font: 700 21px/1.25 var(--display); margin: 14px 0 8px; }
.card p { margin: 0; color: var(--text-secondary); }
.icon {
  width: 48px; height: 48px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: var(--blush); color: var(--rose-deep);
}
.icon.lav { background: var(--lavender-soft); color: #7B5FD9; }
.icon svg { width: 24px; height: 24px; }

.platforms .card { text-align: center; }
.platforms .icon { margin: 0 auto; }

.band { background: var(--card); border-radius: 32px; box-shadow: var(--shadow); padding: 40px 24px; text-align: center; }
@media (min-width: 720px) { .band { padding: 56px; } }
.band .cta { justify-content: center; }
.checklist { list-style: none; padding: 0; margin: 0 auto 28px; max-width: 34em; text-align: left; }
.checklist li { position: relative; padding: 8px 0 8px 34px; color: var(--text-secondary); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--rose-gradient);
}
.checklist li::after {
  content: ""; position: absolute; left: 7px; top: 16px; width: 8px; height: 5px;
  border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg);
}

/* Footer */
.site-footer { padding: 40px 0 48px; color: var(--text-secondary); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; border-top: 1px solid var(--divider); padding-top: 24px; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--text-secondary); }

/* 404 */
.center-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 16px; }
.center-page .card { max-width: 440px; }
.center-page img { width: 88px; margin: 0 auto; }
.center-page h1 { font-size: 36px; margin: 16px 0 8px; }
.center-page .actions { margin-top: 24px; }

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
