/* The Ourside website. Colours are the app's own, copied from src/theme.js
   (light palette) on 5 Nov 2026. If the app's colours change, change them
   here too. Light only: dark mode is parked for the app, so the site matches. */
:root {
  --brand: #0a997b;      /* theme.js brand: fills and big marks only (3.59:1 on white) */
  --green-word: #098469; /* theme.js seat: green words and links (clears 4.5:1) */
  --green-deep: #055c4a; /* theme.js seatOn */
  --paper: #fbfdfb;      /* theme.js bg */
  --card: #ffffff;
  --ink: #1f2420;        /* theme.js text */
  --muted: #5e625d;      /* theme.js muted */
  --line: #e3e9e5;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

a { color: var(--green-word); text-underline-offset: 2px; }
a:hover { color: var(--green-deep); }
a:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 700px; }

/* Top bar */
.bar { border-bottom: 1px solid var(--line); background: var(--card); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.home-link { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 19px; }
.home-link img { height: 36px; width: auto; display: block; }
.bar nav a { color: var(--ink); text-decoration: none; font-weight: 500; margin-left: 20px; }
.bar nav a:hover, .bar nav a[aria-current="page"] { color: var(--green-word); }

/* Home: the logo on brand green */
.hero { background: var(--brand); text-align: center; padding: 40px 20px 36px; }
.hero img { width: 100%; max-width: 360px; height: auto; display: block; margin: 0 auto; }

.intro { text-align: center; padding: 44px 0 12px; }
.intro h1 { font-size: 40px; line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.01em; }
.intro p { font-size: 20px; color: var(--muted); margin: 0 auto; max-width: 560px; }
.intro .soon { display: inline-block; margin-top: 22px; font-size: 15px; font-weight: 600; color: var(--green-deep); background: #e6f5f0; border-radius: 999px; padding: 6px 14px; }

section { padding: 36px 0; }
h2 { font-size: 26px; line-height: 1.25; margin: 0 0 18px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.steps strong { display: block; font-size: 18px; margin-bottom: 4px; }
.steps span { color: var(--muted); }

.sellers { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px; }
.sellers p { margin: 0 0 10px; }
.sellers p:last-child { margin-bottom: 0; }

.button { display: inline-block; background: var(--green-word); color: #fff; text-decoration: none; font-weight: 600; border-radius: 999px; padding: 11px 20px; }
.button:hover { background: var(--green-deep); color: #fff; }

/* Privacy, Terms, Support */
/* Top and bottom only: the side gutter comes from .wrap (setting all four
   here wiped it out, and phone text ran to the screen edge). */
.doc { padding-top: 40px; padding-bottom: 24px; }
.doc h1 { font-size: 34px; line-height: 1.2; margin: 0 0 6px; }
.doc .updated { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 21px; margin: 30px 0 10px; }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 12px; padding-left: 22px; }
.doc li { margin-bottom: 4px; }

/* Footer */
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 26px 0 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: var(--muted); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .bar .wrap { height: 58px; }
  .home-link img { height: 32px; }
  .bar nav a { margin-left: 14px; }
  .intro { padding-top: 34px; }
  .intro h1 { font-size: 31px; }
  .intro p { font-size: 18px; }
  .doc h1 { font-size: 28px; }
}
