/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body - limestone tile texture */
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--tile-color-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--tile-color-light) 1px, transparent 1px);
  background-size: var(--tile-size-page) var(--tile-size-page);
  min-height: 100vh;
}

/* Typography base */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  color: var(--stone);
  letter-spacing: -0.3px;
}

h1 {
  font-size: 26px;
  font-style: italic;
}

h2 {
  font-size: 20px;
}

h3 {
  font-size: 18px;
}

p {
  margin-bottom: var(--sp-4);
}

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

a:hover {
  color: var(--pool-mid);
  text-decoration: underline;
}

/* Utility classes */
.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

.surface {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
}

/* Hero surface - pool tile texture */
.hero-surface {
  background-color: var(--pool-deep);
  background-image:
    linear-gradient(var(--tile-color-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--tile-color-dark) 1px, transparent 1px);
  background-size: var(--tile-size-hero) var(--tile-size-hero);
  border-radius: var(--r-lg);
  color: var(--white);
}

/* Primary CTA button */
.btn-primary {
  background: var(--sun);
  color: var(--white);
  border: none;
  border-radius: var(--r-sm);
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background: var(--sun-hover);
}

/* Teal solid button */
.btn-teal {
  background: var(--pool);
  color: var(--white);
  border: none;
  border-radius: var(--r-sm);
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-teal:hover {
  background: var(--pool-mid);
}

/* Ghost button */
.btn-ghost {
  background: var(--surface);
  color: var(--text-3);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-2);
}

/* Page content wrapper */
.page-content {
  padding: var(--sp-8) 0;
}

/* Placeholder styling for stub pages */
.placeholder {
  text-align: center;
  padding: var(--sp-12) var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin: var(--sp-8) auto;
  max-width: 500px;
}

.placeholder h1 {
  margin-bottom: var(--sp-4);
  font-style: normal;
}

.placeholder p {
  color: var(--text-2);
  margin-bottom: 0;
}
