/* Pinnerr website. Same look as the app (lib/core/theme/): white, black
   text, Inter, lots of space, round corners, the three pin colours as the
   only strong colours. No frameworks, no third-party files. */

@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/fonts/Inter-Regular.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/fonts/Inter-SemiBold.woff2) format('woff2'); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/fonts/Inter-Bold.woff2) format('woff2'); }

:root {
  --text: #0a0a0a;
  --muted: #6e6e73;
  --faint: #a1a1a6;
  --surface: #f5f5f7;
  --border: #e6e6e8;
  --error: #d92d20;
  --task: #ff7a1a; --task-tint: #fff1e6;
  --fun: #8b5cf6; --fun-tint: #f2ecfe;
  --offer: #2f80ed; --offer-tint: #e8f1fd;
  --radius: 16px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 400 17px/1.55 Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light;
}
a { color: inherit; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--offer); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* Header and footer */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 20px 0; }
.site-header .brand { flex-shrink: 0; }
.site-header nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 40px; }
.site-header nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.site-header nav a:hover { color: var(--text); }
/* The language switch (Deutsch / English). */
.site-header nav a.lang { color: var(--text); font-weight: 600; }
.site-footer { border-top: 1px solid var(--border); margin-top: 80px; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }

/* Landing */
.hero { text-align: center; padding: 48px 0 24px; }
.hero .logo { width: 128px; height: 160px; display: block; margin: 0 auto 24px; }
h1 { font-size: clamp(34px, 7vw, 52px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 16px; font-weight: 700; }
.lead { font-size: 20px; color: var(--muted); margin: 0 auto 32px; max-width: 30em; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.store {
  display: inline-flex; flex-direction: column; align-items: flex-start; min-width: 176px; min-height: 52px;
  padding: 8px 20px; border-radius: 12px; background: var(--text); color: #fff; text-decoration: none; line-height: 1.2;
}
.store small { font-size: 11px; opacity: .75; }
.store strong { font-size: 18px; font-weight: 600; }
.soon { color: var(--muted); font-size: 14px; margin-top: 14px; }

.section { padding: 56px 0 0; }
h2 { font-size: 28px; letter-spacing: -0.02em; margin: 0 0 8px; line-height: 1.2; }
.section > p { color: var(--muted); margin: 0 0 24px; }
.types { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.type { border-radius: var(--radius); padding: 22px; }
.type h3 { margin: 0 0 6px; font-size: 19px; display: flex; align-items: center; gap: 10px; }
.type h3::before { content: ''; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: currentColor; flex: none; }
.type p { margin: 0; font-size: 15px; color: var(--text); }
.type.task { background: var(--task-tint); } .type.task h3 { color: var(--task); }
.type.fun { background: var(--fun-tint); } .type.fun h3 { color: var(--fun); }
.type.offer { background: var(--offer-tint); } .type.offer h3 { color: var(--offer); }
.type h3 span { color: var(--text); }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.points li { background: var(--surface); border-radius: var(--radius); padding: 18px 22px; }
.points strong { display: block; }
.points span { color: var(--muted); font-size: 15px; }

/* Legal pages and forms */
.doc h1 { font-size: clamp(30px, 6vw, 40px); margin-top: 24px; }
.doc h2 { font-size: 22px; margin: 40px 0 8px; }
.doc h3 { font-size: 17px; margin: 24px 0 4px; }
.doc p, .doc li { margin: 0 0 12px; }
.doc ul { padding-left: 22px; }
.updated { color: var(--muted); font-size: 15px; }
.draft {
  border: 2px dashed var(--task); background: var(--task-tint); border-radius: var(--radius);
  padding: 16px 20px; margin: 16px 0 24px; font-size: 15px;
}
.draft strong { display: block; font-size: 16px; }
mark.added { background: #e3edff; color: #123a7a; border-radius: 4px; padding: 0 4px; font-weight: 600; }
mark.todo { background: var(--task-tint); color: #8a3c00; border-radius: 4px; padding: 0 4px; font-weight: 600; }
.note { background: var(--surface); border-radius: var(--radius); padding: 18px 22px; margin: 20px 0; }
.note p:last-child { margin-bottom: 0; }

form { display: grid; gap: 18px; margin-top: 24px; }
label { font-weight: 600; font-size: 15px; display: block; margin-bottom: 6px; }
label .opt { font-weight: 400; color: var(--muted); }
input, textarea, select {
  width: 100%; font: inherit; color: inherit; background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 13px 14px; min-height: 48px;
}
/* The browser's own grey is too pale on these boxes. */
::placeholder { color: var(--muted); opacity: 1; }
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--text); outline-offset: 0; background: #fff; }
.hint { color: var(--muted); font-size: 14px; margin-top: 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
.check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--text); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
button {
  font: 600 17px Inter, system-ui, sans-serif; background: var(--text); color: #fff; border: 0; border-radius: 999px;
  min-height: 52px; padding: 0 28px; cursor: pointer; justify-self: start;
}
button[disabled] { opacity: .5; cursor: default; }
.message { border-radius: var(--radius); padding: 16px 20px; font-size: 16px; }
.message.ok { background: var(--offer-tint); }
.message.error { background: #fdecea; color: #8c1d13; }
.message:focus { outline: none; }

@media (max-width: 480px) {
  body { font-size: 16px; }
  .site-header nav { column-gap: 14px; }
  .lead { font-size: 18px; }
  .store { flex: 1 1 100%; align-items: center; }
}

/* A shared pin (pin.html, task 31). */
.shared-pin { padding-top: 24px; }
.shared-pin h1 { margin: 8px 0 20px; }
.pin-type { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; border-radius: 999px; padding: 6px 14px; margin: 0; }
.pin-type::before { content: ''; width: 10px; height: 10px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: currentColor; flex: none; }
.pin-type.task { background: var(--task-tint); color: #8a3c00; }
.pin-type.fun { background: var(--fun-tint); color: #5b2bc4; }
.pin-type.offer { background: var(--offer-tint); color: #1a5bb5; }
.pin-type.event { background: var(--surface); color: var(--text); }
.shared-pin .pin-facts { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; font-size: 17px; }
.pin-facts li { margin: 0; }
.pin-facts li:nth-child(n+3) { color: var(--muted); }
.shared-pin .message { margin: 0 0 20px; background: var(--surface); }
a.button {
  display: inline-flex; align-items: center; font: 600 17px Inter, system-ui, sans-serif; background: var(--text); color: #fff;
  border-radius: 999px; min-height: 52px; padding: 0 28px; text-decoration: none;
}
.shared-pin .hint { margin-top: 14px; }
.shared .note { margin-top: 40px; }

/* Launch countdown and waitlist (task 131). */
a.store[href] { cursor: pointer; }
a.store[href]:hover { opacity: .85; }
.soon.live { color: var(--text); font-weight: 600; font-size: 17px; }
.countdown {
  margin: 28px auto 0; max-width: 34em; padding: 22px 24px; border-radius: var(--radius);
  background: var(--fun-tint); text-align: center;
}
.countdown-line { margin: 0; font-size: clamp(22px, 5vw, 28px); line-height: 1.3; letter-spacing: -0.02em; font-weight: 600; }
.countdown-line strong { color: var(--fun); font-weight: 700; white-space: nowrap; }
.countdown-date { margin: 8px 0 0; color: #4a4a50; font-size: 15px; }
select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.waitlist form { margin-top: 0; }
.waitlist .hint { margin: 0; }
.wl-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.wl-buttons:not(:has(button:not([hidden]))) { display: none; }
button.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
#wl-page .message { margin: 16px 0; }
#wl-title:focus { outline: none; }
