/* SHUYA.CAPITAL — minimal static-site styles. Forest/cream palette matches
   the mobile app's tailwind config + lib/colors.ts. */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Inter:wght@400;500&display=swap');

:root {
  --bg: #FAF8F2;
  --surface: #F1EFE6;
  --text: #3E4543;
  --muted: #555B58;
  --caption: #7A807C;
  --border: #D8DAD0;
  --forest: #1F4636;
  --forest-deep: #163225;
  --sage: #6B8779;
  --short: #A14C3F;
  --measure: 64ch;
}

* { box-sizing: border-box; }

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
}

main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 48px 24px 96px;
}

header.brand {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
header.brand .wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
header.brand .wordmark {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 0.18em;
  color: var(--forest);
  text-decoration: none;
}
header.brand nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 18px;
  font-size: 14px;
}
header.brand nav a:hover { color: var(--forest); }

h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 0.02em;
  color: var(--forest);
  margin: 0 0 8px;
}
h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--forest-deep);
  margin: 40px 0 12px;
  letter-spacing: 0.01em;
}
h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  margin: 28px 0 8px;
}
p, ul, ol { margin: 0 0 16px; }
ul, ol { padding-left: 24px; }
li { margin-bottom: 6px; }
a { color: var(--forest); }
a:hover { color: var(--forest-deep); }
code, pre {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.9em;
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 4px;
}
strong { color: var(--text); font-weight: 600; }
em { color: var(--muted); }
hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}
.meta {
  color: var(--caption);
  font-size: 13px;
  margin-bottom: 32px;
  font-family: ui-monospace, monospace;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
th, td {
  border: 1px solid var(--border);
  padding: 8px 12px;
  text-align: left;
  vertical-align: top;
}
th {
  background: var(--surface);
  font-weight: 500;
}
footer {
  border-top: 1px solid var(--border);
  margin-top: 64px;
  padding: 24px 24px 48px;
  color: var(--caption);
  font-size: 13px;
  text-align: center;
}
footer p { margin: 4px 0; }
footer a { color: var(--caption); text-decoration: underline; }
