/* milot.app — shared styles. Milot's colours: teal, cream, rust. */
@font-face { font-family: 'Instrument Serif'; src: url('InstrumentSerif-Regular.ttf') format('truetype'); font-display: swap; }

:root {
  --teal: #0F4744; --teal-dark: #0A3633; --cream: #F6F2EA; --rust: #E0895C; --rust-soft: #F6E1D3;
  --sage: #D9E5DF; --ink: #1A1815; --muted: #6C6862; --hair: #E5DFD2; --white: #FFFFFF;
}
* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: hidden; }
body { background: var(--cream); color: var(--ink); font: 17px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif; }
a { color: var(--teal); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header.site { padding: 20px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teal); font-family: 'Instrument Serif', Georgia, serif; font-size: 30px; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
nav a { margin-left: 18px; color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover { color: var(--teal); }

.hero { text-align: center; padding: 40px 0 56px; }
.hero img { width: 220px; height: 220px; }
.hero h1 { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 72px; line-height: 1; color: var(--teal); margin: 8px 0 6px; }
.hero .tag { font-size: 22px; color: var(--teal); margin: 0 auto 18px; }
.hero p { color: var(--muted); max-width: 520px; margin: 0 auto; }
.badge { display: inline-block; margin-top: 26px; background: var(--ink); color: var(--cream); border-radius: 14px; padding: 13px 22px; font-weight: 600; }

.features { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); padding-bottom: 56px; }
.feature { background: var(--white); border: 1px solid var(--hair); border-radius: 18px; padding: 20px; }
.feature h3 { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 26px; line-height: 1.15; color: var(--teal); margin: 0 0 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.doc { padding: 10px 0 56px; }
.doc h1 { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 52px; color: var(--teal); margin: 10px 0 4px; line-height: 1.05; }
.doc .updated { color: var(--muted); margin-top: 0; }
.doc h2 { font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-size: 30px; color: var(--teal); margin: 36px 0 8px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--hair); }
.doc th { color: var(--muted); font-weight: 600; }
.doc .box { background: var(--white); border: 1px solid var(--hair); border-radius: 16px; padding: 16px 20px; }
.qa h3 { font-size: 18px; margin: 26px 0 4px; }
.qa p { margin: 0; }

footer.site { border-top: 1px solid var(--hair); padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
footer.site a { color: var(--muted); margin-right: 16px; }

@media (max-width: 560px) {
  .hero h1 { font-size: 56px; }
  .hero img { width: 170px; height: 170px; }
  .doc h1 { font-size: 40px; }
  nav a { margin-left: 12px; }
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc td { border: none; padding: 2px 0; }
  .doc tr { border-bottom: 1px solid var(--hair); padding: 10px 0; }
}
