/* Sinter Systems company site. Tokens are the identity colors in docs/brand-standards.md, with
   the same names and values as takeoff-desk/src/index.css. Fonts are self-hosted copies of the
   @fontsource files the Desk already uses (see fonts/LICENSE-*.txt and docs/provenance.md). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/fonts/inter-latin-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/inter-latin-600-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/inter-tight-latin-600-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/fonts/inter-tight-latin-700-normal.woff2) format('woff2');
}

:root {
  --carbon: #1d1c19;
  --sinter-orange: #e85d24;
  --warm-white: #f5f1ea;
  --stone: #6c6861;
  --rule: #d8d2c9;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--carbon);
  background: var(--warm-white);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; display: flex; flex-direction: column; background: var(--warm-white); line-height: 1.6; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--sinter-orange); outline-offset: 4px; }

/* The wordmark PNG has no built-in margin. Its orange dot is 40 of 706 px wide, so the brand
   rule (clear space of 1.5 dot diameters) needs at least 16.2 px around the 190 px mark and
   15.3 px around the 180 px mark; the header padding and gaps below give 18 px or more. */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  padding: 10px 14px;
  background: var(--carbon);
  color: var(--warm-white);
  font-size: 14px;
  font-weight: 600;
  z-index: 10;
}
.skip-link:focus { top: 8px; }

.site-header {
  min-height: 112px;
  padding: 18px clamp(18px, 5vw, 88px);
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
  border-bottom: 1px solid var(--rule);
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-wordmark { display: block; width: 190px; height: auto; flex: none; }

.header-nav { margin-left: auto; display: flex; gap: 24px; font-size: 13px; font-weight: 600; }
.header-nav a { text-decoration: none; padding: 10px 0; }
.header-nav a:hover { text-decoration: underline; }

main { flex: 1; width: 100%; }

.content {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px clamp(16px, 5vw, 40px) 72px;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.label {
  margin: 0 0 12px;
  color: var(--stone);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2 {
  font-family: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: -.02em;
  line-height: 1.15;
}

h1 { margin: 0; font-size: clamp(34px, 7vw, 52px); font-weight: 700; }
h2 { margin: 44px 0 12px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 22px; font-weight: 600; }
h3 { margin: 24px 0 8px; font-size: 16px; font-weight: 600; }

.emphasis { color: var(--sinter-orange); }

.lead { margin: 28px 0 0; font-size: 18px; }
.meta { margin: 16px 0 0; color: var(--stone); font-size: 14px; }

.content ul { padding-left: 22px; }
.content li + li { margin-top: 6px; }
.content a { color: var(--carbon); text-decoration-color: var(--sinter-orange); text-underline-offset: 3px; }

.notice { padding-left: 14px; border-left: 3px solid var(--sinter-orange); }

.email { user-select: text; font-weight: 600; }

.content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.content th, .content td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.content th { font-weight: 600; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 22px clamp(16px, 5vw, 88px);
  border-top: 1px solid var(--rule);
  color: var(--stone);
  font-size: 12px;
}
.site-footer a { color: var(--stone); text-underline-offset: 3px; }
.site-footer a:hover { color: var(--carbon); }

@media (max-width: 760px) {
  .site-header { min-height: 107px; }
  .brand-wordmark { width: 180px; }
  .content { padding-top: 40px; }
  .content table, .content thead, .content tbody, .content tr, .content th, .content td { display: block; }
  .content thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .content tr { padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .content td { padding: 2px 0; border: 0; }
  .content td:first-child { font-weight: 600; }
  .content td + td::before { content: attr(data-label) ": "; color: var(--stone); font-weight: 600; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 420px) {
  .site-header { flex-wrap: wrap; gap: 18px; }
}
