/* ============================================================
   BECON INDUSTRIES — document pages
   Concrete · Gunmetal · Cyan signal

   The landing page's `styles.css` is built for cards, rails and
   video scrims; a legal page is one column of prose somebody may
   have to read carefully, possibly on a phone, possibly because a
   reviewer asked them to. Same tokens, different furniture.

   Deliberately self-contained apart from the fonts: these URLs are
   registered with Google and Intuit as this product's privacy and
   terms pages, so they must render even if the marketing site's
   stylesheet is rebuilt around them.
   ============================================================ */

@font-face {
  font-family: "Eurostile Ext";
  src: url("../fonts/EurostileExtendedBlack.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  /* concrete / void */
  --void: #0a0b0c;
  --concrete-d: #16181b;
  --concrete: #1d2024;
  --concrete-l: #2a2e33;

  /* metal */
  --steel-d: #3a4046;
  --steel: #6b7178;
  --steel-l: #aeb4ba;
  --steel-hi: #d6dadd;

  /* signal */
  --cyan: #3fcadd;
  --cyan-dim: #2a8a99;
  --cyan-glow: rgba(63, 202, 221, 0.45);

  /* type */
  --ink: #d8dcde;
  --ink-dim: #8b9197;
  --ink-faint: #5a6168;

  --font: "Saira", system-ui, sans-serif;
  --font-cond: "Saira Condensed", "Saira", sans-serif;
  --font-display: "Eurostile Ext", "Saira", system-ui, sans-serif;

  --measure: 46rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-weight: 300;
  background: var(--void);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

/* Concrete base, same gradient as the landing page so the two feel
   like one property when somebody arrives here from a consent screen. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(120% 80% at 50% -10%, #23272c 0%, #141619 45%, #0a0b0c 100%);
}

::selection { background: var(--cyan-dim); color: #03161a; }

.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.vignette {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(130% 100% at 50% 40%, transparent 55%, rgba(0,0,0,0.6) 100%);
}

/* ---------- Head ---------- */

.head {
  display: flex; align-items: baseline; gap: 1.25rem; flex-wrap: wrap;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2.25rem 1.5rem 0;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.30em;
  color: var(--steel-hi);
  text-decoration: none;
}
.wordmark:hover { color: var(--cyan); }

.crumbs {
  font-family: var(--font-cond);
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink-faint);
  display: flex; gap: .6rem;
}
.crumbs a { color: var(--ink-faint); text-decoration: none; }
.crumbs a:hover { color: var(--steel-l); }
.crumbs .here { color: var(--cyan-dim); }

/* ---------- Document ---------- */

.doc {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  font-size: 1rem;
  line-height: 1.7;
}

.eyebrow {
  font-family: var(--font-cond);
  font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--cyan-dim);
  margin-bottom: .9rem;
}

h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: 0.04em;
  color: var(--steel-hi);
}

.sub {
  font-family: var(--font-cond);
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: .9rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.lede {
  font-size: 1.12rem;
  color: var(--steel-l);
  margin: 2rem 0 .5rem;
}

/* A cyan hairline to the left of every section mark — the signal
   colour used as punctuation rather than decoration, so scanning for
   "where does the next part start" costs nothing. */
h2 {
  font-family: var(--font-cond);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel-hi);
  margin: 3.2rem 0 1rem;
  padding-left: .9rem;
  border-left: 2px solid var(--cyan-dim);
}

h3 {
  font-family: var(--font-cond);
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 2rem 0 .7rem;
}

p { margin: 0 0 1rem; }
strong { color: var(--steel-hi); font-weight: 600; }
em { color: var(--steel-l); font-style: italic; }

ul { margin: 0 0 1.2rem; padding-left: 1.1rem; list-style: none; }
li { position: relative; margin: .55rem 0; padding-left: .5rem; }
/* Square bullets. The mark is clamp modules; nothing here is round. */
li::before {
  content: "";
  position: absolute; left: -0.75rem; top: 0.66em;
  width: 5px; height: 5px;
  background: var(--steel-d);
}

a { color: var(--cyan); text-decoration: none; border-bottom: 1px solid rgba(63,202,221,0.35); }
a:hover { color: var(--cyan); border-bottom-color: var(--cyan); }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .84em;
  color: var(--cyan);
  background: rgba(63,202,221,0.07);
  border: 1px solid rgba(63,202,221,0.16);
  padding: .1em .4em;
  border-radius: 2px;
  overflow-wrap: anywhere;
}

/* ---------- Scope table ----------
   A definition list rather than prose, because a reviewer is looking
   for exactly two things: which permission, and what it is for. */
.scopes {
  margin: 0 0 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.scopes dt {
  padding-top: 1rem;
}
.scopes dd {
  margin: .5rem 0 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: var(--steel-l);
}

/* ---------- The Limited Use affirmation ----------
   Boxed because it is a statement Google looks for, and because it is
   a promise rather than a description. */
.affirm {
  margin: 1.8rem 0 .5rem;
  padding: 1.1rem 1.25rem;
  background: rgba(63,202,221,0.05);
  border: 1px solid rgba(63,202,221,0.22);
  color: var(--steel-l);
  font-size: .96rem;
}

.contact { color: var(--steel-l); }

/* ---------- Foot ---------- */

.foot {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-family: var(--font-cond);
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-faint);
  display: flex; gap: .8rem; flex-wrap: wrap;
}
.foot a { color: var(--ink-faint); border-bottom: none; }
.foot a:hover { color: var(--cyan); }

@media (max-width: 34rem) {
  .doc { font-size: .96rem; padding-top: 2rem; }
  h2 { margin-top: 2.4rem; letter-spacing: 0.16em; }
}

/* Print, because somebody's lawyer will. */
@media print {
  body { background: #fff; color: #111; }
  body::before, .grain, .vignette { display: none; }
  .head, .foot { display: none; }
  h1, h2, h3, strong { color: #000; }
  a { color: #00506b; border: none; }
  .affirm { border-color: #999; background: none; }
  .doc { max-width: none; }
}
