/* Suena website. Same colours as the app's dark look (app/src/features/onboarding/theme.ts). */
:root {
  --background: #0b0e13;
  --surface: #161a21;
  --border: #2a303a;
  --text: #f2f4f7;
  --text-secondary: #9aa3af;
  --primary: #0073fe;
  --link: #5aa5ff;
  --yellow: #ffd166;
  --orange: #f5a524;
}

* {
  box-sizing: border-box;
}

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

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

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

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

header.top {
  border-bottom: 1px solid var(--border);
}

header.top a {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
  padding: 12px 20px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

header.top img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

h1 {
  margin: 16px 0 4px;
  font-size: 32px;
  line-height: 1.2;
}

h2 {
  margin: 36px 0 8px;
  font-size: 22px;
  line-height: 1.3;
}

h3 {
  margin: 24px 0 4px;
  font-size: 18px;
}

p,
ul {
  margin: 8px 0;
}

li {
  margin: 4px 0;
}

.updated {
  color: var(--text-secondary);
  font-size: 15px;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

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

th {
  color: var(--text-secondary);
  font-weight: 600;
}

/* Things still to be filled in or confirmed: meant to stand out until they are gone. */
.ph,
.check {
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 0.92em;
  font-weight: 600;
}

.ph {
  background: var(--yellow);
  color: #111;
}

.check {
  background: var(--orange);
  color: #111;
}

/* Home page */
.hero {
  padding: 40px 0 16px;
  text-align: center;
}

.hero img {
  width: 148px;
  height: 148px;
  border-radius: 34px;
}

.hero h1 {
  margin-top: 20px;
  font-size: 44px;
}

.tagline {
  max-width: 460px;
  margin: 8px auto 28px;
  color: var(--text-secondary);
  font-size: 21px;
  line-height: 1.4;
}

.button {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.hero .ph {
  display: block;
  width: fit-content;
  margin: 12px auto 0;
}

.cards {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}

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

.card h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 16px;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 15px;
}

footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 20px;
}

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

@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
