/** @format */

:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --text: #1f1f1f;
  --muted: #666;
  --line: #ddd6c9;
  --accent: #3b6cf0;
  --accent-dark: #2347a8;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.narrow {
  width: min(760px, 92vw);
}

.site-header {
  padding: 72px 0 48px;
  background: linear-gradient(180deg, #fff7e8 0%, #f7f4ee 100%);
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-size: 0.85rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  margin: 0.2em 0;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.4em;
}

.lede {
  font-size: 1.2rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  justify-content: center;
}

.button {
  display: inline-block;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.button-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}

.section {
  padding: 56px 0;
  text-align: center;
}

.section.alt {
  background: #efe8db;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step,
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step {
  text-align: left;
  padding: 40px 32px;
}

.step h3 {
  font-size: 1.3rem;
  margin-top: 0;
}

.step p {
  font-size: 1.1rem;
  line-height: 1.7;
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.15rem);
  line-height: 1.05;
  margin: 0;
}

.section-head p {
  margin: 0.6rem 0 0;
  font-size: 1.15rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.thumb img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

.card-body {
  padding: 16px 16px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-body p:not(.card-type) {
  margin: 0;
  text-align: left;
  min-height: 6.4em;
}

.card-type {
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
  text-align: center;
}

.card-body h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 1.75rem);
  line-height: 1.12;
  text-align: center;
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 0;
  justify-content: center;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.85rem;
  background: #faf7f1;
}

.links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2px;
}

.links a {
  color: var(--accent-dark);
  font-weight: bold;
  text-decoration: none;
}

.site-footer {
  text-align: center;
  padding: 36px 0 60px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .steps,
  .grid {
    grid-template-columns: 1fr;
  }

  .card-body p:not(.card-type) {
    min-height: 0;
  }
}
