/* Maveebo — minimal premium styles */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --border: #d2d2d7;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --radius: 14px;
  --maxw: 760px;
  --maxw-wide: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

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

a:hover {
  text-decoration: underline;
}

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

h1, h2, h3, h4 {
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 600;
  margin-top: 2em;
}

h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.5em;
}

p {
  margin: 0 0 1em;
}

ul {
  padding-left: 1.25em;
  margin: 0 0 1em;
}

li {
  margin-bottom: 0.35em;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5em 0;
}

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.brand:hover {
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 0.9rem;
}

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

.nav-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Layout */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.wide {
  max-width: var(--maxw-wide);
}

/* Hero */
.hero {
  text-align: center;
  padding: 72px 24px 56px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.hero .eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1em;
}

.hero p.lede {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2em;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 720px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  display: block;
  padding: 24px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  color: var(--text);
  transition: transform 0.15s ease, background 0.15s ease;
}

.card:hover {
  background: #ececf0;
  text-decoration: none;
  transform: translateY(-1px);
}

.card h3 {
  margin: 0 0 6px;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Section block */
section.section {
  margin-top: 56px;
  padding: 0 24px;
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}

section.section h2 {
  text-align: center;
  margin-top: 0;
}

/* Contact list */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-list .label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Legal/doc pages */
.doc h1 {
  margin-bottom: 0.25em;
}

.doc .meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2.5em;
}

.doc h2 {
  border-top: 1px solid var(--border);
  padding-top: 1.5em;
}

.doc h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

/* Email block */
.email-block {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 16px 0 24px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.95rem;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0 0 6px;
}

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

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

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-soft: #1c1c1e;
    --text: #f5f5f7;
    --text-muted: #a1a1a6;
    --border: #2c2c2e;
  }

  .site-header {
    background: rgba(0, 0, 0, 0.7);
  }

  .card:hover {
    background: #2a2a2c;
  }
}
