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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background-color: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  padding: 1.25rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e7eb;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand-logo {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 0;
  height: 1px;
  background: #111827;
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.icon-circle {
  height: 28px;
  width: 28px;
  border-radius: 999px;
  border: 1px solid #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.main-content {
  flex: 1;
  padding: 4rem 5vw 3rem;
}

.page-title {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 3.25rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.hero-title {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  max-width: 32rem;
  font-size: 1.05rem;
  color: #4b5563;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  border: 1px solid #111827;
  font-size: 0.95rem;
  cursor: pointer;
  background: #111827;
  color: #ffffff;
}

.btn-secondary {
  background: transparent;
  color: #111827;
}

.btn-outline {
  background: transparent;
  color: #111827;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  border: 1px solid #111827;
}

.input-pill {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  min-width: 240px;
  font-size: 0.95rem;
}

.section {
  margin-top: 4rem;
}

.section-title {
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.75rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  border-radius: 1.5rem;
  border: 1px solid #e5e7eb;
  padding: 1.75rem;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.card-meta {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.card-text {
  font-size: 0.95rem;
  color: #4b5563;
}

.page-text {
  max-width: 36rem;
  font-size: 1rem;
  color: #4b5563;
}

.muted {
  color: #9ca3af;
  font-size: 0.9rem;
}

/* Blog */

.blog-post-title {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 2.3rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.blog-post-meta {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: 1rem;
}

/* Cart & shop */

.centered-message {
  max-width: 40rem;
}

.centered-message h1 {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.centered-message p {
  font-size: 1.05rem;
  color: #4b5563;
}

/* Account & forms */

.form-stack {
  max-width: 26rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.label {
  font-size: 0.9rem;
  font-weight: 500;
}

.input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3rem;
}

/* Footer */

.site-footer {
  padding: 2.5rem 5vw 2.5rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.footer-brand {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  grid-auto-flow: column;
  gap: 3rem;
  font-size: 0.9rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

/* Responsive */

@media (max-width: 768px) {
  .site-header {
    padding-inline: 1.5rem;
  }
  .main-content {
    padding-inline: 1.5rem;
    padding-top: 3rem;
  }
  .page-title,
  .hero-title,
  .centered-message h1 {
    font-size: 2.2rem;
  }
  .main-nav {
    display: none;
  }
  .site-footer {
    padding-inline: 1.5rem;
  }
  .footer-links {
    grid-auto-flow: row;
  }
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }
}
