@import url("/typography-tokens.css");

:root {
  color-scheme: dark;
  --service-background: #09090b;
  --service-mint: #9ce3cd;
  --service-text: #c3d2cd;
  --service-border: #30433d;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--service-background);
  color: var(--service-text);
  font: 1.0625rem/1.6 var(--type-ui);
}

a { color: var(--service-mint); text-underline-offset: .2em; }
a:hover { color: #e0fff4; }
a:focus-visible { outline: 2px solid var(--service-mint); outline-offset: 5px; }

.service-header, .service-page, .service-footer {
  width: min(100% - 2.5rem, 52rem);
  margin-inline: auto;
}

.service-header {
  min-height: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--service-border);
}

.service-brand {
  font: 1.4rem 'CardLab Silkscreen', monospace;
  text-decoration: none;
}

.service-page { padding-block: clamp(2rem, 7vw, 5rem); }
.service-path { display: flex; gap: .55em; flex-wrap: wrap; font-size: .9rem; }

h1, h2, dt { color: var(--service-mint); }

h1 {
  max-width: 16ch;
  margin: .35em 0;
  font: 800 clamp(3rem, 7vw, 5.5rem)/.96 'Sofia Sans Extra Condensed', system-ui, sans-serif;
  text-transform: uppercase;
}

h2 { margin: 0 0 .55em; font-size: clamp(1.35rem, 4vw, 1.75rem); line-height: 1.2; }
p { margin: 0 0 1em; }
.service-copy { max-width: 64ch; }
.service-copy > p { font-size: 1.2rem; }
.service-copy section { margin-top: 2.25rem; }
dl { margin: 0 0 1em; }
dt { font-weight: 650; }
dd { margin: 0 0 .75em; }
ol { padding-left: 1.5em; }

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 1em;
  margin-top: 1.5rem;
  padding: .75rem 1.25rem;
  border-radius: 3rem;
  background: var(--service-mint);
  color: var(--service-background);
  text-decoration: none;
  font-weight: 650;
}

.service-cta:hover { background: #e0fff4; color: var(--service-background); }

.service-footer {
  padding-block: 1.5rem 2.5rem;
  border-top: 1px solid var(--service-border);
  display: grid;
  gap: 1em;
  font-size: .95rem;
}

.service-footer nav { display: flex; flex-wrap: wrap; gap: .5em 1.25em; }
