/* netslank.dk — the public front page (Main.Index serves public/landing/index.html to visitors).
   The app's palette and type (public/m/app.css): deep teal, sky, periwinkle and the orange accent. */

@font-face { font-family: "Open Sans"; font-weight: 300; font-display: swap; src: url(/content/fonts/OpenSans-Light-webfont.woff) format("woff"); }
@font-face { font-family: "Open Sans"; font-weight: 400; font-display: swap; src: url(/content/fonts/OpenSans-Regular-webfont.woff) format("woff"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-display: swap; src: url(/content/fonts/OpenSans-Semibold-webfont.woff) format("woff"); }

:root {
    --teal-950: #0a2430;
    --teal-900: #0c2c39;
    --teal-800: #123f52;
    --teal-700: #16526a;
    --teal-600: #1d6887;
    --teal-100: #e3eef3;
    --teal-50: #f0f6f9;
    --sky: #a1cae2;
    --periwinkle: #5f83b9;
    --orange: #f39814;
    --orange-strong: #e0850a;
    --bg: #ffffff;
    --surface: #ffffff;
    --chrome: #eef2f4;
    --chrome-dot: #d3dbe0;
    --accent: var(--teal-700);
    --tint: #f2f5f7;
    --text: #10232c;
    --muted: #55666f;
    --line: #e4eaee;
    --on-dark: #ffffff;
    --on-dark-muted: rgba(255, 255, 255, .76);
    --radius: 18px;
    --shadow: 0 1px 2px rgba(12, 44, 57, .06), 0 6px 22px rgba(12, 44, 57, .08);
    --shadow-lg: 0 30px 80px rgba(6, 24, 32, .45);
    --font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --wrap: 1180px;
}
/* dark: the app's own dark theme (public/m/app.css), and its dark screenshots (<picture> sources) */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
        --bg: #0b1c24;
        --tint: #0e222b;
        --surface: #122a35;
        --chrome: #17323e;
        --chrome-dot: #2d4b59;
        --text: #e5eef2;
        --muted: #93a8b2;
        --line: #1f3b48;
        --teal-50: #163341;
        --teal-100: #1d4152;
        --accent: #7cc3de;
        --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 22px rgba(0, 0, 0, .3);
    }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
picture { display: block; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.015em; line-height: 1.15; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--text); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 40px; padding: 8px 16px; border-radius: 999px;
    font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
    transition: background-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn.big { min-height: 52px; padding: 12px 26px; font-size: 17px; }
.btn.wide { width: 100%; }
.btn.primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(243, 152, 20, .35); }
.btn.primary:hover { background: var(--orange-strong); }
.btn.primary:active { transform: translateY(1px); }
.btn.ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .8); }

/* ---------- header (over the hero) ---------- */
.top { position: absolute; inset: 0 0 auto; z-index: 10; padding-top: env(safe-area-inset-top, 0px); }
.top-row { display: flex; align-items: center; gap: 24px; height: 72px; }
/* the bar above the header: the legacy desktop site (/account), still there for what the app hasn't got */
.legacy { display: block; height: 40px; background: rgba(4, 16, 21, .45); border-bottom: 1px solid rgba(255, 255, 255, .1); color: var(--on-dark-muted); text-decoration: none; font-size: 14px; }
.legacy-row { display: flex; align-items: center; justify-content: center; gap: 8px; height: 100%; white-space: nowrap; overflow: hidden; }
.legacy-row > span { overflow: hidden; text-overflow: ellipsis; }
.legacy b { color: var(--orange); font-weight: 600; flex: none; }
.legacy:hover { background: rgba(4, 16, 21, .6); color: #fff; }
.legacy:hover b { text-decoration: underline; }
@media (max-width: 700px) { .hide-sm { display: none; } }
.logo { color: #fff; text-decoration: none; font-size: 26px; font-weight: 300; letter-spacing: -.01em; }
.logo b { font-weight: 600; }
.logo.small { font-size: inherit; color: inherit; }
.top-nav { display: none; gap: 26px; margin-left: 12px; }
.top-nav a { color: var(--on-dark-muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.top-nav a:hover { color: #fff; }
.top-actions { margin-left: auto; display: flex; gap: 10px; }
@media (min-width: 900px) { .top-nav { display: flex; } }
@media (max-width: 420px) { .hide-xs { display: none; } }

/* ---------- hero ---------- */
.hero {
    position: relative;
    color: var(--on-dark);
    background:
        radial-gradient(60% 70% at 85% 10%, rgba(29, 104, 135, .9) 0%, transparent 70%),
        radial-gradient(40% 50% at 10% 90%, rgba(95, 131, 185, .35) 0%, transparent 70%),
        linear-gradient(170deg, var(--teal-700) 0%, var(--teal-900) 60%, var(--teal-950) 100%);
    padding: calc(env(safe-area-inset-top, 0px) + 152px) 0 0; /* (the bar 40 + the header 72 + air) */
    overflow: hidden;
}
.hero-grid { display: grid; gap: 48px; }
.hero-copy { max-width: 620px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); margin-bottom: 16px; }
.eyebrow.dark { color: var(--accent); }
.hero h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 600; }
.lead { font-size: 19px; color: var(--on-dark-muted); margin-top: 20px; max-width: 36em; }
.lead.dark { color: var(--muted); }
@media (max-width: 520px) { .lead { font-size: 17px; } }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-row.center { justify-content: center; }
.fine { font-size: 14px; color: var(--on-dark-muted); margin-top: 18px; }
.client-hint { font-size: 15px; margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); color: var(--on-dark-muted); }
.client-hint a { color: #fff; font-weight: 600; }

/* the two screens: the desk in a browser window, the phone over its corner */
.hero-shot { position: relative; padding: 0 0 40px; margin-right: 12%; }
.hero-shot .browser { box-shadow: var(--shadow-lg); }
/* (in the flow, pulled up over the browser's corner) */
.hero-phone { width: 34%; margin: -36% -14% 0 auto; }
@media (min-width: 1000px) {
    .hero { padding-bottom: 0; }
    .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 40px; }
    .hero-shot { margin-right: 0; padding: 24px 0 56px; }
    .hero-shot .browser { width: 124%; max-width: none; }
    .hero-phone { width: 25%; margin: -30% auto 0 3%; }
}

/* online booking's calendar in front of the browser's lower right corner, as the phone is in front of its left */
.hero-cal { position: absolute; z-index: 2; right: -6%; bottom: 8%; width: 46%; height: auto; filter: drop-shadow(0 22px 40px rgba(0, 0, 0, .5)); }
@media (min-width: 1000px) { .hero-cal { right: -24%; bottom: 10%; width: 52%; } }
@media (max-width: 999px) { .hero-cal { right: auto; left: 2%; bottom: 6%; width: 50%; } }

/* ---------- device frames ---------- */
.browser { background: var(--surface); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(12, 44, 57, .08); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--chrome); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--chrome-dot); }
/* the hero's window is always the dark app, in a dark window */
.browser.night { --surface: #122a35; --chrome: #17323e; --chrome-dot: #2d4b59; --line: #1f3b48; --muted: #93a8b2; border-color: rgba(255, 255, 255, .16); }
.browser-bar span { margin: 0 auto; transform: translateX(-24px); font-size: 12px; color: var(--muted); background: var(--surface); border-radius: 6px; padding: 3px 40px; }
@media (max-width: 520px) { .browser-bar { height: 24px; padding: 0 10px; } .browser-bar i { width: 7px; height: 7px; } .browser-bar span { display: none; } }

/* the phone: behandler-booking.dk's frame (../bookie, home page) — a glassy bezel lit from the top left,
   a fine light rim, a deep shadow with a cyan glow, and the island in the screenshots' status-bar band
   (taken with the iPhone's safe areas, test/landing-demo.ts). Opaque here, as it lies over the browser
   window in the hero. Sizes are in units of the phone's own width (cqi): a percentage padding would be of
   the parent's width, too thick wherever the phone is narrower than its parent. */
.phone {
    position: relative; /* (over the browser window it overlaps, frame and all) */
    z-index: 1;
    container-type: inline-size;
    /* (16.5 % of the width both ways: its own cqi would be of a container above it, so in % of a phone 2.076 × as tall as wide) */
    border-radius: 16.5% / 7.95%;
    background: linear-gradient(155deg, #3f5964 0%, #1d3743 42%, #132933 100%), #142b35;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, .14),
        inset 0 1px 0 rgba(255, 255, 255, .16),
        0 40px 80px rgba(4, 16, 21, .45),
        0 0 80px rgba(125, 211, 232, .1);
}
.phone img { width: calc(100% - 7.6cqi); margin: 3.8cqi; border-radius: 12.7cqi; background: #0b1018; }
.phone::after { content: ""; position: absolute; z-index: 2; top: 6.4cqi; left: 50%; width: 29.6cqi; height: 8.8cqi; transform: translateX(-50%); border-radius: 4.4cqi; background: #0b1018; }

/* ---------- three points ---------- */
.points { padding: 72px 0 24px; }
.points-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .points-grid { grid-template-columns: repeat(3, 1fr); } }
.point h2 { font-size: 20px; margin: 14px 0 6px; }
.point p { color: var(--muted); }
.point-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--teal-50); color: var(--accent); }
.point-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section.tint { background: var(--tint); }
.section.dark { color: var(--on-dark); background: radial-gradient(60% 80% at 100% 0%, rgba(29, 104, 135, .7), transparent 70%), linear-gradient(170deg, var(--teal-800), var(--teal-950)); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head.left { text-align: left; margin: 0; }
.section-head h2, .split-copy h2, .faq-title { font-size: clamp(28px, 4vw, 40px); }
.section-head .lead { margin-left: auto; margin-right: auto; }
.section-head.left .lead { margin-left: 0; }

/* the phones: a row that scrolls sideways on a phone, four across on a desk */
.phones {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 64%);
    gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 12px 16px 28px; margin: 0 -16px;
    scrollbar-width: none;
}
.phones::-webkit-scrollbar { display: none; }
.phones figure { scroll-snap-align: center; }
.phones .phone { box-shadow: 0 0 0 1px rgba(12, 44, 57, .12), inset 0 1px 0 rgba(255, 255, 255, .16), 0 24px 50px rgba(12, 44, 57, .28); }
.phones figcaption { margin-top: 20px; font-size: 15px; color: var(--muted); }
.phones figcaption b { display: block; color: var(--text); font-size: 17px; margin-bottom: 2px; }
@media (min-width: 700px) { .phones { grid-auto-columns: minmax(220px, 40%); margin: 0 -32px; padding: 12px 32px 28px; } }
@media (min-width: 1000px) { .phones { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 12px 0 0; } }

.ticks { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 40px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%2316526a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
#klienter .ticks { max-width: 920px; margin-left: auto; margin-right: auto; }
@media (min-width: 800px) { #klienter .ticks { grid-template-columns: 1fr 1fr; column-gap: 40px; } }

/* text beside a screen */
.split { display: grid; gap: 40px; align-items: center; }
.split + .split { margin-top: 96px; }
.split-copy .lead { margin-top: 16px; }
@media (min-width: 1000px) {
    .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
    .split.reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
    .split.reverse .split-copy { order: 2; }
}
.features { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 16px; }
.features li { color: var(--muted); padding-left: 18px; border-left: 3px solid var(--sky); }
.features b { display: block; color: var(--text); }
.split-shot .browser { box-shadow: 0 24px 60px rgba(12, 44, 57, .18); }

/* steps */
.steps { list-style: none; padding: 0; display: grid; gap: 20px; counter-reset: none; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--tint); border-radius: var(--radius); padding: 28px; }
.steps span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal-700); color: #fff; font-weight: 600; margin-bottom: 18px; }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* security cards on dark */
.section.dark .lead { color: var(--on-dark-muted); }
.cards { display: grid; gap: 16px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 18px; margin-bottom: 8px; color: #fff; }
.card p { color: var(--on-dark-muted); font-size: 16px; }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(161, 202, 226, .14); color: var(--sky); margin-bottom: 16px; }
.card-icon svg, .gdpr-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* behandler-booking: its own calendar and booking screens (behandler-booking.dk's renders, ../bookie) */
.split.booking { margin-bottom: 48px; }
.booking-title { font-size: clamp(24px, 3vw, 30px); color: #fff; margin-bottom: 12px; }
.split.booking p { color: var(--on-dark-muted); font-size: 18px; max-width: 30em; }
.booking-shots { position: relative; padding-bottom: 12%; }
.booking-calendar { width: 92%; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45)); }
/* (the client's own screen in behandler-booking, in the phone frame, over the calendar's corner) */
.booking-shots .booking-phone { position: absolute; right: 0; bottom: 0; width: 24%; }
@media (min-width: 1000px) { .cards.two { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin: 0 auto; } }
/* a card's picture: tilted over its top-right corner, the text flowing around the part inside */
.cards.two { row-gap: 48px; margin-top: 56px; }
.card.has-shot { position: relative; }
.card.has-shot::before { content: ""; float: right; width: 112px; height: 96px; margin: 0 -6px 4px 12px; }
.card-shot { position: absolute; top: -34px; right: 20px; width: 112px; height: auto; border-radius: 14px; background: #fff; transform: rotate(5deg); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 18px 36px rgba(0, 0, 0, .45); }
.card.has-shot:nth-child(even) .card-shot { transform: rotate(-4deg); }
@media (max-width: 520px) {
  .card.has-shot::before { width: 92px; height: 78px; }
  .card-shot { width: 92px; right: 14px; top: -28px; }
}
.cards-note { margin-top: 14px; font-size: 14px; color: var(--on-dark-muted); text-align: center; }
/* GDPR in one line under the integrations */
.gdpr { display: flex; align-items: center; gap: 16px; max-width: 760px; margin: 48px auto 0; padding: 18px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.gdpr p { color: var(--on-dark-muted); }
.gdpr b { color: #fff; font-weight: 600; }
.gdpr-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(46, 160, 110, .2); color: #8fe0b5; }

/* price */
.price-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .price-grid { grid-template-columns: 1fr minmax(360px, 440px); gap: 64px; } }
.price-card { background: var(--surface); border-radius: 24px; padding: 32px; box-shadow: 0 1px 2px rgba(12, 44, 57, .06), 0 20px 60px rgba(12, 44, 57, .14); border: 1px solid var(--line); }
.price { font-size: 20px; color: var(--muted); }
.price .amount { font-size: 64px; font-weight: 600; color: var(--text); letter-spacing: -.03em; line-height: 1; }
.price-sub { color: var(--muted); margin-top: 4px; }
.price-card .ticks { margin: 24px 0 28px; }
.price-note { font-size: 14px; color: var(--muted); margin-top: 18px; }

/* faq */
.narrow { max-width: 820px; }
.faq-title { margin-bottom: 28px; text-align: center; }
details { background: var(--surface); border-radius: 14px; margin-bottom: 10px; box-shadow: 0 1px 2px rgba(12, 44, 57, .05); }
summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 600; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { padding: 0 22px 20px; color: var(--muted); }

/* final call */
.final { color: #fff; text-align: center; padding: 88px 0; background: radial-gradient(70% 90% at 50% 0%, rgba(29, 104, 135, .9), transparent 70%), linear-gradient(170deg, var(--teal-700), var(--teal-950)); }
.final h2 { font-size: clamp(30px, 4.5vw, 44px); }
.final p { color: var(--on-dark-muted); margin-top: 14px; font-size: 19px; }

/* footer */
.foot { background: var(--teal-950); color: var(--on-dark-muted); padding: 32px 0 calc(env(safe-area-inset-bottom, 0px) + 32px); font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .logo.small { color: #fff; font-size: 16px; }
@media (prefers-color-scheme: dark) {
    .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%237cc3de' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
    .price-card { box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
    .split-shot .browser { box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
    .phones .phone { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), inset 0 1px 0 rgba(255, 255, 255, .16), 0 30px 60px rgba(0, 0, 0, .5), 0 0 80px rgba(125, 211, 232, .08); }
    .browser { border-color: rgba(255, 255, 255, .12); }
    .section.dark { background: radial-gradient(60% 80% at 100% 0%, rgba(29, 104, 135, .45), transparent 70%), linear-gradient(170deg, var(--teal-900), #061218); }
    .foot { background: #061218; }
}

/* ---------- the client's whole journey (#forloebet) ---------- */
.journey { list-style: none; padding: 0; display: grid; gap: 14px; }
@media (min-width: 900px) { .journey { grid-template-columns: repeat(5, 1fr); } }
.journey li { position: relative; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 22px; }
.journey span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 600; margin-bottom: 14px; }
.journey li:last-child span { background: var(--teal-700); }
.journey h3 { font-size: 18px; margin-bottom: 6px; }
.journey p { color: var(--muted); font-size: 15px; }
@media (min-width: 900px) { .journey li:not(:last-child)::after { content: "→"; position: absolute; right: -12px; top: 30px; color: var(--muted); font-size: 18px; } }
.journey-note { text-align: center; color: var(--muted); margin-top: 28px; font-size: 16px; }
