/* sexy fortunes · temporary site
   Colours, type and shapes follow the sexy fortunes design system. */

@font-face { font-family: "Fraunces Soft"; src: url("fonts/FrauncesSoft-VF.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces Soft"; src: url("fonts/FrauncesSoft-Italic-VF.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/DMSans-VF.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("fonts/DMMono-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --slip: #fff7ec;
  --cookie: #f7d9a6;
  --plum: #2a1232;
  --plum-soft: #5e4766;
  --cherry: #ff5a7e;
  --tangerine: #ff8f40;
  --butter: #ffd03d;
  --mint: #3dcc8e;
  --sky: #55a2ff;
  --grape: #ac80ff;
  --font-display: "Fraunces Soft", Fraunces, Georgia, serif;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, monospace;
  --stroke-1: 2px;
  --stroke-2: 3px;
  --shadow-sticker-sm: 2px 2px 0 var(--plum);
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--slip);
  color: var(--plum);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  -webkit-text-size-adjust: 100%;
}

h1, h2, p, dl, dd { margin: 0; }
img, svg { display: block; }
a { color: var(--plum); }
a:focus-visible { outline: var(--stroke-2) solid var(--plum); outline-offset: 2px; }

.title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.lead { font-size: 20px; line-height: 30px; font-weight: 500; }

/* Buttons: lowercase pills that look like stickers */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 28px;
  border: var(--stroke-1) solid var(--plum);
  border-radius: 999px;
  background: var(--cherry);
  box-shadow: var(--shadow-sticker-sm);
  color: var(--plum);
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  text-decoration: none;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.btn:hover { transform: translate(-1px, -1px); }
.btn:active { transform: translate(2px, 2px); box-shadow: none; }

.btn--back {
  gap: 8px;
  min-height: 44px;
  padding: 8px 20px 8px 14px;
  background: var(--slip);
  font-size: 16px;
  line-height: 24px;
}

/* First screen: big logo, text centered below */
.first {
  min-height: clamp(560px, calc(100vh - 72px), 960px);
  min-height: clamp(560px, calc(100svh - 72px), 960px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 6vw, 72px) var(--gutter);
  text-align: center;
}
.first__inner {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 4.5vw, 56px);
}
.first__logo { width: min(100%, 520px); height: auto; }
.first__text { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.first .lead { max-width: 34em; text-wrap: pretty; }

/* Want more cookies? */
.more { background: var(--cookie); border-top: var(--stroke-1) solid var(--plum); }
.more__inner {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.more__text, .more__actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.more .lead { text-wrap: balance; }
.note { font-size: 16px; line-height: 24px; color: var(--plum-soft); }
.note a { font-weight: 600; }

/* Footer */
.footer { background: var(--plum); color: var(--slip); }
.footer a { color: var(--slip); }
.footer a:focus-visible { outline-color: var(--butter); }
.stripe { display: flex; flex-direction: column; gap: 2px; padding: 2px 0; background: var(--plum); }
.stripe span { height: 4px; }
.stripe span:nth-child(1) { background: var(--cherry); }
.stripe span:nth-child(2) { background: var(--tangerine); }
.stripe span:nth-child(3) { background: var(--butter); }
.stripe span:nth-child(4) { background: var(--mint); }
.stripe span:nth-child(5) { background: var(--sky); }
.stripe span:nth-child(6) { background: var(--grape); }
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}
.footer__brand { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer__logo { height: 44px; width: auto; }
.footer__line {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  color: var(--butter);
}
.footer__small { font-size: 14px; line-height: 20px; }

/* Impressum */
.legal-page { min-height: 100vh; display: flex; flex-direction: column; }
.legal {
  flex-grow: 1;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) var(--gutter) clamp(56px, 8vw, 96px);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.legal .btn--back { align-self: flex-start; }
.legal h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.facts { display: flex; flex-direction: column; border-top: var(--stroke-1) solid var(--plum); }
.facts > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 32px;
  padding: 20px 0;
  border-bottom: var(--stroke-1) solid var(--plum);
}
.facts dt {
  flex: 0 0 200px;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--plum-soft);
}
.facts dd { flex: 1 1 320px; min-width: 0; font-size: 18px; line-height: 28px; }
.facts dd a { font-weight: 600; }
.facts__address { min-height: 140px; }

@media (max-width: 420px) {
  .first .lead { font-size: 18px; line-height: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover, .btn:active { transform: none; }
}
