/* Advertise landing page only. Package data and checkout remain in the existing
 * advertising workflow; these styles use TextFrog's shared theme tokens. */
.tf-advertise { padding: 3.5rem 0 4.5rem; }
.tf-advertise-inner { max-width: 68rem; margin-inline: auto; }
.tf-advertise h1, .tf-advertise h2, .tf-advertise h3, .tf-advertise h4, .tf-advertise p { margin: 0; }
.tf-advertise-hero { max-width: 46rem; text-align: center; margin: 0 auto 3.5rem; }
.tf-advertise-eyebrow { color: hsl(var(--muted-foreground)); font-size: .6875rem; line-height: 1.6; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.tf-advertise-hero h1 { margin-top: .75rem; font-size: clamp(2rem, 4.5vw, 2.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -.035em; text-wrap: balance; }
.tf-advertise-hero .tf-advertise-lede { max-width: 39rem; margin: 1.25rem auto 0; color: hsl(var(--muted-foreground)); font-size: 1rem; line-height: 1.75; }
.tf-advertise-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.5rem; }
.tf-advertise-button { display: inline-flex; align-items: center; justify-content: center; gap: .625rem; min-height: 40px; padding: .6rem .9rem; border: 1px solid hsl(var(--input)); border-radius: .375rem; color: hsl(var(--foreground)); background: hsl(var(--background)); font-size: .8125rem; font-weight: 500; line-height: 1.4; text-decoration: none; transition: background-color 150ms ease, border-color 150ms ease; }
.tf-advertise-button svg { flex: none; }
.tf-advertise-button:hover { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.tf-advertise-button--primary { background: hsl(var(--primary)); border-color: transparent; color: hsl(var(--primary-foreground)); }
.tf-advertise-button--primary:hover { background: hsl(var(--primary) / .9); color: hsl(var(--primary-foreground)); }
.tf-advertise-button:focus-visible, .tf-advertise-text-link:focus-visible, .tf-advertise-faq summary:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 3px; }
.tf-advertise-button:disabled { opacity: .6; cursor: wait; }
.tf-advertise-section { margin-top: 4.5rem; }
.tf-advertise #pricing { margin-top: 0; }
.tf-advertise #pricing, .tf-advertise #placements, .tf-advertise #start-advertising { scroll-margin-top: 6rem; }
.tf-advertise-section-heading h2 { margin-top: .5rem; font-size: 1.625rem; font-weight: 650; line-height: 1.3; letter-spacing: -.025em; text-wrap: balance; }
.tf-advertise-section-heading > p:not(.tf-advertise-eyebrow) { margin-top: .875rem; color: hsl(var(--muted-foreground)); font-size: .875rem; line-height: 1.7; }
.tf-advertise-section-heading--center { text-align: center; max-width: 40rem; margin: 0 auto 1.75rem; }
.tf-advertise-section-heading--center h2 { font-size: 1.875rem; }
.tf-advertise-notice { padding: 1rem; border: 1px solid hsl(var(--border)); border-radius: .5rem; background: hsl(var(--muted) / .4); font-size: .875rem; line-height: 1.6; margin-bottom: 1.5rem !important; }
.tf-advertise-plans { display: grid; grid-template-columns: repeat(var(--tf-ad-plan-columns, 3), minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.tf-advertise-plans[data-plan-count="1"] { grid-template-columns: 1fr; max-width: 26rem; margin-inline: auto; }
.tf-advertise-plan { min-width: 0; padding: 1.5rem; border: 1px solid hsl(var(--border)); border-radius: .5rem; background: hsl(var(--card)); display: flex; flex-direction: column; }
.tf-advertise-plan--extended { border-color: hsl(var(--foreground) / .32); background: linear-gradient(145deg, hsl(var(--primary) / .04), hsl(var(--card)) 65%); }
.tf-advertise-plan.is-selected { outline: 2px solid hsl(var(--ring)); outline-offset: 3px; }
.tf-advertise-plan-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.tf-advertise-plan-heading h3 { font-size: .9375rem; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
.tf-advertise-plan-label { padding: .2rem .4rem; border-radius: .25rem; background: hsl(var(--primary) / .08); color: hsl(var(--foreground)); font-size: .625rem; line-height: 1.5; white-space: nowrap; }
.tf-advertise-plan .tf-advertise-price { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem; }
.tf-advertise-price strong { font-size: 2rem; font-weight: 650; line-height: 1.2; letter-spacing: -.04em; overflow-wrap: anywhere; }
.tf-advertise-price span { color: hsl(var(--muted-foreground)); font-size: .75rem; }
.tf-advertise-plan .tf-advertise-plan-description { margin-top: .875rem; color: hsl(var(--muted-foreground)); font-size: .8125rem; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.tf-advertise-plan-features { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .65rem; }
.tf-advertise-plan-features li { display: flex; align-items: flex-start; gap: .5rem; font-size: .75rem; line-height: 1.55; }
.tf-advertise-plan-features svg { flex: none; margin-top: .05rem; color: hsl(var(--muted-foreground)); }
.tf-advertise-plan > .tf-advertise-button { margin-top: auto; justify-content: space-between; }
.tf-advertise .tf-advertise-caption { margin-top: 1rem; text-align: center; font-size: .6875rem; line-height: 1.65; color: hsl(var(--muted-foreground)); }
.tf-advertise .tf-advertise-caption--left { text-align: left; }
.tf-advertise-empty { text-align: center; padding: 2rem; border: 1px solid hsl(var(--border)); border-radius: .5rem; background: hsl(var(--card)); }
.tf-advertise-empty h3 { font-weight: 600; }
.tf-advertise-empty p { color: hsl(var(--muted-foreground)); margin: .75rem 0 1.25rem; font-size: .875rem; }
.tf-advertise-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.8fr); gap: 3rem; align-items: start; }
.tf-advertise-section-heading > .tf-advertise-small { font-size: .75rem !important; }
.tf-advertise-placement-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.tf-advertise-placement { min-width: 0; margin: 0; }
.tf-advertise-placement--wide { grid-column: 1 / -1; }
.tf-advertise-preview { height: 174px; border: 1px solid hsl(var(--border)); border-radius: .5rem; background: hsl(var(--muted) / .27); overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.tf-advertise-preview-card { position: relative; width: min(100%, 232px); padding: 1rem; border: 1px solid hsl(var(--border)); border-radius: .5rem; background: linear-gradient(135deg, hsl(var(--card)), hsl(var(--muted) / .25)); box-shadow: 0 8px 20px hsl(var(--foreground) / .035); }
.tf-advertise-preview-ad { position: absolute; top: -.55rem; left: .75rem; padding: .05rem .25rem; font-size: .6rem; line-height: 1.4; border: 1px solid hsl(var(--border)); border-radius: .2rem; background: hsl(var(--background)); color: hsl(var(--muted-foreground)); }
.tf-advertise-preview-identity { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.tf-advertise-preview-identity strong, .tf-advertise-preview-identity b { font-size: .6875rem; line-height: 1.5; font-weight: 600; }
.tf-advertise-preview-icon { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border: 1px solid hsl(var(--border)); border-radius: .375rem; background: hsl(var(--primary) / .08); color: hsl(var(--foreground)); font-size: .6875rem; font-weight: 600; }
.tf-advertise-preview-card p { margin: .65rem 0 .85rem; font-size: .625rem; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.tf-advertise-preview-button { display: flex; justify-content: space-between; border-radius: .25rem; padding: .35rem .5rem; color: hsl(var(--primary-foreground)); background: hsl(var(--primary)); font-size: .625rem; }
.tf-advertise-preview--sidebar { gap: 1rem; align-items: flex-start; padding-top: 1.5rem; }
.tf-advertise-preview-lines { flex: 1; min-width: 0; padding-top: .25rem; }
.tf-advertise-preview-lines span, .tf-advertise-preview-placeholder { display: block; height: 5px; background: hsl(var(--foreground) / .08); border-radius: 2px; margin-bottom: .625rem; }
.tf-advertise-preview-lines span:nth-child(2n) { width: 75%; }
.tf-advertise-preview-panel { flex: 1.7; min-width: 0; padding: .75rem; border: 1px solid hsl(var(--border)); border-radius: .375rem; background: hsl(var(--card)); }
.tf-advertise-preview-panel > strong { display: block; margin-bottom: .75rem; font-size: .625rem; font-weight: 600; }
.tf-advertise-preview-panel .tf-advertise-preview-icon { width: 20px; height: 20px; }
.tf-advertise-preview-panel .tf-advertise-preview-identity b { font-size: .5625rem; }
.tf-advertise-preview-panel small { display: inline-block; font-size: .45rem; color: hsl(var(--muted-foreground)); font-weight: 400; }
.tf-advertise-preview-panel p { font-size: .5rem; line-height: 1.5; color: hsl(var(--muted-foreground)); }
.tf-advertise-preview-placeholder { margin-top: 1rem; margin-bottom: .25rem; width: 80%; }
.tf-advertise-preview--floating { height: 150px; }
.tf-advertise-preview-page { align-self: flex-start; width: 70%; max-width: 280px; opacity: .55; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-right: auto; }
.tf-advertise-preview-page > span { height: 6px; background: hsl(var(--foreground) / .12); border-radius: 2px; grid-column: 1 / -1; width: 65%; margin-bottom: .5rem; }
.tf-advertise-preview-page > div { height: 70px; border: 1px solid hsl(var(--border)); border-radius: .25rem; background: hsl(var(--background) / .4); }
.tf-advertise-preview-float { position: absolute; right: 1rem; bottom: 1rem; width: min(86%, 290px); display: flex; align-items: center; gap: .6rem; padding: .85rem; border: 1px solid hsl(var(--border)); border-radius: .5rem; background: hsl(var(--card)); box-shadow: 0 4px 16px hsl(var(--foreground) / .06); }
.tf-advertise-preview-float > div { flex: 1; min-width: 0; }
.tf-advertise-preview-float strong { display: block; font-size: .6875rem; font-weight: 600; }
.tf-advertise-preview-float p { margin-top: .2rem; font-size: .5625rem; line-height: 1.5; color: hsl(var(--muted-foreground)); }
.tf-advertise-placement figcaption { margin-top: .875rem; }
.tf-advertise-placement figcaption h3 { font-size: .8125rem; line-height: 1.5; font-weight: 600; }
.tf-advertise-placement figcaption p { margin-top: .4rem; font-size: .75rem; line-height: 1.65; color: hsl(var(--muted-foreground)); }
.tf-advertise-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid hsl(var(--border)); margin: 0; padding: 0; }
.tf-advertise-stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .35rem; padding: 1.25rem 1rem; border-left: 1px solid hsl(var(--border)); min-width: 0; }
.tf-advertise-stats > div:first-child { padding-left: 0; border-left: 0; }
.tf-advertise-stats dt { font-size: .6875rem; line-height: 1.5; color: hsl(var(--muted-foreground)); }
.tf-advertise-stats dd { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.3; margin: 0; overflow-wrap: anywhere; }
.tf-advertise-discovery-points { display: grid; gap: 1.25rem; margin-top: 1.75rem; }
.tf-advertise-discovery-points > div { display: flex; gap: .875rem; align-items: flex-start; }
.tf-advertise-step-number { flex: none; font-size: .6875rem; line-height: 1.8; color: hsl(var(--muted-foreground)); font-variant-numeric: tabular-nums; }
.tf-advertise-discovery-points h3 { font-size: .8125rem; line-height: 1.5; font-weight: 600; }
.tf-advertise-discovery-points p { margin-top: .25rem; font-size: .75rem; line-height: 1.7; color: hsl(var(--muted-foreground)); }
.tf-advertise-text-link { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; font-size: .8125rem; text-decoration: underline; text-underline-offset: 4px; }
.tf-advertise-faq { display: grid; gap: .75rem; }
.tf-advertise-faq details { border: 1px solid hsl(var(--border)); border-radius: .5rem; background: hsl(var(--card)); }
.tf-advertise-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; font-size: .8125rem; line-height: 1.5; font-weight: 500; cursor: pointer; list-style: none; border-radius: inherit; }
.tf-advertise-faq summary::-webkit-details-marker { display: none; }
.tf-advertise-faq summary > span { flex: none; font-size: 1rem; font-weight: 400; color: hsl(var(--muted-foreground)); }
.tf-advertise-faq details[open] summary > span { transform: rotate(45deg); }
.tf-advertise-faq details > p { padding: 0 1rem 1rem; color: hsl(var(--muted-foreground)); font-size: .8125rem; line-height: 1.7; }
.tf-advertise-faq p a { color: hsl(var(--foreground)); text-decoration: underline; text-underline-offset: 3px; }
.tf-advertise-start { margin-top: 4.5rem; padding: 2rem; border: 1px solid hsl(var(--border)); border-radius: .5rem; background: linear-gradient(145deg, hsl(var(--muted) / .2), hsl(var(--card))); }
.tf-advertise-start-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2rem; }
.tf-advertise-start-grid h3 { font-size: .9375rem; font-weight: 600; line-height: 1.5; }
.tf-advertise-start-grid p { font-size: .8125rem; color: hsl(var(--muted-foreground)); line-height: 1.7; }
.tf-advertise-start-grid .tf-advertise-selected-package { margin-top: .5rem; }
.tf-advertise-search-panel, .tf-advertise-submit-panel { min-width: 0; }
.tf-advertise-submit-panel { border-left: 1px solid hsl(var(--border)); padding-left: 2rem; }
.tf-advertise-submit-panel p { margin-top: .5rem; }
.tf-advertise-submit-panel .tf-advertise-button { margin-top: 1.25rem; width: 100%; }
.tf-advertise-submit-panel .tf-advertise-text-link { display: flex; justify-content: center; }
.tf-advertise-search-form { display: flex; gap: .5rem; align-items: stretch; margin-top: 1rem; }
.tf-advertise-search-form input { display: block; flex: 1; min-width: 0; width: 100%; min-height: 42px; padding: .6rem .75rem; border: 1px solid hsl(var(--input)); border-radius: .375rem; background: hsl(var(--background)); color: hsl(var(--foreground)); font-size: .8125rem; }
.tf-advertise-search-form input:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 2px; }
.tf-advertise-search-form input::placeholder { color: hsl(var(--muted-foreground)); }
.tf-advertise-search-form .tf-advertise-button { flex: none; }
.tf-advertise-search-panel .tf-advertise-search-status { margin-top: .75rem; font-size: .75rem; }
.tf-advertise-search-status:empty { display: none; }
.tf-advertise #results-container { display: grid; gap: .65rem; margin-top: 1rem; max-height: 28rem; overflow-y: auto; padding: 2px; }
.tf-advertise-search-result { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-width: 0; padding: .875rem; border: 1px solid hsl(var(--border)); border-radius: .375rem; background: hsl(var(--card)); }
.tf-advertise-search-result > div { min-width: 0; }
.tf-advertise-search-result h4 { font-size: .8125rem; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.tf-advertise-search-result p { margin-top: .25rem; font-size: .75rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.tf-advertise-search-result .tf-advertise-button { flex: none; font-size: .75rem; }
.tf-advertise-signin { text-align: center; }
@media (max-width: 1100px) {
    .tf-advertise-plans[data-plan-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tf-advertise-split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.7fr); gap: 2rem; }
    .tf-advertise-placement-grid { gap: 1.25rem; }
    .tf-advertise-preview { padding: .75rem; }
    .tf-advertise-preview-panel { padding: .5rem; }
}
@media (max-width: 900px) { .tf-advertise-plans:not([data-plan-count="1"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
    .tf-advertise { padding-block: 2.5rem 3rem; }
    .tf-advertise-hero { margin-bottom: 2.5rem; }
    .tf-advertise-section, .tf-advertise-start { margin-top: 3rem; }
    .tf-advertise-split { grid-template-columns: 1fr; gap: 1.5rem; }
    .tf-advertise-section-heading h2, .tf-advertise-section-heading--center h2 { font-size: 1.5rem; }
    .tf-advertise-start { padding: 1.5rem; }
    .tf-advertise-start-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .tf-advertise-submit-panel { border-left: 0; border-top: 1px solid hsl(var(--border)); padding: 1.5rem 0 0; }
    .tf-advertise-submit-panel .tf-advertise-button { width: auto; }
    .tf-advertise-submit-panel .tf-advertise-text-link { justify-content: flex-start; }
}
@media (max-width: 540px) {
    .tf-advertise-plans:not([data-plan-count="1"]), .tf-advertise-placement-grid { grid-template-columns: 1fr; }
    .tf-advertise-placement--wide { grid-column: auto; }
    .tf-advertise-plan { padding: 1.25rem; }
    .tf-advertise-plan .tf-advertise-price { margin-top: 1rem; }
    .tf-advertise-hero-actions { flex-direction: column; }
    .tf-advertise-hero .tf-advertise-lede { font-size: .9375rem; }
    .tf-advertise-stats > div { padding: 1rem .625rem; }
    .tf-advertise-stats dd { font-size: 1.375rem; }
    .tf-advertise-stats dt { font-size: .625rem; }
    .tf-advertise-search-result { flex-direction: column; align-items: stretch; gap: .75rem; }
    .tf-advertise-start { padding: 1.25rem; }
    .tf-advertise-search-form { flex-wrap: wrap; }
    .tf-advertise-search-form input { flex-basis: 100%; }
    .tf-advertise-search-form .tf-advertise-button { width: 100%; }
}
@media (pointer: coarse) { .tf-advertise-button, .tf-advertise-search-form input { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { .tf-advertise-button { transition: none; } }
