/*
 * noler.com shared site styles.
 * Used by every page on the noler-coming-soon Pages project.
 * To add a new page, copy _template.html and link this stylesheet.
 *
 * Pages: index.html, support/, privacy-policy/, terms-of-use/, alarm/download/
 */

:root {
  --primary: #ee4d2d;
  --primary-dark: #d23d1f;
  --text: #212121;
  --muted: #666;
  --line: #e7e7e7;
  --bg: #f7f7f7;
  --panel: #fff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  max-width: 880px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}
a:hover { text-decoration: underline; }

h1 { margin: 0 0 8px; font-size: 34px; line-height: 1.15; }
h2 { margin: 28px 0 10px; font-size: 21px; line-height: 1.25; }
h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
p, li { color: var(--muted); }
ul { padding-left: 22px; }

/* "Sheet" — the white panel used on policy / support / download pages. */
.sheet {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.meta { color: var(--muted); margin-bottom: 24px; }

.notice {
  margin: 0 0 24px;
  padding: 14px 16px;
  border: 1px solid #ffd9cf;
  background: #fff5f2;
  border-radius: 12px;
  color: #7a2a19;
}

.contact-block {
  margin-top: 22px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fcfcfc;
}
.contact-block p { margin: 6px 0; }

/* Site footer — present on every page. Always shows Home / Support /
   Privacy Policy / Terms of Use links plus copyright. */
.site-footer {
  padding: 24px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}
.site-footer a {
  color: var(--primary);
  text-decoration: none;
  margin: 0 8px;
  font-weight: 700;
}
.site-footer a:hover { text-decoration: underline; }
.site-footer .copyright { margin-top: 8px; }

/* Mobile */
@media (max-width: 640px) {
  h1 { font-size: 29px; }
  .sheet { padding: 24px 18px; }
}
