:root {
  --navy: #0b3d3c; --amber: #ff6b5e;
  --bg: #fbfaf7; --text: #1d1e26; --muted: #5d6072; --card: #fff; --line: #e4e2dc; --link: #0b6564;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0c1f1f; --text: #eeeef4; --muted: #a9acc2; --card: #123333; --line: #1f4a49; --link: #ff9d94; }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-underline-offset: 3px; }
.top, main, .bottom { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; }
.brand img { border-radius: 9px; }
nav a { margin-left: 20px; color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--text); }
nav a.here { color: var(--text); font-weight: 700; }

h1, h2, h3 { line-height: 1.2; text-wrap: balance; }
h2 { margin-top: 2.2em; font-size: 1.4rem; }
p, li { text-wrap: pretty; }

.hero { padding: 56px 0 40px; text-align: center; }
.hero img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 12px 32px rgba(14, 124, 123, .3); }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin: 28px 0 12px; letter-spacing: -.02em; }
.hero p { font-size: 1.25rem; color: var(--muted); max-width: 34em; margin: 0 auto 28px; }
.cta { display: inline-block; padding: 14px 26px; border-radius: 999px; background: var(--amber); color: #fff;
  font-weight: 700; text-decoration: none; }
.cta.soon { background: transparent; color: var(--muted); border: 1.5px dashed var(--line); font-weight: 600; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding: 0; list-style: none; }
.grid li, .calls { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.grid h3 { margin: 0 0 6px; font-size: 1.05rem; }
.grid p { margin: 0; color: var(--muted); }

.calls { margin-top: 16px; }
.calls p:first-child { margin-top: 0; }
table { width: 100%; border-collapse: collapse; margin: 1em 0; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.wide-table { overflow-x: auto; }

.prose { max-width: 720px; padding-top: 24px; padding-bottom: 24px; }
.prose h1 { font-size: 2rem; }

.bottom { margin-top: 64px; padding-top: 24px; padding-bottom: 48px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .9rem; }

/* On a phone, a three-column table is unreadable: stack each row's cells instead. */
@media (max-width: 560px) {
  .prose thead { display: none; }
  .prose table, .prose tbody, .prose tr, .prose td { display: block; }
  .prose tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .prose td { border: 0; padding: 2px 0; }
}

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 20px; padding: 0; list-style: none; }
.shots img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); display: block; }
.shots h3 { margin: 12px 0 2px; font-size: 1.05rem; }
.shots p { margin: 0; color: var(--muted); }
/* On a phone the screenshots are a carousel: one at a time, sized so the picture and the row of dots under it
   fit on the screen together, which is what shows there is more to swipe to. */
.dots { display: none; }
@media (max-width: 560px) {
  .shots { display: flex; gap: 48px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .shots::-webkit-scrollbar { display: none; }
  .shots li { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always;
    display: flex; flex-direction: column; align-items: center; text-align: center; }
  .shots h3 { order: 1; margin: 0 0 2px; }
  .shots p { order: 2; margin: 0 0 12px; min-height: 3.2em; }
  .shots img { order: 3; width: auto; max-width: 100%; height: 64vh; height: 64svh; border-radius: 14px; }
  /* The bold link in the header already says which page this is. */
  .shots-title { display: none; }
  .dots { display: flex; justify-content: center; gap: 4px; margin-top: 6px; }
  /* Each dot is a 32px target with a 10px dot drawn in the middle. */
  .dots button { width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; }
  .dots button::before { content: ""; display: block; width: 10px; height: 10px; margin: auto; border-radius: 50%;
    background: var(--line); }
  .dots button[aria-selected="true"]::before { background: var(--text); }
  /* The header's links don't fit beside the name: put them on their own line. */
  .top { flex-wrap: wrap; row-gap: 8px; }
  nav a { margin: 0 18px 0 0; }
}
.note { color: var(--muted); font-size: .9rem; margin-top: 24px; }
