
/* Button elements & Arrow styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 20px;
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  transition: transform .25s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 1px;
  color: inherit;
  transition: transform .25s ease;
}
.btn .arrow svg {
  display: block;
  width: 14px;
  height: 14px;
}
.btn-primary .arrow { color: #fff }
.btn-yellow .arrow { color: var(--ink) }
.btn-soft .arrow { color: var(--ink) }
.btn:hover .arrow { transform: translate(3px,-3px) rotate(-12deg); }

.page-hero {
  padding: 72px 0 40px;
  text-align: center;
  background: var(--bg);
}
.page-hero .eyebrow {
  margin-bottom: 28px;
  font-size: 13px;
  letter-spacing: 0.39px;
}
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(40px, 5.6vw, 80px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 auto 28px;
  max-width: 900px;
  color: var(--ink);
}
.page-hero .lead {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 619px;
  margin: 0 auto 28px;
}
.page-hero .meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  box-shadow: var(--shadow-xs);
}
.page-hero .meta .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink-4);
}

.overview {
  padding: 48px 0 80px;
  background: var(--bg);
}
.overview .pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: flex-start;
}
.pillar-card {
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 22px;
  padding: 34px 29px;
  box-shadow: var(--shadow-xs);
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.pillar-card:nth-child(1) { transform: rotate(-1deg); }
.pillar-card:nth-child(2) { transform: rotate(1deg) translateY(24px); }
.pillar-card:nth-child(3) { transform: rotate(0deg); }
.pillar-card:nth-child(4) { transform: rotate(1deg) translateY(24px); }
.pillar-card:hover,
.pillar-card:focus-within,
.pillar-card.is-active {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: rotate(0deg) translateY(-6px);
  z-index: 1;
}
.pillar-card .num {
  width: 48px;
  height: 48px;
  background: var(--tint);
  border: 1px solid var(--accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}
.pillar-card .label {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.75px;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 10px;
  display: block;
}
.pillar-card h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--ink);
}
.pillar-card .desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.54;
  margin: 0 0 20px;
}
.pillar-card .card-foot {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px dashed var(--rule-3);
}
.pillar-card .jump {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  /* margin-top: 8px; */
  font-size: 12px;
  font-weight: 700;
  color: #211F1B;
  transition: color .2s ease;
}
.pillar-card .jump .arr {
  font-size: 15px;
  display: inline-block;
  transform: rotate(-8deg);
  transition: transform .2s ease;
}
.pillar-card .jump:hover {
  color: var(--accent-deep);
}
.pillar-card .jump:hover .arr {
  transform: translate(2px,-2px) rotate(-16deg);
}

section.feature-band {
  padding: 96px 0;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 100px;
}
section.feature-band.tint {
  background: var(--tint-soft);
}
section.feature-band .feature-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
section.feature-band.flip .feature-row {
  grid-template-columns: 1.1fr 1fr;
}
section.feature-band.flip .feature-text { order: 2; }
section.feature-band.flip .feature-visual { order: 1; }
section.feature-band .feature-text .eyebrow {
  margin-bottom: 24px;
}
section.feature-band .feature-text h2 {
  font-family: var(--display);
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  max-width: 511px;
}
section.feature-band .feature-text h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--ink-2);
  font-family: var(--sans);
}
section.feature-band .feature-text .lead {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 36px;
  max-width: 511px;
}
.step-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
  max-width: 465px;
}
.step-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: start;
}
.step-item > div {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}
.step-num {
  width: 36px;
  height: 36px;
  background: var(--tint);
  border: 1px solid var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  transform: rotate(-2deg);
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}
.step-item .t {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 3px;
  overflow-wrap: break-word;
  word-break: break-word;
}
.step-item .s {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink-2);
  margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

section.feature-band .feature-visual {
  position: relative;
  max-width: 100%;
}
section.feature-band .feature-photo {
  aspect-ratio: 608/729;
  max-height: 729px;
  max-width: 100%;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(135deg,#e8d4c4,#a87f5a);
  box-shadow: 0 8px 20px rgba(24,22,18,0.08);
}
section.feature-band .feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
section.feature-band .float-card {
  position: absolute;
  background: var(--paper);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--rule);
}
section.feature-band .float-tl {
  top: -16px;
  left: -20px;
  transform: rotate(-3deg);
}
section.feature-band .float-br {
  bottom: -20px;
  right: -20px;
  transform: rotate(1deg);
}
section.feature-band .float-card .ic {
  width: 33px;
  height: 33px;
  background: var(--tint);
  border: 1px solid var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-weight: 800;
  color: var(--ink);
  font-size: 14px;
}
section.feature-band .float-card .t {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
section.feature-band .float-card .s {
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 4px;
  line-height: 1.6;
}
section.feature-band .float-card.dark {
  background: var(--ink);
  border-color: var(--ink);
}
section.feature-band .float-card.dark .t {
  color: #fff;
}
section.feature-band .float-card.dark .s {
  color: #A8A79F;
}
section.feature-band .float-card.dark .ic {
  background: rgba(255,204,0,0.15);
  border-color: var(--accent);
  color: var(--accent);
}

.page-how-it-works .closer {
  padding: 140px 0 130px;
  background: var(--tint);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--rule);
}
.page-how-it-works .closer::before, .page-how-it-works .closer::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(200px);
  opacity: 0.55;
  pointer-events: none;
}
.page-how-it-works .closer::before {
  top: -271px;
  left: -271px;
  width: 542px;
  height: 542px;
}
.page-how-it-works .closer::after {
  bottom: -200px;
  right: -200px;
  width: 542px;
  height: 542px;
}
.page-how-it-works .closer-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 807px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.page-how-it-works .closer .sticker {
  margin-bottom: 32px;
  background: var(--ink);
  color: var(--accent);
}
.page-how-it-works .closer h2 {
  font-family: var(--display);
  font-size: clamp(48px, 6.4vw, 96px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  color: var(--ink);
}
.page-how-it-works .closer h2 em {
  font-style: italic;
  font-weight: 500;
  font-family: var(--sans);
}
.page-how-it-works .closer .lead {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 577px;
  margin: 0 auto 40px;
}
.page-how-it-works .closer .ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.page-how-it-works .closer .ctas .btn-yellow {
  padding: 19px 24px;
}
.page-how-it-works .closer .ctas .btn-soft {
  padding: 19px 28px;
  border-radius: 14px;
}
.page-how-it-works .closer .meta {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .overview .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillar-card:nth-child(2),
  .pillar-card:nth-child(4) {
    transform: rotate(0deg) translateY(0);
  }
  .pillar-card.is-active {
    transform: translateY(-4px);
  }
  section.feature-band .feature-row,
  section.feature-band.flip .feature-row {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  section.feature-band.flip .feature-text,
  section.feature-band.flip .feature-visual {
    order: unset;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
  }
  .page-hero {
    padding: 48px 0 32px;
  }
  .page-hero h1 {
    font-size: clamp(36px, 9vw, 48px);
  }
  .page-hero .lead {
    font-size: 17px;
  }
  .overview {
    padding: 32px 0 56px;
  }
  .overview .pillars {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 360px;
    margin: 0 auto;
  }
  .pillar-card,
  .pillar-card:nth-child(n) {
    transform: none !important;
  }
  section.feature-band {
    padding: 72px 0;
  }
  section.feature-band .feature-text h2 {
    font-size: 34px;
  }
  section.feature-band .float-tl {
    top: -12px;
    left: -8px;
  }
  section.feature-band .float-br {
    bottom: -14px;
    right: -8px;
  }
  .page-how-it-works .closer {
    padding: 90px 0 80px;
  }
}
