/* Home page (on top of app.css). */
body.landing { background: #FBF7F0; font-size: 18px; }
.wrap-l { max-width: 1140px; margin: 0 auto; padding: 64px 24px; box-sizing: border-box; }
.wrap-l.narrow { max-width: 780px; }
.landing h1 { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: clamp(36px, 5.2vw, 58px); line-height: 1.05; letter-spacing: -0.01em; margin: 10px 0 18px; }
.landing h2 { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; margin: 0 0 10px; }
.landing .sub { font-size: 19px; color: var(--muted); margin: 0 0 30px; max-width: 640px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6D7545; }
.lead { font-size: 19px; line-height: 1.6; max-width: 560px; margin: 0 0 24px; }
.center { text-align: center; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 16px; padding: 10px 0; }
.nav a:not(.btn):hover { text-decoration: underline; }
/* Same header as the homepage: bigger logo; section links drop off on smaller screens. */
.landing header.top .in { max-width: 1200px; padding: 14px clamp(20px, 5vw, 56px); }
.landing .brand img { height: 76px; }
.landing .btn { border-radius: 6px; } .landing .btn.ghost { border-color: var(--ink); }
.landing .nav .btn.small { min-height: 44px; padding: 10px 18px; font-size: 16px; }
@media (max-width: 1080px) { .nav .h-hash { display: none; } }
@media (max-width: 760px) { .landing .brand img { height: 60px; } }
@media (max-width: 720px) {
  .landing header.top .in { flex-wrap: nowrap; }
  .landing .brand img { height: 54px; }
  .nav { flex-wrap: nowrap; gap: 14px; }
  .nav a:not(.btn):not(.signin) { display: none; }
  .nav .btn.small { white-space: nowrap; font-size: 15px; padding: 10px 14px; }
}

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding-top: 48px; }
@media (max-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr); } }
.hero-book { display: flex; flex-direction: column; gap: 12px; }

/* Sample book: the cover sits on top of the spread and swings open to the left. */
.stage { position: relative; width: 100%; max-width: 600px; margin: 0 auto; aspect-ratio: 1.3; perspective: 2200px; }
.s-spread { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 22px 1fr; border-radius: 6px; box-shadow: 0 18px 40px rgba(40, 28, 10, .25); overflow: hidden; opacity: 0; transition: opacity .5s ease .25s; }
.stage.open .s-spread { opacity: 1; }
.s-left, .s-right { position: relative; overflow: hidden; padding: 18px 18px 30px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.s-rh { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 1px solid rgba(0,0,0,.12); margin-bottom: 8px; }
.s-rings { background: repeating-linear-gradient(to bottom, transparent 0 10px, #888 10px 13px, transparent 13px 22px); box-shadow: inset 6px 0 10px rgba(0,0,0,.12), inset -6px 0 10px rgba(0,0,0,.12); }
.s-card { background: #fffdf5; background-image: repeating-linear-gradient(transparent 0 25px, #b9d3ea 25px 26px); border: 1px solid #ddd2bd; box-shadow: 0 2px 6px rgba(0,0,0,.15); padding: 10px 14px 14px; transform: rotate(-1.5deg); font-size: 21px; line-height: 26px; margin-top: 6px; }
.s-card-h { border-bottom: 2px solid #d9584f; margin-bottom: 4px; font-size: 24px; }
.s-cap { font-size: 11px; text-align: center; opacity: .7; margin-top: 8px; }
.s-pn { position: absolute; bottom: 8px; left: 18px; font-size: 13px; } .s-pn.r { left: auto; right: 18px; }
.s-cover { position: absolute; top: 0; bottom: 0; left: 50%; width: 50%; transform-origin: left center; transition: transform 1.1s cubic-bezier(.5,.05,.3,1); cursor: pointer; z-index: 2; }
.s-cover > div { height: 100%; aspect-ratio: auto !important; }
.stage:not(.open) .s-cover { left: 25%; }
.stage.open .s-cover { transform: rotateY(-178deg); pointer-events: none; }
.stage.open .s-cover > div { visibility: hidden; transition: visibility 0s .55s; }
@media (max-width: 560px) { .s-card { font-size: 17px; line-height: 21px; background-image: repeating-linear-gradient(transparent 0 20px, #b9d3ea 20px 21px); } .s-left, .s-right { padding: 12px 10px 26px; } }
@media (prefers-reduced-motion: reduce) { .s-cover, .s-spread { transition: none; } }

.band { background: #F2EADB; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.steps li::before { content: counter(s); font-family: Fraunces, serif; font-weight: 700; font-size: 22px; width: 40px; height: 40px; border-radius: 50%; background: var(--accent, #A63D2A); color: #fff; display: grid; place-items: center; }
.steps b, .features b { font-size: 18px; } .steps span, .features span { color: var(--muted); line-height: 1.55; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px 34px; margin-top: 26px; }
.features div { display: flex; flex-direction: column; gap: 6px; border-top: 3px solid var(--accent, #A63D2A); padding-top: 12px; }
.style-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-bottom: 26px; }
.style-row .sw { text-decoration: none; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-bottom: 14px; }
.plan { display: flex; flex-direction: column; gap: 8px; position: relative; padding: 28px; }
.plan h3 { font-family: Fraunces, serif; font-size: 28px; margin: 0; }
.plan .price { font-family: Fraunces, serif; font-size: 44px; font-weight: 700; } .plan .price small { font-family: 'Atkinson Hyperlegible', sans-serif; font-size: 15px; font-weight: 400; color: var(--muted); }
.plan ul { margin: 6px 0 18px; padding-left: 20px; line-height: 1.7; flex: 1; }
.plan .btn { align-self: flex-start; }
.plan.best { border: 2px solid var(--accent, #A63D2A); }
.plan .tag { position: absolute; top: -13px; left: 24px; background: var(--accent, #A63D2A); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
#faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; margin-bottom: 10px; }
#faq summary { cursor: pointer; font-weight: 700; font-size: 18px; min-height: 56px; display: flex; align-items: center; }
#faq details p { margin: 0 0 16px; line-height: 1.6; }
.final { text-align: center; } .final .sub { margin-left: auto; margin-right: auto; }
.foot-l { border-top: 1px solid var(--line); }
.foot-l .wrap-l { max-width: 1200px; padding: 40px clamp(20px, 5vw, 56px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); font-size: 15px; }
.foot-logo picture { display: contents; } .foot-logo img { height: 64px; width: auto; display: block; }
.foot-l nav { display: flex; flex-wrap: wrap; gap: 4px 24px; } .foot-l nav a { color: #4A3E33; text-decoration: none; padding: 10px 0; } .foot-l nav a:hover { text-decoration: underline; }

/* Policy pages */
.legal { max-width: 780px; margin: 0 auto; padding: 48px 24px 80px; line-height: 1.65; }
.legal h1 { font-size: 40px; margin: 0 0 6px; }
.legal h2 { font-size: 24px; margin: 30px 0 8px; }
.legal .updated { color: var(--muted); margin: 0 0 24px; }
.legal .draft { background: #FFF4D6; border: 1px solid #E5C76B; border-radius: 10px; padding: 12px 16px; margin-bottom: 24px; }

/* Before launch */
.launch-bar { background: #2B2320; color: #F7EFE3; font-size: 16px; }
.launch-bar .wrap-l { display: flex; gap: 14px; justify-content: center; align-items: center; padding: 10px 20px; flex-wrap: wrap; text-align: center; }
.launch-bar a { color: #F4C98B; font-weight: 700; }
.reserve { padding-top: 8px; }
.reserve-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; padding: 32px; align-items: center; border-width: 2px; border-color: var(--accent, #A63D2A); }
.reserve-card h2 { margin: 4px 0 8px; }
@media (max-width: 760px) { .reserve-card { grid-template-columns: 1fr; gap: 18px; padding: 22px; } }
/* Gifts */
.gift-promo { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.gift-mini { display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; padding: 30px 24px; border: 2px dashed #C9A97A; background: #FFFCF6; transform: rotate(-2deg); box-shadow: 0 14px 30px rgba(60, 40, 20, .12); }
.gift-mini b { font-family: Fraunces, serif; font-size: 28px; }
.gift-mini code { font-size: 18px; letter-spacing: .08em; margin-top: 8px; padding: 6px 12px; background: #F2EADB; border-radius: 6px; }
@media (max-width: 760px) { .gift-promo { grid-template-columns: 1fr; } .gift-mini { transform: none; } }

/* Testimonials (written in by the Worker when there are approved ones) */
#voices h2 { font-family: Fraunces, Georgia, serif; text-align: center; margin: 0 0 22px; }
.voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.voice { margin: 0; background: #fff; border: 1px solid #E6DCCD; border-radius: 12px; padding: 20px 22px; }
.voice blockquote { margin: 0 0 12px; font-family: Caveat, cursive; font-size: 26px; line-height: 1.2; }
.voice figcaption { font-weight: 700; } .voice figcaption span { font-weight: 400; color: #6B5D50; }
@media (max-width: 720px) { .nav a { white-space: nowrap; } }
.landing .signup .fine { font-size: 14px; }
