.home-setup {
  --setup-line: #e6cdb7;
  --setup-brown: #512b19;
  --setup-green: #3c622e;
  color: var(--setup-brown);
  overflow-wrap: anywhere;
}
.home-setup h1 {
  font-family: Baskerville, Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.15rem, 9.7vw, 2.95rem);
  line-height: 1.06;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.home-setup-list h1 {
  margin: .32rem 0 .7rem;
  padding: .7rem .9rem .8rem;
  border-radius: 12px;
  background: #f7e2d6;
}
.home-setup-intro {
  display: grid;
  grid-template-columns: minmax(0, 28%) minmax(0, 1fr);
  gap: clamp(.45rem, 3vw, .85rem);
  align-items: center;
}
.home-setup-intro figure {
  margin: 0;
  text-align: center;
}
.home-setup-mom {
  display: block;
  width: min(100%, 100px);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}
.home-setup-intro figcaption {
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.2;
  max-width: 8ch;
  margin: .18rem auto 0;
}
.home-setup-intro p {
  position: relative;
  background: #f8e2d7;
  border-radius: 15px;
  font-size: 1.04rem;
  line-height: 1.38;
  color: #3c261a;
  padding: .72rem .85rem;
}
.home-setup-intro p::before {
  content: '';
  position: absolute;
  top: 42%;
  left: -8px;
  border: solid transparent;
  border-width: 6px 9px 6px 0;
  border-right-color: #f8e2d7;
}
.home-setup-invite {
  text-align: center;
  border-top: 1px solid var(--setup-line);
  margin-top: .85rem;
  padding: .6rem .25rem;
  font-size: 1rem;
  line-height: 1.4;
}
.home-setup-cards {
  display: grid;
  gap: .34rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.home-setup-card {
  display: grid;
  grid-template-columns: minmax(0, 34%) minmax(0, 1fr) .65rem;
  align-items: center;
  gap: .6rem;
  width: 100%;
  min-height: 4.55rem;
  padding: .18rem .85rem .18rem .3rem;
  background: #fff8ef;
  border: 1px solid var(--setup-line);
  border-radius: 11px;
  text-align: left;
}
.home-setup-card:has(.home-setup-saved) {
  background: #f1efde;
}
.home-setup-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.64;
  object-fit: contain;
}
.home-setup-label {
  font-size: clamp(1.05rem, 4.6vw, 1.32rem);
  font-weight: 730;
  line-height: 1.18;
  letter-spacing: -.025em;
}
.home-setup-chevron {
  width: .57rem;
  height: .57rem;
  border: solid #754327;
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
}
.home-setup-saved {
  color: var(--setup-green);
  font-weight: 720;
}
.home-setup-saved > span {
  font-weight: 850;
}
.home-setup-card .home-setup-saved, .home-setup-pending {
  display: block;
  margin-top: .14rem;
  font-size: .87rem;
  line-height: 1.3;
  letter-spacing: 0;
}
.home-setup-reference {
  text-align: center;
  padding: .7rem .2rem;
  font-size: .9rem;
  line-height: 1.3;
}
.shell:has(.home-setup-detail) > header {
  display: none;
}
.home-setup-detail > .back {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: 0 .3rem;
  margin: 0 0 .3rem;
  font-weight: 550;
}
.home-setup-detail > .back span {
  font-size: 1.65em;
}
.home-setup-detail h1 {
  margin: .25rem .25rem .45rem;
}
.home-setup-hero {
  display: block;
  width: 100%;
  aspect-ratio: 460 / 384;
  object-fit: contain;
  max-height: 22rem;
}
.home-setup-why, .home-setup-steps {
  font-size: clamp(1.035rem, 4.5vw, 1.24rem);
  line-height: 1.37;
}
.home-setup-why {
  margin: .55rem .25rem .8rem;
}
.home-setup-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid var(--setup-line);
}
.home-setup-steps li {
  display: grid;
  grid-template-columns: 1.8em minmax(0, 1fr);
  align-items: start;
  gap: .7rem;
  padding: .68rem .32rem;
  border-top: 1px solid var(--setup-line);
}
.home-setup-steps li > span {
  display: grid;
  place-items: center;
  width: 1.7em;
  aspect-ratio: 1;
  background: #6d764a;
  color: white;
  border-radius: 50%;
  font-weight: 700;
  line-height: 1;
}
.home-setup-actions {
  display: grid;
  gap: .65rem;
  padding-top: 1rem;
  border-top: 1px solid var(--setup-line);
}
.home-setup-actions .primary {
  margin: 0;
  font-size: clamp(1.06rem, 4.7vw, 1.25rem);
  min-height: 48px;
}
.home-setup-quiet {
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: .16em;
  font-size: 1rem;
}
.home-setup-reminder {
  text-align: center;
  line-height: 1.4;
}
.home-setup-completed {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .3rem .65rem;
  padding: .45rem .6rem .45rem .9rem;
  background: #eeecd5;
  border-radius: 12px;
}
.home-setup-completed button {
  min-height: 44px;
  border: 1px solid #814b2a;
  border-radius: 9px;
  padding: .25rem .85rem;
  background: #fff9f0;
  font-weight: 650;
}
