/* ------------------------------------------------------------------
   byRazLabs Ltd — site styles

   A nameplate on black. The mixed-case wordmark blind-embossed into a
   near-black ground, dead centre of an empty page; a quiet descriptor
   and the contact beneath it; the company links and the statutory line
   together at the foot. Committed to one dark identity — no light mode.

   Monochrome throughout: near-black ground, soft off-white ink, one
   dimmed step. No accent colour, no images, no rules, no motion.

   Single stylesheet. No external requests. No JavaScript.
   ------------------------------------------------------------------ */

/* --- Self-hosted typeface (ITF Free Font License) ------------------ */

@font-face {
  font-family: "General Sans";
  src: url("generalsans-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* --- Tokens --------------------------------------------------------
   --dim is the dimmest colour used for small text and clears 4.5:1 on
   the ground; --emboss is the wordmark tone, used only at >=24px, so
   it passes AA as large text (>=3:1). Nothing here is pure black on
   pure white — the ground is a warm-leaning near-black.
   ------------------------------------------------------------------ */

:root {
  color-scheme: dark;

  --sans: "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;

  --ground: #0a0a0b;
  --ink: #f0efec;
  --dim: #8f8c87;
  --emboss: #737376;
  --emboss-hi: rgba(255, 255, 255, 0.16);
  --emboss-lo: rgba(0, 0, 0, 0.85);
  --selection: rgba(240, 239, 236, 0.16);
}

/* --- Base ----------------------------------------------------------- */

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

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

body {
  margin: 0;
  min-height: 100dvh;
  padding: clamp(1.5rem, 5vh, 3rem) clamp(1.25rem, 6vw, 4rem);

  display: flex;
  flex-direction: column;

  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
p,
ul,
li {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--dim);
}

a:hover {
  text-decoration-color: var(--ink);
}

::selection {
  background: var(--selection);
}

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

/* Any anchored target (the skip link, or a direct link to a privacy
   section) lands a little below the top edge rather than flush against it. */
:target {
  scroll-margin-top: 1.5rem;
}

/* --- The page ------------------------------------------------------- */

.sheet {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}

/* The centre block: nameplate, descriptor, contact. */
.core {
  margin-block: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 4vh, 2.25rem);
}

/* The gesture. The wordmark pressed into the black, never below 24px
   so the ~3.9:1 emboss tone stays within AA for large text. Mixed case
   so the "Raz" in byRazLabs reads; near-zero tracking because lowercase
   is not something you letterspace. */
.wordmark {
  font-size: clamp(1.75rem, 3.6vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--emboss);
  text-shadow:
    -1px -1px 0 var(--emboss-hi),
    1px 1px 0 var(--emboss-lo);
}

a.wordmark {
  text-decoration: none;
}

/* Descriptor — a quiet tag, deliberately dimmer than the wordmark so
   the name stays the hero. */
.tag {
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--dim);
}

.mail {
  font-size: 1.0625rem;
}

/* --- Foot: company links + statutory line, pinned to the bottom ----- */

.foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.ways {
  font-size: 0.875rem;
  color: var(--dim);
}

.ways a {
  color: var(--dim);
}

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

.statutory {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

/* --- Policy page ----------------------------------------------------
   Same ground, same single weight. Top-aligned, left-set document in a
   narrow column; section labels in small caps, no rules anywhere.
   ------------------------------------------------------------------ */

.doc {
  flex: 1;
  width: 100%;
  max-width: 36rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 5vh, 2.75rem);
  text-align: left;
}

.doc .wordmark {
  font-size: 1rem;
  align-self: flex-start;
  color: var(--ink);
  text-shadow: none;
}

.title {
  font-size: clamp(1.625rem, 4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-wrap: pretty;
}

.prose .heading {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.prose .lede {
  font-size: 1.1875rem;
  line-height: 1.55;
}

.doc .statutory {
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  justify-content: space-between;
}

.doc .statutory a {
  color: var(--dim);
}

/* --- Skip link ------------------------------------------------------ */

.skip {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  transform: translateY(-130%);
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--ground);
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

/* --- Print ---------------------------------------------------------- */

@media print {
  .skip {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  .wordmark {
    color: #000;
    text-shadow: none;
  }

  a,
  .tag,
  .ways,
  .ways a,
  .statutory,
  .doc .statutory a {
    color: #000;
  }
}
