/* Strata pages use the app's own palette, not the StoneyPoint site design. */
:root {
  color-scheme: light dark;
  --paper: #f5f4ef;
  --ink: #2b2a26;
  --ink-secondary: #6e6c66;
  --rule: #e3e1da;
  --accent: #d97757;
  --link: #a9553b;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #262624;
    --ink: #eceae3;
    --ink-secondary: #a3a19a;
    --rule: #3c3b38;
    --link: #e08a6c;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Apple SD Gothic Neo", sans-serif;
  -webkit-text-size-adjust: 100%;
}
main {
  max-width: 620px;
  margin: 0 auto;
  padding: 56px 20px 72px;
}
.app {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-secondary);
  font-size: 15px;
}
/* Real app icon, rounded like iOS (corner radius ≈ 22.37% of the size). */
.icon { display: block; width: 32px; height: 32px; border-radius: 7.2px; box-shadow: 0 0 0 0.5px var(--rule); }
h1 {
  font-family: ui-serif, "New York", Georgia, serif;
  font-weight: 600;
  font-size: 34px;
  line-height: 1.2;
  margin: 20px 0 8px;
}
.meta { color: var(--ink-secondary); font-size: 15px; margin: 0; }
section {
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}
.meta + section { margin-top: 28px; }
h2 {
  font-family: ui-serif, "New York", Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 6px;
}
p { margin: 0 0 10px; }
p:last-child { margin-bottom: 0; }
a { color: var(--link); text-underline-offset: 2px; }
footer {
  border-top: 1px solid var(--rule);
  padding-top: 22px;
  color: var(--ink-secondary);
  font-size: 15px;
}
.langs {
  display: flex;
  gap: 4px 20px;
  flex-wrap: wrap;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.langs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-secondary);
  text-decoration: none;
}
.langs a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.picker { text-align: center; padding-top: 25vh; }
.picker .langs { justify-content: center; }

/* Hangul falls back to a thin serif; keep Korean headings in the sans face. */
:lang(ko) h1, :lang(ko) h2 { font-family: inherit; font-weight: 700; }
:lang(ko) p, :lang(ko) footer { word-break: keep-all; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.lang {
  display: flex;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 2px;
}
.lang a {
  font-size: 14px;
  color: var(--ink-secondary);
  text-decoration: none;
  border-radius: 999px;
  padding: 4px 12px;
}
.lang a[aria-current="page"] {
  background: var(--rule);
  color: var(--ink);
}
