/* Koya's brand tokens, from ios/Koya/Theme.swift. The contrast ratios there were measured
   against these exact hexes, so they are not adjusted to taste. */
:root {
  --paper:  #FFF3EC;
  --surface:#FFF9F7;
  --ink:    #2E2226;
  --ink2:   #75666B;
  --rule:   #EACBD4;
  --signal: #9B496B;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  background-image: radial-gradient(ellipse 90% 380px at 50% 0%, #F9D9E1 0%, rgba(255,243,236,0) 100%);
  background-repeat: no-repeat;
  color: var(--ink);
  font: 400 17px/1.7 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding: 0 16px;
}

main { max-width: 720px; margin: 0 auto; padding: 40px 0 96px; }

header { border-bottom: 1px solid var(--rule); padding-bottom: 28px; margin-bottom: 36px; }

/* Top bar shared with the marketing site */
.topbar {
  max-width: 1160px; margin: 0 auto; padding: 18px 8px;
  display: flex; align-items: center; justify-content: space-between;
}
.brandmark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font: 600 24px/1 "Cormorant Garamond", Georgia, serif; }
.brandmark img { border-radius: 8px; }
.getapp { text-decoration: none; background: #3A1A2A; color: #FFF9F7; font-size: 14px; font-weight: 600;
  padding: 10px 18px; border-radius: 999px; }

.brand {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--signal); font-weight: 500; margin: 0 0 14px;
}

h1 { font: 500 52px/1.05 "Cormorant Garamond", Georgia, serif; letter-spacing: -0.01em; margin: 0 0 14px; }

.dates { color: var(--ink2); font-size: 14px; margin: 0; }

h2 {
  font: 500 30px/1.2 "Cormorant Garamond", Georgia, serif; letter-spacing: -0.01em;
  margin: 44px 0 14px; padding-top: 8px;
}

h3 { font-size: 17px; font-weight: 600; margin: 26px 0 8px; }

p, li { color: var(--ink); }

ul { padding-left: 22px; }
li { margin: 7px 0; }

a { color: var(--signal); text-underline-offset: 2px; }

strong { font-weight: 600; }

/* A plain statement that matters enough to sit apart from the prose. */
.note {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: 0 20px 40px -28px rgba(110,47,77,.35);
  margin: 22px 0;
}
.note p:first-child { margin-top: 0; }
.note p:last-child  { margin-bottom: 0; }

table { border-collapse: collapse; width: 100%; margin: 18px 0; font-size: 15px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 600; }
td:first-child { white-space: nowrap; }

footer {
  border-top: 1px solid var(--rule);
  margin-top: 56px; padding-top: 24px;
  color: var(--ink2); font-size: 14px;
}
footer a { margin-right: 16px; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  main { padding: 36px 0 72px; }
  h1 { font-size: 40px; }
  h2 { font-size: 26px; }
  .topbar { padding: 14px 0; }
  td:first-child { white-space: normal; }
}
