/* Plan our date — pilot site. Tokens match docs/product/pilot/mockup/plan-our-date-mockup.html. */

/* Fonts are self-hosted (no third-party requests). Drop the woff2 files into fonts/ (see README.md);
   until then the system fallbacks below are used. */
@font-face { font-family: "Young Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: local("Young Serif"), local("YoungSerif-Regular"), url("fonts/YoungSerif-Regular.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: local("Figtree"), url("fonts/Figtree-Variable.woff2") format("woff2"); }

:root {
  --bg: #f3f4f7;
  --surface: #ffffff;
  --sunk: #e8eaf0;
  --line: #d5d9e2;
  --fg: #1b2030;
  --muted: #5d6478;
  --accent: #b3245c;        /* evening rose: the couple's side */
  --accent-strong: #951c4b;
  --accent-soft: #f8e3eb;
  --console: #1f6f78;       /* harbour teal: the venue / founder side */
  --console-soft: #dcefef;
  --ok: #2e7d4f;
  --bubble-in: #e6e8ee;
  --phone: #15192a;
  --on-accent: #ffffff;
  --display: "Young Serif", Georgia, "Times New Roman", serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #11141d; --surface: #1a1f2c; --sunk: #232938; --line: #323a4d; --fg: #e9ebf2; --muted: #a2a9bc;
  --accent: #f0709f; --accent-strong: #f58db3; --accent-soft: #3a1e2b; --console: #5cc0c8; --console-soft: #183338;
  --ok: #6fcf97; --bubble-in: #2a3142; --phone: #05070c; --on-accent: #1a1f2c;
  color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #11141d; --surface: #1a1f2c; --sunk: #232938; --line: #323a4d; --fg: #e9ebf2; --muted: #a2a9bc;
  --accent: #f0709f; --accent-strong: #f58db3; --accent-soft: #3a1e2b; --console: #5cc0c8; --console-soft: #183338;
  --ok: #6fcf97; --bubble-in: #2a3142; --phone: #05070c; --on-accent: #1a1f2c;
  color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 1rem; line-height: 1.55; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance; margin: 0; line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 6.5vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1120px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 760px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--surface); color: var(--fg); padding: 10px 14px; border-radius: 10px; z-index: 20; }
.skip:focus { top: 12px; }

.eyebrow { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.pill { display: inline-block; text-transform: none; letter-spacing: 0; font-size: .85rem; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.lede { color: var(--muted); font-size: 1.1rem; max-width: 62ch; margin-top: 16px; }
.fine { color: var(--muted); font-size: .9rem; max-width: 72ch; margin-top: 20px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-family: var(--display); font-size: 1.15rem; white-space: nowrap; }
.brand:hover { color: var(--fg); }
.brand-mark { width: 28px; height: 28px; flex: none; }
.brand-mark rect { fill: var(--accent); }
.brand-mark path { fill: var(--on-accent); }
.nav { display: none; gap: 22px; margin-left: auto; }
.nav a { color: var(--fg); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--accent); }
.tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav + .tools { margin-left: 12px; }
@media (min-width: 820px) { .nav { display: flex; } }
@media (max-width: 819px) { .nav + .tools { margin-left: auto; } }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: var(--surface); }
.seg button { font: inherit; font-size: .82rem; font-weight: 600; border: 0; background: transparent; color: var(--muted); padding: 6px 10px; min-width: 40px; min-height: 36px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn .i-sun { display: none; }
:root[data-dark="1"] .icon-btn .i-sun { display: block; }
:root[data-dark="1"] .icon-btn .i-moon { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 12px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1px solid transparent; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-strong); color: var(--on-accent); }
.btn-ghost { border-color: var(--line); color: var(--fg); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
@media (max-width: 480px) { .cta-row .btn { flex: 1 1 100%; } }
.status { margin-top: 14px; font-size: .92rem; font-weight: 600; color: var(--console); }

/* Hero */
.hero { padding: 40px 0 56px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 72px 0 88px; } .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; } }
.facts { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .92rem; }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

.demo { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.demo figcaption { font-size: .8rem; color: var(--muted); }
.phone { background: var(--phone); border-radius: 34px; padding: 10px; width: 100%; max-width: 360px; box-shadow: 0 24px 60px -24px rgb(0 0 0 / .35); }
.screen { background: var(--surface); border-radius: 26px; padding: 18px 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.sms-head { text-align: center; font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.bubble { align-self: flex-start; max-width: 92%; background: var(--bubble-in); padding: 10px 13px; border-radius: 18px; border-bottom-left-radius: 5px; font-size: .9rem; line-height: 1.4; }
.card-options { border: 1px solid var(--line); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.co-title { font-size: .78rem; font-weight: 600; color: var(--muted); }
.co-foot { font-size: .76rem; color: var(--muted); }
.options { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.opt { display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; border: 1px solid var(--line); border-radius: 12px; font-size: .82rem; line-height: 1.35; }
.opt.is-picked { border-color: var(--accent); background: var(--accent-soft); }
.opt-n { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .78rem; background: var(--sunk); }
.opt.is-picked .opt-n { background: var(--accent); color: var(--on-accent); }
.opt-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.opt-body strong { font-weight: 700; }
.tag { align-self: flex-start; margin-top: 3px; font-size: .7rem; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: var(--console-soft); color: var(--console); }

/* Sections */
.section, .band { padding: 64px 0; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
@media (min-width: 900px) { .section, .band { padding: 88px 0; } }

.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { background: var(--bg); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.step-n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-family: var(--display); font-size: 1.1rem; }
.step p { color: var(--muted); }

.two { display: grid; gap: 20px; margin-top: 28px; }
.band > .two { margin-top: 0; gap: 48px; }
@media (min-width: 820px) { .two { grid-template-columns: repeat(2, minmax(0, 1fr)); } .band > .two { gap: 64px; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.card p { color: var(--muted); }
.note-card { margin-top: 20px; border-radius: var(--radius); padding: 22px; background: var(--console-soft); display: flex; flex-direction: column; gap: 8px; }
.note-card h3 { color: var(--console); }

.list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.band .list { margin-top: 20px; }
.list li { position: relative; padding-left: 30px; }
.list li::before { position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 700; }
.list.yes li::before { content: "✓"; background: var(--accent-soft); color: var(--accent); }
.list.no li::before { content: "–"; background: var(--sunk); color: var(--muted); }
.list.dot li::before { content: ""; width: 8px; height: 8px; top: .6em; left: 6px; background: var(--accent); }

.privacy-grid { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 700px) { .privacy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.privacy-link { margin-top: 14px; font-weight: 600; }
.privacy-link:empty { display: none; }
.pending { color: var(--muted); font-weight: 400; font-style: italic; }

.faq { margin-top: 24px; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 64ch; }

.venue { border-radius: 24px; padding: 28px 22px; background: var(--console-soft); display: grid; gap: 24px; }
@media (min-width: 900px) { .venue { padding: 48px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; } .venue-contact { grid-column: 1 / -1; } }
.venue h2 { color: var(--fg); }
.venue > div > p:last-child { margin-top: 14px; color: var(--muted); }
.venue .eyebrow { color: var(--console); }
.venue .list.yes li::before { background: var(--surface); color: var(--console); }
.venue-contact { color: var(--fg); }
.venue a { color: var(--console); font-weight: 600; }

.foot { padding: 40px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.foot-inner { display: grid; gap: 20px; }
@media (min-width: 820px) { .foot-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } .foot-inner > .fine { grid-column: 1 / -1; } }
.brand-foot { font-family: var(--display); font-size: 1.15rem; color: var(--fg); margin-bottom: 6px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot-links a { font-weight: 600; }
.foot .fine { margin-top: 0; }

/* Shared helpers for the About and Privacy pages */
[hidden] { display: none !important; }
.nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.todo { background: var(--warn-soft, #fbefd6); color: var(--warn, #9a6400); padding: 0 4px; border-radius: 4px; font-style: italic; }
:root[data-dark="1"] .todo { background: #3a2f15; color: #f2c063; }
.company-line { margin-top: 6px; font-size: .85rem; }

.page-hero { padding: 48px 0 8px; }
@media (min-width: 900px) { .page-hero { padding: 80px 0 16px; } }
.section.tight { padding-block: 40px; }
@media (min-width: 900px) { .section.tight { padding-block: 56px; } }

.prose h1 { margin-bottom: 4px; }
.prose h2 { margin-top: 40px; margin-bottom: 12px; font-size: clamp(1.35rem, 3.6vw, 1.7rem); }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 24px; margin-bottom: 8px; font-family: var(--body); font-weight: 700; font-size: 1rem; }
.prose p + p { margin-top: 14px; }
.prose p { max-width: 68ch; }
.prose ul { margin: 10px 0 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; max-width: 68ch; }
.prose ul ul { margin-top: 6px; }
.prose ul + p, .prose .table-wrap + p, .prose dl + p { margin-top: 14px; }
.updated { margin-top: 12px; font-size: .88rem; color: var(--muted); }

.toc { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.toc ol { margin: 0; padding-left: 1.3em; columns: 2 240px; column-gap: 32px; }
.toc li { margin-bottom: 4px; break-inside: avoid; }

.table-wrap { overflow-x: auto; margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.prose tr:last-child td { border-bottom: 0; }
.prose th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; background: var(--sunk); }
@media (max-width: 560px) {
  .prose thead { display: none; }
  .prose tr { display: block; padding: 10px 14px; border-bottom: 1px solid var(--line); }
  .prose tr:last-child { border-bottom: 0; }
  .prose td { display: block; padding: 0; border: 0; }
  .prose td + td { margin-top: 4px; color: var(--muted); font-size: .9rem; }
}

.facts-list { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 20px; margin: 16px 0 0; }
.facts-list dt { color: var(--muted); font-weight: 600; }
.facts-list dd { margin: 0; overflow-wrap: anywhere; }
.band .facts-list + .fine { margin-top: 20px; }

.values { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.value { background: var(--bg); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; border-top: 3px solid var(--accent); }
.value p { color: var(--muted); }

/* Team ("Mød vores team") */
.team { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
@media (min-width: 720px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.member { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 18px; align-items: flex-start; }
.member img { flex: none; width: 88px; height: 88px; border-radius: 50%; }
.member-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.member-role { color: var(--accent); font-weight: 600; font-size: .92rem; margin-top: -4px; }
.member-body p { color: var(--muted); }
.member-body .member-role { color: var(--accent); }
.member-fav { font-size: .92rem; }
.member-fav strong { color: var(--fg); font-weight: 600; }
.member-quote { font-family: var(--display); color: var(--fg) !important; font-size: 1.02rem; }
@media (max-width: 420px) { .member { flex-direction: column; } .member img { width: 72px; height: 72px; } }

.contact-chat { margin-top: 24px; padding: 18px 20px; border-radius: var(--radius); background: var(--accent-soft); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.contact-chat p { flex: 1 1 260px; color: var(--fg); }

/* FAQ chat bot */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.foot { padding-bottom: 104px; }
.chat-launcher { position: fixed; z-index: 30; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px));
  width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--accent); color: var(--on-accent); cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgb(0 0 0 / .45); }
.chat-launcher:hover { background: var(--accent-strong); }
.chat-launcher svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chat-launcher .i-chat { fill: currentColor; stroke: none; }
.chat-launcher .i-x, .chat-launcher.is-open .i-chat { display: none; }
.chat-launcher.is-open .i-x { display: block; }
.chat-panel { position: fixed; z-index: 30; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 70px);
  width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px)); background: var(--surface); color: var(--fg);
  border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px -20px rgb(0 0 0 / .45); display: flex; flex-direction: column; overflow: hidden; }
@media (max-width: 520px) {
  .chat-panel { left: 0; right: 0; bottom: 0; width: 100%; height: min(78vh, 600px); border-radius: 18px 18px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .chat-launcher.is-open { bottom: calc(min(78vh, 600px) + 12px); }
}
.chat-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 16px 16px 12px; border-bottom: 1px solid var(--line); background: var(--accent-soft); }
.chat-title { font-size: 1.15rem; }
.chat-sub { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.chat-close { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; display: grid; place-items: center; }
.chat-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.chat-msg { max-width: 88%; padding: 9px 12px; border-radius: 16px; font-size: .92rem; line-height: 1.45; overflow-wrap: anywhere; }
.chat-msg.bot { align-self: flex-start; background: var(--sunk); border-bottom-left-radius: 5px; }
.chat-msg.user { align-self: flex-end; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 5px; }
.chat-msg.user a { color: inherit; }
.chat-chips { display: flex; gap: 6px; padding: 8px 14px; overflow-x: auto; border-top: 1px solid var(--line); scrollbar-width: thin; }
.chat-chip { flex: none; font: inherit; font-size: .8rem; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--accent); background: var(--surface); color: var(--accent); cursor: pointer; min-height: 32px; }
.chat-chip:hover { background: var(--accent-soft); }
.chat-form { display: flex; gap: 8px; padding: 10px 14px 14px; }
.chat-form input { flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); }
.chat-send { min-height: 44px; padding: 10px 16px; }
@media (prefers-reduced-motion: no-preference) { .chat-msg { animation: chat-in .18s ease-out; } @keyframes chat-in { from { opacity: .3; transform: translateY(4px); } } }
