/* Brand colours come from the Vanero logo: navy, blue, sage and gold. */
:root {
  --bg: #f8f7f3;
  --bg-tint: #eef1ea;
  --surface: #ffffff;
  --ink: #1f3a55;
  --ink-soft: #52627a;
  --line: #e1e4dc;
  --accent: #3a6286;
  --blue: #3a6286;
  --green: #83997d;
  --gold: #c9ac6f;
  /* Darker shades of green and gold for small text, to keep contrast */
  --green-ink: #56714f;
  --gold-ink: #82672f;
  --apps: var(--gold);
  --ai: var(--blue);
  --habits: var(--green);
  --radius: 18px;
  --wrap: 1120px;
  --display: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1a29;
    --bg-tint: #14212f;
    --surface: #1a2738;
    --ink: #eef1ec;
    --ink-soft: #a9b5c4;
    --line: #263447;
    --accent: #8fb0cf;
    --blue: #8fb0cf;
    --green: #a3b893;
    --gold: #d2b679;
    --green-ink: var(--green);
    --gold-ink: var(--gold);
  }
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
h1 em { display: block; font-style: normal; color: var(--accent); text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); letter-spacing: -0.025em; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

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

.eyebrow {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 38em;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

nav { display: flex; align-items: center; gap: 28px; }

nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s;
}

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

nav .nav-cta {
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 6px 16px;
  border-radius: 999px;
}

@media (max-width: 760px) {
  nav a:not(.nav-cta) { display: none; }
}

/* Hero */

.hero { padding: clamp(72px, 12vw, 140px) 0 clamp(64px, 9vw, 110px); }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.hero-mark { width: clamp(280px, 32vw, 400px); }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 2.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform 0.15s, border-color 0.15s;
}

.pill:hover { transform: translateY(-2px); border-color: var(--ink-soft); }

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-apps { background: var(--apps); }
.dot-ai { background: var(--ai); }
.dot-habits { background: var(--habits); }

/* Sections */

.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-tinted { background: var(--bg-tint); }

.section-head { max-width: 40em; margin-bottom: 3rem; }
.section-head > p:not(.eyebrow) { color: var(--ink-soft); }

#apps .eyebrow { color: var(--gold-ink); }
#ai .eyebrow { color: var(--ai); }
#coaching .eyebrow { color: var(--green-ink); }

/* Apps */

.app {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.app + .app { margin-top: clamp(64px, 9vw, 104px); }

.app-flip .app-shot { order: 2; }

.app-shot {
  margin: 0;
  padding: 10px;
  background: #172a40;
  border-radius: 26px;
  box-shadow: 0 30px 60px -30px rgba(15, 27, 45, 0.45);
}

.app-shot img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 17px;
}

.tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}

.app h3 { font-size: clamp(1.7rem, 2.8vw, 2.1rem); letter-spacing: -0.025em; }
.app-text > p:not(.tag) { color: var(--ink-soft); }

.facts { list-style: none; padding: 0; margin: 1.5rem 0 0; }

.facts li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: 0.45em;
}

.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--apps);
}

@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .app-flip .app-shot { order: 0; }
}

/* Consulting and coaching */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.split .section-head { margin-bottom: 0; }
.split-rev .section-head { order: 2; }

.offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.offer-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px 8px;
  border-left: 4px solid var(--ai);
}

#coaching .offer-list li { border-left-color: var(--habits); }

.offer-list h3 { font-size: 1.1rem; margin-bottom: 0.3em; }
.offer-list p { color: var(--ink-soft); font-size: 0.97rem; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split-rev .section-head { order: 0; }
}

/* About */

.people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.person {
  display: flex;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.avatar {
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px var(--habits);
}

.person:last-child .avatar { box-shadow: 0 0 0 4px var(--surface), 0 0 0 6px var(--ai); }

.person h3 { margin-bottom: 0.2em; }
.person .role { font-size: 0.9rem; font-weight: 500; color: var(--accent); }
.person p:last-child { color: var(--ink-soft); margin-bottom: 0; }
.person a { text-decoration-color: var(--line); text-underline-offset: 3px; }
.person a:hover { text-decoration-color: currentColor; }

@media (max-width: 860px) {
  .people { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .person { flex-direction: column; }
}

/* Contact */

.contact { text-align: center; }
.contact .lede { margin: 0 auto 2rem; }

.button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s;
}

.button:hover { transform: translateY(-2px); }

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.footer-inner p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
