/* yetilabs.dk — one page, no scripts. Light family look shared with Yeti Systems. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --page: #dde1ea;
  --card: #ffffff;
  --ink: #14181f;
  --ink-soft: #4a5263;
  --ink-faint: #5b6478;
  --line: #b9c0cf;
  --hero: #17181a;
  --hero-text: #c4c8d2;

  /* one accent for icons, links and focus rings */
  --accent: #1a3fa0;

  --radius: 1rem;
  --wrap: 68rem;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.6;
}

a { color: inherit; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- header ---- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.logo img { width: 3rem; height: 3rem; display: block; }
.logo-name {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.logo-name span { display: block; color: var(--ink-faint); }
.header-mail { color: var(--ink-soft); font-size: 0.9375rem; text-decoration: none; }
.header-mail:hover { color: var(--ink); text-decoration: underline; }

/* ---- hero ---- */
.hero {
  background: var(--hero);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 3rem);
}
.hero h1 {
  margin: 0 0 0.625rem;
  font-weight: 700;
  font-size: clamp(1.75rem, 4.2vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.hero p {
  margin: 0;
  max-width: 46rem;
  color: var(--hero-text);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
}

/* ---- sections ---- */
section { margin-top: clamp(2.5rem, 6vw, 4rem); }
.eyebrow {
  margin: 0 0 0.25rem;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h2 {
  margin: 0;
  padding-bottom: 0.875rem;
  border-bottom: 2px solid var(--ink);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.125rem);
  line-height: 1.2;
}

/* ---- brand cards ---- */
.brands {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.brand {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.brand-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.icon {
  flex: none;
  width: 2rem;
  height: 2rem;
  color: var(--accent);
}
.icon svg { width: 100%; height: 100%; display: block; }
.brand h3 { margin: 0; font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
.brand p { margin: 0 0 1.25rem; color: var(--ink-soft); }
.brand-foot { margin-top: auto; }
.brand-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.brand-link:hover { text-decoration: underline; }
.brand-link::after { content: " \2192"; }
.soon {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 2rem;
  padding: 0.125rem 0.75rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

/* ---- company details ---- */
.details {
  margin: 1.5rem 0 0;
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.details div { min-width: 0; }
.details dt { color: var(--ink-faint); font-size: 0.875rem; margin-bottom: 0.25rem; }
.details dd { margin: 0; overflow-wrap: anywhere; }
.details a { text-decoration: underline; text-underline-offset: 0.15em; }

/* ---- footer ---- */
.site-footer {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: 1.5rem 0 2.5rem;
  color: var(--ink-faint);
  font-size: 0.875rem;
  text-align: center;
}

/* ---- tablets and phones ---- */
@media (max-width: 699px) {
  .wrap { padding: 0 1rem; }
  .brands { grid-template-columns: minmax(0, 1fr); }
  .details { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .header-mail { font-size: 0.875rem; }
}
@media (max-width: 379px) {
  .header-mail { display: none; }
}
