:root {
  --bg: #0b0e1a;
  --surface: #161a2a;
  --primary: #801fe0;
  --secondary: #00ccd0;
  --text: #ffffff;
  --muted: #b0b0b0;
  --divider: #2a2f42;
  --max-width: 720px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--divider);
  padding: 20px 24px;
}

.site-header nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.wordmark {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-right: auto;
}

.site-header nav a:not(.wordmark) {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}

.site-header nav a:not(.wordmark):hover,
.site-header nav a[aria-current="page"] {
  color: var(--text);
}

/* Layout */

main {
  flex: 1;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

/* The landing page needs room for the copy and screenshots side by side.
   Legal pages stay narrow, where long lines are harder to read. */
main.wide {
  max-width: 1080px;
}

/* Cards can use the full width, but a paragraph stretched that far is hard
   to read, so prose keeps a sane line length. */
main.wide > h2,
main.wide > p {
  max-width: 34em;
}

h1 {
  font-size: clamp(28px, 6vw, 38px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
}

h2 {
  font-size: 21px;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}

h3 {
  font-size: 17px;
  margin: 24px 0 8px;
}

p,
ul,
ol {
  margin-bottom: 16px;
}

ul,
ol {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--secondary);
}

.updated {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 32px;
}

strong {
  color: var(--text);
}

/* Hero with the screenshots alongside the copy */

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: 56px;
  padding: 40px 0 64px;
}

.hero-copy h1 {
  font-size: clamp(32px, 4.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero-copy p {
  color: var(--muted);
  font-size: 19px;
  margin: 0;
}

.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  /* Brand glow sits behind the group, not each card, so the three read as one. */
  filter: drop-shadow(0 24px 60px rgba(128, 31, 224, 0.3));
}

.shot {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 18px;
  padding: 10px 10px 4px;
  text-align: center;
}

/* Lifting the middle card keeps the row from reading as a flat strip. */
.shot:nth-child(2) {
  transform: translateY(-20px);
}

.shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.shot figcaption {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 10px 0;
}

@media (max-width: 860px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding-bottom: 48px;
  }

  /* The lift needs the extra room a wide layout has; stacked it just
     knocks the row out of line. */
  .shot:nth-child(2) {
    transform: none;
  }
}

/* Cards on the landing page */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 40px 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 16px;
  padding: 20px;
}

.card h3 {
  margin: 0 0 6px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

/* Contact */

.contact-email {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  margin: 8px 0 24px;
}

.contact-email:hover {
  border-color: var(--secondary);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--divider);
  padding: 28px 24px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer div {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
}

.site-footer .copyright {
  margin-right: auto;
}

/* Table used in the plans list */

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 16px;
}

th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--divider);
}

th {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.table-scroll {
  overflow-x: auto;
}
