@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Syne:wght@600;700;800&display=swap");

:root {
  --ink: #101210;
  --dim: #3f463f;
  --paper: #e8ece8;
  --sheet: #f4f6f8;
  --line: #101210;
  --teal: #3b5bdb;
  --teal-deep: #2c48b8;
  --foam: #eef1f8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 1px 1px, rgba(16, 18, 24, 0.07) 1px, transparent 0) 0 0 / 18px 18px,
    var(--paper);
  font: 400 17px/1.55 "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

.top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 6vw;
  background: var(--sheet);
  border-bottom: 2px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: Syne, sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 18px;
  flex-shrink: 0;
}
.wordmark:hover { color: var(--ink); letter-spacing: -0.02em; transition: letter-spacing 0.2s ease; }
.wordmark img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 2px solid var(--line);
}
.menu-btn {
  display: none;
  appearance: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  margin: 0 -8px 0 0;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.15s ease, top 0.15s ease, background 0.15s ease;
}
.menu-btn span { top: 50%; margin-top: -1px; }
.menu-btn span::before,
.menu-btn span::after { content: ""; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.top nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 16px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
}
.top nav a { text-decoration: none; color: var(--dim); }
.top nav a:hover { color: var(--ink); }
.top nav a.extra { display: none; }
.top nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
.top > .buy { flex-shrink: 0; }

.buy {
  display: inline-block;
  background: var(--teal);
  color: #fff !important;
  text-decoration: none !important;
  padding: 9px 15px;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid var(--line);
  box-shadow: 3px 3px 0 var(--line);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.buy:hover {
  background: var(--teal-deep);
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--line);
}

/* Full-bleed homepage hero */
.hero-band {
  border-bottom: 2px solid var(--line);
  background: var(--sheet);
}
.hero-inner {
  display: grid;
  gap: 0;
  max-width: 1240px;
  margin: 0 auto;
}
@media (min-width: 980px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: min(78vh, 640px);
  }
}
.hero-copy {
  padding: 48px 6vw 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.brand-mark {
  margin: 0 0 18px;
  font-family: Syne, sans-serif;
  font-weight: 800;
  font-size: clamp(42px, 8vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--ink);
  max-width: 10ch;
  animation: brand-in 0.7s ease both;
}
@keyframes brand-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.hero-copy h1 {
  font-family: Syne, sans-serif;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0 0 14px;
  max-width: 22ch;
  color: var(--dim);
}
.hero-copy .lede {
  font-size: 17px;
  line-height: 1.5;
  color: var(--dim);
  max-width: 34em;
  margin: 0;
}
.hero-copy .cta { margin-top: 28px; }
.hero-copy .cta a:not(.buy) {
  font-weight: 600;
  color: var(--ink);
  text-underline-offset: 3px;
}

.hero-visual {
  margin: 0;
  background: var(--teal);
  border-left: 2px solid var(--line);
  padding: 36px 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
@media (max-width: 979px) {
  .hero-visual { border-left: 0; border-top: 2px solid var(--line); }
}
.hero-visual figcaption {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--foam);
  opacity: 0.9;
}

.desktop {
  background: #d5dae6;
  height: 300px;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--line);
  box-shadow: 6px 6px 0 rgba(16, 18, 16, 0.35);
}
.menubar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  background: #1d1d1f;
  color: #f2f2f7;
  font-size: 12px;
  font-weight: 500;
}
.menubar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.menubar-right img {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}
.popover {
  position: absolute;
  top: 42px;
  right: 14px;
  left: 14px;
  width: auto;
  background: #2c2c2e;
  color: #f5f5f7;
  border-radius: 10px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.08);
  animation: pop-float 4.5s ease-in-out infinite;
}
@keyframes pop-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.caret {
  position: absolute;
  top: -6px;
  right: 22px;
  width: 12px;
  height: 12px;
  background: #2c2c2e;
  transform: rotate(45deg);
}
.pop-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 10px;
}
.pop-head span { color: #a1a1a6; font-size: 11px; }
.drop {
  border: 1px dashed rgba(255,255,255,.28);
  border-radius: 8px;
  padding: 22px 12px;
  text-align: center;
  color: #a1a1a6;
  font-size: 13px;
  background: rgba(255,255,255,.04);
}
.plus { display: block; font-size: 18px; margin-bottom: 4px; color: #8e8e93; }
.pop-btn {
  width: 100%;
  margin-top: 10px;
  background: #3b5bdb;
  color: #fff;
  padding: 8px 0;
  border-radius: 6px;
  text-align: center;
  font: 600 13px/1 "DM Sans", sans-serif;
}
.quit {
  margin: 10px 0 2px;
  font-size: 11px;
  color: #636366;
}

/* Inner-page / shared content */
main,
.sheet {
  margin: 0 auto;
  padding: 40px 6vw 88px;
  max-width: 760px;
}
.sheet { max-width: 760px; }

/* Homepage sheet after hero can be wider for jobs */
body.home .sheet { max-width: 820px; }

h1 {
  font-family: Syne, sans-serif;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin: 0 0 16px;
  max-width: 16ch;
  color: var(--ink);
}
.lede {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.5;
  color: var(--dim);
  max-width: 36em;
  margin: 0;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  margin: 24px 0 8px;
}
.cta a:not(.buy) { font-weight: 600; color: var(--ink); }

h2 {
  font-family: Syne, sans-serif;
  font-size: 26px;
  letter-spacing: -0.035em;
  font-weight: 750;
  margin: 52px 0 12px;
  color: var(--ink);
}
p, li { max-width: 40em; }
ul, ol { padding-left: 1.15em; }
li { margin: 8px 0; }

.crumbs {
  font-size: 13px;
  color: var(--dim);
  margin: 0 0 18px;
  font-weight: 500;
}
.crumbs a { color: var(--dim); }

.jobs {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  max-width: none;
  display: grid;
  gap: 10px;
}
.jobs li { margin: 0; }
.jobs a {
  display: block;
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  background: var(--sheet);
  border: 2px solid var(--line);
  box-shadow: 4px 4px 0 var(--line);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.jobs a:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--line);
  color: inherit;
  background: #fff;
}
.jobs strong {
  display: block;
  font-family: Syne, sans-serif;
  font-size: 18px;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.jobs span {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--dim);
}

.facts {
  margin: 14px 0 0;
  font-size: 16px;
  max-width: none;
  background: var(--sheet);
  border: 2px solid var(--line);
}
.facts div {
  display: flex;
  gap: 16px;
  padding: 12px 16px;
  border-top: 2px solid var(--line);
}
.facts div:first-child { border-top: 0; }
.facts dt {
  flex: 0 0 6.5rem;
  font-family: Syne, sans-serif;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}
.facts dd { margin: 0; color: var(--dim); }

.faq {
  background: var(--sheet);
  border: 2px solid var(--line);
  max-width: none;
}
.faq details {
  padding: 14px 16px;
  border-top: 2px solid var(--line);
}
.faq details:first-child { border-top: 0; }
.faq summary {
  cursor: pointer;
  font-weight: 650;
  font-family: Syne, sans-serif;
  letter-spacing: -0.02em;
}
.faq summary:hover { color: var(--teal); }
.faq p { margin: 8px 0 0; color: var(--dim); }

.note { font-size: 15px; color: var(--dim); }
.note[hidden] { display: none; }
code {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.9em;
}

footer.site {
  padding: 28px 6vw 48px;
  font-size: 14px;
  color: var(--foam);
  background: var(--ink);
  border-top: 2px solid var(--line);
}
footer.site nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 12px;
}
footer.site a { color: #b8c0d6; }
footer.site a:hover { color: #fff; }

.lost { min-height: 50vh; }

@media (prefers-reduced-motion: reduce) {
  .brand-mark, .popover, .buy, .jobs a, .wordmark { animation: none; transition: none; }
}

@media (max-width: 900px) {
  .top { flex-wrap: wrap; padding: 10px 5vw; }
  .wordmark { margin-right: auto; }
  .menu-btn { display: block; order: 3; }
  .top > .buy { order: 2; }
  .top nav {
    display: none;
    order: 4;
    flex: 1 0 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 8px 0 0;
    padding: 8px 0 4px;
    border-top: 2px solid var(--line);
    font-size: 16px;
  }
  .top nav.is-open { display: flex; }
  .top nav a {
    padding: 12px 0;
    border-bottom: 1px solid #c8cedc;
    color: var(--ink);
  }
  .top nav a.extra { display: block; }
  .hero-copy { padding: 36px 5vw 40px; }
  .hero-visual { padding: 28px 5vw 36px; }
}
@media (max-width: 640px) {
  h1, .brand-mark { max-width: none; }
  .facts div { flex-direction: column; gap: 2px; }
  .facts dt { flex: none; }
  .popover { left: 12px; right: 12px; }
}
