:root{
  --bg: #f2f3f5;
  --text: #1f2937;
  --muted: #4a5568;
  --accent: #2d3748;
  --subtle: #e5e7eb;
  --panel: #ffffff;
  --muted-2: #6b7280;
  --soft: #eef1f5;
  --primary: #2d3748;
  --btn-border: #d1d5db;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  padding: 20px 0;
  background: transparent;
}

main { padding: 40px 0 0; }
.hero {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 36px;
}
.hero h1 {
  font-weight: 800;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.5px;
  color: #222;
  margin-bottom: 18px;
}
.hero .sub {
  color: var(--muted-2);
  font-size: clamp(15px, 2.2vw, 18px);
  max-width: 820px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

.search-wrap {
  display: flex;
  justify-content: center;
  margin: 18px 0 22px;
}
.search {
  position: relative;
  width: min(880px, 92vw);
}
.search input {
  width: 100%;
  height: 48px;
  border-radius: 28px;
  border: 1px solid #d8dde5;
  background: #fff;
  padding: 0 18px 0 46px;
  font-size: 15px;
  color: #111827;
  box-shadow: inset 0 1px 0 rgba(0,0,0,0.02), 0 1px 0 rgba(255,255,255,0.4);
}
.search input::placeholder { color: #9aa3af; }
.search .icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  opacity: .6;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 6px;
}
.pill-btn {
  background: #fff;
  border: 1px solid var(--btn-border);
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 14px;
  color: #111827;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.pill-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0,0,0,0.06); }

.how {
  background: var(--soft);
  margin-top: 42px;
  padding: 48px 0 64px;
}
.how .title {
  text-align: center;
  font-family: inherit; /* Use 'Playfair Display' from main.css */
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  color: #222;
  margin-bottom: 28px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto 30px;
}
.step {
  text-align: center;
  padding: 10px 16px;
}
.num {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: #2f333c;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
}
.step h3 {
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 10px;
  letter-spacing: .2px;
}
.step p {
  color: #6b7280;
  line-height: 1.6;
  max-width: 360px;
  margin: 0 auto;
  font-size: 14.5px;
}
.cta-wrap { display: flex; justify-content: center; margin-top: 18px; }
.primary-cta {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 22px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(17,24,39,0.15);
  transition: transform .08s ease, box-shadow .2s ease, opacity .2s ease;
}
.primary-cta:hover { transform: translateY(-1px); box-shadow: 0 16px 30px rgba(17,24,39,0.18); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .how { padding: 40px 0 56px; }
}
@media (max-width: 768px) {
  .pill-btn { padding: 10px 16px; }
}
