/* The search pages (src/seo-pages.ts): the landing page's palette and type, nothing animated. */
:root {
  --cream: #f6f0e4; --paper: #fffdf8; --green: #1f3a2e; --green-2: #2d5241; --gold: #b08a4a;
  --gold-ink: #765823; --gold-soft: #e8d7b0; --ink: #1d2a23; --muted: #56625a; --line: rgba(31, 58, 46, .14);
  --display: 'Fraunces', Georgia, 'Times New Roman', serif; --body: 'Manrope', system-ui, -apple-system, sans-serif;
  --wrap: min(1180px, 100% - 2.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); font: 400 1.0625rem/1.65 var(--body); background: radial-gradient(60rem 40rem at 95% -10%, rgba(232, 215, 176, .65), transparent 62%), var(--cream); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 500; font-variation-settings: 'SOFT' 100; color: var(--green); text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 1.1rem; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.1; letter-spacing: -.015em; margin-bottom: 1.4rem; }
h3 { font-size: 1.2rem; line-height: 1.25; }
p { margin: 0 0 .9rem; }
code { font-size: .92em; background: rgba(176, 138, 74, .14); padding: .1em .35em; border-radius: 6px; overflow-wrap: anywhere; }
.wrap { width: var(--wrap); margin-inline: auto; }
.narrow { max-width: 760px; }
section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }

.top { position: sticky; top: 0; z-index: 10; background: rgba(246, 240, 228, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.bar nav { display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.4rem); font-weight: 600; font-size: .95rem; }
.bar nav a:not(.btn) { text-decoration: none; padding: .6rem .2rem; }
.bar nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.wm { display: inline-flex; align-items: center; gap: .34em; font: 600 1.45rem/1 var(--display); letter-spacing: -.02em; color: var(--green); text-decoration: none; }
.wm i { width: 1em; height: 1em; border-radius: 50%; background: var(--gold); color: var(--paper); display: grid; place-items: center; font: italic 600 .78em/1 var(--display); padding-bottom: .06em; }
.wm.on-dark { color: var(--cream); }
.wm.on-dark i { background: var(--gold-soft); color: var(--green); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.35rem; border-radius: 999px; font: 600 1rem/1 var(--body); text-decoration: none; border: 1.5px solid transparent; transition: background-color .2s, border-color .2s; }
.bar .btn { min-height: 42px; padding: .6rem 1.05rem; font-size: .95rem; }
.btn.solid { background: var(--green); color: var(--paper); }
.btn.solid:hover { background: var(--green-2); }
.btn.ghost { border-color: rgba(31, 58, 46, .3); color: var(--green); }
.btn.ghost:hover { border-color: var(--green); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1.2rem; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: '›'; margin-right: .4rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.hero { padding-top: clamp(2rem, 5vw, 3.5rem); }
.hero p { color: var(--ink); max-width: 68ch; }

.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: clamp(1rem, 2.4vw, 1.6rem); }
.card { background: var(--paper); border-radius: 18px; overflow: hidden; box-shadow: 0 1px 2px rgba(31, 58, 46, .06), 0 16px 34px -24px rgba(31, 58, 46, .4); display: flex; flex-direction: column; }
.cover { display: block; aspect-ratio: 390 / 640; background: var(--gold-soft); overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cover:hover img { transform: scale(1.03); }
.card-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.card-body h3 a { text-decoration: none; }
.card-body h3 a:hover { text-decoration: underline; }
.card-body p { margin: 0; }
.mood { color: var(--muted); font-size: .95rem; line-height: 1.45; }
.plan { font-size: .82rem; font-weight: 700; color: var(--gold-ink); letter-spacing: .02em; }
.plan.free { color: #2f7a52; }
.links { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: auto !important; padding-top: .6rem; font-weight: 600; font-size: .95rem; }
.links a { color: var(--green); text-underline-offset: 3px; padding: .3rem 0; }

.steps ol { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.2rem; }
.steps li { counter-increment: s; background: rgba(255, 253, 248, .6); border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--gold-soft); color: var(--green); font: 600 1rem/1 var(--display); margin-bottom: .8rem; }
.steps p { margin: .4rem 0 0; color: var(--muted); }

.plans { background: var(--paper); }
.plans ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; }
.plans li { border: 1px solid var(--line); border-radius: 18px; padding: 1.3rem; }
.plans .price { font: 500 1.8rem/1.2 var(--display); color: var(--green); margin: .3rem 0; }
.plans li p:last-child { margin: 0; color: var(--muted); }
.plans .more { margin-top: 1.2rem; font-weight: 600; }

.faq details { border-bottom: 1px solid var(--line); padding: .2rem 0; }
.faq summary { cursor: pointer; list-style: none; padding: .9rem 2rem .9rem 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: .2rem; top: .75rem; font: 400 1.4rem/1 var(--display); color: var(--gold-ink); }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--muted); }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips a { display: inline-flex; align-items: baseline; gap: .5rem; min-height: 44px; padding: .65rem 1rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--green); }
.chips a:hover { border-color: var(--green); }
.chips span { font-weight: 400; font-size: .85rem; color: var(--muted); }
.more-themes.first { padding-top: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.shot { display: block; border-radius: 26px; overflow: hidden; box-shadow: 0 24px 50px -28px rgba(31, 58, 46, .55); max-width: 360px; justify-self: center; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.2rem; margin: 1.2rem 0 0; }
.facts dt { font-weight: 700; color: var(--muted); font-size: .9rem; padding-top: .1rem; }
.facts dd { margin: 0; }

footer { background: var(--green); color: var(--cream); padding: 3rem 0 2rem; margin-top: 2rem; }
.foot { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
footer h2 { color: var(--gold-soft); font: 600 .85rem/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; margin-bottom: .8rem; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .2rem; }
footer ul a { text-decoration: none; display: inline-block; padding: .25rem 0; }
footer ul a:hover { text-decoration: underline; }
footer p { margin-top: .9rem; color: rgba(246, 240, 228, .8); max-width: 34ch; }
.base { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(246, 240, 228, .18); color: rgba(246, 240, 228, .7); }

@media (max-width: 760px) {
  .hide-sm { display: none; }
  .split { grid-template-columns: 1fr; }
  .shot { max-width: 280px; }
  .foot { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .card-body { padding: .8rem .85rem 1rem; }
  .card-body h3 { font-size: 1.05rem; }
  .mood { font-size: .86rem; }
  .links { flex-direction: column; gap: .1rem; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .cover img { transition: none; } }
