/* ilayra.in — no web fonts, no scripts, no trackers. Colours from the app (blush). */
:root {
  --rose: #a8235f; --rose-deep: #5c0b33; --lav: #6b5b9a; --lav-soft: #ece6fa;
  --pink: #fff0f5; --pink-2: #fde4ed; --pink-3: #ffd9e6; --line: #f0b9cd;
  --ink: #1f1a1d; --muted: #5f5560; --sos: #c62828; --white: #fff;
  --radius: 20px; --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--lav); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 9; }

/* Wordmark: Cormorant Garamond Semibold Italic (SIL OFL), as on the app icon */
@font-face { font-family: "Ilayra Wordmark"; font-style: italic; font-weight: 600; font-display: swap;
  src: url(/static/fonts/cormorant-garamond-600-italic.woff2) format("woff2"); }
.wordmark { font-family: "Ilayra Wordmark", Georgia, serif; font-style: italic; font-weight: 600; font-size: 1.32em; letter-spacing: .01em; color: var(--rose); line-height: 1; }
footer .wordmark { color: #fff; }

/* Header */
header.top { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid #f6dbe6; }
header.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 21px; letter-spacing: -.01em; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
nav.main { margin-left: auto; display: flex; gap: 22px; align-items: center; }
nav.main a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
nav.main a:hover { color: var(--rose); }
nav.main a.btn-primary, nav.main a.btn-primary:hover { color: #fff; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; }
.btn-primary { background: linear-gradient(135deg, var(--rose), #c2417b); color: #fff; box-shadow: 0 8px 24px rgba(168,35,95,.28); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: #fff; color: var(--ink); border-color: #e9cfda; }
.btn-ghost:hover { border-color: var(--rose); color: var(--rose); }
.btn-small { padding: 9px 18px; font-size: 14px; }
.btn[aria-disabled="true"] { opacity: .6; pointer-events: none; box-shadow: none; }
.btn small { display: block; font-size: 11px; font-weight: 500; opacity: .85; line-height: 1.1; }
.btn .t { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.btn svg { width: 22px; height: 22px; flex: none; }
/* Phone menu: a <details> dropdown (no JavaScript). */
.mnav { display: none; margin-left: auto; position: relative; }
.mnav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--ink); background: var(--pink); }
.mnav details:not(.mnav) > summary::-webkit-details-marker { display: none; }
.mnav[open] summary { background: var(--pink-3); color: var(--rose); }
.mnav-panel { position: absolute; right: 0; top: 52px; width: min(280px, calc(100vw - 32px)); background: #fff; border: 1px solid #f3d5e1; border-radius: 18px; padding: 10px; box-shadow: 0 18px 40px rgba(92,11,51,.16); display: grid; gap: 2px; }
.mnav-panel a:not(.btn) { padding: 12px 14px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 500; }
.mnav-panel a:not(.btn):hover { background: var(--pink); }
.mnav-panel .btn { justify-content: center; margin-top: 6px; color: #fff; }
@media (max-width: 760px) { nav.main { display: none; } .mnav { display: block; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 520px at 80% 0%, var(--pink-3), transparent 60%), radial-gradient(900px 480px at 0% 30%, var(--lav-soft), transparent 60%), var(--pink); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--rose); font-size: 14px; font-weight: 600; }
h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.04; letter-spacing: -.035em; margin: 18px 0 18px; font-weight: 800; }
.grad { background: linear-gradient(100deg, var(--rose), #c2417b 45%, var(--lav)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 560px; margin: 0 0 28px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { mix-blend-mode: multiply; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 40px; text-align: center; } .lead { margin-inline: auto; } .cta { justify-content: center; } .hero-art { max-width: 460px; margin: 0 auto; } }

/* Trust strip */
.trust { border-bottom: 1px solid #f6dbe6; background: #fff; }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; }
.trust li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; font-weight: 500; }
.trust li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); }

/* Sections */
section { padding: 84px 0; }
section.alt { background: var(--pink); }
.eyebrow { color: var(--rose); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; letter-spacing: -.025em; margin: 10px 0 14px; font-weight: 800; }
h3 { font-size: 20px; margin: 0 0 6px; letter-spacing: -.01em; }
.sub { color: var(--muted); font-size: 18px; max-width: 680px; margin: 0 0 40px; }
.center { text-align: center; } .center .sub { margin-inline: auto; }
.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } .g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .g3, .g4, .g2 { grid-template-columns: 1fr; } section { padding: 60px 0; } }
.card { background: #fff; border: 1px solid #f3d5e1; border-radius: var(--radius); padding: 24px; }
section.alt .card { border-color: #f3cfdd; }
.card p { margin: 0; color: var(--muted); }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--pink-3); color: var(--rose); margin-bottom: 14px; font-size: 22px; }
.icon.lav { background: var(--lav-soft); color: var(--lav); }

/* Feature rows with phone screenshots */
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 28px 0; }
.row + .row { border-top: 1px dashed #f0cddb; }
.row.flip .phone { order: -1; }
.phone { justify-self: center; width: 270px; border-radius: 36px; padding: 10px; background: #1d1a1c; box-shadow: 0 30px 60px rgba(92,11,51,.22); }
.phone img { border-radius: 28px; }
ul.ticks { list-style: none; padding: 0; margin: 16px 0 0; }
ul.ticks li { padding-left: 30px; position: relative; margin: 8px 0; color: var(--ink); }
ul.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--pink-3); color: var(--rose); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
@media (max-width: 820px) { .row { grid-template-columns: minmax(0, 1fr); gap: 28px; } .row.flip .phone { order: 0; } }

/* Safety */
.safety { background: linear-gradient(160deg, #2a0f1c, #4a1330); color: #fff; }
.safety h2, .safety h3 { color: #fff; } .safety .sub, .safety .card p { color: #f3d6e2; }
.safety .eyebrow { color: #ffb0cb; }
.safety .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.safety .icon { background: rgba(198,40,40,.22); color: #ff8a80; }
.badge-free { display: inline-block; background: var(--sos); color: #fff; font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 999px; letter-spacing: .02em; }

/* Pricing */
.price { font-size: 40px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 2px; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan { display: flex; flex-direction: column; }
.plan ul { margin: 16px 0 0; padding-left: 18px; color: var(--muted); }
.plan.best { border: 2px solid var(--rose); box-shadow: 0 16px 40px rgba(168,35,95,.14); }
.tag { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--rose); background: var(--pink-3); padding: 3px 10px; border-radius: 999px; }

/* FAQ */
details:not(.mnav) { background: #fff; border: 1px solid #f3d5e1; border-radius: 16px; padding: 18px 22px; margin: 10px 0; }
details:not(.mnav) > summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; }
details:not(.mnav) > summary::-webkit-details-marker { display: none; }
details:not(.mnav) > summary::after { content: "+"; float: right; color: var(--rose); font-size: 22px; line-height: 1; }
details:not(.mnav)[open] > summary::after { content: "–"; }
details:not(.mnav) p { color: var(--muted); margin: 12px 0 0; }

/* Final CTA */
.final { background: linear-gradient(135deg, var(--rose), #7a3f8f); color: #fff; border-radius: 32px; padding: 56px 32px; text-align: center; }
.final h2 { color: #fff; } .final p { color: #fde4ed; font-size: 18px; margin: 0 0 26px; }
.final .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }

/* Legal and plain pages */
.page { max-width: 780px; margin: 0 auto; padding: 56px 20px 80px; }
.page h1 { font-size: clamp(32px, 5vw, 44px); margin-top: 0; }
.page h2 { font-size: 24px; margin-top: 36px; }
.page h3 { font-size: 19px; margin-top: 24px; }
.page p, .page li { color: #3b333a; }
.page .meta { color: var(--muted); font-size: 14px; }
.contact-list { list-style: none; padding: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid #f3d5e1; }
.contact-list b { display: block; }
.alert { background: #fff3f2; border: 1px solid #f4c7c3; border-radius: 16px; padding: 16px 20px; color: #7b1c14; }

/* Small helpers (no inline styles: the CSP forbids them) */
.left { text-align: left; } .flush { margin-bottom: 0; } .centered { margin-inline: auto; }
.mt { margin-top: 24px; } .mt-s { margin-top: 8px; } .narrow { max-width: 820px; }
.row-center { display: flex; justify-content: center; }
.hero-plain .wrap { grid-template-columns: minmax(0, 1fr); text-align: center; padding-bottom: 40px; }
.hero-plain .cta { justify-content: center; }

/* Footer */
footer { background: #1f1a1d; color: #d9cdd3; padding: 56px 0 28px; margin-top: 0; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
footer h4 { color: #fff; font-size: 15px; margin: 0 0 12px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin: 8px 0; }
footer a { color: #d9cdd3; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer .brand { color: #fff; }
.foot-about { margin: 12px 0 0; max-width: 320px; } .foot-help { margin: 12px 0 0; font-size: 14px; }
footer .small { font-size: 13px; color: #a99aa2; margin-top: 28px; padding-top: 20px; border-top: 1px solid #3a3136; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 800px) { footer .cols { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ───────────── Phones ───────────── */
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  header.top .wrap { height: 60px; }
  .brand { font-size: 19px; } .brand img { width: 34px; height: 34px; }
  section { padding: 52px 0; }
  h2 { font-size: 28px; margin: 6px 0 10px; }
  h3 { font-size: 17px; }
  .sub { font-size: 16px; margin-bottom: 24px; }
  .eyebrow { font-size: 12px; }

  /* Hero: art first and smaller, then words, then equal full-width buttons */
  .hero .wrap { padding-top: 20px; padding-bottom: 36px; gap: 8px; }
  .hero .wrap > img.hero-art { order: -1; width: 82%; max-width: 330px; margin: 0 auto -6px; }
  h1 { font-size: 36px; margin: 14px 0 12px; }
  .lead { font-size: 16px; margin-bottom: 22px; }
  .pill { font-size: 13px; padding: 5px 12px; }
  .cta { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; max-width: 340px; margin: 0 auto; }
  .cta .btn { justify-content: center; padding: 12px 18px; }
  .hero-note { font-size: 13px; }
  .hero-plain .wrap { padding-top: 32px; }

  /* Trust points as two columns of pills */
  .trust ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 16px; }
  .trust li { font-size: 13px; background: var(--pink); border-radius: 12px; padding: 8px 10px; line-height: 1.3; }
  .trust li::before { flex: none; width: 6px; height: 6px; }
  .trust li:last-child { grid-column: 1 / -1; justify-content: center; }

  /* Compact cards: icon beside the text */
  .grid { gap: 10px; }
  .card:not(.plan) { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px; border-radius: 16px; align-items: start; }
  .card:not(.plan) .icon { grid-row: span 2; margin: 0; width: 44px; height: 44px; border-radius: 12px; }
  .card:not(.plan) h3 { margin: 2px 0 2px; }
  .card:not(.plan) p { font-size: 14.5px; line-height: 1.5; }

  /* Feature rows: smaller phone, tighter spacing */
  .row { gap: 26px; padding: 18px 0; }
  .phone { width: 220px; border-radius: 30px; padding: 8px; }
  .phone img { border-radius: 23px; }
  ul.ticks li { font-size: 15px; }

  .safety .row { padding-top: 0; }
  .price { font-size: 34px; }
  .plan.best { order: -1; }
  details:not(.mnav) { padding: 14px 16px; border-radius: 14px; }
  details:not(.mnav) > summary { font-size: 15.5px; padding-right: 18px; }
  .final { border-radius: 24px; padding: 36px 18px; }
  .final p { font-size: 16px; }
  .final .cta { max-width: 300px; }

  .page { padding: 32px 16px 56px; }
  .page h2 { font-size: 21px; }
  footer { padding: 40px 0 24px; }
  footer .cols { gap: 24px 16px; }
  footer .cols > div:first-child { grid-column: 1 / -1; }
  footer .small { flex-direction: column; }
}
@media (max-width: 360px) { h1 { font-size: 31px; } .trust ul { grid-template-columns: 1fr; } }
