/* Home page, "Field Guide" look (test version, loaded only by index-test.html, after marketing-theme.css).
 * Hybrid: the hero and the live demo stay as bold full-width moments; the content sections (ticker, features, how it
 * works and pricing, FAQ) become the same aged-paper sheets used on How It Works and About: thick-and-thin double
 * border, plain Bevan title with a thin rule and tomato diamond, color-blocked cards (teal, tomato, ink), flat frames,
 * yellow diamond dividers, no hard shadows. Day is the default; a phone set to dark mode gets the night edition.
 * To preview either on any screen, add ?fg=day or ?fg=night. */

body.fg {
  --fg-sheet: #EADBB4; --fg-card: #F3E8C6; --fg-text: #2E2118; --fg-title: #12383A; --fg-edge: #12383A;
  --fg-accent: #9E3224; --fg-diamond: #9E3224; --fg-inkrow: #12383A; --fg-page: #287174;
}
@media (prefers-color-scheme: dark) {
  body.fg:not([data-fg="day"]) {
    --fg-sheet: #143538; --fg-card: #E8D8B0; --fg-text: #E8DDBF; --fg-title: #F3E6C4; --fg-edge: #C9B98F;
    --fg-accent: #FFDE59; --fg-diamond: #D0553C; --fg-inkrow: #06171A; --fg-page: #0B1F21; background: #0B1F21;
  }
}
body.fg[data-fg="night"] {
  --fg-sheet: #143538; --fg-card: #E8D8B0; --fg-text: #E8DDBF; --fg-title: #F3E6C4; --fg-edge: #C9B98F;
  --fg-accent: #FFDE59; --fg-diamond: #D0553C; --fg-inkrow: #06171A; --fg-page: #0B1F21; background: #0B1F21;
}

/* ---- Sheets ---- */
body.fg .fg-wrap { max-width: 1060px; margin: 0 auto; padding: 0 28px; box-sizing: border-box; }
body.fg .fg-first { padding-top: 64px; }
body.fg .fg-sheet {
  --page-ink: var(--fg-text); --muted: var(--fg-text); --link: var(--fg-accent); --border: color-mix(in srgb, var(--fg-text) 40%, transparent);
  background: var(--fg-sheet); color: var(--fg-text); border: 2px solid var(--fg-edge); border-radius: 3px;
  box-shadow: 0 0 0 6px var(--fg-sheet), 0 0 0 8px var(--fg-edge); margin: 0 8px; padding: 0;
}
body.fg .fg-sheet a { color: var(--fg-accent); }
body.fg .fg-body { padding: 30px 40px 48px; }

/* Sheet titles: plain Bevan, thin rule, tomato diamond */
body.fg .fg-head { position: relative; display: block; padding: 44px 32px 6px; text-align: center; }
body.fg .fg-head::before {
  content: ""; display: block; position: absolute; left: 50%; bottom: 8px; width: 10px; height: 10px;
  transform: translateX(-50%) rotate(45deg); background: var(--fg-diamond);
}
body.fg .fg-head::after {
  content: ""; display: block; height: 14px; margin: 16px auto 0; width: 180px; background: var(--fg-edge);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 14'%3E%3Cpath d='M0 7H76M104 7H180' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / 180px 14px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 14'%3E%3Cpath d='M0 7H76M104 7H180' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") center / 180px 14px no-repeat;
}
body.fg h2.fg-title {
  display: block; margin: 0; padding: 0; border: 0; background: none; color: var(--fg-title); text-shadow: none;
  font-family: var(--font-headline); font-weight: 400; text-transform: none; letter-spacing: 0;
  font-size: clamp(30px, 4.2vw, 40px); line-height: 1.15; text-wrap: balance;
}
body.fg h2.fg-title::before, body.fg h2.fg-title::after { display: none; }
body.fg .fg-kicker { margin: 0 0 10px; font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-accent); }

/* Yellow diamond dividers, centered in their gap */
body.fg .fg-gap { height: 64px; display: flex; align-items: center; justify-content: center; }
body.fg .fg-gap::before { content: ""; width: 26px; height: 26px; background: #FFDE59; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }

/* ---- Ticker ---- */
body.fg .l-ticker-sec { padding: 0; }
body.fg .l-ticker-sec .fg-body { padding: 26px 40px 0; }
body.fg .l-ticker-sec .l-head2 { margin: 0 auto 6px; max-width: 760px; }
body.fg .l-ticker-sec .l-head2-sub { color: var(--fg-text); font-size: 19px; line-height: 1.55; font-weight: 500; text-align: center; }
body.fg .l-ticker-sec .l-ticker { padding: 18px 0 26px; }
body.fg .l-ticker-sec .l-ticker-note { text-align: center; max-width: none; margin: 0; padding: 0 40px 42px; color: var(--fg-text); font-size: 18px; }
body.fg .l-card {
  background: var(--fg-card); border: 2px solid #12383A; border-top: 8px solid var(--cat-color); border-radius: 6px;
  box-shadow: inset 0 0 0 2px var(--fg-card), inset 0 0 0 3.5px rgba(18, 56, 58, .3);
}
body.fg .l-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 2px var(--fg-card), inset 0 0 0 3.5px rgba(18, 56, 58, .3); }
body.fg .l-card-photo { border-radius: 3px; }

/* ---- What you get: flat cream cards with a colored top edge and a color-blocked label ---- */
body.fg .l-bento { gap: 20px; }
body.fg .l-bento > .l-tile {
  --tc: #287174; background: var(--fg-card); border: 2px solid #12383A; border-top: 8px solid var(--tc); border-radius: 6px;
  box-shadow: inset 0 0 0 2px var(--fg-card), inset 0 0 0 3.5px rgba(18, 56, 58, .3);
}
body.fg .l-bento > .l-tile:nth-child(1) { --tc: #9E3224; }
body.fg .l-bento > .l-tile:nth-child(2) { --tc: #287174; }
body.fg .l-bento > .l-tile:nth-child(3) { --tc: #9E3224; }
body.fg .l-bento > .l-tile:nth-child(4) { --tc: var(--fg-inkrow); }
body.fg .l-bento > .l-tile:nth-child(5) { --tc: #287174; }
body.fg .l-bento > .l-tile:nth-child(6) { --tc: #9E3224; }
body.fg .l-bento > .l-tile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 2px var(--fg-card), inset 0 0 0 3.5px rgba(18, 56, 58, .3); }
body.fg .l-bento > .l-tile-wide { background: var(--fg-card); }
body.fg .l-tile-tag { background: var(--tc); color: #FFF7E3; border: 0; box-shadow: none; }
body.fg .l-tile a, body.fg .l-try { color: #9E3224; }
body.fg .l-tile a:hover, body.fg .l-try:hover { color: #12383A; }

/* ---- Live demo band: stays bold and full width; the window gets the double frame ---- */
body.fg .fg-demo { margin-top: 0; }
body.fg .l-demo-sec .m-section-head h2 { text-shadow: none; }
body.fg .l-browser {
  border: 2px solid #12383A; border-radius: 4px; box-shadow: 0 0 0 6px var(--band-bg), 0 0 0 8px var(--cream);
}
body.fg .l-demo-picks button { box-shadow: none; }
body.fg .l-demo-picks button:active { transform: none; }

/* ---- How it works + pricing ---- */
body.fg .l-how-wrap { gap: 36px; align-items: stretch; }
body.fg .l-how { display: flex; flex-direction: column; gap: 14px; }
body.fg .l-how li,
body.fg .l-how li:first-child {
  --c: #287174; flex: 1 1 0; align-items: center; gap: 16px; padding: 18px 20px; border: 2px solid #12383A; border-radius: 6px; background: var(--c);
  box-shadow: inset 0 0 0 4px var(--c), inset 0 0 0 5.5px rgba(248, 236, 208, .55);
}
body.fg .l-how li:nth-child(2) { --c: #9E3224; }
body.fg .l-how li:nth-child(3) { --c: var(--fg-inkrow); }
body.fg .l-how-num {
  flex: none; width: 46px; height: 46px; min-width: 46px; border-radius: 50%; background: #F3E8C6; border: 2px solid #12383A; color: #12383A;
  display: grid; place-items: center; font-size: 24px; padding-bottom: 2px; box-sizing: border-box;
}
body.fg .l-how-title { color: #FFF7E3; }
body.fg .l-how p { color: #F3E8C6; font-weight: 500; }
body.fg .l-plans { gap: 20px; align-items: stretch; }
body.fg .l-plan,
body.fg .l-plan-best {
  background: var(--fg-card); color: #2E2118; border: 2px solid #12383A; border-radius: 6px; padding: 34px 22px 26px;
  box-shadow: inset 0 0 0 2px var(--fg-card), inset 0 0 0 3.5px rgba(18, 56, 58, .3);
}
body.fg .l-plan-best {
  background: #287174; color: #F3E8C6;
  box-shadow: inset 0 0 0 4px #287174, inset 0 0 0 5.5px rgba(248, 236, 208, .55);
}
body.fg .l-plan-best .l-plan-name, body.fg .l-plan-best .l-plan-price, body.fg .l-plan-best .l-plan-note { color: #F3E8C6; }
body.fg .l-plan-price span { color: #9E3224; }
body.fg .l-plan-best .l-plan-price span { color: #FFDE59; }
body.fg .l-plan-flag { background: #FFDE59; color: #12383A; border: 2px solid #12383A; box-shadow: none; }
body.fg .l-plan .m-btn-outline { background: transparent; color: #12383A; border: 2px solid #12383A; }
body.fg .l-plan .m-btn-outline:hover { background: #FFDE59; }
body.fg .l-plan-best .m-btn-solid { background: #FFDE59; color: #12383A; border: 2px solid #FFDE59; }
body.fg .l-plan-best .m-btn-solid:hover { background: #FFE680; border-color: #FFE680; }
body.fg .l-how-incl { color: var(--fg-text); font-weight: 500; }

/* ---- FAQ: color-blocked cards with a cream answer panel ---- */
body.fg .m-faq { border-top: 0; gap: 14px; margin: 0 auto; max-width: 820px; }
body.fg .m-faq details,
body.fg .m-faq details:hover,
body.fg .m-faq details[open] {
  --c: #287174; background: var(--c); border: 2px solid #12383A; border-radius: 6px; transform: none;
  box-shadow: inset 0 0 0 4px var(--c), inset 0 0 0 5.5px rgba(248, 236, 208, .55);
}
body.fg .m-faq details:nth-of-type(even) { --c: #9E3224; } /* teal, tomato, teal, ... */
body.fg .m-faq summary { background: transparent; color: #FFF7E3; padding: 18px 20px; }
body.fg .m-faq details[open] summary { border-bottom: 0; }
body.fg .m-faq summary::after,
body.fg .m-faq details:hover summary::after,
body.fg .m-faq details[open] summary::after { background: #F3E8C6; color: #12383A; border: 2px solid #12383A; }
body.fg .m-faq details > p { margin: 0 12px 12px; background: var(--fg-card); color: #2E2118; border-radius: 4px; padding: 16px 20px; }
body.fg .m-faq details > p + p { margin-top: -2px; }
body.fg .fg-sheet .m-faq details > p a { color: #9E3224; }
body.fg .fg-sheet .m-faq details > p a:hover { color: #12383A; }
body.fg .l-faq-more { text-align: center; margin: 26px 0 0; }
body.fg .l-faq-more a { color: var(--fg-accent); }

/* ---- Closing call to action: a short sheet with the price reminder and the two buttons ---- */
body.fg .fg-last { padding-bottom: 64px; }
body.fg .l-plan .m-btn { box-shadow: none; }
body.fg .l-plan .m-btn:active { transform: none; }

/* ---- Ticker, round two: stat chips, date-badge cards, clean edge fade ---- */
body.fg .fg-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
body.fg .l-ticker-sec .l-head2 { margin-bottom: 22px; }
body.fg .l-ticker-sec .l-head2-sub { font-size: 20px; max-width: 640px; margin-inline: auto; }
body.fg .fg-chips { list-style: none; margin: 0 auto 6px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 800px; }
body.fg .fg-chip {
  --c: #287174; display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--c); border: 2px solid #12383A; border-radius: 6px;
  box-shadow: inset 0 0 0 4px var(--c), inset 0 0 0 5.5px rgba(248, 236, 208, .55); color: #FFF7E3; box-sizing: border-box;
}
body.fg .fg-chip-ico { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #F3E8C6; border: 2px solid #12383A; display: grid; place-items: center; }
body.fg .fg-chip-ico svg { width: 24px; height: 24px; fill: none; stroke: #12383A; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body.fg .fg-chip-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
body.fg .fg-chip-text b { font-family: var(--font-headline); font-weight: 400; font-size: 26px; color: #FFF7E3; }
body.fg .fg-chip-text span { font-size: 15px; font-weight: 600; color: #F3E8C6; margin-top: 3px; }
body.fg .fg-chip-gold { color: #12383A; }
body.fg .fg-chip-gold .fg-chip-text b { color: #12383A; }
body.fg .fg-chip-gold .fg-chip-text span { color: #12383A; }
body.fg .fg-chip-gold { box-shadow: inset 0 0 0 4px var(--c), inset 0 0 0 5.5px rgba(18, 56, 58, .45); }

body.fg .l-ticker-sec .l-ticker { position: relative; padding: 26px 0 30px; -webkit-mask-image: none; mask-image: none; }
@media (min-width: 761px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  body.fg .l-ticker-sec .l-ticker::before, body.fg .l-ticker-sec .l-ticker::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 70px; z-index: 2; pointer-events: none;
  }
  body.fg .l-ticker-sec .l-ticker::before { left: 0; background: linear-gradient(90deg, var(--fg-sheet), rgba(0, 0, 0, 0)); }
  body.fg .l-ticker-sec .l-ticker::after { right: 0; background: linear-gradient(270deg, var(--fg-sheet), rgba(0, 0, 0, 0)); }
}
body.fg .l-card { width: 300px; margin-right: 20px; }
body.fg .l-card-photo { height: 196px; margin: 10px 10px 0; border: 2px solid #12383A; border-radius: 4px; }
body.fg .l-card-date {
  position: absolute; top: 10px; left: 10px; z-index: 2; width: 58px; height: 58px; border-radius: 50%; background: #F3E8C6; border: 2px solid #12383A;
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: #12383A; line-height: 1;
}
body.fg .l-card-date b { font-family: var(--font-headline); font-weight: 400; font-size: 24px; }
body.fg .l-card-date i { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-top: 3px; color: #9E3224; }
body.fg .l-card-body { padding: 14px 18px 18px; gap: 6px; }
body.fg .l-card-when { font-size: 15px; letter-spacing: .06em; color: #9E3224; }
body.fg .l-card-title { font-size: 21px; line-height: 1.22; }
body.fg .l-card-where { font-size: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- Phones and small screens ---- */
@media (max-width: 860px) {
  body.fg .fg-body { padding: 24px 22px 36px; }
  body.fg .l-ticker-sec .fg-body { padding: 22px 22px 0; }
  body.fg .l-ticker-sec .l-ticker-note { padding: 0 22px 34px; }
  body.fg .l-how-wrap { gap: 28px; }
}
@media (max-width: 620px) {
  body.fg .fg-wrap { padding: 0 18px; }
  body.fg .fg-sheet { margin: 0 6px; }
  body.fg .fg-head { padding: 36px 18px 6px; }
  body.fg h2.fg-title { font-size: 28px; }
  body.fg .fg-body { padding: 20px 16px 30px; }
  body.fg .l-ticker-sec .fg-body { padding: 18px 16px 0; }
  body.fg .l-ticker-sec .l-head2-sub { font-size: 17px; }
  body.fg .l-ticker-sec .l-ticker-note { padding: 0 16px 28px; font-size: 16px; }
  body.fg .l-bento { gap: 16px; }
  body.fg .l-plans { grid-template-columns: 1fr; }
  body.fg .l-how li, body.fg .l-how li:first-child { padding: 14px 14px; gap: 12px; }
  body.fg .m-faq summary { padding: 14px 14px; }
  body.fg .m-faq details > p { margin: 0 10px 10px; padding: 14px; }
  body.fg .fg-chips { grid-template-columns: 1fr; gap: 12px; }
  body.fg .l-ticker-sec .l-head2-sub { font-size: 18px; }
  body.fg .l-card { width: 272px; }
  body.fg .l-card-photo { height: 170px; }
}

/* Footer matches the other Field Guide pages: tomato */
body.landing.fg .m-footer { background: #9E3224; box-shadow: 4px 4px 0 color-mix(in srgb, #9E3224 55%, #000); }

/* Closing sheet: "still deciding" line */

/* Demo band: three color-block entry cards, then the search pills */
body.fg .fg-picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 860px; margin: 0 auto 18px; }
body.fg .fg-pick { font: inherit; cursor: pointer; text-align: left; transition: transform .15s, filter .15s; }
body.fg .fg-pick:hover { transform: translateY(-3px); filter: brightness(1.08); }
body.fg .fg-pick:active { transform: none; }
body.fg .fg-pick:focus-visible { outline: 3px solid #FFF7E3; outline-offset: 3px; }
body.fg .fg-picks-more { margin-bottom: 26px; }
body.fg .fg-picks-more .l-demo-picks-label { font-size: 16px; }
@media (max-width: 620px) {
  body.fg .fg-picks { grid-template-columns: 1fr; gap: 12px; }
}

/* Closing sheet: photos of Bella at events beside the pitch */

/* Closing sheet: where to next */
body.fg .fg-next { padding: 10px 34px; }
body.fg .fg-next-list { list-style: none; margin: 0; padding: 0; }
body.fg .fg-next-row { display: grid; grid-template-columns: minmax(0, 1fr) 270px; align-items: center; gap: 24px; padding: 20px 4px; border-bottom: 1.5px solid var(--fg-edge); }
body.fg .fg-next-row:last-child { border-bottom: 0; }
body.fg .fg-next-q { margin: 0; font-size: 25px; font-weight: 600; line-height: 1.3; color: var(--fg-text); }
body.fg .fg-next-row:first-child .fg-next-q { font-family: var(--font-headline); font-weight: 400; font-size: 30px; color: var(--fg-title); }
body.fg .fg-next .m-btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 20px; border-radius: 6px; font-family: var(--font-headline); font-weight: 400; font-size: 19px; letter-spacing: 0; color: #12383A; border: 2px solid #12383A; box-shadow: none; }
body.fg .fg-next .m-btn::after { content: "\2192"; font-size: 21px; line-height: 1; transition: transform .15s; }
body.fg .fg-next .m-btn:hover::after { transform: translateX(4px); }
body.fg .fg-next .m-btn:active { transform: none; }
body.fg .fg-next .m-btn-solid { background: #FFDE59; box-shadow: inset 0 0 0 4px #FFDE59, inset 0 0 0 5.5px rgba(18, 56, 58, .45); }
body.fg .fg-next .m-btn-solid:hover { background: #FFE680; box-shadow: inset 0 0 0 4px #FFE680, inset 0 0 0 5.5px rgba(18, 56, 58, .45); }
body.fg .fg-next .m-btn-outline { background: #F3E8C6; box-shadow: inset 0 0 0 4px #F3E8C6, inset 0 0 0 5.5px rgba(18, 56, 58, .45); }
body.fg .fg-next .m-btn-outline:hover { background: #FFF7E3; box-shadow: inset 0 0 0 4px #FFF7E3, inset 0 0 0 5.5px rgba(18, 56, 58, .45); }
@media (max-width: 700px) {
  body.fg .fg-next { padding: 6px 18px; }
  body.fg .fg-next-row { grid-template-columns: 1fr; gap: 12px; padding: 18px 0; }
  body.fg .fg-next-q, body.fg .fg-next-row:first-child .fg-next-q { font-size: 22px; text-align: center; }
  body.fg .fg-next-row:first-child .fg-next-q { font-size: 26px; }
}
