/* Sincerely, Your Space — public site. Palette mirrors lib/core/theme/app_colors.dart. */
:root {
  --paper: #FDFBF7; --paper-raised: #FFFFFF; --paper-sunken: #F4F0E9; --rule: #E5DFD5;
  --ink: #1A1714; --ink-muted: #6B635C; --ink-faint: #A9A19A;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  --signature: "Great Vibes", "Brush Script MT", cursive;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #14120F; --paper-raised: #1F1C18; --paper-sunken: #2A2621; --rule: #3A342C;
          --ink: #F5F1EA; --ink-muted: #AAA298; --ink-faint: #6F675E; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans);
       font-size: 17px; line-height: 1.6; }
a { color: inherit; text-decoration-color: var(--ink-faint); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }
header.site { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
              padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.wordmark { font-family: var(--signature); font-size: 2rem; line-height: 1; font-weight: 400;
            text-decoration: none; }
nav.site a { margin-left: 1.25rem; font-size: 0.95rem; color: var(--ink-muted); text-decoration: none; }
nav.site a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 1rem; }
h2 { font-size: 1.75rem; margin: 3rem 0 1rem; }
h3 { font-size: 1.15rem; margin: 0 0 .35rem; }
.hero { padding: 4.5rem 0 3rem; max-width: 46rem; }
.hero p.lede { font-size: 1.25rem; color: var(--ink-muted); margin: 0 0 1.75rem; }
.hero .note { display: inline-block; border: 1px solid var(--rule); border-radius: 999px;
              padding: .45rem 1rem; font-size: .95rem; color: var(--ink-muted); background: var(--paper-raised); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; }
.card { background: var(--paper-raised); border: 1px solid var(--rule); border-radius: 14px; padding: 1.25rem 1.35rem; }
.card p { margin: 0; color: var(--ink-muted); font-size: 1rem; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid;
         grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.25rem; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: .75rem; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--serif);
                    color: var(--ink-faint); display: block; margin-bottom: .25rem; }
.plain { max-width: 46rem; }
.plain h2 { margin-top: 2.5rem; font-size: 1.5rem; }
.plain table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.plain th, .plain td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-bottom: 1px solid var(--rule); }
.plain th { color: var(--ink-muted); font-weight: 600; }
.plain code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em;
              background: var(--paper-sunken); padding: .1em .35em; border-radius: 4px; }
.muted { color: var(--ink-muted); }
footer.site { margin-top: 4rem; padding: 2rem 0 3rem; border-top: 1px solid var(--rule);
              font-size: .92rem; color: var(--ink-muted); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
footer.site a { text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
@media (max-width: 40rem) { header.site { flex-direction: column; align-items: flex-start; }
  nav.site a { margin: 0 1.25rem 0 0; } .hero { padding-top: 3rem; } }
