:root {
  --bg: #ffffff;
  --bg-subtle: #f5f5f7;
  --border: #e1e1e5;
  --text: #1b1b1f;
  --muted: #61616b;
  --brand: #2b6cb0;
  --brand-hover: #245c96;
  --link: #2b6cb0;
  --radius: 8px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1a1e;
    --bg-subtle: #212127;
    --border: #37373f;
    --text: #f3f3f5;
    --muted: #a5a5b0;
    --link: #8fbcec;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

a {
  color: var(--link);
  text-underline-offset: 0.15em;
}

a:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  max-width: 20ch;
}

h2 {
  font-size: 1.6rem;
  font-weight: 650;
}

h3 {
  font-size: 1.05rem;
  font-weight: 650;
}

p,
ul {
  margin: 0 0 1em;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: var(--bg-subtle);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.prose {
  max-width: 64ch;
}

.muted {
  color: var(--muted);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--bg);
  padding: 0.5rem 0.75rem;
  z-index: 1;
}

/* Header */
.top {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.1rem 0;
}

.top .brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
  font-weight: 650;
  color: var(--text);
  text-decoration: none;
}

.top .brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.top nav {
  display: flex;
  gap: 1.25rem;
}

.top nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}

.top nav a:hover,
.top nav a[aria-current] {
  text-decoration: underline;
}

/* Hero */
.hero {
  padding: 4rem 0 3rem;
}

.hero .lead {
  font-size: 1.2rem;
  max-width: 54ch;
  margin-top: 1.25rem;
}

.cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.cta p {
  margin: 0;
}

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius);
  text-decoration: none;
}

.btn:hover {
  background: var(--brand-hover);
}

/* Sections */
.section {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.section > .wrap > p:first-of-type {
  max-width: 64ch;
}

/* The standup day */
.day {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  max-width: 72ch;
}

.day li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}

.day li:last-child {
  border-bottom: 1px solid var(--border);
}

.day time {
  display: block;
  font-size: 1.6rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--link);
}

.day .where {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

.day p {
  margin: 0;
}

.footnote {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 64ch;
  margin-top: 1rem;
}

/* Feature and FAQ lists */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 3rem;
  margin-top: 1.5rem;
}

.grid h3 {
  margin-bottom: 0.25em;
}

.grid p {
  margin: 0;
}

/* Screenshots */
.shot {
  margin: 2rem 0 0;
  max-width: 900px;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.shot figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.6rem;
}

.shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.shots .shot {
  max-width: none;
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
}

table {
  border-collapse: collapse;
  width: 100%;
  max-width: 840px;
  font-size: 0.98rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 1.25rem 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

th {
  font-weight: 650;
}

thead th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.plan {
  border-top: 2px solid var(--text);
  padding-top: 1rem;
}

.plan h2 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.plan .price {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin: 0;
}

.plan .per {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0.45rem 0 1rem;
}

.plan ul {
  padding-left: 1.1rem;
  margin: 0;
}

.plan li {
  margin: 0.35rem 0;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.92rem;
}

footer .row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
}

footer .row p {
  margin: 0;
  margin-right: auto;
}

footer a {
  color: inherit;
}

@media (max-width: 760px) {
  .plans,
  .grid,
  .shots {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 2.5rem 0 2rem;
  }
}

@media (max-width: 560px) {
  .day li {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .day .where {
    display: inline;
    margin-left: 0.5rem;
  }
}
