/* Tradewind legal-page stylesheet (privacy, terms). The homepage and the
   customer story carry their own inline styles; keep this in sync with
   their tokens. Fonts are linked from each page's head (with preconnect),
   not imported here, so they don't chain behind this file. */

:root {
  --ink: #131511;
  --lime: #e4f27c;
  --ink-dim: rgba(19, 21, 17, 0.6);
  --hair: rgba(19, 21, 17, 0.1);
  --serif: "Merriweather", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #fff;
  color: var(--ink);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

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

#nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(76rem, calc(100vw - 3rem));
  margin: 0 auto;
  padding: 1.1rem 0;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font: 700 1.15rem/1 var(--sans);
  letter-spacing: -0.015em;
}

.nav-phone {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.nav-phone:hover {
  opacity: 0.6;
}

.legal {
  max-width: 680px;
  margin: 0 auto;
  padding: 60px 32px 70px;
}

.legal h1 {
  font: 300 clamp(30px, 4vw, 42px)/1.15 var(--serif);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.legal-meta {
  font: 600 12px/1.6 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 28px;
}

.legal h2 {
  font: 400 22px/1.3 var(--serif);
  margin: 34px 0 10px;
}

.legal p {
  line-height: 1.7;
  margin: 0 0 14px;
  color: var(--ink-dim);
}

.legal a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  width: min(76rem, calc(100vw - 3rem));
  margin: 0 auto;
  border-top: 1px solid var(--hair);
  padding: 1.4rem 0 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(19, 21, 17, 0.4);
}

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

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