:root{
  /* Your palette */
  --c1: #C9B59C;
  --c2: #D9CFC7;
  --c3: #EFE9E3;
  --c4: #F9F8F6;
  --c5: #DEDED1;
  --c6: #C5C7BC;
  --c7: #B6AE9F;

  /* Theme mapping */
  --bg: var(--c4);
  --surface: var(--c3);
  --surface-2: var(--c5);
  --text: #2b2b2b;
  --muted: #5a5a5a;
  --border: rgba(0,0,0,.12);
  --accent: #3b3b3b;

  --btn: var(--c1);
  --btnHover: var(--c7);
  --btnText: #1f1f1f;
}

*{ box-sizing: border-box; }

body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* ---------- Banner ---------- */
.banner{
  position: relative;
  width: 100%;
  height: min(360px, 46vw);
  min-height: 220px;
  overflow: hidden;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.banner-stage{
  position: absolute;
  inset: 0;
}

.banner-stage img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transform: translateX(18px) scale(1.03);
  transition: opacity 520ms ease, transform 650ms ease;

  filter: saturate(1.02) contrast(1.02);
}

.banner-stage img.is-active{
  opacity: 1;
  transform: translateX(0) scale(1.02);
}

.banner::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to bottom,
    rgba(249,248,246,.12) 0%,
    rgba(249,248,246,.10) 40%,
    rgba(0,0,0,.25) 100%
  );
  pointer-events: none;
}

.banner-content{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  z-index: 2;
}

.banner-title{
  background: rgba(249,248,246,.80);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 12px 14px;
  max-width: 70ch;
  box-shadow: 0 14px 40px rgba(0,0,0,.10);
}

.banner-title h1{
  margin: 0 0 6px 0;
  font-size: clamp(18px, 2.4vw, 28px);
  letter-spacing: .2px;
}

.banner-title p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.banner-meta{
  margin-top: 10px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(239,233,227,.75);
  color: var(--muted);
  font-size: 12px;
}

/* Buttons */
.btns{
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: end;
}

/* IMPORTANT: style both <button class="btn"> and <a class="btn"> */
.btn{
  appearance: none;
  border: 1px solid var(--border);
  background: var(--btn);
  color: var(--btnText);
  font-weight: 750;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .08s ease, background .15s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  white-space: nowrap;
  text-decoration: none;     /* for <a> */
  display: inline-flex;      /* for <a> */
  align-items: center;       /* for <a> */
  justify-content: center;   /* for <a> */
}

.btn:hover{ background: var(--btnHover); }
.btn:active{ transform: translateY(1px); }

/* Slightly emphasize the "Open App" button */
.btn-primary{
  border-color: rgba(0,0,0,.18);
  box-shadow: 0 14px 34px rgba(0,0,0,.14);
}

/* ---------- Navbar ---------- */
.navbar{
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(249,248,246,.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav-wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: .3px;
}

.brand-badge{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c1), var(--c6));
  border: 1px solid var(--border);
}

.nav-links{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links a{
  text-decoration: none;
  color: var(--accent);
  font-weight: 650;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.nav-links a:hover{
  border-color: var(--border);
  background: var(--surface);
}

/* CTA-style nav link */
.nav-links a.nav-cta{
  border-color: rgba(0,0,0,.14);
  background: rgba(201,181,156,.35);
}

/* ---------- Page content ---------- */
.wrap{
  max-width: 1100px;
  margin: 18px auto;
  padding: 0 18px 40px;
}

.cards{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.card{
  grid-column: span 12;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,.06);
}

@media (min-width: 820px){
  .card{ grid-column: span 6; }
}

.card h2{
  margin: 0 0 8px 0;
  font-size: 16px;
}

.card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}
