/* The quiet pages: Privacy and Support. Same paper, type and ledges as the landing page, none of its
   play. They load without scripts, so a reviewer or a search engine reads all of it. */

@font-face {
  font-family: Nunito;
  src: url("../assets/fonts/Nunito.woff2") format("woff2"), url("../assets/fonts/Nunito.ttf") format("truetype");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --gutter: clamp(16px, 3vw, 72px);
  --notch: clamp(24px, 5vw, 72px);
  --measure: 700px;
  --ledge: 5px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--paper);
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img { display: block; }

a { color: var(--leaf-ink); font-weight: 700; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  a:hover { color: var(--leaf); }
}

:focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 10;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  background: var(--card);
  box-shadow: var(--shadow-press);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* Details still to be filled in before these pages go live. Loud on purpose. */
.fill {
  padding: 0 6px;
  border-radius: 6px;
  background: var(--sticky-butter);
  color: var(--sticky-ink);
  font-weight: 800;
  outline: 1.5px dashed var(--art-butter-edge-low);
  outline-offset: -1.5px;
}

/* ---------------------------------------------------------------- The top */

.top {
  background-color: var(--paper-sand);
  background-image: radial-gradient(var(--dot-sand) 1.5px, transparent 1.6px);
  background-size: 24px 24px;
  padding: 0 var(--gutter) calc(var(--notch) + clamp(32px, 5vw, 64px));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - var(--notch)), 0 100%);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand img { width: 36px; height: 36px; }

.bar__links { display: flex; gap: 4px; }
.bar__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 120ms ease;
}
.bar__links a[aria-current="page"] { background: var(--hover-deep); }
@media (hover: hover) {
  .bar__links a:not([aria-current="page"]):hover { background: var(--hover); }
}

.title {
  max-width: 1400px;
  margin: clamp(32px, 6vw, 88px) auto 0;
}
.title h1 {
  font-size: clamp(60px, 13vw, 190px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.92;
  font-kerning: normal;
  font-variant-ligatures: none;
}
.title__lede {
  max-width: 24em;
  margin-top: clamp(16px, 2.4vw, 32px);
  font-size: clamp(21px, 2.3vw, 34px);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}
.title__date {
  margin-top: var(--space-4);
  color: var(--ink-muted);
  font-size: 16px;
  font-weight: 700;
}

/* ---------------------------------------------------------------- The reading column */

main {
  flex: 1;
  width: 100%;
  max-width: calc(var(--measure) + var(--gutter) * 2);
  margin: 0 auto;
  padding: clamp(16px, 3vw, 40px) var(--gutter) clamp(64px, 9vw, 120px);
}

section + section { margin-top: clamp(44px, 5vw, 64px); }

h2 {
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
  scroll-margin-top: var(--space-5);
}
h3 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.012em;
  line-height: 1.25;
}
h2 + p, h2 + ul, h2 + ol, h2 + .qa { margin-top: var(--space-4); }
h3 + p { margin-top: var(--space-1); }
p + p, p + ul, ul + p { margin-top: var(--space-3); }

.points li {
  position: relative;
  padding-left: 22px;
}
.points li + li { margin-top: var(--space-3); }
.points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf);
}
.points strong { font-weight: 800; }

/* Three stickies: the whole policy, for anyone who stops here. */
.stickies {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-bottom: clamp(44px, 5vw, 64px);
}
.sticky {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  color: var(--sticky-ink);
  font-size: 17px;
  line-height: 1.35;
}
.sticky h2 {
  font-size: 23px;
  letter-spacing: -0.02em;
}
.sticky h2 + p { margin-top: var(--space-2); }
.sticky--butter { background: var(--sticky-butter); box-shadow: 0 var(--ledge) 0 var(--sticky-butter-edge); transform: rotate(-1deg); }
.sticky--mint { background: var(--sticky-mint); box-shadow: 0 var(--ledge) 0 var(--sticky-mint-edge); transform: rotate(0.6deg); }
.sticky--sky { background: var(--sticky-sky); box-shadow: 0 var(--ledge) 0 var(--sticky-sky-edge); transform: rotate(-0.4deg); }

/* The one way to reach a person. */
.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-lift);
}
.contact h2 { font-size: clamp(26px, 3vw, 32px); }
.contact h2 + p { margin-top: var(--space-2); }

/* The face goes down; the button's own box stays still, so its hit area never moves under the pointer. */
.press {
  flex: none;
  display: block;
  border-radius: var(--radius-pill);
  background: linear-gradient(transparent 50%, var(--leaf-deep) 50%);
  padding-bottom: var(--ledge);
  color: var(--on-leaf);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.012em;
  text-decoration: none;
}
.press:hover { color: var(--on-leaf); }
.press span {
  display: block;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  background: var(--leaf);
  transition: transform 120ms var(--ease-out);
}
.press:active span {
  transform: translateY(var(--ledge));
  transition-duration: 80ms;
}
@media (hover: hover) {
  .press:hover span { background: var(--leaf-hover); }
}

.contact__address { margin-top: var(--space-3); font-size: 16px; }

.steps { counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
  min-height: 36px;
}
.steps li + li { margin-top: var(--space-4); }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -1px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--leaf-tint);
  color: var(--leaf-ink);
  font-weight: 900;
}

.qa > div + div { margin-top: var(--space-5); }

/* ---------------------------------------------------------------- The end */

.end {
  margin-top: auto;
  padding: calc(var(--notch) + clamp(28px, 4vw, 48px)) var(--gutter) clamp(28px, 4vw, 48px);
  background: var(--art-leaf-deep);
  color: var(--art-paper-hi);
  clip-path: polygon(50% 0, 100% var(--notch), 100% 100%, 0 100%, 0 var(--notch));
  text-align: center;
}
.end__line {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.end__links {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: var(--space-2);
}
.end__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--art-paper-hi);
  font-size: 16px;
  font-weight: 800;
}
@media (hover: hover) and (pointer: fine) {
  .end__links a:hover { color: var(--art-butter-mid); }
}
.end :focus-visible { outline-color: var(--art-butter-mid); }
.end__small {
  color: color-mix(in srgb, var(--art-paper-hi) 78%, var(--art-leaf-deep));
  font-size: 14px;
  font-weight: 600;
}

/* Made by Gooder: the studio's own logo, small and quiet in the corner of the night, with its red dot
   kept, since the dot is how Gooder is known. */
.gooder {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 6px;
  padding: 0 6px;
  color: color-mix(in srgb, var(--art-paper-hi) 74%, var(--art-leaf-deep));
  text-decoration: none;
  transition: color 160ms var(--ease-out);
}
.gooder__by {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.gooder__logo {
  display: block;
  width: auto;
  height: 22px;
  overflow: visible;
}
.gooder__dot { fill: #f0421c; }
@media (hover: hover) and (pointer: fine) {
  .gooder:hover { color: var(--art-paper-hi); }
}

/* The smallest phones: the brand and both links share one row without pushing past the edge. */
@media (max-width: 359px) {
  .bar { gap: 8px; }
  .brand { font-size: 20px; gap: 8px; }
  .brand img { width: 30px; height: 30px; }
  .bar__links { gap: 0; }
  .bar__links a { padding: 0 10px; font-size: 15px; }
}

@media (max-width: 720px) {
  .stickies { grid-template-columns: 1fr; }
  .sticky { transform: none; }
  .contact { flex-direction: column; align-items: stretch; text-align: left; }
  .press { text-align: center; }
}
