:root {
  --primary: #b537f2;
  --secondary: #00f5ff;
  --accent: #ff2d78;
  --bg: #0a0a0f;
  --surface: #12121a;
  --surface-light: #1c1c2e;
  --text: #eeeeee;
  --text-dim: #888899;
  --border: rgba(181, 55, 242, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Soft glow behind the page, echoing the app's gradients. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
      ellipse 70% 50% at 20% -5%,
      rgba(181, 55, 242, 0.16),
      transparent
    ),
    radial-gradient(
      ellipse 60% 45% at 90% 0%,
      rgba(0, 245, 255, 0.09),
      transparent
    );
}

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

/* ── Header ── */

header {
  padding: 56px 0 40px;
  text-align: center;
}

.logo {
  font-family: "Chakra Petch", -apple-system, sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 40px;
  letter-spacing: 1px;
  text-decoration: none;
  display: inline-block;
  color: var(--text);
  position: relative;
}

/* The wordmark's chromatic split, same idea as the in-app logo. */
.logo::before,
.logo::after {
  content: "Ota";
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.logo::before {
  color: var(--accent);
  transform: translate(-2px, 0);
  opacity: 0.75;
}

.logo::after {
  color: var(--secondary);
  transform: translate(2px, 0);
  opacity: 0.6;
}

.logo span {
  position: relative;
  z-index: 1;
}

h1 {
  font-family: "Michroma", -apple-system, sans-serif;
  font-size: 19px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin: 32px 0 8px;
  line-height: 1.5;
}

.updated {
  color: var(--text-dim);
  font-size: 13px;
  margin: 0;
}

/* ── Content ── */

main {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 36px 36px;
}

h2 {
  font-family: "Michroma", -apple-system, sans-serif;
  font-size: 13.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin: 44px 0 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
}

h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 28px 0 -6px;
  color: var(--secondary);
}

p,
li {
  color: #cfcfd8;
}

a {
  color: var(--secondary);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 245, 255, 0.3);
}

a:hover {
  border-bottom-color: var(--secondary);
}

ul {
  padding-left: 22px;
}

li {
  margin-bottom: 9px;
}

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

/* Callout for the zero-tolerance rule Apple's guideline 1.2 looks for. */
.callout {
  background: rgba(255, 45, 120, 0.09);
  border: 1px solid rgba(255, 45, 120, 0.35);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 26px 0;
}

.callout p {
  margin: 0;
  color: var(--text);
}

/* Anything the owner still has to fill in before launch. */
.todo {
  background: rgba(181, 55, 242, 0.16);
  border-bottom: 1px dashed var(--primary);
  padding: 1px 6px;
  border-radius: 4px;
  color: #e8c6ff;
  font-weight: 600;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-size: 14.5px;
  display: block;
  overflow-x: auto;
}

th,
td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  vertical-align: top;
}

th {
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

td {
  color: #cfcfd8;
}

/* ── Landing page cards ── */

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

.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 24px;
  text-decoration: none;
  transition: border-color 0.18s, transform 0.18s;
}

.card:hover {
  border-color: rgba(0, 245, 255, 0.45);
  transform: translateY(-2px);
}

.card h2 {
  border: none;
  margin: 0 0 8px;
  padding: 0;
  font-size: 12.5px;
  color: var(--text);
}

.card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ── Footer ── */

footer {
  text-align: center;
  padding: 44px 0 0;
  color: var(--text-dim);
  font-size: 13px;
}

footer a {
  margin: 0 10px;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .wrap {
    padding: 0 16px 64px;
  }
  main {
    padding: 4px 20px 28px;
    border-radius: 16px;
  }
  header {
    padding: 40px 0 28px;
  }
  .logo {
    font-size: 34px;
  }
  h1 {
    font-size: 16px;
    letter-spacing: 2px;
  }
}
