/* Together website: ivory paper, sage and rose from the app icon. System fonts only, so no third-party requests. */
:root {
  --paper: #fbf8f3;
  --card: #ffffff;
  --ink: #2b2a26;
  --muted: #6b6a62;
  --line: #e8e2d8;
  --sage: #5e7f5c;
  --sage-soft: #e7eee4;
  --rose: #b8304a;
  --blush: #f6dbe1;
  --serif: ui-serif, "New York", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #171a16;
    --card: #20241f;
    --ink: #f1eee8;
    --muted: #b3b0a6;
    --line: #343a32;
    --sage: #9fc09b;
    --sage-soft: #263024;
    --rose: #f2a0b2;
    --blush: #3a252a;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--rose); text-underline-offset: 0.15em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}

/* Side padding only, so main, header and footer keep their own top and bottom padding. */
.wrap { max-width: 44rem; margin: 0 auto; padding-inline: 1.25rem; }

.site-header { padding: 1.25rem 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--ink); text-decoration: none; font: 600 1.15rem/1 var(--serif); }
.brand img { width: 2.25rem; height: 2.25rem; }
.site-header nav { display: flex; gap: 1.25rem; font-size: 0.95rem; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a[aria-current="page"], .site-header nav a:hover { color: var(--ink); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.2rem, 7vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: 1.5rem; margin-top: 2.5rem; }
h3 { font-size: 1.1rem; margin-top: 1.5rem; }
p, ul, ol { margin: 0.75rem 0 0; }
li + li { margin-top: 0.35rem; }

main { padding: 1rem 0 4rem; }
.lead { font-size: 1.2rem; color: var(--muted); margin-top: 1rem; }
.meta { color: var(--muted); font-size: 0.95rem; }

.hero { text-align: center; padding: 2.5rem 0 1rem; }
.hero img { width: 9rem; height: 9rem; }
.hero h1 { margin-top: 1.25rem; }
.hero .lead { max-width: 32rem; margin-left: auto; margin-right: auto; }
.badge { display: inline-block; margin-top: 1.5rem; padding: 0.6rem 1.1rem; border-radius: 999px; background: var(--sage-soft); color: var(--sage); font-weight: 600; font-size: 0.95rem; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: 1.25rem; }
.feature h3 { margin: 0; }
.feature p { color: var(--muted); font-size: 0.98rem; }

.note { margin-top: 2.5rem; padding: 1.25rem; border-radius: 1rem; background: var(--blush); }
.note p:first-child { margin-top: 0; }

.faq h3 { margin-top: 1.75rem; }

form { display: grid; gap: 1rem; margin-top: 1.25rem; }
label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.95rem; }
input, textarea {
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.75rem 0.9rem;
  width: 100%;
}
textarea { min-height: 9rem; resize: vertical; }
.hint { font-weight: 400; color: var(--muted); font-size: 0.88rem; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
button {
  justify-self: start;
  font: 600 1rem/1 var(--sans);
  color: #ffffff;
  background: var(--sage);
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  cursor: pointer;
}
@media (prefers-color-scheme: dark) { button { color: #171a16; } }
button[disabled] { opacity: 0.6; cursor: progress; }
.form-status { margin: 0; min-height: 1.5em; }
.form-status.error { color: var(--rose); }
.form-status.success { color: var(--sage); font-weight: 600; }

.site-footer { border-top: 1px solid var(--line); padding: 1.5rem 0 2.5rem; color: var(--muted); font-size: 0.9rem; }
.site-footer .wrap { display: flex; gap: 1rem; justify-content: space-between; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
