/* Yapzy website: same palette as the Android app (lavender, white, purple, navy ink). */
:root { --bg:#F6F4FF; --card:#fff; --line:#E7E2FB; --accent:#6C4CF1; --muted:#7A7591; --fg:#1E1B3A; }
* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { background:var(--bg); color:var(--fg); font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,sans-serif; }
button { font:inherit; cursor:pointer; border:0; background:none; color:inherit; }
a { color:var(--accent); }
.muted { color:var(--muted); font-size:14px; }

.nav { position:sticky; top:0; z-index:10; display:flex; align-items:center; gap:24px; padding:14px 6vw; background:rgba(246,244,255,.9); backdrop-filter:blur(8px); border-bottom:1px solid var(--line); }
.navlogo img { height:30px; display:block; }
.nav nav { display:flex; gap:22px; margin-left:12px; }
.nav nav a { color:var(--fg); text-decoration:none; font-weight:500; font-size:15px; }
.navcta { margin-left:auto; background:var(--accent); color:#fff; text-decoration:none; font-weight:600; padding:10px 18px; border-radius:99px; }

.hero { display:grid; grid-template-columns:1.2fr 1fr; gap:48px; align-items:center; padding:56px 6vw 40px; max-width:1240px; margin:0 auto; }
.kicker { color:var(--accent); font-weight:700; font-size:13px; letter-spacing:.06em; }
.hero h1 { font-size:clamp(34px,4.6vw,56px); line-height:1.08; margin:10px 0 18px; letter-spacing:-.02em; }
.hero h1 span { color:var(--accent); }
.lead { color:#4A4566; font-size:17px; max-width:600px; }
.tags { display:flex; gap:10px; margin-top:22px; flex-wrap:wrap; }
.tags a { background:#fff; border:1px solid var(--line); padding:8px 16px; border-radius:99px; color:var(--fg); text-decoration:none; font-weight:600; font-size:14px; }

.startcard { background:#fff; border-radius:22px; padding:26px; box-shadow:0 20px 50px rgba(108,76,241,.14); }
.startcard h2 { font-size:20px; margin-bottom:16px; }
.startcard label, .startcard .lbl { display:block; font-size:12px; font-weight:700; color:var(--muted); letter-spacing:.05em; margin:12px 0 6px; }
.startcard input, .startcard select { display:block; width:100%; margin-top:6px; border:1.5px solid var(--line); border-radius:12px; padding:12px; font:inherit; color:var(--fg); background:#fff; }
.startcard input:focus, .startcard select:focus { outline:none; border-color:var(--accent); }
.gender { display:flex; gap:10px; }
.gender button { flex:1; display:flex; align-items:center; gap:10px; border:1.5px solid var(--line); border-radius:12px; padding:12px; font-weight:600; }
.gender button i { width:14px; height:14px; border-radius:50%; display:inline-block; }
.gender button.sel { border-color:var(--accent); background:#F1EDFF; }
.two { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.go { width:100%; margin-top:20px; background:var(--accent); color:#fff; font-weight:700; font-size:17px; padding:15px; border-radius:14px; box-shadow:0 10px 24px rgba(108,76,241,.3); }
.fine { font-size:12px; color:var(--muted); text-align:center; margin-top:12px; }

.adslot.wide { display:flex; justify-content:center; margin:8px 6vw; }
.block { max-width:1240px; margin:0 auto; padding:44px 6vw; border-top:1px solid var(--line); }
.block h2 { font-size:28px; margin-bottom:18px; letter-spacing:-.01em; }
.bhead { display:flex; align-items:baseline; justify-content:space-between; }
.bhead a { font-weight:600; text-decoration:none; }
.cards { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.gcard { background:#fff; border-radius:16px; padding:18px; text-decoration:none; color:var(--fg); display:block; transition:transform .15s, box-shadow .15s; }
.gcard:hover { transform:translateY(-3px); box-shadow:0 12px 30px rgba(108,76,241,.12); }
.gcard span { color:var(--accent); font-size:12px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; }
.gcard b { display:block; font-size:18px; margin:6px 0; line-height:1.3; }
.gcard p { color:var(--muted); font-size:14px; }
.grid3 { display:grid; grid-template-columns:repeat(3,1fr); gap:22px 28px; }
.grid3 h3 { font-size:17px; margin-bottom:4px; }
.grid3 p { color:#4A4566; font-size:15px; }
.ticks { list-style:none; display:grid; gap:10px; margin-bottom:12px; }
.ticks li { padding-left:28px; position:relative; color:#4A4566; }
.ticks li::before { content:"✓"; position:absolute; left:0; color:var(--accent); font-weight:800; }
.ticks b { color:var(--fg); }
#faq details { background:#fff; border-radius:14px; padding:14px 18px; margin-bottom:10px; }
#faq summary { font-weight:600; cursor:pointer; }
#faq p { color:#4A4566; margin-top:8px; }
.foot { text-align:center; padding:36px 6vw 48px; border-top:1px solid var(--line); }
.foot p { margin-top:10px; font-size:14px; }

/* Guides */
.article { max-width:760px; margin:0 auto; padding:40px 6vw 60px; }
.article .kicker { margin-bottom:6px; }
.article h1 { font-size:clamp(30px,4vw,44px); line-height:1.15; letter-spacing:-.02em; margin-bottom:12px; }
.article h2 { font-size:22px; margin:28px 0 8px; }
.article p, .article li { color:#3D3858; font-size:17px; margin-bottom:12px; }
.article ul, .article ol { padding-left:22px; }
.cta-box { background:#fff; border-radius:18px; padding:22px; margin:30px 0; text-align:center; box-shadow:0 12px 30px rgba(108,76,241,.1); }
.cta-box a { display:inline-block; margin-top:10px; background:var(--accent); color:#fff; text-decoration:none; font-weight:700; padding:12px 22px; border-radius:99px; }

@media (max-width:860px) {
  .nav nav { display:none; }
  .hero { grid-template-columns:1fr; padding-top:28px; gap:28px; }
  .cards, .grid3 { grid-template-columns:1fr; }
}
