/* Aurora Works LLC — site styles. System fonts only, no external requests. */

:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1d2230;
  --muted: #5b6273;
  --border: #e4e1da;
  --accent: #b4532a;
  --accent-soft: #f6e8df;
  --link: #24407a;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12151d;
    --surface: #1a1e29;
    --text: #e8e6e1;
    --muted: #a2a8b6;
    --border: #2b3140;
    --accent: #e89a6c;
    --accent-soft: #2a2220;
    --link: #9db5ea;
    color-scheme: dark;
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--link);
  text-underline-offset: 0.15em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.01em;
}

.brand img {
  width: 28px;
  height: 28px;
}

/* Main */

main {
  flex: 1;
  padding: 3rem 0 4rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.2;
  font-weight: 650;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.hero p {
  font-size: 1.1875rem;
  color: var(--muted);
  margin: 0;
}

section {
  margin-top: 3.5rem;
}

h2 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.card p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card-links a {
  font-weight: 500;
}

.contact {
  font-style: normal;
  margin: 0;
}

.contact dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.5rem 1.5rem;
  margin: 0;
}

.contact dt {
  color: var(--muted);
}

.contact dd {
  margin: 0;
}

@media (max-width: 30rem) {
  .contact dl {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact dd {
    margin-bottom: 0.75rem;
  }
}

/* Legal pages */

.legal h1 {
  font-size: clamp(1.625rem, 4.5vw, 2.125rem);
  line-height: 1.25;
  margin: 0 0 0.25rem;
}

.legal .effective {
  color: var(--muted);
  margin: 0 0 2rem;
}

.legal h2 {
  margin-top: 2rem;
}

.legal p,
.legal ul {
  margin: 0 0 1rem;
}

.legal ul {
  padding-left: 1.25rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.site-footer nav {
  display: flex;
  gap: 1.25rem;
}

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

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