/* Treetops AI. Look follows mitchell-treeves.com: matte dark background,
   fixed charcoal nav, photo hero, light wide-spaced type, blue accents. */

:root {
  --bg: #26272b;
  --bar: #282a31;
  --cover: rgba(26, 32, 44, 0.55);
  --cover-strong: rgba(26, 32, 44, 0.85);
  --ink: #ffffff;
  --muted: #cbd5e0;
  --blue: #63b3ed;
  --blue-strong: #4299e1;
  --pill: #4a5568;
  --pill-hover: #718096;
  --rule: rgba(74, 85, 104, 0.56);
  --bar-h: 56px;
  --ease: cubic-bezier(.08, .52, .52, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--bar-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

hr { border: 0; border-top: 2px solid var(--rule); margin: 0; }

.accent { color: var(--blue); font-weight: 700; }

/* Nav */
.bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--bar-h);
  background: var(--bar);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6rem;
}
.bar .name {
  color: var(--blue-strong);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.bar .name:hover { text-decoration: none; }
.bar nav { display: flex; height: 100%; }
.bar nav a {
  display: flex;
  align-items: center;
  padding: 0 20px;
  color: var(--ink);
  transition: background 0.2s var(--ease);
}
.bar nav a:hover { background: rgba(255, 255, 255, 0.06); text-decoration: none; }

/* Sections */
.scene {
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
}
.block {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 20px 4.5rem;
}
.title {
  text-align: center;
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin: 0 0 2rem;
}
.lede {
  text-align: center;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  line-height: 2;
  max-width: 760px;
  margin: 0 auto;
}

/* Landing */
.landing {
  min-height: 100vh;
  min-height: 100svh;
  background-image: linear-gradient(rgba(26, 32, 44, 0.07), rgba(26, 32, 44, 0.07)), url("/images/hero.jpg");
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: calc(var(--bar-h) + 2rem) 20px 2.5rem;
  text-align: center;
}
.landing .center { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.landing h1 {
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  margin: 0 0 0.75rem;
  line-height: 1.15;
}
.landing .hint { font-size: 0.95rem; letter-spacing: 0.1em; color: var(--muted); }

.icons { display: flex; justify-content: center; gap: 20px; padding-top: 30px; }
.icons a { color: var(--ink); display: inline-flex; transition: transform 0.2s var(--ease); }
.icons a:hover { transform: scale(1.2); }
.icons svg { width: 30px; height: 30px; }

/* About */
.about p { font-size: 1.05rem; line-height: 2; margin: 0 0 1.1rem; }
.about { max-width: 760px; margin: 0 auto; }

/* Tag pills */
.tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 0.9rem; }
.tags span {
  background: var(--pill);
  border-radius: 10px;
  padding: 0 10px;
  font-size: 0.95rem;
  line-height: 2;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.tags span:hover { transform: scale(1.05); background: var(--pill-hover); }
.tags.center { justify-content: center; }

/* Service and app lists */
.list { display: grid; gap: 2.25rem; }
.item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0;
  line-height: 1.4;
}
.item .meta { color: var(--muted); font-size: 0.95rem; margin: 0.15rem 0 0.6rem; }
.item p { margin: 0 0 0.4rem; line-height: 2; }
.item .links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 0.6rem; }

.columns { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Contact */
.contact {
  background-image: linear-gradient(var(--cover), var(--cover)), url("/images/horizon.jpg");
  background-position: top;
}
.contact .rows { display: grid; justify-items: center; gap: 6px; margin-top: 1.5rem; }
.contact .row { display: flex; align-items: center; gap: 10px; }
.contact .row svg { width: 15px; height: 15px; }

/* Footer */
footer {
  background: var(--bar);
  color: var(--muted);
  font-size: 0.9rem;
  padding: 1.5rem 6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
footer nav { display: flex; gap: 20px; }
footer a { color: var(--muted); }

/* Policy pages */
.doc { padding-top: calc(var(--bar-h) + 1rem); }
.doc .block { max-width: 760px; }
.doc .title { margin-bottom: 0.5rem; }
.doc .updated { text-align: center; color: var(--muted); margin: 0 0 2.5rem; }
.doc h2 { font-size: 1.35rem; font-weight: 700; margin: 2.25rem 0 0.5rem; }
.doc p, .doc li { line-height: 2; }
.doc ul { padding-left: 1.3rem; }

@media (max-width: 760px) {
  .bar, footer { padding-left: 1.5rem; padding-right: 1.5rem; }
  .bar nav a { padding: 0 10px; font-size: 0.95rem; }
  .bar nav .wide { display: none; }
  .title { font-size: 2.4rem; }
  .lede { font-size: 1.1rem; }
  .landing { background-image: linear-gradient(var(--cover), var(--cover)), url("/images/hero.jpg"); }
}
