/* The welcome gift follows the store's bright ivory, sage, and sky palette. */
.announcement-gift { padding: 2px 0; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.announcement-gift:hover { color: #294b36; }
.site-header nav { gap: 22px; }
.site-header .nav-signup { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.hero-gift-link { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin-top: 19px; padding: 11px 15px; border: 1px solid #c6d8ba; border-radius: 14px; background: #f4f8ed; color: #355641; font-size: 11px; text-align: left; }
.hero-gift-link svg { width: 25px; height: 25px; flex-shrink: 0; fill: none; stroke: #638257; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero-gift-link strong, .hero-gift-link small { display: block; }
.hero-gift-link small { font-size: 10px; color: #526158; font-weight: 400; margin-top: 2px; }
.hero-gift-link:hover { background: #e9f2df; }
.signup-backdrop { background: linear-gradient(130deg, #f6f9f1, #eef5f4); padding-block: 44px 16px; }
.signup-section { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 45px; padding: 37px 44px; border: 1px solid #ceded4; border-radius: 22px; background: linear-gradient(120deg, #f8faf4, #eaf3f5); box-shadow: 0 7px 22px #425d3910; }
.signup-section .eyebrow { color: #567250; }
.signup-section h2 { margin-top: 13px; font-size: 36px; line-height: 1.17; }
.signup-section .signup-intro { max-width: 440px; margin-top: 13px; color: #526158; font-size: 13px; line-height: 1.8; }
.signup-section .button { margin-top: 19px; }
.signup-section .signup-fineprint { margin-top: 11px; font-size: 10px; color: #526158; }
.signup-shelf { display: flex; justify-content: center; align-items: center; padding: 17px 13px; isolation: isolate; }
.signup-shelf img { width: 28%; min-width: 0; max-width: 128px; border-radius: 3px 7px 7px 3px; box-shadow: 3px 8px 12px #405d3626; border: 1px solid #d1dacc; }
.signup-shelf img + img { margin-left: -7%; }
.signup-shelf img:nth-child(1) { transform: rotate(-12deg) translateY(8px); }
.signup-shelf img:nth-child(2) { transform: rotate(-4deg) translateY(-7px); }
.signup-shelf img:nth-child(3) { transform: rotate(5deg) translateY(-4px); }
.signup-shelf img:nth-child(4) { transform: rotate(13deg) translateY(9px); }
.book-gift-link { display: block; margin-top: 13px; width: 100%; padding: 7px 10px; background: #eaf2e2; border: 1px solid #d0dfc4; border-radius: 9px; color: #3f6245; text-align: center; font-size: 10px; line-height: 1.6; }
.book-gift-link:hover { background: #e0ebd5; }
.signup-dialog { width: min(660px, calc(100% - 28px)); padding: 32px; background: #f8faf4; }
.signup-dialog[open] { display: block; }
.signup-dialog [hidden] { display: none !important; }
.signup-dialog-header { padding-right: 35px; }
.signup-dialog .eyebrow { color: #567250; }
.signup-dialog h2 { margin-top: 11px; font-size: 35px; letter-spacing: -1px; }
.signup-dialog-intro { color: #526158; font-size: 12px; line-height: 1.8; margin-top: 12px; }
.signup-fields { display: grid; grid-template-columns: .8fr 1.2fr; gap: 14px; margin-top: 20px; }
.signup-field { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: #3d5844; font-weight: 600; }
.signup-field small { font-size: 10px; font-weight: 400; color: #526158; }
.signup-field input { width: 100%; min-width: 0; border: 1px solid #b8ccb0; background: #fcfcf7; color: #2f4439; border-radius: 10px; padding: 11px 12px; line-height: 1.4; font-size: 14px; }
.signup-field input:focus { outline: 3px solid #819f72; outline-offset: 2px; }
.signup-choices { border: 0; min-width: 0; padding: 0; margin: 21px 0 0; }
.signup-choices legend { padding: 0; color: #3d5844; font-size: 12px; font-weight: 600; }
.signup-choice-note { display: block; margin-top: 3px; font-size: 10px; color: #526158; }
.signup-book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.signup-book { display: flex; align-items: center; gap: 10px; position: relative; padding: 11px 10px; min-width: 0; border: 1px solid #d0deca; border-radius: 13px; background: #f2f6eb; cursor: pointer; }
.signup-book:has(input:checked) { border-color: #648960; background: #e6f0f2; box-shadow: inset 0 0 0 1px #648960; }
.signup-book:has(input:focus-visible) { outline: 3px solid #819f72; outline-offset: 3px; }
.signup-book input { width: 15px; height: 15px; flex-shrink: 0; accent-color: #355b43; margin: 0; }
.signup-book img { width: 46px; flex-shrink: 0; border-radius: 2px 4px 4px 2px; box-shadow: 2px 3px 5px #49613b20; }
.signup-book-copy { font-size: 11px; line-height: 1.45; color: #355641; }
.signup-book-copy strong { display: block; font-weight: 600; }
.signup-book-copy small { display: block; margin-top: 4px; color: #526158; font-size: 9px; }
.signup-marketing { display: flex; align-items: flex-start; gap: 10px; font-size: 11px; color: #526158; margin-top: 20px; line-height: 1.7; cursor: pointer; }
.signup-marketing input { width: 17px; height: 17px; flex-shrink: 0; accent-color: #355b43; margin: 1px 0 0; }
.signup-privacy { margin-top: 11px; font-size: 10px; line-height: 1.8; color: #526158; }
.signup-privacy button { display: inline; padding: 0; background: transparent; color: #355b43; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.signup-submit { width: 100%; margin-top: 19px; }
.signup-submit:disabled { opacity: .68; cursor: wait; transform: none; }
.signup-status { font-size: 12px; line-height: 1.7; color: #526158; }
.signup-status:not(:empty) { margin-top: 14px; padding: 11px 13px; border: 1px solid #c8d9c0; border-radius: 10px; background: #edf4e7; }
.signup-status[data-state="error"] { color: #7a4237; border-color: #dec8be; background: #f6ebe6; }
.signup-retry { background: transparent; padding: 7px 0; margin-top: 5px; font-size: 12px; color: #355b43; text-decoration: underline; text-underline-offset: 3px; }
.signup-success { margin-top: 24px; padding: 20px; background: #e9f2f0; border: 1px solid #c3d8ce; border-radius: 15px; text-align: center; }
.signup-success-mark { display: flex; align-items: center; justify-content: center; margin: 0 auto 13px; width: 44px; height: 44px; border-radius: 50%; background: #d7e8cd; color: #42634a; font-size: 22px; }
.signup-success img { width: 109px; margin: 0 auto 14px; border-radius: 3px 6px 6px 3px; box-shadow: 4px 7px 12px #405d3626; }
.signup-success h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; color: #355641; }
.signup-success p { margin-top: 10px; font-size: 12px; color: #526158; line-height: 1.8; }
.signup-success .button { margin-top: 18px; width: 100%; }
.signup-success .signup-download-note { font-size: 10px; }
.signup-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.signup-book-grid input:focus-visible, .signup-marketing input:focus-visible { outline: 3px solid #819f72; outline-offset: 3px; }
@media (min-width: 701px) and (max-width: 1000px) {
  .site-header { flex-wrap: wrap; justify-content: center; row-gap: 17px; }
  .site-header nav { width: 100%; justify-content: center; gap: 22px; }
}
@media (max-width: 900px) {
  .signup-section { padding: 30px; gap: 24px; }
  .signup-section h2 { font-size: 31px; }
  .signup-section .signup-intro { font-size: 12px; }
}
@media (max-width: 700px) {
  .site-header nav { gap: 8px; }
  .signup-backdrop { padding-block: 30px 5px; }
  .signup-section { grid-template-columns: 1fr; gap: 18px; padding: 26px 23px 22px; }
  .signup-section h2 { font-size: 32px; }
  .signup-section .signup-intro { font-size: 12px; }
  .signup-shelf { width: min(360px, 100%); margin-inline: auto; padding-block: 15px; }
  .signup-shelf img { max-width: 95px; }
  .signup-dialog { padding: 25px 20px; }
  .signup-dialog h2 { font-size: 30px; }
  .signup-fields { grid-template-columns: 1fr; gap: 12px; }
  .signup-dialog .signup-book-grid { gap: 9px; }
  .signup-book { align-items: flex-start; flex-wrap: wrap; gap: 7px; padding: 11px; }
  .signup-book input { margin-top: 3px; }
  .signup-book img { width: 41px; margin-left: 1px; }
  .signup-book-copy { width: 100%; font-size: 11px; }
  .signup-book-copy small { font-size: 9px; }
  .signup-success { padding: 18px 15px; }
}
@media (prefers-reduced-motion: reduce) { .signup-dialog .button { transition: none; } }
