/* zuzu.ai · what every page shares: type, colour, nav, headline, button and footer. */
@font-face {
  font-family: "Geist";
  src: url("assets/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ground: #f5f5f7;
  --surface: #ffffff;
  --line: #e8e8ed;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --ink: #1d1d1f;
  --ink-hover: #2c2c2e;
  --paper: #f5f5f7;
  --from-chatgpt: #171717;
  --from-chatgpt-tint: #f1f1ef;
  --from-claude: #d97757;
  --from-claude-tint: #fbf1ec;
  --from-muse: #0064e0;
  --from-muse-tint: #eef5ff;
  --error: #b3261e;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04), 0 16px 48px rgba(0, 0, 0, 0.06);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  overflow-wrap: anywhere;
}
h1,
h2,
h3,
p,
ul {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
img,
svg {
  display: block;
  flex-shrink: 0;
}
a {
  color: inherit;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: 999px;
}
.nw-skip {
  position: absolute;
  top: 8px;
  left: 16px;
  z-index: 2;
  padding: 12px 20px;
  background: var(--surface);
  border-radius: 999px;
  transform: translateY(-180%);
}
.nw-skip:focus {
  transform: none;
}
.nw-icons {
  position: absolute;
  width: 0;
  height: 0;
}

/* The home page's glow runs wider than the column; the page clips it at the viewport. */
.nw-page {
  overflow-x: clip;
}
.nw-nav,
.nw-main,
.foot .wrap {
  width: min(960px, calc(100% - 40px));
  margin-inline: auto;
}

/* Nav */
.nw-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
}
.nw-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  text-decoration: none;
}
.nw-brand img {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}
.nw-login {
  display: flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  background: var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 120ms;
}
.nw-login:hover {
  background: #dddde3;
}

.nw-main {
  display: flex;
  flex-direction: column;
  gap: 72px;
  padding: 88px 0 72px;
}

/* Headline and button */
.nw-hero {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.nw-h1 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
  font-weight: inherit;
}
.nw-h1-lead {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 60px;
}
.nw-h1-rest {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 38px;
  color: var(--text-2);
  text-wrap: balance;
}
.nw-btn {
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: none;
  height: 48px;
  padding: 0 22px;
  border: 0;
  background: var(--ink);
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--paper);
  cursor: pointer;
  transition: background-color 120ms;
}
.nw-btn:hover {
  background: var(--ink-hover);
}
.nw-bar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 14px;
  border-right: 1px solid var(--line);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 20px;
}

/* Footer */
.foot {
  padding: 48px 0 32px;
  font-size: 15px;
  line-height: 22px;
}
.foot a {
  text-decoration: none;
}
.foot-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 40px;
}
.foot-connect {
  display: flex;
  align-items: center;
  gap: 8px;
}
.foot-tool {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  transition:
    background-color 120ms,
    color 120ms;
}
.foot-tool:hover {
  background: var(--line);
  color: var(--text);
}
.foot-tool svg {
  width: 16px;
  height: 16px;
}
.foot nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 14px;
}
.foot nav a:hover {
  text-decoration: underline;
}

/* Phone */
@media (max-width: 720px) {
  .nw-nav {
    padding-top: 16px;
  }
  .nw-brand {
    gap: 8px;
    font-size: 20px;
  }
  .nw-brand img {
    width: 26px;
    height: 26px;
  }
  .nw-main {
    gap: 44px;
    padding: 48px 0 44px;
  }
  .nw-hero {
    gap: 24px;
  }
  .nw-h1 {
    gap: 8px;
  }
  .nw-h1-lead {
    /* Sized to keep the line whole on a phone. */
    font-size: min(31px, 8.2vw);
    letter-spacing: -0.045em;
    line-height: 1.2;
  }
  .nw-h1-rest {
    font-size: 22px;
    letter-spacing: -0.025em;
    line-height: 28px;
  }
  .nw-btn {
    width: 100%;
    height: 52px;
  }
  .nw-bar-brand {
    padding-right: 0;
    border-right: 0;
    font-size: 16px;
  }
  .nw-bar-brand img {
    width: 24px;
    height: 24px;
  }
  .foot {
    padding: 40px 0 28px;
  }
  .foot-tool {
    width: 32px;
    height: 32px;
  }
}

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