/* Noise Shield site: Nothing-style dot matrix on Apple-style glass. */
@font-face {
  font-family: "Doto";
  src: url("Doto.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #08080a;
  --ink: #f5f5f7;
  --muted: #a1a1a8;
  --faint: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.14);
  --red: #d71921;
  --dot: rgba(255, 255, 255, 0.07);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #ededed;
    --ink: #0a0a0a;
    --muted: #55555c;
    --faint: rgba(0, 0, 0, 0.08);
    --glass: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.95);
    --dot: rgba(0, 0, 0, 0.08);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: 18px 18px;
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

/* blurred red glow, like the app background */
body::before {
  content: "";
  position: fixed;
  inset: -20vmax auto auto -20vmax;
  width: 70vmax;
  height: 70vmax;
  background: radial-gradient(circle, rgba(215, 25, 33, 0.45), transparent 62%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
}

a { color: inherit; }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.dot-type {
  font-family: "Doto", ui-monospace, monospace;
  font-weight: 900;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

/* header */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  margin-left: 20px;
  font-size: 15px;
}

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

/* hero */
.hero {
  padding: 56px 0 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(40px, 6.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 14px 0 18px;
}

.hero h1 .accent { color: var(--red); }

.hero p.lead {
  font-size: 20px;
  color: var(--muted);
  max-width: 34ch;
  margin: 0 0 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.hero-shot {
  justify-self: center;
  width: min(100%, 340px);
  border-radius: 32px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 80px rgba(215, 25, 33, 0.25);
}

/* features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 24px 0 56px;
}

.feature { padding: 24px; }

.feature .num {
  font-size: 40px;
  line-height: 1;
  color: var(--red);
}

.feature h3 {
  margin: 14px 0 6px;
  font-size: 20px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-bottom: 56px;
}

.gallery img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
}

/* honest note + privacy strip */
.strip {
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.strip h3 { margin: 8px 0 6px; }
.strip p { margin: 0; color: var(--muted); }

/* document pages */
.doc {
  padding: 32px;
  margin: 24px 0 56px;
}

.doc h1 {
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.02em;
  margin: 10px 0 6px;
}

.doc h2 {
  font-size: 22px;
  margin: 36px 0 8px;
}

.doc p, .doc li { color: var(--ink); }
.doc .meta { color: var(--muted); margin-bottom: 8px; }

.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 15px;
}

.doc th, .doc td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--faint);
}

.doc th { color: var(--muted); font-weight: 600; }

.doc .callout {
  border-left: 3px solid var(--red);
  padding: 12px 16px;
  background: var(--faint);
  border-radius: 0 12px 12px 0;
  margin: 16px 0;
}

footer {
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  border-top: 1px solid var(--faint);
}

footer a { color: var(--muted); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: 1fr; }
  .nav-links a { margin-left: 14px; }
  .hero p.lead { font-size: 18px; }
  .pill { font-size: 16px; padding: 13px 20px; }
  .doc { padding: 20px; }
  .doc table { font-size: 14px; }
}
