/* ------------------------------------------------------------------
   Let's Tech — shared styles for standalone document pages
   (privacy policies, 404). Same tokens as the main site so these read
   as part of it, but tuned for long-form reading rather than a hero.
   Single-theme dark by intent, every colour painted explicitly.
   ------------------------------------------------------------------ */
:root {
  --cyan:   #74E0EF;
  --sky:    #75BAF4;
  --blue:   #788FFA;
  --violet: #7A63FF;

  --ink:      #080A11;
  --ink-2:    #0D1019;
  --raised:   #141826;
  --line:     #232A3D;
  --line-soft:#1A2032;

  --text:  #E9ECF6;
  --dim:   #A9B1C7;
  --faint: #767E99;

  --ramp: linear-gradient(100deg, var(--cyan), var(--sky) 34%, var(--blue) 66%, var(--violet));

  --f-display: "Jost", "Century Gothic", "Futura", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(.22,.68,.28,1);
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  /* respects the iPhone notch when opened in an in-app Safari view */
  padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.wrap {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  padding-inline: clamp(20px, 6vw, 36px);
}

a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: var(--sky); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ---- masthead ---- */
.doc-nav {
  border-bottom: 1px solid var(--line-soft);
  padding-block: 20px;
}
.doc-nav .wrap { display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 28px; height: 28px; display: block; }
.brand span { font-family: var(--f-display); font-size: 1.18rem; font-weight: 400; }
.doc-nav .back {
  margin-left: auto;
  font-size: 0.9rem;
  color: var(--dim);
  text-decoration: none;
}
.doc-nav .back:hover { color: var(--cyan); }

/* ---- document ---- */
.doc { padding-block: clamp(40px, 8vh, 68px) 40px; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--ramp);
  flex: none;
}

h1 {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2rem, 5.4vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.24rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin: 44px 0 0;
  text-wrap: balance;
}
h2 .n {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--blue);
  margin-right: 10px;
  letter-spacing: 0.06em;
}

p { margin: 14px 0 0; color: var(--dim); }
p strong, li strong { color: var(--text); font-weight: 500; }

.effective {
  font-family: var(--f-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 18px;
}
.effective b { color: var(--dim); font-weight: 500; }

ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
li { display: flex; gap: 12px; color: var(--dim); }
li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--sky);
  flex: none;
  margin-top: 11px;
}

.lead { font-size: 1.06rem; color: var(--dim); margin-top: 22px; }

/* Pull-quote for the load-bearing guarantees in a policy — the lines a
   reader should still remember after skimming. Brand rule on the left,
   display face, full-strength text instead of the muted body colour. */
.quote {
  position: relative;
  margin: 24px 0 0;
  padding: 4px 0 4px 24px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 1.16rem;
  line-height: 1.52;
  letter-spacing: -0.005em;
  color: var(--text);
}
.quote::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--blue) 55%, var(--violet));
}

.callout {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink-2);
  padding: 18px 20px;
}
.callout p { margin: 0; font-size: 0.96rem; }
.callout p + p { margin-top: 10px; }

hr {
  border: 0;
  border-top: 1px solid var(--line-soft);
  margin: 46px 0 0;
}

/* ---- footer ---- */
.doc-foot {
  border-top: 1px solid var(--line-soft);
  margin-top: 56px;
  padding-block: 28px 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  font-size: 0.86rem;
  color: var(--faint);
}
.doc-foot nav { display: flex; gap: 20px; flex-wrap: wrap; margin-right: auto; }
.doc-foot a { color: var(--faint); text-decoration: none; }
.doc-foot a:hover { color: var(--cyan); }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
