/* ---------------------------------------------------------------
   Placekind — plain stylesheet
   No framework, no design-system tokens, system fonts only.
   --------------------------------------------------------------- */

:root {
  --text:        #1c1c1a;
  --text-muted:  #6a6a63;
  --bg:          #ffffff;
  --bg-warm:     #f6f4ef;
  --bg-card:     #faf9f6;
  --bg-tile:     #f1efe9;
  --brand:       #008070; /* bottlecrm brand teal-green */
  --brand-dark:  #006b5e; /* hover state */
  --bg-dark:     var(--brand);
  --on-dark:     #f1f7f6;
  --accent:      #a4593c;
  --border:      #e2ded4;
  --radius:      12px;
  --radius-lg:   20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 600; }
p { margin: 0; }

/* ---------- Layout ---------- */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }

.section-warm { background: var(--bg-warm); }
.section-card { background: var(--bg-card); }
.section-dark { background: var(--bg-dark); color: var(--on-dark); }

.bordered-bottom { border-bottom: 1px solid var(--border); }
.bordered-y      { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.grid { display: grid; gap: 40px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px;
  align-items: center;
}

/* ---------- Header ---------- */

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 24px;
}

.brand {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--on-dark);
  text-decoration: none;
}

.main-nav { display: flex; align-items: center; gap: 32px; }

.main-nav a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.main-nav a:hover { color: #fff; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  height: 52px;
  padding: 0 40px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  /* Anchors carrying .btn (e.g. the Login link) would otherwise be underlined
     and inherit the link colour. */
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s, color 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-sm { height: 44px; padding: 0 32px; font-size: 12px; }

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }

.btn-light { background: rgba(255, 255, 255, 0.95); color: var(--text); }
.btn-light:hover { background: #fff; }

.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { background: var(--bg-tile); }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

.spaced { margin-top: 32px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 92vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0.35));
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 92vh;
  padding-top: 160px;
  padding-bottom: 80px;
  color: #fff;
}

.hero-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.8);
}

.hero h1 {
  max-width: 800px;
  margin-top: 20px;
  font-size: 60px;
  line-height: 1.05;
}

.hero-lead {
  max-width: 640px;
  margin-top: 24px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}

.hero .button-row { margin-top: 36px; }

/* ---------- Section headings ---------- */

.section-head { max-width: 640px; }

.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-muted);
}

.eyebrow-invert { color: rgba(241, 247, 246, 0.7); }

.section h2 {
  margin-top: 16px;
  font-size: 36px;
  line-height: 1.2;
}

.prose {
  margin-top: 24px;
  display: grid;
  gap: 16px;
  color: var(--text-muted);
}

.lead-invert {
  max-width: 580px;
  margin-top: 24px;
  color: rgba(241, 247, 246, 0.85);
}

/* ---------- Numbered grid ---------- */

.numbered-grid { margin-top: 56px; }

.numbered-item {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.num {
  font-size: 14px;
  color: var(--accent);
}

.numbered-item h3 {
  margin-top: 12px;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.numbered-item p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- Images ---------- */

.rounded-image {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

/* ---------- Feature cards ---------- */

.card-grid { margin-top: 64px; }

.feature-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.feature-media img {
  width: 100%;
  height: 256px;
  object-fit: cover;
  transition: transform 0.7s;
}

.feature:hover .feature-media img { transform: scale(1.05); }

.feature h3 {
  margin-top: 24px;
  font-size: 20px;
}

.accent { color: var(--accent); }

.feature p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.feature-link {
  margin-top: 20px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent) !important;
}

/* ---------- Tiles ---------- */

.tile-grid { margin-top: 56px; gap: 32px 40px; }

.tile {
  background: var(--bg-tile);
  border-radius: var(--radius);
  padding: 24px;
}

.tile h3 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.tile p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-self: center;
  margin: 0;
}

.stats dt { font-size: 40px; font-weight: 600; line-height: 1.1; }

.stats dd {
  margin: 8px 0 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(241, 247, 246, 0.75);
}

/* ---------- Quote ---------- */

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

.quote-block blockquote {
  margin: 0;
  font-size: 28px;
  line-height: 1.3;
}

.quote-attrib {
  margin-top: 24px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

/* ---------- CTA ---------- */

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 64px;
}

.cta-text { max-width: 640px; }

.cta h2 { font-size: 36px; line-height: 1.2; }

.cta-text p {
  margin-top: 16px;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--border); }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.footer-brand { font-size: 16px; font-weight: 600; }

.footer-desc {
  max-width: 448px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-copy { font-size: 12px; color: var(--text-muted); }

/* ---------- Responsive ---------- */

@media (max-width: 1023px) {
  .main-nav { display: none; }
  .section { padding: 64px 0; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 44px; }
  .cta { padding: 40px; }
}

@media (max-width: 767px) {
  .grid-3 { grid-template-columns: 1fr; }
  .tile-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .hero-lead { font-size: 16px; }
  .section h2, .cta h2 { font-size: 28px; }
  .quote-block blockquote { font-size: 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .btn { padding: 0 28px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
}
