/* ReturnMePlz Design System — per Brand Asset Pack V2
   Teal #17B8B0 (provisional confirmed) | Dark Teal #0F6E69 | Warm Yellow #FFC857
   Light Grey #F2F4F5 | Charcoal #1F2933 | Poppins headings / Inter body */

:root {
  --teal: #17B8B0;
  --dark-teal: #0F6E69;
  --yellow: #FFC857;
  --white: #FFFFFF;
  --grey: #F2F4F5;
  --charcoal: #1F2933;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(31, 41, 51, 0.08);
  --shadow-lg: 0 12px 40px rgba(31, 41, 51, 0.12);
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; line-height: 1.2; }
h1 { font-weight: 700; font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-weight: 700; font-size: clamp(1.5rem, 3.5vw, 2.25rem); color: var(--dark-teal); }
h3 { font-weight: 600; font-size: 1.2rem; }

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

/* ---------- Nav ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--grey);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: stretch; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-icon { height: 40px; width: auto; display: block; }
.logo-text { display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.logo-wordmark { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.5rem; letter-spacing: -0.025em; line-height: 1; white-space: nowrap; }
.wm-teal { color: var(--teal); }
.wm-yellow { color: var(--yellow); }
/* Absolute positioning removes tagline from layout flow so it never widens .logo-text beyond the wordmark */
.logo-tagline { position: absolute; bottom: 0; left: 1px; font-family: 'Patrick Hand', cursive; font-size: 0.65rem; line-height: 1; color: var(--teal); white-space: nowrap; transform: skewX(-9deg); transform-origin: bottom left; }
.logo-img-footer { height: 34px; display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--charcoal); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--teal); }
.nav-cta { display: flex; gap: 12px; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; transition: all .15s ease; cursor: pointer; border: none;
  white-space: nowrap;
}
.btn-primary { background: var(--teal); color: var(--white); border: 2px solid transparent; }
.btn-primary:hover { background: var(--dark-teal); }
.btn-secondary { background: transparent; color: var(--dark-teal); border: 2px solid var(--dark-teal); }
.btn-secondary:hover { background: var(--dark-teal); color: var(--white); }
.btn-yellow { background: var(--yellow); color: var(--charcoal); }
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--dark-teal); margin-bottom: 20px; }
.hero .sub { font-size: 1.2rem; color: var(--charcoal); margin-bottom: 32px; max-width: 30em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.accent-underline { position: relative; white-space: nowrap; }
.accent-underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 3px;
  background: var(--yellow); z-index: -1; border-radius: 999px;
}

/* ---------- Placeholder media ---------- */
.placeholder {
  background: linear-gradient(135deg, var(--grey), #e2ecec);
  border: 2px dashed var(--teal); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: var(--dark-teal); text-align: center; padding: 24px;
  font-size: .9rem; font-weight: 500;
}
.placeholder small { color: #5a6b73; font-weight: 400; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-grey { background: var(--grey); }
.section-dark { background: var(--dark-teal); color: var(--white); }
.section-dark h2 { color: var(--white); }
.kicker {
  display: inline-block; font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 10px;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head p { margin-top: 12px; color: #46555e; }
.section-dark .section-head p { color: rgba(255,255,255,.85); }

/* ---------- Cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow);
}
.card h3 { color: var(--dark-teal); margin: 14px 0 8px; }
.card p { font-size: .93rem; color: #46555e; }
.card .btn { margin-top: 18px; }

/* Step cards */
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--teal);
  color: var(--white); font-family: 'Poppins', sans-serif; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}

/* Icon chip */
.icon-chip {
  width: 52px; height: 52px; border-radius: 14px; background: rgba(23,184,176,.12);
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Belief strip ---------- */
.belief {
  background: var(--dark-teal); color: var(--white); text-align: center; padding: 40px 24px;
}
.belief p {
  font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}
.belief .yellow { color: var(--yellow); }

/* ---------- Story cards ---------- */
.story-quote { font-size: 1rem; color: var(--charcoal); font-style: italic; margin: 14px 0; }
.story-meta { font-size: .85rem; color: #5a6b73; }
.badge-example {
  display: inline-block; background: var(--yellow); color: var(--charcoal);
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border: 1.5px solid #d6dee0; border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif; font-size: 1rem; color: var(--charcoal); background: var(--white);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--teal); border-color: var(--teal); }

.code-input {
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.4rem !important;
  letter-spacing: .35em; text-align: center; text-transform: uppercase;
}

/* ---------- FAQ ---------- */
details {
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  margin-bottom: 14px; padding: 20px 24px;
}
details summary {
  font-family: 'Poppins', sans-serif; font-weight: 600; cursor: pointer;
  color: var(--dark-teal); list-style: none; display: flex; justify-content: space-between; align-items: center;
}
details summary::after { content: "+"; font-size: 1.4rem; color: var(--teal); }
details[open] summary::after { content: "–"; }
details p { margin-top: 12px; color: #46555e; font-size: .95rem; }

/* ---------- Footer ---------- */
footer { background: var(--charcoal); color: rgba(255,255,255,.8); padding: 56px 0 32px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; margin-bottom: 40px; }
footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 14px; }
footer ul { list-style: none; }
footer li { margin-bottom: 8px; }
footer a { color: rgba(255,255,255,.8); text-decoration: none; }
footer a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.finder-box { background: rgba(23,184,176,.15); border-radius: var(--radius-sm); padding: 16px; }
.finder-box strong { color: var(--yellow); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--grey); padding: 64px 0; text-align: center; }
.page-hero h1 { color: var(--dark-teal); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-hero p { max-width: 560px; margin: 14px auto 0; color: #46555e; font-size: 1.05rem; }

/* ---------- Carousel ---------- */
.carousel {
  position: relative; border-radius: var(--radius); overflow: hidden;
  height: 420px; background: var(--grey);
}
.carousel-track {
  display: flex; height: 100%;
  transition: transform 0.5s ease;
}
.carousel-slide {
  min-width: 100%; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.9); border: none; border-radius: 50%;
  width: 40px; height: 40px; font-size: 1.6rem; line-height: 1;
  cursor: pointer; color: var(--dark-teal);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); transition: background .15s; z-index: 2;
}
.carousel-btn:hover { background: var(--white); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.5); border: none; cursor: pointer; padding: 0;
  transition: background .15s;
}
.carousel-dot.active { background: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .grid-4, .grid-3, .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .hero-grid, .grid-4, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; }
  section { padding: 52px 0; }
  .nav-cta { display: none; }
}
