/* ==========================================================================
   StayCast — legal pages (privacy, terms)
   Shared by both because they are typographically identical; the landing's
   stylesheet is far too large for a page that is only prose.
   ========================================================================== */

:root{
  --u: min(1px, 0.0611995vw);
  --ink: #000;
  --green: #55bd8f;
  --muted: #6d6d6d;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; }

body{
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img{ display: block; max-width: 100%; height: auto; }
a{ color: inherit; }

:where(a):focus-visible{
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap{ width: min(calc(1244 * var(--u)), 100% - 44px); margin-inline: auto; }

.top{ padding: calc(40 * var(--u)) 0; }
.top a{ display: inline-block; }
.top img{ width: calc(168 * var(--u)); min-width: 130px; }

.doc{ flex: 1 0 auto; padding-bottom: calc(110 * var(--u)); }
.doc .wrap{ width: min(calc(820 * var(--u)), 100% - 44px); margin-inline: 0; padding-left: max(calc((100% - 1244 * var(--u)) / 2), 22px); }

.doc h1{
  margin: 0;
  font-size: max(32px, calc(52 * var(--u)));
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.doc .updated{
  margin: calc(16 * var(--u)) 0 0;
  color: var(--muted);
  font-size: max(13px, calc(15 * var(--u)));
  letter-spacing: -0.01em;
}
.doc h2{
  margin: calc(46 * var(--u)) 0 0;
  font-size: max(19px, calc(24 * var(--u)));
  font-weight: 700;
  letter-spacing: -0.01em;
}
.doc p, .doc li{
  font-size: max(15px, calc(17 * var(--u)));
  line-height: 1.75;
  letter-spacing: -0.01em;
}
.doc p{ margin: calc(14 * var(--u)) 0 0; }
.doc ul{ margin: calc(14 * var(--u)) 0 0; padding-left: calc(24 * var(--u)); }
.doc li{ margin-top: calc(8 * var(--u)); }
.doc a{ text-decoration: underline; text-underline-offset: 3px; }

/* Marks the placeholders that must be filled before this is published. */
.todo{
  padding: 2px 7px;
  background: #fff3cd;
  border-radius: 5px;
  font-weight: 600;
}

.foot{
  flex: none;
  padding: calc(30 * var(--u)) 0 calc(34 * var(--u));
  border-top: 1px solid #e8e8e8;
  color: var(--muted);
  font-size: max(12px, calc(14 * var(--u)));
  letter-spacing: -0.01em;
}
.foot .wrap{ display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot nav{ display: flex; gap: calc(24 * var(--u)); flex-wrap: wrap; }
.foot a{ text-decoration: none; }
.foot a:hover{ color: var(--ink); }

@media (max-width: 1024px){
  .top{ padding: 26px 0; }
  .top img{ width: 140px; }
  .doc{ padding-bottom: 60px; }
  .doc .wrap{ width: calc(100% - 44px); margin-inline: auto; padding-left: 0; }
  .doc h1{ font-size: clamp(28px, 7.5vw, 40px); }
  .doc h2{ margin-top: 34px; font-size: 20px; }
}
