/* TripDoodle sales pages. Same cream and forest green as the app; Fredoka is the letter the books themselves are set in. */
@font-face { font-family: Fredoka; font-weight: 400; src: url(fonts/fredoka-latin-400-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Fredoka; font-weight: 700; src: url(fonts/fredoka-latin-700-normal.woff2) format('woff2'); font-display: swap; }
:root { --paper: #f6f1e4; --raise: #fffdf7; --ink: #1f2a24; --soft: #55615a; --green: #1f5a45; --green-deep: #153f31; --leaf: #e3ecd9; --sun: #f2b63c; --red: #d9523c; --line: #d9cfb8; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.6 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-family: Fredoka, 'Trebuchet MS', sans-serif; font-weight: 700; line-height: 1.12; margin: 0; color: var(--green-deep); text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; max-width: 64ch; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
section { padding: clamp(48px, 8vw, 96px) 0; }
.lede { font-size: 1.2rem; color: var(--soft); }

.top { padding: 18px 0; }
.top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { font: 700 1.35rem Fredoka, sans-serif; color: var(--green-deep); text-decoration: none; }
.step { font-size: 0.95rem; color: var(--soft); }

.hero { padding-top: clamp(20px, 4vw, 48px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 0.4em; }
.fan { position: relative; aspect-ratio: 1 / 1; }
.fan img { position: absolute; width: 58%; border-radius: 6px; box-shadow: 0 14px 34px rgba(31, 60, 45, 0.24); border: 1px solid var(--line); background: #fff; }
.fan img:nth-child(1) { left: 0; top: 14%; transform: rotate(-9deg); }
.fan img:nth-child(2) { right: 0; top: 8%; transform: rotate(8deg); }
.fan img:nth-child(3) { left: 21%; top: 2%; transform: rotate(-1deg); }

.buy { display: inline-block; padding: 16px 28px; border-radius: 14px; background: var(--green); color: #fff; font: 700 1.2rem Fredoka, sans-serif; text-decoration: none; box-shadow: 0 5px 0 var(--green-deep); transition: transform 0.12s, box-shadow 0.12s; }
.buy:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--green-deep); }
.buy:focus-visible, a:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.terms { font-size: 0.95rem; color: var(--soft); margin-top: 14px; }
.skip { display: inline-block; margin-top: 18px; color: var(--soft); font-size: 0.98rem; }

.pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px; margin-top: 32px; padding: 0; list-style: none; }
.pages img { border-radius: 4px; border: 1px solid var(--line); background: #fff; box-shadow: 0 6px 16px rgba(31, 60, 45, 0.12); }
.pages strong { display: block; margin-top: 10px; font-family: Fredoka, sans-serif; }
.pages span { color: var(--soft); font-size: 0.95rem; }

.band { background: var(--green-deep); color: #eef3e6; }
.band h2, .band h3 { color: #fff; }
.band .lede { color: #c9d8c3; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%; background: var(--sun); color: var(--green-deep); font: 700 1.3rem Fredoka, sans-serif; }
.steps p { color: #d5e0cf; margin: 6px 0 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.split.flip > :first-child { order: 2; }
.shot { border-radius: 8px; border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(31, 60, 45, 0.16); background: #fff; }
.list { margin: 18px 0 0; padding: 0; list-style: none; }
.list li { padding: 12px 0 12px 34px; border-top: 1px solid var(--line); position: relative; }
.list li::before { content: ''; position: absolute; left: 4px; top: 21px; width: 14px; height: 8px; border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg); }
.list strong { font-family: Fredoka, sans-serif; }
.band .list li { border-color: rgba(255, 255, 255, 0.18); }
.band .list li::before { border-color: var(--sun); }
.cities { columns: 4 150px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--soft); }

.offer { background: var(--raise); border: 2px solid var(--green); border-radius: 22px; padding: clamp(24px, 4vw, 44px); text-align: center; }
.offer p { margin-inline: auto; }
.price { font: 700 clamp(3rem, 7vw, 4.4rem) Fredoka, sans-serif; color: var(--green-deep); line-height: 1; margin: 10px 0 4px; }
.price small { font-size: 1.1rem; font-weight: 400; color: var(--soft); }
.honest { background: var(--leaf); border-radius: 16px; padding: 22px 26px; }
.honest p:last-child { margin-bottom: 0; }
details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font: 700 1.1rem Fredoka, sans-serif; color: var(--green-deep); }
details p { margin: 10px 0 0; }
footer { padding: 36px 0 60px; color: var(--soft); font-size: 0.9rem; }
footer p { max-width: 80ch; }
.covers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.covers img { border-radius: 4px; box-shadow: 0 8px 20px rgba(31, 60, 45, 0.2); }

@media (max-width: 820px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .covers { grid-template-columns: repeat(2, 1fr); }
  .fan { max-width: 460px; margin-inline: auto; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .buy { transition: none; } }
.hero .covers { grid-template-columns: repeat(2, 1fr); max-width: 440px; margin-inline: auto; }
.signin { font: 700 1rem Fredoka, sans-serif; color: var(--green-deep); text-decoration: none; padding: 9px 18px; border: 2px solid var(--green); border-radius: 12px; }
.signin:hover { background: var(--leaf); }
