/* Nestlane — design system
   Cream / warm neutrals + soft sage. Mobile-first. */

:root {
  --cream: #f7f3eb;
  --cream-deep: #efe8dc;
  --paper: #fffcf7;
  --ink: #2c2a26;
  --ink-soft: #5c574f;
  --ink-muted: #7a746a;
  --sage: #6b8f71;
  --sage-deep: #547859;
  --sage-soft: #e4efe6;
  --sage-wash: #f0f5f1;
  --border: #e2d9cc;
  --border-soft: #ebe4d8;
  --accent-warm: #c4a484;
  --shadow: 0 1px 2px rgba(44, 42, 38, 0.04), 0 8px 24px rgba(44, 42, 38, 0.06);
  --shadow-hover: 0 2px 4px rgba(44, 42, 38, 0.06), 0 12px 32px rgba(44, 42, 38, 0.1);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --max: 1080px;
  --space: 1.25rem;
  --focus: 0 0 0 3px var(--sage-soft), 0 0 0 5px var(--sage);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--sage-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

/* —— Site note —— */
.site-note {
  background: var(--sage-deep);
  color: var(--paper);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.55rem 1rem;
}

.site-note span {
  opacity: 0.92;
}

/* —— Header / nav —— */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

.logo span {
  color: var(--sage);
  font-weight: 500;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  display: inline-block;
  padding: 0.4rem 0.7rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}

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

.nav a[aria-current="page"] {
  color: var(--sage-deep);
}

/* —— Layout —— */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

main {
  padding-bottom: 3.5rem;
}

.section {
  padding: 2.75rem 0;
}

.section-tight {
  padding: 2rem 0;
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0 0 0.4rem;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 38rem;
}

/* —— Typography —— */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 36rem;
  margin: 0 0 1.5rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 0.65rem;
}

/* —— Hero —— */
.hero {
  padding: 3rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
  }
}

.hero-panel {
  background: linear-gradient(145deg, var(--sage-soft) 0%, var(--cream-deep) 55%, #f5ebe0 100%);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem 1.75rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow);
}

.hero-panel-label {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  margin: 0 0 0.35rem;
}

.hero-panel p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}

.btn-primary {
  background: var(--sage);
  color: #fff;
  border-color: var(--sage);
}

.btn-primary:hover {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  color: #fff;
}

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--sage);
  color: var(--sage-deep);
  background: var(--sage-wash);
}

.btn-ghost {
  background: transparent;
  color: var(--sage-deep);
  border-color: transparent;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.btn-ghost:hover {
  background: var(--sage-wash);
  color: var(--ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

/* —— Lane cards —— */
.lane-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .lane-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.lane-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.lane-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: #d4cbbd;
}

.lane-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--sage-deep);
  background: var(--sage-soft);
}

.lane-card h3 {
  margin-bottom: 0.5rem;
}

.lane-card p {
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
  flex: 1;
  font-size: 0.98rem;
}

.lane-card .btn {
  align-self: flex-start;
}

/* —— Product cards —— */
.product-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.product-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.product-media {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-media .initials {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: rgba(44, 42, 38, 0.35);
  letter-spacing: 0.04em;
}

/* Placeholder gradients — elegant, no external images */
.ph-1 { background: linear-gradient(145deg, #dce8df 0%, #c5d4c8 100%); }
.ph-2 { background: linear-gradient(145deg, #e8dfd4 0%, #d4c4b0 100%); }
.ph-3 { background: linear-gradient(145deg, #d9e4e8 0%, #b8c9d0 100%); }
.ph-4 { background: linear-gradient(160deg, #efe6d8 0%, #d9cbb8 100%); }
.ph-5 { background: linear-gradient(145deg, #e2e8dc 0%, #c8d4bc 100%); }
.ph-6 { background: linear-gradient(145deg, #e8e0e4 0%, #d0c4ca 100%); }
.ph-7 { background: linear-gradient(145deg, #dde8e4 0%, #b8cfc6 100%); }
.ph-8 { background: linear-gradient(145deg, #ebe4d6 0%, #cfc0a8 100%); }

.product-body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
  margin-bottom: 0.15rem;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-pill);
  background: var(--cream-deep);
  color: var(--ink-soft);
  border: 1px solid var(--border);
}

.badge-pending {
  background: #faf6ee;
  color: #8a6d3b;
  border-color: #e8d9b8;
}

.badge-lane {
  background: var(--sage-wash);
  color: var(--sage-deep);
  border-color: #c5d9c9;
}

.price {
  font-size: 0.875rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.product-body h3 {
  font-size: 1.05rem;
  margin: 0;
}

.product-why {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0 0 0.85rem;
  flex: 1;
}

.product-body .btn {
  width: 100%;
  margin-top: auto;
}

/* —— Trust / disclosure strip —— */
.trust-strip {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .trust-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.trust-item h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

.trust-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* —— Page intro (category / about) —— */
.page-intro {
  padding: 2.5rem 0 1.5rem;
}

.page-intro .lead {
  margin-bottom: 0;
}

/* —— Prose (about / disclosure) —— */
.prose {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 2rem;
  box-shadow: var(--shadow);
  max-width: 42rem;
}

.prose h2 {
  font-size: 1.25rem;
  margin: 1.75rem 0 0.5rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul {
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.callout {
  background: var(--sage-wash);
  border: 1px solid #c5d9c9;
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

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

/* —— Footer —— */
.site-footer {
  background: var(--ink);
  color: #c8c2b8;
  padding: 2.5rem 0 2rem;
  margin-top: auto;
}

.site-footer a {
  color: #e8e2d8;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #fff;
  margin: 0 0 0.4rem;
}

.footer-brand span {
  color: var(--sage);
}

.footer-blurb {
  margin: 0;
  font-size: 0.9rem;
  max-width: 28rem;
  line-height: 1.55;
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.9rem;
}

.footer-meta {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  font-size: 0.8rem;
  color: #9a948a;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
}

/* —— Utility —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

.mt-0 { margin-top: 0; }
