/* Legal notice + privacy policy: plain scrolling pages in the portfolio's look */
:root {
  --fg: #0b0b0d;
  --muted: rgba(11, 11, 13, 0.55);
  --font: "owners", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { background: #e7e7e1; }
body {
  margin: 0;
  padding: calc(env(safe-area-inset-top, 0px) + 96px) 8px calc(env(safe-area-inset-bottom, 0px) + 8px);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.top {
  position: fixed;
  z-index: 2;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(env(safe-area-inset-top, 0px) + 16px) 24px 16px;
  background: rgba(231, 231, 225, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.top__logo { display: block; line-height: 0; color: #000; }
.top__logo svg { height: 22px; width: auto; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font: 500 1rem/1 var(--font);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { opacity: 0.8; }
/* Button hover: the label slides out to the right and comes back in from the
   left (script: .btn__t wrapper + .is-swap) */
.btn { overflow: hidden; }
.btn__t { display: inline-flex; align-items: center; gap: inherit; }
.btn.is-swap .btn__t { animation: btn-swap 0.3s both; }
@keyframes btn-swap {
  0%     { transform: translateX(0); animation-timing-function: cubic-bezier(0.5, 0, 0.9, 0.5); }
  49.99% { transform: translateX(calc(100% + 1.5em)); }
  50%    { transform: translateX(calc(-100% - 1.5em)); animation-timing-function: cubic-bezier(0.1, 0.5, 0.5, 1); }
  100%   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) { .btn.is-swap .btn__t { animation: none; } }


.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 56px 48px;
  border-radius: 32px;
  background: #fff;
}
.doc h1 {
  margin: 0 0 32px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 3.5rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.doc h2 {
  margin: 40px 0 8px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
}
.doc h3 { margin: 24px 0 4px; font-size: 1rem; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; }
.doc p, .doc ul { margin: 0 0 12px; }
.doc ul { padding-left: 1.2em; }
.doc address { font-style: normal; margin: 0 0 12px; }
.doc .updated { margin-top: 40px; color: var(--muted); font-size: 0.875rem; }

/* placeholder that still has to be filled in before going live */
.todo { background: #ff5e27; color: #fff; padding: 0 4px; border-radius: 4px; }

.foot {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 28px 0 20px;
  font-size: 0.8125rem;
  color: var(--muted);
}
.foot a { text-decoration: none; }
.foot a:hover, .foot a[aria-current] { color: var(--fg); }

@media (max-width: 640px) {
  body { padding-top: calc(env(safe-area-inset-top, 0px) + 76px); }
  .top { padding: calc(env(safe-area-inset-top, 0px) + 16px) 16px 12px; }
  .top__logo svg { height: 16px; }
  .btn { height: 32px; padding: 0 12px; font-size: 0.875rem; }
  .doc { padding: 36px 22px 28px; border-radius: 24px; }
  .doc h1 { font-size: 2.5rem; margin-bottom: 24px; }
  .doc h2 { font-size: 1.3rem; margin-top: 32px; }
}
