@font-face {
  font-family: Instrument Serif;
  src: url('/company-media/instrument-serif.woff2') format('woff2');
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #070707;
  --white: #f5ebd8;
  --muted: #c7bbab;
  --gold: #d7aa57;
  --line: #d7aa5738;
  font-family: system-ui, sans-serif;
  background: var(--ink);
  color: var(--white);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 50% top, #20170d, var(--ink) 37rem);
}

a {
  color: var(--gold);
  text-underline-offset: .21em;
}

a:hover { color: #f7cf85; }
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: .28rem;
}

.terms-header,
.terms-footer {
  padding-inline: clamp(1.25rem, 6vw, 6rem);
}

.terms-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  min-height: 4.5rem;
  border-bottom: 1px solid var(--line);
}

.terms-brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font: 1.45rem 'Instrument Serif', Georgia, serif;
  color: var(--white);
  text-decoration: none;
}

.terms-brand img { flex: none; }
.terms-home {
  display: inline-block;
  padding-block: .75rem;
}

.terms-main {
  width: min(100% - 2.5rem, 47rem);
  margin-inline: auto;
  padding-block: clamp(3.25rem, 8vw, 7rem);
}

.terms-main h1,
.terms-main h2 {
  margin: 0;
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
}

.terms-main h1 {
  color: var(--gold);
  font-size: clamp(2.45rem, 6.5vw, 4.4rem);
  line-height: 1.07;
  letter-spacing: -.035em;
}

.terms-intro { font-size: 1.15rem; }
.terms-main p,
.terms-main address {
  margin: .75rem 0 0;
  color: var(--muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.terms-main address { font-style: normal; }
.terms-main section {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.terms-main h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); }

.company-number { font-variant-numeric: tabular-nums; }

.terms-footer {
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}
