/* Friendo — information pages (header, footer, hero, prose). */
body { background-image: radial-gradient(color-mix(in srgb, var(--text) 13%, transparent) 1.6px, transparent 2px); background-size: 26px 26px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 760px; }
.center { text-align: center; }

.site-head { background: var(--paper); border-bottom: 3px solid var(--line); position: sticky; top: 0; z-index: 20; }
.head-in { display: flex; align-items: center; gap: 10px 22px; min-height: 70px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); font: 400 1.9rem/1 var(--display); }
.brand .logo { width: 40px; height: 40px; }
.head-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-left: auto; order: 3; width: 100%; }
.head-nav a { color: var(--text); text-decoration: none; font-weight: 600; padding: 4px 2px; border-bottom: 3px solid transparent; }
.head-nav a:hover, .head-nav a[aria-current="page"] { border-bottom-color: var(--pink); }
.head-cta { margin-left: auto; }
@media (min-width: 900px) { .head-nav { width: auto; order: 0; } .head-cta { margin-left: 0; } }

.page-head { padding: 44px 0 20px; }
.page-head h1 { max-width: 18ch; }
.eyebrow { display: inline-block; font: 600 .85rem/1 var(--body); text-transform: uppercase; letter-spacing: .08em; background: var(--lime); color: #1A0F2E; border: 2px solid #1A0F2E; border-radius: 999px; padding: .4rem .8rem; margin-bottom: 14px; transform: rotate(-2deg); }
.lede { font-size: 1.2rem; max-width: 60ch; }
.updated { font-size: .9rem; color: var(--muted); }

.prose { padding: 8px 0 56px; }
.prose .wrap { max-width: 820px; }
.prose h2 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }

/* hero */
.hero { padding: 40px 0 30px; }
.hero-in { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1.15fr .85fr; } }
.hero h1 { font-size: clamp(2.6rem, 8vw, 4.6rem); }
.hl { background: var(--pink); color: #1A0F2E; padding: 0 .15em; border: 3px solid #1A0F2E; border-radius: 12px; box-shadow: var(--shadow-sm); display: inline-block; transform: rotate(-1.5deg); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { display: grid; place-items: center; }
.phone-mock { width: min(320px, 100%); background: var(--card); border: 4px solid var(--line); border-radius: 34px; box-shadow: 8px 8px 0 var(--ink); padding: 16px; transform: rotate(2deg); }
.pm-top { display: flex; align-items: center; gap: 8px; font: 400 1.4rem/1 var(--display); margin-bottom: 12px; }
.pm-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--pink); border: 2px solid var(--line); }
.pm-card { display: flex; gap: 10px; align-items: center; border: 3px solid var(--line); border-radius: 16px; padding: 8px 10px; margin-bottom: 10px; background: var(--paper); }
.pm-card small { display: block; color: var(--muted); font-size: .82rem; }
.pm-card .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--hue); border: 3px solid #1A0F2E; color: #1A0F2E; font: 400 .95rem/1 var(--display); flex: none; }
.pm-card.c1 { transform: rotate(-1.5deg); } .pm-card.c3 { transform: rotate(1deg); }
.pm-map { position: relative; height: 120px; border: 3px solid var(--line); border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, transparent 46%, color-mix(in srgb, var(--sky) 55%, transparent) 47% 53%, transparent 54%), repeating-linear-gradient(0deg, var(--soft) 0 2px, transparent 2px 24px), repeating-linear-gradient(90deg, var(--soft) 0 2px, transparent 2px 24px), var(--paper); }
.blob { position: absolute; width: 56px; height: 56px; border-radius: 50%; border: 3px dashed var(--line); background: color-mix(in srgb, var(--lime) 55%, transparent); }
.blob.b1 { left: 24px; top: 20px; } .blob.b2 { right: 40px; top: 46px; background: color-mix(in srgb, var(--sun) 55%, transparent); }
.pin { position: absolute; left: 46%; bottom: 14px; background: var(--pink); border: 3px solid #1A0F2E; color: #1A0F2E; border-radius: 999px; padding: 2px 10px; font: 400 .9rem/1.3 var(--display); }

.band { padding: 44px 0; }
.band.alt { background: var(--card); border-top: 3px solid var(--line); border-bottom: 3px solid var(--line); }
.section-h { font-size: clamp(1.7rem, 4.5vw, 2.5rem); }
.card { background: var(--card); border: 3px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.sticker { box-shadow: var(--shadow); }
.card.pink { background: var(--pink); color: #1A0F2E; } .card.lime { background: var(--lime); color: #1A0F2E; }
.card.sky { background: var(--sky); color: #1A0F2E; } .card.sun { background: var(--sun); color: #1A0F2E; }
.card.pink, .card.lime, .card.sky, .card.sun { border-color: #1A0F2E; }
.cards4 { display: grid; gap: 18px; }
@media (min-width: 640px) { .cards4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards4 { grid-template-columns: repeat(4, 1fr); } }
.cards4 .card:nth-child(odd) { transform: rotate(-1deg); } .cards4 .card:nth-child(even) { transform: rotate(1deg); }
.cards2 { display: grid; gap: 16px; margin: 0 0 1.4em; }
@media (min-width: 700px) { .cards2 { grid-template-columns: 1fr 1fr; } }
.cards2 .card h3 { margin-bottom: .35em; }
.cards2 .card p { margin: 0; }
.two-col { display: grid; gap: 24px; }
@media (min-width: 900px) { .two-col { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding: 10px 14px 10px 48px; border: 3px solid var(--line); border-radius: 14px; background: var(--paper); position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 12px; top: 9px; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); border: 2px solid #1A0F2E; color: #1A0F2E; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.steps { list-style: none; counter-reset: s; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding: 4px 0 8px 64px; margin-bottom: 18px !important; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--sun); border: 3px solid #1A0F2E; color: #1A0F2E; display: grid; place-items: center; font: 400 1.4rem/1 var(--display); box-shadow: var(--shadow-sm); }
.steps h2 { margin: 0 0 .3em; font-size: 1.4rem; }
.faq { border: 3px solid var(--line); border-radius: 14px; background: var(--card); margin-bottom: 12px; padding: 0 16px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; }
.faq[open] summary { border-bottom: 2px dashed var(--soft); margin-bottom: 10px; }
.help-links li { margin-bottom: .6em; }
.post-list { list-style: none; padding: 0 !important; display: grid; gap: 18px; }
.post-list h2 { margin: 0 0 .2em; }
.post-list a { color: var(--text); }

.site-foot { background: #1A0F2E; color: #FFF6E9; margin-top: 30px; border-top: 6px solid var(--pink); }
.site-foot a { color: #FFF6E9; }
.site-foot .brand { color: #FFF6E9; }
.foot-grid { display: grid; gap: 24px; padding-top: 36px; padding-bottom: 20px; grid-template-columns: 1fr 1fr; }
.foot-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; } .foot-brand { grid-column: auto; } }
.foot-grid h2 { font-size: 1.15rem; margin: 0 0 .5em; color: var(--lime); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: .4em; }
.age-sticker { display: inline-block; font: 400 1.4rem/1 var(--display); background: var(--sun); color: #1A0F2E; border: 3px solid #FFF6E9; border-radius: 50%; width: 64px; height: 64px; display: grid; place-items: center; transform: rotate(-8deg); }
.foot-base { border-top: 2px solid #3A2C55; padding-top: 16px; padding-bottom: 28px; font-size: .9rem; }
.foot-base p { margin: 0 0 .5em; }

/* ads (5od) + cookie choice — content pages only */
.ad-slot[hidden], .cookie-bar[hidden] { display: none !important; }
.ad-slot { display: block; margin: 1.4rem auto; }
.ad-slot:has(ins[data-fiveod="empty"], ins[data-fiveod="error"], ins[data-fiveod="nofit"]) { display: none; }
.ad-in { display: flex; justify-content: center; }
.ad-band { max-width: 1120px; padding: 0 16px; }
.ad-inline { padding: 1rem 0; border-top: 2px dashed var(--soft); border-bottom: 2px dashed var(--soft); }
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #1A0F2E; color: #FFF6E9; border-top: 6px solid var(--lime); padding: 1rem 0 1.1rem; max-height: 80vh; overflow-y: auto; }
.cookie-in { display: grid; gap: .8rem 2rem; align-items: center; }
@media (min-width: 860px) { .cookie-in { grid-template-columns: minmax(0, 1fr) auto; } }
.cookie-h { color: var(--lime); font-size: 1.5rem; margin: 0 0 .3rem; }
.cookie-txt p { margin: 0 0 .4rem; font-size: .98rem; }
.cookie-bar a { color: #FFF6E9; font-weight: 600; }
.cookie-now { font-weight: 600; color: var(--sun); }
.cookie-btns { display: flex; flex-wrap: wrap; gap: .7rem; }
.cookie-btn { flex: 1 1 12rem; min-height: 48px; font: 600 1.05rem/1 var(--body); background: #FFF6E9; color: #1A0F2E; border: 3px solid #FFF6E9; border-radius: 999px; padding: .7rem 1.1rem; cursor: pointer; }
.cookie-btn:hover { background: var(--lime); border-color: var(--lime); }
.cookie-bar :focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.cookie-h:focus { outline: none; }
@media (prefers-reduced-motion: no-preference) { .cookie-bar { animation: cookie-up .25s ease-out; } }
@keyframes cookie-up { from { transform: translateY(100%); } to { transform: none; } }
