/* Shared styles for the privacy, terms and support pages, in the landing page's editorial style. */

:root {
  --ink: #161514;
  --paper: #f4f2ee;
  --card: #ffffff;
  --muted: #6b665f;
  --line: rgba(22, 21, 20, 0.1);
  --orange: #e8731a;
  --orange-deep: #b95b13;
  --serif: 'New York', ui-serif, 'Iowan Old Style', 'Apple Garamond', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 48px);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: var(--orange-deep);
}

a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header: the same dark bar and butterfly as the landing page. */

.top {
  background: var(--ink);
  color: #fff;
}

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: max(20px, env(safe-area-inset-top));
  padding-bottom: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 30px;
}

.brand span {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.top nav {
  display: flex;
  gap: 20px;
}

.top nav a {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.8;
}

.top nav a[aria-current='page'] {
  opacity: 1;
  color: var(--orange);
}

/* Page title band. */

.title {
  background: var(--ink);
  color: #fff;
  padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 7vw, 96px);
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}

.title h1 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.title p {
  max-width: 34em;
  margin: 18px 0 0;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.75);
}

/* Document body. */

.doc {
  max-width: 720px;
  padding: clamp(48px, 7vw, 80px) 0 clamp(64px, 9vw, 112px);
}

.doc h2 {
  margin: 56px 0 14px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.doc h2:first-child {
  margin-top: 0;
}

.doc h3 {
  margin: 30px 0 6px;
  font-size: 18px;
}

.doc p,
.doc ul {
  margin: 0 0 16px;
}

.doc ul {
  padding-left: 22px;
}

.doc li {
  margin-bottom: 10px;
}

.doc li::marker {
  color: var(--orange);
}

.meta {
  color: var(--muted);
  font-size: 15px;
}

.callout {
  margin: 28px 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 14px;
  background: var(--card);
}

.button {
  display: inline-flex;
  margin-top: 8px;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

/* Footer, matching the landing page. */

footer {
  padding: 36px 0 max(36px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

footer a {
  color: inherit;
  text-decoration: none;
}

footer a:hover {
  color: var(--ink);
}

/* Narrow phones: the butterfly alone, so the three links fit beside it. */
@media (max-width: 420px) {
  .brand span {
    display: none;
  }
}
