/* Month One Baby: soft neutrals, calm, mobile-first */

:root {
  --warm-white: #faf8f5;
  --oat: #ebe4d8;
  --oat-deep: #d9d0c0;
  --fog: #8a8680;
  --fog-light: #c4bfb7;
  --ink: #2c2a26;
  --ink-soft: #4a4742;
  --sage: #8b9a84;
  --sage-muted: #a8b5a0;
  --sage-soft: #e4ebe0;
  --border: #e0d9ce;
  --card: #ffffff;
  --max: 40rem;
  --wide: 52rem;
}

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

html {
  font-size: 112.5%; /* 18px base */
  -webkit-text-size-adjust: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  overflow-wrap: break-word;
  word-wrap: break-word;
  font-family: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--warm-white);
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  margin: 0 0 0.5rem;
}

h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin: 2.25rem 0 0.75rem;
}

h3 {
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  overflow-wrap: break-word;
}

a {
  color: var(--sage);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  overflow-wrap: anywhere;
}

a:hover {
  color: var(--ink);
}

a:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

/* Layout */

.wrap {
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.narrow {
  max-width: calc(var(--max) + 2rem);
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
  flex-wrap: wrap;
  min-width: 0;
}

.logo {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo:hover {
  color: var(--sage);
}

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

.nav a {
  color: var(--fog);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.3em;
  text-decoration-color: var(--sage-muted);
}

/* Main */

main {
  padding: 2.5rem 0 3.5rem;
}

.hero {
  padding: 1.5rem 0 0.5rem;
}

.hero .tagline {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  color: var(--ink);
  margin-bottom: 1rem;
}

.lede {
  font-size: 1.05rem;
  max-width: 36rem;
}

/* Buttons / CTAs */

.btn {
  display: inline-block;
  max-width: 100%;
  margin: 0.5rem 0 0;
  padding: 0.7rem 1.35rem;
  background: var(--sage);
  color: #fff !important;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: background 0.15s ease;
}

.btn:hover {
  background: #7a8a73;
  color: #fff !important;
}

.btn-ghost {
  background: transparent;
  color: var(--ink) !important;
  border: 1.5px solid var(--oat-deep);
}

.btn-ghost:hover {
  background: var(--oat);
  border-color: var(--fog-light);
}

.cta-block {
  margin: 2rem 0;
  padding: 1.5rem 1.35rem;
  background: var(--sage-soft);
  border-radius: 12px;
  border: 1px solid #d5e0d0;
}

.cta-block p:last-child {
  margin-bottom: 0;
}

/* Email tease */

.tease {
  margin: 2.5rem 0 1rem;
  padding: 1.5rem 1.35rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.tease strong {
  color: var(--ink);
}

.tease-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
  align-items: center;
}

.tease-form input {
  flex: 1 1 12rem;
  min-width: 0;
  max-width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--oat);
  color: var(--fog);
  font: inherit;
  font-size: 0.95rem;
}

.tease-form .soon {
  font-size: 0.85rem;
  color: var(--fog);
  padding: 0.4rem 0.75rem;
  background: var(--oat);
  border-radius: 999px;
  white-space: nowrap;
}

/* Product cards */

.product {
  margin: 1.75rem 0;
  padding: 1.35rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 0;
  max-width: 100%;
}

.product-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.35rem;
}

.product p {
  margin-bottom: 0.65rem;
}

.caveat {
  font-size: 0.9rem;
  color: var(--fog);
  padding: 0.65rem 0.85rem;
  background: var(--warm-white);
  border-left: 3px solid var(--sage-muted);
  border-radius: 0 6px 6px 0;
  margin: 0.75rem 0 0;
}

.caveat strong {
  color: var(--ink-soft);
}

.product-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--sage);
}

.product-link:hover {
  text-decoration: underline;
}

/* Alternates table */

.alt-table-wrap {
  overflow-x: auto;
  max-width: 100%;
  margin: 1rem 0 2rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  table-layout: fixed;
}

th, td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: break-word;
}

th {
  background: var(--oat);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

tr:last-child td {
  border-bottom: none;
}

td a {
  word-break: break-all;
}

/* About sections */

.section {
  margin-bottom: 0.5rem;
}

.section + .section {
  margin-top: 0.25rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--oat);
  padding: 2rem 0 2.5rem;
  font-size: 0.9rem;
  color: var(--fog);
}

.site-footer p {
  color: var(--fog);
  margin-bottom: 0.5rem;
  max-width: 40rem;
}

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

.disclosure {
  font-weight: 500;
  color: var(--ink-soft) !important;
}

/* Utilities */

.muted {
  color: var(--fog);
  font-size: 0.92rem;
}

hr.soft {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.25rem 0;
}

@media (max-width: 520px) {
  html { font-size: 100%; }

  .site-header .inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .product {
    padding: 1.1rem 1rem;
  }

  .alt-table-wrap table {
    table-layout: auto;
  }

  .alt-table-wrap thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .alt-table-wrap tr,
  .alt-table-wrap td {
    display: block;
    width: 100%;
  }

  .alt-table-wrap tr {
    padding: 0.85rem 0.9rem;
    border-bottom: 1px solid var(--border);
  }

  .alt-table-wrap tr:last-child {
    border-bottom: none;
  }

  .alt-table-wrap td {
    padding: 0.15rem 0;
    border-bottom: none;
  }

  .alt-table-wrap td:first-child {
    font-weight: 600;
    color: var(--ink);
  }
}
