/* Funnlr V2 shared styles. Only what the design needs to work as a real site (mobile menu drawer). */
html.v2-lock, html.v2-lock body { overflow: hidden; }
.v2-drawer { position: fixed; inset: 0; z-index: 1000; background: #ffffff; overflow-y: auto; font-family: Poppins, system-ui, -apple-system, sans-serif; color: #0f2233; }
.v2-drawer[hidden] { display: none; }
.v2-dr-top { display: flex; justify-content: space-between; align-items: center; height: 78px; padding: 0 20px; border-bottom: 1px solid #e3e9ee; }
.v2-dr-title { font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #5b6b78; }
.v2-dr-close { background: none; border: 0; font-size: 34px; line-height: 1; padding: 6px 10px; color: #0f2233; cursor: pointer; }
.v2-dr-body { padding: 10px 20px 40px; display: flex; flex-direction: column; }
.v2-dr-sec { border-bottom: 1px solid #e3e9ee; }
.v2-dr-sec summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 700; font-size: 18px; cursor: pointer; }
.v2-dr-sec summary::-webkit-details-marker { display: none; }
.v2-dr-sec[open] summary span { transform: rotate(180deg); }
.v2-dr-l { display: block; padding: 11px 14px; margin: 0 0 4px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 16px; color: #0f2233; background: #eef3f7; }
.v2-dr-sec .v2-dr-l:last-child { margin-bottom: 14px; }
.v2-dr-top-l { display: block; padding: 18px 0; border-bottom: 1px solid #e3e9ee; font-weight: 700; font-size: 18px; text-decoration: none; color: #0f2233; }
.v2-dr-cta { display: block; margin-top: 26px; text-align: center; background: #0f2233; color: #ffffff; padding: 18px 30px; border-radius: 999px; font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; }
.fl-menu { cursor: pointer; }
/* Small phones: the design header is 1px wider than a 390px screen, which makes the page scroll sideways. */
@media (max-width: 480px) {
  header [style*="margin-left:auto"] { gap: 12px !important; }
  header a[style*="white-space:nowrap"] { padding: 14px 20px !important; }
}
@media (max-width: 400px) {
  header [style*="margin-left:auto"] { gap: 8px !important; }
  header a[style*="white-space:nowrap"] { padding: 12px 16px !important; font-size: 13px !important; }
}
/* Very small phones (under 360px): the design's cards ask for at least 320 to 340px, so let them shrink to the screen. */
@media (max-width: 359px) {
  [style*="flex:1 1 "] { flex-basis: 100% !important; min-width: 0 !important; }
  [style*="flex:1 1 "] { max-width: 100% !important; }
  header [style*="margin-left:auto"] { gap: 6px !important; }
  header a[style*="white-space:nowrap"] { padding: 10px 12px !important; font-size: 12px !important; }
  header img { height: 26px !important; }
  h1 { font-size: 40px !important; word-break: break-word; }
}
@media (max-width: 359px) {
  [style*="minmax("] { grid-template-columns: 1fr !important; }
}
.v2-drawer a, .v2-drawer button, .fl-menu { -webkit-tap-highlight-color: transparent; }
.v2-dr-close:focus { outline: none; }
.v2-dr-close:focus-visible { outline: 2px solid #0f2233; border-radius: 10px; }
/* Form messages and the preview consent tick (needed by the live server, styled to sit inside the design). */
.v2-msg { margin: 14px 0 0; padding: 16px 18px; border-radius: 16px; font-size: 15px; line-height: 1.5; font-weight: 600; }
.v2-msg[hidden] { display: none; }
.v2-msg.bad { background: #fdecec; color: #8a1c1c; border: 2px solid #f1b5b5; }
.v2-msg.ok { background: #f4fbe1; color: #0f2233; border: 2px solid #c8f04a; }
.v2-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: #4f5f6c; cursor: pointer; }
.v2-consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: 0 0 22px; accent-color: #0f2233; }
.v2-consent a { color: #0f2233; font-weight: 600; }
/* Legal pages: the live policy text inside the design's .lg column. */
.lg .eyebrow { font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #4f5f6c; margin: 0 0 8px; }
.lg h1 { margin: 0 0 10px; font-weight: 900; font-size: 42px; line-height: 1.1; color: #0f2233; }
.lg .intro { font-size: 18px; line-height: 1.6; color: #2c3e4d; }
.lg .effective { display: inline-block; margin: 4px 0 22px; padding: 6px 14px; border-radius: 999px; background: #eef3f7; font-size: 13px; font-weight: 700; color: #4f5f6c; }
.lg section { margin: 0 0 8px; }
.lg h2 { margin: 26px 0 8px; font-weight: 900; font-size: 22px; color: #0f2233; }
.lg ul { margin: 0 0 14px; padding-left: 22px; }
.lg li { font-size: 16px; line-height: 1.7; color: #2c3e4d; margin: 0 0 6px; }
.lg a { color: #0f2233; font-weight: 600; }
.lg .notice { background: #f4fbe1; border: 2px solid #c8f04a; border-radius: 20px; padding: 6px 24px 10px; margin: 0 0 20px; }
@media (max-width: 600px) { .lg h1 { font-size: 34px; } }
/* Currency and region choices stay hidden until window.FUNNLR_REGIONS_ON is true (regions.js). */
[data-v2-region] { display: none !important; }
html.v2-regions-on [data-v2-region] { display: flex !important; }
/* Under 420px an auto-fit grid of 240px+ cards is one column anyway; say so, so padding can never push it wider. */
@media (max-width: 419px) {
  [style*="auto-fit,minmax("] { grid-template-columns: 1fr !important; }
}
@media (max-width: 419px) {
  [style*="auto-fit,minmax("] > * { min-width: 0 !important; }
  [style*="auto-fit,minmax("] > [style*="padding:3"] { padding: 22px !important; }
}
/* Small phones: the design's widest paddings leave too little room inside dark boxes (Partner box was 184px wide at 320). */
@media (max-width: 419px) {
  [style*="padding:56px 48px"] { padding: 36px 20px !important; }
  [style*="padding:32px 40px 40px"] { padding: 26px 20px 30px !important; }
  [style*="padding:30px 36px 36px"] { padding: 24px 20px 28px !important; }
  [style*="padding:18px 44px"] { padding: 16px 28px !important; }
}
/* Phones: 54 to 60px headings with long words ("Takeaways,", "Independent,") are wider than the screen. */
@media (max-width: 419px) {
  h1[style*="font-size:5"], h1[style*="font-size:6"], h1[style*="font-size:7"] { font-size: 40px !important; }
  h1, h2 { overflow-wrap: break-word; }
}
@media (min-width: 420px) and (max-width: 599px) {
  h1[style*="font-size:5"], h1[style*="font-size:6"], h1[style*="font-size:7"] { font-size: 46px !important; }
}
/* Yearly payment waiting screen (Stitch once-off links cannot redirect back). */
.v2-wait { position: fixed; inset: 0; z-index: 1100; background: rgba(15,34,51,.92); display: flex; align-items: center; justify-content: center; padding: 20px; font-family: Poppins, system-ui, sans-serif; }
.v2-wait-card { background: #fff; color: #0f2233; border-radius: 28px; padding: 34px 28px; max-width: 460px; width: 100%; text-align: center; }
.v2-wait-card h2 { margin: 6px 0 12px; font-size: 26px; font-weight: 900; line-height: 1.15; }
.v2-wait-card p { margin: 0 0 18px; font-size: 16px; line-height: 1.5; color: #2c3e4d; }
.v2-wait-k { font-size: 12px !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #3f5f00 !important; margin-bottom: 0 !important; }
.v2-wait-btn { display: block; background: #c8f04a; color: #0f2233; border-radius: 999px; padding: 17px; font-weight: 900; text-transform: uppercase; text-decoration: none; margin-bottom: 14px; }
.v2-wait-small { font-size: 13px !important; color: #5b6b78 !important; margin: 0 !important; }
