@font-face {
  font-family: "KenneyFuture";
  src: url("fonts/KenneyFuture.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #071426;
  --bg-2: #0b2138;
  --card: #0e253e;
  --line: rgba(255, 209, 102, 0.22);
  --accent: #ffd166;
  --teal: #06d6a0;
  --text: #e9f1f7;
  --muted: #a9bfd0;
  --radius: 18px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(255, 209, 102, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  min-height: 100vh;
}

a { color: var(--teal); }
a:hover { color: var(--accent); }

/* height:auto keeps the width/height attributes from forcing a fixed 1080px height */
img { max-width: 100%; height: auto; display: block; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 20, 38, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: "KenneyFuture", sans-serif;
  letter-spacing: 0.04em;
  font-size: 18px;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 22px; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }

/* Hero */
.hero {
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  margin: 0 0 12px;
}
h1, h2, h3 { line-height: 1.2; }
.display {
  font-family: "KenneyFuture", sans-serif;
  color: var(--accent);
  font-weight: normal;
  font-size: clamp(38px, 6vw, 64px);
  letter-spacing: 0.03em;
  margin: 0;
}
.display small {
  display: block;
  color: var(--text);
  font-size: 0.42em;
  letter-spacing: 0.16em;
  margin-top: 10px;
}
.lead {
  color: var(--muted);
  font-size: 19px;
  max-width: 34em;
  margin: 22px 0 30px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 14px;
  background: var(--accent);
  color: #071426;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.btn:hover { color: #071426; transform: translateY(-2px); }
.btn svg { width: 22px; height: 22px; }
.btn-note { display: block; color: var(--muted); font-size: 14px; margin-top: 12px; }

.hero-shot {
  justify-self: center;
  width: min(300px, 80vw);
  border-radius: 34px;
  border: 6px solid #13304f;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--line);
  overflow: hidden;
  transform: rotate(2deg);
}

/* Sections */
section { padding: 56px 0; }
.section-title {
  font-family: "KenneyFuture", sans-serif;
  font-weight: normal;
  color: var(--accent);
  font-size: clamp(24px, 3.4vw, 32px);
  letter-spacing: 0.03em;
  margin: 0 0 28px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.feature h3 { margin: 0 0 8px; font-size: 18px; color: var(--text); }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }
.feature .dot {
  width: 12px; height: 12px; border-radius: 50%;
  margin-bottom: 14px;
}

.shots {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.shots img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 2;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  background: var(--card);
}

/* Document pages (privacy) */
.doc {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 20px 72px;
}
.doc h1 {
  font-family: "KenneyFuture", sans-serif;
  font-weight: normal;
  color: var(--accent);
  font-size: clamp(28px, 4.5vw, 40px);
  letter-spacing: 0.03em;
  margin: 0 0 12px;
}
.doc .meta { color: var(--muted); font-size: 15px; margin: 0 0 36px; }
.doc h2 {
  color: var(--accent);
  font-size: 21px;
  margin: 40px 0 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.doc h3 { font-size: 17px; margin: 22px 0 6px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc code {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  padding: 1px 6px;
  font-size: 0.92em;
}
.doc .summary {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 12px;
  padding: 16px 20px;
}
.doc .summary ul { margin: 6px 0 0; }
.table-wrap { overflow-x: auto; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.doc th, .doc td {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  padding: 10px 10px 10px 0;
}
.doc th { color: var(--accent); font-weight: 600; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
.site-footer nav { display: flex; gap: 18px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; gap: 36px; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-shot { transform: none; }
  .features { grid-template-columns: 1fr; }
  .nav { gap: 16px; }
  /* Swipeable row on phones, without a visible scrollbar */
  .shots {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 46%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin: 0 -20px;
    padding: 0 20px 8px;
    scroll-padding: 0 20px;
  }
  .shots::-webkit-scrollbar { display: none; }
  .shots img { scroll-snap-align: start; }
}

@media (min-width: 821px) and (max-width: 1000px) {
  .shots { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .brand span { display: none; }
  .shots { margin: 0 -16px; padding: 0 16px 8px; scroll-padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
