/* Mash legal + support site.
   Palette lifted verbatim from the app's tailwind.config.ts so the pages a
   reviewer opens from the paywall look like the app they just came from. */
:root {
  --bg:    #F6F8F6;  /* near-white with a green whisper */
  --card:  #FFFFFF;
  --mint:  #E9F5EE;
  --ink:   #17251C;  /* deep green-black headings */
  --sub:   #7A8880;  /* muted secondary text */
  --green: #16A34A;
  --deep:  #0E7A3C;
  --line:  #E3EAE5;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:   #0E1512;
    --card: #16201B;
    --mint: #17302A;
    --ink:  #ECF3EE;
    --sub:  #93A39A;
    --green:#3DD37A;
    --deep: #6FE39C;
    --line: #22302A;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 720px;
  margin-inline: auto;
  padding: 32px 20px 72px;
}

header.site {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--green), var(--deep));
  display: grid;
  place-items: center;
  font-size: 21px;
  flex: none;
}

.logo-text { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }

.logo-text a { color: var(--ink); text-decoration: none; }

h1 {
  font-size: clamp(28px, 6vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  font-weight: 800;
}

h2 {
  font-size: 19px;
  letter-spacing: -0.01em;
  margin: 34px 0 10px;
  font-weight: 750;
}

.updated {
  color: var(--sub);
  font-size: 14px;
  margin: 0 0 28px;
}

p, li { color: var(--ink); opacity: 0.9; }

a { color: var(--deep); font-weight: 600; }

ul { padding-left: 20px; }

li { margin-bottom: 7px; }

/* The claim the whole policy rests on. Called out rather than buried in prose,
   because it is also the answer to the store questionnaires. */
.callout {
  background: var(--mint);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 26px 0;
}

.callout p { margin: 0; }

.callout strong { color: var(--deep); }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}

th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th { font-weight: 700; color: var(--sub); font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }

/* Wide content must scroll inside itself, never the page body. */
.scroll-x { overflow-x: auto; }

footer.site {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--sub);
  font-size: 14px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

footer.site a { color: var(--sub); font-weight: 500; }

/* --- landing only --- */
.hero-sub { font-size: 18px; color: var(--sub); margin: 0 0 30px; max-width: 52ch; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 30px 0;
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.feature h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }

.feature p { margin: 0; font-size: 14.5px; color: var(--sub); opacity: 1; }
