/* Landing pages and guides on familyplanen.dk (same look as the front page, home/index.html). */
:root {
  --paper: #F3F5F1; --sheet: #fff; --ink: #22304A; --ink2: #5B6679; --line: #E1E5DD;
  --husk: #FFE066; --husk-deep: #FFD84D; --green: #2E9A6B; --green-light: #D5EFE2; --blue-light: #DCE7FA;
  --display: 'Fredoka', ui-rounded, 'Segoe UI', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --shadow: 0 10px 40px rgba(34, 48, 74, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; margin: 0; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; margin: 0 auto; }
.muted { color: var(--ink2); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: 19px; text-decoration: none; border: 0; cursor: pointer; }
.btn.primary { background: var(--ink); color: #fff; box-shadow: 0 6px 18px rgba(34, 48, 74, .25); }
.btn.soft { background: var(--sheet); color: var(--ink); box-shadow: 0 2px 10px rgba(34, 48, 74, .08); }
.btn.ghost { background: transparent; color: var(--ink); padding: 0 14px; }

header { position: sticky; top: 0; z-index: 10; background: rgba(243, 245, 241, .9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(225, 229, 221, .7); }
header .wrap { display: flex; align-items: center; gap: 14px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 22px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--husk); display: grid; place-items: center; font-size: 21px; }
header .spacer { flex: 1; }
header .btn { min-height: 42px; font-size: 16px; padding: 0 18px; white-space: nowrap; }
@media (max-width: 520px) { .brand span:last-child { display: none; } header .btn.ghost { padding: 0 6px; } }

.crumbs { font-size: 15px; color: var(--ink2); padding-top: 22px; }
.crumbs a { color: var(--ink2); }

.lp-hero { padding: 36px 0 30px; }
.lp-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 44px; align-items: center; }
.lp-hero h1 { font-size: clamp(36px, 5vw, 58px); margin-bottom: 18px; }
.lp-hero h1 .mark { background: linear-gradient(transparent 62%, var(--husk) 62%); padding: 0 4px; }
.lp-hero .lead { font-size: 21px; color: var(--ink2); }
.lp-hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.free-note { font-size: 16px; color: var(--ink2); }
.free-note b { background: var(--husk); border-radius: 6px; padding: 0 6px; color: var(--ink); }
.phone-frame { background: #1d2433; border-radius: 30px; padding: 8px; box-shadow: var(--shadow); max-width: 300px; margin: 0 auto; transform: rotate(2deg); }
.phone-frame img { border-radius: 23px; }
.tablet-frame { background: #1d2433; border-radius: 22px; padding: 10px; box-shadow: var(--shadow); }
.tablet-frame img { border-radius: 14px; }
@media (max-width: 860px) { .lp-hero .wrap { grid-template-columns: 1fr; } }

.lp-section { padding: 50px 0; }
.lp-section h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 16px; }
.lp-section h3 { font-size: 22px; margin: 26px 0 8px; }
.lp-section p + p { margin-top: 14px; }
.lp-section ul, .lp-section ol { padding-left: 1.2em; margin: 14px 0 0; }
.lp-section li + li { margin-top: 8px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.card { background: var(--sheet); border-radius: 22px; padding: 24px; box-shadow: 0 2px 12px rgba(34, 48, 74, .06); }
.card .e { font-size: 32px; display: block; margin-bottom: 8px; }
.card h3 { margin: 0 0 8px; font-size: 21px; }
.card p { color: var(--ink2); font-size: 17px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.steps { counter-reset: s; list-style: none; padding: 0 !important; display: grid; gap: 14px; }
.steps li { counter-increment: s; background: var(--sheet); border-radius: 18px; padding: 18px 20px 18px 66px; position: relative; margin: 0 !important; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--husk); display: grid; place-items: center; font-family: var(--display); font-weight: 600; }
.note { background: var(--blue-light); border-radius: 16px; padding: 16px 20px; margin-top: 18px; font-size: 17px; }
.ok-note { background: var(--green-light); }
.shot { margin-top: 28px; }

.faq { display: grid; gap: 12px; margin-top: 20px; }
.faq details { background: var(--sheet); border-radius: 18px; padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--display); font-weight: 600; font-size: 19px; padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--ink2); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 18px; color: var(--ink2); }

.final { text-align: center; padding: 60px 0 80px; }
.final .postit { display: inline-block; background: var(--husk); border-radius: 8px 8px 40px 8px; padding: 40px 44px; transform: rotate(-1deg); box-shadow: 0 16px 40px rgba(120, 90, 0, .18); max-width: 680px; }
.final h2 { font-size: clamp(28px, 4vw, 44px); }
.final p { font-size: 19px; margin: 12px 0 24px; color: #4b4520; }
.related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.related a { background: var(--sheet); border-radius: 999px; padding: 8px 16px; text-decoration: none; font-weight: 600; font-size: 16px; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 15px; color: var(--ink2); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; }
footer a { color: var(--ink2); }
[hidden] { display: none !important; }
