/* Mailmole site styles. Brand: branding/brand-guide.md. No external fonts or
   scripts: the pages load nothing from third parties. Fredoka and Nunito Sans
   are used when installed, with system fonts as the fallback. */
:root {
  --burrow: #2a1e17;
  --mole: #7a5c4a;
  --lantern: #f5b935;
  --snout: #f29aa0;
  --sprout: #23785a;
  --daylight: #f4f6f3;
  --tint: #fff4d6;
  --bg: var(--daylight);
  --card: #ffffff;
  --text: var(--burrow);
  --muted: var(--mole);
  --link: var(--sprout);
  --rule: #e2ddd6;
  --display: "Fredoka", "Nunito Sans", ui-rounded, system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c140f;
    --card: var(--burrow);
    --text: #f4efe9;
    --muted: #c9b3a4;
    --link: #6fd0a6;
    --rule: #4a382d;
    --tint: #3a2d17;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--body);
}
a { color: var(--link); text-underline-offset: 2px; }
a:focus-visible { outline: 3px solid var(--lantern); outline-offset: 2px; border-radius: 3px; }

.top {
  border-bottom: 1px solid var(--rule);
  background: var(--card);
}
.top-inner, main, footer {
  max-width: 760px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font: 600 1.4rem/1 var(--display);
}
.brand img { width: 40px; height: 40px; }
.top nav { display: flex; gap: 16px; font-weight: 600; }

main { padding-top: 32px; padding-bottom: 48px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.2; }
h1 { font-size: 2.2rem; margin: 0 0 4px; }
h2 { font-size: 1.4rem; margin: 2.2em 0 0.4em; padding-top: 0.6em; border-top: 1px solid var(--rule); }
h3 { font-size: 1.1rem; margin: 1.6em 0 0.3em; }
.updated { color: var(--muted); margin: 0 0 24px; }
.summary {
  background: var(--tint);
  border-left: 5px solid var(--lantern);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 24px 0;
}
.summary h2 { border: 0; margin: 0 0 6px; padding: 0; font-size: 1.15rem; }
.summary ul { margin: 0; padding-left: 1.2em; }
.placeholder {
  background: var(--snout);
  color: var(--burrow);
  padding: 0 4px;
  border-radius: 4px;
  font-weight: 700;
}
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--rule); }
th { font-family: var(--display); font-weight: 600; }
.table-wrap { overflow-x: auto; }
li { margin: 4px 0; }

.hero { text-align: center; padding: 24px 0 8px; }
.hero img { width: 112px; height: 112px; }
.tagline { font: 600 1.3rem/1.3 var(--display); color: var(--muted); margin: 4px 0 16px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 16px 0; }
.plan { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 16px; }
.plan h3 { margin: 0 0 4px; }
.plan .price { font: 600 1.25rem/1.2 var(--display); color: var(--sprout); }
@media (prefers-color-scheme: dark) { .plan .price { color: var(--link); } }
.plan p { margin: 6px 0 0; font-size: 0.95rem; }

footer {
  border-top: 1px solid var(--rule);
  padding-top: 20px;
  padding-bottom: 32px;
  color: var(--muted);
  font-size: 0.9rem;
}
footer nav { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
