/* SiteFeed Teams website. Palette shared with the app (docs/BRANDING.md). Contrast pairs are checked by test/check.mjs. */
:root {
  --bone: #f5f2ec;
  --charcoal: #1c1f24;
  --orange: #ff9230;
  --orange-ink: #a84e00;
  --muted: #4d5158;
  --line: #d9d4ca;
  --card: #ffffff;
  --bg: var(--bone);
  --ink: var(--charcoal);
  --link: var(--orange-ink);
  --soft: #ece6dc;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1f24;
    --ink: #f5f2ec;
    --muted: #c4c0b8;
    --link: #ff9230;
    --card: #262a31;
    --line: #3a3f47;
    --soft: #23272d;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--link); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--charcoal); color: var(--bone); padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 16px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.logo { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.1rem; }
.logo img { width: 36px; height: 36px; border-radius: 8px; }
nav.main ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; }
nav.main a { display: inline-block; padding: 10px 2px; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 600; }
nav.main a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; }
main { padding: 24px 0 48px; }
h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; margin: 8px 0 16px; }
h2 { font-size: 1.5rem; margin: 40px 0 12px; }
h3 { font-size: 1.15rem; margin: 24px 0 8px; }
p, li { max-width: 70ch; }
.lead { font-size: 1.2rem; color: var(--muted); }
.hero { display: grid; gap: 32px; align-items: center; grid-template-columns: 1fr; padding: 16px 0 8px; }
@media (min-width: 860px) { .hero { grid-template-columns: 1.2fr 1fr; } }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.button { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 22px; border-radius: 10px; background: var(--charcoal); color: var(--bone); font-weight: 700; text-decoration: none; }
.button.secondary { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
@media (prefers-color-scheme: dark) { .button { background: var(--orange); color: var(--charcoal); } }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 16px 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.card h3 { margin-top: 0; }
.note { background: var(--soft); border-left: 4px solid var(--orange-ink); padding: 12px 16px; border-radius: 8px; }
.owner-input { background: #fff3cd; color: #5c3b00; border: 1px dashed #8a5a00; padding: 0 4px; border-radius: 4px; }
.draft-banner { background: #fff3cd; color: #5c3b00; border-bottom: 1px solid #8a5a00; padding: 8px 16px; text-align: center; font-weight: 600; }
.phone { aspect-ratio: 9 / 19; max-width: 300px; margin: 0 auto; border: 10px solid var(--charcoal); border-radius: 36px; background: var(--card); padding: 22px 14px; box-shadow: 0 12px 40px rgba(0,0,0,.18); }
.phone .row { background: var(--soft); border-radius: 10px; padding: 10px 12px; margin: 8px 0; font-size: .85rem; }
.phone .row strong { display: block; }
.phone .caption { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 12px; }
.tick li { list-style: none; position: relative; padding-left: 28px; margin: 6px 0; }
.tick { padding-left: 0; }
.tick li::before { content: "✓"; position: absolute; left: 0; color: var(--orange-ink); font-weight: 700; }
@media (prefers-color-scheme: dark) { .tick li::before { color: var(--orange); } }
details { border: 1px solid var(--line); border-radius: 10px; padding: 0 16px; margin: 10px 0; background: var(--card); }
summary { cursor: pointer; padding: 14px 0; font-weight: 700; min-height: 44px; }
table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: .95rem; }
th, td { text-align: left; border-bottom: 1px solid var(--line); padding: 8px; vertical-align: top; }
.scroll { overflow-x: auto; }
footer.site { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: .95rem; }
footer.site ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; padding: 0; margin: 0 0 12px; }
footer.site a { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
