/* handover-app.dk and handover-app.com (web/build.py). Warm: cream paper, warm brown ink, terracotta, a touch of honey and olive. */
:root {
  --cream: #F5EEE3; --paper: #FFFAF2; --sand: #E8DCC8; --sand-deep: #D9C7AB;
  --ink: #2B211B; --ink2: #6A594D;
  --clay: #B4452E; --clay-deep: #8E3220; --clay-soft: #F2DACB;
  --honey: #E7B76A; --honey-soft: #F7E6C4; --moss: #5D6A4B; --moss-soft: #DFE3D2;
  --shadow: 0 22px 50px -28px rgba(70, 40, 20, 0.35);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 19px; line-height: 1.6;
}
a { color: var(--clay-deep); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
h1, h2, h3, .title, .sheet h4, .brand span { font-family: var(--serif); font-weight: 700; }

/* The warm top: soft blobs of honey and clay behind the header and hero */
.heroband {
  background:
    radial-gradient(60% 70% at 88% 18%, rgba(231, 183, 106, 0.38), transparent 70%),
    radial-gradient(45% 55% at 8% 85%, rgba(180, 69, 46, 0.16), transparent 70%),
    linear-gradient(180deg, #F8EFDF 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--sand);
}
.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 54px; height: 54px; border-radius: 14px; display: block; border: 1px solid var(--sand-deep); box-shadow: 0 8px 18px -8px rgba(70, 40, 20, 0.45); }
.brand span { font-size: 28px; letter-spacing: 0.2px; }
.top nav { display: flex; gap: 6px; }
.top nav a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: 16px; padding: 9px 16px; border-radius: 999px; transition: background 0.15s, color 0.15s; }
.top nav a:hover { background: rgba(255, 250, 242, 0.9); color: var(--clay-deep); }
.top nav a.lang { border: 1.5px solid var(--sand-deep); }

.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; padding: 36px 0 80px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; letter-spacing: 0.6px; text-transform: uppercase;
  color: var(--clay-deep); background: rgba(255, 250, 242, 0.8); border: 1px solid var(--sand-deep); border-radius: 999px; padding: 6px 14px; margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--clay); }
h1 { font-size: 58px; line-height: 1.05; letter-spacing: -0.8px; margin: 0 0 22px; }
.lead { font-size: 21px; color: var(--ink2); margin: 0 0 30px; max-width: 33em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 26px; border-radius: 16px;
  font: inherit; font-size: 18px; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: transform 0.12s, background 0.12s, border-color 0.12s;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--clay); color: #FFF8F0; box-shadow: 0 12px 24px -14px rgba(142, 50, 32, 0.8); }
.btn.primary:hover { background: var(--clay-deep); }
.btn.secondary { background: var(--paper); color: var(--ink); border-color: var(--sand-deep); }
.btn.secondary:hover { border-color: var(--ink2); }
.btn:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; }
.btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.small { font-size: 16px; color: var(--ink2); margin-top: 18px; }
.thanks { font-weight: 700; color: var(--moss); background: var(--moss-soft); border-radius: 14px; padding: 12px 16px; margin: 0; }

/* The drawn phones */
.phone { width: 280px; margin: 0 auto; background: #3A2D25; border-radius: 42px; padding: 12px; position: relative;
  box-shadow: 0 40px 70px -32px rgba(70, 40, 20, 0.55), inset 0 0 0 2px #4A3A30; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 70px; height: 6px; margin-left: -35px; border-radius: 3px; background: #2A201A; }
.screen { background: var(--cream); border-radius: 32px; padding: 34px 18px 26px; min-height: 510px; }
.screen .meta { font-size: 12px; font-weight: 700; letter-spacing: 0.4px; color: var(--ink2); margin: 0 0 4px; }
.screen .meta.plain { font-weight: 400; letter-spacing: 0; }
.screen .title { font-size: 24px; line-height: 1.15; margin: 0 0 12px; }
.thread { height: 7px; border-radius: 4px; background: var(--sand); margin: 0 0 18px; overflow: hidden; }
.thread i { display: block; height: 100%; width: 62%; background: linear-gradient(90deg, var(--clay), var(--honey)); border-radius: 4px; }
.row { display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--sand); border-radius: 14px; padding: 10px 12px; margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.row .knot { width: 10px; height: 10px; border-radius: 3px; background: var(--clay); flex: none; }
.row .knot.open { background: none; border: 2px solid var(--sand-deep); }
.row small { display: block; font-weight: 400; color: var(--ink2); font-size: 12px; }
.q { font-size: 12px; color: var(--ink2); margin: 8px 0 0; }
.code { border: 1.5px solid var(--ink); border-radius: 14px; padding: 10px 12px; background: #fff; font-size: 13px; margin: 0 0 8px; }
.code b { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 18px; letter-spacing: 1.5px; }

/* Sections */
section.band { padding: 88px 0; }
section.band.paper { background: var(--paper); border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }
section.band.honey { background: linear-gradient(180deg, var(--honey-soft), #FBF1DD); border-top: 1px solid #EED9AE; border-bottom: 1px solid #EED9AE; }
h2 { font-size: 42px; line-height: 1.12; letter-spacing: -0.4px; margin: 0 0 16px; }
.kicker { display: block; font-size: 14px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--clay); margin: 0 0 10px; }
.intro { color: var(--ink2); font-size: 21px; margin: 0 0 40px; max-width: 38em; }

/* "Kender I det?": the questions one partner can't answer, as speech bubbles */
.asks { list-style: none; padding: 0; margin: 0 0 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.asks li { background: var(--paper); border: 1px solid var(--sand-deep); border-radius: 22px 22px 22px 6px; padding: 14px 20px; font-size: 19px; font-weight: 700; box-shadow: 0 10px 22px -18px rgba(70, 40, 20, 0.5); }
.asks li:nth-child(4n+2) { background: var(--clay-soft); border-color: #E6BFAA; }
.asks li:nth-child(4n+3) { background: var(--ink); color: var(--cream); border-color: var(--ink); border-radius: 22px 22px 6px 22px; }
.asks li:nth-child(4n) { background: var(--moss-soft); border-color: #C9CFB7; }
.answer-line { font-family: var(--serif); font-size: 26px; line-height: 1.4; max-width: 32em; margin: 0; }
.answer-line em { color: var(--clay-deep); font-style: normal; }

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.point { background: var(--paper); border: 1px solid var(--sand); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.point h3 { font-size: 23px; line-height: 1.2; margin: 0 0 8px; }
.point p { margin: 0; color: var(--ink2); }
.point .icon { width: 56px; height: 56px; border-radius: 18px; background: var(--clay-soft); display: flex; align-items: center; justify-content: center; margin: 0 0 18px; }
.point:nth-child(2) .icon { background: var(--honey-soft); }
.point:nth-child(3) .icon { background: var(--moss-soft); }
.point .icon svg { width: 28px; height: 28px; stroke: var(--clay-deep); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.point:nth-child(2) .icon svg { stroke: #9A6A1E; }
.point:nth-child(3) .icon svg { stroke: var(--moss); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 0 0 0 40px; margin: 0 0 14px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 26px; height: 26px; border-radius: 9px; background: var(--clay-soft); }
.ticks li::after { content: ""; position: absolute; left: 9px; top: 8px; width: 7px; height: 12px; border: solid var(--clay-deep); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* The guest sheet, lying a little askew */
.sheet { background: #FFFDF8; border-radius: 12px; padding: 20px; max-width: 380px; margin: 0 auto; border: 1px solid var(--sand);
  box-shadow: 0 34px 60px -30px rgba(70, 40, 20, 0.55); transform: rotate(-2deg); font-size: 13px; }
.sheet .band { background: #3A2D25; color: var(--cream); border-radius: 9px; padding: 9px 12px; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.sheet .band img { width: 22px; height: 22px; border-radius: 5px; }
.sheet h4 { font-size: 22px; margin: 14px 0 2px; }
.sheet .welcome { margin: 0 0 6px; color: var(--ink2); }
.sheet .pill { display: inline-block; background: var(--honey-soft); border: 1px solid #EED9AE; border-radius: 999px; padding: 2px 10px; font-weight: 700; font-size: 12px; }
.sheet .entry { background: var(--paper); border: 1px solid var(--sand); border-radius: 10px; padding: 9px 11px; margin: 9px 0; }
.sheet .qrs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.sheet .qrs div { border: 1px solid var(--sand); border-radius: 10px; padding: 7px; font-size: 11px; display: flex; gap: 7px; align-items: center; }
.sheet .qrs div.dark { background: #3A2D25; color: var(--cream); border-color: #3A2D25; }
.sheet .qr { width: 36px; height: 36px; flex: none; border-radius: 3px; background: conic-gradient(var(--ink) 25%, #fff 0 50%, var(--ink) 0 75%, #fff 0) 0 0 / 9px 9px; border: 3px solid #fff; }

/* Free: a warm closing card */
.free { text-align: center; }
.free .card { max-width: 760px; margin: 0 auto; color: var(--cream); border-radius: 32px; padding: 56px 40px; background-color: var(--ink);
  background-image: radial-gradient(70% 90% at 100% 0%, rgba(231, 183, 106, 0.28), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(180, 69, 46, 0.35), transparent 60%);
  box-shadow: 0 40px 70px -40px rgba(43, 33, 27, 0.8); }
.free h2 { color: #FFF6E8; }
.free p { max-width: 34em; margin: 0 auto 30px; color: #E9DCCB; font-size: 20px; }
.actions.center { justify-content: center; }

footer { padding: 40px 0 60px; color: var(--ink2); font-size: 16px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 4px; }
footer nav a { text-decoration: none; color: var(--ink2); font-weight: 700; padding: 8px 14px; border-radius: 999px; }
footer nav a:hover { background: var(--paper); color: var(--clay-deep); }
footer .made { display: flex; align-items: center; gap: 10px; }
footer .made img { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--sand-deep); }

@media (max-width: 880px) {
  h1 { font-size: 42px; }
  h2 { font-size: 33px; }
  .hero, .split { grid-template-columns: 1fr; gap: 44px; }
  .points { grid-template-columns: 1fr; }
  .top nav a:not(.lang) { display: none; }
  section.band { padding: 64px 0; }
  .free .card { padding: 40px 24px; border-radius: 24px; }
}

/* Real screenshots in the phone frame */
.screen.shotscreen { padding: 0; min-height: 0; overflow: hidden; background: #EEF0EB; }
.screen.shotscreen img { display: block; width: 100%; height: auto; }
.phone:has(.shotscreen)::before { display: none; }

/* Guest pages: the phone, with the printed sheet lying on it */
.duo { position: relative; padding: 0 0 40px; }
.duo .sheet { position: absolute; right: -6px; bottom: 0; width: 250px; transform: rotate(5deg); font-size: 11px; padding: 14px; }
.duo .sheet h4 { font-size: 17px; }
.duo .sheet .qrs { display: none; }
@media (max-width: 880px) {
  .duo .sheet { position: static; width: auto; max-width: 340px; margin: -60px auto 0; transform: rotate(-2deg); }
}

/* Skip link, for keyboards and screen readers */
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 12px; }
.top nav a[aria-current="page"] { background: rgba(255, 250, 242, 0.9); color: var(--clay-deep); }

/* Inner pages: a lower warm top with the page's title */
.pagehead .wrap { padding-bottom: 48px; }
.pagehead h1 { font-size: 50px; max-width: 18em; margin-top: 12px; }
.pagehead .lead { margin-bottom: 8px; }
.crumbs { font-size: 16px; color: var(--ink2); margin-top: 8px; }
.crumbs a { color: var(--ink2); }
.dated { font-size: 15px; color: var(--ink2); margin: 0; }

/* Guides and help: readable text */
.prose { max-width: 760px; }
.prose h2 { font-size: 32px; margin: 48px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 23px; margin: 32px 0 8px; }
.prose p, .prose li { max-width: 38em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0 0 8px; }
.prose .ticks { padding: 0; }
.prose .note { background: var(--paper); border: 1px solid var(--sand); border-left: 5px solid var(--honey); border-radius: 14px; padding: 16px 20px; margin: 24px 0; }
.prose .note p { margin: 0; }
.prose .note p + p { margin-top: 8px; }
.checklist { list-style: none; padding: 0 !important; }
.checklist li { position: relative; padding-left: 40px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border: 2px solid var(--sand-deep); border-radius: 6px; background: var(--paper); }
.prose .inapp { background: var(--moss-soft); border-radius: 14px; padding: 14px 18px; margin: 20px 0; font-size: 18px; }
.prose .inapp strong { color: var(--moss); }
.cta { margin: 64px 0 0; color: var(--cream); border-radius: 28px; padding: 40px 36px; background-color: var(--ink);
  background-image: radial-gradient(70% 90% at 100% 0%, rgba(231, 183, 106, 0.28), transparent 60%), radial-gradient(60% 80% at 0% 100%, rgba(180, 69, 46, 0.35), transparent 60%); }
.cta h2 { color: #FFF6E8; font-size: 32px; margin: 0 0 10px; }
.cta p { color: #E9DCCB; margin: 0 0 24px; }

/* The list of guides */
.guidecards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.guidecard { display: block; background: var(--paper); border: 1px solid var(--sand); border-radius: 22px; padding: 24px 26px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform 0.12s, border-color 0.12s; }
.guidecard:hover { transform: translateY(-2px); border-color: var(--sand-deep); }
.guidecard h3 { font-size: 23px; line-height: 1.2; margin: 0 0 6px; color: var(--clay-deep); }
.guidecard p { margin: 0; color: var(--ink2); font-size: 17px; }

/* Questions and answers */
details { background: var(--paper); border: 1px solid var(--sand); border-radius: 16px; margin: 0 0 12px; }
details summary { cursor: pointer; font-weight: 700; padding: 16px 20px; list-style: none; position: relative; padding-right: 52px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 26px; color: var(--clay); }
details[open] summary::after { content: "–"; }
details > :not(summary) { padding: 0 20px; }
details > :last-child { padding-bottom: 16px; margin-bottom: 0; }
.faqgroup { margin: 0 0 48px; }

@media (max-width: 880px) {
  .pagehead h1 { font-size: 38px; }
  .guidecards { grid-template-columns: 1fr; }
  .prose h2 { font-size: 28px; }
  .cta { padding: 32px 22px; border-radius: 22px; }
}
.points.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .points.two { grid-template-columns: 1fr; } }
