/* ===== Home page ===== */
.home { font-size: 17px; }
.home .app { max-width: 1200px; }

/* The yellow shop sign */
.sign { background: var(--sun); color: var(--green); }
.sign .brand { color: var(--green); }
.sign .brand-mark { background: var(--green); color: var(--sun); box-shadow: none; }
.sign .nav-links a, .sign .nav-account { color: var(--green); }
.sign .btn-ghost { border-color: var(--green); color: var(--green); }
.sign .btn-ghost:hover { background: rgba(15, 77, 58, .08); }
.btn-big { min-height: 56px; padding: 0 26px; font-size: 17px; border-radius: 14px; }

.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; padding: 36px 0 72px; }
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 78%;
  font-size: clamp(64px, 10.5vw, 148px);
  line-height: .88;
  letter-spacing: -.035em;
  word-spacing: .1em;
  color: var(--green);
}
.lede { font-size: 19px; line-height: 1.55; color: var(--ink); max-width: 33em; margin: 26px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 16px 0 0; font-weight: 600; font-size: 15px; }

.hero-art { position: relative; height: 560px; }
.page { position: absolute; width: 794px; transform-origin: top left; border-radius: 4px; overflow: hidden; box-shadow: 0 24px 60px rgba(20, 32, 27, .28); pointer-events: none; background: #fff; }
.page .cv { min-height: 1123px; }
.tag {
  position: absolute; z-index: 3;
  display: grid; place-items: center; align-content: center;
  width: 148px; height: 148px; border-radius: 50%;
  background: var(--green); color: var(--sun);
  transform: rotate(-12deg);
  box-shadow: 0 10px 22px rgba(20, 32, 27, .28), inset 0 0 0 6px var(--green), inset 0 0 0 8px var(--sun);
}
.tag-price { font: 800 50px/1 var(--display); font-stretch: 80%; letter-spacing: -.04em; }
.tag-sub { font-weight: 700; font-size: 14px; margin-top: 2px; }
@media (prefers-reduced-motion: no-preference) {
  .tag { animation: stamp .5s cubic-bezier(.16, 1, .3, 1) .45s both; }
  @keyframes stamp { from { transform: rotate(-30deg) scale(1.6); opacity: 0; } to { transform: rotate(-12deg) scale(1); opacity: 1; } }
}

/* Sections */
.band { padding: 84px 0; }
.band + .band { border-top: 1px solid var(--line); }
.section-lede { max-width: 40em; color: var(--ink-2); margin: -6px 0 32px; font-size: 18px; }

/* Before / after */
.fix-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fix-card { margin: 0; padding: 26px 26px 22px; border-radius: var(--radius); }
.fix-card figcaption { font: 800 20px var(--display); margin-bottom: 14px; }
.fix-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.fix-card li { padding-left: 26px; position: relative; }
.before { background: var(--paper-2); color: var(--ink-2); font-family: "Courier New", monospace; font-size: 15.5px; }
.before figcaption { font-family: var(--display); color: var(--ink); }
.before li::before { content: "–"; position: absolute; left: 6px; }
.after { background: #fff; border: 2px solid var(--green); }
.after li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 14px; height: 14px; border-radius: 50%; background: var(--sun); box-shadow: inset 0 0 0 2px var(--green); }
.struck { text-decoration: line-through; color: var(--ink-2); }
.why { display: block; font-size: 15px; color: var(--green); font-weight: 600; margin-top: 2px; }
.example-note { margin: 14px 0 0; }

/* Designs */
.designs { background: var(--paper-2); }
.designs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.designs-head .section-lede { margin-bottom: 26px; }
.designs .swatches { margin-bottom: 30px; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.g-item { display: grid; gap: 12px; text-decoration: none; color: var(--ink); }
.g-sheet { position: relative; aspect-ratio: 210 / 297; overflow: hidden; border-radius: 6px; background: #fff; box-shadow: 0 2px 4px rgba(20, 32, 27, .06), 0 14px 30px rgba(20, 32, 27, .12); transition: transform .2s ease, box-shadow .2s ease; }
.g-sheet > div { position: absolute; top: 0; left: 0; width: 794px; transform-origin: top left; pointer-events: none; }
.g-item:hover .g-sheet, .g-item:focus-visible .g-sheet { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(20, 32, 27, .06), 0 22px 40px rgba(20, 32, 27, .18); }
.g-name { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.g-name strong { font: 800 20px var(--display); }
.g-name span { color: var(--green); font-weight: 700; font-size: 15px; }
.g-blurb { margin: -6px 0 0; color: var(--ink-2); font-size: 15px; }
.gallery-more { display: flex; justify-content: center; margin-top: 32px; }
.home .swatches { max-width: 420px; justify-content: flex-end; }

/* How */
.home .steps { gap: 18px; }
.home .steps li { background: transparent; border: 0; padding: 0; }
.home .num { background: var(--sun); color: var(--green); box-shadow: inset 0 0 0 2px var(--green); font-family: var(--display); font-weight: 800; }
.home .steps h3 { font: 800 21px var(--display); margin: 14px 0 6px; }

/* Price */
.price-wrap { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 56px; align-items: center; }
.price-card { background: #fff; border: 2px solid var(--green); border-radius: 22px; padding: 30px; box-shadow: 10px 10px 0 var(--sun); }
.price-big { font: 800 96px/.9 var(--display); font-stretch: 80%; letter-spacing: -.05em; color: var(--green); }
.price-per { margin: 8px 0 18px; color: var(--ink-2); font-weight: 600; }
.price-card .ticks { margin: 0 0 24px; }
.price-foot { margin: 12px 0 0; text-align: center; }
.price-side p { color: var(--ink-2); font-size: 18px; max-width: 34em; }

/* Reviews */
.reviews-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.rating-sum { margin: 0 0 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.55; }
.review footer { font-weight: 700; font-size: 15px; }
.review footer span { font-weight: 400; color: var(--ink-2); }
.stars { display: inline-flex; gap: 2px; color: var(--amber); }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.stars .off { color: var(--line); }
.review-empty { grid-column: 1 / -1; display: flex; gap: 22px; align-items: center; padding: 28px; border: 2px dashed var(--line); border-radius: var(--radius); }
.review-empty .tag-mini { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.review-empty .tag-mini svg { width: 30px; height: 30px; fill: currentColor; }
.review-empty h3 { margin: 0 0 4px; font: 800 21px var(--display); }
.review-empty p { margin: 0; color: var(--ink-2); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 40px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font: 700 19px var(--display); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-weight: 400; font-size: 26px; line-height: 1; color: var(--green); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin: 0 0 20px; color: var(--ink-2); max-width: 40em; }

/* End band */
.sign-end .end { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 64px; padding-bottom: 64px; }
.sign-end h2 { margin: 0; font: 800 clamp(40px, 6vw, 72px)/.95 var(--display); font-stretch: 80%; letter-spacing: -.03em; word-spacing: .1em; }

.home .foot { border-top: 0; }
.foot-links { display: flex; gap: 18px; }
.foot-links a { color: var(--ink-2); }

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-bottom: 40px; }
  .hero-art { height: 420px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-wrap, .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .price-wrap { justify-items: start; }
}
@media (max-width: 640px) {
  .home { font-size: 16px; }
  .band { padding: 56px 0; }
  .lede { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-art { height: 330px; }
  .tag { width: 112px; height: 112px; }
  .tag-price { font-size: 38px; }
  .tag-sub { font-size: 12px; }
  .fix-grid, .review-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { gap: 16px; }
  .g-name strong { font-size: 17px; }
  .g-blurb { display: none; }
  .price-card { box-shadow: 6px 6px 0 var(--sun); padding: 24px 20px; width: 100%; }
  .nav .btn-small { padding: 0 12px; }
}

/* locked designs on the home page */
.g-item.is-locked .g-sheet > div { filter: grayscale(.5); }
.g-lock { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 99px; background: var(--ink); color: var(--sun); font-size: 13px; font-weight: 700; }
.g-lock svg { width: 13px; height: 13px; fill: currentColor; }
.free-note { margin: 26px auto 0; text-align: center; max-width: 40em; color: var(--ink-2); }
