@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700&family=DM+Sans:wght@300;400;500;600&display=swap");

:root {
  --green: #1d9e75;
  --green-dark: #158c63;
  --green-light: #e1f5ee;
  --green-text: #0f6e56;
  --blue-light: #e6f1fb;
  --blue-text: #185fa5;
  --amber-light: #fef3e2;
  --amber-text: #92400e;
  --pink-light: #fbeaf0;
  --warn-bg: #fffbeb;
  --warn-border: #fcd34d;
  --warn-text: #78350f;

  --bg: #f4f5f4;
  --bg-card: #ffffff;
  --bg-muted: #f9fafa;

  --text: #111827;
  --text-2: #4b5563;
  --text-3: #9ca3af;

  --border: #e5e7eb;
  --border-2: #d1d5db;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* ── Layout wrapper ── */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Nav ── */
nav {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--text);
  text-decoration: none;
}
.logo span {
  color: var(--green);
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--text);
}
.nav-cta {
  background: var(--green);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.15s;
}
.nav-cta:hover {
  background: var(--green-dark) !important;
}

/* ── Warning bar ── */
.warn-bar {
  background: var(--warn-bg);
  border-bottom: 1px solid var(--warn-border);
  padding: 10px 0;
}
.warn-bar .wrap {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.warn-icon {
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}
.warn-bar p {
  font-size: 13px;
  color: var(--warn-text);
  line-height: 1.55;
}
.warn-bar strong {
  font-weight: 600;
}

/* ── Hero ── */
.hero {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 72px 0 60px;
  text-align: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-light);
  color: var(--green-text);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 640px;
  margin: 0 auto 16px;
  letter-spacing: -0.5px;
  color: var(--text);
}
.hero h1 em {
  color: var(--green);
  font-style: normal;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 500px;
  margin: 0 auto 10px;
  line-height: 1.65;
}
.hero-note {
  font-size: 13px;
  color: var(--text-3);
  max-width: 460px;
  margin: 0 auto 32px;
  font-style: italic;
}
.hero-search {
  display: flex;
  max-width: 540px;
  margin: 0 auto 14px;
  gap: 10px;
}
.hero-search input {
  flex: 1;
  padding: 14px 18px;
  border: 1.5px solid var(--border-2);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: "DM Sans", sans-serif;
  background: var(--bg-muted);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}
.hero-search input:focus {
  border-color: var(--green);
  background: #fff;
}
.hero-search button {
  background: var(--green);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  transition: background 0.15s;
  white-space: nowrap;
}
.hero-search button:hover {
  background: var(--green-dark);
}
.hints {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 540px;
  margin: 0 auto;
}
.hint {
  font-size: 13px;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  color: var(--text-2);
  cursor: pointer;
  background: var(--bg-card);
  transition:
    border-color 0.15s,
    color 0.15s;
}
.hint:hover {
  border-color: var(--green);
  color: var(--green);
}

/* ── Brands strip ── */
.brands-strip {
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.brands-strip .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brands-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.brand-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.brand-pill {
  font-size: 13px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  background: var(--bg-card);
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.15s;
}
.brand-pill:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-light);
}

/* ── Section header ── */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0 0;
}
.section-title {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 600;
}
.section-more {
  font-size: 14px;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
}
.section-more:hover {
  text-decoration: underline;
}

/* ── Filter chips ── */
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 16px 0 4px;
}
.chip {
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  cursor: pointer;
  color: var(--text-2);
  background: var(--bg-card);
  transition: all 0.15s;
}
.chip.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.chip:hover:not(.active) {
  border-color: var(--green);
  color: var(--green);
}

/* ── Cards grid ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  padding: 16px 0 8px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition:
    box-shadow 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--border-2);
  transform: translateY(-2px);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.card-icon.green {
  background: var(--green-light);
}
.card-icon.blue {
  background: var(--blue-light);
}
.card-icon.amber {
  background: var(--amber-light);
}
.card-icon.pink {
  background: var(--pink-light);
}
.card-type {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.card h3 {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 12px;
  color: var(--text);
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-company {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
}
.card-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border-2);
}
.card-time {
  font-size: 12px;
  color: var(--text-3);
}

/* ── Featured ── */
.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px 0 8px;
}
.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition:
    box-shadow 0.2s,
    border-color 0.2s,
    transform 0.2s;
  display: flex;
  flex-direction: column;
}
.feat-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--border-2);
  transform: translateY(-2px);
}
.feat-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  width: fit-content;
}
.feat-tag.guide {
  background: var(--blue-light);
  color: var(--blue-text);
}
.feat-tag.steps {
  background: var(--amber-light);
  color: var(--amber-text);
}
.feat-tag.how-to {
  background: var(--green-light);
  color: var(--green-text);
}
.feat-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--text);
}
.feat-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}
.feat-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.feat-company {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
}
.feat-read {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
}

/* ── Steps section ── */
.steps-wrap {
  padding: 16px 0 8px;
}
.steps-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.steps-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.steps-head h3 {
  font-family: "Playfair Display", serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
}
.steps-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-light);
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.step-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.step-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-text);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-content p {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}
.step-content span {
  font-size: 13px;
  color: var(--text-2);
}

/* ── Disclaimer box ── */
.disc-box {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 8px 0 16px;
}
.disc-box p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}
.disc-box strong {
  font-weight: 600;
  color: var(--text);
}

/* ── Footer ── */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: 16px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  gap: 48px;
}
.footer-logo {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.footer-logo span {
  color: var(--green);
}
.footer-brand p {
  font-size: 13px;
  color: var(--text-3);
  max-width: 240px;
  line-height: 1.6;
}
.footer-nav {
  display: flex;
  gap: 48px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-3);
  text-decoration: none;
  margin-bottom: 8px;
}
.footer-col a:hover {
  color: var(--text-2);
}
.footer-disc {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.65;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-3);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 13px;
  color: var(--text-3);
  text-decoration: none;
}
.footer-legal a:hover {
  color: var(--text-2);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero-sub {
    font-size: 15px;
  }
  .hero-search {
    flex-direction: column;
  }
  .featured {
    grid-template-columns: 1fr;
  }
  .footer-top {
    flex-direction: column;
  }
  .footer-nav {
    flex-wrap: wrap;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .wrap,
  .nav-inner,
  .footer-inner {
    padding: 0 16px;
  }
  .hero {
    padding: 48px 0 40px;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
}
