/* teamolaf.com (2026-11-20, the global website rule): olafzen.com's look, with orange, the
   logo's color, as the hero. Black always. No outside fonts.
   2026-11-21: a cool night blue-black around the orange (was a warm brown-black), with a faint
   blue glow, so the orange stands out. */
:root {
  --bg: #070A12; --bg2: #0E1320; --ink: #F4F6FB; --muted: #A9B1C4; --faint: #687089; --night: #3D6BFF;
  --orange: #FF8A1F; --amber: #FFB36B; --peach: #FFD9BD; --ember: #FF5E3A;
  --line: rgba(255, 255, 255, .09); --card: rgba(255, 255, 255, .04);
  --ease: cubic-bezier(.65, 0, .2, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
/* Never one word alone on a line; fit-text.js does the rest (the global rule) */
body { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
em.line { display: block; font-style: inherit; }

* { box-sizing: border-box; }
html { background: var(--bg); }   /* no smooth scroll: links jump at once */
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { display: block; }
.wrap { max-width: 920px; margin: 0 auto; padding: 0 20px; }

/* ---------- the top menu (partials/header.html) ---------- */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 22px; padding: 12px 24px;
  background: linear-gradient(rgba(7, 10, 18, .85), rgba(7, 10, 18, .6));
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.01em;
  text-decoration: none; font-size: 17px; }
.brand img { width: 30px; height: 30px; object-fit: contain; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav-links a { text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  text-decoration: none; font-weight: 700; font-family: inherit; border-radius: 999px; white-space: nowrap; }
.btn-coffee { padding: 8px 16px; font-size: 14px; color: var(--peach); background: rgba(255, 179, 107, .12); border: 1px solid rgba(255, 179, 107, .35); }
.btn-coffee:hover { background: rgba(255, 179, 107, .22); }   /* warm, like olafzen.com's */
.lang { font: inherit; font-size: 13px; font-weight: 650; background: none; border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 12px; color: var(--muted); cursor: pointer; }
.lang:hover { color: var(--ink); }
@media (max-width: 560px) { .cf-t { display: none; } .nav { gap: 14px; padding: 10px 16px; } }

/* ---------- the top of the page: an ember glow behind the logo ---------- */
.hero { position: relative; isolation: isolate; text-align: center; padding: 72px 0 8px; }
.hero::before { content: ''; position: absolute; z-index: -1; left: 50%; top: -80px; width: 100vw; height: 760px;
  transform: translateX(-50%); pointer-events: none;
  background:
    radial-gradient(700px 420px at 50% 30%, rgba(255, 138, 31, .26), transparent 62%),
    radial-gradient(700px 420px at 10% 8%, rgba(61, 107, 255, .20), transparent 62%),
    radial-gradient(640px 420px at 92% 18%, rgba(46, 196, 230, .12), transparent 62%);
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.logo { width: min(240px, 60vw); height: auto; margin: 0 auto; filter: drop-shadow(0 14px 44px rgba(255, 138, 31, .35)); }
h1 { margin: 28px auto 0; max-width: 820px; font-size: clamp(38px, 6.4vw, 72px); line-height: 1.02; letter-spacing: -.045em;
  font-weight: 800; background: linear-gradient(180deg, #FFFFFF 20%, var(--peach) 70%, var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }

/* ---------- the tools ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; padding-top: 56px; padding-bottom: 24px; }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 22px;
  background: var(--card); border: 1px solid var(--line); text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-3px); border-color: rgba(255, 138, 31, .35);
  box-shadow: 0 20px 50px -18px rgba(255, 138, 31, .35); }
.card .top { display: flex; align-items: center; gap: 14px; }
.card img { width: 56px; height: 56px; border-radius: 13px; flex: none; }
.card h2 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.card .for { font-size: 13px; color: var(--muted); }
.card p { margin: 0; color: var(--muted); flex: 1; }
.card .go { font-weight: 700; color: var(--amber); }
.free { position: absolute; top: 20px; right: 20px; font-size: 12px; font-weight: 700; color: var(--amber);
  padding: 3px 10px; border-radius: 999px; background: rgba(255, 138, 31, .12); border: 1px solid rgba(255, 138, 31, .25); }

/* ---------- coffee: the card from olafzen.com and olafhelper.com, in orange ---------- */
.kofi { padding-top: 32px; padding-bottom: 96px; }   /* top and bottom only: the side margin stays, as for the tool cards */
.kofi-card { display: flex; align-items: center; gap: 40px; padding: 44px 48px; border-radius: 30px; border: 1px solid rgba(255, 255, 255, .1);
  background: radial-gradient(600px 300px at 0% 0%, rgba(255, 179, 107, .22), transparent 70%),
    radial-gradient(500px 300px at 100% 100%, rgba(61, 107, 255, .20), transparent 70%), #0F1422; }
.kofi-card > div { flex: 1; min-width: 0; }
.cup { flex: none; width: 130px; overflow: visible; }
/* The steam rises in turns, forever (animations always play: the global rule) */
.steam path { animation: steam 3.2s ease-in-out infinite; opacity: 0; }
.steam path:nth-child(2) { animation-delay: 1s; } .steam path:nth-child(3) { animation-delay: 2s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(8px); } 40% { opacity: .8; } 100% { opacity: 0; transform: translateY(-14px); } }
.kofi-card h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.kofi-card p { margin: 10px 0 0; color: var(--muted); max-width: 600px; }
.btn-lg { padding: 16px 30px; font-size: 18px; color: #1F0E02;
  background: linear-gradient(100deg, var(--peach), var(--amber) 40%, var(--orange));
  box-shadow: 0 10px 40px -8px rgba(255, 138, 31, .6), inset 0 1px 0 rgba(255, 255, 255, .6);
  transition: transform .25s var(--ease), box-shadow .25s; }
.btn-lg:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 18px 50px -8px rgba(255, 138, 31, .8), inset 0 1px 0 rgba(255, 255, 255, .6); }
.kofi-btn { flex: none; }
@media (max-width: 640px) {
  .kofi-card { flex-direction: column; text-align: center; padding: 34px 22px; gap: 18px; }
  .cup { width: 104px; }
  .kofi-card p { margin-left: auto; margin-right: auto; }
}

/* ---------- a text page (about) ---------- */
.doc { max-width: 680px; padding-top: 64px; padding-bottom: 64px; }
.doc h1 { margin: 0 0 24px; text-align: left; font-size: clamp(36px, 6vw, 56px); }
.doc h2 { margin: 36px 0 8px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.doc p { margin: 0 0 12px; color: var(--muted); }
.doc a { color: var(--amber); }

/* ---------- the footer (partials/footer.html): links and the copyright line ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 40px 16px 60px; display: flex; flex-direction: column;
  align-items: center; gap: 16px; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.5; }
.site-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.site-foot nav a { color: var(--muted); text-decoration: none; }
.site-foot nav a:hover { color: var(--ink); }
.site-foot small { color: var(--faint); font-size: 12.5px; }
