/* ============================================================
   Schwupps marketing site — its own design language.
   Same brand DNA as the app (coral, warm neutrals, Wupp),
   deliberately NOT the app UI: paper ground, display serif-less
   grotesque, big editorial type, photo-first cards.
   No external requests: fonts are self-hosted (SIL OFL 1.1).
   ============================================================ */

@font-face {
  font-family: 'Bricolage';
  src: url('assets/fonts/bricolage-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A,
    U+201C-201E, U+2026, U+20AC, U+2212;
}
@font-face {
  font-family: 'Bricolage';
  src: url('assets/fonts/bricolage-latin-ext.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20BF;
}

:root {
  --paper: #f6f5f2;
  --card: #ffffff;
  --ink: #17140f;
  --ink2: #3b3730;
  --muted: #6f6a60; /* darker than app 'muted' — body-safe on paper */
  --line: #e8e5de;
  --coral: #ee5a2e;
  --coral-press: #d64a22;
  --coral-soft: #fdede6;
  --good: #1e8e5a;
  --good-soft: #e6f3ec;
  --display: 'Bricolage', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Roboto,
    'Helvetica Neue', Arial, sans-serif;
  --radius: 26px;
  --radius-s: 16px;
  --shadow: 0 24px 48px -32px rgba(23, 20, 15, 0.28),
    0 4px 14px -8px rgba(23, 20, 15, 0.08);
  --maxw: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--coral); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- speed-lines motif (from the Wupp mark) ---------- */
.zip {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  vertical-align: middle;
}
.zip i {
  display: block;
  height: 4px;
  border-radius: 99px;
  background: var(--coral);
}
.zip i:nth-child(1) { width: 22px; margin-left: 8px; }
.zip i:nth-child(2) { width: 30px; }
.zip i:nth-child(3) { width: 20px; margin-left: 10px; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 245, 242, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav .mark { display: flex; align-items: center; gap: 10px; }
.nav .mark img { height: 26px; width: auto; }
.nav .mark svg { height: 22px; width: auto; }
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  color: var(--ink2);
  font-weight: 600;
  font-size: 15px;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav .lang {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.nav .cta { margin-left: 4px; }
.nav-burger {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px; /* ≥18.7px bold: white-on-coral passes WCAG AA large */
  padding: 16px 28px;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-coral {
  background: linear-gradient(135deg, var(--coral), var(--coral-press));
  color: #fff;
  box-shadow: 0 14px 28px -14px rgba(238, 90, 46, 0.55);
}
.btn-coral:hover { box-shadow: 0 18px 34px -14px rgba(238, 90, 46, 0.65); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-white { background: #fff; color: var(--ink); }
.btn-sm { font-size: 15px; padding: 10px 18px; border-radius: 13px; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 30px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 52px;
  align-items: center;
}
.kicker {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.5rem);
  font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  color: var(--coral);
}
.hero .lede {
  color: var(--ink2);
  font-size: 19px;
  max-width: 34em;
  margin: 22px 0 30px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { color: var(--muted); font-size: 14px; margin-top: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink2);
}
.chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  flex: none;
}

.hero-figure { position: relative; }
.hero-figure .photo {
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero-figure .photo img { width: 100%; height: auto; }
.hero-wupp {
  position: absolute;
  left: -26px;
  bottom: -24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: wupp-in 0.9s cubic-bezier(0.2, 0.9, 0.25, 1.2) 0.25s backwards;
}
.hero-wupp svg { width: 58px; height: auto; }
.hero-wupp .t { font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.25; }
.hero-wupp .t small { display: block; color: var(--muted); font-weight: 600; font-size: 12.5px; }
@keyframes wupp-in {
  from { transform: translateX(-60px) rotate(-4deg); opacity: 0; }
  to { transform: none; opacity: 1; }
}

/* ---------- marquee ---------- */
.marquee {
  margin: 44px 0 0;
  border-block: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
  white-space: nowrap;
  padding: 13px 0;
}
.marquee-track {
  display: inline-block;
  animation: slide 46s linear infinite;
}
.marquee span {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink2);
  margin: 0 14px;
}
.marquee b { color: var(--coral); font-weight: 800; margin: 0 6px; }
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- sections ---------- */
.section { padding: 78px 0 10px; }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.sec-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.sec-sub { color: var(--ink2); font-size: 17.5px; margin-top: 14px; max-width: 38em; }

/* ---------- category grid ---------- */
.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  overflow: hidden;
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.cat:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.cat img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.cat .l {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 15px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15.5px;
}
.cat .l::after { content: '→'; color: var(--coral); font-weight: 800; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 28px;
}
.step .num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  color: var(--coral);
  margin-bottom: 16px;
}
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--ink2); font-size: 15.5px; margin: 0; }

/* ---------- privacy / big-quote band ---------- */
.band {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 52px clamp(26px, 6vw, 70px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}
.band h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.band .q {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink2);
  border-left: 4px solid var(--coral);
  padding-left: 18px;
  margin: 22px 0 0;
}
.band ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.band li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 15px 18px;
  font-size: 15.5px;
  color: var(--ink2);
}
.band li b { color: var(--ink); font-weight: 700; }

/* ---------- §35a ---------- */
.tax {
  background: var(--coral-soft);
  border: 1px solid #f6d9cb;
  border-radius: var(--radius);
  padding: 46px clamp(26px, 6vw, 64px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}
.tax .pct {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(4rem, 9vw, 6.6rem);
  line-height: 0.9;
  color: var(--coral);
  white-space: nowrap;
}
.tax h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 10px; }
.tax p { color: var(--ink2); margin: 0 0 8px; font-size: 16px; }
.tax .fine { color: var(--muted); font-size: 13.5px; }

/* ---------- pros panel ---------- */
.pros {
  background: var(--ink);
  color: #f6f5f2;
  border-radius: var(--radius);
  padding: 58px clamp(26px, 6vw, 70px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.pros .sec-label { color: var(--coral); }
.pros h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: #fff; }
.pros p { color: #cfcac0; }
.pros ul { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.pros li { display: flex; gap: 12px; align-items: baseline; font-size: 16px; color: #e9e6df; }
.pros li::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); flex: none; transform: translateY(-1px); }
.pros .photo {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}
.pros .fine { color: #a49e92; font-size: 13.5px; margin-top: 14px; }
.pros a.plain { color: #fff; text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 0 22px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 600;
  color: var(--coral);
  flex: none;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { color: var(--ink2); font-size: 15.5px; padding: 0 0 20px; margin: 0; }

/* ---------- get-the-app ---------- */
.getapp {
  background: linear-gradient(135deg, var(--coral), var(--coral-press));
  border-radius: var(--radius);
  color: #fff;
  padding: 58px clamp(26px, 6vw, 70px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.getapp h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); }
.getapp p { color: #ffe1d5; font-size: 17.5px; max-width: 36em; margin: 16px auto 30px; }
.getapp .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 14px;
  padding: 10px 18px;
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  opacity: 0.85;
}
.store small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffd2c0;
}
.getapp .pwa { color: #ffd2c0; font-size: 13.5px; margin-top: 22px; }
.getapp .bgwupp {
  position: absolute;
  right: -30px;
  bottom: -34px;
  width: 230px;
  opacity: 0.16;
  pointer-events: none;
}

/* ---------- footer ---------- */
footer { padding: 60px 0 46px; }
.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 38px;
}
.foot .mark img { height: 24px; }
.foot .tag { font-family: var(--display); font-weight: 600; color: var(--ink2); margin-top: 12px; font-size: 15px; }
.foot nav { display: grid; gap: 9px; font-size: 15px; }
.foot nav a { color: var(--ink2); }
.foot nav a:hover { color: var(--ink); }
.foot .col h4 {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.foot-fine {
  color: var(--muted);
  font-size: 13px;
  margin-top: 34px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---------- reveal on scroll ----------
   Scoped to .js so the content is never hidden unless a script is actually
   there to reveal it: no JS, or site.js failing to load (its onerror drops
   the class), and every section just renders. */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .rv.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .band, .pros { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .tax { grid-template-columns: 1fr; gap: 18px; }
  .hero-wupp { left: 10px; bottom: -18px; }
}
@media (max-width: 760px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 22px 22px;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; }
  body { font-size: 16px; }
  /* Stacked CTAs read as a pair only when they share a width. */
  .hero-ctas { display: grid; gap: 12px; }
  .hero-ctas .btn { width: 100%; }
}
