/* Caly Labs — shared stylesheet. System fonts only; no external requests. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #1c1c1e;
  background: #ffffff;
  overflow-wrap: break-word;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1rem;
}

a {
  color: #0b57d0;
}

a:focus-visible {
  outline: 2px solid #0b57d0;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  padding: 0.5rem 0.75rem;
  background: #ffffff;
  z-index: 1;
}

/* Header + nav */

.site-header {
  border-bottom: 1px solid #e3e3e8;
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand {
  font-weight: 700;
  font-size: 1.125rem;
  color: inherit;
  text-decoration: none;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 0.25rem 0;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
}

/* Content */

main {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.375rem;
  line-height: 1.3;
  margin: 2rem 0 0.5rem;
}

h3 {
  font-size: 1.0625rem;
  margin: 1.5rem 0 0.25rem;
}

p {
  margin: 0 0 1rem;
}

.placeholder {
  color: #5f5f66;
  font-style: italic;
}

.notice {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid #e0b100;
  border-left-width: 6px;
  border-radius: 6px;
  background: #fff8db;
}

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

/* Footer */

.site-footer {
  border-top: 1px solid #e3e3e8;
  color: #5f5f66;
  font-size: 0.9375rem;
}

.site-footer .wrap {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.site-footer p {
  margin: 0;
}
