/*
 * Kalorist — website styles.
 *
 * Palette, type and the 2px rule-lines come from the design file
 * (design project "Kalorist Website.dc.html"). Two deliberate departures:
 *
 *  1. FONTS ARE SELF-HOSTED. The design links Google Fonts. Embedding those
 *     sends every visitor's IP address to Google before they have agreed to
 *     anything — the practice LG München I fined a site for in 2022
 *     (3 O 17493/20). This site exists to publish Kalorist's privacy policy, so
 *     leaking visitor data to serve it would be self-defeating.
 *  2. THE ICON FONT IS SELF-HOSTED for the same reason. The glyphs are the
 *     design's own Material Symbols Rounded, subsetted to the 22 the site uses
 *     (5.7 KB of a 1.2 MB family) — identical shapes, served from here.
 *
 * No cookies, no analytics, no third-party requests of any kind. That is what
 * lets the cookie page say "none" and what makes a consent banner unnecessary.
 */

@font-face {
  font-family: 'MarkGEO';
  src: url('assets/MarkGEO-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  /* The design's Material Symbols Rounded, subsetted to the 22 icons the site
     uses and served from here — identical glyphs, no request to Google. */
  font-family: 'Material Symbols';
  src: url('assets/material-symbols-subset.ttf') format('truetype');
  font-weight: 300 700;
  font-display: block;
}
@font-face {
  font-family: 'MarkGEOCAPS';
  src: url('assets/MarkGEOCAPS-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --ground: #f3f2f2;
  --ink: #201e1d;
  --ink-strong: #111113;
  --muted: rgba(32, 30, 29, 0.62);
  --faint: rgba(32, 30, 29, 0.5);
  --rule: #201e1d;
  --rule-soft: rgba(32, 30, 29, 0.18);
  --green: #4caf50;
  --green-press: #43a047;
  --green-deep: #2e7d32;
  --shell: 1200px;
  --pad: 40px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'MarkGEO', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--ink);
  text-decoration: none;
}
a:hover {
  color: var(--green);
}
a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  width: 100%;
}

/* ── header ─────────────────────────────────────────────────────────── */

.site-head {
  border-bottom: 2px solid var(--rule);
}
.site-head .shell {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
.brand span {
  font-family: 'MarkGEOCAPS', sans-serif;
  font-size: 20px;
  color: var(--ink-strong);
}
.spacer {
  flex: 1;
}
.site-head nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
}
/* Language switch. A quiet outlined chip rather than a third nav link: it is a
   control, not a destination, and it must not compete with the download CTA. */
.lang {
  font-family: 'MarkGEOCAPS', sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 7px 12px;
  border: 1.5px solid var(--rule-soft);
  color: var(--muted);
}
.lang:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn-green {
  background: var(--green);
  color: #fff;
  font-family: 'MarkGEOCAPS', sans-serif;
  font-size: 15px;
  padding: 12px 20px;
}
.btn-green:hover {
  background: var(--green-press);
  color: #fff;
}

/* ── hero ───────────────────────────────────────────────────────────── */

.hero {
  border-bottom: 2px solid var(--rule);
}
.hero .shell {
  padding-top: 72px;
  display: flex;
  gap: 56px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.hero-copy {
  flex: 1;
  min-width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 80px;
}
.eyebrow {
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--green);
}
h1 {
  margin: 0;
  font-family: 'MarkGEOCAPS', sans-serif;
  font-weight: 400;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.04;
  color: var(--ink-strong);
  max-width: 620px;
  text-wrap: balance;
}
.lede {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.5;
  color: var(--muted);
  max-width: 520px;
  text-wrap: pretty;
}
.stores {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.store {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink-strong);
  color: #fff;
  padding: 16px 24px;
}
.store:hover {
  background: var(--green-deep);
  color: #fff;
}
.store-lines {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.store-lines .small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.store-lines .big {
  font-family: 'MarkGEOCAPS', sans-serif;
  font-size: 17px;
  color: #fff;
}
.store[aria-disabled='true'] {
  opacity: 0.55;
  pointer-events: none;
}
.note {
  font-size: 15px;
  color: var(--faint);
}

/* ── features ───────────────────────────────────────────────────────── */

.features {
  border-bottom: 2px solid var(--rule);
}
.features .shell {
  display: flex;
  flex-wrap: wrap;
}
.feature {
  flex: 1;
  min-width: 280px;
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 2px solid var(--rule-soft);
}
.feature:first-child {
  padding-left: 0;
  border-left: none;
}
.feature:last-child {
  padding-right: 0;
}
.feature b {
  font-family: 'MarkGEOCAPS', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--ink-strong);
}
.feature span {
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
}

/* ── faq ────────────────────────────────────────────────────────────── */

.faq {
  border-bottom: 2px solid var(--rule);
  background: var(--ink-strong);
  color: #fff;
}
.faq .shell {
  padding-top: 64px;
  padding-bottom: 64px;
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.faq h2 {
  flex: 1;
  min-width: 320px;
  margin: 0;
  font-family: 'MarkGEOCAPS', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.08;
  color: #fff;
  max-width: 420px;
}
.faq-list {
  flex: 1;
  min-width: 340px;
  display: flex;
  flex-direction: column;
}
.qa {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qa:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.qa b {
  font-family: 'MarkGEOCAPS', sans-serif;
  font-size: 19px;
  font-weight: 400;
  color: #fff;
}
.qa span {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

/* ── footer ─────────────────────────────────────────────────────────── */

.site-foot {
  margin-top: auto;
}
.foot-cols {
  padding-top: 56px;
  padding-bottom: 28px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.foot-brand {
  flex: 1;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.foot-brand .row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.foot-brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}
.foot-brand .name {
  font-family: 'MarkGEOCAPS', sans-serif;
  font-size: 18px;
  color: var(--ink-strong);
}
.foot-brand p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(32, 30, 29, 0.55);
  max-width: 280px;
}
.foot-col {
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.foot-col .head {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(32, 30, 29, 0.45);
}
.foot-col a {
  font-size: 16px;
}
.socials {
  display: flex;
  gap: 10px;
  padding-top: 4px;
}
.socials a {
  width: 38px;
  height: 38px;
  background: var(--ink-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}
.socials a:hover {
  background: var(--green);
}
.foot-bottom {
  padding-bottom: 40px;
}
.foot-rule {
  height: 2px;
  background: var(--rule);
}
.foot-legal {
  padding-top: 18px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
  color: var(--faint);
}

/* ── legal pages ────────────────────────────────────────────────────── */

.doc {
  padding-top: 56px;
  padding-bottom: 72px;
  max-width: 760px;
}
.doc h1 {
  font-size: clamp(30px, 5vw, 44px);
  margin-bottom: 8px;
}
.doc .updated {
  font-size: 14px;
  color: var(--faint);
  display: block;
  margin-bottom: 40px;
}
.doc h2 {
  font-family: 'MarkGEOCAPS', sans-serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--ink-strong);
  margin: 40px 0 12px;
}
.doc h3 {
  font-family: 'MarkGEOCAPS', sans-serif;
  font-weight: 400;
  font-size: 17px;
  color: var(--ink-strong);
  margin: 24px 0 8px;
}
.doc p,
.doc li {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}
.doc a {
  color: var(--green-deep);
  text-decoration: underline;
}
.doc ul {
  padding-left: 22px;
}
.doc li {
  margin-bottom: 8px;
}
.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 16px 0;
}
.doc th,
.doc td {
  text-align: left;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--muted);
  vertical-align: top;
}
.doc th {
  font-family: 'MarkGEOCAPS', sans-serif;
  font-weight: 400;
  color: var(--ink-strong);
}
.doc-wide {
  overflow-x: auto;
}

/* Fields only the operator could supply — name, address, tax status. Filled in
   on 15 August 2026, so the highlight and its banner are gone from the pages.
   The rules stay: the next unfilled field gets the class, and is loud, because
   a placeholder that blends in is a placeholder that ships. */
.fill {
  background: #fff5cc;
  border-left: 3px solid #e0a800;
  padding: 2px 8px;
  color: #6b5200;
  font-family: 'MarkGEOCAPS', sans-serif;
  font-size: 0.92em;
}
.fill-block {
  background: #fff5cc;
  border-left: 3px solid #e0a800;
  padding: 16px 18px;
  margin: 20px 0;
}
.fill-block p {
  margin: 0 0 8px;
  color: #6b5200;
  font-size: 15px;
}
.fill-block p:last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  :root {
    --pad: 20px;
  }
  .site-head nav {
    gap: 14px;
    font-size: 14px;
  }
  .feature {
    padding: 32px 0;
    border-left: none;
    border-top: 2px solid var(--rule-soft);
  }
  .feature:first-child {
    border-top: none;
  }
  .hero .shell {
    padding-top: 44px;
  }
  .hero-copy {
    padding-bottom: 44px;
  }
}


/* Icon glyphs. `font-display: block` above matters here: a swap period would
   flash the raw private-use codepoint as tofu before the font lands. */
.ms {
  font-family: 'Material Symbols';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}
