/* MobilePulse — shared site styles
 * Shadow Pulse palette per Brand MobilePulse/03_Brand_Guide.
 * No web fonts — uses the OS system stack so pages render instantly.
 */

:root {
  --matte-black: #070B10;
  --shade-dark: #0B1117;
  --panel: #11181F;
  --panel-border: #1B252F;
  --teal-pulse: #21F2D2;
  --status-teal: #00D6A3;
  --text: #E8F1F6;
  --muted: #93A4B2;
  --warning: #FACC15;
  --critical: #EF4444;
  --max-width: 720px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--shade-dark);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--teal-pulse);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 20px 80px;
}

header.site {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--panel-border);
  margin-bottom: 32px;
}

header.site .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--matte-black);
  flex-shrink: 0;
  overflow: hidden;
}

header.site .mark img {
  width: 100%;
  height: 100%;
  display: block;
}

header.site .brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

header.site .brand .name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.2px;
}

header.site .brand .by {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

nav.site {
  margin-left: auto;
  font-size: 14px;
  color: var(--muted);
}

nav.site a {
  margin-left: 14px;
  color: var(--muted);
}

nav.site a:hover {
  color: var(--text);
}

main h1 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.2px;
  margin: 0 0 8px;
  color: var(--text);
}

main .lede {
  color: var(--teal-pulse);
  font-size: 17px;
  margin: 0 0 32px;
}

main h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 36px 0 10px;
  color: var(--text);
}

main h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 22px 0 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

main p,
main li {
  color: var(--text);
}

main .meta {
  color: var(--muted);
  font-size: 14px;
  margin: -4px 0 28px;
}

main ul {
  padding-left: 22px;
  margin: 10px 0 16px;
}

main li {
  margin: 6px 0;
}

main code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 14px;
}

main .card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 20px 22px;
  margin: 18px 0;
}

main .card p:last-child {
  margin-bottom: 0;
}

main .modules {
  display: grid;
  gap: 14px;
  margin: 20px 0 4px;
}

@media (min-width: 640px) {
  main .modules {
    grid-template-columns: 1fr 1fr;
  }
}

main .modules .module {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 16px 18px;
}

main .modules .module h3 {
  margin-top: 0;
  color: var(--teal-pulse);
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
}

main .modules .module p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

main .pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-teal);
  box-shadow: 0 0 8px var(--status-teal);
  margin-right: 8px;
  vertical-align: middle;
}

footer.site {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--panel-border);
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
}

footer.site .brand-line {
  color: var(--text);
  font-weight: 500;
}

footer.site .legal {
  color: var(--muted);
}

footer.site nav {
  margin-top: 10px;
}

footer.site nav a {
  color: var(--muted);
  margin: 0 8px;
}

footer.site nav a:hover {
  color: var(--text);
}
