/* Atlais Shop — single stylesheet shared across pages */

:root {
  --text: #1a1a1a;
  --text-soft: #525252;
  --text-faint: #8a8a8a;
  --accent: #2b5f4a;
  --accent-hover: #1f4635;
  --surface: #faf9f7;
  --card: #ffffff;
  --border: #e6e3de;
  --radius: 12px;
  --max-width: 840px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "SF Pro Text",
    system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

a:hover {
  border-bottom-color: var(--accent);
}

header.site-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 1rem;
  width: 100%;
}

.logo {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.logo::before {
  content: "◆";
  margin-right: 0.4rem;
  color: var(--accent);
}

main {
  flex: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  width: 100%;
}

.hero {
  padding: 3rem 0 4rem;
}

.hero h1 {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero p.lede {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 32rem;
}

section {
  margin-bottom: 3rem;
}

section h2 {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  color: var(--text);
}

section h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: var(--text);
}

section p {
  margin-bottom: 1rem;
  color: var(--text-soft);
  max-width: 40rem;
}

.step-list {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 1.5rem 0;
}

.step-list li {
  counter-increment: step;
  position: relative;
  padding: 1rem 1.25rem 1rem 3.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  color: var(--text-soft);
}

.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 1.25rem;
  top: 1rem;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--accent);
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.step-list li strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.15rem;
  font-weight: 600;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1rem;
}

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

.contact-card dt {
  color: var(--text-faint);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.contact-card dd {
  color: var(--text);
}

.legal-body h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.legal-body p,
.legal-body li {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 0.9rem;
}

.legal-body ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-body .meta {
  color: var(--text-faint);
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 2rem;
}

footer.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
}

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

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

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

@media (max-width: 640px) {
  .contact-card dl {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
  .contact-card dt {
    margin-top: 0.75rem;
  }
  .contact-card dt:first-child {
    margin-top: 0;
  }
}
